Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dfea19939c3e5952b7f8a352ed4dd87bf2177730 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12254’ Running on prd-centos7-docker-4c-2g-12259 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision dfea19939c3e5952b7f8a352ed4dd87bf2177730 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 Commit message: "Merge pull request #71 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" > git rev-list --no-walk 03464ffadf6f8b9068bcdea2569ab2e117b905af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-16T16:21:44.943Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-16T16:21:45.196Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-16T16:21:45.338Z] ========================================================= [2020-11-16T16:21:45.338Z] EdgeX Global Pipelines Version Info [2020-11-16T16:21:45.338Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:21:46.942Z] ------------------- [2020-11-16T16:21:46.942Z] stable info: [2020-11-16T16:21:46.942Z] ------------------- [2020-11-16T16:21:46.942Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:21:46.942Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-16T16:21:46.942Z] Message: update stable to v1.0.162 [2020-11-16T16:21:47.905Z] ------------------- [2020-11-16T16:21:47.905Z] experimental info: [2020-11-16T16:21:47.905Z] ------------------- [2020-11-16T16:21:47.905Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:21:47.905Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-16T16:21:47.905Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-16T16:21:48.299Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2020-11-16T16:21:48.402Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2020-11-16T16:21:48.512Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-16T16:21:48.626Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-16T16:21:48.718Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-16T16:21:48.812Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-16T16:21:48.905Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-16T16:21:49.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-16T16:21:49.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-16T16:21:49.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-16T16:21:49.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-16T16:21:49.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2020-11-16T16:21:49.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-16T16:21:49.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-16T16:21:49.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:21:49.817Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:21:49.916Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:21:50.035Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:21:50.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-16T16:21:50.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-16T16:21:50.359Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-16T16:21:50.477Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-16T16:21:50.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-16T16:21:50.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-16T16:21:50.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-16T16:21:50.927Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-16T16:21:51.024Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-16T16:21:51.117Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-16T16:21:51.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-16T16:21:51.309Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] echo [2020-11-16T16:21:51.424Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfea199 [Pipeline] echo [2020-11-16T16:21:51.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:21:51.729Z] provisioning config files... [2020-11-16T16:21:51.763Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config8796313096804606129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:21:52.121Z] ---> docker-login.sh [2020-11-16T16:21:52.121Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:21:52.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:52.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:52.386Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:52.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:52.386Z] [2020-11-16T16:21:52.386Z] Login Succeeded [2020-11-16T16:21:52.386Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:21:52.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:52.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:52.648Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:52.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:52.648Z] [2020-11-16T16:21:52.648Z] Login Succeeded [2020-11-16T16:21:52.648Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:21:52.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:52.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:52.910Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:52.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:52.910Z] [2020-11-16T16:21:52.910Z] Login Succeeded [2020-11-16T16:21:52.910Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:21:52.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:53.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:53.176Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:53.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:53.176Z] [2020-11-16T16:21:53.176Z] Login Succeeded [2020-11-16T16:21:53.176Z] docker.io [2020-11-16T16:21:53.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:53.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:53.439Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:53.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:53.439Z] [2020-11-16T16:21:53.439Z] Login Succeeded [2020-11-16T16:21:53.439Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:21:53.449Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:21:54.328Z] + git log --format=format:%s -1 dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] echo [2020-11-16T16:21:54.394Z] GIT_COMMIT: dfea19939c3e5952b7f8a352ed4dd87bf2177730, Commit Message: Merge pull request #71 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0 [Pipeline] echo [2020-11-16T16:21:54.439Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:21:55.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:21:55.057Z] [2020-11-16T16:21:55.057Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:21:55.412Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:21:55.412Z] latest: Pulling from edgex-devops/git-semver [2020-11-16T16:21:55.412Z] 31603596830f: Pulling fs layer [2020-11-16T16:21:55.412Z] 2a8b12db71e7: Pulling fs layer [2020-11-16T16:21:55.412Z] 6ca5941a6612: Pulling fs layer [2020-11-16T16:21:55.412Z] ecc8261a40a4: Pulling fs layer [2020-11-16T16:21:55.412Z] ecc8261a40a4: Waiting [2020-11-16T16:21:55.412Z] 2a8b12db71e7: Download complete [2020-11-16T16:21:55.412Z] 31603596830f: Verifying Checksum [2020-11-16T16:21:55.412Z] 31603596830f: Download complete [2020-11-16T16:21:55.683Z] ecc8261a40a4: Verifying Checksum [2020-11-16T16:21:55.683Z] ecc8261a40a4: Download complete [2020-11-16T16:21:55.683Z] 6ca5941a6612: Verifying Checksum [2020-11-16T16:21:55.683Z] 6ca5941a6612: Download complete [2020-11-16T16:21:55.949Z] 31603596830f: Pull complete [2020-11-16T16:21:56.214Z] 2a8b12db71e7: Pull complete [2020-11-16T16:21:56.796Z] 6ca5941a6612: Pull complete [2020-11-16T16:21:57.060Z] ecc8261a40a4: Pull complete [2020-11-16T16:21:57.060Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-16T16:21:57.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:21:57.060Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-16T16:21:57.166Z] prd-centos7-docker-4c-2g-12259 does not seem to be running inside a container [2020-11-16T16:21:57.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:21:59.458Z] $ docker top 14776a9682d8344d2bd1e19c8ba63aa579063d85138c025a5dcfee4b61fe8389 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:21:59.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:21:59.763Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:21:59.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:21:59.983Z] $ docker exec 14776a9682d8344d2bd1e19c8ba63aa579063d85138c025a5dcfee4b61fe8389 ssh-agent [2020-11-16T16:22:00.152Z] SSH_AUTH_SOCK=/tmp/ssh-nVfrrHLRwriJ/agent.11 [2020-11-16T16:22:00.152Z] SSH_AGENT_PID=16 [2020-11-16T16:22:00.164Z] Running ssh-add (command line suppressed) [2020-11-16T16:22:00.292Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_57718892950766212.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_57718892950766212.key) [2020-11-16T16:22:00.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:22:00.698Z] + git tag --points-at HEAD [Pipeline] } [2020-11-16T16:22:00.721Z] $ docker exec --env ******** --env ******** 14776a9682d8344d2bd1e19c8ba63aa579063d85138c025a5dcfee4b61fe8389 ssh-agent -k [2020-11-16T16:22:00.843Z] unset SSH_AUTH_SOCK; [2020-11-16T16:22:00.843Z] unset SSH_AGENT_PID; [2020-11-16T16:22:00.843Z] echo Agent pid 16 killed; [2020-11-16T16:22:00.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-16T16:22:01.047Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:22:01.047Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:22:01.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:22:01.222Z] $ docker exec 14776a9682d8344d2bd1e19c8ba63aa579063d85138c025a5dcfee4b61fe8389 ssh-agent [2020-11-16T16:22:01.407Z] SSH_AUTH_SOCK=/tmp/ssh-KPJ5c2XVx2Ol/agent.44 [2020-11-16T16:22:01.407Z] SSH_AGENT_PID=49 [2020-11-16T16:22:01.413Z] Running ssh-add (command line suppressed) [2020-11-16T16:22:01.542Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6240078854923472293.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6240078854923472293.key) [2020-11-16T16:22:01.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:22:01.935Z] + git semver init [2020-11-16T16:22:01.935Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:22:01.935Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-11-16T16:22:01.935Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-11-16T16:22:01.935Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:22:01.935Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:22:01.935Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:22:01.935Z] # $SEMVER_BRANCH = master [2020-11-16T16:22:01.935Z] # $SEMVER_TEMP = /tmp/semver-913699332 [2020-11-16T16:22:01.935Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2020-11-16T16:22:03.323Z] # '/tmp/semver-913699332' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2020-11-16T16:22:03.323Z] # -> Force: false [2020-11-16T16:22:03.323Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2020-11-16T16:22:03.337Z] $ docker exec --env ******** --env ******** 14776a9682d8344d2bd1e19c8ba63aa579063d85138c025a5dcfee4b61fe8389 ssh-agent -k [2020-11-16T16:22:03.465Z] unset SSH_AUTH_SOCK; [2020-11-16T16:22:03.466Z] unset SSH_AGENT_PID; [2020-11-16T16:22:03.466Z] echo Agent pid 49 killed; [2020-11-16T16:22:03.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:22:03.981Z] + git semver [Pipeline] } [2020-11-16T16:22:04.001Z] $ docker stop --time=1 14776a9682d8344d2bd1e19c8ba63aa579063d85138c025a5dcfee4b61fe8389 [2020-11-16T16:22:05.423Z] $ docker rm -f 14776a9682d8344d2bd1e19c8ba63aa579063d85138c025a5dcfee4b61fe8389 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:22:05.960Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-16T16:22:06.449Z] Stashed 1 file(s) [Pipeline] echo [2020-11-16T16:22:06.452Z] [edgeXSemver]: initialized semver on version 1.2.3-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-16T16:22:21.993Z] Still waiting to schedule task [2020-11-16T16:22:21.993Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-11-16T16:22:21.996Z] Still waiting to schedule task [2020-11-16T16:22:21.996Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-16T16:23:56.901Z] Running on prd-centos7-docker-4c-2g-12266 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2020-11-16T16:23:56.960Z] Running in /w/workspace/device-snmp-go/17 [Pipeline] { [Pipeline] checkout [2020-11-16T16:23:59.644Z] using credential edgex-jenkins-ssh [2020-11-16T16:23:59.707Z] Cloning the remote Git repository [2020-11-16T16:23:59.739Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-11-16T16:23:59.805Z] > git init /w/workspace/device-snmp-go/17 # timeout=10 [2020-11-16T16:23:59.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-16T16:23:59.858Z] > git --version # timeout=10 [2020-11-16T16:23:59.864Z] > git --version # 'git version 2.16.5' [2020-11-16T16:23:59.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:23:59.895Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:24:00.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-16T16:24:00.447Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:24:00.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-16T16:24:00.475Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-16T16:24:00.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:24:00.480Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:24:00.901Z] Checking out Revision dfea19939c3e5952b7f8a352ed4dd87bf2177730 (master) [2020-11-16T16:24:00.911Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:24:00.917Z] > git checkout -f dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [2020-11-16T16:24:04.679Z] Commit message: "Merge pull request #71 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:24:05.372Z] provisioning config files... [2020-11-16T16:24:05.413Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/17@tmp/config8731233232520849417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:24:06.100Z] ---> docker-login.sh [2020-11-16T16:24:06.100Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:24:06.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:06.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:06.366Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:06.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:06.366Z] [2020-11-16T16:24:06.366Z] Login Succeeded [2020-11-16T16:24:06.366Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:24:06.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:06.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:06.629Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:06.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:06.629Z] [2020-11-16T16:24:06.629Z] Login Succeeded [2020-11-16T16:24:06.629Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:24:07.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:07.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:07.504Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:07.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:07.504Z] [2020-11-16T16:24:07.504Z] Login Succeeded [2020-11-16T16:24:07.504Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:24:07.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:07.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:07.504Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:07.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:07.504Z] [2020-11-16T16:24:07.504Z] Login Succeeded [2020-11-16T16:24:07.504Z] docker.io [2020-11-16T16:24:07.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:07.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:07.504Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:07.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:07.504Z] [2020-11-16T16:24:07.504Z] Login Succeeded [2020-11-16T16:24:07.504Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:24:07.547Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:24:07.859Z] ========================================================= [2020-11-16T16:24:07.859Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-16T16:24:07.859Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:08.203Z] + 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 . [2020-11-16T16:24:08.203Z] Sending build context to Docker daemon 305.7kB [2020-11-16T16:24:08.478Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-16T16:24:08.478Z] Step 2/10 : FROM ${BASE} [2020-11-16T16:24:08.478Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-16T16:24:08.478Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:24:08.478Z] ed8968b2872e: Pulling fs layer [2020-11-16T16:24:08.478Z] a92cc7c5fd73: Pulling fs layer [2020-11-16T16:24:08.478Z] e871e8e8d7a9: Pulling fs layer [2020-11-16T16:24:08.478Z] e73272ec9a57: Pulling fs layer [2020-11-16T16:24:08.478Z] 1e910a182e73: Pulling fs layer [2020-11-16T16:24:08.478Z] 4e634b169226: Pulling fs layer [2020-11-16T16:24:08.478Z] 1e910a182e73: Waiting [2020-11-16T16:24:08.478Z] e871e8e8d7a9: Waiting [2020-11-16T16:24:08.478Z] 4e634b169226: Waiting [2020-11-16T16:24:08.478Z] e73272ec9a57: Waiting [2020-11-16T16:24:08.478Z] a92cc7c5fd73: Verifying Checksum [2020-11-16T16:24:08.478Z] a92cc7c5fd73: Download complete [2020-11-16T16:24:08.478Z] ed8968b2872e: Verifying Checksum [2020-11-16T16:24:08.478Z] ed8968b2872e: Download complete [2020-11-16T16:24:08.478Z] e73272ec9a57: Verifying Checksum [2020-11-16T16:24:08.478Z] e73272ec9a57: Download complete [2020-11-16T16:24:08.478Z] 1e910a182e73: Verifying Checksum [2020-11-16T16:24:08.478Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:24:08.478Z] df20fa9351a1: Download complete [2020-11-16T16:24:08.748Z] df20fa9351a1: Pull complete [2020-11-16T16:24:09.013Z] ed8968b2872e: Pull complete [2020-11-16T16:24:09.276Z] a92cc7c5fd73: Pull complete [2020-11-16T16:24:10.231Z] 4e634b169226: Verifying Checksum [2020-11-16T16:24:10.231Z] 4e634b169226: Download complete [2020-11-16T16:24:11.181Z] e871e8e8d7a9: Verifying Checksum [2020-11-16T16:24:11.181Z] e871e8e8d7a9: Download complete [2020-11-16T16:24:16.535Z] e871e8e8d7a9: Pull complete [2020-11-16T16:24:16.535Z] e73272ec9a57: Pull complete [2020-11-16T16:24:16.813Z] 1e910a182e73: Pull complete [2020-11-16T16:24:22.148Z] 4e634b169226: Pull complete [2020-11-16T16:24:22.148Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-16T16:24:22.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-16T16:24:22.148Z] ---> f7629b54cfaa [2020-11-16T16:24:22.148Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T16:24:22.148Z] ---> Running in 9aed6da2a9ea [2020-11-16T16:24:22.148Z] Removing intermediate container 9aed6da2a9ea [2020-11-16T16:24:22.148Z] ---> fc3792d824a1 [2020-11-16T16:24:22.148Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:24:22.148Z] ---> Running in 3e2714686331 [2020-11-16T16:24:22.148Z] Removing intermediate container 3e2714686331 [2020-11-16T16:24:22.148Z] ---> 2b3b75c70186 [2020-11-16T16:24:22.148Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-11-16T16:24:22.148Z] ---> Running in 799208c3c918 [2020-11-16T16:24:22.411Z] Removing intermediate container 799208c3c918 [2020-11-16T16:24:22.411Z] ---> 4c36575842c3 [2020-11-16T16:24:22.411Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:24:22.411Z] ---> Running in 1e1fc34d3ca3 [2020-11-16T16:24:23.848Z] Removing intermediate container 1e1fc34d3ca3 [2020-11-16T16:24:23.848Z] ---> c188b46dc49c [2020-11-16T16:24:23.848Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:24:23.848Z] ---> Running in 31702d9d3f29 [2020-11-16T16:24:24.427Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:24:25.002Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T16:24:25.265Z] OK: 166 MiB in 39 packages [2020-11-16T16:24:25.850Z] Removing intermediate container 31702d9d3f29 [2020-11-16T16:24:25.850Z] ---> 8a3f045d56b6 [2020-11-16T16:24:25.850Z] Step 8/10 : WORKDIR /device-snmp-go [2020-11-16T16:24:25.850Z] ---> Running in 71280e45b24e [2020-11-16T16:24:26.114Z] Removing intermediate container 71280e45b24e [2020-11-16T16:24:26.114Z] ---> 87e354d8edae [2020-11-16T16:24:26.114Z] Step 9/10 : COPY . . [2020-11-16T16:24:26.692Z] ---> 4e1892a32f3d [2020-11-16T16:24:26.692Z] Step 10/10 : RUN go mod download [2020-11-16T16:24:26.692Z] ---> Running in 5083d6eaca18 [2020-11-16T16:24:48.729Z] Removing intermediate container 5083d6eaca18 [2020-11-16T16:24:48.729Z] ---> 6b5dbc6e64e8 [2020-11-16T16:24:48.729Z] Successfully built 6b5dbc6e64e8 [2020-11-16T16:24:48.729Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:49.044Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:24:49.044Z] . [Pipeline] withDockerContainer [2020-11-16T16:24:49.163Z] prd-centos7-docker-4c-2g-12266 does not seem to be running inside a container [2020-11-16T16:24:49.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/17 -v /w/workspace/device-snmp-go/17:/w/workspace/device-snmp-go/17:rw,z -v /w/workspace/device-snmp-go/17@tmp:/w/workspace/device-snmp-go/17@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 ******** ci-base-image-x86_64 cat [2020-11-16T16:24:49.948Z] $ docker top ceb13e744e49de113b791e647b6812912306d92080856d02bc8bae463ed5eed4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:24:50.585Z] + go version [2020-11-16T16:24:50.585Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-16T16:24:50.630Z] $ docker stop --time=1 ceb13e744e49de113b791e647b6812912306d92080856d02bc8bae463ed5eed4 [2020-11-16T16:24:51.983Z] $ docker rm -f ceb13e744e49de113b791e647b6812912306d92080856d02bc8bae463ed5eed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:52.808Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:24:52.808Z] . [Pipeline] withDockerContainer [2020-11-16T16:24:52.911Z] prd-centos7-docker-4c-2g-12266 does not seem to be running inside a container [2020-11-16T16:24:52.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/17 -v /w/workspace/device-snmp-go/17:/w/workspace/device-snmp-go/17:rw,z -v /w/workspace/device-snmp-go/17@tmp:/w/workspace/device-snmp-go/17@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 ******** ci-base-image-x86_64 cat [2020-11-16T16:24:53.673Z] $ docker top e318dee03bfeef3df645f51e5f53cd9c31543d126149393eb9ecf3cb878c7e11 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:24:54.157Z] + make test [2020-11-16T16:24:54.157Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T16:24:54.753Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-11-16T16:25:04.910Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-11-16T16:25:04.910Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2020-11-16T16:25:04.910Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:25:07.488Z] gofmt -l . [2020-11-16T16:25:07.488Z] [ "`gofmt -l .`" = "" ] [2020-11-16T16:25:07.488Z] ./bin/test-attribution-txt.sh [2020-11-16T16:25:07.750Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T16:25:08.038Z] $ docker stop --time=1 e318dee03bfeef3df645f51e5f53cd9c31543d126149393eb9ecf3cb878c7e11 [2020-11-16T16:25:10.440Z] $ docker rm -f e318dee03bfeef3df645f51e5f53cd9c31543d126149393eb9ecf3cb878c7e11 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:25:11.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T16:25:11.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-16T16:25:12.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T16:25:12.985Z] + ls -al . [2020-11-16T16:25:12.985Z] total 104 [2020-11-16T16:25:12.985Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 16:25 . [2020-11-16T16:25:12.985Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 16 16:23 .. [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 5082 Nov 16 16:24 Attribution.txt [2020-11-16T16:25:12.985Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 16 16:24 bin [2020-11-16T16:25:12.985Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 16:24 cmd [2020-11-16T16:25:12.985Z] -rw-r--r--. 1 jenkins jenkins 8493 Nov 16 16:25 coverage.out [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 1002 Nov 16 16:24 Dockerfile [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 409 Nov 16 16:24 Dockerfile.build [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 6 Nov 16 16:24 .dockerignore [2020-11-16T16:25:12.985Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 16:24 .git [2020-11-16T16:25:12.985Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 16:24 .github [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 272 Nov 16 16:24 .gitignore [2020-11-16T16:25:12.985Z] -rw-r--r--. 1 jenkins jenkins 204 Nov 16 16:25 go.mod [2020-11-16T16:25:12.985Z] -rw-r--r--. 1 jenkins jenkins 13961 Nov 16 16:25 go.sum [2020-11-16T16:25:12.985Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 16 16:24 internal [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 656 Nov 16 16:24 Jenkinsfile [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 16:24 LICENSE [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 937 Nov 16 16:24 Makefile [2020-11-16T16:25:12.985Z] drwxrwxr-x. 2 jenkins jenkins 84 Nov 16 16:24 profiles [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 12398 Nov 16 16:24 README.md [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 16 16:22 VERSION [2020-11-16T16:25:12.985Z] -rw-rw-r--. 1 jenkins jenkins 209 Nov 16 16:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:13.294Z] + 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=dfea19939c3e5952b7f8a352ed4dd87bf2177730 --label arch=amd64 --label version=1.2.3-dev.6 . [2020-11-16T16:25:13.294Z] Sending build context to Docker daemon 314.9kB [2020-11-16T16:25:13.294Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-11-16T16:25:13.294Z] Step 2/26 : FROM ${BASE} AS builder [2020-11-16T16:25:13.294Z] ---> 6b5dbc6e64e8 [2020-11-16T16:25:13.294Z] Step 3/26 : ARG MAKE='make build' [2020-11-16T16:25:13.555Z] ---> Running in 0b3b58f0ef42 [2020-11-16T16:25:13.555Z] Removing intermediate container 0b3b58f0ef42 [2020-11-16T16:25:13.555Z] ---> 97da277ba02a [2020-11-16T16:25:13.555Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T16:25:13.817Z] ---> Running in db3a27a864d6 [2020-11-16T16:25:13.817Z] Removing intermediate container db3a27a864d6 [2020-11-16T16:25:13.817Z] ---> 91a6a87461d3 [2020-11-16T16:25:13.817Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:25:14.086Z] ---> Running in b0654d096183 [2020-11-16T16:25:14.086Z] Removing intermediate container b0654d096183 [2020-11-16T16:25:14.086Z] ---> a86b8f111951 [2020-11-16T16:25:14.086Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:25:14.086Z] ---> Running in 8e6571ab4dca [2020-11-16T16:25:15.070Z] Removing intermediate container 8e6571ab4dca [2020-11-16T16:25:15.070Z] ---> 2cffe9ecd537 [2020-11-16T16:25:15.070Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:25:15.070Z] ---> Running in bf598308cd2d [2020-11-16T16:25:15.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:25:15.681Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12269 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2020-11-16T16:25:15.736Z] Running in /w/workspace/device-snmp-go/17 [Pipeline] { [Pipeline] checkout [2020-11-16T16:25:16.233Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T16:25:16.813Z] OK: 166 MiB in 39 packages [2020-11-16T16:25:17.390Z] Removing intermediate container bf598308cd2d [2020-11-16T16:25:17.390Z] ---> 39298124348b [2020-11-16T16:25:17.390Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-11-16T16:25:17.390Z] ---> Running in 663a03c8e4a2 [2020-11-16T16:25:17.390Z] Removing intermediate container 663a03c8e4a2 [2020-11-16T16:25:17.390Z] ---> 0ccdc0f6c841 [2020-11-16T16:25:17.390Z] Step 9/26 : COPY go.mod . [2020-11-16T16:25:17.653Z] ---> 618feabe9178 [2020-11-16T16:25:17.653Z] Step 10/26 : COPY Makefile . [2020-11-16T16:25:17.915Z] ---> c9fd6368e6f3 [2020-11-16T16:25:17.915Z] Step 11/26 : RUN make update [2020-11-16T16:25:17.915Z] ---> Running in e5a8c0c0ceea [2020-11-16T16:25:18.502Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-16T16:25:18.765Z] Removing intermediate container e5a8c0c0ceea [2020-11-16T16:25:18.765Z] ---> 282fa7374f96 [2020-11-16T16:25:18.765Z] Step 12/26 : COPY . . [2020-11-16T16:25:19.757Z] ---> 81ba4d49a0fa [2020-11-16T16:25:19.757Z] Step 13/26 : RUN ${MAKE} [2020-11-16T16:25:19.757Z] ---> Running in 7f815da52d17 [2020-11-16T16:25:20.022Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.3-dev.6" -o cmd/device-snmp-go ./cmd [2020-11-16T16:25:21.718Z] using credential edgex-jenkins-ssh [2020-11-16T16:25:21.777Z] Cloning the remote Git repository [2020-11-16T16:25:21.849Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-11-16T16:25:21.965Z] > git init /w/workspace/device-snmp-go/17 # timeout=10 [2020-11-16T16:25:22.044Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-16T16:25:22.045Z] > git --version # timeout=10 [2020-11-16T16:25:22.064Z] > git --version # 'git version 2.17.1' [2020-11-16T16:25:22.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:25:22.141Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:25:23.390Z] Checking out Revision dfea19939c3e5952b7f8a352ed4dd87bf2177730 (master) [2020-11-16T16:25:22.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-16T16:25:22.889Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:25:22.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-16T16:25:22.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-16T16:25:22.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:25:22.960Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:25:23.412Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:25:23.429Z] > git checkout -f dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [2020-11-16T16:25:27.956Z] Commit message: "Merge pull request #71 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:25:28.598Z] provisioning config files... [2020-11-16T16:25:28.653Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/17@tmp/config4527279553529972087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:25:29.774Z] ---> docker-login.sh [2020-11-16T16:25:29.774Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:25:30.150Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T16:25:30.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:31.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:31.049Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:31.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:31.049Z] [2020-11-16T16:25:31.049Z] Login Succeeded [2020-11-16T16:25:31.049Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:25:31.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:31.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:31.607Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:31.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:31.607Z] [2020-11-16T16:25:31.607Z] Login Succeeded [2020-11-16T16:25:31.607Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:25:31.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:32.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:32.169Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:32.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:32.169Z] [2020-11-16T16:25:32.169Z] Login Succeeded [2020-11-16T16:25:32.169Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:25:32.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:32.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:32.723Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:32.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:32.723Z] [2020-11-16T16:25:32.723Z] Login Succeeded [2020-11-16T16:25:32.723Z] docker.io [2020-11-16T16:25:32.723Z] Removing intermediate container 7f815da52d17 [2020-11-16T16:25:32.724Z] ---> 1d87cccf22d9 [2020-11-16T16:25:32.724Z] Step 14/26 : FROM alpine [2020-11-16T16:25:32.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:33.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:33.306Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:33.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:33.306Z] [2020-11-16T16:25:33.306Z] Login Succeeded [2020-11-16T16:25:33.306Z] ---> docker-login.sh ends [2020-11-16T16:25:33.312Z] latest: Pulling from library/alpine [2020-11-16T16:25:33.312Z] 188c0c94c7c5: Pulling fs layer [Pipeline] } [2020-11-16T16:25:33.398Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2020-11-16T16:25:33.590Z] 188c0c94c7c5: Verifying Checksum [2020-11-16T16:25:33.590Z] 188c0c94c7c5: Download complete [Pipeline] unstash [2020-11-16T16:25:33.858Z] 188c0c94c7c5: Pull complete [2020-11-16T16:25:33.858Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T16:25:33.858Z] Status: Downloaded newer image for alpine:latest [2020-11-16T16:25:33.858Z] ---> d6e46aa2470d [2020-11-16T16:25:33.858Z] Step 15/26 : ENV APP_PORT=49993 [2020-11-16T16:25:33.858Z] ---> Running in fe917303f0ee [Pipeline] echo [2020-11-16T16:25:33.949Z] ========================================================= [2020-11-16T16:25:33.949Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-16T16:25:33.949Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:34.123Z] Removing intermediate container fe917303f0ee [2020-11-16T16:25:34.123Z] ---> 8ee006a83903 [2020-11-16T16:25:34.123Z] Step 16/26 : EXPOSE $APP_PORT [2020-11-16T16:25:34.123Z] ---> Running in 720c97942c5e [2020-11-16T16:25:34.366Z] + 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 . [2020-11-16T16:25:34.389Z] Removing intermediate container 720c97942c5e [2020-11-16T16:25:34.389Z] ---> 213c64b9f082 [2020-11-16T16:25:34.389Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-11-16T16:25:34.389Z] ---> Running in a376c895b5be [2020-11-16T16:25:34.643Z] Sending build context to Docker daemon 305.7kB [2020-11-16T16:25:34.643Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-16T16:25:34.643Z] Step 2/10 : FROM ${BASE} [2020-11-16T16:25:34.643Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-16T16:25:34.643Z] b538f80385f9: Pulling fs layer [2020-11-16T16:25:34.643Z] 74f711af9a0d: Pulling fs layer [2020-11-16T16:25:34.643Z] 99f96fe45779: Pulling fs layer [2020-11-16T16:25:34.643Z] 8529a6b9a6be: Pulling fs layer [2020-11-16T16:25:34.643Z] 45590311c82a: Pulling fs layer [2020-11-16T16:25:34.643Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-16T16:25:34.643Z] 209524e5b208: Pulling fs layer [2020-11-16T16:25:34.643Z] 45590311c82a: Waiting [2020-11-16T16:25:34.643Z] 8529a6b9a6be: Waiting [2020-11-16T16:25:34.643Z] 69ca0ff8b7b3: Waiting [2020-11-16T16:25:34.643Z] 209524e5b208: Waiting [2020-11-16T16:25:34.654Z] Removing intermediate container a376c895b5be [2020-11-16T16:25:34.654Z] ---> dcffff46d948 [2020-11-16T16:25:34.654Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-11-16T16:25:34.654Z] ---> Running in 0ab55157ee64 [2020-11-16T16:25:34.654Z] Removing intermediate container 0ab55157ee64 [2020-11-16T16:25:34.654Z] ---> 45ee7c4a2715 [2020-11-16T16:25:34.654Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-11-16T16:25:34.928Z] 99f96fe45779: Verifying Checksum [2020-11-16T16:25:34.928Z] 99f96fe45779: Download complete [2020-11-16T16:25:34.928Z] 74f711af9a0d: Verifying Checksum [2020-11-16T16:25:34.928Z] 74f711af9a0d: Download complete [2020-11-16T16:25:34.928Z] 45590311c82a: Verifying Checksum [2020-11-16T16:25:34.928Z] 45590311c82a: Download complete [2020-11-16T16:25:34.928Z] b538f80385f9: Download complete [2020-11-16T16:25:35.619Z] ---> 77b3affbd3ad [2020-11-16T16:25:35.619Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-11-16T16:25:35.619Z] ---> 12958c5b1318 [2020-11-16T16:25:35.619Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-11-16T16:25:35.884Z] ---> 4762f342b53d [2020-11-16T16:25:35.884Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-11-16T16:25:35.884Z] ---> Running in b9ba05c39700 [2020-11-16T16:25:35.936Z] b538f80385f9: Pull complete [2020-11-16T16:25:35.936Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-16T16:25:35.936Z] 69ca0ff8b7b3: Download complete [2020-11-16T16:25:36.147Z] Removing intermediate container b9ba05c39700 [2020-11-16T16:25:36.147Z] ---> f99a5837dcf8 [2020-11-16T16:25:36.147Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-16T16:25:36.147Z] ---> Running in 8b1ede979af2 [2020-11-16T16:25:36.420Z] Removing intermediate container 8b1ede979af2 [2020-11-16T16:25:36.420Z] ---> 519c2a0e6deb [2020-11-16T16:25:36.420Z] Step 24/26 : LABEL arch=amd64 [2020-11-16T16:25:36.420Z] ---> Running in 0d2aa9938896 [2020-11-16T16:25:36.558Z] 74f711af9a0d: Pull complete [2020-11-16T16:25:36.686Z] Removing intermediate container 0d2aa9938896 [2020-11-16T16:25:36.686Z] ---> 4bfa331e8ca4 [2020-11-16T16:25:36.686Z] Step 25/26 : LABEL git_sha=dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-16T16:25:36.686Z] ---> Running in fb270312f2e1 [2020-11-16T16:25:36.686Z] Removing intermediate container fb270312f2e1 [2020-11-16T16:25:36.686Z] ---> 0c01b953faf7 [2020-11-16T16:25:36.686Z] Step 26/26 : LABEL version=1.2.3-dev.6 [2020-11-16T16:25:36.832Z] 99f96fe45779: Pull complete [2020-11-16T16:25:36.952Z] ---> Running in dde2da63b8f6 [2020-11-16T16:25:36.952Z] Removing intermediate container dde2da63b8f6 [2020-11-16T16:25:36.952Z] ---> ea762823cf37 [2020-11-16T16:25:36.952Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T16:25:36.952Z] Successfully built ea762823cf37 [2020-11-16T16:25:36.952Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:25:37.312Z] provisioning config files... [2020-11-16T16:25:37.348Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/17@tmp/config533351213113020333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:25:37.432Z] 209524e5b208: Verifying Checksum [2020-11-16T16:25:37.432Z] 209524e5b208: Download complete [2020-11-16T16:25:38.294Z] ---> docker-login.sh [2020-11-16T16:25:38.294Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:25:38.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:38.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:38.294Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:38.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:38.294Z] [2020-11-16T16:25:38.294Z] Login Succeeded [2020-11-16T16:25:38.294Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:25:38.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:38.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:38.294Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:38.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:38.294Z] [2020-11-16T16:25:38.294Z] Login Succeeded [2020-11-16T16:25:38.294Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:25:38.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:38.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:38.565Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:38.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:38.565Z] [2020-11-16T16:25:38.565Z] Login Succeeded [2020-11-16T16:25:38.565Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:25:38.624Z] 8529a6b9a6be: Verifying Checksum [2020-11-16T16:25:38.624Z] 8529a6b9a6be: Download complete [2020-11-16T16:25:38.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:38.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:38.829Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:38.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:38.829Z] [2020-11-16T16:25:38.829Z] Login Succeeded [2020-11-16T16:25:38.829Z] docker.io [2020-11-16T16:25:38.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:39.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:39.092Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:39.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:39.092Z] [2020-11-16T16:25:39.092Z] Login Succeeded [2020-11-16T16:25:39.092Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:25:39.106Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:25:39.346Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: [2020-11-16T16:25:39.346Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-16T16:25:39.346Z] latest [2020-11-16T16:25:39.346Z] 1.2.3-dev.6 [2020-11-16T16:25:39.346Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6 [2020-11-16T16:25:39.346Z] master [2020-11-16T16:25:39.346Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:39.942Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:40.275Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-16T16:25:40.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-16T16:25:40.275Z] b5f97c1622b1: Preparing [2020-11-16T16:25:40.275Z] a2cdfd1cd049: Preparing [2020-11-16T16:25:40.275Z] b375dc0bdc2a: Preparing [2020-11-16T16:25:40.275Z] ace0eda3e3be: Preparing [2020-11-16T16:25:40.275Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:40.541Z] b5f97c1622b1: Pushed [2020-11-16T16:25:40.541Z] a2cdfd1cd049: Pushed [2020-11-16T16:25:41.490Z] b375dc0bdc2a: Pushed [2020-11-16T16:25:41.490Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730: digest: sha256:78fab36dfdd4e6c5d234b18074de46ecc0d238a3513d0670a238d951d5e2ecae size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:41.809Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:42.115Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2020-11-16T16:25:42.115Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-16T16:25:42.115Z] b5f97c1622b1: Preparing [2020-11-16T16:25:42.115Z] a2cdfd1cd049: Preparing [2020-11-16T16:25:42.115Z] b375dc0bdc2a: Preparing [2020-11-16T16:25:42.115Z] ace0eda3e3be: Preparing [2020-11-16T16:25:42.115Z] b5f97c1622b1: Layer already exists [2020-11-16T16:25:42.115Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:42.115Z] a2cdfd1cd049: Layer already exists [2020-11-16T16:25:42.115Z] b375dc0bdc2a: Layer already exists [2020-11-16T16:25:42.115Z] latest: digest: sha256:78fab36dfdd4e6c5d234b18074de46ecc0d238a3513d0670a238d951d5e2ecae size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:42.425Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:42.730Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.6 [2020-11-16T16:25:42.730Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-16T16:25:42.730Z] b5f97c1622b1: Preparing [2020-11-16T16:25:42.730Z] a2cdfd1cd049: Preparing [2020-11-16T16:25:42.730Z] b375dc0bdc2a: Preparing [2020-11-16T16:25:42.730Z] ace0eda3e3be: Preparing [2020-11-16T16:25:42.730Z] b5f97c1622b1: Layer already exists [2020-11-16T16:25:42.730Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:42.730Z] b375dc0bdc2a: Layer already exists [2020-11-16T16:25:42.730Z] a2cdfd1cd049: Layer already exists [2020-11-16T16:25:42.730Z] 1.2.3-dev.6: digest: sha256:78fab36dfdd4e6c5d234b18074de46ecc0d238a3513d0670a238d951d5e2ecae size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:43.042Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:43.351Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6 [2020-11-16T16:25:43.351Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-16T16:25:43.351Z] b5f97c1622b1: Preparing [2020-11-16T16:25:43.351Z] a2cdfd1cd049: Preparing [2020-11-16T16:25:43.351Z] b375dc0bdc2a: Preparing [2020-11-16T16:25:43.351Z] ace0eda3e3be: Preparing [2020-11-16T16:25:43.352Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:43.352Z] a2cdfd1cd049: Layer already exists [2020-11-16T16:25:43.352Z] b375dc0bdc2a: Layer already exists [2020-11-16T16:25:43.352Z] b5f97c1622b1: Layer already exists [2020-11-16T16:25:43.352Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6: digest: sha256:78fab36dfdd4e6c5d234b18074de46ecc0d238a3513d0670a238d951d5e2ecae size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:43.667Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:43.985Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [2020-11-16T16:25:43.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-16T16:25:43.985Z] b5f97c1622b1: Preparing [2020-11-16T16:25:43.985Z] a2cdfd1cd049: Preparing [2020-11-16T16:25:43.985Z] b375dc0bdc2a: Preparing [2020-11-16T16:25:43.985Z] ace0eda3e3be: Preparing [2020-11-16T16:25:43.985Z] a2cdfd1cd049: Layer already exists [2020-11-16T16:25:43.985Z] ace0eda3e3be: Layer already exists [2020-11-16T16:25:43.985Z] b375dc0bdc2a: Layer already exists [2020-11-16T16:25:43.985Z] b5f97c1622b1: Layer already exists [2020-11-16T16:25:43.985Z] master: digest: sha256:78fab36dfdd4e6c5d234b18074de46ecc0d238a3513d0670a238d951d5e2ecae size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:25:44.202Z] ===================================================== [Pipeline] echo [2020-11-16T16:25:44.257Z] taggedImages: [2020-11-16T16:25:44.257Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-16T16:25:44.257Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2020-11-16T16:25:44.257Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.6 [2020-11-16T16:25:44.257Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6 [2020-11-16T16:25:44.257Z] - 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] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-16T16:25:48.857Z] 8529a6b9a6be: Pull complete [2020-11-16T16:25:48.857Z] 45590311c82a: Pull complete [2020-11-16T16:25:48.857Z] 69ca0ff8b7b3: Pull complete [2020-11-16T16:25:52.311Z] 209524e5b208: Pull complete [2020-11-16T16:25:52.311Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-16T16:25:52.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-16T16:25:52.311Z] ---> 5bddaf1c2fca [2020-11-16T16:25:52.311Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T16:25:54.958Z] ---> Running in 86335664037d [2020-11-16T16:25:55.559Z] Removing intermediate container 86335664037d [2020-11-16T16:25:55.559Z] ---> 1057b151fe5b [2020-11-16T16:25:55.559Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:25:55.559Z] ---> Running in 90c6d70a3539 [2020-11-16T16:25:56.190Z] Removing intermediate container 90c6d70a3539 [2020-11-16T16:25:56.190Z] ---> 7334fed747ed [2020-11-16T16:25:56.190Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-11-16T16:25:56.468Z] ---> Running in e01a457e34af [2020-11-16T16:25:56.741Z] Removing intermediate container e01a457e34af [2020-11-16T16:25:56.741Z] ---> 65c6a7b95809 [2020-11-16T16:25:56.741Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:25:57.014Z] ---> Running in 837b69d068b2 [2020-11-16T16:25:59.645Z] Removing intermediate container 837b69d068b2 [2020-11-16T16:25:59.645Z] ---> 1209c7a2ebda [2020-11-16T16:25:59.645Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:25:59.922Z] ---> Running in f945c0311484 [2020-11-16T16:26:01.369Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:26:01.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:26:02.968Z] OK: 142 MiB in 39 packages [2020-11-16T16:26:04.425Z] Removing intermediate container f945c0311484 [2020-11-16T16:26:04.425Z] ---> 83ddbc469e6f [2020-11-16T16:26:04.425Z] Step 8/10 : WORKDIR /device-snmp-go [2020-11-16T16:26:04.425Z] ---> Running in 75874f3b5006 [2020-11-16T16:26:05.037Z] Removing intermediate container 75874f3b5006 [2020-11-16T16:26:05.037Z] ---> b02689e38976 [2020-11-16T16:26:05.037Z] Step 9/10 : COPY . . [2020-11-16T16:26:06.033Z] ---> 030f89550c9d [2020-11-16T16:26:06.033Z] Step 10/10 : RUN go mod download [2020-11-16T16:26:06.033Z] ---> Running in 66b4eccb67b1 [2020-11-16T16:26:32.899Z] Removing intermediate container 66b4eccb67b1 [2020-11-16T16:26:32.899Z] ---> f2f005f3643f [2020-11-16T16:26:32.899Z] Successfully built f2f005f3643f [2020-11-16T16:26:32.899Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:33.259Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:26:33.259Z] . [Pipeline] withDockerContainer [2020-11-16T16:26:33.547Z] prd-ubuntu18.04-docker-arm64-4c-16g-12269 does not seem to be running inside a container [2020-11-16T16:26:33.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/17 -v /w/workspace/device-snmp-go/17:/w/workspace/device-snmp-go/17:rw,z -v /w/workspace/device-snmp-go/17@tmp:/w/workspace/device-snmp-go/17@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 ******** ci-base-image-arm64 cat [2020-11-16T16:26:35.712Z] $ docker top 8db6cc478bde52c02456b745f5734bb6c845029f944cd273290be956894833b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:26:37.172Z] + go version [2020-11-16T16:26:37.172Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-16T16:26:37.203Z] $ docker stop --time=1 8db6cc478bde52c02456b745f5734bb6c845029f944cd273290be956894833b2 [2020-11-16T16:26:39.111Z] $ docker rm -f 8db6cc478bde52c02456b745f5734bb6c845029f944cd273290be956894833b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:40.160Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:26:40.160Z] . [Pipeline] withDockerContainer [2020-11-16T16:26:40.419Z] prd-ubuntu18.04-docker-arm64-4c-16g-12269 does not seem to be running inside a container [2020-11-16T16:26:40.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/17 -v /w/workspace/device-snmp-go/17:/w/workspace/device-snmp-go/17:rw,z -v /w/workspace/device-snmp-go/17@tmp:/w/workspace/device-snmp-go/17@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 ******** ci-base-image-arm64 cat [2020-11-16T16:26:42.399Z] $ docker top b8c5af11a6233194ee94bf0e9704421a58e73d5f73faa707fc18c5f0e89d77a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:26:43.796Z] + make test [2020-11-16T16:26:43.796Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T16:26:44.783Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-11-16T16:27:23.852Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-11-16T16:27:23.852Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements [2020-11-16T16:27:23.852Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:27:29.975Z] gofmt -l . [2020-11-16T16:27:29.975Z] [ "`gofmt -l .`" = "" ] [2020-11-16T16:27:29.975Z] ./bin/test-attribution-txt.sh [2020-11-16T16:27:29.975Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T16:27:30.008Z] $ docker stop --time=1 b8c5af11a6233194ee94bf0e9704421a58e73d5f73faa707fc18c5f0e89d77a2 [2020-11-16T16:27:32.452Z] $ docker rm -f b8c5af11a6233194ee94bf0e9704421a58e73d5f73faa707fc18c5f0e89d77a2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:27:33.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T16:27:33.457Z] Warning: overwriting stash ‘coverage-report’ [2020-11-16T16:27:34.180Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:27:34.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T16:27:35.268Z] + ls -al . [2020-11-16T16:27:35.268Z] total 132 [2020-11-16T16:27:35.268Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:27 . [2020-11-16T16:27:35.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:25 .. [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 16 16:25 .dockerignore [2020-11-16T16:27:35.268Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:25 .git [2020-11-16T16:27:35.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:25 .github [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 16 16:25 .gitignore [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 5082 Nov 16 16:25 Attribution.txt [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 1002 Nov 16 16:25 Dockerfile [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 409 Nov 16 16:25 Dockerfile.build [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 16 16:25 Jenkinsfile [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 16:25 LICENSE [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 937 Nov 16 16:25 Makefile [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 12398 Nov 16 16:25 README.md [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 16 16:22 VERSION [2020-11-16T16:27:35.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:25 bin [2020-11-16T16:27:35.268Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:25 cmd [2020-11-16T16:27:35.268Z] -rw-r--r-- 1 jenkins jenkins 8493 Nov 16 16:27 coverage.out [2020-11-16T16:27:35.268Z] -rw-r--r-- 1 jenkins jenkins 204 Nov 16 16:27 go.mod [2020-11-16T16:27:35.268Z] -rw-r--r-- 1 jenkins jenkins 13961 Nov 16 16:27 go.sum [2020-11-16T16:27:35.268Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:25 internal [2020-11-16T16:27:35.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:25 profiles [2020-11-16T16:27:35.268Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 16 16:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:35.715Z] + 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=dfea19939c3e5952b7f8a352ed4dd87bf2177730 --label arch=arm64 --label version=1.2.3-dev.6 . [2020-11-16T16:27:35.992Z] Sending build context to Docker daemon 314.9kB [2020-11-16T16:27:35.992Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-11-16T16:27:35.992Z] Step 2/26 : FROM ${BASE} AS builder [2020-11-16T16:27:35.992Z] ---> f2f005f3643f [2020-11-16T16:27:35.992Z] Step 3/26 : ARG MAKE='make build' [2020-11-16T16:27:36.267Z] ---> Running in d04513eb023e [2020-11-16T16:27:36.860Z] Removing intermediate container d04513eb023e [2020-11-16T16:27:36.860Z] ---> a03800e7c33e [2020-11-16T16:27:36.860Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T16:27:36.860Z] ---> Running in 41546938c6f7 [2020-11-16T16:27:37.136Z] Removing intermediate container 41546938c6f7 [2020-11-16T16:27:37.136Z] ---> 2c65d5c45282 [2020-11-16T16:27:37.136Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:27:37.412Z] ---> Running in c8511361ce8f [2020-11-16T16:27:38.012Z] Removing intermediate container c8511361ce8f [2020-11-16T16:27:38.012Z] ---> 145cc47fa1cd [2020-11-16T16:27:38.012Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:27:38.012Z] ---> Running in 4086eb734c92 [2020-11-16T16:27:41.428Z] Removing intermediate container 4086eb734c92 [2020-11-16T16:27:41.428Z] ---> 44555cff175a [2020-11-16T16:27:41.428Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:27:41.428Z] ---> Running in 93ad28d4ceba [2020-11-16T16:27:42.887Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:27:43.490Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:27:44.094Z] OK: 142 MiB in 39 packages [2020-11-16T16:27:45.534Z] Removing intermediate container 93ad28d4ceba [2020-11-16T16:27:45.534Z] ---> 1166c715d0fc [2020-11-16T16:27:45.534Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-11-16T16:27:45.534Z] ---> Running in eb5f8dca92c1 [2020-11-16T16:27:46.136Z] Removing intermediate container eb5f8dca92c1 [2020-11-16T16:27:46.136Z] ---> ff6e5b363cb6 [2020-11-16T16:27:46.136Z] Step 9/26 : COPY go.mod . [2020-11-16T16:27:47.123Z] ---> d10c8279a0b1 [2020-11-16T16:27:47.123Z] Step 10/26 : COPY Makefile . [2020-11-16T16:27:47.727Z] ---> b2f3c6c439d7 [2020-11-16T16:27:47.727Z] Step 11/26 : RUN make update [2020-11-16T16:27:48.009Z] ---> Running in ef5701398728 [2020-11-16T16:27:49.461Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-16T16:27:50.920Z] Removing intermediate container ef5701398728 [2020-11-16T16:27:50.920Z] ---> c24210ff7413 [2020-11-16T16:27:50.920Z] Step 12/26 : COPY . . [2020-11-16T16:27:51.906Z] ---> 757f09a60a10 [2020-11-16T16:27:51.906Z] Step 13/26 : RUN ${MAKE} [2020-11-16T16:27:51.906Z] ---> Running in 680fe177bc76 [2020-11-16T16:27:53.347Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.3-dev.6" -o cmd/device-snmp-go ./cmd [2020-11-16T16:28:25.736Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T16:28:27.710Z] Removing intermediate container 680fe177bc76 [2020-11-16T16:28:27.710Z] ---> baba8528c9ea [2020-11-16T16:28:27.710Z] Step 14/26 : FROM alpine [2020-11-16T16:28:27.710Z] latest: Pulling from library/alpine [2020-11-16T16:28:27.983Z] 5f621e34cdf4: Pulling fs layer [2020-11-16T16:28:27.983Z] 5f621e34cdf4: Verifying Checksum [2020-11-16T16:28:27.983Z] 5f621e34cdf4: Download complete [2020-11-16T16:28:28.578Z] 5f621e34cdf4: Pull complete [2020-11-16T16:28:28.578Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T16:28:28.578Z] Status: Downloaded newer image for alpine:latest [2020-11-16T16:28:28.578Z] ---> 2e77e061c27f [2020-11-16T16:28:28.578Z] Step 15/26 : ENV APP_PORT=49993 [2020-11-16T16:28:28.849Z] ---> Running in 82bfeb1cbf71 [2020-11-16T16:28:29.125Z] Removing intermediate container 82bfeb1cbf71 [2020-11-16T16:28:29.125Z] ---> 5206eec40ba8 [2020-11-16T16:28:29.125Z] Step 16/26 : EXPOSE $APP_PORT [2020-11-16T16:28:29.399Z] ---> Running in d927aa2d81c1 [2020-11-16T16:28:29.674Z] Removing intermediate container d927aa2d81c1 [2020-11-16T16:28:29.674Z] ---> dad0bf94ce13 [2020-11-16T16:28:29.674Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-11-16T16:28:29.952Z] ---> Running in 82846ee3eaae [2020-11-16T16:28:30.226Z] Removing intermediate container 82846ee3eaae [2020-11-16T16:28:30.226Z] ---> 9ecc4f0a322e [2020-11-16T16:28:30.226Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-11-16T16:28:30.499Z] ---> Running in 9b2f3fdcd7ff [2020-11-16T16:28:31.093Z] Removing intermediate container 9b2f3fdcd7ff [2020-11-16T16:28:31.093Z] ---> 9b28305fa5b5 [2020-11-16T16:28:31.093Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-11-16T16:28:32.525Z] ---> f7ee797e9d23 [2020-11-16T16:28:32.525Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-11-16T16:28:33.119Z] ---> a2eca88e407c [2020-11-16T16:28:33.119Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-11-16T16:28:33.718Z] ---> d3dedd31b7f0 [2020-11-16T16:28:33.718Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-11-16T16:28:33.991Z] ---> Running in f6587d2047f6 [2020-11-16T16:28:34.265Z] Removing intermediate container f6587d2047f6 [2020-11-16T16:28:34.265Z] ---> 07db915ebb8d [2020-11-16T16:28:34.265Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-16T16:28:34.537Z] ---> Running in 57d9c80da533 [2020-11-16T16:28:35.136Z] Removing intermediate container 57d9c80da533 [2020-11-16T16:28:35.136Z] ---> 51297eeb6a0b [2020-11-16T16:28:35.136Z] Step 24/26 : LABEL arch=arm64 [2020-11-16T16:28:35.136Z] ---> Running in b753492862f9 [2020-11-16T16:28:35.732Z] Removing intermediate container b753492862f9 [2020-11-16T16:28:35.732Z] ---> 8d800cc4a3ed [2020-11-16T16:28:35.732Z] Step 25/26 : LABEL git_sha=dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-16T16:28:35.732Z] ---> Running in 38788e23139c [2020-11-16T16:28:36.008Z] Removing intermediate container 38788e23139c [2020-11-16T16:28:36.008Z] ---> cacbfbfb3277 [2020-11-16T16:28:36.008Z] Step 26/26 : LABEL version=1.2.3-dev.6 [2020-11-16T16:28:36.283Z] ---> Running in a628680c9a77 [2020-11-16T16:28:36.878Z] Removing intermediate container a628680c9a77 [2020-11-16T16:28:36.878Z] ---> 1335afe7075c [2020-11-16T16:28:36.879Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T16:28:36.879Z] Successfully built 1335afe7075c [2020-11-16T16:28:36.879Z] 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 [2020-11-16T16:28:37.301Z] provisioning config files... [2020-11-16T16:28:37.345Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/17@tmp/config8142604484755850267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:28:37.752Z] ---> docker-login.sh [2020-11-16T16:28:37.752Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:28:38.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:28:38.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:28:38.025Z] Configure a credential helper to remove this warning. See [2020-11-16T16:28:38.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:28:38.025Z] [2020-11-16T16:28:38.025Z] Login Succeeded [2020-11-16T16:28:38.025Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:28:38.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:28:38.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:28:38.898Z] Configure a credential helper to remove this warning. See [2020-11-16T16:28:38.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:28:38.898Z] [2020-11-16T16:28:38.898Z] Login Succeeded [2020-11-16T16:28:38.898Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:28:39.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:28:39.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:28:39.455Z] Configure a credential helper to remove this warning. See [2020-11-16T16:28:39.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:28:39.455Z] [2020-11-16T16:28:39.455Z] Login Succeeded [2020-11-16T16:28:39.455Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:28:40.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:28:40.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:28:40.069Z] Configure a credential helper to remove this warning. See [2020-11-16T16:28:40.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:28:40.069Z] [2020-11-16T16:28:40.069Z] Login Succeeded [2020-11-16T16:28:40.069Z] docker.io [2020-11-16T16:28:40.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:28:40.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:28:40.946Z] Configure a credential helper to remove this warning. See [2020-11-16T16:28:40.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:28:40.946Z] [2020-11-16T16:28:40.946Z] Login Succeeded [2020-11-16T16:28:40.946Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:28:40.964Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:28:41.208Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: [2020-11-16T16:28:41.208Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-16T16:28:41.208Z] latest [2020-11-16T16:28:41.208Z] 1.2.3-dev.6 [2020-11-16T16:28:41.208Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6 [2020-11-16T16:28:41.208Z] master [2020-11-16T16:28:41.208Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:41.759Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:42.105Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-16T16:28:42.105Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-16T16:28:42.105Z] c65791d1c9e9: Preparing [2020-11-16T16:28:42.105Z] f1ac0a2e98cf: Preparing [2020-11-16T16:28:42.105Z] 4c75fd7eb64c: Preparing [2020-11-16T16:28:42.105Z] cd3761cfa1d9: Preparing [2020-11-16T16:28:42.377Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:28:42.649Z] c65791d1c9e9: Pushed [2020-11-16T16:28:42.649Z] f1ac0a2e98cf: Pushed [2020-11-16T16:28:45.267Z] 4c75fd7eb64c: Pushed [2020-11-16T16:28:45.267Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730: digest: sha256:7d8aab60395ba60273fb3e0aac2e45470088c22adb6e5f5fc3200efe99044d02 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:45.628Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:45.967Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2020-11-16T16:28:45.967Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-16T16:28:45.967Z] c65791d1c9e9: Preparing [2020-11-16T16:28:45.967Z] f1ac0a2e98cf: Preparing [2020-11-16T16:28:45.967Z] 4c75fd7eb64c: Preparing [2020-11-16T16:28:45.967Z] cd3761cfa1d9: Preparing [2020-11-16T16:28:46.242Z] c65791d1c9e9: Layer already exists [2020-11-16T16:28:46.242Z] f1ac0a2e98cf: Layer already exists [2020-11-16T16:28:46.242Z] 4c75fd7eb64c: Layer already exists [2020-11-16T16:28:46.242Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:28:46.242Z] latest: digest: sha256:7d8aab60395ba60273fb3e0aac2e45470088c22adb6e5f5fc3200efe99044d02 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:46.587Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:46.927Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.6 [2020-11-16T16:28:46.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-16T16:28:46.927Z] c65791d1c9e9: Preparing [2020-11-16T16:28:46.927Z] f1ac0a2e98cf: Preparing [2020-11-16T16:28:46.927Z] 4c75fd7eb64c: Preparing [2020-11-16T16:28:46.927Z] cd3761cfa1d9: Preparing [2020-11-16T16:28:47.200Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:28:47.200Z] 4c75fd7eb64c: Layer already exists [2020-11-16T16:28:47.200Z] f1ac0a2e98cf: Layer already exists [2020-11-16T16:28:47.200Z] c65791d1c9e9: Layer already exists [2020-11-16T16:28:47.200Z] 1.2.3-dev.6: digest: sha256:7d8aab60395ba60273fb3e0aac2e45470088c22adb6e5f5fc3200efe99044d02 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:47.550Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:47.897Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6 [2020-11-16T16:28:47.897Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-16T16:28:48.497Z] c65791d1c9e9: Preparing [2020-11-16T16:28:48.497Z] f1ac0a2e98cf: Preparing [2020-11-16T16:28:48.497Z] 4c75fd7eb64c: Preparing [2020-11-16T16:28:48.497Z] cd3761cfa1d9: Preparing [2020-11-16T16:28:48.497Z] c65791d1c9e9: Layer already exists [2020-11-16T16:28:48.497Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:28:48.497Z] f1ac0a2e98cf: Layer already exists [2020-11-16T16:28:48.497Z] 4c75fd7eb64c: Layer already exists [2020-11-16T16:28:48.497Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6: digest: sha256:7d8aab60395ba60273fb3e0aac2e45470088c22adb6e5f5fc3200efe99044d02 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:48.857Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:49.232Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [2020-11-16T16:28:49.232Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-16T16:28:49.232Z] c65791d1c9e9: Preparing [2020-11-16T16:28:49.232Z] f1ac0a2e98cf: Preparing [2020-11-16T16:28:49.232Z] 4c75fd7eb64c: Preparing [2020-11-16T16:28:49.232Z] cd3761cfa1d9: Preparing [2020-11-16T16:28:49.504Z] 4c75fd7eb64c: Layer already exists [2020-11-16T16:28:49.504Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:28:49.504Z] f1ac0a2e98cf: Layer already exists [2020-11-16T16:28:49.504Z] c65791d1c9e9: Layer already exists [2020-11-16T16:28:49.504Z] master: digest: sha256:7d8aab60395ba60273fb3e0aac2e45470088c22adb6e5f5fc3200efe99044d02 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:28:49.710Z] ===================================================== [Pipeline] echo [2020-11-16T16:28:49.762Z] taggedImages: [2020-11-16T16:28:49.762Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-16T16:28:49.762Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2020-11-16T16:28:49.762Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.6 [2020-11-16T16:28:49.762Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.2.3-dev.6 [2020-11-16T16:28:49.762Z] - 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 [2020-11-16T16:28:51.335Z] provisioning config files... [2020-11-16T16:28:51.346Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7114700477697524915tmp [Pipeline] { [Pipeline] sh [2020-11-16T16:28:51.772Z] + set +x [2020-11-16T16:28:51.772Z] + curl -s https://codecov.io/bash [2020-11-16T16:28:51.772Z] + bash -s -- [2020-11-16T16:28:52.035Z] [2020-11-16T16:28:52.035Z] _____ _ [2020-11-16T16:28:52.035Z] / ____| | | [2020-11-16T16:28:52.035Z] | | ___ __| | ___ ___ _____ __ [2020-11-16T16:28:52.035Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-16T16:28:52.035Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-16T16:28:52.035Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-16T16:28:52.035Z] Bash-20201116-eea08d9 [2020-11-16T16:28:52.035Z] [2020-11-16T16:28:52.035Z] [2020-11-16T16:28:52.035Z] ==> Jenkins CI detected. [2020-11-16T16:28:52.035Z] project root: . [2020-11-16T16:28:52.035Z] --> token set from env [2020-11-16T16:28:52.035Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-16T16:28:52.035Z] ==> Running gcov in . (disable via -X gcov) [2020-11-16T16:28:52.035Z] ==> Python coveragepy not found [2020-11-16T16:28:52.035Z] ==> Searching for coverage reports in: [2020-11-16T16:28:52.035Z] + . [2020-11-16T16:28:52.035Z] -> Found 1 reports [2020-11-16T16:28:52.035Z] ==> Detecting git/mercurial file structure [2020-11-16T16:28:52.035Z] ==> Reading reports [2020-11-16T16:28:52.035Z] + ./coverage.out bytes=8493 [2020-11-16T16:28:52.035Z] ==> Appending adjustments [2020-11-16T16:28:52.035Z] https://docs.codecov.io/docs/fixing-reports [2020-11-16T16:28:52.035Z] + Found adjustments [2020-11-16T16:28:52.035Z] ==> Gzipping contents [2020-11-16T16:28:52.035Z] ==> Uploading reports [2020-11-16T16:28:52.035Z] url: https://codecov.io [2020-11-16T16:28:52.035Z] query: branch=master&commit=dfea19939c3e5952b7f8a352ed4dd87bf2177730&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-16T16:28:52.035Z] -> Pinging Codecov [2020-11-16T16:28:52.035Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=dfea19939c3e5952b7f8a352ed4dd87bf2177730&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-16T16:28:52.620Z] -> Uploading to [2020-11-16T16:28:52.620Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-16/6C56EA5C29638FB4528AC87E60AF5AE0/dfea19939c3e5952b7f8a352ed4dd87bf2177730/e41d309b-b9b5-4e69-b035-135cac23274d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T162852Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f89591defc78c52d78a5ee4f643c74decf8e78e53e7271214f6ec2b71f6c39c [2020-11-16T16:28:52.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T16:28:52.620Z] Dload Upload Total Spent Left Speed [2020-11-16T16:28:52.887Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 3619 --:--:-- --:--:-- --:--:-- 3617 [2020-11-16T16:28:52.887Z] -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] } [2020-11-16T16:28:52.897Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-16T16:28:53.515Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-16T16:28:53.585Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:53.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:28:53.939Z] [2020-11-16T16:28:53.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:54.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:28:54.303Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-16T16:28:54.303Z] 188c0c94c7c5: Pulling fs layer [2020-11-16T16:28:54.303Z] 0ef7d3d256c8: Pulling fs layer [2020-11-16T16:28:54.303Z] de9db76c5a1d: Pulling fs layer [2020-11-16T16:28:54.303Z] 0eba1c9be4d2: Pulling fs layer [2020-11-16T16:28:54.303Z] 0d57e429df01: Pulling fs layer [2020-11-16T16:28:54.303Z] 4e4be7b47b0d: Pulling fs layer [2020-11-16T16:28:54.303Z] e1f770b5df2f: Pulling fs layer [2020-11-16T16:28:54.303Z] 85a0685a4137: Pulling fs layer [2020-11-16T16:28:54.303Z] 0d57e429df01: Waiting [2020-11-16T16:28:54.303Z] 4e4be7b47b0d: Waiting [2020-11-16T16:28:54.303Z] e1f770b5df2f: Waiting [2020-11-16T16:28:54.303Z] 85a0685a4137: Waiting [2020-11-16T16:28:54.303Z] 0eba1c9be4d2: Waiting [2020-11-16T16:28:54.303Z] de9db76c5a1d: Verifying Checksum [2020-11-16T16:28:54.303Z] de9db76c5a1d: Download complete [2020-11-16T16:28:54.303Z] 0ef7d3d256c8: Verifying Checksum [2020-11-16T16:28:54.303Z] 0ef7d3d256c8: Download complete [2020-11-16T16:28:54.303Z] 0d57e429df01: Verifying Checksum [2020-11-16T16:28:54.303Z] 0d57e429df01: Download complete [2020-11-16T16:28:54.303Z] 4e4be7b47b0d: Verifying Checksum [2020-11-16T16:28:54.303Z] 4e4be7b47b0d: Download complete [2020-11-16T16:28:54.303Z] 188c0c94c7c5: Verifying Checksum [2020-11-16T16:28:54.303Z] 188c0c94c7c5: Download complete [2020-11-16T16:28:54.891Z] 188c0c94c7c5: Pull complete [2020-11-16T16:28:54.891Z] e1f770b5df2f: Verifying Checksum [2020-11-16T16:28:54.891Z] e1f770b5df2f: Download complete [2020-11-16T16:28:55.156Z] 0ef7d3d256c8: Pull complete [2020-11-16T16:28:55.156Z] de9db76c5a1d: Pull complete [2020-11-16T16:28:57.735Z] 0eba1c9be4d2: Verifying Checksum [2020-11-16T16:28:57.735Z] 0eba1c9be4d2: Download complete [2020-11-16T16:28:58.315Z] 85a0685a4137: Verifying Checksum [2020-11-16T16:28:58.315Z] 85a0685a4137: Download complete [2020-11-16T16:29:03.681Z] 0eba1c9be4d2: Pull complete [2020-11-16T16:29:03.681Z] 0d57e429df01: Pull complete [2020-11-16T16:29:03.681Z] 4e4be7b47b0d: Pull complete [2020-11-16T16:29:05.610Z] e1f770b5df2f: Pull complete [2020-11-16T16:29:13.810Z] 85a0685a4137: Pull complete [2020-11-16T16:29:13.810Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-16T16:29:13.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:29:13.810Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-16T16:29:14.040Z] prd-centos7-docker-4c-2g-12259 does not seem to be running inside a container [2020-11-16T16:29:14.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-16T16:29:15.319Z] $ docker top 6489a6bc9c8b3e55a0fd0698469bbdbae752751af9e5c299e6cbb7c9a4e80817 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-16T16:29:15.581Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-16T16:29:15.876Z] + set -o pipefail [2020-11-16T16:29:15.876Z] + snyk monitor '--org=edgex-jenkins' [2020-11-16T16:29:30.816Z] [2020-11-16T16:29:30.816Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2020-11-16T16:29:30.816Z] [2020-11-16T16:29:30.816Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/a8163943-bb9b-4a4a-8b96-677105adb3f7 [2020-11-16T16:29:30.816Z] [2020-11-16T16:29:30.816Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-16T16:29:30.816Z] [2020-11-16T16:29:30.816Z] [Pipeline] } [2020-11-16T16:29:30.834Z] $ docker stop --time=1 6489a6bc9c8b3e55a0fd0698469bbdbae752751af9e5c299e6cbb7c9a4e80817 [2020-11-16T16:29:33.921Z] $ docker rm -f 6489a6bc9c8b3e55a0fd0698469bbdbae752751af9e5c299e6cbb7c9a4e80817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-11-16T16:29:34.709Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730, dockerFile=Dockerfile [Pipeline] echo [2020-11-16T16:29:34.712Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-11-16T16:29:35.006Z] + set -o pipefail [2020-11-16T16:29:35.006Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-11-16T16:29:35.006Z] + tee .snyk [2020-11-16T16:29:35.268Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-11-16T16:29:35.268Z] version: v1.14.1 [2020-11-16T16:29:35.268Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-11-16T16:29:35.268Z] # ignore: [2020-11-16T16:29:35.268Z] # SNYK-ALPINE39-ONIGURUMA-1017393: # snyk ID for the issue to ignore. Required. [2020-11-16T16:29:35.268Z] # - '*': [2020-11-16T16:29:35.268Z] # reason: does not apply # justification for ignoring [2020-11-16T16:29:35.268Z] # expires: 2020-11-18T20:53:17.624Z # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14) [2020-11-16T16:29:35.268Z] # patch: {} [Pipeline] withCredentials [2020-11-16T16:29:35.378Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:35.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:29:35.739Z] . [Pipeline] withDockerContainer [2020-11-16T16:29:35.841Z] prd-centos7-docker-4c-2g-12259 does not seem to be running inside a container [2020-11-16T16:29:35.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-16T16:29:36.660Z] $ docker top 21d6025f1a885214482e965ecb7b8440ec77eb60442a16512966c8727cb9c03a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:29:37.136Z] + rm -f snykReport.html [Pipeline] echo [2020-11-16T16:29:37.152Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-11-16T16:29:37.448Z] + set -o pipefail [2020-11-16T16:29:37.448Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-11-16T16:29:37.448Z] + snyk-to-html -o snykReport.html [2020-11-16T16:29:44.791Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-11-16T16:29:44.810Z] $ docker stop --time=1 21d6025f1a885214482e965ecb7b8440ec77eb60442a16512966c8727cb9c03a [2020-11-16T16:29:46.198Z] $ docker rm -f 21d6025f1a885214482e965ecb7b8440ec77eb60442a16512966c8727cb9c03a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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 [2020-11-16T16:29:47.981Z] + git log --format=format:%s -1 dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:48.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:29:48.289Z] . [Pipeline] withDockerContainer [2020-11-16T16:29:48.477Z] prd-centos7-docker-4c-2g-12259 does not seem to be running inside a container [2020-11-16T16:29:48.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:29:49.338Z] $ docker top 53b925f16ffe80e36f5aaf158710d451d313d20f8bb2b40e4aff5b8ebdde45f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:29:49.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:29:49.686Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:29:49.915Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:29:49.921Z] $ docker exec 53b925f16ffe80e36f5aaf158710d451d313d20f8bb2b40e4aff5b8ebdde45f4 ssh-agent [2020-11-16T16:29:50.119Z] SSH_AUTH_SOCK=/tmp/ssh-EWWPq73tEsZO/agent.12 [2020-11-16T16:29:50.119Z] SSH_AGENT_PID=17 [2020-11-16T16:29:50.128Z] Running ssh-add (command line suppressed) [2020-11-16T16:29:50.253Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2919515893160063701.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2919515893160063701.key) [2020-11-16T16:29:50.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:29:50.643Z] + git semver tag [2020-11-16T16:29:50.643Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:29:50.643Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-11-16T16:29:50.643Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-11-16T16:29:50.643Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:29:50.643Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:29:50.643Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:29:50.643Z] # $SEMVER_BRANCH = master [2020-11-16T16:29:50.643Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2020-11-16T16:29:50.643Z] # dfea19939c3e5952b7f8a352ed4dd87bf2177730 HEAD [2020-11-16T16:29:50.643Z] # -> Force: false [2020-11-16T16:29:50.643Z] # 4ff9dc9b674c6ddd791f0f13bef3df7f0354a316 refs/tags/v1.2.3-dev.6 [Pipeline] } [2020-11-16T16:29:50.659Z] $ docker exec --env ******** --env ******** 53b925f16ffe80e36f5aaf158710d451d313d20f8bb2b40e4aff5b8ebdde45f4 ssh-agent -k [2020-11-16T16:29:50.816Z] unset SSH_AUTH_SOCK; [2020-11-16T16:29:50.817Z] unset SSH_AGENT_PID; [2020-11-16T16:29:50.817Z] echo Agent pid 17 killed; [2020-11-16T16:29:50.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:29:51.432Z] + git semver [Pipeline] } [2020-11-16T16:29:51.451Z] $ docker stop --time=1 53b925f16ffe80e36f5aaf158710d451d313d20f8bb2b40e4aff5b8ebdde45f4 [2020-11-16T16:29:52.825Z] $ docker rm -f 53b925f16ffe80e36f5aaf158710d451d313d20f8bb2b40e4aff5b8ebdde45f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:53.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:29:53.448Z] [2020-11-16T16:29:53.448Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:53.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:29:53.815Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-16T16:29:53.815Z] ab5ef0e58194: Pulling fs layer [2020-11-16T16:29:53.815Z] 9712f1f96733: Pulling fs layer [2020-11-16T16:29:53.815Z] 63f879dbbcfc: Pulling fs layer [2020-11-16T16:29:53.815Z] 0d9ebad4ef96: Pulling fs layer [2020-11-16T16:29:53.815Z] e9a5061849ea: Pulling fs layer [2020-11-16T16:29:53.815Z] d747dcd14b5f: Pulling fs layer [2020-11-16T16:29:53.815Z] 2de7ff778b66: Pulling fs layer [2020-11-16T16:29:53.815Z] 0d9ebad4ef96: Waiting [2020-11-16T16:29:53.815Z] e9a5061849ea: Waiting [2020-11-16T16:29:53.815Z] d747dcd14b5f: Waiting [2020-11-16T16:29:53.815Z] 2de7ff778b66: Waiting [2020-11-16T16:29:53.815Z] 9712f1f96733: Verifying Checksum [2020-11-16T16:29:53.815Z] 9712f1f96733: Download complete [2020-11-16T16:29:55.747Z] 63f879dbbcfc: Verifying Checksum [2020-11-16T16:29:55.747Z] 63f879dbbcfc: Download complete [2020-11-16T16:29:56.011Z] e9a5061849ea: Verifying Checksum [2020-11-16T16:29:56.011Z] e9a5061849ea: Download complete [2020-11-16T16:29:56.011Z] d747dcd14b5f: Verifying Checksum [2020-11-16T16:29:56.011Z] d747dcd14b5f: Download complete [2020-11-16T16:29:56.273Z] 0d9ebad4ef96: Verifying Checksum [2020-11-16T16:29:56.273Z] 0d9ebad4ef96: Download complete [2020-11-16T16:29:56.273Z] 2de7ff778b66: Verifying Checksum [2020-11-16T16:29:56.273Z] 2de7ff778b66: Download complete [2020-11-16T16:29:56.539Z] ab5ef0e58194: Verifying Checksum [2020-11-16T16:29:56.539Z] ab5ef0e58194: Download complete [2020-11-16T16:30:00.910Z] ab5ef0e58194: Pull complete [2020-11-16T16:30:00.910Z] 9712f1f96733: Pull complete [2020-11-16T16:30:03.528Z] 63f879dbbcfc: Pull complete [2020-11-16T16:30:10.162Z] 0d9ebad4ef96: Pull complete [2020-11-16T16:30:12.120Z] e9a5061849ea: Pull complete [2020-11-16T16:30:12.385Z] d747dcd14b5f: Pull complete [2020-11-16T16:30:15.723Z] 2de7ff778b66: Pull complete [2020-11-16T16:30:15.723Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-16T16:30:15.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:30:15.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-16T16:30:16.020Z] prd-centos7-docker-4c-2g-12259 does not seem to be running inside a container [2020-11-16T16:30:16.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-16T16:30:18.696Z] $ docker top 70497be8091d25c6cc7b41e3d0167832a8641bfdbadbdd4435a8bedd6baa4f04 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:30:18.894Z] provisioning config files... [2020-11-16T16:30:18.908Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4361235522501765007tmp [2020-11-16T16:30:18.924Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3400631073948336908tmp [2020-11-16T16:30:18.939Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2585057058948580611tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:30:19.031Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:30:19.331Z] ---> sigul-configuration.sh [2020-11-16T16:30:19.331Z] gpg: directory `/root/.gnupg' created [2020-11-16T16:30:19.331Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-16T16:30:19.331Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-16T16:30:19.331Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-16T16:30:19.331Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-16T16:30:19.331Z] gpg: CAST5 encrypted data [2020-11-16T16:30:19.595Z] gpg: encrypted with 1 passphrase [2020-11-16T16:30:19.595Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-16T16:30:19.897Z] + mkdir /home/jenkins [2020-11-16T16:30:19.898Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-16T16:30:20.198Z] + 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 [2020-11-16T16:30:20.208Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:30:20.510Z] ---> sigul-install.sh [2020-11-16T16:30:25.822Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-16T16:30:26.129Z] + git tag --list [2020-11-16T16:30:26.129Z] 1.0.0 [2020-11-16T16:30:26.129Z] v0.0.0 [2020-11-16T16:30:26.129Z] v1.1.0 [2020-11-16T16:30:26.129Z] v1.1.1 [2020-11-16T16:30:26.129Z] v1.2.0 [2020-11-16T16:30:26.129Z] v1.2.1 [2020-11-16T16:30:26.129Z] v1.2.2 [2020-11-16T16:30:26.129Z] v1.2.2-dev.1 [2020-11-16T16:30:26.129Z] v1.2.2-dev.2 [2020-11-16T16:30:26.129Z] v1.2.3-dev.1 [2020-11-16T16:30:26.129Z] v1.2.3-dev.2 [2020-11-16T16:30:26.129Z] v1.2.3-dev.3 [2020-11-16T16:30:26.129Z] v1.2.3-dev.4 [2020-11-16T16:30:26.129Z] v1.2.3-dev.5 [2020-11-16T16:30:26.129Z] v1.2.3-dev.6 [Pipeline] sh [2020-11-16T16:30:26.430Z] + lftools sign git-tag v1.2.3-dev.6 [2020-11-16T16:30:27.821Z] Signing Git tag with Sigul... [2020-11-16T16:30:27.821Z] Signing v1.2.3-dev.6 [Pipeline] echo [2020-11-16T16:30:28.778Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:30:29.081Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-16T16:30:29.091Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-16T16:30:29.222Z] $ docker stop --time=1 70497be8091d25c6cc7b41e3d0167832a8641bfdbadbdd4435a8bedd6baa4f04 [2020-11-16T16:30:30.938Z] $ docker rm -f 70497be8091d25c6cc7b41e3d0167832a8641bfdbadbdd4435a8bedd6baa4f04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:31.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:30:31.891Z] . [Pipeline] withDockerContainer [2020-11-16T16:30:31.993Z] prd-centos7-docker-4c-2g-12259 does not seem to be running inside a container [2020-11-16T16:30:32.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:30:32.697Z] $ docker top da1d596cd4325253357631e366fe0c05bb75c880cf3254e72eb9246179bdf21a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:30:33.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:30:33.056Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:30:33.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:30:33.274Z] $ docker exec da1d596cd4325253357631e366fe0c05bb75c880cf3254e72eb9246179bdf21a ssh-agent [2020-11-16T16:30:33.445Z] SSH_AUTH_SOCK=/tmp/ssh-Ni02GPpJMU1n/agent.12 [2020-11-16T16:30:33.445Z] SSH_AGENT_PID=18 [2020-11-16T16:30:33.453Z] Running ssh-add (command line suppressed) [2020-11-16T16:30:33.582Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5991607382697557020.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5991607382697557020.key) [2020-11-16T16:30:33.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:30:33.984Z] + git semver bump pre [2020-11-16T16:30:33.984Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:30:33.984Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-11-16T16:30:33.984Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-11-16T16:30:33.984Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:30:33.984Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:30:33.984Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:30:33.984Z] # $SEMVER_BRANCH = master [2020-11-16T16:30:33.984Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2020-11-16T16:30:33.984Z] 1.2.3-dev.7 [Pipeline] } [2020-11-16T16:30:33.999Z] $ docker exec --env ******** --env ******** da1d596cd4325253357631e366fe0c05bb75c880cf3254e72eb9246179bdf21a ssh-agent -k [2020-11-16T16:30:34.168Z] unset SSH_AUTH_SOCK; [2020-11-16T16:30:34.168Z] unset SSH_AGENT_PID; [2020-11-16T16:30:34.168Z] echo Agent pid 18 killed; [2020-11-16T16:30:34.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:30:34.705Z] + git semver [Pipeline] } [2020-11-16T16:30:34.725Z] $ docker stop --time=1 da1d596cd4325253357631e366fe0c05bb75c880cf3254e72eb9246179bdf21a [2020-11-16T16:30:36.108Z] $ docker rm -f da1d596cd4325253357631e366fe0c05bb75c880cf3254e72eb9246179bdf21a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:36.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:30:36.676Z] . [Pipeline] withDockerContainer [2020-11-16T16:30:36.842Z] prd-centos7-docker-4c-2g-12259 does not seem to be running inside a container [2020-11-16T16:30:36.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:30:37.668Z] $ docker top eb2083116b46fd533a82dc1756ccbba90bcde2fca3fc31d1ec959ac358f1f801 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:30:37.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:30:37.991Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:30:38.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:30:38.211Z] $ docker exec eb2083116b46fd533a82dc1756ccbba90bcde2fca3fc31d1ec959ac358f1f801 ssh-agent [2020-11-16T16:30:38.386Z] SSH_AUTH_SOCK=/tmp/ssh-PfMADR0O6hUd/agent.11 [2020-11-16T16:30:38.386Z] SSH_AGENT_PID=16 [2020-11-16T16:30:38.395Z] Running ssh-add (command line suppressed) [2020-11-16T16:30:38.529Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_961043184892353810.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_961043184892353810.key) [2020-11-16T16:30:38.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:30:38.920Z] + git semver push [2020-11-16T16:30:38.920Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:30:38.920Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-11-16T16:30:38.920Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-11-16T16:30:38.920Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:30:38.920Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:30:38.920Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:30:38.920Z] # $SEMVER_BRANCH = master [2020-11-16T16:30:38.920Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2020-11-16T16:30:45.545Z] $ docker exec --env ******** --env ******** eb2083116b46fd533a82dc1756ccbba90bcde2fca3fc31d1ec959ac358f1f801 ssh-agent -k [2020-11-16T16:30:45.696Z] unset SSH_AUTH_SOCK; [2020-11-16T16:30:45.696Z] unset SSH_AGENT_PID; [2020-11-16T16:30:45.696Z] echo Agent pid 16 killed; [2020-11-16T16:30:45.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:30:46.342Z] + git semver [Pipeline] } [2020-11-16T16:30:46.361Z] $ docker stop --time=1 eb2083116b46fd533a82dc1756ccbba90bcde2fca3fc31d1ec959ac358f1f801 [2020-11-16T16:30:47.735Z] $ docker rm -f eb2083116b46fd533a82dc1756ccbba90bcde2fca3fc31d1ec959ac358f1f801 [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 [2020-11-16T16:30:49.302Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:30:49.870Z] ---> package-listing.sh [2020-11-16T16:30:49.870Z] ++ facter osfamily [2020-11-16T16:30:49.870Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-16T16:30:49.870Z] + OS_FAMILY=redhat [2020-11-16T16:30:49.870Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2020-11-16T16:30:49.870Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-16T16:30:49.870Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-16T16:30:49.870Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-16T16:30:49.870Z] + PACKAGES=/tmp/packages_start.txt [2020-11-16T16:30:49.870Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2020-11-16T16:30:49.870Z] + PACKAGES=/tmp/packages_end.txt [2020-11-16T16:30:49.870Z] + case "${OS_FAMILY}" in [2020-11-16T16:30:49.870Z] + rpm -qa [2020-11-16T16:30:49.870Z] + sort [2020-11-16T16:30:56.479Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-16T16:30:56.479Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-16T16:30:56.479Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-16T16:30:56.479Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2020-11-16T16:30:56.479Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2020-11-16T16:30:56.479Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo [2020-11-16T16:30:56.493Z] 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 [2020-11-16T16:30:56.791Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:57.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:30:57.109Z] [2020-11-16T16:30:57.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:57.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:30:57.479Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-16T16:30:57.479Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:30:57.479Z] 36b3adc4ff6f: Pulling fs layer [2020-11-16T16:30:57.479Z] 8ad3a11d3b57: Pulling fs layer [2020-11-16T16:30:57.479Z] 46f8f816bc3b: Pulling fs layer [2020-11-16T16:30:57.479Z] 93b61091891f: Pulling fs layer [2020-11-16T16:30:57.479Z] 93b9cdb0e59b: Pulling fs layer [2020-11-16T16:30:57.479Z] 5e14af77c1be: Pulling fs layer [2020-11-16T16:30:57.479Z] 01666e4c0597: Pulling fs layer [2020-11-16T16:30:57.479Z] aa168da1d23b: Pulling fs layer [2020-11-16T16:30:57.479Z] 93b61091891f: Waiting [2020-11-16T16:30:57.479Z] 93b9cdb0e59b: Waiting [2020-11-16T16:30:57.479Z] 46f8f816bc3b: Waiting [2020-11-16T16:30:57.479Z] 5e14af77c1be: Waiting [2020-11-16T16:30:57.479Z] 01666e4c0597: Waiting [2020-11-16T16:30:57.479Z] aa168da1d23b: Waiting [2020-11-16T16:30:57.479Z] 36b3adc4ff6f: Verifying Checksum [2020-11-16T16:30:57.479Z] 36b3adc4ff6f: Download complete [2020-11-16T16:30:57.479Z] 46f8f816bc3b: Download complete [2020-11-16T16:30:57.479Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:30:57.479Z] df20fa9351a1: Download complete [2020-11-16T16:30:57.479Z] 93b9cdb0e59b: Verifying Checksum [2020-11-16T16:30:57.479Z] 93b9cdb0e59b: Download complete [2020-11-16T16:30:57.479Z] 93b61091891f: Download complete [2020-11-16T16:30:57.479Z] 5e14af77c1be: Verifying Checksum [2020-11-16T16:30:57.479Z] 5e14af77c1be: Download complete [2020-11-16T16:30:57.743Z] 01666e4c0597: Verifying Checksum [2020-11-16T16:30:57.744Z] 01666e4c0597: Download complete [2020-11-16T16:30:57.744Z] 8ad3a11d3b57: Verifying Checksum [2020-11-16T16:30:57.744Z] 8ad3a11d3b57: Download complete [2020-11-16T16:30:58.009Z] df20fa9351a1: Pull complete [2020-11-16T16:30:58.009Z] 36b3adc4ff6f: Pull complete [2020-11-16T16:30:59.938Z] aa168da1d23b: Verifying Checksum [2020-11-16T16:30:59.938Z] aa168da1d23b: Download complete [2020-11-16T16:31:00.200Z] 8ad3a11d3b57: Pull complete [2020-11-16T16:31:00.200Z] 46f8f816bc3b: Pull complete [2020-11-16T16:31:00.774Z] 93b61091891f: Pull complete [2020-11-16T16:31:00.774Z] 93b9cdb0e59b: Pull complete [2020-11-16T16:31:00.774Z] 5e14af77c1be: Pull complete [2020-11-16T16:31:01.038Z] 01666e4c0597: Pull complete [2020-11-16T16:31:09.234Z] aa168da1d23b: Pull complete [2020-11-16T16:31:09.234Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-16T16:31:09.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:31:09.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-16T16:31:09.434Z] prd-centos7-docker-4c-2g-12259 does not seem to be running inside a container [2020-11-16T16:31:09.487Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-16T16:31:12.242Z] $ docker top 020b260b7ad18ffee80e32309804e6dcb07d1394282f6722af078fb7ab0f1130 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:31:12.744Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-16T16:31:13.047Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-16T16:31:13.347Z] + ls /var/log/sa-host [2020-11-16T16:31:13.347Z] + sadf -c /var/log/sa-host/sa05 [2020-11-16T16:31:13.347Z] file_magic: OK [2020-11-16T16:31:13.347Z] HZ: Using current value: 100 [2020-11-16T16:31:13.347Z] file_header: OK [2020-11-16T16:31:13.347Z] 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 [2020-11-16T16:31:13.347Z] Statistics: [2020-11-16T16:31:13.347Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:31:13.347Z] File successfully converted to sysstat format version 12.2.1 [2020-11-16T16:31:13.347Z] + sadf -c /var/log/sa-host/sa16 [2020-11-16T16:31:13.347Z] file_magic: OK [2020-11-16T16:31:13.347Z] HZ: Using current value: 100 [2020-11-16T16:31:13.347Z] file_header: OK [2020-11-16T16:31:13.347Z] 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 [2020-11-16T16:31:13.347Z] Statistics: [2020-11-16T16:31:13.347Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:31:13.347Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:31:13.590Z] provisioning config files... [2020-11-16T16:31:13.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config977372184638822959tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:31:13.673Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:13.969Z] ---> create-netrc.sh [Pipeline] } [2020-11-16T16:31:13.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-16T16:31:14.077Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:14.374Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-16T16:31:14.386Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:14.683Z] ---> sudo-logs.sh [2020-11-16T16:31:14.683Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-16T16:31:14.696Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:14.994Z] ---> job-cost.sh [2020-11-16T16:31:14.994Z] lf-activate-venv: SKIPPING [2020-11-16T16:31:14.994Z] INFO: No Stack... [2020-11-16T16:31:15.942Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-16T16:31:16.517Z] INFO: Archiving Costs [Pipeline] echo [2020-11-16T16:31:16.529Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:16.834Z] ---> logs-deploy.sh [2020-11-16T16:31:16.835Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/17 [2020-11-16T16:31:16.835Z] INFO: archiving workspace using pattern(s): [2020-11-16T16:31:18.758Z] Archives upload complete. [2020-11-16T16:31:18.758Z] INFO: archiving logs to Nexus