Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 561c5a452436cba8707a8b2c6132209bc86d4f3d 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19422 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 Checking out Revision 561c5a452436cba8707a8b2c6132209bc86d4f3d (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 Commit message: "Merge pull request #84 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" > git rev-list --no-walk fcccfd94587541a74c874275ff1808fa86f63ccd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-11T06:25:03.929Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T06:25:04.184Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T06:25:04.276Z] ========================================================= [2021-01-11T06:25:04.276Z] EdgeX Global Pipelines Version Info [2021-01-11T06:25:04.276Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:25:06.249Z] ------------------- [2021-01-11T06:25:06.249Z] stable info: [2021-01-11T06:25:06.249Z] ------------------- [2021-01-11T06:25:06.249Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T06:25:06.249Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:25:06.249Z] Message: update stable to v1.0.173 [2021-01-11T06:25:06.828Z] ------------------- [2021-01-11T06:25:06.828Z] experimental info: [2021-01-11T06:25:06.828Z] ------------------- [2021-01-11T06:25:06.828Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T06:25:06.828Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:25:06.828Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T06:25:07.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-01-11T06:25:07.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-01-11T06:25:07.327Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T06:25:07.428Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T06:25:07.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T06:25:07.636Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T06:25:07.730Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T06:25:07.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T06:25:07.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T06:25:07.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T06:25:08.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T06:25:08.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-01-11T06:25:08.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T06:25:08.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T06:25:08.456Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T06:25:08.543Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T06:25:08.650Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T06:25:08.764Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T06:25:08.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T06:25:08.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-11T06:25:09.066Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T06:25:09.152Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T06:25:09.264Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T06:25:09.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T06:25:09.459Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T06:25:09.553Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T06:25:09.637Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T06:25:09.729Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-11T06:25:09.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-11T06:25:09.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-11T06:25:10.035Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] echo [2021-01-11T06:25:10.169Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 561c5a4 [Pipeline] echo [2021-01-11T06:25:10.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:25:10.503Z] provisioning config files... [2021-01-11T06:25:10.540Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3646345020160991204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:25:10.920Z] ---> docker-login.sh [2021-01-11T06:25:10.920Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:25:11.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:25:11.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:25:11.455Z] Configure a credential helper to remove this warning. See [2021-01-11T06:25:11.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:25:11.455Z] [2021-01-11T06:25:11.455Z] Login Succeeded [2021-01-11T06:25:11.455Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:25:11.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:25:11.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:25:11.455Z] Configure a credential helper to remove this warning. See [2021-01-11T06:25:11.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:25:11.455Z] [2021-01-11T06:25:11.455Z] Login Succeeded [2021-01-11T06:25:11.455Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:25:11.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:25:11.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:25:11.730Z] Configure a credential helper to remove this warning. See [2021-01-11T06:25:11.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:25:11.730Z] [2021-01-11T06:25:11.730Z] Login Succeeded [2021-01-11T06:25:11.730Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:25:11.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:25:11.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:25:11.996Z] Configure a credential helper to remove this warning. See [2021-01-11T06:25:11.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:25:11.996Z] [2021-01-11T06:25:11.996Z] Login Succeeded [2021-01-11T06:25:11.996Z] docker.io [2021-01-11T06:25:11.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:25:12.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:25:12.262Z] Configure a credential helper to remove this warning. See [2021-01-11T06:25:12.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:25:12.262Z] [2021-01-11T06:25:12.262Z] Login Succeeded [2021-01-11T06:25:12.262Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:25:12.273Z] 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-01-11T06:25:13.186Z] + git log --format=format:%s -1 561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] echo [2021-01-11T06:25:13.264Z] GIT_COMMIT: 561c5a452436cba8707a8b2c6132209bc86d4f3d, Commit Message: Merge pull request #84 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0 [Pipeline] echo [2021-01-11T06:25:13.313Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:25:13.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:25:13.929Z] [2021-01-11T06:25:13.929Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:25:14.301Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:25:14.301Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T06:25:14.301Z] 31603596830f: Pulling fs layer [2021-01-11T06:25:14.301Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T06:25:14.301Z] 6ca5941a6612: Pulling fs layer [2021-01-11T06:25:14.301Z] ecc8261a40a4: Pulling fs layer [2021-01-11T06:25:14.301Z] ecc8261a40a4: Waiting [2021-01-11T06:25:14.301Z] 2a8b12db71e7: Download complete [2021-01-11T06:25:14.301Z] 31603596830f: Verifying Checksum [2021-01-11T06:25:14.301Z] 31603596830f: Download complete [2021-01-11T06:25:14.569Z] ecc8261a40a4: Verifying Checksum [2021-01-11T06:25:14.569Z] ecc8261a40a4: Download complete [2021-01-11T06:25:14.569Z] 6ca5941a6612: Verifying Checksum [2021-01-11T06:25:14.569Z] 6ca5941a6612: Download complete [2021-01-11T06:25:15.038Z] 31603596830f: Pull complete [2021-01-11T06:25:15.038Z] 2a8b12db71e7: Pull complete [2021-01-11T06:25:15.618Z] 6ca5941a6612: Pull complete [2021-01-11T06:25:15.884Z] ecc8261a40a4: Pull complete [2021-01-11T06:25:15.884Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T06:25:16.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:25:16.148Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T06:25:16.262Z] prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container [2021-01-11T06:25:16.338Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-11T06:25:18.415Z] $ docker top cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T06:25:18.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:25:18.742Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:25:18.990Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:25:18.994Z] $ docker exec cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 ssh-agent [2021-01-11T06:25:19.169Z] SSH_AUTH_SOCK=/tmp/ssh-fM8JrDNHD9Dn/agent.13 [2021-01-11T06:25:19.169Z] SSH_AGENT_PID=18 [2021-01-11T06:25:19.181Z] Running ssh-add (command line suppressed) [2021-01-11T06:25:19.326Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6045503711138276622.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6045503711138276622.key) [2021-01-11T06:25:19.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:25:19.750Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T06:25:19.773Z] $ docker exec --env ******** --env ******** cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 ssh-agent -k [2021-01-11T06:25:19.913Z] unset SSH_AUTH_SOCK; [2021-01-11T06:25:19.914Z] unset SSH_AGENT_PID; [2021-01-11T06:25:19.914Z] echo Agent pid 18 killed; [2021-01-11T06:25:19.973Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T06:25:20.201Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:25:20.201Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:25:20.408Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:25:20.413Z] $ docker exec cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 ssh-agent [2021-01-11T06:25:20.605Z] SSH_AUTH_SOCK=/tmp/ssh-5YY8WK3x6Qop/agent.48 [2021-01-11T06:25:20.605Z] SSH_AGENT_PID=53 [2021-01-11T06:25:20.614Z] Running ssh-add (command line suppressed) [2021-01-11T06:25:20.756Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6313534734343860555.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6313534734343860555.key) [2021-01-11T06:25:20.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:25:21.168Z] + git semver init [2021-01-11T06:25:21.168Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T06:25:21.168Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-01-11T06:25:21.168Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-01-11T06:25:21.168Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T06:25:21.168Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T06:25:21.168Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T06:25:21.168Z] # $SEMVER_BRANCH = master [2021-01-11T06:25:21.168Z] # $SEMVER_TEMP = /tmp/semver-255549286 [2021-01-11T06:25:21.168Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-01-11T06:25:21.435Z] # '/tmp/semver-255549286' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2021-01-11T06:25:21.435Z] # -> Force: false [2021-01-11T06:25:21.435Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-01-11T06:25:21.450Z] $ docker exec --env ******** --env ******** cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 ssh-agent -k [2021-01-11T06:25:21.572Z] unset SSH_AUTH_SOCK; [2021-01-11T06:25:21.572Z] unset SSH_AGENT_PID; [2021-01-11T06:25:21.572Z] echo Agent pid 53 killed; [2021-01-11T06:25:21.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T06:25:22.150Z] + git semver [Pipeline] } [2021-01-11T06:25:22.172Z] $ docker stop --time=1 cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 [2021-01-11T06:25:23.536Z] $ docker rm -f cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T06:25:24.048Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T06:25:24.625Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T06:25:24.628Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.3 [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-01-11T06:25:40.156Z] Still waiting to schedule task [2021-01-11T06:25:40.156Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19427’ is offline; ‘prd-centos7-docker-4c-2g-19428’ is offline; ‘prd-centos7-docker-4c-2g-19429’ is offline; ‘prd-centos7-docker-4c-2g-19430’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19425’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19426’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-11T06:25:40.159Z] Still waiting to schedule task [2021-01-11T06:25:40.159Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-11T06:26:00.106Z] Running on prd-centos7-docker-4c-2g-19430 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-01-11T06:26:00.167Z] Running in /w/workspace/device-snmp-go/21 [Pipeline] { [Pipeline] checkout [2021-01-11T06:26:03.120Z] using credential edgex-jenkins-ssh [2021-01-11T06:26:03.169Z] Cloning the remote Git repository [2021-01-11T06:26:03.224Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-11T06:26:03.318Z] > git init /w/workspace/device-snmp-go/21 # timeout=10 [2021-01-11T06:26:03.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-11T06:26:03.405Z] > git --version # timeout=10 [2021-01-11T06:26:03.412Z] > git --version # 'git version 2.24.3' [2021-01-11T06:26:03.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:26:03.441Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:26:04.351Z] Checking out Revision 561c5a452436cba8707a8b2c6132209bc86d4f3d (master) [2021-01-11T06:26:03.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-11T06:26:03.948Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:26:03.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-11T06:26:03.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-11T06:26:03.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:26:03.989Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T06:26:04.361Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:26:04.365Z] > git checkout -f 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 [2021-01-11T06:26:08.215Z] Commit message: "Merge pull request #84 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:26:09.539Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:26:09.896Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:26:10.260Z] + sudo service docker restart [2021-01-11T06:26:10.260Z] + true [2021-01-11T06:26:10.260Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:26:11.722Z] provisioning config files... [2021-01-11T06:26:11.755Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config6648591232698859865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:26:12.114Z] ---> docker-login.sh [2021-01-11T06:26:12.114Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:26:12.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:26:12.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:26:12.385Z] Configure a credential helper to remove this warning. See [2021-01-11T06:26:12.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:26:12.385Z] [2021-01-11T06:26:12.385Z] Login Succeeded [2021-01-11T06:26:12.385Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:26:12.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:26:12.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:26:12.921Z] Configure a credential helper to remove this warning. See [2021-01-11T06:26:12.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:26:12.921Z] [2021-01-11T06:26:12.921Z] Login Succeeded [2021-01-11T06:26:12.921Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:26:12.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:26:13.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:26:13.188Z] Configure a credential helper to remove this warning. See [2021-01-11T06:26:13.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:26:13.188Z] [2021-01-11T06:26:13.188Z] Login Succeeded [2021-01-11T06:26:13.188Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:26:13.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:26:13.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:26:13.454Z] Configure a credential helper to remove this warning. See [2021-01-11T06:26:13.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:26:13.454Z] [2021-01-11T06:26:13.454Z] Login Succeeded [2021-01-11T06:26:13.454Z] docker.io [2021-01-11T06:26:13.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:26:13.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:26:13.716Z] Configure a credential helper to remove this warning. See [2021-01-11T06:26:13.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:26:13.716Z] [2021-01-11T06:26:13.716Z] Login Succeeded [2021-01-11T06:26:13.716Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:26:13.727Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T06:26:14.038Z] ========================================================= [2021-01-11T06:26:14.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T06:26:14.038Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:26:14.390Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-11T06:26:14.391Z] Sending build context to Docker daemon 326.1kB [2021-01-11T06:26:14.654Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:26:14.655Z] Step 2/10 : FROM ${BASE} [2021-01-11T06:26:14.655Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T06:26:14.655Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T06:26:14.655Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T06:26:14.655Z] de9db76c5a1d: Pulling fs layer [2021-01-11T06:26:14.655Z] bca2f99d35d6: Pulling fs layer [2021-01-11T06:26:14.655Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T06:26:14.655Z] 7c6f9722023f: Pulling fs layer [2021-01-11T06:26:14.655Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T06:26:14.655Z] 93359f2a8cfa: Waiting [2021-01-11T06:26:14.655Z] 7c6f9722023f: Waiting [2021-01-11T06:26:14.655Z] a35cf1a2eb13: Waiting [2021-01-11T06:26:14.655Z] bca2f99d35d6: Waiting [2021-01-11T06:26:14.655Z] de9db76c5a1d: Verifying Checksum [2021-01-11T06:26:14.655Z] de9db76c5a1d: Download complete [2021-01-11T06:26:14.655Z] 0ef7d3d256c8: Verifying Checksum [2021-01-11T06:26:14.655Z] 0ef7d3d256c8: Download complete [2021-01-11T06:26:14.655Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T06:26:14.655Z] 93359f2a8cfa: Download complete [2021-01-11T06:26:14.655Z] 7c6f9722023f: Download complete [2021-01-11T06:26:14.918Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T06:26:14.918Z] 188c0c94c7c5: Download complete [2021-01-11T06:26:15.182Z] 188c0c94c7c5: Pull complete [2021-01-11T06:26:15.182Z] 0ef7d3d256c8: Pull complete [2021-01-11T06:26:15.446Z] de9db76c5a1d: Pull complete [2021-01-11T06:26:22.053Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T06:26:22.053Z] a35cf1a2eb13: Download complete [2021-01-11T06:26:23.980Z] bca2f99d35d6: Verifying Checksum [2021-01-11T06:26:23.980Z] bca2f99d35d6: Download complete [2021-01-11T06:26:29.307Z] bca2f99d35d6: Pull complete [2021-01-11T06:26:29.307Z] 93359f2a8cfa: Pull complete [2021-01-11T06:26:29.307Z] 7c6f9722023f: Pull complete [2021-01-11T06:26:39.355Z] a35cf1a2eb13: Pull complete [2021-01-11T06:26:39.355Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T06:26:39.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T06:26:39.355Z] ---> a62c8e92a672 [2021-01-11T06:26:39.355Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:26:39.355Z] ---> Running in dff88a7215ab [2021-01-11T06:26:39.355Z] Removing intermediate container dff88a7215ab [2021-01-11T06:26:39.355Z] ---> f44080885e5b [2021-01-11T06:26:39.355Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:26:39.355Z] ---> Running in 276f3ac5139e [2021-01-11T06:26:39.355Z] Removing intermediate container 276f3ac5139e [2021-01-11T06:26:39.355Z] ---> 08e0d054ac76 [2021-01-11T06:26:39.355Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-11T06:26:39.355Z] ---> Running in 347106048fe4 [2021-01-11T06:26:39.355Z] Removing intermediate container 347106048fe4 [2021-01-11T06:26:39.355Z] ---> 7305b874610c [2021-01-11T06:26:39.355Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:26:39.355Z] ---> Running in 37e3db547e55 [2021-01-11T06:26:39.625Z] Removing intermediate container 37e3db547e55 [2021-01-11T06:26:39.625Z] ---> d739fd0205a7 [2021-01-11T06:26:39.625Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:26:39.888Z] ---> Running in fdd3362ed789 [2021-01-11T06:26:40.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T06:26:42.233Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T06:26:44.158Z] OK: 166 MiB in 39 packages [2021-01-11T06:26:44.750Z] Removing intermediate container fdd3362ed789 [2021-01-11T06:26:44.750Z] ---> c5a682f33434 [2021-01-11T06:26:44.750Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-11T06:26:44.750Z] ---> Running in 9b7c51484445 [2021-01-11T06:26:45.014Z] Removing intermediate container 9b7c51484445 [2021-01-11T06:26:45.015Z] ---> 366f80a925a0 [2021-01-11T06:26:45.015Z] Step 9/10 : COPY . . [2021-01-11T06:26:45.996Z] ---> b4d8d3b6200a [2021-01-11T06:26:45.996Z] Step 10/10 : RUN go mod download [2021-01-11T06:26:45.996Z] ---> Running in 0a0ec00f7019 [2021-01-11T06:27:08.058Z] Removing intermediate container 0a0ec00f7019 [2021-01-11T06:27:08.058Z] ---> 506a91b0f3b3 [2021-01-11T06:27:08.058Z] Successfully built 506a91b0f3b3 [2021-01-11T06:27:08.058Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:27:08.374Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T06:27:08.374Z] . [Pipeline] withDockerContainer [2021-01-11T06:27:08.490Z] prd-centos7-docker-4c-2g-19430 does not seem to be running inside a container [2021-01-11T06:27:08.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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-x86_64 cat [2021-01-11T06:27:09.315Z] $ docker top 31d84b33a398f4ab9f2eac7e7784a216d35f5fa8f67f0770d9e59da3b4fc4682 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:27:09.823Z] + go version [2021-01-11T06:27:09.823Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T06:27:09.838Z] $ docker stop --time=1 31d84b33a398f4ab9f2eac7e7784a216d35f5fa8f67f0770d9e59da3b4fc4682 [2021-01-11T06:27:11.250Z] $ docker rm -f 31d84b33a398f4ab9f2eac7e7784a216d35f5fa8f67f0770d9e59da3b4fc4682 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:27:12.147Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T06:27:12.147Z] . [Pipeline] withDockerContainer [2021-01-11T06:27:12.247Z] prd-centos7-docker-4c-2g-19430 does not seem to be running inside a container [2021-01-11T06:27:12.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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-x86_64 cat [2021-01-11T06:27:12.998Z] $ docker top a5ee81103443dbc3ea627ec21cdb5920634d8b6bed7758b2be9ca79e6a54db1b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:27:13.511Z] + make test [2021-01-11T06:27:13.511Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T06:27:14.093Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-11T06:27:18.845Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19433 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-01-11T06:27:18.899Z] Running in /w/workspace/device-snmp-go/21 [Pipeline] { [Pipeline] checkout [2021-01-11T06:27:24.383Z] using credential edgex-jenkins-ssh [2021-01-11T06:27:24.438Z] Cloning the remote Git repository [2021-01-11T06:27:24.518Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-11T06:27:24.624Z] > git init /w/workspace/device-snmp-go/21 # timeout=10 [2021-01-11T06:27:24.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-11T06:27:24.722Z] > git --version # timeout=10 [2021-01-11T06:27:24.747Z] > git --version # 'git version 2.17.1' [2021-01-11T06:27:24.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:27:24.812Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:27:26.324Z] Checking out Revision 561c5a452436cba8707a8b2c6132209bc86d4f3d (master) [2021-01-11T06:27:26.458Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-01-11T06:27:26.458Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements [2021-01-11T06:27:26.458Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T06:27:25.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-11T06:27:25.595Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:27:25.626Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-11T06:27:25.745Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-11T06:27:25.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:27:25.787Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T06:27:26.357Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:27:26.372Z] > git checkout -f 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 [2021-01-11T06:27:26.729Z] gofmt -l . [2021-01-11T06:27:26.995Z] [ "`gofmt -l .`" = "" ] [2021-01-11T06:27:26.995Z] ./bin/test-attribution-txt.sh [2021-01-11T06:27:27.574Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-11T06:27:27.591Z] $ docker stop --time=1 a5ee81103443dbc3ea627ec21cdb5920634d8b6bed7758b2be9ca79e6a54db1b [2021-01-11T06:27:30.079Z] $ docker rm -f a5ee81103443dbc3ea627ec21cdb5920634d8b6bed7758b2be9ca79e6a54db1b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T06:27:30.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T06:27:31.077Z] Commit message: "Merge pull request #84 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" [2021-01-11T06:27:31.092Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-11T06:27:32.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:27:32.636Z] + ls -al . [2021-01-11T06:27:32.637Z] total 104 [2021-01-11T06:27:32.637Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 11 06:27 . [2021-01-11T06:27:32.637Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 11 06:26 .. [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 5082 Jan 11 06:26 Attribution.txt [2021-01-11T06:27:32.637Z] drwxrwxr-x. 2 jenkins jenkins 87 Jan 11 06:26 bin [2021-01-11T06:27:32.637Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 06:26 cmd [2021-01-11T06:27:32.637Z] -rw-r--r--. 1 jenkins jenkins 8493 Jan 11 06:27 coverage.out [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 1529 Jan 11 06:26 Dockerfile [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 1006 Jan 11 06:26 Dockerfile.build [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 6 Jan 11 06:26 .dockerignore [2021-01-11T06:27:32.637Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 11 06:26 .git [2021-01-11T06:27:32.637Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 06:26 .github [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 272 Jan 11 06:26 .gitignore [2021-01-11T06:27:32.637Z] -rw-r--r--. 1 jenkins jenkins 204 Jan 11 06:27 go.mod [2021-01-11T06:27:32.637Z] -rw-r--r--. 1 jenkins jenkins 14156 Jan 11 06:27 go.sum [2021-01-11T06:27:32.637Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 11 06:26 internal [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 656 Jan 11 06:26 Jenkinsfile [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 06:26 LICENSE [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 937 Jan 11 06:26 Makefile [2021-01-11T06:27:32.637Z] drwxrwxr-x. 2 jenkins jenkins 84 Jan 11 06:26 profiles [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 12398 Jan 11 06:26 README.md [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 11 06:25 VERSION [2021-01-11T06:27:32.637Z] -rw-rw-r--. 1 jenkins jenkins 209 Jan 11 06:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:27:33.416Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-01-11T06:27:33.436Z] + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=561c5a452436cba8707a8b2c6132209bc86d4f3d --label arch=amd64 --label version=1.3.1-dev.3 . [2021-01-11T06:27:33.436Z] Sending build context to Docker daemon 335.4kB [2021-01-11T06:27:33.436Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:27:33.436Z] Step 2/26 : FROM ${BASE} AS builder [Pipeline] sh [2021-01-11T06:27:33.702Z] ---> 506a91b0f3b3 [2021-01-11T06:27:33.702Z] Step 3/26 : ARG MAKE='make build' [2021-01-11T06:27:33.702Z] ---> Running in 8da77157f3a2 [2021-01-11T06:27:33.861Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:27:33.968Z] Removing intermediate container 8da77157f3a2 [2021-01-11T06:27:33.968Z] ---> 2fa3b746c803 [2021-01-11T06:27:33.968Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:27:33.968Z] ---> Running in fd994c492630 [2021-01-11T06:27:34.221Z] + + sudotrue service [2021-01-11T06:27:34.221Z] docker restart [2021-01-11T06:27:34.231Z] Removing intermediate container fd994c492630 [2021-01-11T06:27:34.231Z] ---> 5c82fd46ad06 [2021-01-11T06:27:34.231Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:27:34.231Z] ---> Running in 0b2dc1d54d97 [2021-01-11T06:27:34.494Z] Removing intermediate container 0b2dc1d54d97 [2021-01-11T06:27:34.494Z] ---> 06a2b38b2e52 [2021-01-11T06:27:34.494Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:27:34.494Z] ---> Running in 0ed0687e7a30 [2021-01-11T06:27:35.448Z] Removing intermediate container 0ed0687e7a30 [2021-01-11T06:27:35.448Z] ---> 48fb8595428b [2021-01-11T06:27:35.448Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:27:35.448Z] ---> Running in bc79d4cb5769 [2021-01-11T06:27:36.026Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:27:36.957Z] provisioning config files... [2021-01-11T06:27:37.017Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config4415176284800628599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:27:37.582Z] ---> docker-login.sh [2021-01-11T06:27:37.582Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:27:38.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:27:38.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:27:38.845Z] Configure a credential helper to remove this warning. See [2021-01-11T06:27:38.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:27:38.845Z] [2021-01-11T06:27:38.845Z] Login Succeeded [2021-01-11T06:27:38.845Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:27:39.389Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T06:27:39.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:27:39.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:27:39.447Z] Configure a credential helper to remove this warning. See [2021-01-11T06:27:39.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:27:39.447Z] [2021-01-11T06:27:39.447Z] Login Succeeded [2021-01-11T06:27:39.447Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:27:40.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:27:40.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:27:40.052Z] Configure a credential helper to remove this warning. See [2021-01-11T06:27:40.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:27:40.052Z] [2021-01-11T06:27:40.052Z] Login Succeeded [2021-01-11T06:27:40.052Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:27:40.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:27:40.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:27:40.652Z] Configure a credential helper to remove this warning. See [2021-01-11T06:27:40.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:27:40.652Z] [2021-01-11T06:27:40.652Z] Login Succeeded [2021-01-11T06:27:40.652Z] docker.io [2021-01-11T06:27:41.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:27:41.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:27:41.528Z] Configure a credential helper to remove this warning. See [2021-01-11T06:27:41.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:27:41.528Z] [2021-01-11T06:27:41.528Z] Login Succeeded [2021-01-11T06:27:41.528Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:27:41.546Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T06:27:42.304Z] ========================================================= [2021-01-11T06:27:42.304Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T06:27:42.304Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:27:42.688Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-11T06:27:42.728Z] OK: 166 MiB in 39 packages [2021-01-11T06:27:42.728Z] Removing intermediate container bc79d4cb5769 [2021-01-11T06:27:42.728Z] ---> 73a30cd06140 [2021-01-11T06:27:42.728Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-01-11T06:27:42.969Z] Sending build context to Docker daemon 325.1kB [2021-01-11T06:27:42.969Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:27:42.969Z] Step 2/10 : FROM ${BASE} [2021-01-11T06:27:42.990Z] ---> Running in 2f8cd0171c79 [2021-01-11T06:27:42.990Z] Removing intermediate container 2f8cd0171c79 [2021-01-11T06:27:42.990Z] ---> a051180c0e69 [2021-01-11T06:27:42.990Z] Step 9/26 : COPY go.mod . [2021-01-11T06:27:43.253Z] ---> e4cd068ddaba [2021-01-11T06:27:43.253Z] Step 10/26 : COPY Makefile . [2021-01-11T06:27:43.515Z] ---> a3936ed388e5 [2021-01-11T06:27:43.515Z] Step 11/26 : RUN make update [2021-01-11T06:27:43.515Z] ---> Running in 311234627bdf [2021-01-11T06:27:43.571Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T06:27:43.572Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T06:27:43.572Z] a4357932f1b6: Pulling fs layer [2021-01-11T06:27:43.572Z] 18c013af1878: Pulling fs layer [2021-01-11T06:27:43.572Z] 00ac8860ef70: Pulling fs layer [2021-01-11T06:27:43.572Z] 63d7cb157983: Pulling fs layer [2021-01-11T06:27:43.572Z] b116817d02f9: Pulling fs layer [2021-01-11T06:27:43.572Z] 745a02a5169b: Pulling fs layer [2021-01-11T06:27:43.572Z] 00ac8860ef70: Waiting [2021-01-11T06:27:43.572Z] 63d7cb157983: Waiting [2021-01-11T06:27:43.572Z] b116817d02f9: Waiting [2021-01-11T06:27:43.572Z] 745a02a5169b: Waiting [2021-01-11T06:27:43.572Z] 18c013af1878: Download complete [2021-01-11T06:27:43.572Z] a4357932f1b6: Verifying Checksum [2021-01-11T06:27:43.572Z] a4357932f1b6: Download complete [2021-01-11T06:27:43.852Z] 63d7cb157983: Verifying Checksum [2021-01-11T06:27:43.852Z] 63d7cb157983: Download complete [2021-01-11T06:27:43.852Z] b116817d02f9: Verifying Checksum [2021-01-11T06:27:43.852Z] b116817d02f9: Download complete [2021-01-11T06:27:44.090Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-11T06:27:44.128Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T06:27:44.128Z] 5f621e34cdf4: Download complete [2021-01-11T06:27:44.667Z] Removing intermediate container 311234627bdf [2021-01-11T06:27:44.667Z] ---> 9f484b07330c [2021-01-11T06:27:44.667Z] Step 12/26 : COPY . . [2021-01-11T06:27:44.736Z] 5f621e34cdf4: Pull complete [2021-01-11T06:27:45.242Z] ---> e338c2904b3e [2021-01-11T06:27:45.243Z] Step 13/26 : RUN ${MAKE} [2021-01-11T06:27:45.343Z] a4357932f1b6: Pull complete [2021-01-11T06:27:45.508Z] ---> Running in fb4c18aa8cfc [2021-01-11T06:27:45.628Z] 18c013af1878: Pull complete [2021-01-11T06:27:45.778Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.1-dev.3" -o cmd/device-snmp-go ./cmd [2021-01-11T06:27:48.249Z] 745a02a5169b: Download complete [2021-01-11T06:27:51.646Z] 00ac8860ef70: Verifying Checksum [2021-01-11T06:27:51.646Z] 00ac8860ef70: Download complete [2021-01-11T06:27:55.917Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-11T06:27:57.858Z] Removing intermediate container fb4c18aa8cfc [2021-01-11T06:27:57.858Z] ---> d84762aabc28 [2021-01-11T06:27:57.858Z] Step 14/26 : FROM alpine:3.12 [2021-01-11T06:27:58.434Z] 3.12: Pulling from library/alpine [2021-01-11T06:27:58.434Z] 801bfaa63ef2: Pulling fs layer [2021-01-11T06:27:59.007Z] 801bfaa63ef2: Verifying Checksum [2021-01-11T06:27:59.007Z] 801bfaa63ef2: Download complete [2021-01-11T06:27:59.282Z] 801bfaa63ef2: Pull complete [2021-01-11T06:27:59.282Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-11T06:27:59.282Z] Status: Downloaded newer image for alpine:3.12 [2021-01-11T06:27:59.282Z] ---> 389fef711851 [2021-01-11T06:27:59.282Z] Step 15/26 : ENV APP_PORT=49993 [2021-01-11T06:27:59.282Z] ---> Running in 63df84ca20ca [2021-01-11T06:27:59.549Z] Removing intermediate container 63df84ca20ca [2021-01-11T06:27:59.549Z] ---> 86abbea0a706 [2021-01-11T06:27:59.549Z] Step 16/26 : EXPOSE $APP_PORT [2021-01-11T06:27:59.549Z] ---> Running in 89255be54a44 [2021-01-11T06:27:59.811Z] Removing intermediate container 89255be54a44 [2021-01-11T06:27:59.811Z] ---> 474183c43535 [2021-01-11T06:27:59.811Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-01-11T06:27:59.812Z] ---> Running in 79bf5fbe145c [2021-01-11T06:27:59.812Z] Removing intermediate container 79bf5fbe145c [2021-01-11T06:27:59.812Z] ---> ff459014ad22 [2021-01-11T06:27:59.812Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-01-11T06:28:00.078Z] ---> Running in 3451c683bb0e [2021-01-11T06:28:00.078Z] Removing intermediate container 3451c683bb0e [2021-01-11T06:28:00.078Z] ---> f7913d1cec0f [2021-01-11T06:28:00.078Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-01-11T06:28:01.036Z] ---> badaad507023 [2021-01-11T06:28:01.036Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-01-11T06:28:01.036Z] ---> 56f5d9af3b35 [2021-01-11T06:28:01.036Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-01-11T06:28:01.298Z] ---> f517b6f2adfd [2021-01-11T06:28:01.298Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-01-11T06:28:01.298Z] ---> Running in 23e6b47eb87b [2021-01-11T06:28:01.567Z] Removing intermediate container 23e6b47eb87b [2021-01-11T06:28:01.567Z] ---> 680411a12595 [2021-01-11T06:28:01.567Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-11T06:28:01.567Z] ---> Running in 4aa327c49f7a [2021-01-11T06:28:01.839Z] Removing intermediate container 4aa327c49f7a [2021-01-11T06:28:01.839Z] ---> a0c7be4bc012 [2021-01-11T06:28:01.839Z] Step 24/26 : LABEL arch=amd64 [2021-01-11T06:28:01.839Z] ---> Running in df354d8eeaeb [2021-01-11T06:28:01.853Z] 00ac8860ef70: Pull complete [2021-01-11T06:28:01.853Z] 63d7cb157983: Pull complete [2021-01-11T06:28:01.853Z] b116817d02f9: Pull complete [2021-01-11T06:28:02.102Z] Removing intermediate container df354d8eeaeb [2021-01-11T06:28:02.102Z] ---> 508342fe35a5 [2021-01-11T06:28:02.102Z] Step 25/26 : LABEL git_sha=561c5a452436cba8707a8b2c6132209bc86d4f3d [2021-01-11T06:28:02.102Z] ---> Running in caf39004344b [2021-01-11T06:28:02.102Z] Removing intermediate container caf39004344b [2021-01-11T06:28:02.102Z] ---> c7c6a1e40add [2021-01-11T06:28:02.102Z] Step 26/26 : LABEL version=1.3.1-dev.3 [2021-01-11T06:28:02.363Z] ---> Running in 19277b288fe4 [2021-01-11T06:28:02.363Z] Removing intermediate container 19277b288fe4 [2021-01-11T06:28:02.363Z] ---> 8fc00aa0a50f [2021-01-11T06:28:02.363Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T06:28:02.363Z] Successfully built 8fc00aa0a50f [2021-01-11T06:28:02.363Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:28:02.950Z] provisioning config files... [2021-01-11T06:28:02.992Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config5512136215371608952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:28:03.364Z] ---> docker-login.sh [2021-01-11T06:28:03.364Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:28:03.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:28:03.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:28:03.627Z] Configure a credential helper to remove this warning. See [2021-01-11T06:28:03.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:28:03.627Z] [2021-01-11T06:28:03.627Z] Login Succeeded [2021-01-11T06:28:03.627Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:28:03.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:28:03.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:28:03.627Z] Configure a credential helper to remove this warning. See [2021-01-11T06:28:03.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:28:03.627Z] [2021-01-11T06:28:03.627Z] Login Succeeded [2021-01-11T06:28:03.627Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:28:03.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:28:03.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:28:03.896Z] Configure a credential helper to remove this warning. See [2021-01-11T06:28:03.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:28:03.896Z] [2021-01-11T06:28:03.896Z] Login Succeeded [2021-01-11T06:28:03.896Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:28:04.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:28:04.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:28:04.160Z] Configure a credential helper to remove this warning. See [2021-01-11T06:28:04.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:28:04.160Z] [2021-01-11T06:28:04.160Z] Login Succeeded [2021-01-11T06:28:04.160Z] docker.io [2021-01-11T06:28:04.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:28:04.481Z] 745a02a5169b: Pull complete [2021-01-11T06:28:04.481Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T06:28:04.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T06:28:04.481Z] ---> b7e6874047d6 [2021-01-11T06:28:04.481Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:28:04.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:28:04.685Z] Configure a credential helper to remove this warning. See [2021-01-11T06:28:04.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:28:04.685Z] [2021-01-11T06:28:04.685Z] Login Succeeded [2021-01-11T06:28:04.685Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:28:04.695Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T06:28:04.895Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: [2021-01-11T06:28:04.895Z] 561c5a452436cba8707a8b2c6132209bc86d4f3d [2021-01-11T06:28:04.895Z] latest [2021-01-11T06:28:04.895Z] 1.3.1-dev.3 [2021-01-11T06:28:04.895Z] 561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [2021-01-11T06:28:04.895Z] master [2021-01-11T06:28:04.895Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:05.484Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:05.790Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d [2021-01-11T06:28:05.790Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-11T06:28:05.790Z] f093018f4a35: Preparing [2021-01-11T06:28:05.790Z] e1c48b087dca: Preparing [2021-01-11T06:28:05.790Z] ebb56b212aee: Preparing [2021-01-11T06:28:05.790Z] 777b2c648970: Preparing [2021-01-11T06:28:05.790Z] 777b2c648970: Layer already exists [2021-01-11T06:28:05.790Z] e1c48b087dca: Pushed [2021-01-11T06:28:05.790Z] f093018f4a35: Pushed [2021-01-11T06:28:07.178Z] ebb56b212aee: Pushed [2021-01-11T06:28:07.881Z] ---> Running in b0958196587b [2021-01-11T06:28:07.881Z] Removing intermediate container b0958196587b [2021-01-11T06:28:07.881Z] ---> f26851b1145f [2021-01-11T06:28:07.881Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:28:07.881Z] ---> Running in 40a87d93adae [2021-01-11T06:28:08.476Z] Removing intermediate container 40a87d93adae [2021-01-11T06:28:08.476Z] ---> 31c9b495ac58 [2021-01-11T06:28:08.476Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-11T06:28:08.476Z] ---> Running in cba0c4b5c958 [2021-01-11T06:28:09.078Z] Removing intermediate container cba0c4b5c958 [2021-01-11T06:28:09.078Z] ---> d6415e76532f [2021-01-11T06:28:09.078Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:28:09.078Z] ---> Running in 7eb9c4a2344f [2021-01-11T06:28:09.103Z] 561c5a452436cba8707a8b2c6132209bc86d4f3d: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:09.427Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:09.740Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2021-01-11T06:28:09.740Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-11T06:28:09.740Z] f093018f4a35: Preparing [2021-01-11T06:28:09.740Z] e1c48b087dca: Preparing [2021-01-11T06:28:09.740Z] ebb56b212aee: Preparing [2021-01-11T06:28:09.740Z] 777b2c648970: Preparing [2021-01-11T06:28:09.740Z] e1c48b087dca: Layer already exists [2021-01-11T06:28:09.740Z] f093018f4a35: Layer already exists [2021-01-11T06:28:09.740Z] ebb56b212aee: Layer already exists [2021-01-11T06:28:10.003Z] 777b2c648970: Layer already exists [2021-01-11T06:28:10.003Z] latest: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:10.310Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:10.613Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.3 [2021-01-11T06:28:10.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-11T06:28:10.613Z] f093018f4a35: Preparing [2021-01-11T06:28:10.613Z] e1c48b087dca: Preparing [2021-01-11T06:28:10.613Z] ebb56b212aee: Preparing [2021-01-11T06:28:10.613Z] 777b2c648970: Preparing [2021-01-11T06:28:10.613Z] e1c48b087dca: Layer already exists [2021-01-11T06:28:10.613Z] f093018f4a35: Layer already exists [2021-01-11T06:28:10.613Z] 777b2c648970: Layer already exists [2021-01-11T06:28:10.613Z] ebb56b212aee: Layer already exists [2021-01-11T06:28:10.613Z] 1.3.1-dev.3: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:11.084Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:11.502Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [2021-01-11T06:28:11.502Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-11T06:28:11.502Z] f093018f4a35: Preparing [2021-01-11T06:28:11.502Z] e1c48b087dca: Preparing [2021-01-11T06:28:11.502Z] ebb56b212aee: Preparing [2021-01-11T06:28:11.502Z] 777b2c648970: Preparing [2021-01-11T06:28:11.502Z] 777b2c648970: Layer already exists [2021-01-11T06:28:11.502Z] ebb56b212aee: Layer already exists [2021-01-11T06:28:11.502Z] e1c48b087dca: Layer already exists [2021-01-11T06:28:11.502Z] f093018f4a35: Layer already exists [2021-01-11T06:28:11.502Z] 561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:11.735Z] Removing intermediate container 7eb9c4a2344f [2021-01-11T06:28:11.735Z] ---> e8c3f2eec353 [2021-01-11T06:28:11.735Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:28:11.735Z] ---> Running in 23a26dcd2026 [2021-01-11T06:28:11.856Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:12.159Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [2021-01-11T06:28:12.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-11T06:28:12.160Z] f093018f4a35: Preparing [2021-01-11T06:28:12.160Z] e1c48b087dca: Preparing [2021-01-11T06:28:12.160Z] ebb56b212aee: Preparing [2021-01-11T06:28:12.160Z] 777b2c648970: Preparing [2021-01-11T06:28:12.160Z] 777b2c648970: Layer already exists [2021-01-11T06:28:12.160Z] ebb56b212aee: Layer already exists [2021-01-11T06:28:12.160Z] e1c48b087dca: Layer already exists [2021-01-11T06:28:12.160Z] f093018f4a35: Layer already exists [2021-01-11T06:28:12.160Z] master: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T06:28:12.356Z] ===================================================== [Pipeline] echo [2021-01-11T06:28:12.408Z] taggedImages: [2021-01-11T06:28:12.408Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d [2021-01-11T06:28:12.408Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2021-01-11T06:28:12.408Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.3 [2021-01-11T06:28:12.408Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [2021-01-11T06:28:12.408Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-01-11T06:28:12.722Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T06:28:15.348Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T06:28:19.635Z] OK: 142 MiB in 39 packages [2021-01-11T06:28:20.604Z] Removing intermediate container 23a26dcd2026 [2021-01-11T06:28:20.604Z] ---> d8993b2de8cc [2021-01-11T06:28:20.604Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-11T06:28:20.875Z] ---> Running in 63ce552144f7 [2021-01-11T06:28:21.150Z] Removing intermediate container 63ce552144f7 [2021-01-11T06:28:21.150Z] ---> 00cb6ef7bfa0 [2021-01-11T06:28:21.150Z] Step 9/10 : COPY . . [2021-01-11T06:28:22.143Z] ---> d40a9c27e160 [2021-01-11T06:28:22.143Z] Step 10/10 : RUN go mod download [2021-01-11T06:28:22.143Z] ---> Running in 3a3320aefc2f [2021-01-11T06:28:48.991Z] Removing intermediate container 3a3320aefc2f [2021-01-11T06:28:48.991Z] ---> 858157a43f60 [2021-01-11T06:28:48.991Z] Successfully built 858157a43f60 [2021-01-11T06:28:48.991Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:49.369Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T06:28:49.369Z] . [Pipeline] withDockerContainer [2021-01-11T06:28:49.677Z] prd-ubuntu18.04-docker-arm64-4c-16g-19433 does not seem to be running inside a container [2021-01-11T06:28:49.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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-arm64 cat [2021-01-11T06:28:51.420Z] $ docker top 05e415e6b937408e5795e9ffbad29beb2927b73867106623fa3444b9f176ebad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:28:52.481Z] + go version [2021-01-11T06:28:52.482Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T06:28:52.522Z] $ docker stop --time=1 05e415e6b937408e5795e9ffbad29beb2927b73867106623fa3444b9f176ebad [2021-01-11T06:28:54.555Z] $ docker rm -f 05e415e6b937408e5795e9ffbad29beb2927b73867106623fa3444b9f176ebad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:28:55.637Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T06:28:55.637Z] . [Pipeline] withDockerContainer [2021-01-11T06:28:55.926Z] prd-ubuntu18.04-docker-arm64-4c-16g-19433 does not seem to be running inside a container [2021-01-11T06:28:56.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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-arm64 cat [2021-01-11T06:28:57.680Z] $ docker top 9a480d01d7fa6eb2256f90df80a56044f48b67ed173353ee4b2f8430fae7f2a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:28:58.843Z] + make test [2021-01-11T06:28:58.843Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T06:28:59.828Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-11T06:29:38.943Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-01-11T06:29:38.943Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2021-01-11T06:29:38.943Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T06:29:44.405Z] gofmt -l . [2021-01-11T06:29:44.405Z] [ "`gofmt -l .`" = "" ] [2021-01-11T06:29:44.405Z] ./bin/test-attribution-txt.sh [2021-01-11T06:29:45.381Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-11T06:29:45.683Z] $ docker stop --time=1 9a480d01d7fa6eb2256f90df80a56044f48b67ed173353ee4b2f8430fae7f2a7 [2021-01-11T06:29:47.928Z] $ docker rm -f 9a480d01d7fa6eb2256f90df80a56044f48b67ed173353ee4b2f8430fae7f2a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T06:29:48.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T06:29:48.872Z] Warning: overwriting stash ‘coverage-report’ [2021-01-11T06:29:49.615Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:29:50.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-11T06:29:50.666Z] + ls -al . [2021-01-11T06:29:50.666Z] total 132 [2021-01-11T06:29:50.666Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:29 . [2021-01-11T06:29:50.666Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:27 .. [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 11 06:27 .dockerignore [2021-01-11T06:29:50.666Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:27 .git [2021-01-11T06:29:50.666Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:27 .github [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 272 Jan 11 06:27 .gitignore [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 5082 Jan 11 06:27 Attribution.txt [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 1529 Jan 11 06:27 Dockerfile [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 1006 Jan 11 06:27 Dockerfile.build [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 11 06:27 Jenkinsfile [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 06:27 LICENSE [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 937 Jan 11 06:27 Makefile [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 12398 Jan 11 06:27 README.md [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 06:25 VERSION [2021-01-11T06:29:50.666Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:27 bin [2021-01-11T06:29:50.666Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:27 cmd [2021-01-11T06:29:50.666Z] -rw-r--r-- 1 jenkins jenkins 8493 Jan 11 06:29 coverage.out [2021-01-11T06:29:50.666Z] -rw-r--r-- 1 jenkins jenkins 204 Jan 11 06:29 go.mod [2021-01-11T06:29:50.666Z] -rw-r--r-- 1 jenkins jenkins 14156 Jan 11 06:29 go.sum [2021-01-11T06:29:50.666Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:27 internal [2021-01-11T06:29:50.666Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:27 profiles [2021-01-11T06:29:50.666Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 06:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:29:51.049Z] + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=561c5a452436cba8707a8b2c6132209bc86d4f3d --label arch=arm64 --label version=1.3.1-dev.3 . [2021-01-11T06:29:51.675Z] Sending build context to Docker daemon 334.3kB [2021-01-11T06:29:51.675Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:29:51.675Z] Step 2/26 : FROM ${BASE} AS builder [2021-01-11T06:29:51.675Z] ---> 858157a43f60 [2021-01-11T06:29:51.675Z] Step 3/26 : ARG MAKE='make build' [2021-01-11T06:29:51.959Z] ---> Running in ffda40c22437 [2021-01-11T06:29:52.253Z] Removing intermediate container ffda40c22437 [2021-01-11T06:29:52.253Z] ---> a08a416290df [2021-01-11T06:29:52.253Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:29:52.529Z] ---> Running in f9da6e8a746a [2021-01-11T06:29:53.129Z] Removing intermediate container f9da6e8a746a [2021-01-11T06:29:53.129Z] ---> b3a1d031bdec [2021-01-11T06:29:53.129Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:29:53.129Z] ---> Running in fe168e18ef7c [2021-01-11T06:29:53.728Z] Removing intermediate container fe168e18ef7c [2021-01-11T06:29:53.728Z] ---> f317bbb42223 [2021-01-11T06:29:53.728Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:29:53.728Z] ---> Running in d7a00e309904 [2021-01-11T06:29:56.357Z] Removing intermediate container d7a00e309904 [2021-01-11T06:29:56.357Z] ---> ab269cfe1b56 [2021-01-11T06:29:56.357Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:29:56.357Z] ---> Running in d23bb7b9257a [2021-01-11T06:29:57.345Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T06:29:58.342Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T06:29:59.388Z] OK: 142 MiB in 39 packages [2021-01-11T06:30:00.377Z] Removing intermediate container d23bb7b9257a [2021-01-11T06:30:00.377Z] ---> 547b965bdb28 [2021-01-11T06:30:00.377Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-01-11T06:30:00.656Z] ---> Running in 746f55153628 [2021-01-11T06:30:01.254Z] Removing intermediate container 746f55153628 [2021-01-11T06:30:01.254Z] ---> 1af18f6e590b [2021-01-11T06:30:01.254Z] Step 9/26 : COPY go.mod . [2021-01-11T06:30:01.875Z] ---> ecf79c41eff6 [2021-01-11T06:30:01.876Z] Step 10/26 : COPY Makefile . [2021-01-11T06:30:02.906Z] ---> 802bd0263dbe [2021-01-11T06:30:02.906Z] Step 11/26 : RUN make update [2021-01-11T06:30:02.906Z] ---> Running in 62ef442d1e98 [2021-01-11T06:30:03.918Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-11T06:30:05.371Z] Removing intermediate container 62ef442d1e98 [2021-01-11T06:30:05.371Z] ---> 475ed53ef595 [2021-01-11T06:30:05.371Z] Step 12/26 : COPY . . [2021-01-11T06:30:06.362Z] ---> 126bb8114421 [2021-01-11T06:30:06.362Z] Step 13/26 : RUN ${MAKE} [2021-01-11T06:30:06.362Z] ---> Running in fc7835e339bb [2021-01-11T06:30:07.815Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.1-dev.3" -o cmd/device-snmp-go ./cmd [2021-01-11T06:30:40.264Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-11T06:30:42.911Z] Removing intermediate container fc7835e339bb [2021-01-11T06:30:42.911Z] ---> 9c9091ad2b4c [2021-01-11T06:30:42.911Z] Step 14/26 : FROM alpine:3.12 [2021-01-11T06:30:43.181Z] 3.12: Pulling from library/alpine [2021-01-11T06:30:43.454Z] 159e5727ea61: Pulling fs layer [2021-01-11T06:30:43.725Z] 159e5727ea61: Verifying Checksum [2021-01-11T06:30:43.725Z] 159e5727ea61: Download complete [2021-01-11T06:30:44.319Z] 159e5727ea61: Pull complete [2021-01-11T06:30:44.319Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-11T06:30:44.319Z] Status: Downloaded newer image for alpine:3.12 [2021-01-11T06:30:44.319Z] ---> afeebe901d6b [2021-01-11T06:30:44.319Z] Step 15/26 : ENV APP_PORT=49993 [2021-01-11T06:30:44.591Z] ---> Running in e2ede9d56137 [2021-01-11T06:30:44.862Z] Removing intermediate container e2ede9d56137 [2021-01-11T06:30:44.862Z] ---> 51ae6dc8afb9 [2021-01-11T06:30:44.862Z] Step 16/26 : EXPOSE $APP_PORT [2021-01-11T06:30:45.138Z] ---> Running in 268b093f31aa [2021-01-11T06:30:45.730Z] Removing intermediate container 268b093f31aa [2021-01-11T06:30:45.730Z] ---> a669bb70b13a [2021-01-11T06:30:45.730Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-01-11T06:30:45.730Z] ---> Running in 3e21a60496b7 [2021-01-11T06:30:46.328Z] Removing intermediate container 3e21a60496b7 [2021-01-11T06:30:46.328Z] ---> b44561b4d85e [2021-01-11T06:30:46.328Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-01-11T06:30:46.328Z] ---> Running in a99162719bc6 [2021-01-11T06:30:46.923Z] Removing intermediate container a99162719bc6 [2021-01-11T06:30:46.923Z] ---> 406b19829fd7 [2021-01-11T06:30:46.923Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-01-11T06:30:48.363Z] ---> af9d6a5f4871 [2021-01-11T06:30:48.363Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-01-11T06:30:48.960Z] ---> e3dbac489568 [2021-01-11T06:30:48.960Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-01-11T06:30:49.563Z] ---> b094b2d6438c [2021-01-11T06:30:49.563Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-01-11T06:30:49.563Z] ---> Running in ebeae3251755 [2021-01-11T06:30:50.160Z] Removing intermediate container ebeae3251755 [2021-01-11T06:30:50.160Z] ---> 61457ecfc79d [2021-01-11T06:30:50.160Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-11T06:30:50.160Z] ---> Running in a8002aeddf10 [2021-01-11T06:30:50.759Z] Removing intermediate container a8002aeddf10 [2021-01-11T06:30:50.759Z] ---> c6a2b83862bf [2021-01-11T06:30:50.759Z] Step 24/26 : LABEL arch=arm64 [2021-01-11T06:30:50.759Z] ---> Running in 8266cf54f7e7 [2021-01-11T06:30:51.366Z] Removing intermediate container 8266cf54f7e7 [2021-01-11T06:30:51.366Z] ---> d18515b85b4b [2021-01-11T06:30:51.366Z] Step 25/26 : LABEL git_sha=561c5a452436cba8707a8b2c6132209bc86d4f3d [2021-01-11T06:30:51.366Z] ---> Running in ec973cb9bfb8 [2021-01-11T06:30:51.970Z] Removing intermediate container ec973cb9bfb8 [2021-01-11T06:30:51.970Z] ---> 479e83b374a3 [2021-01-11T06:30:51.970Z] Step 26/26 : LABEL version=1.3.1-dev.3 [2021-01-11T06:30:51.970Z] ---> Running in bf45809e4b75 [2021-01-11T06:30:52.568Z] Removing intermediate container bf45809e4b75 [2021-01-11T06:30:52.568Z] ---> 03204f06075b [2021-01-11T06:30:52.568Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T06:30:52.568Z] Successfully built 03204f06075b [2021-01-11T06:30:52.568Z] Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:30:53.090Z] provisioning config files... [2021-01-11T06:30:53.150Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config767251615141093864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:30:53.598Z] ---> docker-login.sh [2021-01-11T06:30:53.598Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:30:53.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:30:53.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:30:53.898Z] Configure a credential helper to remove this warning. See [2021-01-11T06:30:53.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:30:53.898Z] [2021-01-11T06:30:53.898Z] Login Succeeded [2021-01-11T06:30:53.898Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:30:54.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:30:54.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:30:54.769Z] Configure a credential helper to remove this warning. See [2021-01-11T06:30:54.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:30:54.769Z] [2021-01-11T06:30:54.769Z] Login Succeeded [2021-01-11T06:30:54.769Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:30:55.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:30:55.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:30:55.365Z] Configure a credential helper to remove this warning. See [2021-01-11T06:30:55.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:30:55.365Z] [2021-01-11T06:30:55.365Z] Login Succeeded [2021-01-11T06:30:55.365Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:30:55.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:30:55.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:30:55.968Z] Configure a credential helper to remove this warning. See [2021-01-11T06:30:55.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:30:55.968Z] [2021-01-11T06:30:55.968Z] Login Succeeded [2021-01-11T06:30:55.968Z] docker.io [2021-01-11T06:30:56.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:30:56.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:30:56.844Z] Configure a credential helper to remove this warning. See [2021-01-11T06:30:56.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:30:56.844Z] [2021-01-11T06:30:56.844Z] Login Succeeded [2021-01-11T06:30:56.844Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:30:56.862Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T06:30:57.062Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: [2021-01-11T06:30:57.062Z] 561c5a452436cba8707a8b2c6132209bc86d4f3d [2021-01-11T06:30:57.062Z] latest [2021-01-11T06:30:57.062Z] 1.3.1-dev.3 [2021-01-11T06:30:57.062Z] 561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [2021-01-11T06:30:57.062Z] master [2021-01-11T06:30:57.062Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:30:57.632Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:30:57.975Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d [2021-01-11T06:30:57.975Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-11T06:30:57.975Z] e33881e67888: Preparing [2021-01-11T06:30:57.975Z] c4ef011162ea: Preparing [2021-01-11T06:30:57.975Z] 42ec6ea3b370: Preparing [2021-01-11T06:30:57.975Z] 379067d0cb53: Preparing [2021-01-11T06:30:58.261Z] 379067d0cb53: Layer already exists [2021-01-11T06:30:58.261Z] e33881e67888: Pushed [2021-01-11T06:30:58.261Z] c4ef011162ea: Pushed [2021-01-11T06:31:00.895Z] 42ec6ea3b370: Pushed [2021-01-11T06:31:01.173Z] 561c5a452436cba8707a8b2c6132209bc86d4f3d: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:01.532Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:01.869Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2021-01-11T06:31:01.869Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-11T06:31:01.869Z] e33881e67888: Preparing [2021-01-11T06:31:01.869Z] c4ef011162ea: Preparing [2021-01-11T06:31:01.869Z] 42ec6ea3b370: Preparing [2021-01-11T06:31:01.869Z] 379067d0cb53: Preparing [2021-01-11T06:31:02.143Z] e33881e67888: Layer already exists [2021-01-11T06:31:02.143Z] 379067d0cb53: Layer already exists [2021-01-11T06:31:02.143Z] c4ef011162ea: Layer already exists [2021-01-11T06:31:02.143Z] 42ec6ea3b370: Layer already exists [2021-01-11T06:31:02.143Z] latest: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:02.494Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:02.834Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.3 [2021-01-11T06:31:02.834Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-11T06:31:02.834Z] e33881e67888: Preparing [2021-01-11T06:31:02.834Z] c4ef011162ea: Preparing [2021-01-11T06:31:02.834Z] 42ec6ea3b370: Preparing [2021-01-11T06:31:02.834Z] 379067d0cb53: Preparing [2021-01-11T06:31:03.107Z] c4ef011162ea: Layer already exists [2021-01-11T06:31:03.107Z] e33881e67888: Layer already exists [2021-01-11T06:31:03.107Z] 42ec6ea3b370: Layer already exists [2021-01-11T06:31:03.107Z] 379067d0cb53: Layer already exists [2021-01-11T06:31:03.107Z] 1.3.1-dev.3: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:03.459Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:03.805Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [2021-01-11T06:31:03.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-11T06:31:03.805Z] e33881e67888: Preparing [2021-01-11T06:31:03.805Z] c4ef011162ea: Preparing [2021-01-11T06:31:03.805Z] 42ec6ea3b370: Preparing [2021-01-11T06:31:03.805Z] 379067d0cb53: Preparing [2021-01-11T06:31:03.805Z] 42ec6ea3b370: Layer already exists [2021-01-11T06:31:03.805Z] c4ef011162ea: Layer already exists [2021-01-11T06:31:03.805Z] 379067d0cb53: Layer already exists [2021-01-11T06:31:03.805Z] e33881e67888: Layer already exists [2021-01-11T06:31:04.077Z] 561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:04.426Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:04.820Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [2021-01-11T06:31:04.820Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-11T06:31:04.820Z] e33881e67888: Preparing [2021-01-11T06:31:04.820Z] c4ef011162ea: Preparing [2021-01-11T06:31:04.820Z] 42ec6ea3b370: Preparing [2021-01-11T06:31:04.820Z] 379067d0cb53: Preparing [2021-01-11T06:31:04.820Z] 379067d0cb53: Layer already exists [2021-01-11T06:31:04.820Z] c4ef011162ea: Layer already exists [2021-01-11T06:31:04.820Z] e33881e67888: Layer already exists [2021-01-11T06:31:04.820Z] 42ec6ea3b370: Layer already exists [2021-01-11T06:31:05.094Z] master: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T06:31:05.417Z] ===================================================== [Pipeline] echo [2021-01-11T06:31:05.471Z] taggedImages: [2021-01-11T06:31:05.471Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d [2021-01-11T06:31:05.471Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2021-01-11T06:31:05.471Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.3 [2021-01-11T06:31:05.471Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [2021-01-11T06:31:05.471Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [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-01-11T06:31:06.772Z] provisioning config files... [2021-01-11T06:31:06.784Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1149242840489647657tmp [Pipeline] { [Pipeline] sh [2021-01-11T06:31:07.182Z] + set +x [2021-01-11T06:31:07.183Z] + curl -s https://codecov.io/bash [2021-01-11T06:31:07.183Z] + bash -s -- [2021-01-11T06:31:07.447Z] [2021-01-11T06:31:07.447Z] _____ _ [2021-01-11T06:31:07.447Z] / ____| | | [2021-01-11T06:31:07.447Z] | | ___ __| | ___ ___ _____ __ [2021-01-11T06:31:07.447Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-11T06:31:07.447Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-11T06:31:07.447Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-11T06:31:07.447Z] Bash-20201231-23d4836 [2021-01-11T06:31:07.447Z] [2021-01-11T06:31:07.447Z] [2021-01-11T06:31:07.447Z] ==> git version 2.24.3 found [2021-01-11T06:31:07.447Z] ==> 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-01-11T06:31:07.447Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-11T06:31:07.447Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-11T06:31:07.447Z] ==> Jenkins CI detected. [2021-01-11T06:31:07.447Z] project root: . [2021-01-11T06:31:07.447Z] --> token set from env [2021-01-11T06:31:07.447Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-11T06:31:07.447Z] ==> Running gcov in . (disable via -X gcov) [2021-01-11T06:31:07.447Z] ==> Python coveragepy not found [2021-01-11T06:31:07.447Z] ==> Searching for coverage reports in: [2021-01-11T06:31:07.447Z] + . [2021-01-11T06:31:07.447Z] -> Found 1 reports [2021-01-11T06:31:07.447Z] ==> Detecting git/mercurial file structure [2021-01-11T06:31:07.447Z] ==> Reading reports [2021-01-11T06:31:07.447Z] + ./coverage.out bytes=8493 [2021-01-11T06:31:07.447Z] ==> Appending adjustments [2021-01-11T06:31:07.447Z] https://docs.codecov.io/docs/fixing-reports [2021-01-11T06:31:07.447Z] + Found adjustments [2021-01-11T06:31:07.447Z] ==> Gzipping contents [2021-01-11T06:31:07.447Z] 4.0K /tmp/codecov.x21QCc.gz [2021-01-11T06:31:07.447Z] ==> Uploading reports [2021-01-11T06:31:07.447Z] url: https://codecov.io [2021-01-11T06:31:07.447Z] query: branch=master&commit=561c5a452436cba8707a8b2c6132209bc86d4f3d&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-11T06:31:07.711Z] -> Pinging Codecov [2021-01-11T06:31:07.711Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=561c5a452436cba8707a8b2c6132209bc86d4f3d&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-11T06:31:07.974Z] -> Uploading to [2021-01-11T06:31:07.974Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-11/6C56EA5C29638FB4528AC87E60AF5AE0/561c5a452436cba8707a8b2c6132209bc86d4f3d/904ce793-7db8-4b6c-8d67-4432c216ab40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T063107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24988fe448ae2d6171bc61aa88ccb5335911a9a5a75611f22ec54bd716b08864 [2021-01-11T06:31:07.974Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-11T06:31:07.974Z] Dload Upload Total Spent Left Speed [2021-01-11T06:31:08.553Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 2948 --:--:-- --:--:-- --:--:-- 2953 [2021-01-11T06:31:08.553Z] -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] } [2021-01-11T06:31:08.567Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-11T06:31:09.036Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-11T06:31:09.091Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:09.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T06:31:09.436Z] [2021-01-11T06:31:09.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:09.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T06:31:09.791Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-11T06:31:09.791Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T06:31:09.791Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T06:31:09.791Z] de9db76c5a1d: Pulling fs layer [2021-01-11T06:31:09.791Z] 0eba1c9be4d2: Pulling fs layer [2021-01-11T06:31:09.791Z] 0d57e429df01: Pulling fs layer [2021-01-11T06:31:09.791Z] 4e4be7b47b0d: Pulling fs layer [2021-01-11T06:31:09.791Z] e1f770b5df2f: Pulling fs layer [2021-01-11T06:31:09.791Z] 85a0685a4137: Pulling fs layer [2021-01-11T06:31:09.791Z] 0eba1c9be4d2: Waiting [2021-01-11T06:31:09.791Z] 0d57e429df01: Waiting [2021-01-11T06:31:09.791Z] 4e4be7b47b0d: Waiting [2021-01-11T06:31:09.791Z] e1f770b5df2f: Waiting [2021-01-11T06:31:09.791Z] 85a0685a4137: Waiting [2021-01-11T06:31:09.791Z] de9db76c5a1d: Verifying Checksum [2021-01-11T06:31:09.791Z] de9db76c5a1d: Download complete [2021-01-11T06:31:09.791Z] 0ef7d3d256c8: Verifying Checksum [2021-01-11T06:31:09.791Z] 0ef7d3d256c8: Download complete [2021-01-11T06:31:09.791Z] 0d57e429df01: Verifying Checksum [2021-01-11T06:31:09.791Z] 0d57e429df01: Download complete [2021-01-11T06:31:09.791Z] 4e4be7b47b0d: Verifying Checksum [2021-01-11T06:31:09.791Z] 4e4be7b47b0d: Download complete [2021-01-11T06:31:09.791Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T06:31:09.791Z] 188c0c94c7c5: Download complete [2021-01-11T06:31:10.371Z] 188c0c94c7c5: Pull complete [2021-01-11T06:31:10.371Z] 0ef7d3d256c8: Pull complete [2021-01-11T06:31:10.636Z] de9db76c5a1d: Pull complete [2021-01-11T06:31:11.596Z] e1f770b5df2f: Verifying Checksum [2021-01-11T06:31:11.596Z] e1f770b5df2f: Download complete [2021-01-11T06:31:13.544Z] 0eba1c9be4d2: Verifying Checksum [2021-01-11T06:31:13.544Z] 0eba1c9be4d2: Download complete [2021-01-11T06:31:13.544Z] 85a0685a4137: Verifying Checksum [2021-01-11T06:31:13.544Z] 85a0685a4137: Download complete [2021-01-11T06:31:20.177Z] 0eba1c9be4d2: Pull complete [2021-01-11T06:31:20.177Z] 0d57e429df01: Pull complete [2021-01-11T06:31:20.177Z] 4e4be7b47b0d: Pull complete [2021-01-11T06:31:22.767Z] e1f770b5df2f: Pull complete [2021-01-11T06:31:29.434Z] 85a0685a4137: Pull complete [2021-01-11T06:31:29.434Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-11T06:31:29.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T06:31:29.434Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-11T06:31:29.671Z] prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container [2021-01-11T06:31:29.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-11T06:31:30.855Z] $ docker top fa12526e896faf3e8f5170bc7852ae1276504ab7366360a2c72d2e602880806d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-11T06:31:31.069Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-11T06:31:31.364Z] + set -o pipefail [2021-01-11T06:31:31.364Z] + snyk monitor '--org=edgex-jenkins' [2021-01-11T06:31:37.971Z] [2021-01-11T06:31:37.972Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2021-01-11T06:31:37.972Z] [2021-01-11T06:31:37.972Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/b1e3ddbe-1ff1-4c4a-98e1-ea49a8b7eb1e [2021-01-11T06:31:37.972Z] [2021-01-11T06:31:37.972Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-11T06:31:37.972Z] [2021-01-11T06:31:38.234Z] [Pipeline] } [2021-01-11T06:31:38.250Z] $ docker stop --time=1 fa12526e896faf3e8f5170bc7852ae1276504ab7366360a2c72d2e602880806d [2021-01-11T06:31:40.897Z] $ docker rm -f fa12526e896faf3e8f5170bc7852ae1276504ab7366360a2c72d2e602880806d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-11T06:31:42.788Z] + git log --format=format:%s -1 561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:43.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:31:43.108Z] . [Pipeline] withDockerContainer [2021-01-11T06:31:43.206Z] prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container [2021-01-11T06:31:43.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-11T06:31:44.196Z] $ docker top 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T06:31:44.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:31:44.530Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:31:44.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:31:44.772Z] $ docker exec 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 ssh-agent [2021-01-11T06:31:44.934Z] SSH_AUTH_SOCK=/tmp/ssh-cAAPb2t7lU19/agent.11 [2021-01-11T06:31:44.934Z] SSH_AGENT_PID=16 [2021-01-11T06:31:44.942Z] Running ssh-add (command line suppressed) [2021-01-11T06:31:45.075Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7841329460638415296.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7841329460638415296.key) [2021-01-11T06:31:45.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:31:45.469Z] + git semver tag [2021-01-11T06:31:45.469Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T06:31:45.469Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-01-11T06:31:45.469Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-01-11T06:31:45.469Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T06:31:45.469Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T06:31:45.469Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T06:31:45.469Z] # $SEMVER_BRANCH = master [2021-01-11T06:31:45.469Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-01-11T06:31:45.469Z] # 561c5a452436cba8707a8b2c6132209bc86d4f3d HEAD [2021-01-11T06:31:45.469Z] # -> Force: false [2021-01-11T06:31:45.469Z] # 9dadbd3230c8e1728f453b11a2a2c6c1f0c036b0 refs/tags/v1.3.1-dev.3 [Pipeline] } [2021-01-11T06:31:45.483Z] $ docker exec --env ******** --env ******** 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 ssh-agent -k [2021-01-11T06:31:45.606Z] unset SSH_AUTH_SOCK; [2021-01-11T06:31:45.606Z] unset SSH_AGENT_PID; [2021-01-11T06:31:45.606Z] echo Agent pid 16 killed; [2021-01-11T06:31:45.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T06:31:46.182Z] + git semver [Pipeline] } [2021-01-11T06:31:46.201Z] $ docker stop --time=1 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 [2021-01-11T06:31:47.559Z] $ docker rm -f 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:48.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T06:31:48.153Z] [2021-01-11T06:31:48.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:31:48.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T06:31:48.506Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-11T06:31:48.506Z] ab5ef0e58194: Pulling fs layer [2021-01-11T06:31:48.506Z] 9712f1f96733: Pulling fs layer [2021-01-11T06:31:48.506Z] 63f879dbbcfc: Pulling fs layer [2021-01-11T06:31:48.506Z] 0d9ebad4ef96: Pulling fs layer [2021-01-11T06:31:48.506Z] e9a5061849ea: Pulling fs layer [2021-01-11T06:31:48.506Z] d747dcd14b5f: Pulling fs layer [2021-01-11T06:31:48.506Z] 2de7ff778b66: Pulling fs layer [2021-01-11T06:31:48.506Z] e9a5061849ea: Waiting [2021-01-11T06:31:48.506Z] d747dcd14b5f: Waiting [2021-01-11T06:31:48.506Z] 2de7ff778b66: Waiting [2021-01-11T06:31:48.506Z] 0d9ebad4ef96: Waiting [2021-01-11T06:31:48.506Z] 9712f1f96733: Verifying Checksum [2021-01-11T06:31:48.506Z] 9712f1f96733: Download complete [2021-01-11T06:31:49.918Z] 63f879dbbcfc: Verifying Checksum [2021-01-11T06:31:49.918Z] 63f879dbbcfc: Download complete [2021-01-11T06:31:49.918Z] e9a5061849ea: Verifying Checksum [2021-01-11T06:31:49.918Z] e9a5061849ea: Download complete [2021-01-11T06:31:50.183Z] d747dcd14b5f: Verifying Checksum [2021-01-11T06:31:50.183Z] d747dcd14b5f: Download complete [2021-01-11T06:31:50.449Z] 2de7ff778b66: Verifying Checksum [2021-01-11T06:31:50.449Z] 2de7ff778b66: Download complete [2021-01-11T06:31:50.449Z] 0d9ebad4ef96: Verifying Checksum [2021-01-11T06:31:50.449Z] 0d9ebad4ef96: Download complete [2021-01-11T06:31:50.714Z] ab5ef0e58194: Verifying Checksum [2021-01-11T06:31:50.714Z] ab5ef0e58194: Download complete [2021-01-11T06:31:54.960Z] ab5ef0e58194: Pull complete [2021-01-11T06:31:54.960Z] 9712f1f96733: Pull complete [2021-01-11T06:31:56.889Z] 63f879dbbcfc: Pull complete [2021-01-11T06:32:03.693Z] 0d9ebad4ef96: Pull complete [2021-01-11T06:32:05.087Z] e9a5061849ea: Pull complete [2021-01-11T06:32:05.087Z] d747dcd14b5f: Pull complete [2021-01-11T06:32:07.644Z] 2de7ff778b66: Pull complete [2021-01-11T06:32:07.644Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-11T06:32:07.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T06:32:07.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-11T06:32:07.853Z] prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container [2021-01-11T06:32:07.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-11T06:32:11.803Z] $ docker top f5cba1499b708188cfb9bf1eb6da06f9859e0ee17c4f4d847a4fe36e550946c6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-11T06:32:12.153Z] provisioning config files... [2021-01-11T06:32:12.163Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config9056676158520844021tmp [2021-01-11T06:32:12.197Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6915953680594059976tmp [2021-01-11T06:32:12.213Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config792372277033459826tmp [Pipeline] { [Pipeline] echo [2021-01-11T06:32:12.268Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:32:12.567Z] ---> sigul-configuration.sh [2021-01-11T06:32:12.567Z] gpg: directory `/root/.gnupg' created [2021-01-11T06:32:12.567Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-11T06:32:12.567Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-11T06:32:12.567Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-11T06:32:12.567Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-11T06:32:12.567Z] gpg: CAST5 encrypted data [2021-01-11T06:32:12.830Z] gpg: encrypted with 1 passphrase [2021-01-11T06:32:12.830Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-11T06:32:13.132Z] + mkdir /home/jenkins [2021-01-11T06:32:13.132Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-11T06:32:13.434Z] + 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-01-11T06:32:13.446Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:32:13.748Z] ---> sigul-install.sh [2021-01-11T06:32:19.063Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-11T06:32:19.370Z] + git tag --list [2021-01-11T06:32:19.370Z] 1.0.0 [2021-01-11T06:32:19.370Z] v0.0.0 [2021-01-11T06:32:19.370Z] v1.1.0 [2021-01-11T06:32:19.370Z] v1.1.1 [2021-01-11T06:32:19.370Z] v1.2.1 [2021-01-11T06:32:19.370Z] v1.2.2 [2021-01-11T06:32:19.370Z] v1.2.2-dev.1 [2021-01-11T06:32:19.370Z] v1.2.2-dev.2 [2021-01-11T06:32:19.370Z] v1.2.3-dev.1 [2021-01-11T06:32:19.370Z] v1.2.3-dev.2 [2021-01-11T06:32:19.370Z] v1.2.3-dev.3 [2021-01-11T06:32:19.370Z] v1.2.3-dev.4 [2021-01-11T06:32:19.370Z] v1.2.3-dev.5 [2021-01-11T06:32:19.370Z] v1.2.3-dev.6 [2021-01-11T06:32:19.370Z] v1.3.0 [2021-01-11T06:32:19.370Z] v1.3.1-dev.1 [2021-01-11T06:32:19.370Z] v1.3.1-dev.2 [2021-01-11T06:32:19.370Z] v1.3.1-dev.3 [Pipeline] sh [2021-01-11T06:32:19.683Z] + lftools sign git-tag v1.3.1-dev.3 [2021-01-11T06:32:21.073Z] Signing Git tag with Sigul... [2021-01-11T06:32:21.073Z] Signing v1.3.1-dev.3 [Pipeline] echo [2021-01-11T06:32:22.049Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:32:22.359Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-11T06:32:22.370Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-11T06:32:22.463Z] $ docker stop --time=1 f5cba1499b708188cfb9bf1eb6da06f9859e0ee17c4f4d847a4fe36e550946c6 [2021-01-11T06:32:24.503Z] $ docker rm -f f5cba1499b708188cfb9bf1eb6da06f9859e0ee17c4f4d847a4fe36e550946c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:32:25.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:32:25.494Z] . [Pipeline] withDockerContainer [2021-01-11T06:32:25.603Z] prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container [2021-01-11T06:32:25.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-11T06:32:26.381Z] $ docker top df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T06:32:26.729Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:32:26.729Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:32:26.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:32:26.971Z] $ docker exec df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b ssh-agent [2021-01-11T06:32:27.156Z] SSH_AUTH_SOCK=/tmp/ssh-i6uzJllsvEN3/agent.11 [2021-01-11T06:32:27.157Z] SSH_AGENT_PID=16 [2021-01-11T06:32:27.164Z] Running ssh-add (command line suppressed) [2021-01-11T06:32:27.293Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7252336089326302722.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7252336089326302722.key) [2021-01-11T06:32:27.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:32:27.713Z] + git semver bump pre [2021-01-11T06:32:27.713Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T06:32:27.713Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-01-11T06:32:27.713Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-01-11T06:32:27.713Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T06:32:27.713Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T06:32:27.713Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T06:32:27.713Z] # $SEMVER_BRANCH = master [2021-01-11T06:32:27.713Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-01-11T06:32:27.713Z] 1.3.1-dev.4 [Pipeline] } [2021-01-11T06:32:27.731Z] $ docker exec --env ******** --env ******** df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b ssh-agent -k [2021-01-11T06:32:27.874Z] unset SSH_AUTH_SOCK; [2021-01-11T06:32:27.875Z] unset SSH_AGENT_PID; [2021-01-11T06:32:27.875Z] echo Agent pid 16 killed; [2021-01-11T06:32:27.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T06:32:28.420Z] + git semver [Pipeline] } [2021-01-11T06:32:28.437Z] $ docker stop --time=1 df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b [2021-01-11T06:32:29.838Z] $ docker rm -f df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:32:30.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:32:30.361Z] . [Pipeline] withDockerContainer [2021-01-11T06:32:30.467Z] prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container [2021-01-11T06:32:30.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-11T06:32:31.195Z] $ docker top ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T06:32:31.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:32:31.493Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:32:31.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:32:31.690Z] $ docker exec ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 ssh-agent [2021-01-11T06:32:31.884Z] SSH_AUTH_SOCK=/tmp/ssh-AV2zU0sYjnEu/agent.11 [2021-01-11T06:32:31.884Z] SSH_AGENT_PID=16 [2021-01-11T06:32:31.891Z] Running ssh-add (command line suppressed) [2021-01-11T06:32:32.040Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8542858511308652912.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8542858511308652912.key) [2021-01-11T06:32:32.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:32:32.435Z] + git semver push [2021-01-11T06:32:32.435Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T06:32:32.435Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-01-11T06:32:32.435Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-01-11T06:32:32.435Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T06:32:32.435Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T06:32:32.435Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T06:32:32.435Z] # $SEMVER_BRANCH = master [2021-01-11T06:32:32.435Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-01-11T06:32:39.064Z] $ docker exec --env ******** --env ******** ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 ssh-agent -k [2021-01-11T06:32:39.196Z] unset SSH_AUTH_SOCK; [2021-01-11T06:32:39.198Z] unset SSH_AGENT_PID; [2021-01-11T06:32:39.198Z] echo Agent pid 16 killed; [2021-01-11T06:32:39.252Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T06:32:39.715Z] + git semver [Pipeline] } [2021-01-11T06:32:39.733Z] $ docker stop --time=1 ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 [2021-01-11T06:32:41.120Z] $ docker rm -f ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 [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-01-11T06:32:42.575Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:32:43.343Z] ---> package-listing.sh [2021-01-11T06:32:43.343Z] ++ facter osfamily [2021-01-11T06:32:43.343Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T06:32:43.343Z] + OS_FAMILY=redhat [2021-01-11T06:32:43.343Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2021-01-11T06:32:43.343Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T06:32:43.343Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T06:32:43.343Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T06:32:43.343Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T06:32:43.343Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-01-11T06:32:43.343Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T06:32:43.343Z] + case "${OS_FAMILY}" in [2021-01-11T06:32:43.343Z] + rpm -qa [2021-01-11T06:32:43.343Z] + sort [2021-01-11T06:32:47.582Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T06:32:47.582Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T06:32:47.582Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T06:32:47.845Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-01-11T06:32:47.845Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2021-01-11T06:32:47.845Z] + 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-01-11T06:32:47.859Z] 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-01-11T06:32:48.156Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:32:48.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:32:48.469Z] [2021-01-11T06:32:48.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:32:48.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:32:48.839Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T06:32:48.839Z] df20fa9351a1: Pulling fs layer [2021-01-11T06:32:48.839Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T06:32:48.839Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T06:32:48.839Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T06:32:48.839Z] 93b61091891f: Pulling fs layer [2021-01-11T06:32:48.839Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T06:32:48.839Z] 5e14af77c1be: Pulling fs layer [2021-01-11T06:32:48.839Z] 01666e4c0597: Pulling fs layer [2021-01-11T06:32:48.839Z] aa168da1d23b: Pulling fs layer [2021-01-11T06:32:48.839Z] 93b9cdb0e59b: Waiting [2021-01-11T06:32:48.839Z] 5e14af77c1be: Waiting [2021-01-11T06:32:48.839Z] 01666e4c0597: Waiting [2021-01-11T06:32:48.839Z] aa168da1d23b: Waiting [2021-01-11T06:32:48.839Z] 46f8f816bc3b: Waiting [2021-01-11T06:32:48.839Z] 93b61091891f: Waiting [2021-01-11T06:32:48.839Z] 36b3adc4ff6f: Download complete [2021-01-11T06:32:48.839Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T06:32:48.839Z] 46f8f816bc3b: Download complete [2021-01-11T06:32:48.839Z] df20fa9351a1: Verifying Checksum [2021-01-11T06:32:48.839Z] df20fa9351a1: Download complete [2021-01-11T06:32:48.839Z] 93b9cdb0e59b: Verifying Checksum [2021-01-11T06:32:48.839Z] 93b9cdb0e59b: Download complete [2021-01-11T06:32:48.839Z] 93b61091891f: Verifying Checksum [2021-01-11T06:32:48.839Z] 93b61091891f: Download complete [2021-01-11T06:32:48.839Z] 5e14af77c1be: Verifying Checksum [2021-01-11T06:32:48.839Z] 5e14af77c1be: Download complete [2021-01-11T06:32:49.103Z] 01666e4c0597: Verifying Checksum [2021-01-11T06:32:49.103Z] 01666e4c0597: Download complete [2021-01-11T06:32:49.103Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T06:32:49.103Z] 8ad3a11d3b57: Download complete [2021-01-11T06:32:49.375Z] df20fa9351a1: Pull complete [2021-01-11T06:32:49.638Z] 36b3adc4ff6f: Pull complete [2021-01-11T06:32:51.033Z] 8ad3a11d3b57: Pull complete [2021-01-11T06:32:51.033Z] aa168da1d23b: Verifying Checksum [2021-01-11T06:32:51.033Z] aa168da1d23b: Download complete [2021-01-11T06:32:51.033Z] 46f8f816bc3b: Pull complete [2021-01-11T06:32:51.609Z] 93b61091891f: Pull complete [2021-01-11T06:32:51.873Z] 93b9cdb0e59b: Pull complete [2021-01-11T06:32:51.873Z] 5e14af77c1be: Pull complete [2021-01-11T06:32:52.141Z] 01666e4c0597: Pull complete [2021-01-11T06:32:58.785Z] aa168da1d23b: Pull complete [2021-01-11T06:32:58.785Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T06:32:58.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:32:58.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T06:32:58.915Z] prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container [2021-01-11T06:32:58.966Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-11T06:33:01.997Z] $ docker top b4519237a3a022a8ecfdd5dd591124d663f2c88ef42d27cec0bc2f06070d661b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:33:02.544Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T06:33:02.843Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T06:33:03.143Z] + ls /var/log/sa-host [2021-01-11T06:33:03.143Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T06:33:03.143Z] file_magic: OK [2021-01-11T06:33:03.143Z] HZ: Using current value: 100 [2021-01-11T06:33:03.143Z] file_header: OK [2021-01-11T06:33:03.143Z] 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-01-11T06:33:03.143Z] Statistics: [2021-01-11T06:33:03.143Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T06:33:03.143Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T06:33:03.143Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T06:33:03.143Z] file_magic: OK [2021-01-11T06:33:03.143Z] HZ: Using current value: 100 [2021-01-11T06:33:03.143Z] file_header: OK [2021-01-11T06:33:03.143Z] 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-01-11T06:33:03.143Z] Statistics: [2021-01-11T06:33:03.143Z] Hnuu...uuuununununu... [2021-01-11T06:33:03.143Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T06:33:03.341Z] provisioning config files... [2021-01-11T06:33:03.358Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2408080761193946288tmp [Pipeline] { [Pipeline] echo [2021-01-11T06:33:03.427Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:33:03.734Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T06:33:03.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T06:33:03.835Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:33:04.133Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T06:33:04.145Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:33:04.444Z] ---> sudo-logs.sh [2021-01-11T06:33:04.444Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T06:33:04.455Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:33:04.754Z] ---> job-cost.sh [2021-01-11T06:33:04.754Z] lf-activate-venv: SKIPPING [2021-01-11T06:33:04.754Z] INFO: No Stack... [2021-01-11T06:33:08.075Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T06:33:08.346Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T06:33:08.361Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:33:08.676Z] ---> logs-deploy.sh [2021-01-11T06:33:08.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/21 [2021-01-11T06:33:08.676Z] INFO: archiving workspace using pattern(s): [2021-01-11T06:33:10.598Z] Archives upload complete. [2021-01-11T06:33:10.598Z] INFO: archiving logs to Nexus