Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9351a662b217a128018db5c2b0fd8a407906271b 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-ssh7982608610644258166.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-ssh6539674839750849141.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/master/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/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3404695434684127848.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-ssh4782375298985682255.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/master/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/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3320963186663875208.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15464 in /w/workspace/gexfoundry_device-snmp-go_master [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 Avoid second fetch Checking out Revision 9351a662b217a128018db5c2b0fd8a407906271b (master) Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # 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/gexfoundry_device-snmp-go_master@tmp/jenkins-gitclient-ssh6224206093553912631.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 Commit message: "Merge pull request #98 from lenny-intel/ports" > git rev-list --no-walk 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-21T03:44:32.542Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-21T03:44:32.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-21T03:44:32.660Z] ========================================================= [2021-05-21T03:44:32.660Z] EdgeX Global Pipelines Version Info [2021-05-21T03:44:32.660Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:44:34.132Z] ------------------- [2021-05-21T03:44:34.132Z] stable info: [2021-05-21T03:44:34.133Z] ------------------- [2021-05-21T03:44:34.133Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-21T03:44:34.133Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T03:44:34.133Z] Message: update stable to v1.0.192 [2021-05-21T03:44:34.714Z] ------------------- [2021-05-21T03:44:34.714Z] experimental info: [2021-05-21T03:44:34.714Z] ------------------- [2021-05-21T03:44:34.714Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-21T03:44:34.714Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-21T03:44:34.714Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-21T03:44:34.830Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-21T03:44:34.853Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-21T03:44:34.877Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-21T03:44:34.900Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-21T03:44:34.923Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-21T03:44:34.946Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-21T03:44:34.969Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-21T03:44:34.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-21T03:44:35.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-21T03:44:35.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-21T03:44:35.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-21T03:44:35.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-21T03:44:35.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-21T03:44:35.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-21T03:44:35.154Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T03:44:35.178Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-21T03:44:35.204Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T03:44:35.230Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-21T03:44:35.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-21T03:44:35.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-21T03:44:35.327Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-21T03:44:35.350Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-21T03:44:35.373Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-21T03:44:35.397Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-21T03:44:35.422Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-21T03:44:35.448Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-21T03:44:35.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-21T03:44:35.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-21T03:44:35.549Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-21T03:44:35.575Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9351a662b217a128018db5c2b0fd8a407906271b [Pipeline] echo [2021-05-21T03:44:35.599Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9351a66 [Pipeline] echo [2021-05-21T03:44:35.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T03:44:35.699Z] provisioning config files... [2021-05-21T03:44:35.722Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2056254958723002659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:44:36.077Z] ---> docker-login.sh [2021-05-21T03:44:36.077Z] nexus3.edgexfoundry.org:10001 [2021-05-21T03:44:36.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:44:36.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:44:36.601Z] Configure a credential helper to remove this warning. See [2021-05-21T03:44:36.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:44:36.601Z] [2021-05-21T03:44:36.601Z] Login Succeeded [2021-05-21T03:44:36.601Z] nexus3.edgexfoundry.org:10002 [2021-05-21T03:44:36.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:44:36.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:44:36.601Z] Configure a credential helper to remove this warning. See [2021-05-21T03:44:36.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:44:36.601Z] [2021-05-21T03:44:36.601Z] Login Succeeded [2021-05-21T03:44:36.601Z] nexus3.edgexfoundry.org:10003 [2021-05-21T03:44:36.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:44:36.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:44:36.865Z] Configure a credential helper to remove this warning. See [2021-05-21T03:44:36.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:44:36.865Z] [2021-05-21T03:44:36.865Z] Login Succeeded [2021-05-21T03:44:36.865Z] nexus3.edgexfoundry.org:10004 [2021-05-21T03:44:36.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:44:36.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:44:36.865Z] Configure a credential helper to remove this warning. See [2021-05-21T03:44:36.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:44:36.865Z] [2021-05-21T03:44:36.865Z] Login Succeeded [2021-05-21T03:44:37.127Z] docker.io [2021-05-21T03:44:37.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:44:37.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:44:37.391Z] Configure a credential helper to remove this warning. See [2021-05-21T03:44:37.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:44:37.391Z] [2021-05-21T03:44:37.391Z] Login Succeeded [2021-05-21T03:44:37.391Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T03:44:37.402Z] 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-21T03:44:37.893Z] + git log --format=format:%s -1 9351a662b217a128018db5c2b0fd8a407906271b [Pipeline] echo [2021-05-21T03:44:37.934Z] GIT_COMMIT: 9351a662b217a128018db5c2b0fd8a407906271b, Commit Message: Merge pull request #98 from lenny-intel/ports [Pipeline] echo [2021-05-21T03:44:37.947Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:44:38.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T03:44:38.520Z] [2021-05-21T03:44:38.520Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:44:38.838Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T03:44:38.838Z] latest: Pulling from edgex-devops/git-semver [2021-05-21T03:44:38.838Z] 31603596830f: Pulling fs layer [2021-05-21T03:44:38.838Z] 54011a49482f: Pulling fs layer [2021-05-21T03:44:38.838Z] a6820b24f6d8: Pulling fs layer [2021-05-21T03:44:38.838Z] f581987b2513: Pulling fs layer [2021-05-21T03:44:38.838Z] f581987b2513: Waiting [2021-05-21T03:44:38.838Z] 54011a49482f: Verifying Checksum [2021-05-21T03:44:38.838Z] 54011a49482f: Download complete [2021-05-21T03:44:39.105Z] 31603596830f: Verifying Checksum [2021-05-21T03:44:39.105Z] 31603596830f: Download complete [2021-05-21T03:44:39.105Z] a6820b24f6d8: Verifying Checksum [2021-05-21T03:44:39.105Z] a6820b24f6d8: Download complete [2021-05-21T03:44:39.105Z] f581987b2513: Verifying Checksum [2021-05-21T03:44:39.105Z] f581987b2513: Download complete [2021-05-21T03:44:39.370Z] 31603596830f: Pull complete [2021-05-21T03:44:39.370Z] 54011a49482f: Pull complete [2021-05-21T03:44:39.955Z] a6820b24f6d8: Pull complete [2021-05-21T03:44:40.224Z] f581987b2513: Pull complete [2021-05-21T03:44:40.224Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-21T03:44:40.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T03:44:40.224Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-21T03:44:40.325Z] prd-centos7-docker-4c-2g-15464 does not seem to be running inside a container [2021-05-21T03:44:40.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T03:44:43.613Z] $ docker top db483dd7ef59ce4cb7cf4a2da8147f46f8e9ab55a7f692254b871aaa6028cf26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T03:44:43.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T03:44:43.752Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T03:44:43.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T03:44:43.885Z] $ docker exec db483dd7ef59ce4cb7cf4a2da8147f46f8e9ab55a7f692254b871aaa6028cf26 ssh-agent [2021-05-21T03:44:44.013Z] SSH_AUTH_SOCK=/tmp/ssh-9Y6Y5Uxf7uo7/agent.14 [2021-05-21T03:44:44.013Z] SSH_AGENT_PID=20 [2021-05-21T03:44:44.023Z] Running ssh-add (command line suppressed) [2021-05-21T03:44:44.135Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6143210900308041832.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6143210900308041832.key) [2021-05-21T03:44:44.152Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T03:44:44.457Z] + git tag --points-at HEAD [Pipeline] } [2021-05-21T03:44:44.472Z] $ docker exec --env ******** --env ******** db483dd7ef59ce4cb7cf4a2da8147f46f8e9ab55a7f692254b871aaa6028cf26 ssh-agent -k [2021-05-21T03:44:44.581Z] unset SSH_AUTH_SOCK; [2021-05-21T03:44:44.581Z] unset SSH_AGENT_PID; [2021-05-21T03:44:44.581Z] echo Agent pid 20 killed; [2021-05-21T03:44:44.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-21T03:44:44.643Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T03:44:44.643Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T03:44:44.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T03:44:44.773Z] $ docker exec db483dd7ef59ce4cb7cf4a2da8147f46f8e9ab55a7f692254b871aaa6028cf26 ssh-agent [2021-05-21T03:44:44.880Z] SSH_AUTH_SOCK=/tmp/ssh-76AaAACBENaM/agent.53 [2021-05-21T03:44:44.880Z] SSH_AGENT_PID=58 [2021-05-21T03:44:44.885Z] Running ssh-add (command line suppressed) [2021-05-21T03:44:45.008Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7253433524933787414.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7253433524933787414.key) [2021-05-21T03:44:45.024Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T03:44:45.354Z] + git semver init [2021-05-21T03:44:45.354Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T03:44:45.354Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-21T03:44:45.354Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-21T03:44:45.354Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T03:44:45.354Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T03:44:45.354Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T03:44:45.354Z] # $SEMVER_BRANCH = master [2021-05-21T03:44:45.354Z] # $SEMVER_TEMP = /tmp/semver-086088043 [2021-05-21T03:44:45.354Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-21T03:44:45.619Z] # '/tmp/semver-086088043' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2021-05-21T03:44:45.619Z] # -> Force: false [2021-05-21T03:44:45.619Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-05-21T03:44:45.630Z] $ docker exec --env ******** --env ******** db483dd7ef59ce4cb7cf4a2da8147f46f8e9ab55a7f692254b871aaa6028cf26 ssh-agent -k [2021-05-21T03:44:45.745Z] unset SSH_AUTH_SOCK; [2021-05-21T03:44:45.745Z] unset SSH_AGENT_PID; [2021-05-21T03:44:45.746Z] echo Agent pid 58 killed; [2021-05-21T03:44:45.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T03:44:46.092Z] + git semver [Pipeline] } [2021-05-21T03:44:46.110Z] $ docker stop --time=1 db483dd7ef59ce4cb7cf4a2da8147f46f8e9ab55a7f692254b871aaa6028cf26 [2021-05-21T03:44:47.412Z] $ docker rm -f db483dd7ef59ce4cb7cf4a2da8147f46f8e9ab55a7f692254b871aaa6028cf26 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T03:44:47.783Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-21T03:44:48.050Z] Stashed 1 file(s) [Pipeline] echo [2021-05-21T03:44:48.054Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.6 [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-21T03:45:03.339Z] Still waiting to schedule task [2021-05-21T03:45:03.340Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-21T03:45:03.343Z] Still waiting to schedule task [2021-05-21T03:45:03.344Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-21T03:47:24.886Z] Running on prd-centos7-docker-4c-2g-15467 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-05-21T03:47:24.905Z] Running in /w/workspace/device-snmp-go/30 [Pipeline] { [Pipeline] checkout [2021-05-21T03:47:25.021Z] Selected Git installation does not exist. Using Default [2021-05-21T03:47:25.021Z] The recommended git tool is: NONE [2021-05-21T03:47:27.288Z] using credential edgex-jenkins-ssh [2021-05-21T03:47:27.309Z] Cloning the remote Git repository [2021-05-21T03:47:28.035Z] Avoid second fetch [2021-05-21T03:47:28.036Z] Checking out Revision 9351a662b217a128018db5c2b0fd8a407906271b (master) [2021-05-21T03:47:27.332Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T03:47:27.395Z] > git init /w/workspace/device-snmp-go/30 # timeout=10 [2021-05-21T03:47:27.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T03:47:27.428Z] > git --version # timeout=10 [2021-05-21T03:47:27.435Z] > git --version # 'git version 2.24.4' [2021-05-21T03:47:27.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T03:47:27.457Z] [INFO] Currently running in a labeled security context [2021-05-21T03:47:27.458Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-21T03:47:27.458Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/30@tmp/jenkins-gitclient-ssh3736801005135367555.key [2021-05-21T03:47:27.479Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T03:47:28.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-21T03:47:28.022Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T03:47:28.047Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T03:47:28.054Z] > git checkout -f 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 [2021-05-21T03:47:31.669Z] Commit message: "Merge pull request #98 from lenny-intel/ports" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T03:47:32.675Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-21T03:47:32.997Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T03:47:33.295Z] + sudo service docker restart [2021-05-21T03:47:33.295Z] + true [2021-05-21T03:47:33.295Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T03:47:51.474Z] provisioning config files... [2021-05-21T03:47:51.490Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/30@tmp/config8157627151773364328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:47:51.813Z] ---> docker-login.sh [2021-05-21T03:47:51.814Z] nexus3.edgexfoundry.org:10001 [2021-05-21T03:47:51.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:47:52.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:47:52.076Z] Configure a credential helper to remove this warning. See [2021-05-21T03:47:52.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:47:52.076Z] [2021-05-21T03:47:52.076Z] Login Succeeded [2021-05-21T03:47:52.076Z] nexus3.edgexfoundry.org:10002 [2021-05-21T03:47:52.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:47:52.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:47:52.076Z] Configure a credential helper to remove this warning. See [2021-05-21T03:47:52.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:47:52.076Z] [2021-05-21T03:47:52.076Z] Login Succeeded [2021-05-21T03:47:52.076Z] nexus3.edgexfoundry.org:10003 [2021-05-21T03:47:52.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:47:52.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:47:52.338Z] Configure a credential helper to remove this warning. See [2021-05-21T03:47:52.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:47:52.338Z] [2021-05-21T03:47:52.338Z] Login Succeeded [2021-05-21T03:47:52.338Z] nexus3.edgexfoundry.org:10004 [2021-05-21T03:47:52.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:47:52.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:47:52.338Z] Configure a credential helper to remove this warning. See [2021-05-21T03:47:52.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:47:52.338Z] [2021-05-21T03:47:52.338Z] Login Succeeded [2021-05-21T03:47:52.338Z] docker.io [2021-05-21T03:47:52.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:47:52.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:47:52.864Z] Configure a credential helper to remove this warning. See [2021-05-21T03:47:52.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:47:52.864Z] [2021-05-21T03:47:52.864Z] Login Succeeded [2021-05-21T03:47:52.864Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T03:47:52.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T03:47:53.088Z] ========================================================= [2021-05-21T03:47:53.088Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-21T03:47:53.088Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:47:53.391Z] + 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-21T03:47:53.391Z] Sending build context to Docker daemon 353.3kB [2021-05-21T03:47:53.391Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T03:47:53.391Z] Step 2/10 : FROM ${BASE} [2021-05-21T03:47:53.391Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-21T03:47:53.391Z] 540db60ca938: Pulling fs layer [2021-05-21T03:47:53.391Z] adcc1eea9eea: Pulling fs layer [2021-05-21T03:47:53.391Z] 4c4ab2625f07: Pulling fs layer [2021-05-21T03:47:53.391Z] 0510c868ecb4: Pulling fs layer [2021-05-21T03:47:53.391Z] afea3b2eda06: Pulling fs layer [2021-05-21T03:47:53.391Z] 7809a108b3ef: Pulling fs layer [2021-05-21T03:47:53.391Z] f706445af74f: Pulling fs layer [2021-05-21T03:47:53.391Z] afea3b2eda06: Waiting [2021-05-21T03:47:53.391Z] 7809a108b3ef: Waiting [2021-05-21T03:47:53.391Z] f706445af74f: Waiting [2021-05-21T03:47:53.391Z] 0510c868ecb4: Waiting [2021-05-21T03:47:53.391Z] 4c4ab2625f07: Verifying Checksum [2021-05-21T03:47:53.391Z] 4c4ab2625f07: Download complete [2021-05-21T03:47:53.654Z] adcc1eea9eea: Verifying Checksum [2021-05-21T03:47:53.654Z] adcc1eea9eea: Download complete [2021-05-21T03:47:53.654Z] afea3b2eda06: Verifying Checksum [2021-05-21T03:47:53.654Z] afea3b2eda06: Download complete [2021-05-21T03:47:53.654Z] 7809a108b3ef: Verifying Checksum [2021-05-21T03:47:53.654Z] 7809a108b3ef: Download complete [2021-05-21T03:47:53.654Z] 540db60ca938: Verifying Checksum [2021-05-21T03:47:53.654Z] 540db60ca938: Download complete [2021-05-21T03:47:53.922Z] 540db60ca938: Pull complete [2021-05-21T03:47:53.922Z] adcc1eea9eea: Pull complete [2021-05-21T03:47:54.188Z] 4c4ab2625f07: Pull complete [2021-05-21T03:47:56.738Z] f706445af74f: Verifying Checksum [2021-05-21T03:47:56.738Z] f706445af74f: Download complete [2021-05-21T03:47:58.130Z] 0510c868ecb4: Verifying Checksum [2021-05-21T03:47:58.130Z] 0510c868ecb4: Download complete [2021-05-21T03:48:01.509Z] 0510c868ecb4: Pull complete [2021-05-21T03:48:01.509Z] afea3b2eda06: Pull complete [2021-05-21T03:48:01.509Z] 7809a108b3ef: Pull complete [2021-05-21T03:48:02.898Z] f706445af74f: Pull complete [2021-05-21T03:48:02.898Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-21T03:48:02.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-21T03:48:02.898Z] ---> b068be0155e3 [2021-05-21T03:48:02.898Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-21T03:48:07.121Z] ---> Running in 3726d2470849 [2021-05-21T03:48:07.121Z] Removing intermediate container 3726d2470849 [2021-05-21T03:48:07.121Z] ---> cd2216cbd0e1 [2021-05-21T03:48:07.121Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-21T03:48:07.121Z] ---> Running in b225ed4e466e [2021-05-21T03:48:07.121Z] Removing intermediate container b225ed4e466e [2021-05-21T03:48:07.121Z] ---> 80e7618190fb [2021-05-21T03:48:07.121Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-21T03:48:07.121Z] ---> Running in 087104512cc3 [2021-05-21T03:48:07.121Z] Removing intermediate container 087104512cc3 [2021-05-21T03:48:07.121Z] ---> d3760fd7af97 [2021-05-21T03:48:07.121Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T03:48:07.121Z] ---> Running in 41b694516af0 [2021-05-21T03:48:07.698Z] Removing intermediate container 41b694516af0 [2021-05-21T03:48:07.698Z] ---> 599725c376a5 [2021-05-21T03:48:07.698Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-21T03:48:07.698Z] ---> Running in 2e961da91363 [2021-05-21T03:48:07.960Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T03:48:08.911Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T03:48:09.172Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-21T03:48:09.172Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-21T03:48:09.434Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-21T03:48:09.434Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-21T03:48:09.695Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-21T03:48:09.695Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-21T03:48:09.695Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-21T03:48:09.956Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-21T03:48:10.215Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-21T03:48:10.215Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-21T03:48:10.215Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-21T03:48:10.477Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-21T03:48:10.477Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-21T03:48:10.477Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T03:48:10.737Z] OK: 156 MiB in 53 packages [2021-05-21T03:48:11.004Z] Removing intermediate container 2e961da91363 [2021-05-21T03:48:11.004Z] ---> 12d96ebb99f7 [2021-05-21T03:48:11.004Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-21T03:48:11.004Z] ---> Running in 41fbf125b987 [2021-05-21T03:48:11.270Z] Removing intermediate container 41fbf125b987 [2021-05-21T03:48:11.270Z] ---> b6075fd7d17c [2021-05-21T03:48:11.270Z] Step 9/10 : COPY . . [2021-05-21T03:48:11.270Z] ---> dd7ea831d848 [2021-05-21T03:48:11.270Z] Step 10/10 : RUN go mod download [2021-05-21T03:48:11.270Z] ---> Running in cd1bd4da8e34 [2021-05-21T03:48:23.514Z] Removing intermediate container cd1bd4da8e34 [2021-05-21T03:48:23.514Z] ---> 9f979b7f74c8 [2021-05-21T03:48:23.514Z] Successfully built 9f979b7f74c8 [2021-05-21T03:48:23.514Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:48:23.826Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T03:48:23.827Z] . [Pipeline] withDockerContainer [2021-05-21T03:48:23.920Z] prd-centos7-docker-4c-2g-15467 does not seem to be running inside a container [2021-05-21T03:48:23.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/30 -v /w/workspace/device-snmp-go/30:/w/workspace/device-snmp-go/30:rw,z -v /w/workspace/device-snmp-go/30@tmp:/w/workspace/device-snmp-go/30@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 ******** ci-base-image-x86_64 cat [2021-05-21T03:48:24.342Z] $ docker top bf15b7646b4f7005f19946dfaba6b96119229a1a4150ed65db927778850a27f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T03:48:24.728Z] + go version [2021-05-21T03:48:24.728Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-21T03:48:24.742Z] $ docker stop --time=1 bf15b7646b4f7005f19946dfaba6b96119229a1a4150ed65db927778850a27f3 [2021-05-21T03:48:25.932Z] $ docker rm -f bf15b7646b4f7005f19946dfaba6b96119229a1a4150ed65db927778850a27f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:48:26.447Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-21T03:48:26.447Z] . [Pipeline] withDockerContainer [2021-05-21T03:48:26.528Z] prd-centos7-docker-4c-2g-15467 does not seem to be running inside a container [2021-05-21T03:48:26.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/30 -v /w/workspace/device-snmp-go/30:/w/workspace/device-snmp-go/30:rw,z -v /w/workspace/device-snmp-go/30@tmp:/w/workspace/device-snmp-go/30@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 ******** ci-base-image-x86_64 cat [2021-05-21T03:48:27.021Z] $ docker top 035f10335074fd58d10486d54f39af7bc90272093cfb89228cf320931ce11913 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T03:48:27.532Z] + go mod tidy [Pipeline] sh [2021-05-21T03:48:27.919Z] + make test [2021-05-21T03:48:27.919Z] go mod tidy [2021-05-21T03:48:27.919Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-21T03:48:28.496Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-21T03:48:46.715Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-21T03:48:46.715Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-05-21T03:48:46.715Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-21T03:48:50.980Z] gofmt -l . [2021-05-21T03:48:50.980Z] [ "`gofmt -l .`" = "" ] [2021-05-21T03:48:50.980Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-21T03:48:50.995Z] $ docker stop --time=1 035f10335074fd58d10486d54f39af7bc90272093cfb89228cf320931ce11913 [2021-05-21T03:48:52.838Z] $ docker rm -f 035f10335074fd58d10486d54f39af7bc90272093cfb89228cf320931ce11913 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T03:48:53.257Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T03:48:53.449Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-21T03:48:54.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T03:48:54.818Z] + ls -al . [2021-05-21T03:48:54.818Z] total 104 [2021-05-21T03:48:54.818Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 21 03:48 . [2021-05-21T03:48:54.818Z] drwxrwxr-x. 4 jenkins jenkins 30 May 21 03:47 .. [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 21 03:47 Attribution.txt [2021-05-21T03:48:54.818Z] drwxrwxr-x. 2 jenkins jenkins 60 May 21 03:47 bin [2021-05-21T03:48:54.818Z] drwxrwxr-x. 3 jenkins jenkins 32 May 21 03:47 cmd [2021-05-21T03:48:54.818Z] -rw-r--r--. 1 jenkins jenkins 7631 May 21 03:48 coverage.out [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 21 03:47 Dockerfile [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 21 03:47 Dockerfile.build [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 6 May 21 03:47 .dockerignore [2021-05-21T03:48:54.818Z] drwxrwxr-x. 8 jenkins jenkins 162 May 21 03:47 .git [2021-05-21T03:48:54.818Z] drwxrwxr-x. 2 jenkins jenkins 103 May 21 03:47 .github [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 272 May 21 03:47 .gitignore [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 222 May 21 03:47 go.mod [2021-05-21T03:48:54.818Z] -rw-r--r--. 1 jenkins jenkins 21438 May 21 03:48 go.sum [2021-05-21T03:48:54.818Z] drwxrwxr-x. 3 jenkins jenkins 20 May 21 03:47 internal [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 656 May 21 03:47 Jenkinsfile [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 21 03:47 LICENSE [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 936 May 21 03:47 Makefile [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 21 03:47 README.md [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 11 May 21 03:44 VERSION [2021-05-21T03:48:54.818Z] -rw-rw-r--. 1 jenkins jenkins 209 May 21 03:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:48:55.123Z] + 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=9351a662b217a128018db5c2b0fd8a407906271b --label arch=amd64 --label version=1.3.2-dev.6 . [2021-05-21T03:48:55.123Z] Sending build context to Docker daemon 361.5kB [2021-05-21T03:48:55.123Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T03:48:55.123Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-21T03:48:55.123Z] ---> 9f979b7f74c8 [2021-05-21T03:48:55.123Z] Step 3/24 : ARG MAKE='make build' [2021-05-21T03:48:55.123Z] ---> Running in 7bd928c3bf04 [2021-05-21T03:48:55.123Z] Removing intermediate container 7bd928c3bf04 [2021-05-21T03:48:55.123Z] ---> 428016b1ad7d [2021-05-21T03:48:55.123Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-21T03:48:55.123Z] ---> Running in 68d42c993c71 [2021-05-21T03:48:55.361Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15468 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-05-21T03:48:55.378Z] Running in /w/workspace/device-snmp-go/30 [Pipeline] { [2021-05-21T03:48:55.396Z] Removing intermediate container 68d42c993c71 [2021-05-21T03:48:55.396Z] ---> 57b01749135e [2021-05-21T03:48:55.396Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-21T03:48:55.396Z] ---> Running in bbb88b7ea25f [2021-05-21T03:48:55.396Z] Removing intermediate container bbb88b7ea25f [2021-05-21T03:48:55.396Z] ---> 23a873b8aa7d [2021-05-21T03:48:55.396Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T03:48:55.396Z] ---> Running in a89883ec8fa5 [Pipeline] checkout [2021-05-21T03:48:55.590Z] Selected Git installation does not exist. Using Default [2021-05-21T03:48:55.590Z] The recommended git tool is: NONE [2021-05-21T03:48:55.968Z] Removing intermediate container a89883ec8fa5 [2021-05-21T03:48:55.968Z] ---> 58099f92e566 [2021-05-21T03:48:55.968Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-21T03:48:55.968Z] ---> Running in a2aab5858c31 [2021-05-21T03:48:56.228Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-21T03:48:57.178Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-21T03:48:57.443Z] OK: 156 MiB in 53 packages [2021-05-21T03:48:57.708Z] Removing intermediate container a2aab5858c31 [2021-05-21T03:48:57.708Z] ---> cc32ea04df14 [2021-05-21T03:48:57.708Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-21T03:48:57.708Z] ---> Running in b1430287b2c9 [2021-05-21T03:48:57.972Z] Removing intermediate container b1430287b2c9 [2021-05-21T03:48:57.972Z] ---> 795a25d231ad [2021-05-21T03:48:57.972Z] Step 9/24 : COPY . . [2021-05-21T03:48:58.237Z] ---> f4b8dfb6eb09 [2021-05-21T03:48:58.237Z] Step 10/24 : RUN go mod tidy [2021-05-21T03:48:58.237Z] ---> Running in ab47459185be [2021-05-21T03:48:58.819Z] Removing intermediate container ab47459185be [2021-05-21T03:48:58.819Z] ---> 4f049b1902b2 [2021-05-21T03:48:58.819Z] Step 11/24 : RUN make update [2021-05-21T03:48:58.819Z] ---> Running in 0e01fdfa15f6 [2021-05-21T03:48:59.080Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-21T03:48:59.343Z] Removing intermediate container 0e01fdfa15f6 [2021-05-21T03:48:59.343Z] ---> 8f83a0b4a55a [2021-05-21T03:48:59.343Z] Step 12/24 : RUN ${MAKE} [2021-05-21T03:48:59.343Z] ---> Running in 7d69d9c4ed04 [2021-05-21T03:48:59.945Z] go mod tidy [2021-05-21T03:48:59.945Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.6" -o cmd/device-snmp ./cmd [2021-05-21T03:49:01.247Z] using credential edgex-jenkins-ssh [2021-05-21T03:49:01.276Z] Cloning the remote Git repository [2021-05-21T03:49:01.360Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T03:49:01.514Z] > git init /w/workspace/device-snmp-go/30 # timeout=10 [2021-05-21T03:49:01.591Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-21T03:49:01.592Z] > git --version # timeout=10 [2021-05-21T03:49:01.613Z] > git --version # 'git version 2.17.1' [2021-05-21T03:49:01.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-21T03:49:01.745Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T03:49:03.378Z] Avoid second fetch [2021-05-21T03:49:03.379Z] Checking out Revision 9351a662b217a128018db5c2b0fd8a407906271b (master) [2021-05-21T03:49:03.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-21T03:49:03.369Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-21T03:49:03.409Z] > git config core.sparsecheckout # timeout=10 [2021-05-21T03:49:03.427Z] > git checkout -f 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 [2021-05-21T03:49:07.674Z] Commit message: "Merge pull request #98 from lenny-intel/ports" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T03:49:08.866Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-21T03:49:09.291Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-21T03:49:09.684Z] + sudo service docker restart [2021-05-21T03:49:09.685Z] + true [2021-05-21T03:49:14.899Z] Removing intermediate container 7d69d9c4ed04 [2021-05-21T03:49:14.900Z] ---> 08d171ab1a4c [2021-05-21T03:49:14.900Z] Step 13/24 : FROM alpine:3.12 [2021-05-21T03:49:14.900Z] 3.12: Pulling from library/alpine [2021-05-21T03:49:14.900Z] 339de151aab4: Pulling fs layer [2021-05-21T03:49:14.900Z] 339de151aab4: Download complete [2021-05-21T03:49:14.900Z] 339de151aab4: Pull complete [2021-05-21T03:49:14.900Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T03:49:14.900Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T03:49:14.900Z] ---> 13621d1b12d4 [2021-05-21T03:49:14.900Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-21T03:49:14.900Z] ---> Running in cc0cb92629d2 [2021-05-21T03:49:14.900Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-21T03:49:14.900Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-21T03:49:14.900Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-21T03:49:14.900Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-21T03:49:14.900Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-21T03:49:14.900Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-21T03:49:14.900Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-21T03:49:14.900Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-21T03:49:14.900Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T03:49:14.900Z] OK: 8 MiB in 20 packages [2021-05-21T03:49:14.900Z] Removing intermediate container cc0cb92629d2 [2021-05-21T03:49:14.900Z] ---> 6b5fda8de0b9 [2021-05-21T03:49:14.900Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-21T03:49:15.474Z] ---> fa4eb8dc1e67 [2021-05-21T03:49:15.474Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-21T03:49:15.474Z] ---> e55f547a8a66 [2021-05-21T03:49:15.474Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-21T03:49:15.736Z] ---> 98254917cd9b [2021-05-21T03:49:15.736Z] Step 18/24 : EXPOSE 59993 [2021-05-21T03:49:15.736Z] ---> Running in 557247b5e1f7 [2021-05-21T03:49:15.736Z] Removing intermediate container 557247b5e1f7 [2021-05-21T03:49:15.736Z] ---> 21cd0fab4297 [2021-05-21T03:49:15.736Z] Step 19/24 : EXPOSE 161 [2021-05-21T03:49:15.736Z] ---> Running in cbd90f4d612f [2021-05-21T03:49:15.998Z] Removing intermediate container cbd90f4d612f [2021-05-21T03:49:15.998Z] ---> 720988102506 [2021-05-21T03:49:15.998Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-21T03:49:15.998Z] ---> Running in 6ea8266b34de [2021-05-21T03:49:15.998Z] Removing intermediate container 6ea8266b34de [2021-05-21T03:49:15.998Z] ---> 285389f0acb8 [2021-05-21T03:49:15.998Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-21T03:49:15.998Z] ---> Running in 2fb5c4bb9e6d [2021-05-21T03:49:15.998Z] Removing intermediate container 2fb5c4bb9e6d [2021-05-21T03:49:15.998Z] ---> a03c91fe422e [2021-05-21T03:49:15.998Z] Step 22/24 : LABEL arch=amd64 [2021-05-21T03:49:15.998Z] ---> Running in 8b87f4458c73 [2021-05-21T03:49:16.262Z] Removing intermediate container 8b87f4458c73 [2021-05-21T03:49:16.262Z] ---> 5abc8549ca53 [2021-05-21T03:49:16.262Z] Step 23/24 : LABEL git_sha=9351a662b217a128018db5c2b0fd8a407906271b [2021-05-21T03:49:16.262Z] ---> Running in 1b3eb2775a54 [2021-05-21T03:49:16.262Z] Removing intermediate container 1b3eb2775a54 [2021-05-21T03:49:16.262Z] ---> 0816d65e82b3 [2021-05-21T03:49:16.262Z] Step 24/24 : LABEL version=1.3.2-dev.6 [2021-05-21T03:49:16.262Z] ---> Running in 97fa2ea00034 [2021-05-21T03:49:16.523Z] Removing intermediate container 97fa2ea00034 [2021-05-21T03:49:16.523Z] ---> c08503ec6925 [2021-05-21T03:49:16.523Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-21T03:49:16.523Z] Successfully built c08503ec6925 [2021-05-21T03:49:16.523Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T03:49:16.767Z] provisioning config files... [2021-05-21T03:49:16.789Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/30@tmp/config3012936382849261884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:49:17.112Z] ---> docker-login.sh [2021-05-21T03:49:17.112Z] nexus3.edgexfoundry.org:10001 [2021-05-21T03:49:17.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:17.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:17.112Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:17.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:17.112Z] [2021-05-21T03:49:17.112Z] Login Succeeded [2021-05-21T03:49:17.112Z] nexus3.edgexfoundry.org:10002 [2021-05-21T03:49:17.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:17.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:17.372Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:17.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:17.372Z] [2021-05-21T03:49:17.372Z] Login Succeeded [2021-05-21T03:49:17.372Z] nexus3.edgexfoundry.org:10003 [2021-05-21T03:49:17.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:17.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:17.373Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:17.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:17.373Z] [2021-05-21T03:49:17.373Z] Login Succeeded [2021-05-21T03:49:17.373Z] nexus3.edgexfoundry.org:10004 [2021-05-21T03:49:17.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:17.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:17.635Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:17.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:17.635Z] [2021-05-21T03:49:17.635Z] Login Succeeded [2021-05-21T03:49:17.635Z] docker.io [2021-05-21T03:49:17.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:17.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:17.897Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:17.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:17.897Z] [2021-05-21T03:49:17.897Z] Login Succeeded [2021-05-21T03:49:17.897Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T03:49:17.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-21T03:49:18.001Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-05-21T03:49:18.001Z] 9351a662b217a128018db5c2b0fd8a407906271b [2021-05-21T03:49:18.001Z] latest [2021-05-21T03:49:18.001Z] 1.3.2-dev.6 [2021-05-21T03:49:18.001Z] 9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6 [2021-05-21T03:49:18.001Z] master [2021-05-21T03:49:18.001Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:18.372Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9351a662b217a128018db5c2b0fd8a407906271b [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:18.682Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9351a662b217a128018db5c2b0fd8a407906271b [2021-05-21T03:49:18.682Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-21T03:49:18.682Z] 2d2166989db1: Preparing [2021-05-21T03:49:18.682Z] 20db20a53b98: Preparing [2021-05-21T03:49:18.682Z] 23cbce066f73: Preparing [2021-05-21T03:49:18.682Z] 2255ab5a6258: Preparing [2021-05-21T03:49:18.682Z] 32f366d666a5: Preparing [2021-05-21T03:49:18.682Z] 32f366d666a5: Layer already exists [2021-05-21T03:49:18.945Z] 20db20a53b98: Pushed [2021-05-21T03:49:18.945Z] 2d2166989db1: Pushed [2021-05-21T03:49:18.945Z] 2255ab5a6258: Pushed [2021-05-21T03:49:20.334Z] 23cbce066f73: Pushed [2021-05-21T03:49:20.334Z] 9351a662b217a128018db5c2b0fd8a407906271b: digest: sha256:72d022a703c765007e0789b3831eb8ee58568f6e863b61749b0e626a05131ea0 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:20.648Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:20.955Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-05-21T03:49:20.955Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-21T03:49:20.955Z] 2d2166989db1: Preparing [2021-05-21T03:49:20.955Z] 20db20a53b98: Preparing [2021-05-21T03:49:20.955Z] 23cbce066f73: Preparing [2021-05-21T03:49:20.955Z] 2255ab5a6258: Preparing [2021-05-21T03:49:20.955Z] 32f366d666a5: Preparing [2021-05-21T03:49:20.955Z] 32f366d666a5: Layer already exists [2021-05-21T03:49:20.955Z] 2255ab5a6258: Layer already exists [2021-05-21T03:49:20.955Z] 2d2166989db1: Layer already exists [2021-05-21T03:49:20.955Z] 23cbce066f73: Layer already exists [2021-05-21T03:49:20.955Z] 20db20a53b98: Layer already exists [2021-05-21T03:49:20.955Z] latest: digest: sha256:72d022a703c765007e0789b3831eb8ee58568f6e863b61749b0e626a05131ea0 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:21.264Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:21.561Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.6 [2021-05-21T03:49:21.562Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-21T03:49:21.562Z] 2d2166989db1: Preparing [2021-05-21T03:49:21.562Z] 20db20a53b98: Preparing [2021-05-21T03:49:21.562Z] 23cbce066f73: Preparing [2021-05-21T03:49:21.562Z] 2255ab5a6258: Preparing [2021-05-21T03:49:21.562Z] 32f366d666a5: Preparing [2021-05-21T03:49:21.562Z] 23cbce066f73: Layer already exists [2021-05-21T03:49:21.562Z] 2255ab5a6258: Layer already exists [2021-05-21T03:49:21.562Z] 32f366d666a5: Layer already exists [2021-05-21T03:49:21.562Z] 2d2166989db1: Layer already exists [2021-05-21T03:49:21.562Z] 20db20a53b98: Layer already exists [2021-05-21T03:49:21.562Z] 1.3.2-dev.6: digest: sha256:72d022a703c765007e0789b3831eb8ee58568f6e863b61749b0e626a05131ea0 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:21.897Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:22.199Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6 [2021-05-21T03:49:22.199Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-21T03:49:22.199Z] 2d2166989db1: Preparing [2021-05-21T03:49:22.199Z] 20db20a53b98: Preparing [2021-05-21T03:49:22.199Z] 23cbce066f73: Preparing [2021-05-21T03:49:22.199Z] 2255ab5a6258: Preparing [2021-05-21T03:49:22.199Z] 32f366d666a5: Preparing [2021-05-21T03:49:22.199Z] 20db20a53b98: Layer already exists [2021-05-21T03:49:22.199Z] 2d2166989db1: Layer already exists [2021-05-21T03:49:22.199Z] 23cbce066f73: Layer already exists [2021-05-21T03:49:22.199Z] 2255ab5a6258: Layer already exists [2021-05-21T03:49:22.199Z] 32f366d666a5: Layer already exists [2021-05-21T03:49:22.199Z] 9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6: digest: sha256:72d022a703c765007e0789b3831eb8ee58568f6e863b61749b0e626a05131ea0 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:22.504Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:22.805Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:master [2021-05-21T03:49:22.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-21T03:49:22.805Z] 2d2166989db1: Preparing [2021-05-21T03:49:22.805Z] 20db20a53b98: Preparing [2021-05-21T03:49:22.805Z] 23cbce066f73: Preparing [2021-05-21T03:49:22.805Z] 2255ab5a6258: Preparing [2021-05-21T03:49:22.805Z] 32f366d666a5: Preparing [2021-05-21T03:49:22.805Z] 20db20a53b98: Layer already exists [2021-05-21T03:49:22.805Z] 32f366d666a5: Layer already exists [2021-05-21T03:49:22.805Z] 2d2166989db1: Layer already exists [2021-05-21T03:49:22.805Z] 2255ab5a6258: Layer already exists [2021-05-21T03:49:22.805Z] 23cbce066f73: Layer already exists [2021-05-21T03:49:22.805Z] master: digest: sha256:72d022a703c765007e0789b3831eb8ee58568f6e863b61749b0e626a05131ea0 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-21T03:49:22.897Z] ===================================================== [Pipeline] echo [2021-05-21T03:49:22.915Z] taggedImages: [2021-05-21T03:49:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp:9351a662b217a128018db5c2b0fd8a407906271b [2021-05-21T03:49:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-05-21T03:49:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.6 [2021-05-21T03:49:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp:9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6 [2021-05-21T03:49:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] } [Pipeline] // script [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-21T03:49:23.506Z] ---> job-cost.sh [2021-05-21T03:49:23.506Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sZta [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T03:49:27.535Z] provisioning config files... [2021-05-21T03:49:27.562Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/30@tmp/config6494685557632577224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:49:27.956Z] ---> docker-login.sh [2021-05-21T03:49:27.956Z] nexus3.edgexfoundry.org:10001 [2021-05-21T03:49:28.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:29.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:29.163Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:29.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:29.163Z] [2021-05-21T03:49:29.163Z] Login Succeeded [2021-05-21T03:49:29.163Z] nexus3.edgexfoundry.org:10002 [2021-05-21T03:49:29.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:29.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:29.714Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:29.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:29.714Z] [2021-05-21T03:49:29.714Z] Login Succeeded [2021-05-21T03:49:29.714Z] nexus3.edgexfoundry.org:10003 [2021-05-21T03:49:29.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:30.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:30.264Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:30.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:30.264Z] [2021-05-21T03:49:30.264Z] Login Succeeded [2021-05-21T03:49:30.264Z] nexus3.edgexfoundry.org:10004 [2021-05-21T03:49:30.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:30.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:30.811Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:30.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:30.811Z] [2021-05-21T03:49:30.811Z] Login Succeeded [2021-05-21T03:49:30.811Z] docker.io [2021-05-21T03:49:31.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:49:31.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:49:31.687Z] Configure a credential helper to remove this warning. See [2021-05-21T03:49:31.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:49:31.687Z] [2021-05-21T03:49:31.687Z] Login Succeeded [2021-05-21T03:49:31.687Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T03:49:31.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-21T03:49:32.038Z] ========================================================= [2021-05-21T03:49:32.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-21T03:49:32.038Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:49:32.391Z] + 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-21T03:49:32.673Z] Sending build context to Docker daemon 352.3kB [2021-05-21T03:49:32.673Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T03:49:32.673Z] Step 2/10 : FROM ${BASE} [2021-05-21T03:49:32.950Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-21T03:49:32.950Z] 595b0fe564bb: Pulling fs layer [2021-05-21T03:49:32.950Z] 7186ed65a4f7: Pulling fs layer [2021-05-21T03:49:32.950Z] 316046926c0a: Pulling fs layer [2021-05-21T03:49:32.950Z] 4ebd0625c992: Pulling fs layer [2021-05-21T03:49:32.950Z] 207e8628e3a3: Pulling fs layer [2021-05-21T03:49:32.950Z] c791037a9be2: Pulling fs layer [2021-05-21T03:49:32.950Z] ffd874e62e21: Pulling fs layer [2021-05-21T03:49:32.950Z] 207e8628e3a3: Waiting [2021-05-21T03:49:32.950Z] c791037a9be2: Waiting [2021-05-21T03:49:32.950Z] ffd874e62e21: Waiting [2021-05-21T03:49:32.950Z] 4ebd0625c992: Waiting [2021-05-21T03:49:32.950Z] 316046926c0a: Verifying Checksum [2021-05-21T03:49:32.950Z] 316046926c0a: Download complete [2021-05-21T03:49:32.950Z] 7186ed65a4f7: Download complete [2021-05-21T03:49:32.950Z] 207e8628e3a3: Verifying Checksum [2021-05-21T03:49:32.950Z] 207e8628e3a3: Download complete [2021-05-21T03:49:33.228Z] c791037a9be2: Verifying Checksum [2021-05-21T03:49:33.228Z] c791037a9be2: Download complete [2021-05-21T03:49:33.228Z] 595b0fe564bb: Verifying Checksum [2021-05-21T03:49:33.228Z] 595b0fe564bb: Download complete [2021-05-21T03:49:33.538Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T03:49:33.835Z] 595b0fe564bb: Pull complete [2021-05-21T03:49:34.442Z] 7186ed65a4f7: Pull complete [2021-05-21T03:49:35.047Z] 316046926c0a: Pull complete [2021-05-21T03:49:35.324Z] ffd874e62e21: Verifying Checksum [2021-05-21T03:49:35.324Z] ffd874e62e21: Download complete [2021-05-21T03:49:36.793Z] 4ebd0625c992: Verifying Checksum [2021-05-21T03:49:36.793Z] 4ebd0625c992: Download complete [2021-05-21T03:49:46.964Z] 4ebd0625c992: Pull complete [2021-05-21T03:49:46.964Z] 207e8628e3a3: Pull complete [2021-05-21T03:49:47.238Z] c791037a9be2: Pull complete [2021-05-21T03:49:50.646Z] ffd874e62e21: Pull complete [2021-05-21T03:49:50.646Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-21T03:49:50.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-21T03:49:50.646Z] ---> cfc18b08335c [2021-05-21T03:49:50.646Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-21T03:49:52.074Z] lf-activate-venv(): INFO: Adding /tmp/venv-sZta/bin to PATH [2021-05-21T03:49:52.075Z] INFO: No Stack... [2021-05-21T03:49:52.075Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T03:49:52.075Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T03:49:52.375Z] + cat /w/workspace/device-snmp-go/30/archives/cost.csv [2021-05-21T03:49:52.375Z] + cut -d, -f6 [Pipeline] lock [2021-05-21T03:49:52.406Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-30-stack-cost] [2021-05-21T03:49:52.417Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-30-stack-cost] did not exist. Created. [2021-05-21T03:49:52.417Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T03:49:52.747Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-21T03:49:52.829Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T03:49:52.860Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-30-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-21T03:49:53.279Z] ---> Running in be41263fbf17 [2021-05-21T03:49:53.279Z] Removing intermediate container be41263fbf17 [2021-05-21T03:49:53.279Z] ---> fb7a40f701f8 [2021-05-21T03:49:53.279Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-21T03:49:53.554Z] ---> Running in e0efbc74e647 [2021-05-21T03:49:54.155Z] Removing intermediate container e0efbc74e647 [2021-05-21T03:49:54.155Z] ---> 6c8455e64dbe [2021-05-21T03:49:54.155Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-21T03:49:54.438Z] ---> Running in bbbc239d82db [2021-05-21T03:49:54.711Z] Removing intermediate container bbbc239d82db [2021-05-21T03:49:54.711Z] ---> f3a766015053 [2021-05-21T03:49:54.711Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T03:49:54.983Z] ---> Running in e1db60490f37 [2021-05-21T03:49:57.631Z] Removing intermediate container e1db60490f37 [2021-05-21T03:49:57.631Z] ---> da06af1fc4bc [2021-05-21T03:49:57.631Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-21T03:49:57.631Z] ---> Running in 45df03231265 [2021-05-21T03:49:58.615Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T03:49:59.614Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T03:50:00.592Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-21T03:50:00.592Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-21T03:50:00.593Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-21T03:50:00.593Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-21T03:50:00.866Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-21T03:50:00.866Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-21T03:50:00.866Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-21T03:50:01.464Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-21T03:50:01.464Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-21T03:50:01.464Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-21T03:50:01.740Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-21T03:50:01.740Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-21T03:50:01.740Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-21T03:50:02.022Z] Executing busybox-1.32.1-r6.trigger [2021-05-21T03:50:02.022Z] OK: 145 MiB in 53 packages [2021-05-21T03:50:03.470Z] Removing intermediate container 45df03231265 [2021-05-21T03:50:03.470Z] ---> 53c2914d694c [2021-05-21T03:50:03.470Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-21T03:50:03.470Z] ---> Running in 24fc8a90660d [2021-05-21T03:50:04.074Z] Removing intermediate container 24fc8a90660d [2021-05-21T03:50:04.074Z] ---> d1f39a3497d8 [2021-05-21T03:50:04.074Z] Step 9/10 : COPY . . [2021-05-21T03:50:05.056Z] ---> 2d89b9548c5f [2021-05-21T03:50:05.056Z] Step 10/10 : RUN go mod download [2021-05-21T03:50:05.557Z] ---> Running in 7f8faecf70c4 [2021-05-21T03:50:32.473Z] Removing intermediate container 7f8faecf70c4 [2021-05-21T03:50:32.473Z] ---> 47a414656ba9 [2021-05-21T03:50:32.473Z] Successfully built 47a414656ba9 [2021-05-21T03:50:32.473Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:50:32.832Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T03:50:32.832Z] . [Pipeline] withDockerContainer [2021-05-21T03:50:33.115Z] prd-ubuntu18.04-docker-arm64-4c-16g-15468 does not seem to be running inside a container [2021-05-21T03:50:33.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/30 -v /w/workspace/device-snmp-go/30:/w/workspace/device-snmp-go/30:rw,z -v /w/workspace/device-snmp-go/30@tmp:/w/workspace/device-snmp-go/30@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 ******** ci-base-image-arm64 cat [2021-05-21T03:50:34.863Z] $ docker top 86a8e6e5b870583f154c7f744c97911885546b3c57556753ffab197fa29577a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T03:50:35.841Z] + go version [2021-05-21T03:50:35.841Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-21T03:50:35.871Z] $ docker stop --time=1 86a8e6e5b870583f154c7f744c97911885546b3c57556753ffab197fa29577a4 [2021-05-21T03:50:37.748Z] $ docker rm -f 86a8e6e5b870583f154c7f744c97911885546b3c57556753ffab197fa29577a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:50:38.572Z] + docker inspect -f . ci-base-image-arm64 [2021-05-21T03:50:38.572Z] . [Pipeline] withDockerContainer [2021-05-21T03:50:38.836Z] prd-ubuntu18.04-docker-arm64-4c-16g-15468 does not seem to be running inside a container [2021-05-21T03:50:38.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/30 -v /w/workspace/device-snmp-go/30:/w/workspace/device-snmp-go/30:rw,z -v /w/workspace/device-snmp-go/30@tmp:/w/workspace/device-snmp-go/30@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 ******** ci-base-image-arm64 cat [2021-05-21T03:50:40.586Z] $ docker top f4124441328b8c53451044f74e83bce20223aace27945eafa64344c573972a86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T03:50:41.555Z] + go mod tidy [Pipeline] sh [2021-05-21T03:50:42.839Z] + make test [2021-05-21T03:50:42.839Z] go mod tidy [2021-05-21T03:50:43.113Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-21T03:50:44.559Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-21T03:51:41.248Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-21T03:51:41.248Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.034s coverage: 0.0% of statements [2021-05-21T03:51:41.248Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-21T03:51:59.740Z] gofmt -l . [2021-05-21T03:51:59.740Z] [ "`gofmt -l .`" = "" ] [2021-05-21T03:51:59.740Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-21T03:52:00.036Z] $ docker stop --time=1 f4124441328b8c53451044f74e83bce20223aace27945eafa64344c573972a86 [2021-05-21T03:52:02.039Z] $ docker rm -f f4124441328b8c53451044f74e83bce20223aace27945eafa64344c573972a86 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-21T03:52:02.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-21T03:52:02.919Z] Warning: overwriting stash ‘coverage-report’ [2021-05-21T03:52:03.406Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-21T03:52:03.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-21T03:52:04.301Z] + ls -al . [2021-05-21T03:52:04.301Z] total 128 [2021-05-21T03:52:04.301Z] drwxrwxr-x 7 jenkins jenkins 4096 May 21 03:51 . [2021-05-21T03:52:04.301Z] drwxrwxr-x 4 jenkins jenkins 4096 May 21 03:49 .. [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 6 May 21 03:49 .dockerignore [2021-05-21T03:52:04.301Z] drwxrwxr-x 8 jenkins jenkins 4096 May 21 03:49 .git [2021-05-21T03:52:04.301Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 03:49 .github [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 272 May 21 03:49 .gitignore [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 21 03:49 Attribution.txt [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 21 03:49 Dockerfile [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 21 03:49 Dockerfile.build [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 656 May 21 03:49 Jenkinsfile [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 21 03:49 LICENSE [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 936 May 21 03:49 Makefile [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 21 03:49 README.md [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 11 May 21 03:44 VERSION [2021-05-21T03:52:04.301Z] drwxrwxr-x 2 jenkins jenkins 4096 May 21 03:49 bin [2021-05-21T03:52:04.301Z] drwxrwxr-x 3 jenkins jenkins 4096 May 21 03:49 cmd [2021-05-21T03:52:04.301Z] -rw-r--r-- 1 jenkins jenkins 7631 May 21 03:51 coverage.out [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 222 May 21 03:49 go.mod [2021-05-21T03:52:04.301Z] -rw-r--r-- 1 jenkins jenkins 21438 May 21 03:50 go.sum [2021-05-21T03:52:04.301Z] drwxrwxr-x 3 jenkins jenkins 4096 May 21 03:49 internal [2021-05-21T03:52:04.301Z] -rw-rw-r-- 1 jenkins jenkins 209 May 21 03:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:52:04.646Z] + 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=9351a662b217a128018db5c2b0fd8a407906271b --label arch=arm64 --label version=1.3.2-dev.6 . [2021-05-21T03:52:04.924Z] Sending build context to Docker daemon 360.4kB [2021-05-21T03:52:04.924Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-21T03:52:04.924Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-21T03:52:04.924Z] ---> 47a414656ba9 [2021-05-21T03:52:04.924Z] Step 3/24 : ARG MAKE='make build' [2021-05-21T03:52:05.200Z] ---> Running in c2683f968636 [2021-05-21T03:52:05.796Z] Removing intermediate container c2683f968636 [2021-05-21T03:52:05.797Z] ---> a2f9031eb251 [2021-05-21T03:52:05.797Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-21T03:52:06.072Z] ---> Running in 4ecf4b20ef33 [2021-05-21T03:52:06.347Z] Removing intermediate container 4ecf4b20ef33 [2021-05-21T03:52:06.347Z] ---> 94127fd0688d [2021-05-21T03:52:06.347Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-21T03:52:06.621Z] ---> Running in 5e99e26df5e1 [2021-05-21T03:52:06.895Z] Removing intermediate container 5e99e26df5e1 [2021-05-21T03:52:06.895Z] ---> 381c29c417c0 [2021-05-21T03:52:06.895Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-21T03:52:07.170Z] ---> Running in 20e412f2cb87 [2021-05-21T03:52:09.151Z] Removing intermediate container 20e412f2cb87 [2021-05-21T03:52:09.151Z] ---> eaba29e1050c [2021-05-21T03:52:09.151Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-21T03:52:09.151Z] ---> Running in df2378660b60 [2021-05-21T03:52:10.591Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-21T03:52:11.568Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-21T03:52:12.167Z] OK: 145 MiB in 53 packages [2021-05-21T03:52:13.624Z] Removing intermediate container df2378660b60 [2021-05-21T03:52:13.624Z] ---> d69723e4b256 [2021-05-21T03:52:13.624Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-21T03:52:13.624Z] ---> Running in c1b9f0f1ca05 [2021-05-21T03:52:14.232Z] Removing intermediate container c1b9f0f1ca05 [2021-05-21T03:52:14.232Z] ---> b304b7b3592d [2021-05-21T03:52:14.232Z] Step 9/24 : COPY . . [2021-05-21T03:52:15.212Z] ---> c683b2d01252 [2021-05-21T03:52:15.212Z] Step 10/24 : RUN go mod tidy [2021-05-21T03:52:15.212Z] ---> Running in 36e04100b7e2 [2021-05-21T03:52:18.613Z] Removing intermediate container 36e04100b7e2 [2021-05-21T03:52:18.613Z] ---> bd6ccdb80909 [2021-05-21T03:52:18.613Z] Step 11/24 : RUN make update [2021-05-21T03:52:18.613Z] ---> Running in adac04703508 [2021-05-21T03:52:19.223Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-21T03:52:20.676Z] Removing intermediate container adac04703508 [2021-05-21T03:52:20.676Z] ---> f000c8c807e4 [2021-05-21T03:52:20.676Z] Step 12/24 : RUN ${MAKE} [2021-05-21T03:52:20.676Z] ---> Running in 9b96ddeb2010 [2021-05-21T03:52:21.661Z] go mod tidy [2021-05-21T03:52:22.264Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.6" -o cmd/device-snmp ./cmd [2021-05-21T03:53:01.306Z] Removing intermediate container 9b96ddeb2010 [2021-05-21T03:53:01.306Z] ---> d9cb9002001b [2021-05-21T03:53:01.306Z] Step 13/24 : FROM alpine:3.12 [2021-05-21T03:53:01.306Z] 3.12: Pulling from library/alpine [2021-05-21T03:53:01.306Z] d2f70382dc9a: Pulling fs layer [2021-05-21T03:53:01.306Z] d2f70382dc9a: Verifying Checksum [2021-05-21T03:53:01.306Z] d2f70382dc9a: Download complete [2021-05-21T03:53:01.306Z] d2f70382dc9a: Pull complete [2021-05-21T03:53:01.306Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-21T03:53:01.306Z] Status: Downloaded newer image for alpine:3.12 [2021-05-21T03:53:01.306Z] ---> 9852663dfa18 [2021-05-21T03:53:01.306Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-21T03:53:01.306Z] ---> Running in efb12f46352b [2021-05-21T03:53:01.306Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-21T03:53:01.577Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-21T03:53:02.173Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-21T03:53:02.173Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-21T03:53:02.173Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-21T03:53:02.173Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-21T03:53:02.173Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-21T03:53:02.173Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-21T03:53:02.173Z] Executing busybox-1.31.1-r20.trigger [2021-05-21T03:53:02.173Z] OK: 8 MiB in 20 packages [2021-05-21T03:53:03.614Z] Removing intermediate container efb12f46352b [2021-05-21T03:53:03.614Z] ---> bbd37482751a [2021-05-21T03:53:03.614Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-21T03:53:04.595Z] ---> 622086fd5c2d [2021-05-21T03:53:04.595Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-21T03:53:05.574Z] ---> 38d9a92d3232 [2021-05-21T03:53:05.574Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-21T03:53:06.170Z] ---> 50137a036782 [2021-05-21T03:53:06.170Z] Step 18/24 : EXPOSE 59993 [2021-05-21T03:53:06.170Z] ---> Running in 06e972f7d821 [2021-05-21T03:53:06.769Z] Removing intermediate container 06e972f7d821 [2021-05-21T03:53:06.769Z] ---> 6851c5f867f4 [2021-05-21T03:53:06.769Z] Step 19/24 : EXPOSE 161 [2021-05-21T03:53:07.044Z] ---> Running in dbd3a3197401 [2021-05-21T03:53:07.318Z] Removing intermediate container dbd3a3197401 [2021-05-21T03:53:07.319Z] ---> 9fd0bd9f483d [2021-05-21T03:53:07.319Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-21T03:53:07.593Z] ---> Running in 420b9fe26301 [2021-05-21T03:53:08.195Z] Removing intermediate container 420b9fe26301 [2021-05-21T03:53:08.195Z] ---> af21d983b4b6 [2021-05-21T03:53:08.195Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-21T03:53:08.195Z] ---> Running in 258f1f06ba9d [2021-05-21T03:53:08.799Z] Removing intermediate container 258f1f06ba9d [2021-05-21T03:53:08.799Z] ---> ab282ba254fd [2021-05-21T03:53:08.799Z] Step 22/24 : LABEL arch=arm64 [2021-05-21T03:53:08.799Z] ---> Running in 870a542f6cc5 [2021-05-21T03:53:09.398Z] Removing intermediate container 870a542f6cc5 [2021-05-21T03:53:09.398Z] ---> c43f88d89c70 [2021-05-21T03:53:09.398Z] Step 23/24 : LABEL git_sha=9351a662b217a128018db5c2b0fd8a407906271b [2021-05-21T03:53:09.398Z] ---> Running in dcf4504cb9e2 [2021-05-21T03:53:10.006Z] Removing intermediate container dcf4504cb9e2 [2021-05-21T03:53:10.006Z] ---> ee98084573ce [2021-05-21T03:53:10.006Z] Step 24/24 : LABEL version=1.3.2-dev.6 [2021-05-21T03:53:10.006Z] ---> Running in 493a6de9a80e [2021-05-21T03:53:10.613Z] Removing intermediate container 493a6de9a80e [2021-05-21T03:53:10.613Z] ---> 3bda1dbfae48 [2021-05-21T03:53:10.613Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-21T03:53:10.613Z] Successfully built 3bda1dbfae48 [2021-05-21T03:53:10.613Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T03:53:10.888Z] provisioning config files... [2021-05-21T03:53:10.912Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/30@tmp/config2376495499385217167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:53:11.282Z] ---> docker-login.sh [2021-05-21T03:53:11.283Z] nexus3.edgexfoundry.org:10001 [2021-05-21T03:53:11.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:53:11.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:53:11.557Z] Configure a credential helper to remove this warning. See [2021-05-21T03:53:11.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:53:11.557Z] [2021-05-21T03:53:11.557Z] Login Succeeded [2021-05-21T03:53:11.557Z] nexus3.edgexfoundry.org:10002 [2021-05-21T03:53:12.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:53:12.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:53:12.157Z] Configure a credential helper to remove this warning. See [2021-05-21T03:53:12.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:53:12.157Z] [2021-05-21T03:53:12.157Z] Login Succeeded [2021-05-21T03:53:12.157Z] nexus3.edgexfoundry.org:10003 [2021-05-21T03:53:12.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:53:12.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:53:12.705Z] Configure a credential helper to remove this warning. See [2021-05-21T03:53:12.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:53:12.705Z] [2021-05-21T03:53:12.705Z] Login Succeeded [2021-05-21T03:53:12.705Z] nexus3.edgexfoundry.org:10004 [2021-05-21T03:53:12.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:53:13.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:53:13.251Z] Configure a credential helper to remove this warning. See [2021-05-21T03:53:13.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:53:13.251Z] [2021-05-21T03:53:13.251Z] Login Succeeded [2021-05-21T03:53:13.251Z] docker.io [2021-05-21T03:53:13.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-21T03:53:13.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-21T03:53:13.798Z] Configure a credential helper to remove this warning. See [2021-05-21T03:53:13.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-21T03:53:13.798Z] [2021-05-21T03:53:13.798Z] Login Succeeded [2021-05-21T03:53:13.798Z] ---> docker-login.sh ends [Pipeline] } [2021-05-21T03:53:13.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-21T03:53:13.908Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-05-21T03:53:13.908Z] 9351a662b217a128018db5c2b0fd8a407906271b [2021-05-21T03:53:13.908Z] latest [2021-05-21T03:53:13.908Z] 1.3.2-dev.6 [2021-05-21T03:53:13.908Z] 9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6 [2021-05-21T03:53:13.908Z] master [2021-05-21T03:53:13.908Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:14.334Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9351a662b217a128018db5c2b0fd8a407906271b [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:14.701Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9351a662b217a128018db5c2b0fd8a407906271b [2021-05-21T03:53:14.701Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-21T03:53:14.701Z] e6e0869592c5: Preparing [2021-05-21T03:53:14.701Z] a822e3778c7f: Preparing [2021-05-21T03:53:14.701Z] 7f8467611b54: Preparing [2021-05-21T03:53:14.701Z] 22f14bd57634: Preparing [2021-05-21T03:53:14.701Z] 3fbe34a1663b: Preparing [2021-05-21T03:53:14.976Z] 3fbe34a1663b: Layer already exists [2021-05-21T03:53:14.977Z] e6e0869592c5: Pushed [2021-05-21T03:53:14.977Z] a822e3778c7f: Pushed [2021-05-21T03:53:15.957Z] 22f14bd57634: Pushed [2021-05-21T03:53:17.948Z] 7f8467611b54: Pushed [2021-05-21T03:53:18.221Z] 9351a662b217a128018db5c2b0fd8a407906271b: digest: sha256:66d4b19f6ff1830316149d788c1b08c2edb23ee6900c4235692afe2f4eadddee size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:18.591Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:18.940Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-05-21T03:53:18.940Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-21T03:53:18.940Z] e6e0869592c5: Preparing [2021-05-21T03:53:18.940Z] a822e3778c7f: Preparing [2021-05-21T03:53:18.940Z] 7f8467611b54: Preparing [2021-05-21T03:53:18.940Z] 22f14bd57634: Preparing [2021-05-21T03:53:18.940Z] 3fbe34a1663b: Preparing [2021-05-21T03:53:18.940Z] a822e3778c7f: Layer already exists [2021-05-21T03:53:18.940Z] e6e0869592c5: Layer already exists [2021-05-21T03:53:18.940Z] 22f14bd57634: Layer already exists [2021-05-21T03:53:18.940Z] 7f8467611b54: Layer already exists [2021-05-21T03:53:18.940Z] 3fbe34a1663b: Layer already exists [2021-05-21T03:53:19.212Z] latest: digest: sha256:66d4b19f6ff1830316149d788c1b08c2edb23ee6900c4235692afe2f4eadddee size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:19.575Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:19.914Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.6 [2021-05-21T03:53:19.914Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-21T03:53:19.914Z] e6e0869592c5: Preparing [2021-05-21T03:53:19.914Z] a822e3778c7f: Preparing [2021-05-21T03:53:19.914Z] 7f8467611b54: Preparing [2021-05-21T03:53:19.914Z] 22f14bd57634: Preparing [2021-05-21T03:53:19.914Z] 3fbe34a1663b: Preparing [2021-05-21T03:53:19.914Z] 7f8467611b54: Layer already exists [2021-05-21T03:53:19.914Z] a822e3778c7f: Layer already exists [2021-05-21T03:53:19.914Z] 3fbe34a1663b: Layer already exists [2021-05-21T03:53:19.914Z] 22f14bd57634: Layer already exists [2021-05-21T03:53:19.914Z] e6e0869592c5: Layer already exists [2021-05-21T03:53:20.186Z] 1.3.2-dev.6: digest: sha256:66d4b19f6ff1830316149d788c1b08c2edb23ee6900c4235692afe2f4eadddee size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:20.533Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:20.877Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6 [2021-05-21T03:53:20.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-21T03:53:20.877Z] e6e0869592c5: Preparing [2021-05-21T03:53:20.877Z] a822e3778c7f: Preparing [2021-05-21T03:53:20.877Z] 7f8467611b54: Preparing [2021-05-21T03:53:20.877Z] 22f14bd57634: Preparing [2021-05-21T03:53:20.877Z] 3fbe34a1663b: Preparing [2021-05-21T03:53:20.877Z] 22f14bd57634: Layer already exists [2021-05-21T03:53:20.877Z] 7f8467611b54: Layer already exists [2021-05-21T03:53:20.877Z] e6e0869592c5: Layer already exists [2021-05-21T03:53:20.877Z] 3fbe34a1663b: Layer already exists [2021-05-21T03:53:20.877Z] a822e3778c7f: Layer already exists [2021-05-21T03:53:21.152Z] 9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6: digest: sha256:66d4b19f6ff1830316149d788c1b08c2edb23ee6900c4235692afe2f4eadddee size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:21.497Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:53:21.836Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [2021-05-21T03:53:21.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-21T03:53:21.836Z] e6e0869592c5: Preparing [2021-05-21T03:53:21.836Z] a822e3778c7f: Preparing [2021-05-21T03:53:21.836Z] 7f8467611b54: Preparing [2021-05-21T03:53:21.836Z] 22f14bd57634: Preparing [2021-05-21T03:53:21.836Z] 3fbe34a1663b: Preparing [2021-05-21T03:53:22.106Z] e6e0869592c5: Layer already exists [2021-05-21T03:53:22.106Z] a822e3778c7f: Layer already exists [2021-05-21T03:53:22.106Z] 7f8467611b54: Layer already exists [2021-05-21T03:53:22.106Z] 3fbe34a1663b: Layer already exists [2021-05-21T03:53:22.106Z] 22f14bd57634: Layer already exists [2021-05-21T03:53:22.106Z] master: digest: sha256:66d4b19f6ff1830316149d788c1b08c2edb23ee6900c4235692afe2f4eadddee size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-21T03:53:22.170Z] ===================================================== [Pipeline] echo [2021-05-21T03:53:22.188Z] taggedImages: [2021-05-21T03:53:22.188Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9351a662b217a128018db5c2b0fd8a407906271b [2021-05-21T03:53:22.188Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-05-21T03:53:22.188Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.6 [2021-05-21T03:53:22.188Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9351a662b217a128018db5c2b0fd8a407906271b-1.3.2-dev.6 [2021-05-21T03:53:22.188Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:53:22.666Z] ---> job-cost.sh [2021-05-21T03:53:22.666Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oFLn [2021-05-21T03:54:09.640Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-21T03:55:46.432Z] lf-activate-venv(): INFO: Adding /tmp/venv-oFLn/bin to PATH [2021-05-21T03:55:46.432Z] INFO: No Stack... [2021-05-21T03:55:46.432Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-21T03:55:46.432Z] INFO: Archiving Costs [Pipeline] sh [2021-05-21T03:55:46.782Z] + cat /w/workspace/device-snmp-go/30/archives/cost.csv [2021-05-21T03:55:46.782Z] + cut -d, -f6 [Pipeline] lock [2021-05-21T03:55:46.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-30-stack-cost] [2021-05-21T03:55:46.860Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-30-stack-cost] did not exist. Created. [2021-05-21T03:55:46.860Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T03:55:47.241Z] /w/workspace/device-snmp-go/30@tmp/durable-25757460/script.sh: 1: /w/workspace/device-snmp-go/30@tmp/durable-25757460/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-21T03:55:47.592Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-21T03:55:47.626Z] Warning: overwriting stash ‘stack-cost’ [2021-05-21T03:55:47.790Z] Stashed 1 file(s) [Pipeline] } [2021-05-21T03:55:47.807Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-30-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-21T03:55:48.479Z] provisioning config files... [2021-05-21T03:55:48.488Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4685227622474714447tmp [Pipeline] { [Pipeline] sh [2021-05-21T03:55:48.823Z] + set +x [2021-05-21T03:55:48.823Z] + curl -s https://codecov.io/bash [2021-05-21T03:55:48.823Z] + bash -s -- [2021-05-21T03:55:48.823Z] [2021-05-21T03:55:48.823Z] _____ _ [2021-05-21T03:55:48.823Z] / ____| | | [2021-05-21T03:55:48.823Z] | | ___ __| | ___ ___ _____ __ [2021-05-21T03:55:48.823Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-21T03:55:48.823Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-21T03:55:48.823Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-21T03:55:48.823Z] Bash-1.0.2 [2021-05-21T03:55:48.823Z] [2021-05-21T03:55:48.823Z] [2021-05-21T03:55:48.823Z] ==> git version 2.24.4 found [2021-05-21T03:55:48.823Z] ==> 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-21T03:55:48.823Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-21T03:55:48.823Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-21T03:55:48.823Z] ==> Jenkins CI detected. [2021-05-21T03:55:48.823Z] project root: . [2021-05-21T03:55:48.823Z] --> token set from env [2021-05-21T03:55:48.823Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-21T03:55:49.088Z] ==> Running gcov in . (disable via -X gcov) [2021-05-21T03:55:49.088Z] ==> Python coveragepy not found [2021-05-21T03:55:49.088Z] ==> Searching for coverage reports in: [2021-05-21T03:55:49.088Z] + . [2021-05-21T03:55:49.088Z] -> Found 1 reports [2021-05-21T03:55:49.088Z] ==> Detecting git/mercurial file structure [2021-05-21T03:55:49.088Z] ==> Reading reports [2021-05-21T03:55:49.088Z] + ./coverage.out bytes=7631 [2021-05-21T03:55:49.088Z] ==> Appending adjustments [2021-05-21T03:55:49.088Z] https://docs.codecov.io/docs/fixing-reports [2021-05-21T03:55:49.088Z] + Found adjustments [2021-05-21T03:55:49.088Z] ==> Gzipping contents [2021-05-21T03:55:49.088Z] 4.0K /tmp/codecov.31AiaH.gz [2021-05-21T03:55:49.088Z] ==> Uploading reports [2021-05-21T03:55:49.088Z] url: https://codecov.io [2021-05-21T03:55:49.088Z] query: branch=master&commit=9351a662b217a128018db5c2b0fd8a407906271b&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-21T03:55:49.088Z] -> Pinging Codecov [2021-05-21T03:55:49.088Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=9351a662b217a128018db5c2b0fd8a407906271b&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-21T03:55:49.661Z] -> Uploading to [2021-05-21T03:55:49.661Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-21/6C56EA5C29638FB4528AC87E60AF5AE0/9351a662b217a128018db5c2b0fd8a407906271b/02ed0fe4-a6dc-453c-9a91-1986a5ac7071.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210521%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210521T035549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=80350c39fec712af36401e1a21c5c3282f84403524b22d2e0c3c11cda9edda61 [2021-05-21T03:55:49.661Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-21T03:55:49.661Z] Dload Upload Total Spent Left Speed [2021-05-21T03:55:49.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3760 --:--:-- --:--:-- --:--:-- 3765 [2021-05-21T03:55:49.924Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9351a662b217a128018db5c2b0fd8a407906271b [Pipeline] } [2021-05-21T03:55:49.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-21T03:55:50.281Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-21T03:55:50.304Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:55:50.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-21T03:55:50.630Z] [2021-05-21T03:55:50.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:55:50.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-21T03:55:51.215Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-21T03:55:51.215Z] 188c0c94c7c5: Pulling fs layer [2021-05-21T03:55:51.215Z] 0ef7d3d256c8: Pulling fs layer [2021-05-21T03:55:51.215Z] de9db76c5a1d: Pulling fs layer [2021-05-21T03:55:51.215Z] 0eba1c9be4d2: Pulling fs layer [2021-05-21T03:55:51.215Z] 0d57e429df01: Pulling fs layer [2021-05-21T03:55:51.215Z] 4e4be7b47b0d: Pulling fs layer [2021-05-21T03:55:51.215Z] e1f770b5df2f: Pulling fs layer [2021-05-21T03:55:51.215Z] 85a0685a4137: Pulling fs layer [2021-05-21T03:55:51.215Z] 0d57e429df01: Waiting [2021-05-21T03:55:51.215Z] 4e4be7b47b0d: Waiting [2021-05-21T03:55:51.215Z] e1f770b5df2f: Waiting [2021-05-21T03:55:51.215Z] 85a0685a4137: Waiting [2021-05-21T03:55:51.215Z] 0eba1c9be4d2: Waiting [2021-05-21T03:55:51.215Z] de9db76c5a1d: Verifying Checksum [2021-05-21T03:55:51.215Z] de9db76c5a1d: Download complete [2021-05-21T03:55:51.215Z] 0ef7d3d256c8: Verifying Checksum [2021-05-21T03:55:51.215Z] 0ef7d3d256c8: Download complete [2021-05-21T03:55:51.215Z] 0d57e429df01: Verifying Checksum [2021-05-21T03:55:51.215Z] 0d57e429df01: Download complete [2021-05-21T03:55:51.215Z] 4e4be7b47b0d: Download complete [2021-05-21T03:55:51.215Z] 188c0c94c7c5: Verifying Checksum [2021-05-21T03:55:51.215Z] 188c0c94c7c5: Download complete [2021-05-21T03:55:51.477Z] 188c0c94c7c5: Pull complete [2021-05-21T03:55:51.740Z] 0ef7d3d256c8: Pull complete [2021-05-21T03:55:51.740Z] de9db76c5a1d: Pull complete [2021-05-21T03:55:52.312Z] e1f770b5df2f: Verifying Checksum [2021-05-21T03:55:52.312Z] e1f770b5df2f: Download complete [2021-05-21T03:55:54.249Z] 0eba1c9be4d2: Verifying Checksum [2021-05-21T03:55:54.249Z] 0eba1c9be4d2: Download complete [2021-05-21T03:55:54.510Z] 85a0685a4137: Verifying Checksum [2021-05-21T03:55:54.510Z] 85a0685a4137: Download complete [2021-05-21T03:55:57.876Z] 0eba1c9be4d2: Pull complete [2021-05-21T03:55:57.876Z] 0d57e429df01: Pull complete [2021-05-21T03:55:57.876Z] 4e4be7b47b0d: Pull complete [2021-05-21T03:55:58.454Z] e1f770b5df2f: Pull complete [2021-05-21T03:56:03.793Z] 85a0685a4137: Pull complete [2021-05-21T03:56:03.793Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-21T03:56:03.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-21T03:56:03.793Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-21T03:56:03.896Z] prd-centos7-docker-4c-2g-15464 does not seem to be running inside a container [2021-05-21T03:56:03.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-21T03:56:07.804Z] $ docker top 2b126d191292b4903499166afb889cb9b9907a30a45e6b149c69f7231a0e97cf -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-21T03:56:07.935Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-21T03:56:08.248Z] + set -o pipefail [2021-05-21T03:56:08.248Z] + snyk monitor '--org=edgex-jenkins' [2021-05-21T03:56:18.281Z] [2021-05-21T03:56:18.282Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2021-05-21T03:56:18.282Z] [2021-05-21T03:56:18.282Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/65b2ee29-1440-463c-8602-1aba497df1eb [2021-05-21T03:56:18.282Z] [2021-05-21T03:56:18.282Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-21T03:56:18.282Z] [2021-05-21T03:56:18.282Z] [Pipeline] } [2021-05-21T03:56:18.294Z] $ docker stop --time=1 2b126d191292b4903499166afb889cb9b9907a30a45e6b149c69f7231a0e97cf [2021-05-21T03:56:20.657Z] $ docker rm -f 2b126d191292b4903499166afb889cb9b9907a30a45e6b149c69f7231a0e97cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-21T03:56:21.780Z] + git log --format=format:%s -1 9351a662b217a128018db5c2b0fd8a407906271b [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:56:22.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T03:56:22.119Z] . [Pipeline] withDockerContainer [2021-05-21T03:56:22.211Z] prd-centos7-docker-4c-2g-15464 does not seem to be running inside a container [2021-05-21T03:56:22.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T03:56:22.682Z] $ docker top 9ba061d98696eff5627b64d2462873402ff72fbe31e3f3c40995a9969f39f2f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T03:56:22.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T03:56:22.822Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T03:56:22.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T03:56:22.971Z] $ docker exec 9ba061d98696eff5627b64d2462873402ff72fbe31e3f3c40995a9969f39f2f0 ssh-agent [2021-05-21T03:56:23.104Z] SSH_AUTH_SOCK=/tmp/ssh-amDeTmzzUCGE/agent.14 [2021-05-21T03:56:23.104Z] SSH_AGENT_PID=20 [2021-05-21T03:56:23.117Z] Running ssh-add (command line suppressed) [2021-05-21T03:56:23.235Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9170854324291286603.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9170854324291286603.key) [2021-05-21T03:56:23.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T03:56:23.556Z] + git semver tag [2021-05-21T03:56:23.556Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T03:56:23.556Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-21T03:56:23.556Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-21T03:56:23.556Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T03:56:23.556Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T03:56:23.556Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T03:56:23.556Z] # $SEMVER_BRANCH = master [2021-05-21T03:56:23.556Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-05-21T03:56:23.556Z] # 9351a662b217a128018db5c2b0fd8a407906271b HEAD [2021-05-21T03:56:23.556Z] # -> Force: false [2021-05-21T03:56:23.556Z] # ad98327c05ec610efd5965b916ae9b044c2b5bf2 refs/tags/v1.3.2-dev.6 [Pipeline] } [2021-05-21T03:56:23.567Z] $ docker exec --env ******** --env ******** 9ba061d98696eff5627b64d2462873402ff72fbe31e3f3c40995a9969f39f2f0 ssh-agent -k [2021-05-21T03:56:23.682Z] unset SSH_AUTH_SOCK; [2021-05-21T03:56:23.682Z] unset SSH_AGENT_PID; [2021-05-21T03:56:23.682Z] echo Agent pid 20 killed; [2021-05-21T03:56:23.698Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T03:56:24.038Z] + git semver [Pipeline] } [2021-05-21T03:56:24.052Z] $ docker stop --time=1 9ba061d98696eff5627b64d2462873402ff72fbe31e3f3c40995a9969f39f2f0 [2021-05-21T03:56:25.253Z] $ docker rm -f 9ba061d98696eff5627b64d2462873402ff72fbe31e3f3c40995a9969f39f2f0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:56:25.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-21T03:56:25.715Z] [2021-05-21T03:56:25.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:56:26.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-21T03:56:26.026Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-21T03:56:26.026Z] ab5ef0e58194: Pulling fs layer [2021-05-21T03:56:26.026Z] 9712f1f96733: Pulling fs layer [2021-05-21T03:56:26.026Z] 63f879dbbcfc: Pulling fs layer [2021-05-21T03:56:26.026Z] 0d9ebad4ef96: Pulling fs layer [2021-05-21T03:56:26.026Z] e9a5061849ea: Pulling fs layer [2021-05-21T03:56:26.026Z] d747dcd14b5f: Pulling fs layer [2021-05-21T03:56:26.026Z] 2de7ff778b66: Pulling fs layer [2021-05-21T03:56:26.026Z] 0d9ebad4ef96: Waiting [2021-05-21T03:56:26.026Z] e9a5061849ea: Waiting [2021-05-21T03:56:26.026Z] d747dcd14b5f: Waiting [2021-05-21T03:56:26.026Z] 2de7ff778b66: Waiting [2021-05-21T03:56:26.026Z] 9712f1f96733: Verifying Checksum [2021-05-21T03:56:26.026Z] 9712f1f96733: Download complete [2021-05-21T03:56:27.417Z] 63f879dbbcfc: Download complete [2021-05-21T03:56:27.680Z] e9a5061849ea: Download complete [2021-05-21T03:56:27.680Z] d747dcd14b5f: Verifying Checksum [2021-05-21T03:56:27.680Z] d747dcd14b5f: Download complete [2021-05-21T03:56:27.948Z] ab5ef0e58194: Verifying Checksum [2021-05-21T03:56:27.948Z] ab5ef0e58194: Download complete [2021-05-21T03:56:27.948Z] 2de7ff778b66: Verifying Checksum [2021-05-21T03:56:27.948Z] 2de7ff778b66: Download complete [2021-05-21T03:56:27.948Z] 0d9ebad4ef96: Verifying Checksum [2021-05-21T03:56:27.948Z] 0d9ebad4ef96: Download complete [2021-05-21T03:56:31.283Z] ab5ef0e58194: Pull complete [2021-05-21T03:56:31.283Z] 9712f1f96733: Pull complete [2021-05-21T03:56:31.549Z] 63f879dbbcfc: Pull complete [2021-05-21T03:56:35.821Z] 0d9ebad4ef96: Pull complete [2021-05-21T03:56:35.821Z] e9a5061849ea: Pull complete [2021-05-21T03:56:35.821Z] d747dcd14b5f: Pull complete [2021-05-21T03:56:36.796Z] 2de7ff778b66: Pull complete [2021-05-21T03:56:36.796Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-21T03:56:36.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-21T03:56:36.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-21T03:56:36.886Z] prd-centos7-docker-4c-2g-15464 does not seem to be running inside a container [2021-05-21T03:56:36.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-21T03:56:40.798Z] $ docker top 073e8753f0b7ef6cae3a48ebee6c615a4ba436eacc253ead13d94e920b7cfd33 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-21T03:56:40.903Z] provisioning config files... [2021-05-21T03:56:40.919Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config9175535157784718841tmp [2021-05-21T03:56:40.931Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7449808251196986430tmp [2021-05-21T03:56:40.943Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1042728056838386243tmp [Pipeline] { [Pipeline] echo [2021-05-21T03:56:40.963Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:56:41.259Z] ---> sigul-configuration.sh [2021-05-21T03:56:41.259Z] gpg: directory `/root/.gnupg' created [2021-05-21T03:56:41.259Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-21T03:56:41.259Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-21T03:56:41.259Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-21T03:56:41.259Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-21T03:56:41.259Z] gpg: CAST5 encrypted data [2021-05-21T03:56:41.259Z] gpg: encrypted with 1 passphrase [2021-05-21T03:56:41.259Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-21T03:56:41.557Z] + mkdir /home/jenkins [2021-05-21T03:56:41.557Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-21T03:56:41.853Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-05-21T03:56:41.867Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:56:42.207Z] ---> sigul-install.sh [2021-05-21T03:56:46.425Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-21T03:56:46.727Z] + git tag --list [2021-05-21T03:56:46.728Z] 1.0.0 [2021-05-21T03:56:46.728Z] v0.0.0 [2021-05-21T03:56:46.728Z] v1.1.0 [2021-05-21T03:56:46.728Z] v1.1.1 [2021-05-21T03:56:46.728Z] v1.2.2 [2021-05-21T03:56:46.728Z] v1.3.0 [2021-05-21T03:56:46.728Z] v1.3.1 [2021-05-21T03:56:46.728Z] v1.3.1-dev.1 [2021-05-21T03:56:46.728Z] v1.3.1-dev.2 [2021-05-21T03:56:46.728Z] v1.3.1-dev.3 [2021-05-21T03:56:46.728Z] v1.3.1-dev.4 [2021-05-21T03:56:46.728Z] v1.3.2-dev.1 [2021-05-21T03:56:46.728Z] v1.3.2-dev.2 [2021-05-21T03:56:46.728Z] v1.3.2-dev.3 [2021-05-21T03:56:46.728Z] v1.3.2-dev.4 [2021-05-21T03:56:46.728Z] v1.3.2-dev.5 [2021-05-21T03:56:46.728Z] v1.3.2-dev.6 [Pipeline] sh [2021-05-21T03:56:47.023Z] + lftools sign git-tag v1.3.2-dev.6 [2021-05-21T03:56:47.598Z] Signing Git tag with Sigul... [2021-05-21T03:56:47.598Z] Signing v1.3.2-dev.6 [Pipeline] echo [2021-05-21T03:56:48.554Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:56:48.855Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-21T03:56:48.865Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-21T03:56:48.896Z] $ docker stop --time=1 073e8753f0b7ef6cae3a48ebee6c615a4ba436eacc253ead13d94e920b7cfd33 [2021-05-21T03:56:50.689Z] $ docker rm -f 073e8753f0b7ef6cae3a48ebee6c615a4ba436eacc253ead13d94e920b7cfd33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:56:51.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T03:56:51.663Z] . [Pipeline] withDockerContainer [2021-05-21T03:56:52.044Z] prd-centos7-docker-4c-2g-15464 does not seem to be running inside a container [2021-05-21T03:56:52.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T03:56:52.549Z] $ docker top 6017ada0b8848fbfb8bcdd65444bbb6b50680033fafde3eedbfc1d67c1b83827 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T03:56:52.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T03:56:52.701Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T03:56:52.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T03:56:52.835Z] $ docker exec 6017ada0b8848fbfb8bcdd65444bbb6b50680033fafde3eedbfc1d67c1b83827 ssh-agent [2021-05-21T03:56:52.964Z] SSH_AUTH_SOCK=/tmp/ssh-ZT0xuysT2qQB/agent.14 [2021-05-21T03:56:52.964Z] SSH_AGENT_PID=20 [2021-05-21T03:56:52.970Z] Running ssh-add (command line suppressed) [2021-05-21T03:56:53.084Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2450689139894632313.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2450689139894632313.key) [2021-05-21T03:56:53.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T03:56:53.402Z] + git semver bump pre [2021-05-21T03:56:53.402Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T03:56:53.402Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-21T03:56:53.402Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-21T03:56:53.402Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T03:56:53.402Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T03:56:53.402Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T03:56:53.402Z] # $SEMVER_BRANCH = master [2021-05-21T03:56:53.402Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-05-21T03:56:53.402Z] 1.3.2-dev.7 [Pipeline] } [2021-05-21T03:56:53.414Z] $ docker exec --env ******** --env ******** 6017ada0b8848fbfb8bcdd65444bbb6b50680033fafde3eedbfc1d67c1b83827 ssh-agent -k [2021-05-21T03:56:53.520Z] unset SSH_AUTH_SOCK; [2021-05-21T03:56:53.521Z] unset SSH_AGENT_PID; [2021-05-21T03:56:53.521Z] echo Agent pid 20 killed; [2021-05-21T03:56:53.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T03:56:53.873Z] + git semver [Pipeline] } [2021-05-21T03:56:53.900Z] $ docker stop --time=1 6017ada0b8848fbfb8bcdd65444bbb6b50680033fafde3eedbfc1d67c1b83827 [2021-05-21T03:56:55.125Z] $ docker rm -f 6017ada0b8848fbfb8bcdd65444bbb6b50680033fafde3eedbfc1d67c1b83827 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:56:55.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-21T03:56:55.523Z] . [Pipeline] withDockerContainer [2021-05-21T03:56:55.639Z] prd-centos7-docker-4c-2g-15464 does not seem to be running inside a container [2021-05-21T03:56:55.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-21T03:56:56.121Z] $ docker top 5a37ac6267ed89b4d95f76d92edf5eb94b8a4b381e620149607e469bf045c894 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-21T03:56:56.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-21T03:56:56.266Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-21T03:56:56.384Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-21T03:56:56.386Z] $ docker exec 5a37ac6267ed89b4d95f76d92edf5eb94b8a4b381e620149607e469bf045c894 ssh-agent [2021-05-21T03:56:56.509Z] SSH_AUTH_SOCK=/tmp/ssh-X4KRG2IVtGht/agent.14 [2021-05-21T03:56:56.509Z] SSH_AGENT_PID=21 [2021-05-21T03:56:56.514Z] Running ssh-add (command line suppressed) [2021-05-21T03:56:56.620Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1068504030910185423.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1068504030910185423.key) [2021-05-21T03:56:56.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-21T03:56:56.937Z] + git semver push [2021-05-21T03:56:56.937Z] # -> Open(): unable to determine branch for HEAD [2021-05-21T03:56:56.937Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-21T03:56:56.937Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-21T03:56:56.937Z] # $SEMVER_REMOTE_NAME = origin [2021-05-21T03:56:56.937Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-21T03:56:56.937Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-21T03:56:56.937Z] # $SEMVER_BRANCH = master [2021-05-21T03:56:56.937Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-05-21T03:57:00.261Z] $ docker exec --env ******** --env ******** 5a37ac6267ed89b4d95f76d92edf5eb94b8a4b381e620149607e469bf045c894 ssh-agent -k [2021-05-21T03:57:00.373Z] unset SSH_AUTH_SOCK; [2021-05-21T03:57:00.375Z] unset SSH_AGENT_PID; [2021-05-21T03:57:00.375Z] echo Agent pid 21 killed; [2021-05-21T03:57:00.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-21T03:57:00.734Z] + git semver [Pipeline] } [2021-05-21T03:57:00.750Z] $ docker stop --time=1 5a37ac6267ed89b4d95f76d92edf5eb94b8a4b381e620149607e469bf045c894 [2021-05-21T03:57:04.287Z] $ docker rm -f 5a37ac6267ed89b4d95f76d92edf5eb94b8a4b381e620149607e469bf045c894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-21T03:57:05.284Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:57:05.878Z] ---> package-listing.sh [2021-05-21T03:57:05.878Z] ++ facter osfamily [2021-05-21T03:57:05.878Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-21T03:57:06.143Z] + OS_FAMILY=redhat [2021-05-21T03:57:06.143Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2021-05-21T03:57:06.143Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-21T03:57:06.143Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-21T03:57:06.143Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-21T03:57:06.143Z] + PACKAGES=/tmp/packages_start.txt [2021-05-21T03:57:06.143Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-05-21T03:57:06.143Z] + PACKAGES=/tmp/packages_end.txt [2021-05-21T03:57:06.143Z] + case "${OS_FAMILY}" in [2021-05-21T03:57:06.143Z] + rpm -qa [2021-05-21T03:57:06.143Z] + sort [2021-05-21T03:57:06.727Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-21T03:57:06.727Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-21T03:57:06.727Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-21T03:57:06.727Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-05-21T03:57:06.727Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2021-05-21T03:57:06.727Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo [2021-05-21T03:57:06.738Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-21T03:57:07.028Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:57:07.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T03:57:07.599Z] [2021-05-21T03:57:07.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-21T03:57:07.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T03:57:07.924Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-21T03:57:07.924Z] df20fa9351a1: Pulling fs layer [2021-05-21T03:57:07.924Z] 36b3adc4ff6f: Pulling fs layer [2021-05-21T03:57:07.924Z] 8ad3a11d3b57: Pulling fs layer [2021-05-21T03:57:07.924Z] 46f8f816bc3b: Pulling fs layer [2021-05-21T03:57:07.924Z] 93b61091891f: Pulling fs layer [2021-05-21T03:57:07.924Z] 93b9cdb0e59b: Pulling fs layer [2021-05-21T03:57:07.924Z] 5e14af77c1be: Pulling fs layer [2021-05-21T03:57:07.924Z] 01666e4c0597: Pulling fs layer [2021-05-21T03:57:07.924Z] aa168da1d23b: Pulling fs layer [2021-05-21T03:57:07.924Z] 46f8f816bc3b: Waiting [2021-05-21T03:57:07.924Z] 93b61091891f: Waiting [2021-05-21T03:57:07.924Z] 93b9cdb0e59b: Waiting [2021-05-21T03:57:07.924Z] 5e14af77c1be: Waiting [2021-05-21T03:57:07.925Z] 01666e4c0597: Waiting [2021-05-21T03:57:07.925Z] aa168da1d23b: Waiting [2021-05-21T03:57:07.925Z] 36b3adc4ff6f: Verifying Checksum [2021-05-21T03:57:07.925Z] 36b3adc4ff6f: Download complete [2021-05-21T03:57:07.925Z] 46f8f816bc3b: Verifying Checksum [2021-05-21T03:57:07.925Z] 46f8f816bc3b: Download complete [2021-05-21T03:57:07.925Z] df20fa9351a1: Verifying Checksum [2021-05-21T03:57:07.925Z] df20fa9351a1: Download complete [2021-05-21T03:57:08.192Z] 93b9cdb0e59b: Verifying Checksum [2021-05-21T03:57:08.192Z] 93b9cdb0e59b: Download complete [2021-05-21T03:57:08.192Z] 5e14af77c1be: Verifying Checksum [2021-05-21T03:57:08.192Z] 5e14af77c1be: Download complete [2021-05-21T03:57:08.192Z] 01666e4c0597: Verifying Checksum [2021-05-21T03:57:08.192Z] 01666e4c0597: Download complete [2021-05-21T03:57:08.192Z] 93b61091891f: Verifying Checksum [2021-05-21T03:57:08.192Z] 93b61091891f: Download complete [2021-05-21T03:57:08.192Z] 8ad3a11d3b57: Verifying Checksum [2021-05-21T03:57:08.192Z] 8ad3a11d3b57: Download complete [2021-05-21T03:57:08.192Z] df20fa9351a1: Pull complete [2021-05-21T03:57:08.454Z] 36b3adc4ff6f: Pull complete [2021-05-21T03:57:09.031Z] 8ad3a11d3b57: Pull complete [2021-05-21T03:57:09.031Z] 46f8f816bc3b: Pull complete [2021-05-21T03:57:09.298Z] 93b61091891f: Pull complete [2021-05-21T03:57:09.298Z] 93b9cdb0e59b: Pull complete [2021-05-21T03:57:09.563Z] 5e14af77c1be: Pull complete [2021-05-21T03:57:09.563Z] 01666e4c0597: Pull complete [2021-05-21T03:57:10.139Z] aa168da1d23b: Verifying Checksum [2021-05-21T03:57:10.139Z] aa168da1d23b: Download complete [2021-05-21T03:57:15.461Z] aa168da1d23b: Pull complete [2021-05-21T03:57:15.461Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-21T03:57:15.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-21T03:57:15.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-21T03:57:15.553Z] prd-centos7-docker-4c-2g-15464 does not seem to be running inside a container [2021-05-21T03:57:15.598Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-21T03:57:18.409Z] $ docker top da3b71b065f21a74bdb017c9d585c284534130fb56461b75f0a82b3c95babcdb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-21T03:57:18.809Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-21T03:57:19.112Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-21T03:57:19.409Z] + ls /var/log/sa-host [2021-05-21T03:57:19.409Z] + sadf -c /var/log/sa-host/sa05 [2021-05-21T03:57:19.409Z] file_magic: OK [2021-05-21T03:57:19.409Z] HZ: Using current value: 100 [2021-05-21T03:57:19.409Z] file_header: OK [2021-05-21T03:57:19.409Z] 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-21T03:57:19.409Z] Statistics: [2021-05-21T03:57:19.409Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T03:57:19.409Z] File successfully converted to sysstat format version 12.2.1 [2021-05-21T03:57:19.409Z] + sadf -c /var/log/sa-host/sa21 [2021-05-21T03:57:19.409Z] file_magic: OK [2021-05-21T03:57:19.409Z] HZ: Using current value: 100 [2021-05-21T03:57:19.409Z] file_header: OK [2021-05-21T03:57:19.409Z] 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-21T03:57:19.409Z] Statistics: [2021-05-21T03:57:19.409Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-21T03:57:19.409Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-21T03:57:19.628Z] provisioning config files... [2021-05-21T03:57:19.642Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7222883398956115828tmp [Pipeline] { [Pipeline] echo [2021-05-21T03:57:19.667Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:57:19.973Z] ---> create-netrc.sh [Pipeline] } [2021-05-21T03:57:19.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-21T03:57:20.041Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:57:20.383Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-21T03:57:20.397Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:57:20.700Z] ---> sudo-logs.sh [2021-05-21T03:57:20.700Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-21T03:57:20.733Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:57:21.031Z] ---> job-cost.sh [2021-05-21T03:57:21.031Z] lf-activate-venv: SKIPPING [2021-05-21T03:57:21.031Z] DEBUG: total: 0.18000000715255737 [2021-05-21T03:57:21.031Z] INFO: Retrieving Stack Cost... [2021-05-21T03:57:22.419Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-21T03:57:22.993Z] INFO: Archiving Costs [Pipeline] echo [2021-05-21T03:57:23.010Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-21T03:57:23.309Z] ---> logs-deploy.sh [2021-05-21T03:57:23.309Z] lf-activate-venv: SKIPPING [2021-05-21T03:57:23.309Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/30 [2021-05-21T03:57:23.309Z] INFO: archiving workspace using pattern(s): [2021-05-21T03:57:24.253Z] Archives upload complete. [2021-05-21T03:57:24.253Z] INFO: archiving logs to Nexus