Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fcccfd94587541a74c874275ff1808fa86f63ccd Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18200 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision fcccfd94587541a74c874275ff1808fa86f63ccd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f fcccfd94587541a74c874275ff1808fa86f63ccd # timeout=10 Commit message: "Merge pull request #79 from ernestojeda/devops-std-dockerfiles" > git rev-list --no-walk 1f0733914b201895897853d5b06c8e02670a551a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T16:43:09.649Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T16:43:09.911Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T16:43:10.004Z] ========================================================= [2021-01-04T16:43:10.004Z] EdgeX Global Pipelines Version Info [2021-01-04T16:43:10.004Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:43:11.495Z] ------------------- [2021-01-04T16:43:11.495Z] stable info: [2021-01-04T16:43:11.495Z] ------------------- [2021-01-04T16:43:11.495Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T16:43:11.495Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:43:11.495Z] Message: update stable to v1.0.173 [2021-01-04T16:43:12.448Z] ------------------- [2021-01-04T16:43:12.448Z] experimental info: [2021-01-04T16:43:12.448Z] ------------------- [2021-01-04T16:43:12.448Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T16:43:12.448Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:43:12.448Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T16:43:12.737Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-01-04T16:43:12.847Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-01-04T16:43:12.940Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T16:43:13.034Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T16:43:13.175Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T16:43:13.282Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T16:43:13.375Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T16:43:13.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T16:43:13.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T16:43:13.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T16:43:13.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T16:43:13.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-01-04T16:43:13.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T16:43:14.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T16:43:14.167Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:43:14.266Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:43:14.356Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:43:14.450Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:43:14.569Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T16:43:14.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T16:43:14.792Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T16:43:14.890Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T16:43:15.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T16:43:15.221Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T16:43:15.324Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T16:43:15.457Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T16:43:15.561Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T16:43:15.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-04T16:43:15.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-04T16:43:15.950Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-04T16:43:16.074Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcccfd94587541a74c874275ff1808fa86f63ccd [Pipeline] echo [2021-01-04T16:43:16.177Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcccfd9 [Pipeline] echo [2021-01-04T16:43:16.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:43:16.475Z] provisioning config files... [2021-01-04T16:43:16.528Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7732883062057215818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:43:16.883Z] ---> docker-login.sh [2021-01-04T16:43:16.883Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:43:17.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:17.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:17.410Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:17.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:17.410Z] [2021-01-04T16:43:17.410Z] Login Succeeded [2021-01-04T16:43:17.410Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:43:17.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:17.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:17.685Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:17.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:17.685Z] [2021-01-04T16:43:17.685Z] Login Succeeded [2021-01-04T16:43:17.685Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:43:17.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:17.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:17.685Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:17.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:17.685Z] [2021-01-04T16:43:17.685Z] Login Succeeded [2021-01-04T16:43:17.685Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:43:17.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:17.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:17.952Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:17.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:17.952Z] [2021-01-04T16:43:17.952Z] Login Succeeded [2021-01-04T16:43:17.952Z] docker.io [2021-01-04T16:43:17.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:18.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:18.216Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:18.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:18.216Z] [2021-01-04T16:43:18.216Z] Login Succeeded [2021-01-04T16:43:18.216Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:43:18.227Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:43:19.053Z] + git log --format=format:%s -1 fcccfd94587541a74c874275ff1808fa86f63ccd [Pipeline] echo [2021-01-04T16:43:19.141Z] GIT_COMMIT: fcccfd94587541a74c874275ff1808fa86f63ccd, Commit Message: Merge pull request #79 from ernestojeda/devops-std-dockerfiles [Pipeline] echo [2021-01-04T16:43:19.216Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:43:19.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:43:19.839Z] [2021-01-04T16:43:19.839Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:43:20.198Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:43:20.198Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T16:43:20.198Z] 31603596830f: Pulling fs layer [2021-01-04T16:43:20.198Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T16:43:20.198Z] 6ca5941a6612: Pulling fs layer [2021-01-04T16:43:20.198Z] ecc8261a40a4: Pulling fs layer [2021-01-04T16:43:20.198Z] ecc8261a40a4: Waiting [2021-01-04T16:43:20.198Z] 2a8b12db71e7: Download complete [2021-01-04T16:43:20.198Z] 31603596830f: Verifying Checksum [2021-01-04T16:43:20.198Z] 31603596830f: Download complete [2021-01-04T16:43:20.488Z] ecc8261a40a4: Verifying Checksum [2021-01-04T16:43:20.488Z] ecc8261a40a4: Download complete [2021-01-04T16:43:20.488Z] 6ca5941a6612: Verifying Checksum [2021-01-04T16:43:20.488Z] 6ca5941a6612: Download complete [2021-01-04T16:43:20.802Z] 31603596830f: Pull complete [2021-01-04T16:43:21.066Z] 2a8b12db71e7: Pull complete [2021-01-04T16:43:22.029Z] 6ca5941a6612: Pull complete [2021-01-04T16:43:22.029Z] ecc8261a40a4: Pull complete [2021-01-04T16:43:22.029Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T16:43:22.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:43:22.292Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T16:43:22.404Z] prd-centos7-docker-4c-2g-18200 does not seem to be running inside a container [2021-01-04T16:43:22.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:43:24.867Z] $ docker top 95f9d51e7f48788333996ca2e8c5fb87ce7370fa5ee0bedb30a4dc273d3dc593 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:43:25.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:43:25.370Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:43:25.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:43:25.605Z] $ docker exec 95f9d51e7f48788333996ca2e8c5fb87ce7370fa5ee0bedb30a4dc273d3dc593 ssh-agent [2021-01-04T16:43:25.779Z] SSH_AUTH_SOCK=/tmp/ssh-4i9cyD2VK6cD/agent.11 [2021-01-04T16:43:25.779Z] SSH_AGENT_PID=17 [2021-01-04T16:43:25.790Z] Running ssh-add (command line suppressed) [2021-01-04T16:43:25.912Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8284606586088251166.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8284606586088251166.key) [2021-01-04T16:43:25.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:43:26.322Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T16:43:26.350Z] $ docker exec --env ******** --env ******** 95f9d51e7f48788333996ca2e8c5fb87ce7370fa5ee0bedb30a4dc273d3dc593 ssh-agent -k [2021-01-04T16:43:26.461Z] unset SSH_AUTH_SOCK; [2021-01-04T16:43:26.461Z] unset SSH_AGENT_PID; [2021-01-04T16:43:26.461Z] echo Agent pid 17 killed; [2021-01-04T16:43:26.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T16:43:26.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:43:26.645Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:43:26.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:43:26.820Z] $ docker exec 95f9d51e7f48788333996ca2e8c5fb87ce7370fa5ee0bedb30a4dc273d3dc593 ssh-agent [2021-01-04T16:43:26.981Z] SSH_AUTH_SOCK=/tmp/ssh-vI3Xb3hLDMWi/agent.45 [2021-01-04T16:43:26.981Z] SSH_AGENT_PID=50 [2021-01-04T16:43:26.989Z] Running ssh-add (command line suppressed) [2021-01-04T16:43:27.107Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6593647738385580451.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6593647738385580451.key) [2021-01-04T16:43:27.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:43:27.507Z] + git semver init [2021-01-04T16:43:27.507Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:43:27.507Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-01-04T16:43:27.507Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-01-04T16:43:27.507Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:43:27.507Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:43:27.507Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:43:27.507Z] # $SEMVER_BRANCH = master [2021-01-04T16:43:27.507Z] # $SEMVER_TEMP = /tmp/semver-781205903 [2021-01-04T16:43:27.507Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-01-04T16:43:28.086Z] # '/tmp/semver-781205903' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2021-01-04T16:43:28.086Z] # -> Force: false [2021-01-04T16:43:28.086Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-01-04T16:43:28.105Z] $ docker exec --env ******** --env ******** 95f9d51e7f48788333996ca2e8c5fb87ce7370fa5ee0bedb30a4dc273d3dc593 ssh-agent -k [2021-01-04T16:43:28.223Z] unset SSH_AUTH_SOCK; [2021-01-04T16:43:28.224Z] unset SSH_AGENT_PID; [2021-01-04T16:43:28.224Z] echo Agent pid 50 killed; [2021-01-04T16:43:28.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:43:28.862Z] + git semver [Pipeline] } [2021-01-04T16:43:28.881Z] $ docker stop --time=1 95f9d51e7f48788333996ca2e8c5fb87ce7370fa5ee0bedb30a4dc273d3dc593 [2021-01-04T16:43:30.254Z] $ docker rm -f 95f9d51e7f48788333996ca2e8c5fb87ce7370fa5ee0bedb30a4dc273d3dc593 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:43:30.735Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T16:43:31.143Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T16:43:31.146Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-04T16:43:46.697Z] Still waiting to schedule task [2021-01-04T16:43:46.697Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T16:43:46.699Z] Still waiting to schedule task [2021-01-04T16:43:46.699Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-04T16:45:15.469Z] Running on prd-centos7-docker-4c-2g-18205 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-01-04T16:45:15.520Z] Running in /w/workspace/device-snmp-go/20 [Pipeline] { [Pipeline] checkout [2021-01-04T16:45:18.099Z] using credential edgex-jenkins-ssh [2021-01-04T16:45:19.251Z] Cloning the remote Git repository [2021-01-04T16:45:19.025Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T16:45:19.158Z] > git init /w/workspace/device-snmp-go/20 # timeout=10 [2021-01-04T16:45:19.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T16:45:19.277Z] > git --version # timeout=10 [2021-01-04T16:45:19.283Z] > git --version # 'git version 2.24.3' [2021-01-04T16:45:19.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:45:19.319Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:45:20.759Z] Checking out Revision fcccfd94587541a74c874275ff1808fa86f63ccd (master) [2021-01-04T16:45:20.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-04T16:45:20.160Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:45:20.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-04T16:45:20.190Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T16:45:20.190Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:45:20.194Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:45:20.627Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:45:20.632Z] > git checkout -f fcccfd94587541a74c874275ff1808fa86f63ccd # timeout=10 [2021-01-04T16:45:24.332Z] Commit message: "Merge pull request #79 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:45:25.730Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:45:26.079Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:45:26.383Z] + sudo service docker restart [2021-01-04T16:45:26.384Z] + true [2021-01-04T16:45:26.384Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:45:27.399Z] provisioning config files... [2021-01-04T16:45:27.439Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/20@tmp/config1533871218210302315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:27.800Z] ---> docker-login.sh [2021-01-04T16:45:27.800Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:45:28.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:28.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:28.063Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:28.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:28.063Z] [2021-01-04T16:45:28.063Z] Login Succeeded [2021-01-04T16:45:28.063Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:45:28.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:28.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:28.329Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:28.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:28.329Z] [2021-01-04T16:45:28.329Z] Login Succeeded [2021-01-04T16:45:28.329Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:45:28.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:28.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:28.593Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:28.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:28.593Z] [2021-01-04T16:45:28.593Z] Login Succeeded [2021-01-04T16:45:28.593Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:45:28.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:28.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:28.593Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:28.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:28.593Z] [2021-01-04T16:45:28.593Z] Login Succeeded [2021-01-04T16:45:28.593Z] docker.io [2021-01-04T16:45:28.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:29.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:29.131Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:29.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:29.131Z] [2021-01-04T16:45:29.131Z] Login Succeeded [2021-01-04T16:45:29.131Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:45:29.148Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:45:29.488Z] ========================================================= [2021-01-04T16:45:29.488Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T16:45:29.488Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:45:29.825Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-04T16:45:29.825Z] Sending build context to Docker daemon 322.6kB [2021-01-04T16:45:29.825Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:45:29.825Z] Step 2/10 : FROM ${BASE} [2021-01-04T16:45:29.825Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T16:45:29.825Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:45:29.825Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:45:29.825Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:45:29.825Z] bca2f99d35d6: Pulling fs layer [2021-01-04T16:45:29.825Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T16:45:29.825Z] 7c6f9722023f: Pulling fs layer [2021-01-04T16:45:29.825Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T16:45:29.825Z] bca2f99d35d6: Waiting [2021-01-04T16:45:29.825Z] 93359f2a8cfa: Waiting [2021-01-04T16:45:29.825Z] 7c6f9722023f: Waiting [2021-01-04T16:45:29.825Z] a35cf1a2eb13: Waiting [2021-01-04T16:45:29.825Z] de9db76c5a1d: Download complete [2021-01-04T16:45:30.092Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T16:45:30.092Z] 0ef7d3d256c8: Download complete [2021-01-04T16:45:30.092Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T16:45:30.092Z] 93359f2a8cfa: Download complete [2021-01-04T16:45:30.092Z] 7c6f9722023f: Verifying Checksum [2021-01-04T16:45:30.092Z] 7c6f9722023f: Download complete [2021-01-04T16:45:30.092Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T16:45:30.092Z] 188c0c94c7c5: Download complete [2021-01-04T16:45:30.355Z] 188c0c94c7c5: Pull complete [2021-01-04T16:45:30.622Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:45:30.622Z] de9db76c5a1d: Pull complete [2021-01-04T16:45:32.019Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T16:45:32.019Z] a35cf1a2eb13: Download complete [2021-01-04T16:45:32.597Z] bca2f99d35d6: Verifying Checksum [2021-01-04T16:45:32.597Z] bca2f99d35d6: Download complete [2021-01-04T16:45:37.930Z] bca2f99d35d6: Pull complete [2021-01-04T16:45:37.930Z] 93359f2a8cfa: Pull complete [2021-01-04T16:45:37.930Z] 7c6f9722023f: Pull complete [2021-01-04T16:45:46.111Z] a35cf1a2eb13: Pull complete [2021-01-04T16:45:46.111Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T16:45:46.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T16:45:46.111Z] ---> a62c8e92a672 [2021-01-04T16:45:46.111Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:45:46.111Z] ---> Running in 4cb8a3c05cde [2021-01-04T16:45:46.111Z] Removing intermediate container 4cb8a3c05cde [2021-01-04T16:45:46.111Z] ---> 8cd51b298ee0 [2021-01-04T16:45:46.111Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:45:46.111Z] ---> Running in 3190551c2279 [2021-01-04T16:45:46.111Z] Removing intermediate container 3190551c2279 [2021-01-04T16:45:46.111Z] ---> 8fdcf21ba135 [2021-01-04T16:45:46.111Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-04T16:45:46.111Z] ---> Running in 5b6e78c7b343 [2021-01-04T16:45:46.376Z] Removing intermediate container 5b6e78c7b343 [2021-01-04T16:45:46.376Z] ---> 6d4e36bb82e2 [2021-01-04T16:45:46.376Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:45:46.376Z] ---> Running in 871157a5e3c0 [2021-01-04T16:45:47.326Z] Removing intermediate container 871157a5e3c0 [2021-01-04T16:45:47.326Z] ---> 27088e554c4d [2021-01-04T16:45:47.326Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:45:47.590Z] ---> Running in 5491395965c0 [2021-01-04T16:45:48.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:45:48.811Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:45:49.392Z] OK: 166 MiB in 39 packages [2021-01-04T16:45:49.974Z] Removing intermediate container 5491395965c0 [2021-01-04T16:45:49.974Z] ---> bf220645b20b [2021-01-04T16:45:49.974Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-04T16:45:49.974Z] ---> Running in e205f1056298 [2021-01-04T16:45:49.974Z] Removing intermediate container e205f1056298 [2021-01-04T16:45:49.974Z] ---> 30f230351d7a [2021-01-04T16:45:49.974Z] Step 9/10 : COPY . . [2021-01-04T16:45:50.550Z] ---> 306725712eb8 [2021-01-04T16:45:50.550Z] Step 10/10 : RUN go mod download [2021-01-04T16:45:50.812Z] ---> Running in d942059e1a32 [2021-01-04T16:46:12.868Z] Removing intermediate container d942059e1a32 [2021-01-04T16:46:12.868Z] ---> d43d0dc4a620 [2021-01-04T16:46:12.868Z] Successfully built d43d0dc4a620 [2021-01-04T16:46:12.868Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:13.194Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:46:13.194Z] . [Pipeline] withDockerContainer [2021-01-04T16:46:13.464Z] prd-centos7-docker-4c-2g-18205 does not seem to be running inside a container [2021-01-04T16:46:13.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:46:14.416Z] $ docker top f26194fe1ffcb2594588e1cb0473103b370b5d0fcdb680ce9009650feb1c6e51 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:46:14.912Z] + go version [2021-01-04T16:46:14.912Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T16:46:14.927Z] $ docker stop --time=1 f26194fe1ffcb2594588e1cb0473103b370b5d0fcdb680ce9009650feb1c6e51 [2021-01-04T16:46:16.267Z] $ docker rm -f f26194fe1ffcb2594588e1cb0473103b370b5d0fcdb680ce9009650feb1c6e51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:17.072Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:46:17.073Z] . [Pipeline] withDockerContainer [2021-01-04T16:46:17.190Z] prd-centos7-docker-4c-2g-18205 does not seem to be running inside a container [2021-01-04T16:46:17.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:46:17.882Z] $ docker top e2ac3c92cffb6e01ac25b8c893189b4e46a2836098e0e2325f8b84018e98c2d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:46:18.456Z] + make test [2021-01-04T16:46:18.456Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T16:46:19.035Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-04T16:46:31.404Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-01-04T16:46:31.404Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2021-01-04T16:46:31.404Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:46:32.832Z] gofmt -l . [2021-01-04T16:46:33.096Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:46:33.096Z] ./bin/test-attribution-txt.sh [2021-01-04T16:46:33.672Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-04T16:46:33.690Z] $ docker stop --time=1 e2ac3c92cffb6e01ac25b8c893189b4e46a2836098e0e2325f8b84018e98c2d3 [2021-01-04T16:46:36.044Z] $ docker rm -f e2ac3c92cffb6e01ac25b8c893189b4e46a2836098e0e2325f8b84018e98c2d3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:46:36.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:46:36.955Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-04T16:46:39.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:46:39.995Z] + ls -al . [2021-01-04T16:46:39.996Z] total 104 [2021-01-04T16:46:39.996Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 4 16:46 . [2021-01-04T16:46:39.996Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 4 16:45 .. [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 5082 Jan 4 16:45 Attribution.txt [2021-01-04T16:46:39.996Z] drwxrwxr-x. 2 jenkins jenkins 87 Jan 4 16:45 bin [2021-01-04T16:46:39.996Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 16:45 cmd [2021-01-04T16:46:39.996Z] -rw-r--r--. 1 jenkins jenkins 8493 Jan 4 16:46 coverage.out [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 1529 Jan 4 16:45 Dockerfile [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 1006 Jan 4 16:45 Dockerfile.build [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 6 Jan 4 16:45 .dockerignore [2021-01-04T16:46:39.996Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 4 16:45 .git [2021-01-04T16:46:39.996Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 16:45 .github [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 272 Jan 4 16:45 .gitignore [2021-01-04T16:46:39.996Z] -rw-r--r--. 1 jenkins jenkins 204 Jan 4 16:46 go.mod [2021-01-04T16:46:39.996Z] -rw-r--r--. 1 jenkins jenkins 13961 Jan 4 16:46 go.sum [2021-01-04T16:46:39.996Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 4 16:45 internal [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 656 Jan 4 16:45 Jenkinsfile [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 16:45 LICENSE [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 937 Jan 4 16:45 Makefile [2021-01-04T16:46:39.996Z] drwxrwxr-x. 2 jenkins jenkins 84 Jan 4 16:45 profiles [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 12398 Jan 4 16:45 README.md [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 4 16:43 VERSION [2021-01-04T16:46:39.996Z] -rw-rw-r--. 1 jenkins jenkins 209 Jan 4 16:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:40.312Z] + 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=fcccfd94587541a74c874275ff1808fa86f63ccd --label arch=amd64 --label version=1.3.1-dev.2 . [2021-01-04T16:46:40.312Z] Sending build context to Docker daemon 331.8kB [2021-01-04T16:46:40.312Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:46:40.312Z] Step 2/26 : FROM ${BASE} AS builder [2021-01-04T16:46:40.312Z] ---> d43d0dc4a620 [2021-01-04T16:46:40.312Z] Step 3/26 : ARG MAKE='make build' [2021-01-04T16:46:40.576Z] ---> Running in 9f3c7c847ab9 [2021-01-04T16:46:40.840Z] Removing intermediate container 9f3c7c847ab9 [2021-01-04T16:46:40.840Z] ---> 09396d5fa087 [2021-01-04T16:46:40.840Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:46:40.840Z] ---> Running in 61d1906f2dd9 [2021-01-04T16:46:40.840Z] Removing intermediate container 61d1906f2dd9 [2021-01-04T16:46:40.840Z] ---> 951675b338f0 [2021-01-04T16:46:40.840Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:46:41.103Z] ---> Running in 62cb45b91d82 [2021-01-04T16:46:41.103Z] Removing intermediate container 62cb45b91d82 [2021-01-04T16:46:41.103Z] ---> bf744935baac [2021-01-04T16:46:41.103Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:46:41.377Z] ---> Running in 06e8b7a204d8 [2021-01-04T16:46:42.775Z] Removing intermediate container 06e8b7a204d8 [2021-01-04T16:46:42.775Z] ---> dcdaad6f153c [2021-01-04T16:46:42.775Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:46:42.775Z] ---> Running in b548f809ee66 [2021-01-04T16:46:43.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:46:43.942Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:46:44.517Z] OK: 166 MiB in 39 packages [2021-01-04T16:46:45.093Z] Removing intermediate container b548f809ee66 [2021-01-04T16:46:45.093Z] ---> f45f28360e5e [2021-01-04T16:46:45.093Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-01-04T16:46:45.093Z] ---> Running in ce49c28a916b [2021-01-04T16:46:45.356Z] Removing intermediate container ce49c28a916b [2021-01-04T16:46:45.356Z] ---> c86a6e90cb35 [2021-01-04T16:46:45.356Z] Step 9/26 : COPY go.mod . [2021-01-04T16:46:45.356Z] ---> 42dc902e7993 [2021-01-04T16:46:45.356Z] Step 10/26 : COPY Makefile . [2021-01-04T16:46:45.623Z] ---> b16cef2ee22b [2021-01-04T16:46:45.623Z] Step 11/26 : RUN make update [2021-01-04T16:46:45.886Z] ---> Running in 0d0f36a42aaf [2021-01-04T16:46:46.154Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-04T16:46:46.754Z] Removing intermediate container 0d0f36a42aaf [2021-01-04T16:46:46.754Z] ---> 707745d39f6e [2021-01-04T16:46:46.754Z] Step 12/26 : COPY . . [2021-01-04T16:46:47.725Z] ---> d88b8067d198 [2021-01-04T16:46:47.725Z] Step 13/26 : RUN ${MAKE} [2021-01-04T16:46:47.725Z] ---> Running in 4e7290423a08 [2021-01-04T16:46:48.315Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.1-dev.2" -o cmd/device-snmp-go ./cmd [2021-01-04T16:46:58.446Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-04T16:47:01.060Z] Removing intermediate container 4e7290423a08 [2021-01-04T16:47:01.060Z] ---> 8f1175b93d5c [2021-01-04T16:47:01.060Z] Step 14/26 : FROM alpine:3.12 [2021-01-04T16:47:01.642Z] 3.12: Pulling from library/alpine [2021-01-04T16:47:01.905Z] 801bfaa63ef2: Pulling fs layer [2021-01-04T16:47:01.905Z] 801bfaa63ef2: Download complete [2021-01-04T16:47:02.168Z] 801bfaa63ef2: Pull complete [2021-01-04T16:47:02.168Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:47:02.168Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:47:02.168Z] ---> 389fef711851 [2021-01-04T16:47:02.168Z] Step 15/26 : ENV APP_PORT=49993 [2021-01-04T16:47:02.431Z] ---> Running in a2d3548c8c52 [2021-01-04T16:47:02.431Z] Removing intermediate container a2d3548c8c52 [2021-01-04T16:47:02.431Z] ---> 40663c2d4fe0 [2021-01-04T16:47:02.431Z] Step 16/26 : EXPOSE $APP_PORT [2021-01-04T16:47:02.694Z] ---> Running in f30f35ce9940 [2021-01-04T16:47:02.694Z] Removing intermediate container f30f35ce9940 [2021-01-04T16:47:02.694Z] ---> 9b473aa1818b [2021-01-04T16:47:02.694Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-01-04T16:47:02.960Z] ---> Running in 0bc61090fdb1 [2021-01-04T16:47:02.960Z] Removing intermediate container 0bc61090fdb1 [2021-01-04T16:47:02.960Z] ---> ae7bf4786a64 [2021-01-04T16:47:02.960Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-01-04T16:47:02.960Z] ---> Running in 9bfd00c40b8a [2021-01-04T16:47:03.229Z] Removing intermediate container 9bfd00c40b8a [2021-01-04T16:47:03.229Z] ---> 44a103b198cf [2021-01-04T16:47:03.229Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-01-04T16:47:03.825Z] ---> e1994886ed8f [2021-01-04T16:47:03.825Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-01-04T16:47:04.092Z] ---> 9d857d379e71 [2021-01-04T16:47:04.092Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-01-04T16:47:04.359Z] ---> 7a3c26b262c6 [2021-01-04T16:47:04.359Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-01-04T16:47:04.627Z] ---> Running in 225a4179b472 [2021-01-04T16:47:04.890Z] Removing intermediate container 225a4179b472 [2021-01-04T16:47:04.890Z] ---> 048a84b76426 [2021-01-04T16:47:04.890Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-04T16:47:04.890Z] ---> Running in 1f9418221114 [2021-01-04T16:47:05.152Z] Removing intermediate container 1f9418221114 [2021-01-04T16:47:05.152Z] ---> 4f67ceec0282 [2021-01-04T16:47:05.152Z] Step 24/26 : LABEL arch=amd64 [2021-01-04T16:47:05.152Z] ---> Running in a1b50b5ab4c4 [2021-01-04T16:47:05.421Z] Removing intermediate container a1b50b5ab4c4 [2021-01-04T16:47:05.421Z] ---> 87a3f6086de7 [2021-01-04T16:47:05.421Z] Step 25/26 : LABEL git_sha=fcccfd94587541a74c874275ff1808fa86f63ccd [2021-01-04T16:47:05.421Z] ---> Running in 0321977b5523 [2021-01-04T16:47:05.684Z] Removing intermediate container 0321977b5523 [2021-01-04T16:47:05.685Z] ---> 8350e5bf18e6 [2021-01-04T16:47:05.685Z] Step 26/26 : LABEL version=1.3.1-dev.2 [2021-01-04T16:47:05.685Z] ---> Running in 9bd882b41b4b [2021-01-04T16:47:05.947Z] Removing intermediate container 9bd882b41b4b [2021-01-04T16:47:05.947Z] ---> a211122dec50 [2021-01-04T16:47:05.947Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:47:05.947Z] Successfully built a211122dec50 [2021-01-04T16:47:05.947Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:47:06.311Z] provisioning config files... [2021-01-04T16:47:06.352Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/20@tmp/config8755024292033266536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:47:06.748Z] ---> docker-login.sh [2021-01-04T16:47:06.748Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:47:06.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:07.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:07.011Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:07.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:07.011Z] [2021-01-04T16:47:07.011Z] Login Succeeded [2021-01-04T16:47:07.011Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:47:07.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:07.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:07.280Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:07.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:07.280Z] [2021-01-04T16:47:07.280Z] Login Succeeded [2021-01-04T16:47:07.280Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:47:07.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:07.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:07.546Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:07.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:07.546Z] [2021-01-04T16:47:07.546Z] Login Succeeded [2021-01-04T16:47:07.546Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:47:07.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:07.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:07.813Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:07.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:07.813Z] [2021-01-04T16:47:07.813Z] Login Succeeded [2021-01-04T16:47:07.813Z] docker.io [2021-01-04T16:47:08.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:08.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:08.091Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:08.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:08.091Z] [2021-01-04T16:47:08.091Z] Login Succeeded [2021-01-04T16:47:08.101Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:47:08.103Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:47:08.365Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: [2021-01-04T16:47:08.365Z] fcccfd94587541a74c874275ff1808fa86f63ccd [2021-01-04T16:47:08.365Z] latest [2021-01-04T16:47:08.365Z] 1.3.1-dev.2 [2021-01-04T16:47:08.365Z] fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2 [2021-01-04T16:47:08.365Z] master [2021-01-04T16:47:08.365Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:09.166Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:fcccfd94587541a74c874275ff1808fa86f63ccd [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:09.486Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:fcccfd94587541a74c874275ff1808fa86f63ccd [2021-01-04T16:47:09.486Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-04T16:47:09.486Z] 1434cb110464: Preparing [2021-01-04T16:47:09.486Z] edb0488f3d81: Preparing [2021-01-04T16:47:09.486Z] c2d3866ec932: Preparing [2021-01-04T16:47:09.486Z] 777b2c648970: Preparing [2021-01-04T16:47:09.486Z] 777b2c648970: Layer already exists [2021-01-04T16:47:09.759Z] 1434cb110464: Pushed [2021-01-04T16:47:09.759Z] edb0488f3d81: Pushed [2021-01-04T16:47:10.729Z] c2d3866ec932: Pushed [2021-01-04T16:47:10.993Z] fcccfd94587541a74c874275ff1808fa86f63ccd: digest: sha256:2f0bc246a508abeb8257afff6c72f0f425795f718d91b0d8d626771f600fa7c4 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:11.308Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:11.631Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2021-01-04T16:47:11.631Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-04T16:47:11.631Z] 1434cb110464: Preparing [2021-01-04T16:47:11.631Z] edb0488f3d81: Preparing [2021-01-04T16:47:11.631Z] c2d3866ec932: Preparing [2021-01-04T16:47:11.631Z] 777b2c648970: Preparing [2021-01-04T16:47:11.631Z] edb0488f3d81: Layer already exists [2021-01-04T16:47:11.631Z] 1434cb110464: Layer already exists [2021-01-04T16:47:11.631Z] 777b2c648970: Layer already exists [2021-01-04T16:47:11.631Z] c2d3866ec932: Layer already exists [2021-01-04T16:47:11.631Z] latest: digest: sha256:2f0bc246a508abeb8257afff6c72f0f425795f718d91b0d8d626771f600fa7c4 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:11.945Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:12.265Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.2 [2021-01-04T16:47:12.265Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-04T16:47:12.265Z] 1434cb110464: Preparing [2021-01-04T16:47:12.265Z] edb0488f3d81: Preparing [2021-01-04T16:47:12.265Z] c2d3866ec932: Preparing [2021-01-04T16:47:12.265Z] 777b2c648970: Preparing [2021-01-04T16:47:12.265Z] 777b2c648970: Layer already exists [2021-01-04T16:47:12.265Z] c2d3866ec932: Layer already exists [2021-01-04T16:47:12.265Z] edb0488f3d81: Layer already exists [2021-01-04T16:47:12.265Z] 1434cb110464: Layer already exists [2021-01-04T16:47:12.265Z] 1.3.1-dev.2: digest: sha256:2f0bc246a508abeb8257afff6c72f0f425795f718d91b0d8d626771f600fa7c4 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:12.588Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:13.159Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2 [2021-01-04T16:47:13.159Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-04T16:47:13.159Z] 1434cb110464: Preparing [2021-01-04T16:47:13.159Z] edb0488f3d81: Preparing [2021-01-04T16:47:13.159Z] c2d3866ec932: Preparing [2021-01-04T16:47:13.159Z] 777b2c648970: Preparing [2021-01-04T16:47:13.159Z] 777b2c648970: Layer already exists [2021-01-04T16:47:13.159Z] 1434cb110464: Layer already exists [2021-01-04T16:47:13.159Z] c2d3866ec932: Layer already exists [2021-01-04T16:47:13.159Z] edb0488f3d81: Layer already exists [2021-01-04T16:47:13.423Z] fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2: digest: sha256:2f0bc246a508abeb8257afff6c72f0f425795f718d91b0d8d626771f600fa7c4 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:13.733Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:14.034Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [2021-01-04T16:47:14.035Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-01-04T16:47:14.035Z] 1434cb110464: Preparing [2021-01-04T16:47:14.035Z] edb0488f3d81: Preparing [2021-01-04T16:47:14.035Z] c2d3866ec932: Preparing [2021-01-04T16:47:14.035Z] 777b2c648970: Preparing [2021-01-04T16:47:14.035Z] 1434cb110464: Layer already exists [2021-01-04T16:47:14.035Z] c2d3866ec932: Layer already exists [2021-01-04T16:47:14.035Z] edb0488f3d81: Layer already exists [2021-01-04T16:47:14.035Z] 777b2c648970: Layer already exists [2021-01-04T16:47:14.035Z] master: digest: sha256:2f0bc246a508abeb8257afff6c72f0f425795f718d91b0d8d626771f600fa7c4 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:47:14.230Z] ===================================================== [Pipeline] echo [2021-01-04T16:47:14.279Z] taggedImages: [2021-01-04T16:47:14.279Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:fcccfd94587541a74c874275ff1808fa86f63ccd [2021-01-04T16:47:14.279Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2021-01-04T16:47:14.279Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.2 [2021-01-04T16:47:14.279Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2 [2021-01-04T16:47:14.279Z] - 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] } [2021-01-04T16:47:35.208Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18208 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-01-04T16:47:35.263Z] Running in /w/workspace/device-snmp-go/20 [Pipeline] { [Pipeline] checkout [2021-01-04T16:47:40.256Z] using credential edgex-jenkins-ssh [2021-01-04T16:47:40.334Z] Cloning the remote Git repository [2021-01-04T16:47:40.397Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T16:47:40.496Z] > git init /w/workspace/device-snmp-go/20 # timeout=10 [2021-01-04T16:47:40.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T16:47:40.565Z] > git --version # timeout=10 [2021-01-04T16:47:40.580Z] > git --version # 'git version 2.17.1' [2021-01-04T16:47:40.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:47:40.677Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:47:41.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-04T16:47:41.329Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:47:41.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-04T16:47:41.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T16:47:41.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:47:41.391Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:47:41.849Z] Checking out Revision fcccfd94587541a74c874275ff1808fa86f63ccd (master) [2021-01-04T16:47:41.912Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:47:41.953Z] > git checkout -f fcccfd94587541a74c874275ff1808fa86f63ccd # timeout=10 [2021-01-04T16:47:46.193Z] Commit message: "Merge pull request #79 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:47:47.706Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:47:48.179Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:47:48.546Z] + sudo service docker restart [2021-01-04T16:47:48.546Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:47:51.246Z] provisioning config files... [2021-01-04T16:47:51.296Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/20@tmp/config6216870489278257278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:47:51.711Z] ---> docker-login.sh [2021-01-04T16:47:51.711Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:47:52.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:52.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:52.973Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:52.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:52.973Z] [2021-01-04T16:47:52.973Z] Login Succeeded [2021-01-04T16:47:52.973Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:47:53.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:53.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:53.522Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:53.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:53.522Z] [2021-01-04T16:47:53.522Z] Login Succeeded [2021-01-04T16:47:53.522Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:47:53.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:53.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:53.796Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:53.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:53.796Z] [2021-01-04T16:47:53.796Z] Login Succeeded [2021-01-04T16:47:53.796Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:47:54.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:54.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:54.400Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:54.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:54.400Z] [2021-01-04T16:47:54.400Z] Login Succeeded [2021-01-04T16:47:54.400Z] docker.io [2021-01-04T16:47:54.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:47:55.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:47:55.272Z] Configure a credential helper to remove this warning. See [2021-01-04T16:47:55.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:47:55.272Z] [2021-01-04T16:47:55.272Z] Login Succeeded [2021-01-04T16:47:55.272Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:47:55.291Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:47:55.771Z] ========================================================= [2021-01-04T16:47:55.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T16:47:55.771Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:56.152Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-04T16:47:56.430Z] Sending build context to Docker daemon 321.5kB [2021-01-04T16:47:56.430Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:47:56.430Z] Step 2/10 : FROM ${BASE} [2021-01-04T16:47:56.430Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T16:47:56.430Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T16:47:56.430Z] a4357932f1b6: Pulling fs layer [2021-01-04T16:47:56.430Z] 18c013af1878: Pulling fs layer [2021-01-04T16:47:56.430Z] 00ac8860ef70: Pulling fs layer [2021-01-04T16:47:56.430Z] 63d7cb157983: Pulling fs layer [2021-01-04T16:47:56.430Z] b116817d02f9: Pulling fs layer [2021-01-04T16:47:56.430Z] 745a02a5169b: Pulling fs layer [2021-01-04T16:47:56.430Z] 63d7cb157983: Waiting [2021-01-04T16:47:56.430Z] b116817d02f9: Waiting [2021-01-04T16:47:56.430Z] 745a02a5169b: Waiting [2021-01-04T16:47:56.430Z] 00ac8860ef70: Waiting [2021-01-04T16:47:56.430Z] 18c013af1878: Verifying Checksum [2021-01-04T16:47:56.430Z] 18c013af1878: Download complete [2021-01-04T16:47:56.708Z] a4357932f1b6: Verifying Checksum [2021-01-04T16:47:56.708Z] a4357932f1b6: Download complete [2021-01-04T16:47:56.708Z] 63d7cb157983: Verifying Checksum [2021-01-04T16:47:56.708Z] 63d7cb157983: Download complete [2021-01-04T16:47:56.708Z] b116817d02f9: Verifying Checksum [2021-01-04T16:47:56.708Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T16:47:56.708Z] 5f621e34cdf4: Download complete [2021-01-04T16:47:57.310Z] 5f621e34cdf4: Pull complete [2021-01-04T16:47:57.917Z] a4357932f1b6: Pull complete [2021-01-04T16:47:58.526Z] 18c013af1878: Pull complete [2021-01-04T16:47:58.823Z] 745a02a5169b: Verifying Checksum [2021-01-04T16:47:58.823Z] 745a02a5169b: Download complete [2021-01-04T16:47:59.805Z] 00ac8860ef70: Verifying Checksum [2021-01-04T16:47:59.805Z] 00ac8860ef70: Download complete [2021-01-04T16:48:09.978Z] 00ac8860ef70: Pull complete [2021-01-04T16:48:10.252Z] 63d7cb157983: Pull complete [2021-01-04T16:48:10.853Z] b116817d02f9: Pull complete [2021-01-04T16:48:15.185Z] 745a02a5169b: Pull complete [2021-01-04T16:48:15.185Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T16:48:15.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T16:48:15.185Z] ---> b7e6874047d6 [2021-01-04T16:48:15.185Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:48:17.169Z] ---> Running in ff338e41da03 [2021-01-04T16:48:17.766Z] Removing intermediate container ff338e41da03 [2021-01-04T16:48:17.766Z] ---> 207896cb8f82 [2021-01-04T16:48:17.766Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:48:17.766Z] ---> Running in 798cd158fe55 [2021-01-04T16:48:18.363Z] Removing intermediate container 798cd158fe55 [2021-01-04T16:48:18.363Z] ---> bf9faa19d7a8 [2021-01-04T16:48:18.363Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-04T16:48:18.363Z] ---> Running in 92a76b7d04f3 [2021-01-04T16:48:18.638Z] Removing intermediate container 92a76b7d04f3 [2021-01-04T16:48:18.638Z] ---> 9a995e35a982 [2021-01-04T16:48:18.638Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:48:18.908Z] ---> Running in 2882141720a4 [2021-01-04T16:48:21.536Z] Removing intermediate container 2882141720a4 [2021-01-04T16:48:21.536Z] ---> 35fbc0119450 [2021-01-04T16:48:21.536Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:48:21.536Z] ---> Running in 7718a166e579 [2021-01-04T16:48:22.130Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:48:23.113Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:48:24.548Z] OK: 142 MiB in 39 packages [2021-01-04T16:48:25.533Z] Removing intermediate container 7718a166e579 [2021-01-04T16:48:25.533Z] ---> 12e202e520ae [2021-01-04T16:48:25.533Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-04T16:48:25.533Z] ---> Running in 86e5a507ee90 [2021-01-04T16:48:26.129Z] Removing intermediate container 86e5a507ee90 [2021-01-04T16:48:26.129Z] ---> c7a6ee608c3b [2021-01-04T16:48:26.129Z] Step 9/10 : COPY . . [2021-01-04T16:48:27.110Z] ---> d836d7cf3482 [2021-01-04T16:48:27.110Z] Step 10/10 : RUN go mod download [2021-01-04T16:48:27.110Z] ---> Running in 1151563e4ab5 [2021-01-04T16:48:49.315Z] Removing intermediate container 1151563e4ab5 [2021-01-04T16:48:49.315Z] ---> de016e1c587a [2021-01-04T16:48:49.315Z] Successfully built de016e1c587a [2021-01-04T16:48:49.315Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:48:49.658Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:48:49.658Z] . [Pipeline] withDockerContainer [2021-01-04T16:48:49.894Z] prd-ubuntu18.04-docker-arm64-4c-16g-18208 does not seem to be running inside a container [2021-01-04T16:48:49.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T16:48:51.388Z] $ docker top 9839159d35b1aaeef80b1cc54facb028e832c2db6cdcf2e03ac33e04b0a634b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:48:52.459Z] + go version [2021-01-04T16:48:52.459Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T16:48:52.478Z] $ docker stop --time=1 9839159d35b1aaeef80b1cc54facb028e832c2db6cdcf2e03ac33e04b0a634b7 [2021-01-04T16:48:54.446Z] $ docker rm -f 9839159d35b1aaeef80b1cc54facb028e832c2db6cdcf2e03ac33e04b0a634b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:48:55.425Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:48:55.425Z] . [Pipeline] withDockerContainer [2021-01-04T16:48:55.692Z] prd-ubuntu18.04-docker-arm64-4c-16g-18208 does not seem to be running inside a container [2021-01-04T16:48:55.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T16:48:57.322Z] $ docker top c321d1cfa0a4f2373b489d38bec6aac2dc1102db3e7b44928861338a9cfeb6c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:48:58.357Z] + make test [2021-01-04T16:48:58.357Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T16:48:59.337Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-04T16:49:32.511Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-01-04T16:49:32.511Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2021-01-04T16:49:32.511Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:49:39.254Z] gofmt -l . [2021-01-04T16:49:39.254Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:49:39.254Z] ./bin/test-attribution-txt.sh [2021-01-04T16:49:39.254Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-04T16:49:39.535Z] $ docker stop --time=1 c321d1cfa0a4f2373b489d38bec6aac2dc1102db3e7b44928861338a9cfeb6c7 [2021-01-04T16:49:41.697Z] $ docker rm -f c321d1cfa0a4f2373b489d38bec6aac2dc1102db3e7b44928861338a9cfeb6c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:49:42.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:49:42.575Z] Warning: overwriting stash ‘coverage-report’ [2021-01-04T16:49:43.262Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:49:44.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:49:44.472Z] + ls -al . [2021-01-04T16:49:44.472Z] total 132 [2021-01-04T16:49:44.472Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:49 . [2021-01-04T16:49:44.472Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:47 .. [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 4 16:47 .dockerignore [2021-01-04T16:49:44.472Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:47 .git [2021-01-04T16:49:44.472Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:47 .github [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 272 Jan 4 16:47 .gitignore [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 5082 Jan 4 16:47 Attribution.txt [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 1529 Jan 4 16:47 Dockerfile [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 1006 Jan 4 16:47 Dockerfile.build [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 4 16:47 Jenkinsfile [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 16:47 LICENSE [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 937 Jan 4 16:47 Makefile [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 12398 Jan 4 16:47 README.md [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 4 16:43 VERSION [2021-01-04T16:49:44.472Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:47 bin [2021-01-04T16:49:44.472Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:47 cmd [2021-01-04T16:49:44.472Z] -rw-r--r-- 1 jenkins jenkins 8493 Jan 4 16:49 coverage.out [2021-01-04T16:49:44.472Z] -rw-r--r-- 1 jenkins jenkins 204 Jan 4 16:49 go.mod [2021-01-04T16:49:44.472Z] -rw-r--r-- 1 jenkins jenkins 13961 Jan 4 16:49 go.sum [2021-01-04T16:49:44.472Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:47 internal [2021-01-04T16:49:44.472Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:47 profiles [2021-01-04T16:49:44.472Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 4 16:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:44.842Z] + 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=fcccfd94587541a74c874275ff1808fa86f63ccd --label arch=arm64 --label version=1.3.1-dev.2 . [2021-01-04T16:49:45.157Z] Sending build context to Docker daemon 330.8kB [2021-01-04T16:49:45.157Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:49:45.157Z] Step 2/26 : FROM ${BASE} AS builder [2021-01-04T16:49:45.157Z] ---> de016e1c587a [2021-01-04T16:49:45.157Z] Step 3/26 : ARG MAKE='make build' [2021-01-04T16:49:45.440Z] ---> Running in 1ec19cdc891b [2021-01-04T16:49:46.033Z] Removing intermediate container 1ec19cdc891b [2021-01-04T16:49:46.033Z] ---> 387c1e6a205d [2021-01-04T16:49:46.033Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T16:49:46.033Z] ---> Running in c14dcd876e7a [2021-01-04T16:49:46.647Z] Removing intermediate container c14dcd876e7a [2021-01-04T16:49:46.647Z] ---> 272c2989103f [2021-01-04T16:49:46.647Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:49:46.647Z] ---> Running in 16cc7df82a2b [2021-01-04T16:49:46.919Z] Removing intermediate container 16cc7df82a2b [2021-01-04T16:49:46.919Z] ---> 81481faa9bca [2021-01-04T16:49:46.919Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:49:47.194Z] ---> Running in 7b08d05eafe8 [2021-01-04T16:49:49.163Z] Removing intermediate container 7b08d05eafe8 [2021-01-04T16:49:49.163Z] ---> 64f665036935 [2021-01-04T16:49:49.163Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:49:49.437Z] ---> Running in 57405dcdc3ee [2021-01-04T16:49:50.415Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:49:51.386Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:49:52.356Z] OK: 142 MiB in 39 packages [2021-01-04T16:49:53.339Z] Removing intermediate container 57405dcdc3ee [2021-01-04T16:49:53.339Z] ---> ee4dedc39a04 [2021-01-04T16:49:53.339Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-01-04T16:49:53.616Z] ---> Running in efa579499d15 [2021-01-04T16:49:54.208Z] Removing intermediate container efa579499d15 [2021-01-04T16:49:54.208Z] ---> 6938aad650e6 [2021-01-04T16:49:54.208Z] Step 9/26 : COPY go.mod . [2021-01-04T16:49:54.800Z] ---> 11d4561a7a11 [2021-01-04T16:49:54.800Z] Step 10/26 : COPY Makefile . [2021-01-04T16:49:55.397Z] ---> b71bb862584c [2021-01-04T16:49:55.397Z] Step 11/26 : RUN make update [2021-01-04T16:49:55.670Z] ---> Running in 025722942ec0 [2021-01-04T16:49:56.647Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-04T16:49:58.083Z] Removing intermediate container 025722942ec0 [2021-01-04T16:49:58.083Z] ---> 612f812990b3 [2021-01-04T16:49:58.083Z] Step 12/26 : COPY . . [2021-01-04T16:49:58.675Z] ---> a57fefd07771 [2021-01-04T16:49:58.675Z] Step 13/26 : RUN ${MAKE} [2021-01-04T16:49:58.948Z] ---> Running in 1c2881b7080d [2021-01-04T16:49:59.928Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.1-dev.2" -o cmd/device-snmp-go ./cmd [2021-01-04T16:50:26.755Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-04T16:50:30.193Z] Removing intermediate container 1c2881b7080d [2021-01-04T16:50:30.193Z] ---> 1da250fa3082 [2021-01-04T16:50:30.193Z] Step 14/26 : FROM alpine:3.12 [2021-01-04T16:50:31.058Z] 3.12: Pulling from library/alpine [2021-01-04T16:50:31.058Z] 159e5727ea61: Pulling fs layer [2021-01-04T16:50:31.332Z] 159e5727ea61: Verifying Checksum [2021-01-04T16:50:31.332Z] 159e5727ea61: Download complete [2021-01-04T16:50:31.926Z] 159e5727ea61: Pull complete [2021-01-04T16:50:31.926Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:50:31.926Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:50:31.926Z] ---> afeebe901d6b [2021-01-04T16:50:31.926Z] Step 15/26 : ENV APP_PORT=49993 [2021-01-04T16:50:32.203Z] ---> Running in c1216453bdfc [2021-01-04T16:50:32.472Z] Removing intermediate container c1216453bdfc [2021-01-04T16:50:32.472Z] ---> 71e101be8661 [2021-01-04T16:50:32.472Z] Step 16/26 : EXPOSE $APP_PORT [2021-01-04T16:50:32.744Z] ---> Running in 6ee3a8b11507 [2021-01-04T16:50:33.018Z] Removing intermediate container 6ee3a8b11507 [2021-01-04T16:50:33.018Z] ---> 73c30c0ab625 [2021-01-04T16:50:33.018Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-01-04T16:50:33.289Z] ---> Running in 48653cac0915 [2021-01-04T16:50:33.883Z] Removing intermediate container 48653cac0915 [2021-01-04T16:50:33.883Z] ---> e9284f53c9ea [2021-01-04T16:50:33.883Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-01-04T16:50:33.883Z] ---> Running in ab9b2afde70b [2021-01-04T16:50:34.153Z] Removing intermediate container ab9b2afde70b [2021-01-04T16:50:34.153Z] ---> 4bcf34850f19 [2021-01-04T16:50:34.153Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-01-04T16:50:35.599Z] ---> 96827dcf2408 [2021-01-04T16:50:35.599Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-01-04T16:50:36.193Z] ---> 63ad6a382ffc [2021-01-04T16:50:36.193Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-01-04T16:50:36.790Z] ---> 131065491990 [2021-01-04T16:50:36.790Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-01-04T16:50:37.066Z] ---> Running in ff5f71e33dd5 [2021-01-04T16:50:37.661Z] Removing intermediate container ff5f71e33dd5 [2021-01-04T16:50:37.661Z] ---> bb68597412e2 [2021-01-04T16:50:37.661Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-04T16:50:37.661Z] ---> Running in 3d25244b67be [2021-01-04T16:50:38.257Z] Removing intermediate container 3d25244b67be [2021-01-04T16:50:38.257Z] ---> 4439ba2a257c [2021-01-04T16:50:38.257Z] Step 24/26 : LABEL arch=arm64 [2021-01-04T16:50:38.257Z] ---> Running in a0677e816db1 [2021-01-04T16:50:38.853Z] Removing intermediate container a0677e816db1 [2021-01-04T16:50:38.853Z] ---> a02af53af491 [2021-01-04T16:50:38.853Z] Step 25/26 : LABEL git_sha=fcccfd94587541a74c874275ff1808fa86f63ccd [2021-01-04T16:50:38.853Z] ---> Running in e3f8b7a9f756 [2021-01-04T16:50:39.448Z] Removing intermediate container e3f8b7a9f756 [2021-01-04T16:50:39.448Z] ---> e08fef879ee2 [2021-01-04T16:50:39.448Z] Step 26/26 : LABEL version=1.3.1-dev.2 [2021-01-04T16:50:39.448Z] ---> Running in e7cab428c13e [2021-01-04T16:50:40.042Z] Removing intermediate container e7cab428c13e [2021-01-04T16:50:40.042Z] ---> d611f95d318f [2021-01-04T16:50:40.042Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:50:40.042Z] Successfully built d611f95d318f [2021-01-04T16:50:40.042Z] Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:50:40.624Z] provisioning config files... [2021-01-04T16:50:40.666Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/20@tmp/config8522691673985307346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:50:41.209Z] ---> docker-login.sh [2021-01-04T16:50:41.210Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:50:41.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:50:41.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:50:41.481Z] Configure a credential helper to remove this warning. See [2021-01-04T16:50:41.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:50:41.481Z] [2021-01-04T16:50:41.481Z] Login Succeeded [2021-01-04T16:50:41.481Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:50:42.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:50:42.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:50:42.078Z] Configure a credential helper to remove this warning. See [2021-01-04T16:50:42.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:50:42.078Z] [2021-01-04T16:50:42.078Z] Login Succeeded [2021-01-04T16:50:42.078Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:50:42.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:50:42.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:50:42.671Z] Configure a credential helper to remove this warning. See [2021-01-04T16:50:42.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:50:42.671Z] [2021-01-04T16:50:42.671Z] Login Succeeded [2021-01-04T16:50:42.671Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:50:42.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:50:43.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:50:43.218Z] Configure a credential helper to remove this warning. See [2021-01-04T16:50:43.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:50:43.218Z] [2021-01-04T16:50:43.218Z] Login Succeeded [2021-01-04T16:50:43.218Z] docker.io [2021-01-04T16:50:43.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:50:44.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:50:44.083Z] Configure a credential helper to remove this warning. See [2021-01-04T16:50:44.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:50:44.083Z] [2021-01-04T16:50:44.083Z] Login Succeeded [2021-01-04T16:50:44.083Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:50:44.101Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:50:44.427Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: [2021-01-04T16:50:44.427Z] fcccfd94587541a74c874275ff1808fa86f63ccd [2021-01-04T16:50:44.427Z] latest [2021-01-04T16:50:44.427Z] 1.3.1-dev.2 [2021-01-04T16:50:44.427Z] fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2 [2021-01-04T16:50:44.427Z] master [2021-01-04T16:50:44.427Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:44.953Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:fcccfd94587541a74c874275ff1808fa86f63ccd [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:45.291Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:fcccfd94587541a74c874275ff1808fa86f63ccd [2021-01-04T16:50:45.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-04T16:50:45.291Z] d1202078162b: Preparing [2021-01-04T16:50:45.291Z] 52d96f5a4e8c: Preparing [2021-01-04T16:50:45.291Z] b0263517c53e: Preparing [2021-01-04T16:50:45.291Z] 379067d0cb53: Preparing [2021-01-04T16:50:45.564Z] 379067d0cb53: Layer already exists [2021-01-04T16:50:45.564Z] 52d96f5a4e8c: Pushed [2021-01-04T16:50:45.564Z] d1202078162b: Pushed [2021-01-04T16:50:48.166Z] b0263517c53e: Pushed [2021-01-04T16:50:48.166Z] fcccfd94587541a74c874275ff1808fa86f63ccd: digest: sha256:7741e4edd5b2d55f5fa7839fd3af4c24106e288f60280c1b834538d3bdcf1997 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:48.510Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:48.851Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2021-01-04T16:50:48.851Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-04T16:50:48.851Z] d1202078162b: Preparing [2021-01-04T16:50:48.851Z] 52d96f5a4e8c: Preparing [2021-01-04T16:50:48.851Z] b0263517c53e: Preparing [2021-01-04T16:50:48.851Z] 379067d0cb53: Preparing [2021-01-04T16:50:48.851Z] 52d96f5a4e8c: Layer already exists [2021-01-04T16:50:48.851Z] b0263517c53e: Layer already exists [2021-01-04T16:50:48.851Z] d1202078162b: Layer already exists [2021-01-04T16:50:48.851Z] 379067d0cb53: Layer already exists [2021-01-04T16:50:49.123Z] latest: digest: sha256:7741e4edd5b2d55f5fa7839fd3af4c24106e288f60280c1b834538d3bdcf1997 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:49.469Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:49.805Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.2 [2021-01-04T16:50:49.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-04T16:50:49.805Z] d1202078162b: Preparing [2021-01-04T16:50:49.805Z] 52d96f5a4e8c: Preparing [2021-01-04T16:50:49.805Z] b0263517c53e: Preparing [2021-01-04T16:50:49.805Z] 379067d0cb53: Preparing [2021-01-04T16:50:49.805Z] b0263517c53e: Layer already exists [2021-01-04T16:50:49.805Z] 379067d0cb53: Layer already exists [2021-01-04T16:50:49.805Z] d1202078162b: Layer already exists [2021-01-04T16:50:49.805Z] 52d96f5a4e8c: Layer already exists [2021-01-04T16:50:50.076Z] 1.3.1-dev.2: digest: sha256:7741e4edd5b2d55f5fa7839fd3af4c24106e288f60280c1b834538d3bdcf1997 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:50.419Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:50.754Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2 [2021-01-04T16:50:50.754Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-04T16:50:50.754Z] d1202078162b: Preparing [2021-01-04T16:50:50.754Z] 52d96f5a4e8c: Preparing [2021-01-04T16:50:50.754Z] b0263517c53e: Preparing [2021-01-04T16:50:50.754Z] 379067d0cb53: Preparing [2021-01-04T16:50:50.754Z] d1202078162b: Layer already exists [2021-01-04T16:50:50.754Z] 379067d0cb53: Layer already exists [2021-01-04T16:50:50.754Z] 52d96f5a4e8c: Layer already exists [2021-01-04T16:50:50.754Z] b0263517c53e: Layer already exists [2021-01-04T16:50:51.024Z] fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2: digest: sha256:7741e4edd5b2d55f5fa7839fd3af4c24106e288f60280c1b834538d3bdcf1997 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:51.371Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:51.709Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [2021-01-04T16:50:51.709Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-01-04T16:50:51.709Z] d1202078162b: Preparing [2021-01-04T16:50:51.709Z] 52d96f5a4e8c: Preparing [2021-01-04T16:50:51.709Z] b0263517c53e: Preparing [2021-01-04T16:50:51.709Z] 379067d0cb53: Preparing [2021-01-04T16:50:51.709Z] 379067d0cb53: Layer already exists [2021-01-04T16:50:51.709Z] 52d96f5a4e8c: Layer already exists [2021-01-04T16:50:51.709Z] d1202078162b: Layer already exists [2021-01-04T16:50:51.709Z] b0263517c53e: Layer already exists [2021-01-04T16:50:51.980Z] master: digest: sha256:7741e4edd5b2d55f5fa7839fd3af4c24106e288f60280c1b834538d3bdcf1997 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:50:52.225Z] ===================================================== [Pipeline] echo [2021-01-04T16:50:52.280Z] taggedImages: [2021-01-04T16:50:52.280Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:fcccfd94587541a74c874275ff1808fa86f63ccd [2021-01-04T16:50:52.280Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2021-01-04T16:50:52.280Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.2 [2021-01-04T16:50:52.280Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:fcccfd94587541a74c874275ff1808fa86f63ccd-1.3.1-dev.2 [2021-01-04T16:50:52.280Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-04T16:50:53.955Z] provisioning config files... [2021-01-04T16:50:53.965Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config9033917292016854781tmp [Pipeline] { [Pipeline] sh [2021-01-04T16:50:54.348Z] + set +x [2021-01-04T16:50:54.348Z] + curl -s https://codecov.io/bash [2021-01-04T16:50:54.348Z] + bash -s -- [2021-01-04T16:50:54.612Z] [2021-01-04T16:50:54.612Z] _____ _ [2021-01-04T16:50:54.612Z] / ____| | | [2021-01-04T16:50:54.612Z] | | ___ __| | ___ ___ _____ __ [2021-01-04T16:50:54.612Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-04T16:50:54.612Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-04T16:50:54.612Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-04T16:50:54.612Z] Bash-20201231-23d4836 [2021-01-04T16:50:54.612Z] [2021-01-04T16:50:54.612Z] [2021-01-04T16:50:54.612Z] ==> git version 2.24.3 found [2021-01-04T16:50:54.612Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-04T16:50:54.612Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-04T16:50:54.612Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-04T16:50:54.612Z] ==> Jenkins CI detected. [2021-01-04T16:50:54.612Z] project root: . [2021-01-04T16:50:54.612Z] --> token set from env [2021-01-04T16:50:54.612Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-04T16:50:54.612Z] ==> Running gcov in . (disable via -X gcov) [2021-01-04T16:50:54.612Z] ==> Python coveragepy not found [2021-01-04T16:50:54.612Z] ==> Searching for coverage reports in: [2021-01-04T16:50:54.612Z] + . [2021-01-04T16:50:54.612Z] -> Found 1 reports [2021-01-04T16:50:54.612Z] ==> Detecting git/mercurial file structure [2021-01-04T16:50:54.612Z] ==> Reading reports [2021-01-04T16:50:54.612Z] + ./coverage.out bytes=8493 [2021-01-04T16:50:54.876Z] ==> Appending adjustments [2021-01-04T16:50:54.876Z] https://docs.codecov.io/docs/fixing-reports [2021-01-04T16:50:54.876Z] + Found adjustments [2021-01-04T16:50:54.876Z] ==> Gzipping contents [2021-01-04T16:50:54.876Z] 4.0K /tmp/codecov.gyBiEY.gz [2021-01-04T16:50:54.876Z] ==> Uploading reports [2021-01-04T16:50:54.876Z] url: https://codecov.io [2021-01-04T16:50:54.876Z] query: branch=master&commit=fcccfd94587541a74c874275ff1808fa86f63ccd&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-04T16:50:54.876Z] -> Pinging Codecov [2021-01-04T16:50:54.876Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=fcccfd94587541a74c874275ff1808fa86f63ccd&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-04T16:50:55.138Z] -> Uploading to [2021-01-04T16:50:55.138Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-04/6C56EA5C29638FB4528AC87E60AF5AE0/fcccfd94587541a74c874275ff1808fa86f63ccd/69583b89-8590-4ce9-abc9-8abece495622.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T165055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b11e62b5843b3e9c2192e8410e3b5962d231f430ee3c5484a174e2e79e02a53d [2021-01-04T16:50:55.138Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T16:50:55.138Z] Dload Upload Total Spent Left Speed [2021-01-04T16:50:55.713Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 2650 --:--:-- --:--:-- --:--:-- 2650 100 1447 0 0 100 1447 0 2649 --:--:-- --:--:-- --:--:-- 2650 [2021-01-04T16:50:55.713Z] -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/fcccfd94587541a74c874275ff1808fa86f63ccd [Pipeline] } [2021-01-04T16:50:55.723Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-04T16:50:56.315Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-04T16:50:56.368Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:56.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:50:56.721Z] [2021-01-04T16:50:56.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:50:57.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:50:57.090Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-04T16:50:57.090Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:50:57.090Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:50:57.090Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:50:57.090Z] 0eba1c9be4d2: Pulling fs layer [2021-01-04T16:50:57.090Z] 0d57e429df01: Pulling fs layer [2021-01-04T16:50:57.090Z] 4e4be7b47b0d: Pulling fs layer [2021-01-04T16:50:57.090Z] e1f770b5df2f: Pulling fs layer [2021-01-04T16:50:57.090Z] 85a0685a4137: Pulling fs layer [2021-01-04T16:50:57.090Z] 0eba1c9be4d2: Waiting [2021-01-04T16:50:57.090Z] 4e4be7b47b0d: Waiting [2021-01-04T16:50:57.090Z] 0d57e429df01: Waiting [2021-01-04T16:50:57.090Z] e1f770b5df2f: Waiting [2021-01-04T16:50:57.090Z] 85a0685a4137: Waiting [2021-01-04T16:50:57.090Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:50:57.090Z] de9db76c5a1d: Download complete [2021-01-04T16:50:57.090Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T16:50:57.090Z] 0ef7d3d256c8: Download complete [2021-01-04T16:50:57.090Z] 0d57e429df01: Verifying Checksum [2021-01-04T16:50:57.090Z] 0d57e429df01: Download complete [2021-01-04T16:50:57.090Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T16:50:57.090Z] 188c0c94c7c5: Download complete [2021-01-04T16:50:57.090Z] 4e4be7b47b0d: Verifying Checksum [2021-01-04T16:50:57.090Z] 4e4be7b47b0d: Download complete [2021-01-04T16:50:57.667Z] 188c0c94c7c5: Pull complete [2021-01-04T16:50:57.667Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:50:57.930Z] de9db76c5a1d: Pull complete [2021-01-04T16:50:58.513Z] e1f770b5df2f: Verifying Checksum [2021-01-04T16:50:58.513Z] e1f770b5df2f: Download complete [2021-01-04T16:50:59.923Z] 0eba1c9be4d2: Download complete [2021-01-04T16:51:01.345Z] 85a0685a4137: Verifying Checksum [2021-01-04T16:51:01.345Z] 85a0685a4137: Download complete [2021-01-04T16:51:05.594Z] 0eba1c9be4d2: Pull complete [2021-01-04T16:51:05.857Z] 0d57e429df01: Pull complete [2021-01-04T16:51:05.857Z] 4e4be7b47b0d: Pull complete [2021-01-04T16:51:07.784Z] e1f770b5df2f: Pull complete [2021-01-04T16:51:15.981Z] 85a0685a4137: Pull complete [2021-01-04T16:51:15.981Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-04T16:51:15.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:51:15.981Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-04T16:51:16.191Z] prd-centos7-docker-4c-2g-18200 does not seem to be running inside a container [2021-01-04T16:51:16.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-04T16:51:17.310Z] $ docker top 6af7729374221e1dc69df95c8eff13629d704d6c0c48e4884d5cae0ff05114a0 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-04T16:51:17.543Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-04T16:51:17.838Z] + set -o pipefail [2021-01-04T16:51:17.838Z] + snyk monitor '--org=edgex-jenkins' [2021-01-04T16:51:24.476Z] [2021-01-04T16:51:24.476Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2021-01-04T16:51:24.476Z] [2021-01-04T16:51:24.476Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/8dcdb15e-f116-41d3-a71f-bbba4c204322 [2021-01-04T16:51:24.476Z] [2021-01-04T16:51:24.476Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-04T16:51:24.477Z] [2021-01-04T16:51:24.477Z] [Pipeline] } [2021-01-04T16:51:24.499Z] $ docker stop --time=1 6af7729374221e1dc69df95c8eff13629d704d6c0c48e4884d5cae0ff05114a0 [2021-01-04T16:51:27.199Z] $ docker rm -f 6af7729374221e1dc69df95c8eff13629d704d6c0c48e4884d5cae0ff05114a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-04T16:51:29.159Z] + git log --format=format:%s -1 fcccfd94587541a74c874275ff1808fa86f63ccd [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:51:29.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:51:29.475Z] . [Pipeline] withDockerContainer [2021-01-04T16:51:29.594Z] prd-centos7-docker-4c-2g-18200 does not seem to be running inside a container [2021-01-04T16:51:29.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:51:30.407Z] $ docker top 158a0d1f8e6259c168598b9d2d9cb6b78c84c2165c21958db0c4891b8bec4191 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:51:30.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:51:30.711Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:51:30.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:51:30.946Z] $ docker exec 158a0d1f8e6259c168598b9d2d9cb6b78c84c2165c21958db0c4891b8bec4191 ssh-agent [2021-01-04T16:51:31.115Z] SSH_AUTH_SOCK=/tmp/ssh-1GRn4d5jPegQ/agent.11 [2021-01-04T16:51:31.115Z] SSH_AGENT_PID=17 [2021-01-04T16:51:31.122Z] Running ssh-add (command line suppressed) [2021-01-04T16:51:31.256Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4384925129849104871.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4384925129849104871.key) [2021-01-04T16:51:31.314Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:51:31.649Z] + git semver tag [2021-01-04T16:51:31.649Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:51:31.649Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-01-04T16:51:31.649Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-01-04T16:51:31.649Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:51:31.649Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:51:31.649Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:51:31.649Z] # $SEMVER_BRANCH = master [2021-01-04T16:51:31.649Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-01-04T16:51:31.649Z] # fcccfd94587541a74c874275ff1808fa86f63ccd HEAD [2021-01-04T16:51:31.649Z] # -> Force: false [2021-01-04T16:51:31.649Z] # e1accdbdb79382bc5c09df2b21cab89c8f2df294 refs/tags/v1.3.1-dev.2 [Pipeline] } [2021-01-04T16:51:31.663Z] $ docker exec --env ******** --env ******** 158a0d1f8e6259c168598b9d2d9cb6b78c84c2165c21958db0c4891b8bec4191 ssh-agent -k [2021-01-04T16:51:31.782Z] unset SSH_AUTH_SOCK; [2021-01-04T16:51:31.782Z] unset SSH_AGENT_PID; [2021-01-04T16:51:31.782Z] echo Agent pid 17 killed; [2021-01-04T16:51:31.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:51:32.311Z] + git semver [Pipeline] } [2021-01-04T16:51:32.330Z] $ docker stop --time=1 158a0d1f8e6259c168598b9d2d9cb6b78c84c2165c21958db0c4891b8bec4191 [2021-01-04T16:51:33.707Z] $ docker rm -f 158a0d1f8e6259c168598b9d2d9cb6b78c84c2165c21958db0c4891b8bec4191 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:51:34.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:51:34.360Z] [2021-01-04T16:51:34.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:51:34.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:51:34.712Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-04T16:51:34.712Z] ab5ef0e58194: Pulling fs layer [2021-01-04T16:51:34.712Z] 9712f1f96733: Pulling fs layer [2021-01-04T16:51:34.712Z] 63f879dbbcfc: Pulling fs layer [2021-01-04T16:51:34.712Z] 0d9ebad4ef96: Pulling fs layer [2021-01-04T16:51:34.712Z] e9a5061849ea: Pulling fs layer [2021-01-04T16:51:34.712Z] d747dcd14b5f: Pulling fs layer [2021-01-04T16:51:34.712Z] 2de7ff778b66: Pulling fs layer [2021-01-04T16:51:34.712Z] e9a5061849ea: Waiting [2021-01-04T16:51:34.712Z] d747dcd14b5f: Waiting [2021-01-04T16:51:34.712Z] 2de7ff778b66: Waiting [2021-01-04T16:51:34.712Z] 0d9ebad4ef96: Waiting [2021-01-04T16:51:34.712Z] 9712f1f96733: Verifying Checksum [2021-01-04T16:51:34.712Z] 9712f1f96733: Download complete [2021-01-04T16:51:36.105Z] 63f879dbbcfc: Verifying Checksum [2021-01-04T16:51:36.105Z] 63f879dbbcfc: Download complete [2021-01-04T16:51:36.377Z] e9a5061849ea: Verifying Checksum [2021-01-04T16:51:36.377Z] e9a5061849ea: Download complete [2021-01-04T16:51:36.377Z] d747dcd14b5f: Verifying Checksum [2021-01-04T16:51:36.377Z] d747dcd14b5f: Download complete [2021-01-04T16:51:36.648Z] 2de7ff778b66: Verifying Checksum [2021-01-04T16:51:37.236Z] 0d9ebad4ef96: Verifying Checksum [2021-01-04T16:51:37.236Z] 0d9ebad4ef96: Download complete [2021-01-04T16:51:37.236Z] ab5ef0e58194: Verifying Checksum [2021-01-04T16:51:37.236Z] ab5ef0e58194: Download complete [2021-01-04T16:51:41.475Z] ab5ef0e58194: Pull complete [2021-01-04T16:51:41.475Z] 9712f1f96733: Pull complete [2021-01-04T16:51:44.184Z] 63f879dbbcfc: Pull complete [2021-01-04T16:51:50.835Z] 0d9ebad4ef96: Pull complete [2021-01-04T16:51:52.228Z] e9a5061849ea: Pull complete [2021-01-04T16:51:52.228Z] d747dcd14b5f: Pull complete [2021-01-04T16:51:54.789Z] 2de7ff778b66: Pull complete [2021-01-04T16:51:54.789Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-04T16:51:54.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:51:54.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-04T16:51:54.986Z] prd-centos7-docker-4c-2g-18200 does not seem to be running inside a container [2021-01-04T16:51:55.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-04T16:51:59.335Z] $ docker top 94d309d9a7ca765498d8dec0fda7e5025c2436e3590477d81e2c46fa4b980611 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:51:59.679Z] provisioning config files... [2021-01-04T16:51:59.692Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1922371313873082661tmp [2021-01-04T16:51:59.710Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2675988422032554203tmp [2021-01-04T16:51:59.726Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7266499497074103636tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:51:59.777Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:00.078Z] ---> sigul-configuration.sh [2021-01-04T16:52:00.078Z] gpg: directory `/root/.gnupg' created [2021-01-04T16:52:00.078Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-04T16:52:00.078Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-04T16:52:00.078Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-04T16:52:00.078Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-04T16:52:00.078Z] gpg: CAST5 encrypted data [2021-01-04T16:52:00.340Z] gpg: encrypted with 1 passphrase [2021-01-04T16:52:00.340Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-04T16:52:00.642Z] + mkdir /home/jenkins [2021-01-04T16:52:00.642Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-04T16:52:00.941Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-04T16:52:00.954Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:01.257Z] ---> sigul-install.sh [2021-01-04T16:52:09.428Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-04T16:52:09.733Z] + git tag --list [2021-01-04T16:52:09.733Z] 1.0.0 [2021-01-04T16:52:09.733Z] v0.0.0 [2021-01-04T16:52:09.733Z] v1.1.0 [2021-01-04T16:52:09.733Z] v1.1.1 [2021-01-04T16:52:09.733Z] v1.2.1 [2021-01-04T16:52:09.733Z] v1.2.2 [2021-01-04T16:52:09.733Z] v1.2.2-dev.1 [2021-01-04T16:52:09.733Z] v1.2.2-dev.2 [2021-01-04T16:52:09.733Z] v1.2.3-dev.1 [2021-01-04T16:52:09.733Z] v1.2.3-dev.2 [2021-01-04T16:52:09.733Z] v1.2.3-dev.3 [2021-01-04T16:52:09.733Z] v1.2.3-dev.4 [2021-01-04T16:52:09.733Z] v1.2.3-dev.5 [2021-01-04T16:52:09.733Z] v1.2.3-dev.6 [2021-01-04T16:52:09.733Z] v1.3.0 [2021-01-04T16:52:09.733Z] v1.3.1-dev.1 [2021-01-04T16:52:09.733Z] v1.3.1-dev.2 [Pipeline] sh [2021-01-04T16:52:10.034Z] + lftools sign git-tag v1.3.1-dev.2 [2021-01-04T16:52:11.432Z] Signing Git tag with Sigul... [2021-01-04T16:52:11.432Z] Signing v1.3.1-dev.2 [Pipeline] echo [2021-01-04T16:52:12.398Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:12.705Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-04T16:52:12.717Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-04T16:52:12.819Z] $ docker stop --time=1 94d309d9a7ca765498d8dec0fda7e5025c2436e3590477d81e2c46fa4b980611 [2021-01-04T16:52:14.899Z] $ docker rm -f 94d309d9a7ca765498d8dec0fda7e5025c2436e3590477d81e2c46fa4b980611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:15.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:52:15.917Z] . [Pipeline] withDockerContainer [2021-01-04T16:52:16.027Z] prd-centos7-docker-4c-2g-18200 does not seem to be running inside a container [2021-01-04T16:52:16.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:52:16.850Z] $ docker top 85d16f5879483e9499ea8b2c0a9810a8d8c7d0605a71c2f8522b8f98c764a45e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:52:17.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:52:17.231Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:52:17.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:52:17.473Z] $ docker exec 85d16f5879483e9499ea8b2c0a9810a8d8c7d0605a71c2f8522b8f98c764a45e ssh-agent [2021-01-04T16:52:17.654Z] SSH_AUTH_SOCK=/tmp/ssh-VBoV2pAAbq4L/agent.11 [2021-01-04T16:52:17.654Z] SSH_AGENT_PID=16 [2021-01-04T16:52:17.663Z] Running ssh-add (command line suppressed) [2021-01-04T16:52:17.800Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2776367382358794312.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2776367382358794312.key) [2021-01-04T16:52:17.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:52:18.267Z] + git semver bump pre [2021-01-04T16:52:18.267Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:52:18.267Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-01-04T16:52:18.267Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-01-04T16:52:18.267Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:52:18.267Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:52:18.267Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:52:18.267Z] # $SEMVER_BRANCH = master [2021-01-04T16:52:18.267Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-01-04T16:52:18.267Z] 1.3.1-dev.3 [Pipeline] } [2021-01-04T16:52:18.282Z] $ docker exec --env ******** --env ******** 85d16f5879483e9499ea8b2c0a9810a8d8c7d0605a71c2f8522b8f98c764a45e ssh-agent -k [2021-01-04T16:52:18.419Z] unset SSH_AUTH_SOCK; [2021-01-04T16:52:18.420Z] unset SSH_AGENT_PID; [2021-01-04T16:52:18.421Z] echo Agent pid 16 killed; [2021-01-04T16:52:18.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:52:18.996Z] + git semver [Pipeline] } [2021-01-04T16:52:19.017Z] $ docker stop --time=1 85d16f5879483e9499ea8b2c0a9810a8d8c7d0605a71c2f8522b8f98c764a45e [2021-01-04T16:52:20.409Z] $ docker rm -f 85d16f5879483e9499ea8b2c0a9810a8d8c7d0605a71c2f8522b8f98c764a45e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:20.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:52:20.956Z] . [Pipeline] withDockerContainer [2021-01-04T16:52:21.060Z] prd-centos7-docker-4c-2g-18200 does not seem to be running inside a container [2021-01-04T16:52:21.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:52:21.958Z] $ docker top a8522518be3b1dd93f97cf993eb95a7d4817a7fe2d1a37c6b5d03ff86e87a8e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:52:22.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:52:22.321Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:52:22.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:52:22.546Z] $ docker exec a8522518be3b1dd93f97cf993eb95a7d4817a7fe2d1a37c6b5d03ff86e87a8e2 ssh-agent [2021-01-04T16:52:22.737Z] SSH_AUTH_SOCK=/tmp/ssh-LMF5R5Ogm0gb/agent.12 [2021-01-04T16:52:22.737Z] SSH_AGENT_PID=17 [2021-01-04T16:52:22.746Z] Running ssh-add (command line suppressed) [2021-01-04T16:52:22.880Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6505889171164246933.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6505889171164246933.key) [2021-01-04T16:52:22.938Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:52:23.272Z] + git semver push [2021-01-04T16:52:23.272Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:52:23.272Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-01-04T16:52:23.272Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-01-04T16:52:23.272Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:52:23.272Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:52:23.272Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:52:23.272Z] # $SEMVER_BRANCH = master [2021-01-04T16:52:23.272Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-01-04T16:52:29.914Z] $ docker exec --env ******** --env ******** a8522518be3b1dd93f97cf993eb95a7d4817a7fe2d1a37c6b5d03ff86e87a8e2 ssh-agent -k [2021-01-04T16:52:30.050Z] unset SSH_AUTH_SOCK; [2021-01-04T16:52:30.050Z] unset SSH_AGENT_PID; [2021-01-04T16:52:30.050Z] echo Agent pid 17 killed; [2021-01-04T16:52:30.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:52:30.649Z] + git semver [Pipeline] } [2021-01-04T16:52:30.675Z] $ docker stop --time=1 a8522518be3b1dd93f97cf993eb95a7d4817a7fe2d1a37c6b5d03ff86e87a8e2 [2021-01-04T16:52:32.106Z] $ docker rm -f a8522518be3b1dd93f97cf993eb95a7d4817a7fe2d1a37c6b5d03ff86e87a8e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:33.794Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:34.362Z] ---> package-listing.sh [2021-01-04T16:52:34.362Z] ++ facter osfamily [2021-01-04T16:52:34.362Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T16:52:34.362Z] + OS_FAMILY=redhat [2021-01-04T16:52:34.362Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2021-01-04T16:52:34.362Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T16:52:34.362Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T16:52:34.362Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T16:52:34.362Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T16:52:34.362Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-01-04T16:52:34.362Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T16:52:34.362Z] + case "${OS_FAMILY}" in [2021-01-04T16:52:34.362Z] + rpm -qa [2021-01-04T16:52:34.362Z] + sort [2021-01-04T16:52:39.683Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T16:52:39.683Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T16:52:39.683Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T16:52:39.683Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-01-04T16:52:39.683Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2021-01-04T16:52:39.683Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo [2021-01-04T16:52:39.697Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T16:52:39.992Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:40.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:52:40.299Z] [2021-01-04T16:52:40.299Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:40.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:52:40.686Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T16:52:40.686Z] df20fa9351a1: Pulling fs layer [2021-01-04T16:52:40.686Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T16:52:40.686Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T16:52:40.686Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T16:52:40.686Z] 93b61091891f: Pulling fs layer [2021-01-04T16:52:40.686Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T16:52:40.686Z] 5e14af77c1be: Pulling fs layer [2021-01-04T16:52:40.686Z] 01666e4c0597: Pulling fs layer [2021-01-04T16:52:40.686Z] aa168da1d23b: Pulling fs layer [2021-01-04T16:52:40.686Z] 93b61091891f: Waiting [2021-01-04T16:52:40.686Z] 93b9cdb0e59b: Waiting [2021-01-04T16:52:40.686Z] 46f8f816bc3b: Waiting [2021-01-04T16:52:40.686Z] 5e14af77c1be: Waiting [2021-01-04T16:52:40.686Z] 01666e4c0597: Waiting [2021-01-04T16:52:40.686Z] aa168da1d23b: Waiting [2021-01-04T16:52:40.686Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T16:52:40.686Z] 36b3adc4ff6f: Download complete [2021-01-04T16:52:40.686Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T16:52:40.686Z] 46f8f816bc3b: Download complete [2021-01-04T16:52:40.686Z] df20fa9351a1: Verifying Checksum [2021-01-04T16:52:40.686Z] df20fa9351a1: Download complete [2021-01-04T16:52:40.686Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T16:52:40.686Z] 93b9cdb0e59b: Download complete [2021-01-04T16:52:40.956Z] 93b61091891f: Download complete [2021-01-04T16:52:40.956Z] 5e14af77c1be: Verifying Checksum [2021-01-04T16:52:40.956Z] 5e14af77c1be: Download complete [2021-01-04T16:52:40.956Z] 01666e4c0597: Download complete [2021-01-04T16:52:40.956Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T16:52:40.956Z] 8ad3a11d3b57: Download complete [2021-01-04T16:52:41.226Z] df20fa9351a1: Pull complete [2021-01-04T16:52:41.489Z] 36b3adc4ff6f: Pull complete [2021-01-04T16:52:42.886Z] aa168da1d23b: Verifying Checksum [2021-01-04T16:52:42.886Z] aa168da1d23b: Download complete [2021-01-04T16:52:43.151Z] 8ad3a11d3b57: Pull complete [2021-01-04T16:52:43.413Z] 46f8f816bc3b: Pull complete [2021-01-04T16:52:43.995Z] 93b61091891f: Pull complete [2021-01-04T16:52:43.995Z] 93b9cdb0e59b: Pull complete [2021-01-04T16:52:43.995Z] 5e14af77c1be: Pull complete [2021-01-04T16:52:44.263Z] 01666e4c0597: Pull complete [2021-01-04T16:52:50.931Z] aa168da1d23b: Pull complete [2021-01-04T16:52:50.931Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T16:52:50.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:52:50.931Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T16:52:51.082Z] prd-centos7-docker-4c-2g-18200 does not seem to be running inside a container [2021-01-04T16:52:51.137Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T16:52:54.227Z] $ docker top 91fc7aec9c8f74fb45bed520ae0a56a30ddb7ecf528d5065b22fcfac26da5f5e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:52:54.756Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T16:52:55.057Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T16:52:55.358Z] + ls /var/log/sa-host [2021-01-04T16:52:55.358Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T16:52:55.358Z] file_magic: OK [2021-01-04T16:52:55.358Z] HZ: Using current value: 100 [2021-01-04T16:52:55.358Z] file_header: OK [2021-01-04T16:52:55.359Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-04T16:52:55.359Z] Statistics: [2021-01-04T16:52:55.359Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T16:52:55.359Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T16:52:55.359Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T16:52:55.359Z] file_magic: OK [2021-01-04T16:52:55.359Z] HZ: Using current value: 100 [2021-01-04T16:52:55.359Z] file_header: OK [2021-01-04T16:52:55.359Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-04T16:52:55.359Z] Statistics: [2021-01-04T16:52:55.359Z] Hnuu...uuuununununu... [2021-01-04T16:52:55.359Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:52:55.973Z] provisioning config files... [2021-01-04T16:52:55.992Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3378034234129219896tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:52:56.063Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:56.362Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T16:52:56.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T16:52:56.464Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:56.762Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T16:52:56.775Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:57.075Z] ---> sudo-logs.sh [2021-01-04T16:52:57.075Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T16:52:57.086Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:57.381Z] ---> job-cost.sh [2021-01-04T16:52:57.381Z] lf-activate-venv: SKIPPING [2021-01-04T16:52:57.381Z] INFO: No Stack... [2021-01-04T16:52:58.327Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T16:52:58.905Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T16:52:58.920Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:59.217Z] ---> logs-deploy.sh [2021-01-04T16:52:59.217Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/20 [2021-01-04T16:52:59.217Z] INFO: archiving workspace using pattern(s): [2021-01-04T16:53:01.138Z] Archives upload complete. [2021-01-04T16:53:01.402Z] INFO: archiving logs to Nexus