Pull request #98 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 65e5e5341296ca5fc3171d58150b9066a6c9a0b2+80fc4d6fa8e57088abf890f3ca65168d4dd41549 (2f13c1f1bad86f51f898512f1e71be589944dae8) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh891146338903490634.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4981167196428918906.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-98/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-98/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6962332794988448259.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-98/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3118246120222209710.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8627788173841720586.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-98/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-98/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6104086382710019211.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15407 in /w/workspace/dgexfoundry_device-snmp-go_PR-98 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-98 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/jenkins-gitclient-ssh1060098085253365807.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/jenkins-gitclient-ssh4972419337535393006.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 Merge succeeded, producing 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 Checking out Revision 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 (PR-98) > git config core.sparsecheckout # timeout=10 > git checkout -f 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/jenkins-gitclient-ssh4485006020961838662.key > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 # timeout=10 Commit message: "refactor: Update to assign and uses new Port Assignments" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T20:33:13.292Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T20:33:13.470Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T20:33:13.573Z] ========================================================= [2021-05-20T20:33:13.573Z] EdgeX Global Pipelines Version Info [2021-05-20T20:33:13.573Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:33:15.115Z] ------------------- [2021-05-20T20:33:15.115Z] stable info: [2021-05-20T20:33:15.115Z] ------------------- [2021-05-20T20:33:15.115Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T20:33:15.115Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T20:33:15.115Z] Message: update stable to v1.0.192 [2021-05-20T20:33:15.690Z] ------------------- [2021-05-20T20:33:15.691Z] experimental info: [2021-05-20T20:33:15.691Z] ------------------- [2021-05-20T20:33:15.691Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T20:33:15.691Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T20:33:15.691Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T20:33:15.936Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-20T20:33:16.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-20T20:33:16.066Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T20:33:16.123Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T20:33:16.191Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T20:33:16.250Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T20:33:16.317Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T20:33:16.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T20:33:16.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-20T20:33:16.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T20:33:16.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T20:33:16.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-20T20:33:16.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T20:33:16.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T20:33:16.790Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T20:33:16.875Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T20:33:16.930Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T20:33:16.983Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T20:33:17.053Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T20:33:17.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T20:33:17.166Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-20T20:33:17.221Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-20T20:33:17.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T20:33:17.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T20:33:17.407Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T20:33:17.468Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T20:33:17.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-98 [Pipeline] echo [2021-05-20T20:33:17.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-98 [Pipeline] echo [2021-05-20T20:33:17.635Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-98 [Pipeline] echo [2021-05-20T20:33:17.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [Pipeline] echo [2021-05-20T20:33:17.752Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65e5e53 [Pipeline] echo [2021-05-20T20:33:17.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T20:33:17.960Z] provisioning config files... [2021-05-20T20:33:17.977Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/config326773103974675292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:33:18.365Z] ---> docker-login.sh [2021-05-20T20:33:18.365Z] nexus3.edgexfoundry.org:10001 [2021-05-20T20:33:18.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:33:18.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:33:18.888Z] Configure a credential helper to remove this warning. See [2021-05-20T20:33:18.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:33:18.888Z] [2021-05-20T20:33:18.888Z] Login Succeeded [2021-05-20T20:33:18.888Z] nexus3.edgexfoundry.org:10002 [2021-05-20T20:33:18.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:33:18.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:33:18.888Z] Configure a credential helper to remove this warning. See [2021-05-20T20:33:18.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:33:18.888Z] [2021-05-20T20:33:18.888Z] Login Succeeded [2021-05-20T20:33:18.888Z] nexus3.edgexfoundry.org:10003 [2021-05-20T20:33:18.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:33:19.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:33:19.151Z] Configure a credential helper to remove this warning. See [2021-05-20T20:33:19.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:33:19.151Z] [2021-05-20T20:33:19.151Z] Login Succeeded [2021-05-20T20:33:19.151Z] nexus3.edgexfoundry.org:10004 [2021-05-20T20:33:19.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:33:19.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:33:19.151Z] Configure a credential helper to remove this warning. See [2021-05-20T20:33:19.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:33:19.151Z] [2021-05-20T20:33:19.151Z] Login Succeeded [2021-05-20T20:33:19.151Z] docker.io [2021-05-20T20:33:19.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:33:19.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:33:19.417Z] Configure a credential helper to remove this warning. See [2021-05-20T20:33:19.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:33:19.417Z] [2021-05-20T20:33:19.417Z] Login Succeeded [2021-05-20T20:33:19.427Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T20:33:19.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T20:33:20.234Z] + git log --format=format:%s -1 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [Pipeline] echo [2021-05-20T20:33:20.292Z] GIT_COMMIT: 65e5e5341296ca5fc3171d58150b9066a6c9a0b2, Commit Message: refactor: Update to assign and uses new Port Assignments [Pipeline] echo [2021-05-20T20:33:20.332Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:33:20.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T20:33:20.971Z] [2021-05-20T20:33:20.971Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:33:21.326Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T20:33:21.326Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T20:33:21.326Z] 31603596830f: Pulling fs layer [2021-05-20T20:33:21.326Z] 54011a49482f: Pulling fs layer [2021-05-20T20:33:21.326Z] a6820b24f6d8: Pulling fs layer [2021-05-20T20:33:21.326Z] f581987b2513: Pulling fs layer [2021-05-20T20:33:21.326Z] f581987b2513: Waiting [2021-05-20T20:33:21.326Z] 54011a49482f: Verifying Checksum [2021-05-20T20:33:21.326Z] 54011a49482f: Download complete [2021-05-20T20:33:21.588Z] 31603596830f: Verifying Checksum [2021-05-20T20:33:21.588Z] 31603596830f: Download complete [2021-05-20T20:33:21.588Z] f581987b2513: Verifying Checksum [2021-05-20T20:33:21.588Z] f581987b2513: Download complete [2021-05-20T20:33:21.588Z] a6820b24f6d8: Verifying Checksum [2021-05-20T20:33:21.588Z] a6820b24f6d8: Download complete [2021-05-20T20:33:21.588Z] 31603596830f: Pull complete [2021-05-20T20:33:21.857Z] 54011a49482f: Pull complete [2021-05-20T20:33:22.433Z] a6820b24f6d8: Pull complete [2021-05-20T20:33:22.695Z] f581987b2513: Pull complete [2021-05-20T20:33:22.695Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T20:33:22.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T20:33:22.695Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T20:33:22.792Z] prd-centos7-docker-4c-2g-15407 does not seem to be running inside a container [2021-05-20T20:33:22.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-98 -v /w/workspace/dgexfoundry_device-snmp-go_PR-98:/w/workspace/dgexfoundry_device-snmp-go_PR-98:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T20:33:23.867Z] $ docker top 0584055c457a833b26cde105536fbf476d7a2afe2e0b855576571b523ebbb8d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T20:33:24.100Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T20:33:24.100Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T20:33:24.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T20:33:24.201Z] $ docker exec 0584055c457a833b26cde105536fbf476d7a2afe2e0b855576571b523ebbb8d7 ssh-agent [2021-05-20T20:33:24.303Z] SSH_AUTH_SOCK=/tmp/ssh-HcTCPkCkXV4X/agent.15 [2021-05-20T20:33:24.303Z] SSH_AGENT_PID=22 [2021-05-20T20:33:24.310Z] Running ssh-add (command line suppressed) [2021-05-20T20:33:24.407Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/private_key_3493382716576101255.key (/w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/private_key_3493382716576101255.key) [2021-05-20T20:33:24.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T20:33:24.766Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T20:33:24.786Z] $ docker exec --env ******** --env ******** 0584055c457a833b26cde105536fbf476d7a2afe2e0b855576571b523ebbb8d7 ssh-agent -k [2021-05-20T20:33:24.884Z] unset SSH_AUTH_SOCK; [2021-05-20T20:33:24.884Z] unset SSH_AGENT_PID; [2021-05-20T20:33:24.884Z] echo Agent pid 22 killed; [2021-05-20T20:33:24.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T20:33:24.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T20:33:24.988Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T20:33:25.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T20:33:25.102Z] $ docker exec 0584055c457a833b26cde105536fbf476d7a2afe2e0b855576571b523ebbb8d7 ssh-agent [2021-05-20T20:33:25.194Z] SSH_AUTH_SOCK=/tmp/ssh-hZgxRV9qWVDj/agent.55 [2021-05-20T20:33:25.194Z] SSH_AGENT_PID=61 [2021-05-20T20:33:25.200Z] Running ssh-add (command line suppressed) [2021-05-20T20:33:25.292Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/private_key_6871651753135831494.key (/w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/private_key_6871651753135831494.key) [2021-05-20T20:33:25.308Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T20:33:25.660Z] + git semver init [2021-05-20T20:33:25.660Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T20:33:25.660Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-98/.git [2021-05-20T20:33:25.660Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-98 [2021-05-20T20:33:25.660Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T20:33:25.660Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T20:33:25.660Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T20:33:25.660Z] # $SEMVER_BRANCH = PR-98 [2021-05-20T20:33:25.660Z] # $SEMVER_TEMP = /tmp/semver-831367701 [2021-05-20T20:33:25.660Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-20T20:33:25.924Z] # '/tmp/semver-831367701' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-98/.semver' [2021-05-20T20:33:25.924Z] # -> Force: false [2021-05-20T20:33:25.924Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-98/.semver [Pipeline] } [2021-05-20T20:33:25.941Z] $ docker exec --env ******** --env ******** 0584055c457a833b26cde105536fbf476d7a2afe2e0b855576571b523ebbb8d7 ssh-agent -k [2021-05-20T20:33:26.042Z] unset SSH_AUTH_SOCK; [2021-05-20T20:33:26.042Z] unset SSH_AGENT_PID; [2021-05-20T20:33:26.042Z] echo Agent pid 61 killed; [2021-05-20T20:33:26.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T20:33:26.496Z] + git semver [Pipeline] } [2021-05-20T20:33:26.525Z] $ docker stop --time=1 0584055c457a833b26cde105536fbf476d7a2afe2e0b855576571b523ebbb8d7 [2021-05-20T20:33:27.740Z] $ docker rm -f 0584055c457a833b26cde105536fbf476d7a2afe2e0b855576571b523ebbb8d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T20:33:28.158Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T20:33:28.485Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T20:33:28.511Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-20T20:33:44.227Z] Still waiting to schedule task [2021-05-20T20:33:44.228Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-20T20:33:44.251Z] Still waiting to schedule task [2021-05-20T20:33:44.251Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15406’ [2021-05-20T20:36:09.082Z] Running on prd-centos7-docker-4c-2g-15408 in /w/workspace/dgexfoundry_device-snmp-go_PR-98 [Pipeline] { [Pipeline] ws [2021-05-20T20:36:09.136Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-20T20:36:09.290Z] Selected Git installation does not exist. Using Default [2021-05-20T20:36:09.291Z] The recommended git tool is: NONE [2021-05-20T20:36:11.551Z] using credential edgex-jenkins-ssh [2021-05-20T20:36:11.569Z] Cloning the remote Git repository [2021-05-20T20:36:11.226Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T20:36:11.297Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-20T20:36:11.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T20:36:11.351Z] > git --version # timeout=10 [2021-05-20T20:36:11.356Z] > git --version # 'git version 2.24.4' [2021-05-20T20:36:11.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T20:36:11.384Z] [INFO] Currently running in a labeled security context [2021-05-20T20:36:11.384Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T20:36:11.384Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh2125777637907189717.key [2021-05-20T20:36:11.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T20:36:11.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T20:36:12.006Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T20:36:12.019Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T20:36:12.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T20:36:12.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T20:36:12.036Z] [INFO] Currently running in a labeled security context [2021-05-20T20:36:12.036Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T20:36:12.036Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh7209752399591413600.key [2021-05-20T20:36:12.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T20:36:12.761Z] Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [2021-05-20T20:36:12.848Z] Merge succeeded, producing 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [2021-05-20T20:36:12.849Z] Checking out Revision 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 (PR-98) [2021-05-20T20:36:12.508Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T20:36:12.512Z] > git checkout -f 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 # timeout=10 [2021-05-20T20:36:12.539Z] > git remote # timeout=10 [2021-05-20T20:36:12.549Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T20:36:12.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T20:36:12.560Z] [INFO] Currently running in a labeled security context [2021-05-20T20:36:12.560Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T20:36:12.560Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3219132527444646460.key [2021-05-20T20:36:12.571Z] > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 [2021-05-20T20:36:12.587Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T20:36:12.595Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T20:36:12.602Z] > git checkout -f 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 # timeout=10 [2021-05-20T20:36:16.153Z] Commit message: "refactor: Update to assign and uses new Port Assignments" [2021-05-20T20:36:16.173Z] > git --version # timeout=10 [2021-05-20T20:36:16.179Z] > git --version # 'git version 2.24.4' [2021-05-20T20:36:16.183Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T20:36:17.589Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T20:36:17.937Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T20:36:18.262Z] + sudo service docker restart [2021-05-20T20:36:18.262Z] + true [2021-05-20T20:36:18.262Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T20:36:36.497Z] provisioning config files... [2021-05-20T20:36:36.514Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4640737522464064979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:36:36.888Z] ---> docker-login.sh [2021-05-20T20:36:36.888Z] nexus3.edgexfoundry.org:10001 [2021-05-20T20:36:36.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:36:37.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:36:37.151Z] Configure a credential helper to remove this warning. See [2021-05-20T20:36:37.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:36:37.151Z] [2021-05-20T20:36:37.151Z] Login Succeeded [2021-05-20T20:36:37.151Z] nexus3.edgexfoundry.org:10002 [2021-05-20T20:36:37.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:36:37.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:36:37.151Z] Configure a credential helper to remove this warning. See [2021-05-20T20:36:37.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:36:37.151Z] [2021-05-20T20:36:37.151Z] Login Succeeded [2021-05-20T20:36:37.151Z] nexus3.edgexfoundry.org:10003 [2021-05-20T20:36:37.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:36:37.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:36:37.412Z] Configure a credential helper to remove this warning. See [2021-05-20T20:36:37.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:36:37.412Z] [2021-05-20T20:36:37.412Z] Login Succeeded [2021-05-20T20:36:37.412Z] nexus3.edgexfoundry.org:10004 [2021-05-20T20:36:37.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:36:37.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:36:37.412Z] Configure a credential helper to remove this warning. See [2021-05-20T20:36:37.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:36:37.412Z] [2021-05-20T20:36:37.412Z] Login Succeeded [2021-05-20T20:36:37.412Z] docker.io [2021-05-20T20:36:37.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:36:37.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:36:37.673Z] Configure a credential helper to remove this warning. See [2021-05-20T20:36:37.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:36:37.673Z] [2021-05-20T20:36:37.673Z] Login Succeeded [2021-05-20T20:36:37.673Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T20:36:37.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T20:36:37.963Z] ========================================================= [2021-05-20T20:36:37.963Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T20:36:37.963Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:36:38.320Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-20T20:36:38.320Z] Sending build context to Docker daemon 369.7kB [2021-05-20T20:36:38.320Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T20:36:38.320Z] Step 2/10 : FROM ${BASE} [2021-05-20T20:36:38.320Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T20:36:38.320Z] 540db60ca938: Pulling fs layer [2021-05-20T20:36:38.320Z] adcc1eea9eea: Pulling fs layer [2021-05-20T20:36:38.320Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T20:36:38.320Z] 0510c868ecb4: Pulling fs layer [2021-05-20T20:36:38.320Z] afea3b2eda06: Pulling fs layer [2021-05-20T20:36:38.320Z] 7809a108b3ef: Pulling fs layer [2021-05-20T20:36:38.320Z] f706445af74f: Pulling fs layer [2021-05-20T20:36:38.320Z] afea3b2eda06: Waiting [2021-05-20T20:36:38.320Z] 7809a108b3ef: Waiting [2021-05-20T20:36:38.320Z] f706445af74f: Waiting [2021-05-20T20:36:38.320Z] 0510c868ecb4: Waiting [2021-05-20T20:36:38.320Z] 4c4ab2625f07: Verifying Checksum [2021-05-20T20:36:38.320Z] 4c4ab2625f07: Download complete [2021-05-20T20:36:38.584Z] adcc1eea9eea: Verifying Checksum [2021-05-20T20:36:38.584Z] adcc1eea9eea: Download complete [2021-05-20T20:36:38.584Z] afea3b2eda06: Verifying Checksum [2021-05-20T20:36:38.584Z] afea3b2eda06: Download complete [2021-05-20T20:36:38.584Z] 7809a108b3ef: Verifying Checksum [2021-05-20T20:36:38.584Z] 7809a108b3ef: Download complete [2021-05-20T20:36:38.584Z] 540db60ca938: Verifying Checksum [2021-05-20T20:36:38.584Z] 540db60ca938: Download complete [2021-05-20T20:36:38.849Z] 540db60ca938: Pull complete [2021-05-20T20:36:39.111Z] adcc1eea9eea: Pull complete [2021-05-20T20:36:39.111Z] 4c4ab2625f07: Pull complete [2021-05-20T20:36:40.499Z] f706445af74f: Verifying Checksum [2021-05-20T20:36:40.499Z] f706445af74f: Download complete [2021-05-20T20:36:40.499Z] 0510c868ecb4: Verifying Checksum [2021-05-20T20:36:40.499Z] 0510c868ecb4: Download complete [2021-05-20T20:36:43.853Z] 0510c868ecb4: Pull complete [2021-05-20T20:36:43.853Z] afea3b2eda06: Pull complete [2021-05-20T20:36:44.120Z] 7809a108b3ef: Pull complete [2021-05-20T20:36:45.550Z] f706445af74f: Pull complete [2021-05-20T20:36:45.550Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T20:36:45.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T20:36:45.550Z] ---> b068be0155e3 [2021-05-20T20:36:45.550Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T20:36:49.768Z] ---> Running in 94e9b669d496 [2021-05-20T20:36:49.768Z] Removing intermediate container 94e9b669d496 [2021-05-20T20:36:49.768Z] ---> d49334e1e445 [2021-05-20T20:36:49.768Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T20:36:49.768Z] ---> Running in 386d9663efa9 [2021-05-20T20:36:49.768Z] Removing intermediate container 386d9663efa9 [2021-05-20T20:36:49.768Z] ---> deb50cb45dda [2021-05-20T20:36:49.768Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-20T20:36:49.768Z] ---> Running in 9a362db5b84d [2021-05-20T20:36:49.768Z] Removing intermediate container 9a362db5b84d [2021-05-20T20:36:49.768Z] ---> f2bef4f69833 [2021-05-20T20:36:49.768Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T20:36:49.768Z] ---> Running in d139dd5f773a [2021-05-20T20:36:50.354Z] Removing intermediate container d139dd5f773a [2021-05-20T20:36:50.354Z] ---> 72b5a9fb17b0 [2021-05-20T20:36:50.354Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T20:36:50.354Z] ---> Running in fb0ff31cd136 [2021-05-20T20:36:50.615Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T20:36:51.566Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T20:36:51.827Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T20:36:51.827Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T20:36:51.827Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T20:36:52.089Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T20:36:52.089Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T20:36:52.350Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T20:36:52.350Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T20:36:52.610Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T20:36:52.610Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T20:36:52.871Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T20:36:52.871Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T20:36:53.445Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T20:36:53.445Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T20:36:53.705Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T20:36:53.705Z] OK: 156 MiB in 53 packages [2021-05-20T20:36:54.278Z] Removing intermediate container fb0ff31cd136 [2021-05-20T20:36:54.278Z] ---> ff92a3f3c81a [2021-05-20T20:36:54.278Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-20T20:36:54.278Z] ---> Running in c1d636866adc [2021-05-20T20:36:54.278Z] Removing intermediate container c1d636866adc [2021-05-20T20:36:54.278Z] ---> 156148a6b5da [2021-05-20T20:36:54.278Z] Step 9/10 : COPY . . [2021-05-20T20:36:54.538Z] ---> dccba89583ef [2021-05-20T20:36:54.538Z] Step 10/10 : RUN go mod download [2021-05-20T20:36:54.538Z] ---> Running in 0631d095440c [2021-05-20T20:37:09.473Z] Removing intermediate container 0631d095440c [2021-05-20T20:37:09.473Z] ---> a06047923ef9 [2021-05-20T20:37:09.473Z] Successfully built a06047923ef9 [2021-05-20T20:37:09.473Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:37:09.812Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T20:37:09.812Z] . [Pipeline] withDockerContainer [2021-05-20T20:37:09.912Z] prd-centos7-docker-4c-2g-15408 does not seem to be running inside a container [2021-05-20T20:37:09.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T20:37:10.301Z] $ docker top f7bb30b8a04171f2ad16364a59e3946f45b136b0761791f3453c749ef2f6f571 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T20:37:10.724Z] + go version [2021-05-20T20:37:10.724Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T20:37:10.747Z] $ docker stop --time=1 f7bb30b8a04171f2ad16364a59e3946f45b136b0761791f3453c749ef2f6f571 [2021-05-20T20:37:11.943Z] $ docker rm -f f7bb30b8a04171f2ad16364a59e3946f45b136b0761791f3453c749ef2f6f571 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:37:12.815Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T20:37:12.815Z] . [Pipeline] withDockerContainer [2021-05-20T20:37:12.912Z] prd-centos7-docker-4c-2g-15408 does not seem to be running inside a container [2021-05-20T20:37:12.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T20:37:13.305Z] $ docker top bbc8527c3e24de4f5038786800151996ed8bd0a4bd49276b14b9cceba0541cc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T20:37:13.764Z] + go mod tidy [Pipeline] sh [2021-05-20T20:37:14.352Z] + make test [2021-05-20T20:37:14.352Z] go mod tidy [2021-05-20T20:37:14.352Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T20:37:14.938Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-20T20:37:29.956Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-20T20:37:29.956Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-05-20T20:37:29.956Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T20:37:30.496Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15409 in /w/workspace/dgexfoundry_device-snmp-go_PR-98 [Pipeline] { [Pipeline] ws [2021-05-20T20:37:30.555Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-20T20:37:30.787Z] Selected Git installation does not exist. Using Default [2021-05-20T20:37:30.788Z] The recommended git tool is: NONE [2021-05-20T20:37:35.331Z] gofmt -l . [2021-05-20T20:37:35.331Z] [ "`gofmt -l .`" = "" ] [2021-05-20T20:37:35.331Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T20:37:35.959Z] $ docker stop --time=1 bbc8527c3e24de4f5038786800151996ed8bd0a4bd49276b14b9cceba0541cc2 [2021-05-20T20:37:36.539Z] using credential edgex-jenkins-ssh [2021-05-20T20:37:36.558Z] Cloning the remote Git repository [2021-05-20T20:37:36.606Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T20:37:36.729Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-20T20:37:36.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T20:37:36.824Z] > git --version # timeout=10 [2021-05-20T20:37:36.838Z] > git --version # 'git version 2.17.1' [2021-05-20T20:37:36.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T20:37:37.738Z] $ docker rm -f bbc8527c3e24de4f5038786800151996ed8bd0a4bd49276b14b9cceba0541cc2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T20:37:36.927Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T20:37:37.669Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T20:37:37.693Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T20:37:37.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T20:37:37.755Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T20:37:37.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T20:37:37.768Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T20:37:38.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T20:37:38.369Z] Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [2021-05-20T20:37:38.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-05-20T20:37:38.561Z] Merge succeeded, producing 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [2021-05-20T20:37:38.562Z] Checking out Revision 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 (PR-98) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-20T20:37:38.394Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T20:37:38.408Z] > git checkout -f 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 # timeout=10 [2021-05-20T20:37:38.479Z] > git remote # timeout=10 [2021-05-20T20:37:38.498Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T20:37:38.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T20:37:38.526Z] > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 [2021-05-20T20:37:38.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T20:37:38.571Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T20:37:38.582Z] > git checkout -f 65e5e5341296ca5fc3171d58150b9066a6c9a0b2 # timeout=10 [Pipeline] sh [2021-05-20T20:37:40.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T20:37:41.070Z] + ls -al . [2021-05-20T20:37:41.070Z] total 104 [2021-05-20T20:37:41.070Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 20 20:37 . [2021-05-20T20:37:41.070Z] drwxrwxr-x. 4 jenkins jenkins 28 May 20 20:36 .. [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 20 20:36 Attribution.txt [2021-05-20T20:37:41.070Z] drwxrwxr-x. 2 jenkins jenkins 60 May 20 20:36 bin [2021-05-20T20:37:41.070Z] drwxrwxr-x. 3 jenkins jenkins 32 May 20 20:36 cmd [2021-05-20T20:37:41.070Z] -rw-r--r--. 1 jenkins jenkins 7631 May 20 20:37 coverage.out [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 20 20:36 Dockerfile [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 20 20:36 Dockerfile.build [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 6 May 20 20:36 .dockerignore [2021-05-20T20:37:41.070Z] drwxrwxr-x. 8 jenkins jenkins 179 May 20 20:36 .git [2021-05-20T20:37:41.070Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 20:36 .github [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 272 May 20 20:36 .gitignore [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 222 May 20 20:36 go.mod [2021-05-20T20:37:41.070Z] -rw-r--r--. 1 jenkins jenkins 21438 May 20 20:37 go.sum [2021-05-20T20:37:41.070Z] drwxrwxr-x. 3 jenkins jenkins 20 May 20 20:36 internal [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 656 May 20 20:36 Jenkinsfile [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 20 20:36 LICENSE [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 936 May 20 20:36 Makefile [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 20 20:36 README.md [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 5 May 20 20:33 VERSION [2021-05-20T20:37:41.070Z] -rw-rw-r--. 1 jenkins jenkins 209 May 20 20:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:37:41.421Z] + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=65e5e5341296ca5fc3171d58150b9066a6c9a0b2 --label arch=amd64 --label version=0.0.0 . [2021-05-20T20:37:41.421Z] Sending build context to Docker daemon 377.9kB [2021-05-20T20:37:41.421Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T20:37:41.421Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-20T20:37:41.421Z] ---> a06047923ef9 [2021-05-20T20:37:41.421Z] Step 3/24 : ARG MAKE='make build' [2021-05-20T20:37:41.421Z] ---> Running in ece4a1352f54 [2021-05-20T20:37:41.421Z] Removing intermediate container ece4a1352f54 [2021-05-20T20:37:41.421Z] ---> 86ddc23dedeb [2021-05-20T20:37:41.421Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T20:37:41.689Z] ---> Running in 2e070801a0f8 [2021-05-20T20:37:41.689Z] Removing intermediate container 2e070801a0f8 [2021-05-20T20:37:41.689Z] ---> bf1a28e67162 [2021-05-20T20:37:41.689Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T20:37:41.689Z] ---> Running in 5840d4c41cf4 [2021-05-20T20:37:41.689Z] Removing intermediate container 5840d4c41cf4 [2021-05-20T20:37:41.689Z] ---> ba83354c9cde [2021-05-20T20:37:41.689Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T20:37:41.689Z] ---> Running in fe1c443f910b [2021-05-20T20:37:42.273Z] Removing intermediate container fe1c443f910b [2021-05-20T20:37:42.273Z] ---> 07e663e0b181 [2021-05-20T20:37:42.273Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T20:37:42.273Z] ---> Running in 3f92abd1631b [2021-05-20T20:37:42.541Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T20:37:42.875Z] Commit message: "refactor: Update to assign and uses new Port Assignments" [2021-05-20T20:37:42.930Z] > git --version # timeout=10 [2021-05-20T20:37:42.938Z] > git --version # 'git version 2.17.1' [2021-05-20T20:37:42.949Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2021-05-20T20:37:43.494Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2021-05-20T20:37:43.760Z] OK: 156 MiB in 53 packages [2021-05-20T20:37:44.022Z] Removing intermediate container 3f92abd1631b [2021-05-20T20:37:44.023Z] ---> db5ebb6fcf5b [2021-05-20T20:37:44.023Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-20T20:37:44.286Z] ---> Running in b196ab659dd1 [2021-05-20T20:37:44.286Z] Removing intermediate container b196ab659dd1 [2021-05-20T20:37:44.286Z] ---> a154da2fc257 [2021-05-20T20:37:44.286Z] Step 9/24 : COPY . . [2021-05-20T20:37:44.426Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T20:37:44.835Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T20:37:45.198Z] + true [2021-05-20T20:37:45.198Z] + sudo service docker restart [2021-05-20T20:37:45.226Z] ---> 36e3992049ca [2021-05-20T20:37:45.226Z] Step 10/24 : RUN go mod tidy [2021-05-20T20:37:45.226Z] ---> Running in 9e82be16a188 [2021-05-20T20:37:46.630Z] Removing intermediate container 9e82be16a188 [2021-05-20T20:37:46.630Z] ---> 4a7f62509e52 [2021-05-20T20:37:46.630Z] Step 11/24 : RUN make update [2021-05-20T20:37:46.630Z] ---> Running in 939f02b34fe6 [2021-05-20T20:37:46.895Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T20:37:47.472Z] Removing intermediate container 939f02b34fe6 [2021-05-20T20:37:47.472Z] ---> d14c78a59c3b [2021-05-20T20:37:47.472Z] Step 12/24 : RUN ${MAKE} [2021-05-20T20:37:47.472Z] ---> Running in 95182aa12c40 [2021-05-20T20:37:48.050Z] go mod tidy [2021-05-20T20:37:48.050Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-05-20T20:38:00.378Z] Removing intermediate container 95182aa12c40 [2021-05-20T20:38:00.378Z] ---> f456ad877b1b [2021-05-20T20:38:00.378Z] Step 13/24 : FROM alpine:3.12 [2021-05-20T20:38:00.378Z] 3.12: Pulling from library/alpine [2021-05-20T20:38:00.378Z] 339de151aab4: Pulling fs layer [2021-05-20T20:38:00.378Z] 339de151aab4: Verifying Checksum [2021-05-20T20:38:00.378Z] 339de151aab4: Download complete [2021-05-20T20:38:00.378Z] 339de151aab4: Pull complete [2021-05-20T20:38:00.378Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T20:38:00.378Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T20:38:00.378Z] ---> 13621d1b12d4 [2021-05-20T20:38:00.378Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T20:38:00.640Z] ---> Running in f346d40c8e2e [2021-05-20T20:38:00.901Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T20:38:00.901Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T20:38:01.167Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T20:38:01.167Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T20:38:01.167Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T20:38:01.167Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T20:38:01.167Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T20:38:01.167Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T20:38:01.167Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T20:38:01.167Z] OK: 8 MiB in 20 packages [2021-05-20T20:38:01.433Z] Removing intermediate container f346d40c8e2e [2021-05-20T20:38:01.433Z] ---> b412aa0c5389 [2021-05-20T20:38:01.433Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-20T20:38:01.695Z] ---> be6c6784637a [2021-05-20T20:38:01.695Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-20T20:38:01.962Z] ---> ac8698ebaf0b [2021-05-20T20:38:01.962Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-20T20:38:01.962Z] ---> e8fb076aa946 [2021-05-20T20:38:01.962Z] Step 18/24 : EXPOSE 59993 [2021-05-20T20:38:01.962Z] ---> Running in 9f6ad90390cd [2021-05-20T20:38:02.222Z] Removing intermediate container 9f6ad90390cd [2021-05-20T20:38:02.222Z] ---> ec4130a549f1 [2021-05-20T20:38:02.222Z] Step 19/24 : EXPOSE 161 [2021-05-20T20:38:02.222Z] ---> Running in 1767d2e44c9a [2021-05-20T20:38:02.222Z] Removing intermediate container 1767d2e44c9a [2021-05-20T20:38:02.222Z] ---> 1eed7d90d4ee [2021-05-20T20:38:02.222Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-20T20:38:02.222Z] ---> Running in 3455a22ae16b [2021-05-20T20:38:02.222Z] Removing intermediate container 3455a22ae16b [2021-05-20T20:38:02.222Z] ---> 3744b02fb704 [2021-05-20T20:38:02.222Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T20:38:02.484Z] ---> Running in ea7d8a578b22 [2021-05-20T20:38:02.484Z] Removing intermediate container ea7d8a578b22 [2021-05-20T20:38:02.484Z] ---> 59b11c6b036e [2021-05-20T20:38:02.484Z] Step 22/24 : LABEL arch=amd64 [2021-05-20T20:38:02.484Z] ---> Running in 20b8f151a7d4 [2021-05-20T20:38:02.484Z] Removing intermediate container 20b8f151a7d4 [2021-05-20T20:38:02.484Z] ---> 012f93a4e13a [2021-05-20T20:38:02.484Z] Step 23/24 : LABEL git_sha=65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [2021-05-20T20:38:02.484Z] ---> Running in ac15e470b7e0 [2021-05-20T20:38:02.744Z] Removing intermediate container ac15e470b7e0 [2021-05-20T20:38:02.744Z] ---> 40497fa285b6 [2021-05-20T20:38:02.744Z] Step 24/24 : LABEL version=0.0.0 [2021-05-20T20:38:02.744Z] ---> Running in 3d8ea4f3464e [2021-05-20T20:38:02.744Z] Removing intermediate container 3d8ea4f3464e [2021-05-20T20:38:02.744Z] ---> 51ac67303148 [2021-05-20T20:38:02.744Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T20:38:02.744Z] Successfully built 51ac67303148 [2021-05-20T20:38:02.744Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T20:38:03.594Z] provisioning config files... [2021-05-20T20:38:03.619Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8243785323091973141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:38:03.730Z] ---> job-cost.sh [2021-05-20T20:38:03.730Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ydYu [2021-05-20T20:38:04.050Z] ---> docker-login.sh [2021-05-20T20:38:04.050Z] nexus3.edgexfoundry.org:10001 [2021-05-20T20:38:05.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:38:05.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:38:05.304Z] Configure a credential helper to remove this warning. See [2021-05-20T20:38:05.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:38:05.304Z] [2021-05-20T20:38:05.304Z] Login Succeeded [2021-05-20T20:38:05.304Z] nexus3.edgexfoundry.org:10002 [2021-05-20T20:38:05.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:38:05.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:38:05.857Z] Configure a credential helper to remove this warning. See [2021-05-20T20:38:05.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:38:05.857Z] [2021-05-20T20:38:05.857Z] Login Succeeded [2021-05-20T20:38:05.857Z] nexus3.edgexfoundry.org:10003 [2021-05-20T20:38:06.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:38:06.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:38:06.412Z] Configure a credential helper to remove this warning. See [2021-05-20T20:38:06.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:38:06.412Z] [2021-05-20T20:38:06.412Z] Login Succeeded [2021-05-20T20:38:06.412Z] nexus3.edgexfoundry.org:10004 [2021-05-20T20:38:06.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:38:06.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:38:06.964Z] Configure a credential helper to remove this warning. See [2021-05-20T20:38:06.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:38:06.964Z] [2021-05-20T20:38:06.964Z] Login Succeeded [2021-05-20T20:38:06.964Z] docker.io [2021-05-20T20:38:07.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T20:38:07.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T20:38:07.509Z] Configure a credential helper to remove this warning. See [2021-05-20T20:38:07.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T20:38:07.509Z] [2021-05-20T20:38:07.509Z] Login Succeeded [2021-05-20T20:38:07.509Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T20:38:07.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T20:38:08.120Z] ========================================================= [2021-05-20T20:38:08.120Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T20:38:08.120Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:38:08.580Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-20T20:38:08.884Z] Sending build context to Docker daemon 368.6kB [2021-05-20T20:38:08.884Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T20:38:08.884Z] Step 2/10 : FROM ${BASE} [2021-05-20T20:38:09.163Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T20:38:09.163Z] 595b0fe564bb: Pulling fs layer [2021-05-20T20:38:09.163Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T20:38:09.163Z] 316046926c0a: Pulling fs layer [2021-05-20T20:38:09.163Z] 4ebd0625c992: Pulling fs layer [2021-05-20T20:38:09.163Z] 207e8628e3a3: Pulling fs layer [2021-05-20T20:38:09.163Z] 4ebd0625c992: Waiting [2021-05-20T20:38:09.163Z] c791037a9be2: Pulling fs layer [2021-05-20T20:38:09.163Z] 207e8628e3a3: Waiting [2021-05-20T20:38:09.163Z] ffd874e62e21: Pulling fs layer [2021-05-20T20:38:09.163Z] c791037a9be2: Waiting [2021-05-20T20:38:09.163Z] ffd874e62e21: Waiting [2021-05-20T20:38:09.163Z] 316046926c0a: Download complete [2021-05-20T20:38:09.163Z] 7186ed65a4f7: Verifying Checksum [2021-05-20T20:38:09.163Z] 7186ed65a4f7: Download complete [2021-05-20T20:38:09.163Z] 207e8628e3a3: Verifying Checksum [2021-05-20T20:38:09.163Z] 207e8628e3a3: Download complete [2021-05-20T20:38:09.163Z] c791037a9be2: Verifying Checksum [2021-05-20T20:38:09.163Z] c791037a9be2: Download complete [2021-05-20T20:38:09.163Z] 595b0fe564bb: Download complete [2021-05-20T20:38:10.158Z] 595b0fe564bb: Pull complete [2021-05-20T20:38:10.443Z] 7186ed65a4f7: Pull complete [2021-05-20T20:38:11.048Z] 316046926c0a: Pull complete [2021-05-20T20:38:11.656Z] ffd874e62e21: Verifying Checksum [2021-05-20T20:38:11.656Z] ffd874e62e21: Download complete [2021-05-20T20:38:12.634Z] 4ebd0625c992: Verifying Checksum [2021-05-20T20:38:12.634Z] 4ebd0625c992: Download complete [2021-05-20T20:38:13.780Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T20:38:22.801Z] 4ebd0625c992: Pull complete [2021-05-20T20:38:23.076Z] 207e8628e3a3: Pull complete [2021-05-20T20:38:23.351Z] c791037a9be2: Pull complete [2021-05-20T20:38:26.031Z] lf-activate-venv(): INFO: Adding /tmp/venv-ydYu/bin to PATH [2021-05-20T20:38:26.031Z] INFO: No Stack... [2021-05-20T20:38:26.607Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T20:38:27.183Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T20:38:27.524Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-20T20:38:27.524Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T20:38:27.578Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-98-1-stack-cost] [2021-05-20T20:38:27.585Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-98-1-stack-cost] did not exist. Created. [2021-05-20T20:38:27.585Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-98-1-stack-cost] [Pipeline] { [Pipeline] unstash [2021-05-20T20:38:27.677Z] ffd874e62e21: Pull complete [2021-05-20T20:38:27.677Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T20:38:27.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T20:38:27.677Z] ---> cfc18b08335c [2021-05-20T20:38:27.677Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] sh [2021-05-20T20:38:28.001Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T20:38:28.090Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T20:38:28.109Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-98-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-20T20:38:29.113Z] ---> Running in 027c304eab49 [2021-05-20T20:38:29.400Z] Removing intermediate container 027c304eab49 [2021-05-20T20:38:29.400Z] ---> 832427802447 [2021-05-20T20:38:29.400Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T20:38:29.682Z] ---> Running in daeecbacb48e [2021-05-20T20:38:29.956Z] Removing intermediate container daeecbacb48e [2021-05-20T20:38:29.956Z] ---> 6cd8b15f8b9f [2021-05-20T20:38:29.956Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-20T20:38:30.228Z] ---> Running in d9a970979b3f [2021-05-20T20:38:30.825Z] Removing intermediate container d9a970979b3f [2021-05-20T20:38:30.825Z] ---> c2e5fdfd4150 [2021-05-20T20:38:30.825Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T20:38:30.825Z] ---> Running in 09643ac18807 [2021-05-20T20:38:32.795Z] Removing intermediate container 09643ac18807 [2021-05-20T20:38:32.796Z] ---> cb2537825b13 [2021-05-20T20:38:32.796Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T20:38:33.069Z] ---> Running in 34a9671119fc [2021-05-20T20:38:34.510Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T20:38:35.104Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T20:38:36.082Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T20:38:36.082Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T20:38:36.082Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T20:38:36.355Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T20:38:36.355Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T20:38:36.638Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T20:38:36.638Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T20:38:36.913Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T20:38:37.189Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T20:38:37.189Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T20:38:37.189Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T20:38:37.465Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T20:38:37.465Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T20:38:37.465Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T20:38:37.465Z] OK: 145 MiB in 53 packages [2021-05-20T20:38:38.909Z] Removing intermediate container 34a9671119fc [2021-05-20T20:38:38.909Z] ---> 22a5497963bc [2021-05-20T20:38:38.909Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-20T20:38:38.909Z] ---> Running in 8e13cfdfbdf1 [2021-05-20T20:38:39.504Z] Removing intermediate container 8e13cfdfbdf1 [2021-05-20T20:38:39.504Z] ---> 4e22affc0c6c [2021-05-20T20:38:39.504Z] Step 9/10 : COPY . . [2021-05-20T20:38:40.494Z] ---> dae19efeffea [2021-05-20T20:38:40.494Z] Step 10/10 : RUN go mod download [2021-05-20T20:38:40.494Z] ---> Running in 56e6038f5138 [2021-05-20T20:39:07.400Z] Removing intermediate container 56e6038f5138 [2021-05-20T20:39:07.400Z] ---> 0bcdc43234b1 [2021-05-20T20:39:07.400Z] Successfully built 0bcdc43234b1 [2021-05-20T20:39:07.400Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:39:07.785Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T20:39:07.785Z] . [Pipeline] withDockerContainer [2021-05-20T20:39:08.052Z] prd-ubuntu18.04-docker-arm64-4c-16g-15409 does not seem to be running inside a container [2021-05-20T20:39:08.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T20:39:09.908Z] $ docker top 80c06e387e84c4104844a00caf73af525fdaab177190d4233ae797308ff0cdfc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T20:39:10.895Z] + go version [2021-05-20T20:39:10.895Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T20:39:10.939Z] $ docker stop --time=1 80c06e387e84c4104844a00caf73af525fdaab177190d4233ae797308ff0cdfc [2021-05-20T20:39:12.692Z] $ docker rm -f 80c06e387e84c4104844a00caf73af525fdaab177190d4233ae797308ff0cdfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:39:13.663Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T20:39:13.663Z] . [Pipeline] withDockerContainer [2021-05-20T20:39:13.951Z] prd-ubuntu18.04-docker-arm64-4c-16g-15409 does not seem to be running inside a container [2021-05-20T20:39:14.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T20:39:15.549Z] $ docker top 6dcd285540d1342931fda67061599645868374bb307340704888671ec8315d22 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T20:39:16.558Z] + go mod tidy [Pipeline] sh [2021-05-20T20:39:17.847Z] + make test [2021-05-20T20:39:17.847Z] go mod tidy [2021-05-20T20:39:18.444Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T20:39:19.441Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-20T20:40:16.070Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-20T20:40:16.070Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements [2021-05-20T20:40:16.070Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T20:40:34.453Z] gofmt -l . [2021-05-20T20:40:34.453Z] [ "`gofmt -l .`" = "" ] [2021-05-20T20:40:34.453Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T20:40:34.487Z] $ docker stop --time=1 6dcd285540d1342931fda67061599645868374bb307340704888671ec8315d22 [2021-05-20T20:40:36.563Z] $ docker rm -f 6dcd285540d1342931fda67061599645868374bb307340704888671ec8315d22 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T20:40:37.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T20:40:37.513Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T20:40:37.971Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T20:40:38.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T20:40:39.307Z] + ls -al . [2021-05-20T20:40:39.308Z] total 128 [2021-05-20T20:40:39.308Z] drwxrwxr-x 7 jenkins jenkins 4096 May 20 20:40 . [2021-05-20T20:40:39.308Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 20:37 .. [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 6 May 20 20:37 .dockerignore [2021-05-20T20:40:39.308Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 20:37 .git [2021-05-20T20:40:39.308Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:37 .github [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 272 May 20 20:37 .gitignore [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 20 20:37 Attribution.txt [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 20 20:37 Dockerfile [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 20 20:37 Dockerfile.build [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 656 May 20 20:37 Jenkinsfile [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 20 20:37 LICENSE [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 936 May 20 20:37 Makefile [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 20 20:37 README.md [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 20:33 VERSION [2021-05-20T20:40:39.308Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 20:37 bin [2021-05-20T20:40:39.308Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:37 cmd [2021-05-20T20:40:39.308Z] -rw-r--r-- 1 jenkins jenkins 7631 May 20 20:40 coverage.out [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 222 May 20 20:37 go.mod [2021-05-20T20:40:39.308Z] -rw-r--r-- 1 jenkins jenkins 21438 May 20 20:39 go.sum [2021-05-20T20:40:39.308Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 20:37 internal [2021-05-20T20:40:39.308Z] -rw-rw-r-- 1 jenkins jenkins 209 May 20 20:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:40:39.690Z] + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=65e5e5341296ca5fc3171d58150b9066a6c9a0b2 --label arch=arm64 --label version=0.0.0 . [2021-05-20T20:40:39.967Z] Sending build context to Docker daemon 376.8kB [2021-05-20T20:40:39.967Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T20:40:39.967Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-20T20:40:39.967Z] ---> 0bcdc43234b1 [2021-05-20T20:40:39.967Z] Step 3/24 : ARG MAKE='make build' [2021-05-20T20:40:40.246Z] ---> Running in 5dbc2a140454 [2021-05-20T20:40:40.842Z] Removing intermediate container 5dbc2a140454 [2021-05-20T20:40:40.842Z] ---> 18a9a9c61ab1 [2021-05-20T20:40:40.842Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T20:40:40.842Z] ---> Running in b8866d519131 [2021-05-20T20:40:41.437Z] Removing intermediate container b8866d519131 [2021-05-20T20:40:41.437Z] ---> af7b3d02f847 [2021-05-20T20:40:41.437Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T20:40:41.709Z] ---> Running in b44faee8729d [2021-05-20T20:40:41.982Z] Removing intermediate container b44faee8729d [2021-05-20T20:40:41.982Z] ---> dac3d10fb611 [2021-05-20T20:40:41.982Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T20:40:42.256Z] ---> Running in 26bdbe5742e6 [2021-05-20T20:40:44.238Z] Removing intermediate container 26bdbe5742e6 [2021-05-20T20:40:44.238Z] ---> 184a715e0787 [2021-05-20T20:40:44.238Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T20:40:44.510Z] ---> Running in 7265aff957c2 [2021-05-20T20:40:45.954Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T20:40:46.548Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T20:40:47.529Z] OK: 145 MiB in 53 packages [2021-05-20T20:40:48.509Z] Removing intermediate container 7265aff957c2 [2021-05-20T20:40:48.509Z] ---> 2b50cd167041 [2021-05-20T20:40:48.509Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-20T20:40:48.509Z] ---> Running in 568c65dfc03d [2021-05-20T20:40:49.107Z] Removing intermediate container 568c65dfc03d [2021-05-20T20:40:49.107Z] ---> c4a4fa1a3df0 [2021-05-20T20:40:49.107Z] Step 9/24 : COPY . . [2021-05-20T20:40:50.091Z] ---> f3d664d2469d [2021-05-20T20:40:50.091Z] Step 10/24 : RUN go mod tidy [2021-05-20T20:40:50.091Z] ---> Running in b9acab764f15 [2021-05-20T20:40:52.722Z] Removing intermediate container b9acab764f15 [2021-05-20T20:40:52.722Z] ---> 0d11002b0844 [2021-05-20T20:40:52.722Z] Step 11/24 : RUN make update [2021-05-20T20:40:52.995Z] ---> Running in a4c2e25b0806 [2021-05-20T20:40:53.980Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T20:40:54.965Z] Removing intermediate container a4c2e25b0806 [2021-05-20T20:40:54.965Z] ---> 0bc4900a3881 [2021-05-20T20:40:54.965Z] Step 12/24 : RUN ${MAKE} [2021-05-20T20:40:55.239Z] ---> Running in 0501a4d7fbca [2021-05-20T20:40:56.220Z] go mod tidy [2021-05-20T20:40:56.827Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-05-20T20:41:35.890Z] Removing intermediate container 0501a4d7fbca [2021-05-20T20:41:35.890Z] ---> 1741064d67b2 [2021-05-20T20:41:35.890Z] Step 13/24 : FROM alpine:3.12 [2021-05-20T20:41:35.890Z] 3.12: Pulling from library/alpine [2021-05-20T20:41:35.890Z] d2f70382dc9a: Pulling fs layer [2021-05-20T20:41:35.890Z] d2f70382dc9a: Download complete [2021-05-20T20:41:35.890Z] d2f70382dc9a: Pull complete [2021-05-20T20:41:35.890Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T20:41:35.890Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T20:41:35.890Z] ---> 9852663dfa18 [2021-05-20T20:41:35.890Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T20:41:35.890Z] ---> Running in 9073137235c1 [2021-05-20T20:41:35.890Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T20:41:35.890Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T20:41:35.890Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T20:41:35.890Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T20:41:35.890Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T20:41:35.890Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T20:41:35.890Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T20:41:35.890Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T20:41:35.890Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T20:41:35.890Z] OK: 8 MiB in 20 packages [2021-05-20T20:41:37.325Z] Removing intermediate container 9073137235c1 [2021-05-20T20:41:37.325Z] ---> e1745cf283a3 [2021-05-20T20:41:37.325Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-20T20:41:38.309Z] ---> f6d25c4bc9f4 [2021-05-20T20:41:38.309Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-20T20:41:38.910Z] ---> 0b8481d23dda [2021-05-20T20:41:38.910Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-20T20:41:39.893Z] ---> ca3e81a6a6c9 [2021-05-20T20:41:39.893Z] Step 18/24 : EXPOSE 59993 [2021-05-20T20:41:39.893Z] ---> Running in dba98b9e2ade [2021-05-20T20:41:40.493Z] Removing intermediate container dba98b9e2ade [2021-05-20T20:41:40.493Z] ---> 6b6272183db6 [2021-05-20T20:41:40.493Z] Step 19/24 : EXPOSE 161 [2021-05-20T20:41:40.493Z] ---> Running in 49b32fee169c [2021-05-20T20:41:41.090Z] Removing intermediate container 49b32fee169c [2021-05-20T20:41:41.090Z] ---> e7be4f9f3fcb [2021-05-20T20:41:41.090Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-20T20:41:41.090Z] ---> Running in 6a7c8ae93353 [2021-05-20T20:41:41.687Z] Removing intermediate container 6a7c8ae93353 [2021-05-20T20:41:41.687Z] ---> 8004768d4117 [2021-05-20T20:41:41.687Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T20:41:41.687Z] ---> Running in 0a4b7f53def6 [2021-05-20T20:41:42.287Z] Removing intermediate container 0a4b7f53def6 [2021-05-20T20:41:42.287Z] ---> bef7cbeb6d4b [2021-05-20T20:41:42.287Z] Step 22/24 : LABEL arch=arm64 [2021-05-20T20:41:42.287Z] ---> Running in d5e2e4cf2903 [2021-05-20T20:41:42.562Z] Removing intermediate container d5e2e4cf2903 [2021-05-20T20:41:42.562Z] ---> 774be6f77a9f [2021-05-20T20:41:42.562Z] Step 23/24 : LABEL git_sha=65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [2021-05-20T20:41:42.837Z] ---> Running in 780dcfeebf15 [2021-05-20T20:41:43.110Z] Removing intermediate container 780dcfeebf15 [2021-05-20T20:41:43.111Z] ---> b1673854d50a [2021-05-20T20:41:43.111Z] Step 24/24 : LABEL version=0.0.0 [2021-05-20T20:41:43.387Z] ---> Running in 9359ab330326 [2021-05-20T20:41:43.998Z] Removing intermediate container 9359ab330326 [2021-05-20T20:41:43.998Z] ---> 693f0a742b59 [2021-05-20T20:41:43.998Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T20:41:43.998Z] Successfully built 693f0a742b59 [2021-05-20T20:41:43.998Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:41:44.944Z] ---> job-cost.sh [2021-05-20T20:41:44.944Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Do8A [2021-05-20T20:42:23.959Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T20:43:45.781Z] lf-activate-venv(): INFO: Adding /tmp/venv-Do8A/bin to PATH [2021-05-20T20:43:45.781Z] INFO: No Stack... [2021-05-20T20:43:46.058Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T20:43:46.652Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T20:43:47.025Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-20T20:43:47.025Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T20:43:47.112Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-98-1-stack-cost] [2021-05-20T20:43:47.118Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-98-1-stack-cost] did not exist. Created. [2021-05-20T20:43:47.118Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-98-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T20:43:47.559Z] /w/workspace/device-snmp-go/1@tmp/durable-ba8f98ac/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-ba8f98ac/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T20:43:47.937Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T20:43:47.986Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T20:43:48.137Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T20:43:48.163Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-98-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-20T20:43:49.093Z] provisioning config files... [2021-05-20T20:43:49.101Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/config5826393405834340223tmp [Pipeline] { [Pipeline] sh [2021-05-20T20:43:49.456Z] + set +x [2021-05-20T20:43:49.456Z] + curl -s https://codecov.io/bash [2021-05-20T20:43:49.456Z] + bash -s -- [2021-05-20T20:43:49.456Z] [2021-05-20T20:43:49.456Z] _____ _ [2021-05-20T20:43:49.456Z] / ____| | | [2021-05-20T20:43:49.456Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T20:43:49.456Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T20:43:49.456Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T20:43:49.456Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T20:43:49.456Z] Bash-1.0.2 [2021-05-20T20:43:49.456Z] [2021-05-20T20:43:49.456Z] [2021-05-20T20:43:49.456Z] ==> git version 2.24.4 found [2021-05-20T20:43:49.456Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-20T20:43:49.456Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T20:43:49.456Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T20:43:49.456Z] ==> Jenkins CI detected. [2021-05-20T20:43:49.456Z] project root: . [2021-05-20T20:43:49.456Z] --> token set from env [2021-05-20T20:43:49.456Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T20:43:49.724Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T20:43:49.724Z] ==> Python coveragepy not found [2021-05-20T20:43:49.724Z] ==> Searching for coverage reports in: [2021-05-20T20:43:49.724Z] + . [2021-05-20T20:43:49.724Z] -> Found 1 reports [2021-05-20T20:43:49.724Z] ==> Detecting git/mercurial file structure [2021-05-20T20:43:49.724Z] ==> Reading reports [2021-05-20T20:43:49.724Z] + ./coverage.out bytes=7631 [2021-05-20T20:43:49.724Z] ==> Appending adjustments [2021-05-20T20:43:49.724Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T20:43:49.724Z] + Found adjustments [2021-05-20T20:43:49.724Z] ==> Gzipping contents [2021-05-20T20:43:49.724Z] 4.0K /tmp/codecov.zfbmU4.gz [2021-05-20T20:43:49.724Z] ==> Uploading reports [2021-05-20T20:43:49.724Z] url: https://codecov.io [2021-05-20T20:43:49.724Z] query: branch=PR-98&commit=65e5e5341296ca5fc3171d58150b9066a6c9a0b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-98%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=98&job=&cmd_args= [2021-05-20T20:43:49.724Z] -> Pinging Codecov [2021-05-20T20:43:49.724Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-98&commit=65e5e5341296ca5fc3171d58150b9066a6c9a0b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-98%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=98&job=&cmd_args= [2021-05-20T20:43:50.322Z] -> Uploading to [2021-05-20T20:43:50.322Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/6C56EA5C29638FB4528AC87E60AF5AE0/65e5e5341296ca5fc3171d58150b9066a6c9a0b2/8406b1af-aa77-4635-a9b7-07b82ede04d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T204349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5dc3f47debb13a0c4f2331096434a28e46c0429cd839ca424c7bd55ea9ebaeac [2021-05-20T20:43:50.322Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T20:43:50.322Z] Dload Upload Total Spent Left Speed [2021-05-20T20:43:50.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3515 --:--:-- --:--:-- --:--:-- 3524 [2021-05-20T20:43:50.584Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/65e5e5341296ca5fc3171d58150b9066a6c9a0b2 [Pipeline] } [2021-05-20T20:43:50.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:43:53.153Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:43:53.765Z] ---> package-listing.sh [2021-05-20T20:43:53.765Z] ++ facter osfamily [2021-05-20T20:43:53.765Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T20:43:54.027Z] + OS_FAMILY=redhat [2021-05-20T20:43:54.027Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-98 [2021-05-20T20:43:54.027Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T20:43:54.027Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T20:43:54.027Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T20:43:54.027Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T20:43:54.027Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-98 ']' [2021-05-20T20:43:54.027Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T20:43:54.027Z] + case "${OS_FAMILY}" in [2021-05-20T20:43:54.027Z] + rpm -qa [2021-05-20T20:43:54.027Z] + sort [2021-05-20T20:43:54.604Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T20:43:54.604Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T20:43:54.604Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T20:43:54.604Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-98 ']' [2021-05-20T20:43:54.604Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-98/archives/ [2021-05-20T20:43:54.604Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-98/archives/ [Pipeline] echo [2021-05-20T20:43:54.638Z] 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/dgexfoundry_device-snmp-go_PR-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-20T20:43:54.944Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:43:55.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T20:43:55.536Z] [2021-05-20T20:43:55.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T20:43:55.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T20:43:55.893Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T20:43:55.893Z] df20fa9351a1: Pulling fs layer [2021-05-20T20:43:55.893Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T20:43:55.893Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T20:43:55.893Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T20:43:55.893Z] 93b61091891f: Pulling fs layer [2021-05-20T20:43:55.893Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T20:43:55.893Z] 5e14af77c1be: Pulling fs layer [2021-05-20T20:43:55.893Z] 01666e4c0597: Pulling fs layer [2021-05-20T20:43:55.893Z] aa168da1d23b: Pulling fs layer [2021-05-20T20:43:55.893Z] 46f8f816bc3b: Waiting [2021-05-20T20:43:55.893Z] 93b61091891f: Waiting [2021-05-20T20:43:55.893Z] 93b9cdb0e59b: Waiting [2021-05-20T20:43:55.893Z] 5e14af77c1be: Waiting [2021-05-20T20:43:55.893Z] 01666e4c0597: Waiting [2021-05-20T20:43:55.893Z] aa168da1d23b: Waiting [2021-05-20T20:43:55.893Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T20:43:55.893Z] 36b3adc4ff6f: Download complete [2021-05-20T20:43:55.893Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T20:43:55.893Z] 46f8f816bc3b: Download complete [2021-05-20T20:43:56.166Z] df20fa9351a1: Verifying Checksum [2021-05-20T20:43:56.166Z] df20fa9351a1: Download complete [2021-05-20T20:43:56.166Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T20:43:56.166Z] 93b9cdb0e59b: Download complete [2021-05-20T20:43:56.166Z] 93b61091891f: Verifying Checksum [2021-05-20T20:43:56.166Z] 93b61091891f: Download complete [2021-05-20T20:43:56.166Z] 5e14af77c1be: Verifying Checksum [2021-05-20T20:43:56.166Z] 5e14af77c1be: Download complete [2021-05-20T20:43:56.166Z] 01666e4c0597: Verifying Checksum [2021-05-20T20:43:56.166Z] 01666e4c0597: Download complete [2021-05-20T20:43:56.166Z] df20fa9351a1: Pull complete [2021-05-20T20:43:56.435Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T20:43:56.435Z] 8ad3a11d3b57: Download complete [2021-05-20T20:43:56.435Z] 36b3adc4ff6f: Pull complete [2021-05-20T20:43:57.016Z] 8ad3a11d3b57: Pull complete [2021-05-20T20:43:57.016Z] 46f8f816bc3b: Pull complete [2021-05-20T20:43:57.282Z] 93b61091891f: Pull complete [2021-05-20T20:43:57.282Z] 93b9cdb0e59b: Pull complete [2021-05-20T20:43:57.544Z] 5e14af77c1be: Pull complete [2021-05-20T20:43:57.544Z] 01666e4c0597: Pull complete [2021-05-20T20:43:58.123Z] aa168da1d23b: Verifying Checksum [2021-05-20T20:43:58.123Z] aa168da1d23b: Download complete [2021-05-20T20:44:02.348Z] aa168da1d23b: Pull complete [2021-05-20T20:44:02.609Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T20:44:02.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T20:44:02.609Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T20:44:02.781Z] prd-centos7-docker-4c-2g-15407 does not seem to be running inside a container [2021-05-20T20:44:02.818Z] $ 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/dgexfoundry_device-snmp-go_PR-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-98 -v /w/workspace/dgexfoundry_device-snmp-go_PR-98:/w/workspace/dgexfoundry_device-snmp-go_PR-98:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-20T20:44:09.895Z] $ docker top 10eb23194905a384a24aa6697f37cda24e1980fc3e00cf8db91f609679e54384 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T20:44:10.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T20:44:10.636Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T20:44:10.969Z] + ls /var/log/sa-host [2021-05-20T20:44:10.969Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T20:44:10.969Z] file_magic: OK [2021-05-20T20:44:10.969Z] HZ: Using current value: 100 [2021-05-20T20:44:10.969Z] file_header: OK [2021-05-20T20:44:10.969Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-20T20:44:10.969Z] Statistics: [2021-05-20T20:44:10.969Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T20:44:10.969Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T20:44:10.969Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T20:44:10.969Z] file_magic: OK [2021-05-20T20:44:10.969Z] HZ: Using current value: 100 [2021-05-20T20:44:10.969Z] file_header: OK [2021-05-20T20:44:10.969Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-20T20:44:10.969Z] Statistics: [2021-05-20T20:44:10.969Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T20:44:10.969Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T20:44:11.740Z] provisioning config files... [2021-05-20T20:44:11.759Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-98@tmp/config7397820473287158358tmp [Pipeline] { [Pipeline] echo [2021-05-20T20:44:11.826Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:44:12.163Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T20:44:12.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T20:44:12.286Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:44:12.625Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T20:44:12.658Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:44:12.992Z] ---> sudo-logs.sh [2021-05-20T20:44:12.992Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T20:44:13.086Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:44:13.422Z] ---> job-cost.sh [2021-05-20T20:44:13.423Z] lf-activate-venv: SKIPPING [2021-05-20T20:44:13.423Z] DEBUG: total: 0.18000000715255737 [2021-05-20T20:44:13.423Z] INFO: Retrieving Stack Cost... [2021-05-20T20:44:14.811Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T20:44:15.074Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T20:44:15.113Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T20:44:15.452Z] ---> logs-deploy.sh [2021-05-20T20:44:15.452Z] lf-activate-venv: SKIPPING [2021-05-20T20:44:15.452Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-98/1 [2021-05-20T20:44:15.452Z] INFO: archiving workspace using pattern(s): [2021-05-20T20:44:16.396Z] Archives upload complete. [2021-05-20T20:44:16.396Z] INFO: archiving logs to Nexus