Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 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 > 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 --is-inside-work-tree # 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 > 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 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > 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-4848 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_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.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 Commit message: "Merge pull request #94 from tonyespy/go-116" > git rev-list --no-walk 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:23:36.607Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:23:36.727Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:23:36.756Z] ========================================================= [2021-05-12T20:23:36.756Z] EdgeX Global Pipelines Version Info [2021-05-12T20:23:36.756Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:23:38.386Z] ------------------- [2021-05-12T20:23:38.386Z] stable info: [2021-05-12T20:23:38.386Z] ------------------- [2021-05-12T20:23:38.386Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:23:38.386Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:23:38.386Z] Message: update stable to v1.0.192 [2021-05-12T20:23:39.332Z] ------------------- [2021-05-12T20:23:39.332Z] experimental info: [2021-05-12T20:23:39.332Z] ------------------- [2021-05-12T20:23:39.332Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:23:39.332Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:23:39.332Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:23:39.450Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-12T20:23:39.488Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-12T20:23:39.514Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:23:39.539Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:23:39.566Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:23:39.595Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:23:39.622Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:23:39.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:23:39.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:23:39.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:23:39.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:23:39.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-12T20:23:39.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:23:39.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:23:39.841Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:23:39.866Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:23:39.891Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:23:39.916Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:23:39.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:23:39.962Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T20:23:39.986Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:23:40.011Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:23:40.035Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:23:40.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:23:40.086Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:23:40.110Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:23:40.134Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-12T20:23:40.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-12T20:23:40.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-12T20:23:40.211Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [Pipeline] echo [2021-05-12T20:23:40.236Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9bb0f4 [Pipeline] echo [2021-05-12T20:23:40.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:23:40.335Z] provisioning config files... [2021-05-12T20:23:40.382Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config8179823407861532566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:23:40.701Z] ---> docker-login.sh [2021-05-12T20:23:40.701Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:23:40.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:40.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:40.969Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:40.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:40.969Z] [2021-05-12T20:23:40.969Z] Login Succeeded [2021-05-12T20:23:40.969Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:23:41.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:41.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:41.232Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:41.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:41.232Z] [2021-05-12T20:23:41.232Z] Login Succeeded [2021-05-12T20:23:41.232Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:23:41.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:41.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:41.496Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:41.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:41.496Z] [2021-05-12T20:23:41.496Z] Login Succeeded [2021-05-12T20:23:41.496Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:23:41.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:41.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:41.758Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:41.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:41.758Z] [2021-05-12T20:23:41.758Z] Login Succeeded [2021-05-12T20:23:41.758Z] docker.io [2021-05-12T20:23:41.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:23:42.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:23:42.021Z] Configure a credential helper to remove this warning. See [2021-05-12T20:23:42.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:23:42.021Z] [2021-05-12T20:23:42.021Z] Login Succeeded [2021-05-12T20:23:42.021Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:23:42.036Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:23:42.490Z] + git log --format=format:%s -1 b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [Pipeline] echo [2021-05-12T20:23:42.570Z] GIT_COMMIT: b9bb0f464ba5331cbfb8b81286d8c6a09b387d39, Commit Message: Merge pull request #94 from tonyespy/go-116 [Pipeline] echo [2021-05-12T20:23:42.584Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:23:43.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:23:43.167Z] [2021-05-12T20:23:43.167Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:23:43.488Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:23:43.489Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:23:43.489Z] 31603596830f: Pulling fs layer [2021-05-12T20:23:43.489Z] 54011a49482f: Pulling fs layer [2021-05-12T20:23:43.489Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:23:43.489Z] f581987b2513: Pulling fs layer [2021-05-12T20:23:43.489Z] f581987b2513: Waiting [2021-05-12T20:23:43.489Z] 54011a49482f: Verifying Checksum [2021-05-12T20:23:43.489Z] 54011a49482f: Download complete [2021-05-12T20:23:43.489Z] 31603596830f: Verifying Checksum [2021-05-12T20:23:43.489Z] 31603596830f: Download complete [2021-05-12T20:23:43.756Z] f581987b2513: Verifying Checksum [2021-05-12T20:23:43.756Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:23:43.756Z] a6820b24f6d8: Download complete [2021-05-12T20:23:44.020Z] 31603596830f: Pull complete [2021-05-12T20:23:44.020Z] 54011a49482f: Pull complete [2021-05-12T20:23:44.968Z] a6820b24f6d8: Pull complete [2021-05-12T20:23:44.968Z] f581987b2513: Pull complete [2021-05-12T20:23:44.968Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:23:45.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:23:45.229Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:23:45.335Z] prd-centos7-docker-4c-2g-4848 does not seem to be running inside a container [2021-05-12T20:23:45.384Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:23:47.120Z] $ docker top 4c5d9799b48af77258453f0abd549b84f86736be3461f1f5a992eaa4a86fe321 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:23:47.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:23:47.286Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:23:47.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:23:47.480Z] $ docker exec 4c5d9799b48af77258453f0abd549b84f86736be3461f1f5a992eaa4a86fe321 ssh-agent [2021-05-12T20:23:47.643Z] SSH_AUTH_SOCK=/tmp/ssh-s6hNnBeN2bdC/agent.12 [2021-05-12T20:23:47.643Z] SSH_AGENT_PID=17 [2021-05-12T20:23:47.653Z] Running ssh-add (command line suppressed) [2021-05-12T20:23:47.775Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1217072106684007991.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1217072106684007991.key) [2021-05-12T20:23:47.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:23:48.131Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:23:48.154Z] $ docker exec --env ******** --env ******** 4c5d9799b48af77258453f0abd549b84f86736be3461f1f5a992eaa4a86fe321 ssh-agent -k [2021-05-12T20:23:48.271Z] unset SSH_AUTH_SOCK; [2021-05-12T20:23:48.272Z] unset SSH_AGENT_PID; [2021-05-12T20:23:48.272Z] echo Agent pid 17 killed; [2021-05-12T20:23:48.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:23:48.373Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:23:48.373Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:23:48.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:23:48.553Z] $ docker exec 4c5d9799b48af77258453f0abd549b84f86736be3461f1f5a992eaa4a86fe321 ssh-agent [2021-05-12T20:23:48.728Z] SSH_AUTH_SOCK=/tmp/ssh-zD9Gdnr5uXPu/agent.45 [2021-05-12T20:23:48.728Z] SSH_AGENT_PID=50 [2021-05-12T20:23:48.736Z] Running ssh-add (command line suppressed) [2021-05-12T20:23:48.849Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1006104446007141399.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1006104446007141399.key) [2021-05-12T20:23:48.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:23:49.207Z] + git semver init [2021-05-12T20:23:49.207Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:23:49.207Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-12T20:23:49.207Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-12T20:23:49.207Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:23:49.207Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:23:49.207Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:23:49.207Z] # $SEMVER_BRANCH = master [2021-05-12T20:23:49.207Z] # $SEMVER_TEMP = /tmp/semver-549003055 [2021-05-12T20:23:49.207Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-12T20:23:49.780Z] # '/tmp/semver-549003055' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2021-05-12T20:23:49.780Z] # -> Force: false [2021-05-12T20:23:49.780Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-05-12T20:23:49.793Z] $ docker exec --env ******** --env ******** 4c5d9799b48af77258453f0abd549b84f86736be3461f1f5a992eaa4a86fe321 ssh-agent -k [2021-05-12T20:23:49.903Z] unset SSH_AUTH_SOCK; [2021-05-12T20:23:49.904Z] unset SSH_AGENT_PID; [2021-05-12T20:23:49.904Z] echo Agent pid 50 killed; [2021-05-12T20:23:49.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:23:50.280Z] + git semver [Pipeline] } [2021-05-12T20:23:50.298Z] $ docker stop --time=1 4c5d9799b48af77258453f0abd549b84f86736be3461f1f5a992eaa4a86fe321 [2021-05-12T20:23:51.628Z] $ docker rm -f 4c5d9799b48af77258453f0abd549b84f86736be3461f1f5a992eaa4a86fe321 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:23:52.021Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:23:52.299Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:23:52.302Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.4 [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-12T20:24:07.480Z] Still waiting to schedule task [2021-05-12T20:24:07.480Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4800’ is offline; ‘prd-centos7-docker-4c-2g-4802’ is offline; ‘prd-centos7-docker-4c-2g-4807’ is offline; ‘prd-centos7-docker-4c-2g-4808’ is offline; ‘prd-centos7-docker-4c-2g-4810’ is offline; ‘prd-centos7-docker-4c-2g-4813’ is offline; ‘prd-centos7-docker-4c-2g-4814’ is offline; ‘prd-centos7-docker-4c-2g-4815’ is offline; ‘prd-centos7-docker-4c-2g-4821’ is offline; ‘prd-centos7-docker-4c-2g-4830’ is offline; ‘prd-centos7-docker-4c-2g-4831’ is offline; ‘prd-centos7-docker-4c-2g-4850’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4834’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4836’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4839’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4818’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4819’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4823’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4824’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4825’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4828’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4832’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4833’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4849’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-12T20:24:07.487Z] Still waiting to schedule task [2021-05-12T20:24:07.492Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4800’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4802’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4807’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4808’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4810’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4813’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4814’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4815’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4821’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4830’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4831’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4850’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4834’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4836’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4839’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4818’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4819’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4823’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4824’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4825’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4828’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4832’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4833’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4849’ is offline [2021-05-12T20:29:10.870Z] Running on prd-centos7-docker-4c-2g-4865 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-05-12T20:29:10.895Z] Running in /w/workspace/device-snmp-go/28 [Pipeline] { [Pipeline] checkout [2021-05-12T20:29:14.574Z] using credential edgex-jenkins-ssh [2021-05-12T20:29:14.588Z] Cloning the remote Git repository [2021-05-12T20:29:14.620Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:29:14.688Z] > git init /w/workspace/device-snmp-go/28 # timeout=10 [2021-05-12T20:29:15.804Z] Checking out Revision b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 (master) [2021-05-12T20:29:14.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:29:14.756Z] > git --version # timeout=10 [2021-05-12T20:29:14.763Z] > git --version # 'git version 2.24.3' [2021-05-12T20:29:14.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:14.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:15.362Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-12T20:29:15.371Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:15.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-12T20:29:15.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:29:15.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:15.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:29:15.814Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:15.819Z] > git checkout -f b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 [2021-05-12T20:29:19.543Z] Commit message: "Merge pull request #94 from tonyespy/go-116" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:29:20.976Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:21.340Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:21.645Z] + sudo service docker restart [2021-05-12T20:29:21.646Z] + true [2021-05-12T20:29:21.646Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:29:23.122Z] provisioning config files... [2021-05-12T20:29:23.249Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/28@tmp/config5948123324582090595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:29:23.690Z] ---> docker-login.sh [2021-05-12T20:29:23.690Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:29:23.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:24.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:24.236Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:24.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:24.236Z] [2021-05-12T20:29:24.236Z] Login Succeeded [2021-05-12T20:29:24.236Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:29:24.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:24.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:24.504Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:24.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:24.504Z] [2021-05-12T20:29:24.504Z] Login Succeeded [2021-05-12T20:29:24.504Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:29:24.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:24.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:24.778Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:24.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:24.778Z] [2021-05-12T20:29:24.778Z] Login Succeeded [2021-05-12T20:29:24.778Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:29:24.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:24.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:24.778Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:24.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:24.778Z] [2021-05-12T20:29:24.778Z] Login Succeeded [2021-05-12T20:29:24.778Z] docker.io [2021-05-12T20:29:25.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:25.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:25.311Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:25.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:25.311Z] [2021-05-12T20:29:25.311Z] Login Succeeded [2021-05-12T20:29:25.311Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:29:25.325Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:29:25.565Z] ========================================================= [2021-05-12T20:29:25.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:29:25.565Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:29:25.898Z] + 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-12T20:29:26.177Z] Sending build context to Docker daemon 345.6kB [2021-05-12T20:29:26.177Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:29:26.177Z] Step 2/10 : FROM ${BASE} [2021-05-12T20:29:26.177Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:29:26.177Z] 540db60ca938: Pulling fs layer [2021-05-12T20:29:26.177Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:29:26.177Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:29:26.177Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:29:26.177Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:29:26.177Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:29:26.177Z] f706445af74f: Pulling fs layer [2021-05-12T20:29:26.177Z] 0510c868ecb4: Waiting [2021-05-12T20:29:26.177Z] afea3b2eda06: Waiting [2021-05-12T20:29:26.177Z] 7809a108b3ef: Waiting [2021-05-12T20:29:26.177Z] 4c4ab2625f07: Download complete [2021-05-12T20:29:26.177Z] adcc1eea9eea: Verifying Checksum [2021-05-12T20:29:26.177Z] adcc1eea9eea: Download complete [2021-05-12T20:29:26.177Z] afea3b2eda06: Download complete [2021-05-12T20:29:26.177Z] 7809a108b3ef: Verifying Checksum [2021-05-12T20:29:26.177Z] 7809a108b3ef: Download complete [2021-05-12T20:29:26.177Z] 540db60ca938: Verifying Checksum [2021-05-12T20:29:26.177Z] 540db60ca938: Download complete [2021-05-12T20:29:26.464Z] 540db60ca938: Pull complete [2021-05-12T20:29:26.732Z] adcc1eea9eea: Pull complete [2021-05-12T20:29:27.003Z] 4c4ab2625f07: Pull complete [2021-05-12T20:29:28.485Z] f706445af74f: Verifying Checksum [2021-05-12T20:29:28.485Z] f706445af74f: Download complete [2021-05-12T20:29:29.077Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:29:29.077Z] 0510c868ecb4: Download complete [2021-05-12T20:29:30.238Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4862 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-05-12T20:29:30.320Z] Running in /w/workspace/device-snmp-go/28 [Pipeline] { [Pipeline] checkout [2021-05-12T20:29:35.803Z] 0510c868ecb4: Pull complete [2021-05-12T20:29:35.803Z] afea3b2eda06: Pull complete [2021-05-12T20:29:35.803Z] 7809a108b3ef: Pull complete [2021-05-12T20:29:37.319Z] using credential edgex-jenkins-ssh [2021-05-12T20:29:37.335Z] Cloning the remote Git repository [2021-05-12T20:29:37.422Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:29:37.535Z] > git init /w/workspace/device-snmp-go/28 # timeout=10 [2021-05-12T20:29:37.615Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:29:37.616Z] > git --version # timeout=10 [2021-05-12T20:29:37.636Z] > git --version # 'git version 2.17.1' [2021-05-12T20:29:37.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:37.715Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:38.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-12T20:29:38.393Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:38.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-12T20:29:38.528Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:29:38.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:38.550Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:29:40.030Z] Checking out Revision b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 (master) [2021-05-12T20:29:40.057Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:40.082Z] > git checkout -f b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 [2021-05-12T20:29:42.094Z] f706445af74f: Pull complete [2021-05-12T20:29:42.094Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:29:42.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:29:42.094Z] ---> b068be0155e3 [2021-05-12T20:29:42.094Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-05-12T20:29:42.361Z] ---> Running in e916f8d88daf [2021-05-12T20:29:42.625Z] Removing intermediate container e916f8d88daf [2021-05-12T20:29:42.625Z] ---> 00aed698da5c [2021-05-12T20:29:42.625Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:29:42.890Z] ---> Running in d1480f999dcf [2021-05-12T20:29:42.890Z] Removing intermediate container d1480f999dcf [2021-05-12T20:29:42.890Z] ---> 16f94cc72a76 [2021-05-12T20:29:42.890Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-12T20:29:43.153Z] ---> Running in 55676f979c45 [2021-05-12T20:29:43.153Z] Removing intermediate container 55676f979c45 [2021-05-12T20:29:43.153Z] ---> 73ebbf97a2cf [2021-05-12T20:29:43.153Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:29:43.425Z] ---> Running in 08edff6ab69d [2021-05-12T20:29:44.428Z] Removing intermediate container 08edff6ab69d [2021-05-12T20:29:44.428Z] ---> 5ef397acdb62 [2021-05-12T20:29:44.428Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:29:44.736Z] ---> Running in 51c8a889f3ef [2021-05-12T20:29:44.907Z] Commit message: "Merge pull request #94 from tonyespy/go-116" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:29:45.702Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:29:46.370Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:46.655Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:29:46.814Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:47.161Z] + true [2021-05-12T20:29:47.161Z] + sudo service docker restart [2021-05-12T20:29:48.587Z] OK: 149 MiB in 40 packages [2021-05-12T20:29:48.851Z] Removing intermediate container 51c8a889f3ef [2021-05-12T20:29:48.851Z] ---> 5f5b7da82787 [2021-05-12T20:29:48.851Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-12T20:29:48.851Z] ---> Running in facd5fa30fb6 [2021-05-12T20:29:48.851Z] Removing intermediate container facd5fa30fb6 [2021-05-12T20:29:48.851Z] ---> 427b28495f9c [2021-05-12T20:29:48.851Z] Step 9/10 : COPY . . [2021-05-12T20:29:49.815Z] ---> 94ef50e3d7ab [2021-05-12T20:29:49.815Z] Step 10/10 : RUN go mod download [2021-05-12T20:29:49.815Z] ---> Running in aa1dab550d4c [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:29:49.853Z] provisioning config files... [2021-05-12T20:29:49.917Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/28@tmp/config1618552944781873449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:29:50.320Z] ---> docker-login.sh [2021-05-12T20:29:50.320Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:29:51.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:51.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:51.624Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:51.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:51.624Z] [2021-05-12T20:29:51.624Z] Login Succeeded [2021-05-12T20:29:51.624Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:29:52.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:52.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:52.235Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:52.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:52.235Z] [2021-05-12T20:29:52.235Z] Login Succeeded [2021-05-12T20:29:52.235Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:29:52.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:52.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:52.836Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:52.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:52.836Z] [2021-05-12T20:29:52.836Z] Login Succeeded [2021-05-12T20:29:52.836Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:29:53.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:53.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:53.446Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:53.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:53.446Z] [2021-05-12T20:29:53.446Z] Login Succeeded [2021-05-12T20:29:53.446Z] docker.io [2021-05-12T20:29:54.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:54.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:54.348Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:54.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:54.348Z] [2021-05-12T20:29:54.348Z] Login Succeeded [2021-05-12T20:29:54.348Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:29:54.368Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:29:54.706Z] ========================================================= [2021-05-12T20:29:54.706Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:29:54.706Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:29:55.062Z] + 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-12T20:29:55.338Z] Sending build context to Docker daemon 344.6kB [2021-05-12T20:29:55.338Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:29:55.338Z] Step 2/10 : FROM ${BASE} [2021-05-12T20:29:55.644Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:29:55.644Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:29:55.644Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:29:55.644Z] 316046926c0a: Pulling fs layer [2021-05-12T20:29:55.644Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:29:55.644Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:29:55.645Z] c791037a9be2: Pulling fs layer [2021-05-12T20:29:55.645Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:29:55.645Z] 4ebd0625c992: Waiting [2021-05-12T20:29:55.645Z] 207e8628e3a3: Waiting [2021-05-12T20:29:55.645Z] c791037a9be2: Waiting [2021-05-12T20:29:55.645Z] ffd874e62e21: Waiting [2021-05-12T20:29:55.645Z] 316046926c0a: Download complete [2021-05-12T20:29:55.645Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T20:29:55.645Z] 7186ed65a4f7: Download complete [2021-05-12T20:29:55.645Z] 207e8628e3a3: Download complete [2021-05-12T20:29:55.645Z] c791037a9be2: Download complete [2021-05-12T20:29:55.645Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:29:55.645Z] 595b0fe564bb: Download complete [2021-05-12T20:29:56.252Z] 595b0fe564bb: Pull complete [2021-05-12T20:29:57.251Z] 7186ed65a4f7: Pull complete [2021-05-12T20:29:57.529Z] 316046926c0a: Pull complete [2021-05-12T20:29:57.529Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:29:57.529Z] ffd874e62e21: Download complete [2021-05-12T20:29:59.579Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:29:59.579Z] 4ebd0625c992: Download complete [2021-05-12T20:30:08.109Z] Removing intermediate container aa1dab550d4c [2021-05-12T20:30:08.110Z] ---> 77103fb4c296 [2021-05-12T20:30:08.110Z] Successfully built 77103fb4c296 [2021-05-12T20:30:08.110Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:08.450Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:30:08.450Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:08.586Z] prd-centos7-docker-4c-2g-4865 does not seem to be running inside a container [2021-05-12T20:30:08.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/28 -v /w/workspace/device-snmp-go/28:/w/workspace/device-snmp-go/28:rw,z -v /w/workspace/device-snmp-go/28@tmp:/w/workspace/device-snmp-go/28@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 ******** ci-base-image-x86_64 cat [2021-05-12T20:30:09.654Z] $ docker top 29d0ca60c41314bdc69ce95ba367a444ed20addd3506147e58fcc9ca1cecac4d -eo pid,comm [2021-05-12T20:30:09.790Z] 4ebd0625c992: Pull complete [2021-05-12T20:30:09.790Z] 207e8628e3a3: Pull complete [2021-05-12T20:30:09.790Z] c791037a9be2: Pull complete [Pipeline] { [Pipeline] sh [2021-05-12T20:30:10.154Z] + go version [2021-05-12T20:30:10.154Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:30:10.180Z] $ docker stop --time=1 29d0ca60c41314bdc69ce95ba367a444ed20addd3506147e58fcc9ca1cecac4d [2021-05-12T20:30:11.548Z] $ docker rm -f 29d0ca60c41314bdc69ce95ba367a444ed20addd3506147e58fcc9ca1cecac4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:12.141Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:30:12.141Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:12.360Z] prd-centos7-docker-4c-2g-4865 does not seem to be running inside a container [2021-05-12T20:30:12.407Z] ffd874e62e21: Pull complete [2021-05-12T20:30:12.407Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:30:12.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:30:12.407Z] ---> cfc18b08335c [2021-05-12T20:30:12.407Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-05-12T20:30:12.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/28 -v /w/workspace/device-snmp-go/28:/w/workspace/device-snmp-go/28:rw,z -v /w/workspace/device-snmp-go/28@tmp:/w/workspace/device-snmp-go/28@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 ******** ci-base-image-x86_64 cat [2021-05-12T20:30:13.277Z] $ docker top 1187dea03aeea6cd1345050c7f75c4e4282dfd50ba5ba2dd6f93b8841ed8bad2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:30:13.756Z] + go mod tidy [Pipeline] sh [2021-05-12T20:30:14.387Z] + make test [2021-05-12T20:30:14.387Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:30:14.985Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-12T20:30:15.831Z] ---> Running in 7173e866d6fb [2021-05-12T20:30:16.106Z] Removing intermediate container 7173e866d6fb [2021-05-12T20:30:16.106Z] ---> 0fd328ce6f8c [2021-05-12T20:30:16.106Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:30:16.381Z] ---> Running in bbe8e0fc0523 [2021-05-12T20:30:16.661Z] Removing intermediate container bbe8e0fc0523 [2021-05-12T20:30:16.661Z] ---> 069a3157bdd8 [2021-05-12T20:30:16.661Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-12T20:30:16.936Z] ---> Running in 5f2293fadcce [2021-05-12T20:30:17.213Z] Removing intermediate container 5f2293fadcce [2021-05-12T20:30:17.213Z] ---> 6d2c9f070652 [2021-05-12T20:30:17.213Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:30:17.485Z] ---> Running in b4fde47ceb5b [2021-05-12T20:30:20.216Z] Removing intermediate container b4fde47ceb5b [2021-05-12T20:30:20.216Z] ---> 772d4c43a311 [2021-05-12T20:30:20.216Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:30:20.216Z] ---> Running in ea19aeec839e [2021-05-12T20:30:21.199Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:30:22.170Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:30:22.768Z] OK: 138 MiB in 40 packages [2021-05-12T20:30:24.210Z] Removing intermediate container ea19aeec839e [2021-05-12T20:30:24.210Z] ---> 20208647737b [2021-05-12T20:30:24.210Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-12T20:30:24.210Z] ---> Running in 3cb3cf1adc1d [2021-05-12T20:30:24.806Z] Removing intermediate container 3cb3cf1adc1d [2021-05-12T20:30:24.806Z] ---> dda869df349b [2021-05-12T20:30:24.806Z] Step 9/10 : COPY . . [2021-05-12T20:30:25.793Z] ---> f4cb4bb6665d [2021-05-12T20:30:25.793Z] Step 10/10 : RUN go mod download [2021-05-12T20:30:25.793Z] ---> Running in e2a30d6836a4 [2021-05-12T20:30:30.085Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-12T20:30:30.086Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2021-05-12T20:30:30.086Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-12T20:30:37.108Z] gofmt -l . [2021-05-12T20:30:37.108Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:30:37.108Z] ./bin/test-attribution-txt.sh [2021-05-12T20:30:37.108Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:30:37.389Z] $ docker stop --time=1 1187dea03aeea6cd1345050c7f75c4e4282dfd50ba5ba2dd6f93b8841ed8bad2 [2021-05-12T20:30:39.700Z] $ docker rm -f 1187dea03aeea6cd1345050c7f75c4e4282dfd50ba5ba2dd6f93b8841ed8bad2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:30:40.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:30:40.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T20:30:41.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:30:41.841Z] + ls -al . [2021-05-12T20:30:41.841Z] total 104 [2021-05-12T20:30:41.841Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 12 20:30 . [2021-05-12T20:30:41.841Z] drwxrwxr-x. 4 jenkins jenkins 30 May 12 20:29 .. [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 5082 May 12 20:29 Attribution.txt [2021-05-12T20:30:41.842Z] drwxrwxr-x. 2 jenkins jenkins 87 May 12 20:29 bin [2021-05-12T20:30:41.842Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:29 cmd [2021-05-12T20:30:41.842Z] -rw-r--r--. 1 jenkins jenkins 8493 May 12 20:30 coverage.out [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 1529 May 12 20:29 Dockerfile [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 1006 May 12 20:29 Dockerfile.build [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 6 May 12 20:29 .dockerignore [2021-05-12T20:30:41.842Z] drwxrwxr-x. 8 jenkins jenkins 162 May 12 20:29 .git [2021-05-12T20:30:41.842Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:29 .github [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 272 May 12 20:29 .gitignore [2021-05-12T20:30:41.842Z] -rw-r--r--. 1 jenkins jenkins 204 May 12 20:30 go.mod [2021-05-12T20:30:41.842Z] -rw-r--r--. 1 jenkins jenkins 14055 May 12 20:30 go.sum [2021-05-12T20:30:41.842Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:29 internal [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 656 May 12 20:29 Jenkinsfile [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:29 LICENSE [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 917 May 12 20:29 Makefile [2021-05-12T20:30:41.842Z] drwxrwxr-x. 2 jenkins jenkins 84 May 12 20:29 profiles [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 14171 May 12 20:29 README.md [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 11 May 12 20:23 VERSION [2021-05-12T20:30:41.842Z] -rw-rw-r--. 1 jenkins jenkins 209 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:42.187Z] + 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=b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 --label arch=amd64 --label version=1.3.2-dev.4 . [2021-05-12T20:30:42.451Z] Sending build context to Docker daemon 354.8kB [2021-05-12T20:30:42.451Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:30:42.451Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-12T20:30:42.451Z] ---> 77103fb4c296 [2021-05-12T20:30:42.451Z] Step 3/26 : ARG MAKE='make build' [2021-05-12T20:30:42.451Z] ---> Running in 2492486e121b [2021-05-12T20:30:42.714Z] Removing intermediate container 2492486e121b [2021-05-12T20:30:42.714Z] ---> 989b9d9927c6 [2021-05-12T20:30:42.714Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-05-12T20:30:42.714Z] ---> Running in 9c183d837761 [2021-05-12T20:30:42.986Z] Removing intermediate container 9c183d837761 [2021-05-12T20:30:42.986Z] ---> 13cb7e335146 [2021-05-12T20:30:42.986Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:30:42.986Z] ---> Running in b9fa66338def [2021-05-12T20:30:43.249Z] Removing intermediate container b9fa66338def [2021-05-12T20:30:43.249Z] ---> 3f232d6218c5 [2021-05-12T20:30:43.249Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:30:43.249Z] ---> Running in d76cd6ddd4b6 [2021-05-12T20:30:44.203Z] Removing intermediate container d76cd6ddd4b6 [2021-05-12T20:30:44.203Z] ---> 9aad27ca17e3 [2021-05-12T20:30:44.203Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:30:44.203Z] ---> Running in d26c988ef978 [2021-05-12T20:30:44.794Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:30:45.745Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:30:46.017Z] OK: 149 MiB in 40 packages [2021-05-12T20:30:46.636Z] Removing intermediate container d26c988ef978 [2021-05-12T20:30:46.636Z] ---> a3babc8b4484 [2021-05-12T20:30:46.636Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-05-12T20:30:46.636Z] ---> Running in cfe9a6d6581c [2021-05-12T20:30:46.636Z] Removing intermediate container cfe9a6d6581c [2021-05-12T20:30:46.636Z] ---> fa9357ae449f [2021-05-12T20:30:46.636Z] Step 9/26 : COPY go.mod . [2021-05-12T20:30:46.903Z] ---> 115f20903e43 [2021-05-12T20:30:46.903Z] Step 10/26 : COPY Makefile . [2021-05-12T20:30:47.177Z] ---> 72a79b141b03 [2021-05-12T20:30:47.177Z] Step 11/26 : RUN make update [2021-05-12T20:30:47.177Z] ---> Running in a84aa48c4afb [2021-05-12T20:30:47.758Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T20:30:48.336Z] Removing intermediate container a84aa48c4afb [2021-05-12T20:30:48.336Z] ---> 4613fc6c6377 [2021-05-12T20:30:48.336Z] Step 12/26 : COPY . . [2021-05-12T20:30:49.289Z] ---> 7d5814d8ff3d [2021-05-12T20:30:49.289Z] Step 13/26 : RUN ${MAKE} [2021-05-12T20:30:49.289Z] ---> Running in 81524bab1e75 [2021-05-12T20:30:49.570Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.4" -o cmd/device-snmp-go ./cmd [2021-05-12T20:30:52.624Z] Removing intermediate container e2a30d6836a4 [2021-05-12T20:30:52.624Z] ---> c52e09c81264 [2021-05-12T20:30:52.624Z] Successfully built c52e09c81264 [2021-05-12T20:30:52.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:52.967Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:30:52.967Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:53.224Z] prd-ubuntu18.04-docker-arm64-4c-16g-4862 does not seem to be running inside a container [2021-05-12T20:30:53.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/28 -v /w/workspace/device-snmp-go/28:/w/workspace/device-snmp-go/28:rw,z -v /w/workspace/device-snmp-go/28@tmp:/w/workspace/device-snmp-go/28@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 ******** ci-base-image-arm64 cat [2021-05-12T20:30:54.889Z] $ docker top 41affc024fe7fa359f2c482dabfa1cc8bdda45147e4dd4b6f205a7c5bdd30866 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:30:55.882Z] + go version [2021-05-12T20:30:55.882Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:30:55.911Z] $ docker stop --time=1 41affc024fe7fa359f2c482dabfa1cc8bdda45147e4dd4b6f205a7c5bdd30866 [2021-05-12T20:30:57.832Z] $ docker rm -f 41affc024fe7fa359f2c482dabfa1cc8bdda45147e4dd4b6f205a7c5bdd30866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:58.582Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:30:58.582Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:58.824Z] prd-ubuntu18.04-docker-arm64-4c-16g-4862 does not seem to be running inside a container [2021-05-12T20:30:58.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/28 -v /w/workspace/device-snmp-go/28:/w/workspace/device-snmp-go/28:rw,z -v /w/workspace/device-snmp-go/28@tmp:/w/workspace/device-snmp-go/28@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 ******** ci-base-image-arm64 cat [2021-05-12T20:30:59.695Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-05-12T20:31:00.453Z] $ docker top 52a8768c66a88a03af8e14d0dd4115e7e0b775484b2e779771822ee34f04da73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:31:01.416Z] + go mod tidy [Pipeline] sh [2021-05-12T20:31:02.311Z] Removing intermediate container 81524bab1e75 [2021-05-12T20:31:02.311Z] ---> f25597eff35c [2021-05-12T20:31:02.311Z] Step 14/26 : FROM alpine:3.12 [2021-05-12T20:31:02.311Z] 3.12: Pulling from library/alpine [2021-05-12T20:31:02.582Z] 339de151aab4: Pulling fs layer [2021-05-12T20:31:02.582Z] 339de151aab4: Verifying Checksum [2021-05-12T20:31:02.582Z] 339de151aab4: Download complete [2021-05-12T20:31:02.741Z] + make test [2021-05-12T20:31:02.742Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:31:02.846Z] 339de151aab4: Pull complete [2021-05-12T20:31:02.846Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:31:03.113Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:31:03.113Z] ---> 13621d1b12d4 [2021-05-12T20:31:03.113Z] Step 15/26 : ENV APP_PORT=49993 [2021-05-12T20:31:03.113Z] ---> Running in 344bb8d66481 [2021-05-12T20:31:03.377Z] Removing intermediate container 344bb8d66481 [2021-05-12T20:31:03.377Z] ---> eaac122c1c30 [2021-05-12T20:31:03.377Z] Step 16/26 : EXPOSE $APP_PORT [2021-05-12T20:31:03.377Z] ---> Running in 6b2c14f00bb5 [2021-05-12T20:31:03.377Z] Removing intermediate container 6b2c14f00bb5 [2021-05-12T20:31:03.377Z] ---> f56034d09357 [2021-05-12T20:31:03.377Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-05-12T20:31:03.639Z] ---> Running in f301d12e19ac [2021-05-12T20:31:03.734Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-12T20:31:03.905Z] Removing intermediate container f301d12e19ac [2021-05-12T20:31:03.905Z] ---> bbddf302df11 [2021-05-12T20:31:03.905Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-05-12T20:31:03.905Z] ---> Running in 0c698417e977 [2021-05-12T20:31:03.905Z] Removing intermediate container 0c698417e977 [2021-05-12T20:31:03.905Z] ---> 70a7731b9380 [2021-05-12T20:31:03.905Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-05-12T20:31:04.856Z] ---> b0aca78958fb [2021-05-12T20:31:04.856Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-05-12T20:31:04.856Z] ---> 5847342a49a2 [2021-05-12T20:31:04.856Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-05-12T20:31:05.119Z] ---> a7f1c44f52d2 [2021-05-12T20:31:05.119Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-05-12T20:31:05.383Z] ---> Running in 10c61ad1cfba [2021-05-12T20:31:05.383Z] Removing intermediate container 10c61ad1cfba [2021-05-12T20:31:05.383Z] ---> 326283b71b7c [2021-05-12T20:31:05.383Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T20:31:05.646Z] ---> Running in 616ca7034afc [2021-05-12T20:31:05.646Z] Removing intermediate container 616ca7034afc [2021-05-12T20:31:05.646Z] ---> b8f2d7903282 [2021-05-12T20:31:05.646Z] Step 24/26 : LABEL arch=amd64 [2021-05-12T20:31:05.646Z] ---> Running in c04acd6112bc [2021-05-12T20:31:05.908Z] Removing intermediate container c04acd6112bc [2021-05-12T20:31:05.908Z] ---> 536ba18973f8 [2021-05-12T20:31:05.908Z] Step 25/26 : LABEL git_sha=b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [2021-05-12T20:31:05.908Z] ---> Running in 8d000435869f [2021-05-12T20:31:06.172Z] Removing intermediate container 8d000435869f [2021-05-12T20:31:06.172Z] ---> 4e1539241b2e [2021-05-12T20:31:06.172Z] Step 26/26 : LABEL version=1.3.2-dev.4 [2021-05-12T20:31:06.172Z] ---> Running in a92b2fc74526 [2021-05-12T20:31:06.437Z] Removing intermediate container a92b2fc74526 [2021-05-12T20:31:06.437Z] ---> c3508064fb5c [2021-05-12T20:31:06.437Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:31:06.437Z] Successfully built c3508064fb5c [2021-05-12T20:31:06.437Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:31:06.591Z] provisioning config files... [2021-05-12T20:31:06.643Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/28@tmp/config7548848555709787049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:31:06.968Z] ---> docker-login.sh [2021-05-12T20:31:06.968Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:31:06.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:31:07.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:31:07.233Z] Configure a credential helper to remove this warning. See [2021-05-12T20:31:07.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:31:07.233Z] [2021-05-12T20:31:07.233Z] Login Succeeded [2021-05-12T20:31:07.233Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:31:07.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:31:07.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:31:07.501Z] Configure a credential helper to remove this warning. See [2021-05-12T20:31:07.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:31:07.501Z] [2021-05-12T20:31:07.501Z] Login Succeeded [2021-05-12T20:31:07.501Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:31:07.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:31:07.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:31:07.765Z] Configure a credential helper to remove this warning. See [2021-05-12T20:31:07.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:31:07.765Z] [2021-05-12T20:31:07.765Z] Login Succeeded [2021-05-12T20:31:07.765Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:31:08.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:31:08.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:31:08.027Z] Configure a credential helper to remove this warning. See [2021-05-12T20:31:08.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:31:08.027Z] [2021-05-12T20:31:08.027Z] Login Succeeded [2021-05-12T20:31:08.027Z] docker.io [2021-05-12T20:31:08.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:31:08.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:31:08.559Z] Configure a credential helper to remove this warning. See [2021-05-12T20:31:08.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:31:08.559Z] [2021-05-12T20:31:08.559Z] Login Succeeded [2021-05-12T20:31:08.559Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:31:08.569Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:31:08.638Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-05-12T20:31:08.638Z] b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [2021-05-12T20:31:08.638Z] latest [2021-05-12T20:31:08.638Z] 1.3.2-dev.4 [2021-05-12T20:31:08.638Z] b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4 [2021-05-12T20:31:08.638Z] master [2021-05-12T20:31:08.638Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:08.995Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:09.309Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [2021-05-12T20:31:09.309Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-12T20:31:09.309Z] cff953fe0836: Preparing [2021-05-12T20:31:09.309Z] 3b6722a620f1: Preparing [2021-05-12T20:31:09.309Z] 1ff0097be5ba: Preparing [2021-05-12T20:31:09.309Z] 32f366d666a5: Preparing [2021-05-12T20:31:09.309Z] 32f366d666a5: Layer already exists [2021-05-12T20:31:09.573Z] 3b6722a620f1: Pushed [2021-05-12T20:31:09.573Z] cff953fe0836: Pushed [2021-05-12T20:31:10.528Z] 1ff0097be5ba: Pushed [2021-05-12T20:31:10.528Z] b9bb0f464ba5331cbfb8b81286d8c6a09b387d39: digest: sha256:16c05798dbec9c3c438ab0cddf62b016b452fa093d56af5a60d9ba1e544462ef size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:10.846Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:11.158Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-05-12T20:31:11.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-12T20:31:11.158Z] cff953fe0836: Preparing [2021-05-12T20:31:11.158Z] 3b6722a620f1: Preparing [2021-05-12T20:31:11.158Z] 1ff0097be5ba: Preparing [2021-05-12T20:31:11.158Z] 32f366d666a5: Preparing [2021-05-12T20:31:11.158Z] 3b6722a620f1: Layer already exists [2021-05-12T20:31:11.158Z] cff953fe0836: Layer already exists [2021-05-12T20:31:11.158Z] 32f366d666a5: Layer already exists [2021-05-12T20:31:11.158Z] 1ff0097be5ba: Layer already exists [2021-05-12T20:31:11.158Z] latest: digest: sha256:16c05798dbec9c3c438ab0cddf62b016b452fa093d56af5a60d9ba1e544462ef size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:11.474Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:11.785Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.4 [2021-05-12T20:31:11.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-12T20:31:11.785Z] cff953fe0836: Preparing [2021-05-12T20:31:11.785Z] 3b6722a620f1: Preparing [2021-05-12T20:31:11.785Z] 1ff0097be5ba: Preparing [2021-05-12T20:31:11.785Z] 32f366d666a5: Preparing [2021-05-12T20:31:11.785Z] 32f366d666a5: Layer already exists [2021-05-12T20:31:11.785Z] 3b6722a620f1: Layer already exists [2021-05-12T20:31:11.785Z] 1ff0097be5ba: Layer already exists [2021-05-12T20:31:11.785Z] cff953fe0836: Layer already exists [2021-05-12T20:31:11.785Z] 1.3.2-dev.4: digest: sha256:16c05798dbec9c3c438ab0cddf62b016b452fa093d56af5a60d9ba1e544462ef size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:12.097Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:12.403Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4 [2021-05-12T20:31:12.403Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-12T20:31:12.403Z] cff953fe0836: Preparing [2021-05-12T20:31:12.403Z] 3b6722a620f1: Preparing [2021-05-12T20:31:12.403Z] 1ff0097be5ba: Preparing [2021-05-12T20:31:12.403Z] 32f366d666a5: Preparing [2021-05-12T20:31:12.403Z] cff953fe0836: Layer already exists [2021-05-12T20:31:12.403Z] 1ff0097be5ba: Layer already exists [2021-05-12T20:31:12.403Z] 32f366d666a5: Layer already exists [2021-05-12T20:31:12.403Z] 3b6722a620f1: Layer already exists [2021-05-12T20:31:12.403Z] b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4: digest: sha256:16c05798dbec9c3c438ab0cddf62b016b452fa093d56af5a60d9ba1e544462ef size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:12.715Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:31:13.017Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:master [2021-05-12T20:31:13.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-12T20:31:13.017Z] cff953fe0836: Preparing [2021-05-12T20:31:13.017Z] 3b6722a620f1: Preparing [2021-05-12T20:31:13.017Z] 1ff0097be5ba: Preparing [2021-05-12T20:31:13.017Z] 32f366d666a5: Preparing [2021-05-12T20:31:13.017Z] 3b6722a620f1: Layer already exists [2021-05-12T20:31:13.017Z] cff953fe0836: Layer already exists [2021-05-12T20:31:13.017Z] 32f366d666a5: Layer already exists [2021-05-12T20:31:13.017Z] 1ff0097be5ba: Layer already exists [2021-05-12T20:31:13.017Z] master: digest: sha256:16c05798dbec9c3c438ab0cddf62b016b452fa093d56af5a60d9ba1e544462ef size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:31:13.083Z] ===================================================== [Pipeline] echo [2021-05-12T20:31:13.101Z] taggedImages: [2021-05-12T20:31:13.101Z] - nexus3.edgexfoundry.org:10004/device-snmp:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [2021-05-12T20:31:13.101Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-05-12T20:31:13.101Z] - nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.4 [2021-05-12T20:31:13.101Z] - nexus3.edgexfoundry.org:10004/device-snmp:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4 [2021-05-12T20:31:13.101Z] - 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-12T20:31:13.585Z] ---> job-cost.sh [2021-05-12T20:31:13.585Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8cBk [2021-05-12T20:31:28.537Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:31:50.802Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-12T20:31:50.803Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2021-05-12T20:31:50.803Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-12T20:31:55.726Z] lf-activate-venv(): INFO: Adding /tmp/venv-8cBk/bin to PATH [2021-05-12T20:31:55.726Z] INFO: No Stack... [2021-05-12T20:31:55.726Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:31:56.673Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:31:56.986Z] + cat /w/workspace/device-snmp-go/28/archives/cost.csv [2021-05-12T20:31:56.986Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:31:57.067Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-28-stack-cost] [2021-05-12T20:31:57.077Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-28-stack-cost] did not exist. Created. [2021-05-12T20:31:57.077Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:31:57.411Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:31:57.539Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:31:57.564Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-28-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:32:13.003Z] gofmt -l . [2021-05-12T20:32:13.003Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:32:13.003Z] ./bin/test-attribution-txt.sh [2021-05-12T20:32:13.003Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:32:13.025Z] $ docker stop --time=1 52a8768c66a88a03af8e14d0dd4115e7e0b775484b2e779771822ee34f04da73 [2021-05-12T20:32:15.183Z] $ docker rm -f 52a8768c66a88a03af8e14d0dd4115e7e0b775484b2e779771822ee34f04da73 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:32:16.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:32:16.085Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:32:17.024Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:32:17.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:32:17.888Z] + ls -al . [2021-05-12T20:32:17.888Z] total 132 [2021-05-12T20:32:17.888Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:32 . [2021-05-12T20:32:17.888Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 .. [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 6 May 12 20:29 .dockerignore [2021-05-12T20:32:17.888Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:29 .git [2021-05-12T20:32:17.888Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 .github [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 272 May 12 20:29 .gitignore [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 5082 May 12 20:29 Attribution.txt [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 1529 May 12 20:29 Dockerfile [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 1006 May 12 20:29 Dockerfile.build [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 656 May 12 20:29 Jenkinsfile [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:29 LICENSE [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 917 May 12 20:29 Makefile [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 14171 May 12 20:29 README.md [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 11 May 12 20:23 VERSION [2021-05-12T20:32:17.888Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 bin [2021-05-12T20:32:17.888Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 cmd [2021-05-12T20:32:17.888Z] -rw-r--r-- 1 jenkins jenkins 8493 May 12 20:31 coverage.out [2021-05-12T20:32:17.888Z] -rw-r--r-- 1 jenkins jenkins 204 May 12 20:32 go.mod [2021-05-12T20:32:17.888Z] -rw-r--r-- 1 jenkins jenkins 14055 May 12 20:31 go.sum [2021-05-12T20:32:17.888Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 internal [2021-05-12T20:32:17.888Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 profiles [2021-05-12T20:32:17.888Z] -rw-rw-r-- 1 jenkins jenkins 209 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:32:18.443Z] + 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=b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 --label arch=arm64 --label version=1.3.2-dev.4 . [2021-05-12T20:32:18.724Z] Sending build context to Docker daemon 353.8kB [2021-05-12T20:32:18.724Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:32:18.724Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-12T20:32:18.724Z] ---> c52e09c81264 [2021-05-12T20:32:18.724Z] Step 3/26 : ARG MAKE='make build' [2021-05-12T20:32:19.031Z] ---> Running in 4610a63cf709 [2021-05-12T20:32:19.644Z] Removing intermediate container 4610a63cf709 [2021-05-12T20:32:19.644Z] ---> 30a14142bab2 [2021-05-12T20:32:19.644Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-05-12T20:32:19.644Z] ---> Running in dd4ef5b6706a [2021-05-12T20:32:20.240Z] Removing intermediate container dd4ef5b6706a [2021-05-12T20:32:20.240Z] ---> 1f4cae99f334 [2021-05-12T20:32:20.240Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:32:20.240Z] ---> Running in b33550713383 [2021-05-12T20:32:20.835Z] Removing intermediate container b33550713383 [2021-05-12T20:32:20.835Z] ---> a28293c2834d [2021-05-12T20:32:20.835Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:32:20.835Z] ---> Running in 8839f981025e [2021-05-12T20:32:23.453Z] Removing intermediate container 8839f981025e [2021-05-12T20:32:23.453Z] ---> 1a03de46a4ac [2021-05-12T20:32:23.453Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:32:23.453Z] ---> Running in 30a85d98aef5 [2021-05-12T20:32:24.427Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:32:25.401Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:32:25.997Z] OK: 138 MiB in 40 packages [2021-05-12T20:32:27.428Z] Removing intermediate container 30a85d98aef5 [2021-05-12T20:32:27.428Z] ---> 95cd0ef789c8 [2021-05-12T20:32:27.428Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-05-12T20:32:27.428Z] ---> Running in 85a1ca423930 [2021-05-12T20:32:28.019Z] Removing intermediate container 85a1ca423930 [2021-05-12T20:32:28.019Z] ---> dd8e54d40216 [2021-05-12T20:32:28.019Z] Step 9/26 : COPY go.mod . [2021-05-12T20:32:28.613Z] ---> 3f809396e749 [2021-05-12T20:32:28.613Z] Step 10/26 : COPY Makefile . [2021-05-12T20:32:29.211Z] ---> b778fe44c84c [2021-05-12T20:32:29.211Z] Step 11/26 : RUN make update [2021-05-12T20:32:29.484Z] ---> Running in a7aefbdb54b2 [2021-05-12T20:32:30.463Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T20:32:31.897Z] Removing intermediate container a7aefbdb54b2 [2021-05-12T20:32:31.897Z] ---> c6bfc28f9689 [2021-05-12T20:32:31.897Z] Step 12/26 : COPY . . [2021-05-12T20:32:32.872Z] ---> b64641b15c9c [2021-05-12T20:32:32.872Z] Step 13/26 : RUN ${MAKE} [2021-05-12T20:32:32.872Z] ---> Running in be3fdfac241e [2021-05-12T20:32:33.855Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.4" -o cmd/device-snmp-go ./cmd [2021-05-12T20:33:06.257Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-05-12T20:33:08.252Z] Removing intermediate container be3fdfac241e [2021-05-12T20:33:08.252Z] ---> 85bdaf0b51f3 [2021-05-12T20:33:08.252Z] Step 14/26 : FROM alpine:3.12 [2021-05-12T20:33:08.523Z] 3.12: Pulling from library/alpine [2021-05-12T20:33:08.795Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:33:09.067Z] d2f70382dc9a: Verifying Checksum [2021-05-12T20:33:09.067Z] d2f70382dc9a: Download complete [2021-05-12T20:33:09.662Z] d2f70382dc9a: Pull complete [2021-05-12T20:33:09.662Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:33:09.662Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:33:09.662Z] ---> 9852663dfa18 [2021-05-12T20:33:09.662Z] Step 15/26 : ENV APP_PORT=49993 [2021-05-12T20:33:09.936Z] ---> Running in 51c2eb820d2f [2021-05-12T20:33:10.210Z] Removing intermediate container 51c2eb820d2f [2021-05-12T20:33:10.210Z] ---> 6bdb6d128e24 [2021-05-12T20:33:10.210Z] Step 16/26 : EXPOSE $APP_PORT [2021-05-12T20:33:10.485Z] ---> Running in 87152cf6bbc9 [2021-05-12T20:33:10.757Z] Removing intermediate container 87152cf6bbc9 [2021-05-12T20:33:10.757Z] ---> a1c7bbda572f [2021-05-12T20:33:10.757Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-05-12T20:33:11.031Z] ---> Running in bb0deff82315 [2021-05-12T20:33:11.679Z] Removing intermediate container bb0deff82315 [2021-05-12T20:33:11.679Z] ---> 6cdf2b81e33f [2021-05-12T20:33:11.679Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-05-12T20:33:11.679Z] ---> Running in b1ab7d353c32 [2021-05-12T20:33:11.953Z] Removing intermediate container b1ab7d353c32 [2021-05-12T20:33:11.953Z] ---> 34a68ed025b1 [2021-05-12T20:33:11.953Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-05-12T20:33:13.389Z] ---> ed08a7e79862 [2021-05-12T20:33:13.389Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-05-12T20:33:13.983Z] ---> 8b7e7118a673 [2021-05-12T20:33:13.983Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-05-12T20:33:14.959Z] ---> c70169b9b0e8 [2021-05-12T20:33:14.959Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-05-12T20:33:14.959Z] ---> Running in 5d1977de24f8 [2021-05-12T20:33:15.556Z] Removing intermediate container 5d1977de24f8 [2021-05-12T20:33:15.556Z] ---> 7eb27ba71805 [2021-05-12T20:33:15.556Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T20:33:15.556Z] ---> Running in 270feccd9e50 [2021-05-12T20:33:16.159Z] Removing intermediate container 270feccd9e50 [2021-05-12T20:33:16.159Z] ---> 35321f670fcd [2021-05-12T20:33:16.159Z] Step 24/26 : LABEL arch=arm64 [2021-05-12T20:33:16.159Z] ---> Running in 5e1812216ff0 [2021-05-12T20:33:16.757Z] Removing intermediate container 5e1812216ff0 [2021-05-12T20:33:16.757Z] ---> c89f331cf8ea [2021-05-12T20:33:16.757Z] Step 25/26 : LABEL git_sha=b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [2021-05-12T20:33:16.757Z] ---> Running in ea7db539b471 [2021-05-12T20:33:17.351Z] Removing intermediate container ea7db539b471 [2021-05-12T20:33:17.351Z] ---> b3decff46edb [2021-05-12T20:33:17.351Z] Step 26/26 : LABEL version=1.3.2-dev.4 [2021-05-12T20:33:17.351Z] ---> Running in cbe1eccd2dde [2021-05-12T20:33:17.633Z] Removing intermediate container cbe1eccd2dde [2021-05-12T20:33:17.633Z] ---> a881a9c4a43e [2021-05-12T20:33:17.633Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:33:17.907Z] Successfully built a881a9c4a43e [2021-05-12T20:33:17.907Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:33:18.059Z] provisioning config files... [2021-05-12T20:33:18.115Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/28@tmp/config5304016522498323703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:33:18.484Z] ---> docker-login.sh [2021-05-12T20:33:18.484Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:33:18.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:19.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:19.026Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:19.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:19.026Z] [2021-05-12T20:33:19.026Z] Login Succeeded [2021-05-12T20:33:19.027Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:33:19.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:19.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:19.574Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:19.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:19.574Z] [2021-05-12T20:33:19.574Z] Login Succeeded [2021-05-12T20:33:19.574Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:33:20.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:20.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:20.169Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:20.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:20.169Z] [2021-05-12T20:33:20.169Z] Login Succeeded [2021-05-12T20:33:20.169Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:33:20.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:20.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:20.766Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:20.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:20.766Z] [2021-05-12T20:33:20.766Z] Login Succeeded [2021-05-12T20:33:20.766Z] docker.io [2021-05-12T20:33:21.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:21.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:21.630Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:21.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:21.630Z] [2021-05-12T20:33:21.630Z] Login Succeeded [2021-05-12T20:33:21.630Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:33:21.648Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:33:21.726Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-05-12T20:33:21.726Z] b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [2021-05-12T20:33:21.726Z] latest [2021-05-12T20:33:21.726Z] 1.3.2-dev.4 [2021-05-12T20:33:21.726Z] b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4 [2021-05-12T20:33:21.726Z] master [2021-05-12T20:33:21.726Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:22.132Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:22.499Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [2021-05-12T20:33:22.499Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-12T20:33:22.499Z] 53d985ee4a46: Preparing [2021-05-12T20:33:22.499Z] d4a1b2f645f7: Preparing [2021-05-12T20:33:22.499Z] bf1bb6559ad3: Preparing [2021-05-12T20:33:22.499Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:22.772Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:22.772Z] 53d985ee4a46: Pushed [2021-05-12T20:33:22.772Z] d4a1b2f645f7: Pushed [2021-05-12T20:33:25.389Z] bf1bb6559ad3: Pushed [2021-05-12T20:33:25.389Z] b9bb0f464ba5331cbfb8b81286d8c6a09b387d39: digest: sha256:71ffc9dc95e6229188b1100b0d5dc9409ff1ab17218028382e68784bd111413a size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:25.751Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:26.102Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-05-12T20:33:26.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-12T20:33:26.103Z] 53d985ee4a46: Preparing [2021-05-12T20:33:26.103Z] d4a1b2f645f7: Preparing [2021-05-12T20:33:26.103Z] bf1bb6559ad3: Preparing [2021-05-12T20:33:26.103Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:26.374Z] d4a1b2f645f7: Layer already exists [2021-05-12T20:33:26.375Z] 53d985ee4a46: Layer already exists [2021-05-12T20:33:26.375Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:26.375Z] bf1bb6559ad3: Layer already exists [2021-05-12T20:33:26.375Z] latest: digest: sha256:71ffc9dc95e6229188b1100b0d5dc9409ff1ab17218028382e68784bd111413a size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:26.722Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:27.077Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.4 [2021-05-12T20:33:27.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-12T20:33:27.077Z] 53d985ee4a46: Preparing [2021-05-12T20:33:27.077Z] d4a1b2f645f7: Preparing [2021-05-12T20:33:27.077Z] bf1bb6559ad3: Preparing [2021-05-12T20:33:27.077Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:27.348Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:27.348Z] d4a1b2f645f7: Layer already exists [2021-05-12T20:33:27.348Z] bf1bb6559ad3: Layer already exists [2021-05-12T20:33:27.348Z] 53d985ee4a46: Layer already exists [2021-05-12T20:33:27.348Z] 1.3.2-dev.4: digest: sha256:71ffc9dc95e6229188b1100b0d5dc9409ff1ab17218028382e68784bd111413a size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:27.697Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:28.047Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4 [2021-05-12T20:33:28.048Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-12T20:33:28.048Z] 53d985ee4a46: Preparing [2021-05-12T20:33:28.048Z] d4a1b2f645f7: Preparing [2021-05-12T20:33:28.048Z] bf1bb6559ad3: Preparing [2021-05-12T20:33:28.048Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:28.323Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:28.323Z] 53d985ee4a46: Layer already exists [2021-05-12T20:33:28.323Z] bf1bb6559ad3: Layer already exists [2021-05-12T20:33:28.323Z] d4a1b2f645f7: Layer already exists [2021-05-12T20:33:28.323Z] b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4: digest: sha256:71ffc9dc95e6229188b1100b0d5dc9409ff1ab17218028382e68784bd111413a size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:28.673Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:29.017Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [2021-05-12T20:33:29.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-12T20:33:29.017Z] 53d985ee4a46: Preparing [2021-05-12T20:33:29.017Z] d4a1b2f645f7: Preparing [2021-05-12T20:33:29.017Z] bf1bb6559ad3: Preparing [2021-05-12T20:33:29.017Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:29.295Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:29.295Z] 53d985ee4a46: Layer already exists [2021-05-12T20:33:29.295Z] d4a1b2f645f7: Layer already exists [2021-05-12T20:33:29.295Z] bf1bb6559ad3: Layer already exists [2021-05-12T20:33:29.295Z] master: digest: sha256:71ffc9dc95e6229188b1100b0d5dc9409ff1ab17218028382e68784bd111413a size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:33:29.376Z] ===================================================== [Pipeline] echo [2021-05-12T20:33:29.392Z] taggedImages: [2021-05-12T20:33:29.392Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [2021-05-12T20:33:29.392Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-05-12T20:33:29.392Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.4 [2021-05-12T20:33:29.392Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:b9bb0f464ba5331cbfb8b81286d8c6a09b387d39-1.3.2-dev.4 [2021-05-12T20:33:29.392Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:33:29.778Z] ---> job-cost.sh [2021-05-12T20:33:29.778Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gK74 [2021-05-12T20:34:16.769Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:35:53.510Z] lf-activate-venv(): INFO: Adding /tmp/venv-gK74/bin to PATH [2021-05-12T20:35:53.510Z] INFO: No Stack... [2021-05-12T20:35:53.510Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:35:53.510Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:35:53.856Z] + cat /w/workspace/device-snmp-go/28/archives/cost.csv [2021-05-12T20:35:53.857Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:35:53.982Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-28-stack-cost] [2021-05-12T20:35:53.997Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-28-stack-cost] did not exist. Created. [2021-05-12T20:35:53.997Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:35:54.368Z] /w/workspace/device-snmp-go/28@tmp/durable-fce9d8f4/script.sh: 1: /w/workspace/device-snmp-go/28@tmp/durable-fce9d8f4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:35:54.715Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:35:54.735Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:35:54.885Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:35:54.904Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-28-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] wrap [2021-05-12T20:35:55.628Z] provisioning config files... [2021-05-12T20:35:55.638Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config5534873886471869619tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:35:55.970Z] + set +x [2021-05-12T20:35:55.970Z] + curl -s https://codecov.io/bash [2021-05-12T20:35:55.970Z] + bash -s -- [2021-05-12T20:35:56.232Z] [2021-05-12T20:35:56.232Z] _____ _ [2021-05-12T20:35:56.232Z] / ____| | | [2021-05-12T20:35:56.232Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:35:56.232Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:35:56.232Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:35:56.232Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:35:56.232Z] Bash-1.0.2 [2021-05-12T20:35:56.232Z] [2021-05-12T20:35:56.232Z] [2021-05-12T20:35:56.232Z] ==> git version 2.24.3 found [2021-05-12T20:35:56.232Z] ==> 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-12T20:35:56.232Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:35:56.232Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:35:56.232Z] ==> Jenkins CI detected. [2021-05-12T20:35:56.232Z] project root: . [2021-05-12T20:35:56.232Z] --> token set from env [2021-05-12T20:35:56.232Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:35:56.232Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:35:56.232Z] ==> Python coveragepy not found [2021-05-12T20:35:56.232Z] ==> Searching for coverage reports in: [2021-05-12T20:35:56.232Z] + . [2021-05-12T20:35:56.232Z] -> Found 1 reports [2021-05-12T20:35:56.232Z] ==> Detecting git/mercurial file structure [2021-05-12T20:35:56.232Z] ==> Reading reports [2021-05-12T20:35:56.232Z] + ./coverage.out bytes=8493 [2021-05-12T20:35:56.232Z] ==> Appending adjustments [2021-05-12T20:35:56.232Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:35:56.232Z] + Found adjustments [2021-05-12T20:35:56.232Z] ==> Gzipping contents [2021-05-12T20:35:56.232Z] 4.0K /tmp/codecov.wf5AaO.gz [2021-05-12T20:35:56.232Z] ==> Uploading reports [2021-05-12T20:35:56.232Z] url: https://codecov.io [2021-05-12T20:35:56.232Z] query: branch=master&commit=b9bb0f464ba5331cbfb8b81286d8c6a09b387d39&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T20:35:56.232Z] -> Pinging Codecov [2021-05-12T20:35:56.232Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=b9bb0f464ba5331cbfb8b81286d8c6a09b387d39&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T20:35:56.806Z] -> Uploading to [2021-05-12T20:35:56.806Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/6C56EA5C29638FB4528AC87E60AF5AE0/b9bb0f464ba5331cbfb8b81286d8c6a09b387d39/6af41609-e4dd-4da5-9615-0fca87be63e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T203556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4053625383dfd923dcdc578794f6d520abbe67f6c70967d8bd90cf7499790b8e [2021-05-12T20:35:56.806Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:35:56.806Z] Dload Upload Total Spent Left Speed [2021-05-12T20:35:57.379Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 3110 --:--:-- --:--:-- --:--:-- 3105 [2021-05-12T20:35:57.379Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [Pipeline] } [2021-05-12T20:35:57.389Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-12T20:35:58.055Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-12T20:35:58.085Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:35:58.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:35:58.551Z] [2021-05-12T20:35:58.551Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:35:58.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:35:58.912Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-12T20:35:58.913Z] 188c0c94c7c5: Pulling fs layer [2021-05-12T20:35:58.913Z] 0ef7d3d256c8: Pulling fs layer [2021-05-12T20:35:58.913Z] de9db76c5a1d: Pulling fs layer [2021-05-12T20:35:58.913Z] 0eba1c9be4d2: Pulling fs layer [2021-05-12T20:35:58.913Z] 0d57e429df01: Pulling fs layer [2021-05-12T20:35:58.913Z] 4e4be7b47b0d: Pulling fs layer [2021-05-12T20:35:58.913Z] e1f770b5df2f: Pulling fs layer [2021-05-12T20:35:58.913Z] 85a0685a4137: Pulling fs layer [2021-05-12T20:35:58.913Z] 0d57e429df01: Waiting [2021-05-12T20:35:58.913Z] 4e4be7b47b0d: Waiting [2021-05-12T20:35:58.913Z] e1f770b5df2f: Waiting [2021-05-12T20:35:58.913Z] 85a0685a4137: Waiting [2021-05-12T20:35:58.913Z] 0eba1c9be4d2: Waiting [2021-05-12T20:35:58.913Z] de9db76c5a1d: Verifying Checksum [2021-05-12T20:35:58.913Z] de9db76c5a1d: Download complete [2021-05-12T20:35:59.183Z] 188c0c94c7c5: Download complete [2021-05-12T20:35:59.183Z] 0d57e429df01: Verifying Checksum [2021-05-12T20:35:59.183Z] 0d57e429df01: Download complete [2021-05-12T20:35:59.184Z] 0ef7d3d256c8: Verifying Checksum [2021-05-12T20:35:59.184Z] 0ef7d3d256c8: Download complete [2021-05-12T20:35:59.184Z] 4e4be7b47b0d: Verifying Checksum [2021-05-12T20:35:59.184Z] 4e4be7b47b0d: Download complete [2021-05-12T20:35:59.445Z] 188c0c94c7c5: Pull complete [2021-05-12T20:35:59.707Z] 0ef7d3d256c8: Pull complete [2021-05-12T20:35:59.707Z] de9db76c5a1d: Pull complete [2021-05-12T20:36:00.653Z] e1f770b5df2f: Verifying Checksum [2021-05-12T20:36:00.653Z] e1f770b5df2f: Download complete [2021-05-12T20:36:03.242Z] 85a0685a4137: Verifying Checksum [2021-05-12T20:36:03.242Z] 85a0685a4137: Download complete [2021-05-12T20:36:03.242Z] 0eba1c9be4d2: Download complete [2021-05-12T20:36:09.894Z] 0eba1c9be4d2: Pull complete [2021-05-12T20:36:09.894Z] 0d57e429df01: Pull complete [2021-05-12T20:36:09.894Z] 4e4be7b47b0d: Pull complete [2021-05-12T20:36:11.287Z] e1f770b5df2f: Pull complete [2021-05-12T20:36:17.935Z] 85a0685a4137: Pull complete [2021-05-12T20:36:17.935Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-12T20:36:17.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:36:17.935Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-12T20:36:18.128Z] prd-centos7-docker-4c-2g-4848 does not seem to be running inside a container [2021-05-12T20:36:18.178Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-12T20:36:19.203Z] $ docker top 6c1ec85b413bf9f7870ec8eaeff53469d3925bf133c03b535cf6c34491868a99 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-12T20:36:19.323Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-12T20:36:19.618Z] + set -o pipefail [2021-05-12T20:36:19.618Z] + snyk monitor '--org=edgex-jenkins' [2021-05-12T20:36:27.781Z] [2021-05-12T20:36:27.781Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2021-05-12T20:36:27.781Z] [2021-05-12T20:36:27.781Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/da265d7b-1446-4e1a-b5ff-37538950c681 [2021-05-12T20:36:27.781Z] [2021-05-12T20:36:27.782Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-12T20:36:27.782Z] [2021-05-12T20:36:27.782Z] [Pipeline] } [2021-05-12T20:36:27.800Z] $ docker stop --time=1 6c1ec85b413bf9f7870ec8eaeff53469d3925bf133c03b535cf6c34491868a99 [2021-05-12T20:36:30.614Z] $ docker rm -f 6c1ec85b413bf9f7870ec8eaeff53469d3925bf133c03b535cf6c34491868a99 [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-12T20:36:31.610Z] + git log --format=format:%s -1 b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:36:31.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:36:31.922Z] . [Pipeline] withDockerContainer [2021-05-12T20:36:32.017Z] prd-centos7-docker-4c-2g-4848 does not seem to be running inside a container [2021-05-12T20:36:32.060Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:36:32.728Z] $ docker top e5460b882a3b3f1dfc9163a71edacfcf928faf78c6dc01b39e7321201cfc340b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:36:32.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:36:32.876Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:36:33.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:36:33.074Z] $ docker exec e5460b882a3b3f1dfc9163a71edacfcf928faf78c6dc01b39e7321201cfc340b ssh-agent [2021-05-12T20:36:33.255Z] SSH_AUTH_SOCK=/tmp/ssh-GV4zQgGv11Ub/agent.11 [2021-05-12T20:36:33.255Z] SSH_AGENT_PID=16 [2021-05-12T20:36:33.263Z] Running ssh-add (command line suppressed) [2021-05-12T20:36:33.391Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7453703910579802843.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7453703910579802843.key) [2021-05-12T20:36:33.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:36:33.744Z] + git semver tag [2021-05-12T20:36:33.744Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:36:33.744Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-12T20:36:33.744Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-12T20:36:33.744Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:36:33.744Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:36:33.744Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:36:33.744Z] # $SEMVER_BRANCH = master [2021-05-12T20:36:33.744Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-05-12T20:36:33.744Z] # b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 HEAD [2021-05-12T20:36:34.007Z] # -> Force: false [2021-05-12T20:36:34.007Z] # b1b64bc252a207759dbf8415c88ae93b28f5c50e refs/tags/v1.3.2-dev.4 [Pipeline] } [2021-05-12T20:36:34.021Z] $ docker exec --env ******** --env ******** e5460b882a3b3f1dfc9163a71edacfcf928faf78c6dc01b39e7321201cfc340b ssh-agent -k [2021-05-12T20:36:34.144Z] unset SSH_AUTH_SOCK; [2021-05-12T20:36:34.145Z] unset SSH_AGENT_PID; [2021-05-12T20:36:34.145Z] echo Agent pid 16 killed; [2021-05-12T20:36:34.192Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:36:34.553Z] + git semver [Pipeline] } [2021-05-12T20:36:34.571Z] $ docker stop --time=1 e5460b882a3b3f1dfc9163a71edacfcf928faf78c6dc01b39e7321201cfc340b [2021-05-12T20:36:35.973Z] $ docker rm -f e5460b882a3b3f1dfc9163a71edacfcf928faf78c6dc01b39e7321201cfc340b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:36:36.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:36:36.465Z] [2021-05-12T20:36:36.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:36:36.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:36:36.777Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-12T20:36:36.777Z] ab5ef0e58194: Pulling fs layer [2021-05-12T20:36:36.777Z] 9712f1f96733: Pulling fs layer [2021-05-12T20:36:36.777Z] 63f879dbbcfc: Pulling fs layer [2021-05-12T20:36:36.777Z] 0d9ebad4ef96: Pulling fs layer [2021-05-12T20:36:36.777Z] e9a5061849ea: Pulling fs layer [2021-05-12T20:36:36.777Z] d747dcd14b5f: Pulling fs layer [2021-05-12T20:36:36.777Z] 2de7ff778b66: Pulling fs layer [2021-05-12T20:36:36.777Z] e9a5061849ea: Waiting [2021-05-12T20:36:36.777Z] d747dcd14b5f: Waiting [2021-05-12T20:36:36.777Z] 2de7ff778b66: Waiting [2021-05-12T20:36:36.777Z] 0d9ebad4ef96: Waiting [2021-05-12T20:36:36.777Z] 9712f1f96733: Verifying Checksum [2021-05-12T20:36:36.777Z] 9712f1f96733: Download complete [2021-05-12T20:36:38.694Z] 63f879dbbcfc: Verifying Checksum [2021-05-12T20:36:38.694Z] 63f879dbbcfc: Download complete [2021-05-12T20:36:38.694Z] e9a5061849ea: Verifying Checksum [2021-05-12T20:36:38.694Z] e9a5061849ea: Download complete [2021-05-12T20:36:38.694Z] d747dcd14b5f: Verifying Checksum [2021-05-12T20:36:38.694Z] d747dcd14b5f: Download complete [2021-05-12T20:36:38.956Z] 0d9ebad4ef96: Verifying Checksum [2021-05-12T20:36:38.956Z] 0d9ebad4ef96: Download complete [2021-05-12T20:36:38.956Z] 2de7ff778b66: Verifying Checksum [2021-05-12T20:36:38.956Z] 2de7ff778b66: Download complete [2021-05-12T20:36:39.535Z] ab5ef0e58194: Verifying Checksum [2021-05-12T20:36:39.535Z] ab5ef0e58194: Download complete [2021-05-12T20:36:43.784Z] ab5ef0e58194: Pull complete [2021-05-12T20:36:43.784Z] 9712f1f96733: Pull complete [2021-05-12T20:36:45.723Z] 63f879dbbcfc: Pull complete [2021-05-12T20:36:52.343Z] 0d9ebad4ef96: Pull complete [2021-05-12T20:36:52.920Z] e9a5061849ea: Pull complete [2021-05-12T20:36:52.920Z] d747dcd14b5f: Pull complete [2021-05-12T20:36:55.481Z] 2de7ff778b66: Pull complete [2021-05-12T20:36:55.481Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-12T20:36:55.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:36:55.481Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-12T20:36:55.693Z] prd-centos7-docker-4c-2g-4848 does not seem to be running inside a container [2021-05-12T20:36:55.740Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-12T20:36:58.667Z] $ docker top c601d4b3482223234a0ade1b49ca4bc1e548ed71f2528b5f17903f8654b87496 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:36:58.857Z] provisioning config files... [2021-05-12T20:36:58.867Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3349807587543450691tmp [2021-05-12T20:36:58.884Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7366519436794504606tmp [2021-05-12T20:36:58.901Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2961244981554496001tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:36:58.924Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:36:59.229Z] ---> sigul-configuration.sh [2021-05-12T20:36:59.229Z] gpg: directory `/root/.gnupg' created [2021-05-12T20:36:59.229Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-12T20:36:59.229Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-12T20:36:59.229Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-12T20:36:59.229Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-12T20:36:59.229Z] gpg: CAST5 encrypted data [2021-05-12T20:36:59.492Z] gpg: encrypted with 1 passphrase [2021-05-12T20:36:59.492Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-12T20:36:59.790Z] + mkdir /home/jenkins [2021-05-12T20:36:59.790Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-12T20:37:00.085Z] + 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-12T20:37:00.097Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:00.402Z] ---> sigul-install.sh [2021-05-12T20:37:08.555Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-12T20:37:08.855Z] + git tag --list [2021-05-12T20:37:08.855Z] 1.0.0 [2021-05-12T20:37:08.855Z] v0.0.0 [2021-05-12T20:37:08.855Z] v1.1.0 [2021-05-12T20:37:08.855Z] v1.1.1 [2021-05-12T20:37:08.855Z] v1.2.2 [2021-05-12T20:37:08.855Z] v1.3.0 [2021-05-12T20:37:08.855Z] v1.3.1 [2021-05-12T20:37:08.855Z] v1.3.1-dev.1 [2021-05-12T20:37:08.855Z] v1.3.1-dev.2 [2021-05-12T20:37:08.855Z] v1.3.1-dev.3 [2021-05-12T20:37:08.855Z] v1.3.1-dev.4 [2021-05-12T20:37:08.855Z] v1.3.2-dev.1 [2021-05-12T20:37:08.855Z] v1.3.2-dev.2 [2021-05-12T20:37:08.855Z] v1.3.2-dev.3 [2021-05-12T20:37:08.855Z] v1.3.2-dev.4 [Pipeline] sh [2021-05-12T20:37:09.168Z] + lftools sign git-tag v1.3.2-dev.4 [2021-05-12T20:37:10.652Z] Signing Git tag with Sigul... [2021-05-12T20:37:10.652Z] Signing v1.3.2-dev.4 [Pipeline] echo [2021-05-12T20:37:11.321Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:11.620Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-12T20:37:11.630Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-12T20:37:11.660Z] $ docker stop --time=1 c601d4b3482223234a0ade1b49ca4bc1e548ed71f2528b5f17903f8654b87496 [2021-05-12T20:37:13.789Z] $ docker rm -f c601d4b3482223234a0ade1b49ca4bc1e548ed71f2528b5f17903f8654b87496 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:14.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:37:14.370Z] . [Pipeline] withDockerContainer [2021-05-12T20:37:14.474Z] prd-centos7-docker-4c-2g-4848 does not seem to be running inside a container [2021-05-12T20:37:14.529Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:37:15.352Z] $ docker top 94e3d58a6d2b54f6015c41ec426ebf8cdad985beb3ceca277469f9a97afb68dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:37:15.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:37:15.518Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:37:15.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:37:15.729Z] $ docker exec 94e3d58a6d2b54f6015c41ec426ebf8cdad985beb3ceca277469f9a97afb68dd ssh-agent [2021-05-12T20:37:15.913Z] SSH_AUTH_SOCK=/tmp/ssh-PighDpyZvg6i/agent.12 [2021-05-12T20:37:15.913Z] SSH_AGENT_PID=17 [2021-05-12T20:37:15.921Z] Running ssh-add (command line suppressed) [2021-05-12T20:37:16.055Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_138531848710418882.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_138531848710418882.key) [2021-05-12T20:37:16.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:37:16.415Z] + git semver bump pre [2021-05-12T20:37:16.415Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:37:16.415Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-12T20:37:16.415Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-12T20:37:16.415Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:37:16.415Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:37:16.415Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:37:16.415Z] # $SEMVER_BRANCH = master [2021-05-12T20:37:16.415Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-05-12T20:37:16.415Z] 1.3.2-dev.5 [Pipeline] } [2021-05-12T20:37:16.429Z] $ docker exec --env ******** --env ******** 94e3d58a6d2b54f6015c41ec426ebf8cdad985beb3ceca277469f9a97afb68dd ssh-agent -k [2021-05-12T20:37:16.542Z] unset SSH_AUTH_SOCK; [2021-05-12T20:37:16.542Z] unset SSH_AGENT_PID; [2021-05-12T20:37:16.542Z] echo Agent pid 17 killed; [2021-05-12T20:37:16.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:37:16.936Z] + git semver [Pipeline] } [2021-05-12T20:37:16.959Z] $ docker stop --time=1 94e3d58a6d2b54f6015c41ec426ebf8cdad985beb3ceca277469f9a97afb68dd [2021-05-12T20:37:18.339Z] $ docker rm -f 94e3d58a6d2b54f6015c41ec426ebf8cdad985beb3ceca277469f9a97afb68dd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:18.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:37:18.762Z] . [Pipeline] withDockerContainer [2021-05-12T20:37:18.880Z] prd-centos7-docker-4c-2g-4848 does not seem to be running inside a container [2021-05-12T20:37:18.926Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:37:19.542Z] $ docker top cb944d2726f1734644693b1322d095e5916658efd1a5cf5631bc5a87fc18ee34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:37:19.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:37:19.754Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:37:19.936Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:37:19.939Z] $ docker exec cb944d2726f1734644693b1322d095e5916658efd1a5cf5631bc5a87fc18ee34 ssh-agent [2021-05-12T20:37:20.113Z] SSH_AUTH_SOCK=/tmp/ssh-RIAXdQZfB77M/agent.12 [2021-05-12T20:37:20.113Z] SSH_AGENT_PID=18 [2021-05-12T20:37:20.141Z] Running ssh-add (command line suppressed) [2021-05-12T20:37:20.267Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_716106619742785943.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_716106619742785943.key) [2021-05-12T20:37:20.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:37:20.624Z] + git semver push [2021-05-12T20:37:20.624Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:37:20.624Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-12T20:37:20.624Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-12T20:37:20.624Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:37:20.624Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:37:20.624Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:37:20.624Z] # $SEMVER_BRANCH = master [2021-05-12T20:37:20.624Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-05-12T20:37:24.862Z] $ docker exec --env ******** --env ******** cb944d2726f1734644693b1322d095e5916658efd1a5cf5631bc5a87fc18ee34 ssh-agent -k [2021-05-12T20:37:24.993Z] unset SSH_AUTH_SOCK; [2021-05-12T20:37:24.995Z] unset SSH_AGENT_PID; [2021-05-12T20:37:24.995Z] echo Agent pid 18 killed; [2021-05-12T20:37:25.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:37:25.375Z] + git semver [Pipeline] } [2021-05-12T20:37:25.391Z] $ docker stop --time=1 cb944d2726f1734644693b1322d095e5916658efd1a5cf5631bc5a87fc18ee34 [2021-05-12T20:37:26.774Z] $ docker rm -f cb944d2726f1734644693b1322d095e5916658efd1a5cf5631bc5a87fc18ee34 [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-12T20:37:27.486Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:28.064Z] ---> package-listing.sh [2021-05-12T20:37:28.064Z] ++ facter osfamily [2021-05-12T20:37:28.064Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:37:28.064Z] + OS_FAMILY=redhat [2021-05-12T20:37:28.064Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2021-05-12T20:37:28.064Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:37:28.064Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:37:28.064Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:37:28.064Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:37:28.064Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-05-12T20:37:28.064Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:37:28.064Z] + case "${OS_FAMILY}" in [2021-05-12T20:37:28.064Z] + rpm -qa [2021-05-12T20:37:28.064Z] + sort [2021-05-12T20:37:32.287Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:37:32.287Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:37:32.287Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:37:32.287Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-05-12T20:37:32.287Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2021-05-12T20:37:32.287Z] + 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-12T20:37:32.310Z] 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-12T20:37:32.609Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:32.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:37:32.915Z] [2021-05-12T20:37:32.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:33.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:37:33.229Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:37:33.229Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:37:33.229Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:37:33.229Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:37:33.229Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:37:33.229Z] 93b61091891f: Pulling fs layer [2021-05-12T20:37:33.229Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:37:33.229Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:37:33.229Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:37:33.229Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:37:33.229Z] 46f8f816bc3b: Waiting [2021-05-12T20:37:33.229Z] 5e14af77c1be: Waiting [2021-05-12T20:37:33.229Z] 01666e4c0597: Waiting [2021-05-12T20:37:33.229Z] 93b61091891f: Waiting [2021-05-12T20:37:33.229Z] 93b9cdb0e59b: Waiting [2021-05-12T20:37:33.229Z] aa168da1d23b: Waiting [2021-05-12T20:37:33.229Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T20:37:33.229Z] 36b3adc4ff6f: Download complete [2021-05-12T20:37:33.229Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T20:37:33.229Z] 46f8f816bc3b: Download complete [2021-05-12T20:37:33.495Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:37:33.495Z] df20fa9351a1: Download complete [2021-05-12T20:37:33.495Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:37:33.495Z] 93b9cdb0e59b: Download complete [2021-05-12T20:37:33.495Z] 93b61091891f: Download complete [2021-05-12T20:37:33.495Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:37:33.495Z] 01666e4c0597: Download complete [2021-05-12T20:37:33.495Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:37:33.495Z] 5e14af77c1be: Download complete [2021-05-12T20:37:33.495Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:37:33.495Z] 8ad3a11d3b57: Download complete [2021-05-12T20:37:33.756Z] df20fa9351a1: Pull complete [2021-05-12T20:37:34.025Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:37:34.601Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:37:34.863Z] 46f8f816bc3b: Pull complete [2021-05-12T20:37:35.125Z] 93b61091891f: Pull complete [2021-05-12T20:37:35.125Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:37:35.388Z] 5e14af77c1be: Pull complete [2021-05-12T20:37:35.388Z] 01666e4c0597: Pull complete [2021-05-12T20:37:38.731Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:37:38.731Z] aa168da1d23b: Download complete [2021-05-12T20:37:45.361Z] aa168da1d23b: Pull complete [2021-05-12T20:37:45.361Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:37:45.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:37:45.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:37:45.544Z] prd-centos7-docker-4c-2g-4848 does not seem to be running inside a container [2021-05-12T20:37:45.592Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T20:37:48.603Z] $ docker top 3843ae68ba6b6f9f158939e320f247c335ce1b3ac412cf89dd85e7957e5d8b67 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:37:49.044Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:37:49.481Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:37:49.788Z] + ls /var/log/sa-host [2021-05-12T20:37:49.788Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:37:49.788Z] file_magic: OK [2021-05-12T20:37:49.788Z] HZ: Using current value: 100 [2021-05-12T20:37:49.788Z] file_header: OK [2021-05-12T20:37:49.788Z] 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-12T20:37:49.788Z] Statistics: [2021-05-12T20:37:49.788Z] 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-12T20:37:49.788Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:37:49.788Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:37:49.788Z] file_magic: OK [2021-05-12T20:37:49.788Z] HZ: Using current value: 100 [2021-05-12T20:37:49.788Z] file_header: OK [2021-05-12T20:37:49.788Z] 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-12T20:37:49.788Z] Statistics: [2021-05-12T20:37:49.788Z] Hnuu...uuuununununu... [2021-05-12T20:37:49.788Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:37:49.985Z] provisioning config files... [2021-05-12T20:37:49.999Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3247704225537235341tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:37:50.020Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:50.316Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:37:50.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:37:50.354Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:50.649Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:37:50.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:50.956Z] ---> sudo-logs.sh [2021-05-12T20:37:50.956Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:37:50.985Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:51.281Z] ---> job-cost.sh [2021-05-12T20:37:51.281Z] lf-activate-venv: SKIPPING [2021-05-12T20:37:51.281Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:37:51.281Z] INFO: Retrieving Stack Cost... [2021-05-12T20:37:52.223Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:37:52.796Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:37:52.810Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:53.103Z] ---> logs-deploy.sh [2021-05-12T20:37:53.103Z] lf-activate-venv: SKIPPING [2021-05-12T20:37:53.103Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/28 [2021-05-12T20:37:53.103Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:37:55.020Z] Archives upload complete. [2021-05-12T20:37:55.020Z] INFO: archiving logs to Nexus