Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bc23b967fe3c88f879d260097d0161ea44e0e0b1+9351a662b217a128018db5c2b0fd8a407906271b (d660dcca493757b6beb2003db469adf3ecd83119) 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-ssh5156098457709916477.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-ssh3215700915396182904.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-95/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-95/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3137693425272120759.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-ssh1179712822392748158.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-95/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-95/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8366626027275649920.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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-15495 in /w/workspace/dgexfoundry_device-snmp-go_PR-95 [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-95 # 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-95@tmp/jenkins-gitclient-ssh1272306779678860793.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 9351a662b217a128018db5c2b0fd8a407906271b into PR head commit bc23b967fe3c88f879d260097d0161ea44e0e0b1 Merge succeeded, producing 4ac01cab6c5f389593cab0c25bfa300b1d81a202 Checking out Revision 4ac01cab6c5f389593cab0c25bfa300b1d81a202 (PR-95) > 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-95@tmp/jenkins-gitclient-ssh5664336840854736843.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # 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-95@tmp/jenkins-gitclient-ssh4660279133433679913.key > git merge 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ac01cab6c5f389593cab0c25bfa300b1d81a202 # timeout=10 Commit message: "Merge commit '9351a662b217a128018db5c2b0fd8a407906271b' into HEAD" > git rev-list --no-walk bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-21T07:26:03.045Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-21T07:26:03.161Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-21T07:26:03.192Z] ========================================================= [2021-05-21T07:26:03.192Z] EdgeX Global Pipelines Version Info [2021-05-21T07:26:03.192Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:26:04.573Z] ------------------- [2021-05-21T07:26:04.573Z] stable info: [2021-05-21T07:26:04.573Z] ------------------- [2021-05-21T07:26:04.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-21T07:26:04.573Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T07:26:04.573Z] Message: update stable to v1.0.192 [2021-05-21T07:26:05.146Z] ------------------- [2021-05-21T07:26:05.147Z] experimental info: [2021-05-21T07:26:05.147Z] ------------------- [2021-05-21T07:26:05.147Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-21T07:26:05.147Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T07:26:05.147Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-21T07:26:05.271Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-21T07:26:05.294Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-21T07:26:05.319Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-21T07:26:05.343Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-21T07:26:05.367Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-21T07:26:05.390Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-21T07:26:05.413Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-21T07:26:05.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-21T07:26:05.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-21T07:26:05.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-21T07:26:05.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-21T07:26:05.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-21T07:26:05.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-21T07:26:05.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-21T07:26:05.632Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T07:26:05.657Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T07:26:05.684Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T07:26:05.708Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T07:26:05.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-21T07:26:05.758Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-21T07:26:05.783Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-21T07:26:05.808Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-21T07:26:05.833Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-21T07:26:05.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-21T07:26:05.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-21T07:26:05.942Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-21T07:26:05.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo [2021-05-21T07:26:06.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo [2021-05-21T07:26:06.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo [2021-05-21T07:26:06.061Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ac01cab6c5f389593cab0c25bfa300b1d81a202 [Pipeline] echo [2021-05-21T07:26:06.084Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ac01ca [Pipeline] echo [2021-05-21T07:26:06.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T07:26:06.186Z] provisioning config files... [2021-05-21T07:26:06.201Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/config7608909227898960248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:26:06.517Z] ---> docker-login.sh [2021-05-21T07:26:06.517Z] nexus3.edgexfoundry.org:10001 [2021-05-21T07:26:07.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:26:07.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:26:07.090Z] Configure a credential helper to remove this warning. See [2021-05-21T07:26:07.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:26:07.090Z] [2021-05-21T07:26:07.090Z] Login Succeeded [2021-05-21T07:26:07.090Z] nexus3.edgexfoundry.org:10002 [2021-05-21T07:26:07.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:26:07.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:26:07.352Z] Configure a credential helper to remove this warning. See [2021-05-21T07:26:07.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:26:07.352Z] [2021-05-21T07:26:07.352Z] Login Succeeded [2021-05-21T07:26:07.352Z] nexus3.edgexfoundry.org:10003 [2021-05-21T07:26:07.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:26:07.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:26:07.352Z] Configure a credential helper to remove this warning. See [2021-05-21T07:26:07.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:26:07.352Z] [2021-05-21T07:26:07.352Z] Login Succeeded [2021-05-21T07:26:07.352Z] nexus3.edgexfoundry.org:10004 [2021-05-21T07:26:07.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:26:07.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:26:07.614Z] Configure a credential helper to remove this warning. See [2021-05-21T07:26:07.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:26:07.614Z] [2021-05-21T07:26:07.614Z] Login Succeeded [2021-05-21T07:26:07.614Z] docker.io [2021-05-21T07:26:07.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:26:07.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:26:07.891Z] Configure a credential helper to remove this warning. See [2021-05-21T07:26:07.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:26:07.891Z] [2021-05-21T07:26:07.891Z] Login Succeeded [2021-05-21T07:26:07.891Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T07:26:07.901Z] 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-21T07:26:08.425Z] + git log --format=format:%s -1 4ac01cab6c5f389593cab0c25bfa300b1d81a202 [Pipeline] echo [2021-05-21T07:26:08.469Z] GIT_COMMIT: 4ac01cab6c5f389593cab0c25bfa300b1d81a202, Commit Message: Merge commit '9351a662b217a128018db5c2b0fd8a407906271b' into HEAD [Pipeline] echo [2021-05-21T07:26:08.484Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:26:09.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T07:26:09.499Z] [2021-05-21T07:26:09.499Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:26:09.813Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T07:26:09.814Z] latest: Pulling from edgex-devops/git-semver [2021-05-21T07:26:09.814Z] 31603596830f: Pulling fs layer [2021-05-21T07:26:09.814Z] 54011a49482f: Pulling fs layer [2021-05-21T07:26:09.814Z] a6820b24f6d8: Pulling fs layer [2021-05-21T07:26:09.814Z] f581987b2513: Pulling fs layer [2021-05-21T07:26:09.814Z] f581987b2513: Waiting [2021-05-21T07:26:09.814Z] 54011a49482f: Download complete [2021-05-21T07:26:10.074Z] 31603596830f: Verifying Checksum [2021-05-21T07:26:10.074Z] 31603596830f: Download complete [2021-05-21T07:26:10.074Z] f581987b2513: Verifying Checksum [2021-05-21T07:26:10.074Z] f581987b2513: Download complete [2021-05-21T07:26:10.074Z] a6820b24f6d8: Verifying Checksum [2021-05-21T07:26:10.074Z] a6820b24f6d8: Download complete [2021-05-21T07:26:10.342Z] 31603596830f: Pull complete [2021-05-21T07:26:10.342Z] 54011a49482f: Pull complete [2021-05-21T07:26:11.297Z] a6820b24f6d8: Pull complete [2021-05-21T07:26:11.297Z] f581987b2513: Pull complete [2021-05-21T07:26:11.297Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-21T07:26:11.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T07:26:11.297Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-21T07:26:11.382Z] prd-centos7-docker-4c-2g-15495 does not seem to be running inside a container [2021-05-21T07:26:11.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-95 -v /w/workspace/dgexfoundry_device-snmp-go_PR-95:/w/workspace/dgexfoundry_device-snmp-go_PR-95:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-95@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T07:26:15.917Z] $ docker top dc18a3868cbe920b095cb67918b861320d37c387cc2de5c8bf39958d645fa417 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T07:26:16.040Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T07:26:16.041Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T07:26:16.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T07:26:16.141Z] $ docker exec dc18a3868cbe920b095cb67918b861320d37c387cc2de5c8bf39958d645fa417 ssh-agent [2021-05-21T07:26:16.265Z] SSH_AUTH_SOCK=/tmp/ssh-TZCSpZkQwPTf/agent.13 [2021-05-21T07:26:16.265Z] SSH_AGENT_PID=20 [2021-05-21T07:26:16.273Z] Running ssh-add (command line suppressed) [2021-05-21T07:26:16.363Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/private_key_6766229389544067593.key (/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/private_key_6766229389544067593.key) [2021-05-21T07:26:16.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T07:26:16.682Z] + git tag --points-at HEAD [Pipeline] } [2021-05-21T07:26:16.695Z] $ docker exec --env ******** --env ******** dc18a3868cbe920b095cb67918b861320d37c387cc2de5c8bf39958d645fa417 ssh-agent -k [2021-05-21T07:26:16.796Z] unset SSH_AUTH_SOCK; [2021-05-21T07:26:16.796Z] unset SSH_AGENT_PID; [2021-05-21T07:26:16.796Z] echo Agent pid 20 killed; [2021-05-21T07:26:16.807Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-21T07:26:16.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T07:26:16.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T07:26:16.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T07:26:16.969Z] $ docker exec dc18a3868cbe920b095cb67918b861320d37c387cc2de5c8bf39958d645fa417 ssh-agent [2021-05-21T07:26:17.078Z] SSH_AUTH_SOCK=/tmp/ssh-DEuBfawf9z0K/agent.53 [2021-05-21T07:26:17.078Z] SSH_AGENT_PID=60 [2021-05-21T07:26:17.084Z] Running ssh-add (command line suppressed) [2021-05-21T07:26:17.183Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/private_key_956562735865159825.key (/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/private_key_956562735865159825.key) [2021-05-21T07:26:17.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T07:26:17.501Z] + git semver init [2021-05-21T07:26:17.501Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T07:26:17.501Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-95/.git [2021-05-21T07:26:17.501Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-95 [2021-05-21T07:26:17.501Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T07:26:17.501Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T07:26:17.501Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T07:26:17.501Z] # $SEMVER_BRANCH = PR-95 [2021-05-21T07:26:17.501Z] # $SEMVER_TEMP = /tmp/semver-584045610 [2021-05-21T07:26:17.501Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-21T07:26:17.763Z] # '/tmp/semver-584045610' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-95/.semver' [2021-05-21T07:26:17.763Z] # -> Force: false [2021-05-21T07:26:17.763Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-95/.semver [Pipeline] } [2021-05-21T07:26:17.772Z] $ docker exec --env ******** --env ******** dc18a3868cbe920b095cb67918b861320d37c387cc2de5c8bf39958d645fa417 ssh-agent -k [2021-05-21T07:26:17.867Z] unset SSH_AUTH_SOCK; [2021-05-21T07:26:17.867Z] unset SSH_AGENT_PID; [2021-05-21T07:26:17.867Z] echo Agent pid 60 killed; [2021-05-21T07:26:17.882Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T07:26:18.215Z] + git semver [Pipeline] } [2021-05-21T07:26:18.230Z] $ docker stop --time=1 dc18a3868cbe920b095cb67918b861320d37c387cc2de5c8bf39958d645fa417 [2021-05-21T07:26:19.527Z] $ docker rm -f dc18a3868cbe920b095cb67918b861320d37c387cc2de5c8bf39958d645fa417 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T07:26:19.893Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-21T07:26:20.163Z] Stashed 1 file(s) [Pipeline] echo [2021-05-21T07:26:20.167Z] [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-21T07:26:35.418Z] Still waiting to schedule task [2021-05-21T07:26:35.419Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-21T07:26:35.419Z] ‘prd-centos7-docker-4c-2g-15496’ is offline [2021-05-21T07:26:35.419Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-21T07:26:35.422Z] Still waiting to schedule task [2021-05-21T07:26:35.422Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-21T07:28:38.375Z] Running on prd-centos7-docker-4c-2g-15498 in /w/workspace/dgexfoundry_device-snmp-go_PR-95 [Pipeline] { [Pipeline] ws [2021-05-21T07:28:38.401Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-05-21T07:28:38.523Z] Selected Git installation does not exist. Using Default [2021-05-21T07:28:38.523Z] The recommended git tool is: NONE [2021-05-21T07:28:38.624Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15497 in /w/workspace/dgexfoundry_device-snmp-go_PR-95 [Pipeline] { [Pipeline] ws [2021-05-21T07:28:38.643Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-05-21T07:28:38.854Z] Selected Git installation does not exist. Using Default [2021-05-21T07:28:38.854Z] The recommended git tool is: NONE [2021-05-21T07:28:40.745Z] using credential edgex-jenkins-ssh [2021-05-21T07:28:40.759Z] Cloning the remote Git repository [2021-05-21T07:28:40.571Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T07:28:40.641Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-05-21T07:28:40.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T07:28:40.679Z] > git --version # timeout=10 [2021-05-21T07:28:40.687Z] > git --version # 'git version 2.24.4' [2021-05-21T07:28:40.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T07:28:40.708Z] [INFO] Currently running in a labeled security context [2021-05-21T07:28:40.709Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T07:28:40.709Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh7224003505757650720.key [2021-05-21T07:28:40.740Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T07:28:41.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-21T07:28:41.282Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T07:28:41.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-21T07:28:41.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T07:28:41.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T07:28:41.311Z] [INFO] Currently running in a labeled security context [2021-05-21T07:28:41.311Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T07:28:41.311Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh4114079948477159918.key [2021-05-21T07:28:41.318Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-21T07:28:41.943Z] Merging remotes/origin/master commit 9351a662b217a128018db5c2b0fd8a407906271b into PR head commit bc23b967fe3c88f879d260097d0161ea44e0e0b1 [2021-05-21T07:28:42.038Z] Merge succeeded, producing 9d521f1f8a1b7fb21ec516eb19b91834b25cb2aa [2021-05-21T07:28:42.039Z] Checking out Revision 9d521f1f8a1b7fb21ec516eb19b91834b25cb2aa (PR-95) [2021-05-21T07:28:41.842Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T07:28:41.855Z] > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [2021-05-21T07:28:41.886Z] > git remote # timeout=10 [2021-05-21T07:28:41.895Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T07:28:41.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T07:28:41.908Z] [INFO] Currently running in a labeled security context [2021-05-21T07:28:41.908Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T07:28:41.908Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh2972351336578723465.key [2021-05-21T07:28:41.917Z] > git merge 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 [2021-05-21T07:28:41.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T07:28:41.941Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T07:28:41.948Z] > git checkout -f 9d521f1f8a1b7fb21ec516eb19b91834b25cb2aa # timeout=10 [2021-05-21T07:28:44.870Z] using credential edgex-jenkins-ssh [2021-05-21T07:28:44.892Z] Cloning the remote Git repository [2021-05-21T07:28:44.954Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T07:28:45.091Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-05-21T07:28:45.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T07:28:45.174Z] > git --version # timeout=10 [2021-05-21T07:28:45.192Z] > git --version # 'git version 2.17.1' [2021-05-21T07:28:45.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T07:28:45.270Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T07:28:45.530Z] Commit message: "Merge commit '9351a662b217a128018db5c2b0fd8a407906271b' into HEAD" [2021-05-21T07:28:45.534Z] > git rev-list --no-walk bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T07:28:46.427Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-21T07:28:46.067Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-21T07:28:46.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T07:28:46.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-21T07:28:46.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T07:28:46.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T07:28:46.187Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-21T07:28:46.666Z] Merging remotes/origin/master commit 9351a662b217a128018db5c2b0fd8a407906271b into PR head commit bc23b967fe3c88f879d260097d0161ea44e0e0b1 [2021-05-21T07:28:46.749Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T07:28:46.916Z] Merge succeeded, producing 73015cce3f31343230da20fa3fe74dc1cf9f8d61 [2021-05-21T07:28:46.917Z] Checking out Revision 73015cce3f31343230da20fa3fe74dc1cf9f8d61 (PR-95) [2021-05-21T07:28:47.047Z] + sudo service docker restart [2021-05-21T07:28:47.047Z] + true [2021-05-21T07:28:47.047Z] Redirecting to /bin/systemctl restart docker.service [2021-05-21T07:28:46.688Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T07:28:46.707Z] > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [2021-05-21T07:28:46.807Z] > git remote # timeout=10 [2021-05-21T07:28:46.826Z] > git config --get remote.origin.url # timeout=10 [2021-05-21T07:28:46.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T07:28:46.856Z] > git merge 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 [2021-05-21T07:28:46.902Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-21T07:28:46.928Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T07:28:46.946Z] > git checkout -f 73015cce3f31343230da20fa3fe74dc1cf9f8d61 # timeout=10 [2021-05-21T07:28:51.284Z] Commit message: "Merge commit '9351a662b217a128018db5c2b0fd8a407906271b' into HEAD" [2021-05-21T07:28:51.295Z] > git rev-list --no-walk bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T07:28:52.658Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-21T07:28:53.055Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T07:28:53.396Z] + + sudo service dockertrue restart [2021-05-21T07:28:53.396Z] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T07:29:05.230Z] provisioning config files... [2021-05-21T07:29:05.253Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config6774724373347395754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:29:05.608Z] ---> docker-login.sh [2021-05-21T07:29:05.608Z] nexus3.edgexfoundry.org:10001 [2021-05-21T07:29:05.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:05.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:05.869Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:05.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:05.869Z] [2021-05-21T07:29:05.869Z] Login Succeeded [2021-05-21T07:29:05.869Z] nexus3.edgexfoundry.org:10002 [2021-05-21T07:29:06.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:06.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:06.131Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:06.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:06.131Z] [2021-05-21T07:29:06.131Z] Login Succeeded [2021-05-21T07:29:06.131Z] nexus3.edgexfoundry.org:10003 [2021-05-21T07:29:06.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:06.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:06.131Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:06.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:06.131Z] [2021-05-21T07:29:06.131Z] Login Succeeded [2021-05-21T07:29:06.131Z] nexus3.edgexfoundry.org:10004 [2021-05-21T07:29:06.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:06.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:06.393Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:06.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:06.393Z] [2021-05-21T07:29:06.393Z] Login Succeeded [2021-05-21T07:29:06.393Z] docker.io [2021-05-21T07:29:06.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:06.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:06.683Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:06.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:06.683Z] [2021-05-21T07:29:07.256Z] Login Succeeded [2021-05-21T07:29:07.256Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T07:29:07.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T07:29:07.439Z] ========================================================= [2021-05-21T07:29:07.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-21T07:29:07.439Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:29:07.759Z] + 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-21T07:29:07.759Z] Sending build context to Docker daemon 360.4kB [2021-05-21T07:29:07.759Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T07:29:07.759Z] Step 2/10 : FROM ${BASE} [2021-05-21T07:29:08.024Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-21T07:29:08.024Z] 540db60ca938: Pulling fs layer [2021-05-21T07:29:08.024Z] adcc1eea9eea: Pulling fs layer [2021-05-21T07:29:08.024Z] 4c4ab2625f07: Pulling fs layer [2021-05-21T07:29:08.024Z] 0510c868ecb4: Pulling fs layer [2021-05-21T07:29:08.024Z] afea3b2eda06: Pulling fs layer [2021-05-21T07:29:08.024Z] 7809a108b3ef: Pulling fs layer [2021-05-21T07:29:08.024Z] f706445af74f: Pulling fs layer [2021-05-21T07:29:08.024Z] afea3b2eda06: Waiting [2021-05-21T07:29:08.024Z] 7809a108b3ef: Waiting [2021-05-21T07:29:08.024Z] f706445af74f: Waiting [2021-05-21T07:29:08.024Z] 0510c868ecb4: Waiting [2021-05-21T07:29:08.287Z] 4c4ab2625f07: Verifying Checksum [2021-05-21T07:29:08.287Z] 4c4ab2625f07: Download complete [2021-05-21T07:29:08.287Z] adcc1eea9eea: Verifying Checksum [2021-05-21T07:29:08.287Z] adcc1eea9eea: Download complete [2021-05-21T07:29:08.287Z] afea3b2eda06: Verifying Checksum [2021-05-21T07:29:08.287Z] afea3b2eda06: Download complete [2021-05-21T07:29:08.287Z] 540db60ca938: Verifying Checksum [2021-05-21T07:29:08.287Z] 540db60ca938: Download complete [2021-05-21T07:29:08.287Z] 7809a108b3ef: Verifying Checksum [2021-05-21T07:29:08.287Z] 7809a108b3ef: Download complete [2021-05-21T07:29:08.287Z] 540db60ca938: Pull complete [2021-05-21T07:29:08.547Z] adcc1eea9eea: Pull complete [2021-05-21T07:29:08.547Z] 4c4ab2625f07: Pull complete [2021-05-21T07:29:09.952Z] f706445af74f: Verifying Checksum [2021-05-21T07:29:09.952Z] f706445af74f: Download complete [2021-05-21T07:29:10.522Z] 0510c868ecb4: Verifying Checksum [2021-05-21T07:29:10.522Z] 0510c868ecb4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T07:29:11.788Z] provisioning config files... [2021-05-21T07:29:11.814Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config3523833760645823521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:29:12.186Z] ---> docker-login.sh [2021-05-21T07:29:12.186Z] nexus3.edgexfoundry.org:10001 [2021-05-21T07:29:13.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:13.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:13.458Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:13.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:13.458Z] [2021-05-21T07:29:13.458Z] Login Succeeded [2021-05-21T07:29:13.458Z] nexus3.edgexfoundry.org:10002 [2021-05-21T07:29:13.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:14.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:14.007Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:14.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:14.007Z] [2021-05-21T07:29:14.007Z] Login Succeeded [2021-05-21T07:29:14.007Z] nexus3.edgexfoundry.org:10003 [2021-05-21T07:29:14.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:14.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:14.556Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:14.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:14.556Z] [2021-05-21T07:29:14.556Z] Login Succeeded [2021-05-21T07:29:14.556Z] nexus3.edgexfoundry.org:10004 [2021-05-21T07:29:14.764Z] 0510c868ecb4: Pull complete [2021-05-21T07:29:14.764Z] afea3b2eda06: Pull complete [2021-05-21T07:29:14.764Z] 7809a108b3ef: Pull complete [2021-05-21T07:29:14.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:15.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:15.104Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:15.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:15.104Z] [2021-05-21T07:29:15.104Z] Login Succeeded [2021-05-21T07:29:15.104Z] docker.io [2021-05-21T07:29:15.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T07:29:15.709Z] f706445af74f: Pull complete [2021-05-21T07:29:15.709Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-21T07:29:15.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-21T07:29:15.709Z] ---> b068be0155e3 [2021-05-21T07:29:15.709Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-21T07:29:15.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T07:29:15.981Z] Configure a credential helper to remove this warning. See [2021-05-21T07:29:15.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T07:29:15.981Z] [2021-05-21T07:29:15.981Z] Login Succeeded [2021-05-21T07:29:15.981Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T07:29:15.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T07:29:16.573Z] ========================================================= [2021-05-21T07:29:16.573Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-21T07:29:16.573Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:29:16.962Z] + 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-21T07:29:17.242Z] Sending build context to Docker daemon 359.4kB [2021-05-21T07:29:17.242Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T07:29:17.242Z] Step 2/10 : FROM ${BASE} [2021-05-21T07:29:17.517Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-21T07:29:17.517Z] 595b0fe564bb: Pulling fs layer [2021-05-21T07:29:17.517Z] 7186ed65a4f7: Pulling fs layer [2021-05-21T07:29:17.517Z] 316046926c0a: Pulling fs layer [2021-05-21T07:29:17.517Z] 4ebd0625c992: Pulling fs layer [2021-05-21T07:29:17.517Z] 207e8628e3a3: Pulling fs layer [2021-05-21T07:29:17.517Z] c791037a9be2: Pulling fs layer [2021-05-21T07:29:17.517Z] ffd874e62e21: Pulling fs layer [2021-05-21T07:29:17.517Z] 4ebd0625c992: Waiting [2021-05-21T07:29:17.517Z] 207e8628e3a3: Waiting [2021-05-21T07:29:17.517Z] c791037a9be2: Waiting [2021-05-21T07:29:17.517Z] ffd874e62e21: Waiting [2021-05-21T07:29:17.517Z] 316046926c0a: Download complete [2021-05-21T07:29:17.517Z] 7186ed65a4f7: Verifying Checksum [2021-05-21T07:29:17.517Z] 7186ed65a4f7: Download complete [2021-05-21T07:29:17.517Z] 207e8628e3a3: Verifying Checksum [2021-05-21T07:29:17.517Z] 207e8628e3a3: Download complete [2021-05-21T07:29:17.517Z] c791037a9be2: Verifying Checksum [2021-05-21T07:29:17.517Z] c791037a9be2: Download complete [2021-05-21T07:29:17.795Z] 595b0fe564bb: Download complete [2021-05-21T07:29:18.402Z] 595b0fe564bb: Pull complete [2021-05-21T07:29:19.023Z] 7186ed65a4f7: Pull complete [2021-05-21T07:29:19.301Z] 316046926c0a: Pull complete [2021-05-21T07:29:19.575Z] ffd874e62e21: Verifying Checksum [2021-05-21T07:29:19.575Z] ffd874e62e21: Download complete [2021-05-21T07:29:20.999Z] ---> Running in 4cd33da07103 [2021-05-21T07:29:20.999Z] Removing intermediate container 4cd33da07103 [2021-05-21T07:29:20.999Z] ---> 48805baa14fc [2021-05-21T07:29:20.999Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-21T07:29:20.999Z] ---> Running in f685c36dce68 [2021-05-21T07:29:20.999Z] Removing intermediate container f685c36dce68 [2021-05-21T07:29:20.999Z] ---> b2ea085c4a25 [2021-05-21T07:29:20.999Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-21T07:29:20.999Z] ---> Running in 6d779398e9f8 [2021-05-21T07:29:20.999Z] Removing intermediate container 6d779398e9f8 [2021-05-21T07:29:20.999Z] ---> 301b45129583 [2021-05-21T07:29:20.999Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T07:29:21.042Z] 4ebd0625c992: Download complete [2021-05-21T07:29:21.261Z] ---> Running in e149361d1aa5 [2021-05-21T07:29:22.204Z] Removing intermediate container e149361d1aa5 [2021-05-21T07:29:22.204Z] ---> 911e8d8dea91 [2021-05-21T07:29:22.204Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-21T07:29:22.204Z] ---> Running in 8e4f66f2a9a0 [2021-05-21T07:29:22.465Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T07:29:23.411Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T07:29:23.673Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-21T07:29:23.673Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-21T07:29:23.935Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-21T07:29:23.935Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-21T07:29:24.196Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-21T07:29:24.196Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-21T07:29:24.196Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-21T07:29:24.457Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-21T07:29:24.719Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-21T07:29:24.719Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-21T07:29:24.719Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-21T07:29:24.981Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-21T07:29:24.981Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-21T07:29:24.981Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T07:29:24.981Z] OK: 156 MiB in 53 packages [2021-05-21T07:29:26.369Z] Removing intermediate container 8e4f66f2a9a0 [2021-05-21T07:29:26.369Z] ---> ea99259a229a [2021-05-21T07:29:26.369Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-21T07:29:26.369Z] ---> Running in b7a186c74c9c [2021-05-21T07:29:26.633Z] Removing intermediate container b7a186c74c9c [2021-05-21T07:29:26.633Z] ---> 776d3c92295b [2021-05-21T07:29:26.633Z] Step 9/10 : COPY . . [2021-05-21T07:29:27.580Z] ---> 23afa73f19f3 [2021-05-21T07:29:27.580Z] Step 10/10 : RUN go mod download [2021-05-21T07:29:27.580Z] ---> Running in ebdb77d1e310 [2021-05-21T07:29:31.244Z] 4ebd0625c992: Pull complete [2021-05-21T07:29:31.518Z] 207e8628e3a3: Pull complete [2021-05-21T07:29:32.114Z] c791037a9be2: Pull complete [2021-05-21T07:29:35.515Z] ffd874e62e21: Pull complete [2021-05-21T07:29:35.791Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-21T07:29:35.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-21T07:29:35.791Z] ---> cfc18b08335c [2021-05-21T07:29:35.791Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-21T07:29:37.767Z] ---> Running in 9d12218e91cc [2021-05-21T07:29:38.039Z] Removing intermediate container 9d12218e91cc [2021-05-21T07:29:38.039Z] ---> 5429ba21a956 [2021-05-21T07:29:38.039Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-21T07:29:38.310Z] ---> Running in 7c3c42cf6f10 [2021-05-21T07:29:38.911Z] Removing intermediate container 7c3c42cf6f10 [2021-05-21T07:29:38.911Z] ---> 59c7579869ea [2021-05-21T07:29:38.911Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-21T07:29:38.911Z] ---> Running in a95d2f055aed [2021-05-21T07:29:39.180Z] Removing intermediate container a95d2f055aed [2021-05-21T07:29:39.180Z] ---> 78d17a2e36a7 [2021-05-21T07:29:39.180Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T07:29:39.476Z] ---> Running in c19da530047d [2021-05-21T07:29:42.099Z] Removing intermediate container c19da530047d [2021-05-21T07:29:42.099Z] ---> bbf3fb87c5f1 [2021-05-21T07:29:42.099Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-21T07:29:42.099Z] ---> Running in a813f627286d [2021-05-21T07:29:43.076Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T07:29:44.061Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T07:29:44.657Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-21T07:29:44.926Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-21T07:29:44.926Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-21T07:29:44.926Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-21T07:29:45.250Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-21T07:29:45.250Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-21T07:29:45.250Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-21T07:29:45.849Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-21T07:29:45.849Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-21T07:29:45.849Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-21T07:29:45.849Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-21T07:29:46.125Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-21T07:29:46.125Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-21T07:29:46.125Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T07:29:46.408Z] OK: 145 MiB in 53 packages [2021-05-21T07:29:47.849Z] Removing intermediate container a813f627286d [2021-05-21T07:29:47.849Z] ---> e75a2dd11b32 [2021-05-21T07:29:47.849Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-21T07:29:47.849Z] ---> Running in bd07c5d76b73 [2021-05-21T07:29:48.122Z] Removing intermediate container bd07c5d76b73 [2021-05-21T07:29:48.122Z] ---> a713bac643d6 [2021-05-21T07:29:48.122Z] Step 9/10 : COPY . . [2021-05-21T07:29:49.099Z] ---> 3ca088ab87eb [2021-05-21T07:29:49.099Z] Step 10/10 : RUN go mod download [2021-05-21T07:29:49.391Z] ---> Running in 9a58d42278ae [2021-05-21T07:29:59.720Z] Removing intermediate container ebdb77d1e310 [2021-05-21T07:29:59.721Z] ---> 4ad0d9dbf8f6 [2021-05-21T07:29:59.721Z] Successfully built 4ad0d9dbf8f6 [2021-05-21T07:29:59.721Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:30:00.028Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T07:30:00.028Z] . [Pipeline] withDockerContainer [2021-05-21T07:30:00.115Z] prd-centos7-docker-4c-2g-15498 does not seem to be running inside a container [2021-05-21T07:30:00.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-21T07:30:01.939Z] $ docker top a77bdf7d37efbceba9fbf69869917b69ac4a00faaeffb60fc1b788caf93c2d59 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T07:30:02.356Z] + go version [2021-05-21T07:30:02.356Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-21T07:30:02.372Z] $ docker stop --time=1 a77bdf7d37efbceba9fbf69869917b69ac4a00faaeffb60fc1b788caf93c2d59 [2021-05-21T07:30:04.463Z] $ docker rm -f a77bdf7d37efbceba9fbf69869917b69ac4a00faaeffb60fc1b788caf93c2d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:30:05.388Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T07:30:05.389Z] . [Pipeline] withDockerContainer [2021-05-21T07:30:05.463Z] prd-centos7-docker-4c-2g-15498 does not seem to be running inside a container [2021-05-21T07:30:05.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-21T07:30:06.230Z] $ docker top acdf6daf06e1f878ccdef4f03af5f5627d2333e90346b43cb0de0224a701ea4e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T07:30:06.616Z] + go mod tidy [Pipeline] sh [2021-05-21T07:30:07.503Z] + make test [2021-05-21T07:30:07.503Z] go mod tidy [2021-05-21T07:30:07.503Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-21T07:30:08.081Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-21T07:30:16.203Z] Removing intermediate container 9a58d42278ae [2021-05-21T07:30:16.204Z] ---> 565c2fc7de59 [2021-05-21T07:30:16.204Z] Successfully built 565c2fc7de59 [2021-05-21T07:30:16.204Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:30:16.549Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T07:30:16.550Z] . [Pipeline] withDockerContainer [2021-05-21T07:30:16.815Z] prd-ubuntu18.04-docker-arm64-4c-16g-15497 does not seem to be running inside a container [2021-05-21T07:30:16.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-21T07:30:18.517Z] $ docker top 40169e561eeeb088c3606661e12704c19c0e63015d888ce3c6d8ccd37e09f114 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T07:30:19.468Z] + go version [2021-05-21T07:30:19.468Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-21T07:30:19.494Z] $ docker stop --time=1 40169e561eeeb088c3606661e12704c19c0e63015d888ce3c6d8ccd37e09f114 [2021-05-21T07:30:21.281Z] $ docker rm -f 40169e561eeeb088c3606661e12704c19c0e63015d888ce3c6d8ccd37e09f114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:30:22.007Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T07:30:22.007Z] . [Pipeline] withDockerContainer [2021-05-21T07:30:22.271Z] prd-ubuntu18.04-docker-arm64-4c-16g-15497 does not seem to be running inside a container [2021-05-21T07:30:22.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-21T07:30:23.960Z] $ docker top a3c25392cfcfad97ec57875a339d8ec641a87bc9a7b9c863298fe7799306ab8c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T07:30:24.918Z] + go mod tidy [Pipeline] sh [2021-05-21T07:30:26.174Z] + make test [2021-05-21T07:30:26.174Z] go mod tidy [2021-05-21T07:30:26.299Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-21T07:30:26.299Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-05-21T07:30:26.299Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-21T07:30:26.453Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-21T07:30:27.888Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-21T07:30:30.542Z] gofmt -l . [2021-05-21T07:30:30.543Z] [ "`gofmt -l .`" = "" ] [2021-05-21T07:30:30.543Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-21T07:30:30.819Z] $ docker stop --time=1 acdf6daf06e1f878ccdef4f03af5f5627d2333e90346b43cb0de0224a701ea4e [2021-05-21T07:30:32.201Z] $ docker rm -f acdf6daf06e1f878ccdef4f03af5f5627d2333e90346b43cb0de0224a701ea4e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T07:30:32.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T07:30:32.805Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-21T07:30:35.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T07:30:35.755Z] + ls -al . [2021-05-21T07:30:35.755Z] total 104 [2021-05-21T07:30:35.755Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 21 07:30 . [2021-05-21T07:30:35.755Z] drwxrwxr-x. 4 jenkins jenkins 28 May 21 07:28 .. [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 21 07:28 Attribution.txt [2021-05-21T07:30:35.755Z] drwxrwxr-x. 2 jenkins jenkins 60 May 21 07:28 bin [2021-05-21T07:30:35.755Z] drwxrwxr-x. 3 jenkins jenkins 32 May 21 07:28 cmd [2021-05-21T07:30:35.755Z] -rw-r--r--. 1 jenkins jenkins 7631 May 21 07:30 coverage.out [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 21 07:28 Dockerfile [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 21 07:28 Dockerfile.build [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 6 May 21 07:28 .dockerignore [2021-05-21T07:30:35.755Z] drwxrwxr-x. 8 jenkins jenkins 179 May 21 07:28 .git [2021-05-21T07:30:35.755Z] drwxrwxr-x. 2 jenkins jenkins 103 May 21 07:28 .github [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 272 May 21 07:28 .gitignore [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 222 May 21 07:28 go.mod [2021-05-21T07:30:35.755Z] -rw-r--r--. 1 jenkins jenkins 21556 May 21 07:30 go.sum [2021-05-21T07:30:35.755Z] drwxrwxr-x. 3 jenkins jenkins 20 May 21 07:28 internal [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 656 May 21 07:28 Jenkinsfile [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 21 07:28 LICENSE [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 936 May 21 07:28 Makefile [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 21 07:28 README.md [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 5 May 21 07:26 VERSION [2021-05-21T07:30:35.755Z] -rw-rw-r--. 1 jenkins jenkins 209 May 21 07:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:30:36.068Z] + 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=9d521f1f8a1b7fb21ec516eb19b91834b25cb2aa --label arch=amd64 --label version=0.0.0 . [2021-05-21T07:30:36.068Z] Sending build context to Docker daemon 368.6kB [2021-05-21T07:30:36.068Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T07:30:36.068Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-21T07:30:36.068Z] ---> 4ad0d9dbf8f6 [2021-05-21T07:30:36.068Z] Step 3/24 : ARG MAKE='make build' [2021-05-21T07:30:36.068Z] ---> Running in 4331ccbc4587 [2021-05-21T07:30:36.068Z] Removing intermediate container 4331ccbc4587 [2021-05-21T07:30:36.068Z] ---> 4ed50cab3095 [2021-05-21T07:30:36.068Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-21T07:30:36.068Z] ---> Running in 8eecb53ce20d [2021-05-21T07:30:36.353Z] Removing intermediate container 8eecb53ce20d [2021-05-21T07:30:36.353Z] ---> c7172adf2a46 [2021-05-21T07:30:36.353Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-21T07:30:36.353Z] ---> Running in 13d8a9e3a359 [2021-05-21T07:30:36.353Z] Removing intermediate container 13d8a9e3a359 [2021-05-21T07:30:36.353Z] ---> 20ac201a9278 [2021-05-21T07:30:36.353Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T07:30:36.353Z] ---> Running in 2b48d4422e94 [2021-05-21T07:30:36.926Z] Removing intermediate container 2b48d4422e94 [2021-05-21T07:30:36.926Z] ---> f3a749ce2ab9 [2021-05-21T07:30:36.926Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-21T07:30:36.926Z] ---> Running in ed58556dd6d1 [2021-05-21T07:30:37.186Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T07:30:38.145Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T07:30:39.097Z] OK: 156 MiB in 53 packages [2021-05-21T07:30:39.359Z] Removing intermediate container ed58556dd6d1 [2021-05-21T07:30:39.359Z] ---> cb62a7f7958d [2021-05-21T07:30:39.359Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-21T07:30:39.359Z] ---> Running in d8a2bcb14a8d [2021-05-21T07:30:39.620Z] Removing intermediate container d8a2bcb14a8d [2021-05-21T07:30:39.620Z] ---> a4b9d1f5539c [2021-05-21T07:30:39.620Z] Step 9/24 : COPY . . [2021-05-21T07:30:39.883Z] ---> 29909d04d879 [2021-05-21T07:30:39.883Z] Step 10/24 : RUN go mod tidy [2021-05-21T07:30:40.150Z] ---> Running in 5a8d817e5d80 [2021-05-21T07:30:40.725Z] Removing intermediate container 5a8d817e5d80 [2021-05-21T07:30:40.725Z] ---> 0294bb1395c9 [2021-05-21T07:30:40.725Z] Step 11/24 : RUN make update [2021-05-21T07:30:40.725Z] ---> Running in 4ecabe6ab202 [2021-05-21T07:30:40.995Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-21T07:30:41.262Z] Removing intermediate container 4ecabe6ab202 [2021-05-21T07:30:41.262Z] ---> 4845a7ff3a62 [2021-05-21T07:30:41.262Z] Step 12/24 : RUN ${MAKE} [2021-05-21T07:30:41.262Z] ---> Running in bdc2a92fb167 [2021-05-21T07:30:41.534Z] go mod tidy [2021-05-21T07:30:41.805Z] 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-21T07:30:54.108Z] Removing intermediate container bdc2a92fb167 [2021-05-21T07:30:54.108Z] ---> bd8bc4e768b2 [2021-05-21T07:30:54.108Z] Step 13/24 : FROM alpine:3.12 [2021-05-21T07:30:54.108Z] 3.12: Pulling from library/alpine [2021-05-21T07:30:54.108Z] 339de151aab4: Pulling fs layer [2021-05-21T07:30:54.409Z] 339de151aab4: Verifying Checksum [2021-05-21T07:30:54.410Z] 339de151aab4: Download complete [2021-05-21T07:30:54.410Z] 339de151aab4: Pull complete [2021-05-21T07:30:54.410Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T07:30:54.410Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T07:30:54.410Z] ---> 13621d1b12d4 [2021-05-21T07:30:54.410Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-21T07:30:54.671Z] ---> Running in 2c21dce17413 [2021-05-21T07:30:54.935Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-21T07:30:54.935Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-21T07:30:54.935Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-21T07:30:54.935Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-21T07:30:54.935Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-21T07:30:54.935Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-21T07:30:54.935Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-21T07:30:54.935Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-21T07:30:54.935Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T07:30:55.197Z] OK: 8 MiB in 20 packages [2021-05-21T07:30:55.458Z] Removing intermediate container 2c21dce17413 [2021-05-21T07:30:55.458Z] ---> c51a95970d0d [2021-05-21T07:30:55.458Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-21T07:30:55.720Z] ---> 1acc08f47d72 [2021-05-21T07:30:55.720Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-21T07:30:55.982Z] ---> 815a8ab34ccd [2021-05-21T07:30:55.982Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-21T07:30:55.982Z] ---> fe2ab2ab6b74 [2021-05-21T07:30:55.982Z] Step 18/24 : EXPOSE 59993 [2021-05-21T07:30:56.257Z] ---> Running in 4eb1892acad9 [2021-05-21T07:30:56.257Z] Removing intermediate container 4eb1892acad9 [2021-05-21T07:30:56.257Z] ---> 3e61ef30c95c [2021-05-21T07:30:56.257Z] Step 19/24 : EXPOSE 161 [2021-05-21T07:30:56.257Z] ---> Running in 360e33aaff0f [2021-05-21T07:30:56.257Z] Removing intermediate container 360e33aaff0f [2021-05-21T07:30:56.257Z] ---> d71e5cfa4ffb [2021-05-21T07:30:56.257Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-21T07:30:56.257Z] ---> Running in bc0637ff47d2 [2021-05-21T07:30:56.520Z] Removing intermediate container bc0637ff47d2 [2021-05-21T07:30:56.520Z] ---> 68bd2e46287d [2021-05-21T07:30:56.520Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-21T07:30:56.520Z] ---> Running in bf2e0220572c [2021-05-21T07:30:56.520Z] Removing intermediate container bf2e0220572c [2021-05-21T07:30:56.520Z] ---> a3745bc625f6 [2021-05-21T07:30:56.520Z] Step 22/24 : LABEL arch=amd64 [2021-05-21T07:30:56.520Z] ---> Running in e14106869668 [2021-05-21T07:30:56.781Z] Removing intermediate container e14106869668 [2021-05-21T07:30:56.781Z] ---> 71d6873b7340 [2021-05-21T07:30:56.781Z] Step 23/24 : LABEL git_sha=9d521f1f8a1b7fb21ec516eb19b91834b25cb2aa [2021-05-21T07:30:56.781Z] ---> Running in 4158e4e20983 [2021-05-21T07:30:56.781Z] Removing intermediate container 4158e4e20983 [2021-05-21T07:30:56.781Z] ---> a771203ba753 [2021-05-21T07:30:56.781Z] Step 24/24 : LABEL version=0.0.0 [2021-05-21T07:30:56.781Z] ---> Running in b043f9286a7e [2021-05-21T07:30:57.040Z] Removing intermediate container b043f9286a7e [2021-05-21T07:30:57.040Z] ---> 3cc833f111de [2021-05-21T07:30:57.040Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-21T07:30:57.040Z] Successfully built 3cc833f111de [2021-05-21T07:30:57.040Z] 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-21T07:30:58.009Z] ---> job-cost.sh [2021-05-21T07:30:58.009Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WAjh [2021-05-21T07:31:08.077Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T07:31:20.333Z] lf-activate-venv(): INFO: Adding /tmp/venv-WAjh/bin to PATH [2021-05-21T07:31:20.333Z] INFO: No Stack... [2021-05-21T07:31:20.905Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T07:31:21.476Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T07:31:21.785Z] + cut -d, -f6 [2021-05-21T07:31:21.785Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock [2021-05-21T07:31:21.815Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-95-2-stack-cost] [2021-05-21T07:31:21.824Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-95-2-stack-cost] did not exist. Created. [2021-05-21T07:31:21.824Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-95-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T07:31:22.151Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-21T07:31:22.238Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T07:31:22.252Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-95-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-21T07:31:24.558Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-21T07:31:24.558Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.031s coverage: 0.0% of statements [2021-05-21T07:31:24.558Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-21T07:31:39.724Z] gofmt -l . [2021-05-21T07:31:39.724Z] [ "`gofmt -l .`" = "" ] [2021-05-21T07:31:39.724Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-21T07:31:41.188Z] $ docker stop --time=1 a3c25392cfcfad97ec57875a339d8ec641a87bc9a7b9c863298fe7799306ab8c [2021-05-21T07:31:43.199Z] $ docker rm -f a3c25392cfcfad97ec57875a339d8ec641a87bc9a7b9c863298fe7799306ab8c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T07:31:44.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T07:31:44.084Z] Warning: overwriting stash ‘coverage-report’ [2021-05-21T07:31:44.540Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T07:31:45.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T07:31:45.466Z] + ls -al . [2021-05-21T07:31:45.466Z] total 128 [2021-05-21T07:31:45.466Z] drwxrwxr-x 7 jenkins jenkins 4096 May 21 07:31 . [2021-05-21T07:31:45.466Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 07:28 .. [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 6 May 21 07:28 .dockerignore [2021-05-21T07:31:45.466Z] drwxrwxr-x 8 jenkins jenkins 4096 May 21 07:28 .git [2021-05-21T07:31:45.466Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 07:28 .github [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 272 May 21 07:28 .gitignore [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 21 07:28 Attribution.txt [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 21 07:28 Dockerfile [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 21 07:28 Dockerfile.build [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 656 May 21 07:28 Jenkinsfile [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 21 07:28 LICENSE [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 936 May 21 07:28 Makefile [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 21 07:28 README.md [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 5 May 21 07:26 VERSION [2021-05-21T07:31:45.466Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 07:28 bin [2021-05-21T07:31:45.466Z] drwxrwxr-x 3 jenkins jenkins 4096 May 21 07:28 cmd [2021-05-21T07:31:45.466Z] -rw-r--r-- 1 jenkins jenkins 7631 May 21 07:31 coverage.out [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 222 May 21 07:28 go.mod [2021-05-21T07:31:45.466Z] -rw-r--r-- 1 jenkins jenkins 21556 May 21 07:30 go.sum [2021-05-21T07:31:45.466Z] drwxrwxr-x 3 jenkins jenkins 4096 May 21 07:28 internal [2021-05-21T07:31:45.466Z] -rw-rw-r-- 1 jenkins jenkins 209 May 21 07:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:31:45.836Z] + 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=73015cce3f31343230da20fa3fe74dc1cf9f8d61 --label arch=arm64 --label version=0.0.0 . [2021-05-21T07:31:46.123Z] Sending build context to Docker daemon 367.6kB [2021-05-21T07:31:46.123Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T07:31:46.123Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-21T07:31:46.123Z] ---> 565c2fc7de59 [2021-05-21T07:31:46.123Z] Step 3/24 : ARG MAKE='make build' [2021-05-21T07:31:46.398Z] ---> Running in 7c01f097993e [2021-05-21T07:31:47.004Z] Removing intermediate container 7c01f097993e [2021-05-21T07:31:47.004Z] ---> 1de669184a15 [2021-05-21T07:31:47.004Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-21T07:31:47.004Z] ---> Running in ec5d9115dcee [2021-05-21T07:31:47.608Z] Removing intermediate container ec5d9115dcee [2021-05-21T07:31:47.608Z] ---> fed03cf564ac [2021-05-21T07:31:47.608Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-21T07:31:47.608Z] ---> Running in ec9ff9a06ad4 [2021-05-21T07:31:48.208Z] Removing intermediate container ec9ff9a06ad4 [2021-05-21T07:31:48.208Z] ---> d550d21c2810 [2021-05-21T07:31:48.208Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T07:31:48.208Z] ---> Running in 0718d6556829 [2021-05-21T07:31:50.846Z] Removing intermediate container 0718d6556829 [2021-05-21T07:31:50.846Z] ---> 2bd7897b0e44 [2021-05-21T07:31:50.846Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-21T07:31:50.846Z] ---> Running in 98b768941f79 [2021-05-21T07:31:51.827Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T07:31:52.809Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T07:31:53.785Z] OK: 145 MiB in 53 packages [2021-05-21T07:31:54.758Z] Removing intermediate container 98b768941f79 [2021-05-21T07:31:54.758Z] ---> 4c42952eb555 [2021-05-21T07:31:54.758Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-21T07:31:55.032Z] ---> Running in 7f3c41466aed [2021-05-21T07:31:55.307Z] Removing intermediate container 7f3c41466aed [2021-05-21T07:31:55.307Z] ---> afabfd84f1df [2021-05-21T07:31:55.307Z] Step 9/24 : COPY . . [2021-05-21T07:31:56.753Z] ---> 5ea5ae9b1c68 [2021-05-21T07:31:56.753Z] Step 10/24 : RUN go mod tidy [2021-05-21T07:31:56.753Z] ---> Running in b9a67f143c39 [2021-05-21T07:31:59.397Z] Removing intermediate container b9a67f143c39 [2021-05-21T07:31:59.397Z] ---> 74a3b42d8d67 [2021-05-21T07:31:59.397Z] Step 11/24 : RUN make update [2021-05-21T07:31:59.397Z] ---> Running in 5dd38b7b5c98 [2021-05-21T07:32:00.836Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-21T07:32:01.823Z] Removing intermediate container 5dd38b7b5c98 [2021-05-21T07:32:01.823Z] ---> 2df4293c38b9 [2021-05-21T07:32:01.823Z] Step 12/24 : RUN ${MAKE} [2021-05-21T07:32:02.108Z] ---> Running in 7a6f57328745 [2021-05-21T07:32:03.088Z] go mod tidy [2021-05-21T07:32:03.693Z] 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-21T07:32:42.778Z] Removing intermediate container 7a6f57328745 [2021-05-21T07:32:42.778Z] ---> 46ed1ebbed6c [2021-05-21T07:32:42.778Z] Step 13/24 : FROM alpine:3.12 [2021-05-21T07:32:42.778Z] 3.12: Pulling from library/alpine [2021-05-21T07:32:42.778Z] d2f70382dc9a: Pulling fs layer [2021-05-21T07:32:42.778Z] d2f70382dc9a: Verifying Checksum [2021-05-21T07:32:42.778Z] d2f70382dc9a: Download complete [2021-05-21T07:32:42.778Z] d2f70382dc9a: Pull complete [2021-05-21T07:32:42.778Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T07:32:42.778Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T07:32:42.778Z] ---> 9852663dfa18 [2021-05-21T07:32:42.778Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-21T07:32:42.778Z] ---> Running in 07305dc501b1 [2021-05-21T07:32:42.778Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-21T07:32:42.778Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-21T07:32:42.778Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-21T07:32:42.778Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-21T07:32:42.778Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-21T07:32:42.778Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-21T07:32:42.778Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-21T07:32:42.778Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-21T07:32:42.778Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T07:32:42.778Z] OK: 8 MiB in 20 packages [2021-05-21T07:32:44.217Z] Removing intermediate container 07305dc501b1 [2021-05-21T07:32:44.217Z] ---> 3beceaceaab1 [2021-05-21T07:32:44.217Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-21T07:32:45.199Z] ---> 06d34be7236d [2021-05-21T07:32:45.199Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-21T07:32:46.181Z] ---> d95db23b61d6 [2021-05-21T07:32:46.181Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-21T07:32:46.776Z] ---> 2daffa90485a [2021-05-21T07:32:46.776Z] Step 18/24 : EXPOSE 59993 [2021-05-21T07:32:47.049Z] ---> Running in 9f79025d9199 [2021-05-21T07:32:47.323Z] Removing intermediate container 9f79025d9199 [2021-05-21T07:32:47.323Z] ---> d86fa79edd56 [2021-05-21T07:32:47.323Z] Step 19/24 : EXPOSE 161 [2021-05-21T07:32:47.597Z] ---> Running in 91dd3ffd4f57 [2021-05-21T07:32:47.875Z] Removing intermediate container 91dd3ffd4f57 [2021-05-21T07:32:47.875Z] ---> bba040511dc3 [2021-05-21T07:32:47.875Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-21T07:32:48.147Z] ---> Running in 47b36267b0fa [2021-05-21T07:32:48.748Z] Removing intermediate container 47b36267b0fa [2021-05-21T07:32:48.748Z] ---> 5457b586787d [2021-05-21T07:32:48.748Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-21T07:32:48.748Z] ---> Running in 0d19d3ac4c21 [2021-05-21T07:32:49.348Z] Removing intermediate container 0d19d3ac4c21 [2021-05-21T07:32:49.348Z] ---> 6496892d62ff [2021-05-21T07:32:49.348Z] Step 22/24 : LABEL arch=arm64 [2021-05-21T07:32:49.348Z] ---> Running in beb0348620c2 [2021-05-21T07:32:49.946Z] Removing intermediate container beb0348620c2 [2021-05-21T07:32:49.946Z] ---> c9b4f18bd432 [2021-05-21T07:32:49.946Z] Step 23/24 : LABEL git_sha=73015cce3f31343230da20fa3fe74dc1cf9f8d61 [2021-05-21T07:32:49.946Z] ---> Running in 1993fb0a1fde [2021-05-21T07:32:50.219Z] Removing intermediate container 1993fb0a1fde [2021-05-21T07:32:50.219Z] ---> 21489338235a [2021-05-21T07:32:50.219Z] Step 24/24 : LABEL version=0.0.0 [2021-05-21T07:32:50.494Z] ---> Running in 873597058cc4 [2021-05-21T07:32:51.087Z] Removing intermediate container 873597058cc4 [2021-05-21T07:32:51.087Z] ---> de1499af6f10 [2021-05-21T07:32:51.087Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-21T07:32:51.087Z] Successfully built de1499af6f10 [2021-05-21T07:32:51.087Z] 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-21T07:32:51.783Z] ---> job-cost.sh [2021-05-21T07:32:51.783Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9xbv [2021-05-21T07:33:30.766Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T07:34:52.521Z] lf-activate-venv(): INFO: Adding /tmp/venv-9xbv/bin to PATH [2021-05-21T07:34:52.521Z] INFO: No Stack... [2021-05-21T07:34:52.521Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-21T07:34:52.521Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T07:34:52.866Z] + + cut -d, -f6 [2021-05-21T07:34:52.866Z] cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock [2021-05-21T07:34:52.930Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-95-2-stack-cost] [2021-05-21T07:34:52.940Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-95-2-stack-cost] did not exist. Created. [2021-05-21T07:34:52.941Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-95-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T07:34:53.361Z] /w/workspace/device-snmp-go/2@tmp/durable-9c4d1fb9/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-9c4d1fb9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-21T07:34:53.709Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-21T07:34:53.748Z] Warning: overwriting stash ‘stack-cost’ [2021-05-21T07:34:53.898Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T07:34:53.921Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-95-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-21T07:34:54.738Z] provisioning config files... [2021-05-21T07:34:54.747Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/config240607469377023364tmp [Pipeline] { [Pipeline] sh [2021-05-21T07:34:55.072Z] + set +x [2021-05-21T07:34:55.072Z] + bash -s -- [2021-05-21T07:34:55.072Z] + curl -s https://codecov.io/bash [2021-05-21T07:34:55.072Z] [2021-05-21T07:34:55.072Z] _____ _ [2021-05-21T07:34:55.072Z] / ____| | | [2021-05-21T07:34:55.072Z] | | ___ __| | ___ ___ _____ __ [2021-05-21T07:34:55.072Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-21T07:34:55.072Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-21T07:34:55.072Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-21T07:34:55.072Z] Bash-1.0.2 [2021-05-21T07:34:55.072Z] [2021-05-21T07:34:55.072Z] [2021-05-21T07:34:55.072Z] ==> git version 2.24.4 found [2021-05-21T07:34:55.072Z] ==> 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-21T07:34:55.072Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-21T07:34:55.072Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-21T07:34:55.072Z] ==> Jenkins CI detected. [2021-05-21T07:34:55.072Z] project root: . [2021-05-21T07:34:55.072Z] --> token set from env [2021-05-21T07:34:55.072Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-21T07:34:55.072Z] ==> Running gcov in . (disable via -X gcov) [2021-05-21T07:34:55.072Z] ==> Python coveragepy not found [2021-05-21T07:34:55.072Z] ==> Searching for coverage reports in: [2021-05-21T07:34:55.072Z] + . [2021-05-21T07:34:55.334Z] -> Found 1 reports [2021-05-21T07:34:55.334Z] ==> Detecting git/mercurial file structure [2021-05-21T07:34:55.334Z] ==> Reading reports [2021-05-21T07:34:55.334Z] + ./coverage.out bytes=7631 [2021-05-21T07:34:55.334Z] ==> Appending adjustments [2021-05-21T07:34:55.334Z] https://docs.codecov.io/docs/fixing-reports [2021-05-21T07:34:55.334Z] + Found adjustments [2021-05-21T07:34:55.334Z] ==> Gzipping contents [2021-05-21T07:34:55.334Z] 4.0K /tmp/codecov.mMwAaZ.gz [2021-05-21T07:34:55.334Z] ==> Uploading reports [2021-05-21T07:34:55.334Z] url: https://codecov.io [2021-05-21T07:34:55.334Z] query: branch=PR-95&commit=4ac01cab6c5f389593cab0c25bfa300b1d81a202&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-95%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=95&job=&cmd_args= [2021-05-21T07:34:55.334Z] -> Pinging Codecov [2021-05-21T07:34:55.334Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-95&commit=4ac01cab6c5f389593cab0c25bfa300b1d81a202&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-95%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=95&job=&cmd_args= [2021-05-21T07:34:55.906Z] -> Uploading to [2021-05-21T07:34:55.906Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-21/6C56EA5C29638FB4528AC87E60AF5AE0/4ac01cab6c5f389593cab0c25bfa300b1d81a202/733d24c8-6c56-4473-b848-70418ebff5e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210521%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210521T073455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07eba336320babe810f32c660439630bad6d3752ca8455bb5275086e89b80726 [2021-05-21T07:34:55.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-21T07:34:55.906Z] Dload Upload Total Spent Left Speed [2021-05-21T07:34:56.166Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3173 --:--:-- --:--:-- --:--:-- 3182 [2021-05-21T07:34:56.166Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/4ac01cab6c5f389593cab0c25bfa300b1d81a202 [Pipeline] } [2021-05-21T07:34:56.176Z] 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-21T07:34:57.803Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:34:58.366Z] ---> package-listing.sh [2021-05-21T07:34:58.366Z] ++ facter osfamily [2021-05-21T07:34:58.366Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-21T07:34:58.626Z] + OS_FAMILY=redhat [2021-05-21T07:34:58.626Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-95 [2021-05-21T07:34:58.626Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-21T07:34:58.626Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-21T07:34:58.626Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-21T07:34:58.626Z] + PACKAGES=/tmp/packages_start.txt [2021-05-21T07:34:58.626Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-95 ']' [2021-05-21T07:34:58.626Z] + PACKAGES=/tmp/packages_end.txt [2021-05-21T07:34:58.626Z] + case "${OS_FAMILY}" in [2021-05-21T07:34:58.626Z] + rpm -qa [2021-05-21T07:34:58.626Z] + sort [2021-05-21T07:34:59.199Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-21T07:34:59.199Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-21T07:34:59.199Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-21T07:34:59.199Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-95 ']' [2021-05-21T07:34:59.199Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-95/archives/ [2021-05-21T07:34:59.199Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-95/archives/ [Pipeline] echo [2021-05-21T07:34:59.213Z] 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-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-21T07:34:59.500Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:35:00.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T07:35:00.070Z] [2021-05-21T07:35:00.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-21T07:35:00.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T07:35:00.381Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-21T07:35:00.381Z] df20fa9351a1: Pulling fs layer [2021-05-21T07:35:00.381Z] 36b3adc4ff6f: Pulling fs layer [2021-05-21T07:35:00.381Z] 8ad3a11d3b57: Pulling fs layer [2021-05-21T07:35:00.381Z] 46f8f816bc3b: Pulling fs layer [2021-05-21T07:35:00.381Z] 93b61091891f: Pulling fs layer [2021-05-21T07:35:00.381Z] 93b9cdb0e59b: Pulling fs layer [2021-05-21T07:35:00.381Z] 5e14af77c1be: Pulling fs layer [2021-05-21T07:35:00.381Z] 01666e4c0597: Pulling fs layer [2021-05-21T07:35:00.381Z] aa168da1d23b: Pulling fs layer [2021-05-21T07:35:00.381Z] 93b9cdb0e59b: Waiting [2021-05-21T07:35:00.381Z] 5e14af77c1be: Waiting [2021-05-21T07:35:00.381Z] 01666e4c0597: Waiting [2021-05-21T07:35:00.381Z] aa168da1d23b: Waiting [2021-05-21T07:35:00.381Z] 46f8f816bc3b: Waiting [2021-05-21T07:35:00.381Z] 93b61091891f: Waiting [2021-05-21T07:35:00.381Z] 36b3adc4ff6f: Verifying Checksum [2021-05-21T07:35:00.381Z] 36b3adc4ff6f: Download complete [2021-05-21T07:35:00.381Z] 46f8f816bc3b: Verifying Checksum [2021-05-21T07:35:00.381Z] 46f8f816bc3b: Download complete [2021-05-21T07:35:00.642Z] df20fa9351a1: Verifying Checksum [2021-05-21T07:35:00.642Z] df20fa9351a1: Download complete [2021-05-21T07:35:00.642Z] 93b9cdb0e59b: Verifying Checksum [2021-05-21T07:35:00.642Z] 93b9cdb0e59b: Download complete [2021-05-21T07:35:00.642Z] 5e14af77c1be: Verifying Checksum [2021-05-21T07:35:00.642Z] 5e14af77c1be: Download complete [2021-05-21T07:35:00.642Z] 01666e4c0597: Verifying Checksum [2021-05-21T07:35:00.642Z] 01666e4c0597: Download complete [2021-05-21T07:35:00.642Z] 93b61091891f: Verifying Checksum [2021-05-21T07:35:00.642Z] 93b61091891f: Download complete [2021-05-21T07:35:00.642Z] 8ad3a11d3b57: Verifying Checksum [2021-05-21T07:35:00.642Z] 8ad3a11d3b57: Download complete [2021-05-21T07:35:00.903Z] df20fa9351a1: Pull complete [2021-05-21T07:35:01.168Z] 36b3adc4ff6f: Pull complete [2021-05-21T07:35:01.751Z] 8ad3a11d3b57: Pull complete [2021-05-21T07:35:02.020Z] 46f8f816bc3b: Pull complete [2021-05-21T07:35:02.594Z] 93b61091891f: Pull complete [2021-05-21T07:35:02.594Z] aa168da1d23b: Verifying Checksum [2021-05-21T07:35:02.594Z] aa168da1d23b: Download complete [2021-05-21T07:35:02.594Z] 93b9cdb0e59b: Pull complete [2021-05-21T07:35:02.863Z] 5e14af77c1be: Pull complete [2021-05-21T07:35:02.863Z] 01666e4c0597: Pull complete [2021-05-21T07:35:08.187Z] aa168da1d23b: Pull complete [2021-05-21T07:35:08.187Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-21T07:35:08.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T07:35:08.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-21T07:35:08.268Z] prd-centos7-docker-4c-2g-15495 does not seem to be running inside a container [2021-05-21T07:35:08.304Z] $ 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-95/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-95 -v /w/workspace/dgexfoundry_device-snmp-go_PR-95:/w/workspace/dgexfoundry_device-snmp-go_PR-95:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-95@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-21T07:35:13.238Z] $ docker top d6db2d014333f9efb8ec09477d3258cc22c6e7a99490b1e0571d3aa2291808ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T07:35:13.623Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-21T07:35:13.922Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-21T07:35:14.232Z] + ls /var/log/sa-host [2021-05-21T07:35:14.232Z] + sadf -c /var/log/sa-host/sa05 [2021-05-21T07:35:14.232Z] file_magic: OK [2021-05-21T07:35:14.232Z] HZ: Using current value: 100 [2021-05-21T07:35:14.232Z] file_header: OK [2021-05-21T07:35:14.232Z] 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-21T07:35:14.232Z] Statistics: [2021-05-21T07:35:14.232Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T07:35:14.232Z] File successfully converted to sysstat format version 12.2.1 [2021-05-21T07:35:14.232Z] + sadf -c /var/log/sa-host/sa21 [2021-05-21T07:35:14.232Z] file_magic: OK [2021-05-21T07:35:14.232Z] HZ: Using current value: 100 [2021-05-21T07:35:14.232Z] file_header: OK [2021-05-21T07:35:14.232Z] 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-21T07:35:14.232Z] Statistics: [2021-05-21T07:35:14.232Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T07:35:14.232Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T07:35:14.839Z] provisioning config files... [2021-05-21T07:35:14.851Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/config3212558174729470120tmp [Pipeline] { [Pipeline] echo [2021-05-21T07:35:14.872Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:35:15.168Z] ---> create-netrc.sh [Pipeline] } [2021-05-21T07:35:15.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-21T07:35:15.209Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:35:15.508Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-21T07:35:15.521Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:35:15.828Z] ---> sudo-logs.sh [2021-05-21T07:35:15.828Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-21T07:35:15.857Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:35:16.155Z] ---> job-cost.sh [2021-05-21T07:35:16.156Z] lf-activate-venv: SKIPPING [2021-05-21T07:35:16.156Z] DEBUG: total: 0.18000000715255737 [2021-05-21T07:35:16.156Z] INFO: Retrieving Stack Cost... [2021-05-21T07:35:18.703Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T07:35:18.964Z] INFO: Archiving Costs [Pipeline] echo [2021-05-21T07:35:18.982Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T07:35:19.286Z] ---> logs-deploy.sh [2021-05-21T07:35:19.286Z] lf-activate-venv: SKIPPING [2021-05-21T07:35:19.286Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-95/2 [2021-05-21T07:35:19.286Z] INFO: archiving workspace using pattern(s): [2021-05-21T07:35:20.229Z] Archives upload complete. [2021-05-21T07:35:20.229Z] INFO: archiving logs to Nexus