Pull request #94 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 tonyespy for edgexfoundry/device-snmp-go Loading trusted files from base branch master at 0ab86073b0269e161c45419c6956d6e22a89cd28 rather than 029de773be3ee92d8a76ad39c20a2d8a6bd1decc Obtained Jenkinsfile from 0ab86073b0269e161c45419c6956d6e22a89cd28 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh 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-94/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 > 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 > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh 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-94/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4803’ is offline; ‘prd-centos7-docker-4c-2g-4804’ is offline; ‘prd-centos7-docker-4c-2g-4805’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4814 in /w/workspace/dgexfoundry_device-snmp-go_PR-94 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-94 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 029de773be3ee92d8a76ad39c20a2d8a6bd1decc Merge succeeded, producing 029de773be3ee92d8a76ad39c20a2d8a6bd1decc Checking out Revision 029de773be3ee92d8a76ad39c20a2d8a6bd1decc (PR-94) > git config core.sparsecheckout # timeout=10 > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 Commit message: "fix(build): update Dockerfiles to use go 1.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:09:28.881Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:09:29.243Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:09:29.377Z] ========================================================= [2021-05-12T20:09:29.377Z] EdgeX Global Pipelines Version Info [2021-05-12T20:09:29.377Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:09:31.171Z] ------------------- [2021-05-12T20:09:31.171Z] stable info: [2021-05-12T20:09:31.171Z] ------------------- [2021-05-12T20:09:31.171Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:09:31.171Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:09:31.171Z] Message: update stable to v1.0.192 [2021-05-12T20:09:32.129Z] ------------------- [2021-05-12T20:09:32.129Z] experimental info: [2021-05-12T20:09:32.129Z] ------------------- [2021-05-12T20:09:32.129Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:09:32.129Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:09:32.129Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:09:32.399Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-12T20:09:32.467Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-12T20:09:32.523Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:09:32.581Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:09:32.643Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:09:32.702Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:09:32.762Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:09:32.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:09:32.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:09:32.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:09:33.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:09:33.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-12T20:09:33.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:09:33.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:09:33.311Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:09:33.446Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:09:33.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:09:33.581Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:09:33.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:09:33.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T20:09:33.858Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:09:33.925Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:09:33.999Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:09:34.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:09:34.137Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:09:34.203Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:09:34.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo [2021-05-12T20:09:34.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo [2021-05-12T20:09:34.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo [2021-05-12T20:09:34.505Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 029de773be3ee92d8a76ad39c20a2d8a6bd1decc [Pipeline] echo [2021-05-12T20:09:34.580Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 029de77 [Pipeline] echo [2021-05-12T20:09:34.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:09:34.836Z] provisioning config files... [2021-05-12T20:09:34.885Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/config6690421957187966932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:09:35.292Z] ---> docker-login.sh [2021-05-12T20:09:35.292Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:09:35.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:35.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:35.829Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:35.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:35.829Z] [2021-05-12T20:09:35.829Z] Login Succeeded [2021-05-12T20:09:35.829Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:09:36.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:36.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:36.096Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:36.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:36.096Z] [2021-05-12T20:09:36.096Z] Login Succeeded [2021-05-12T20:09:36.096Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:09:36.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:36.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:36.361Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:36.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:36.361Z] [2021-05-12T20:09:36.361Z] Login Succeeded [2021-05-12T20:09:36.361Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:09:36.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:36.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:36.627Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:36.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:36.628Z] [2021-05-12T20:09:36.628Z] Login Succeeded [2021-05-12T20:09:36.628Z] docker.io [2021-05-12T20:09:36.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:37.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:37.213Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:37.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:37.213Z] [2021-05-12T20:09:37.213Z] Login Succeeded [2021-05-12T20:09:37.213Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:09:37.265Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:09:38.127Z] + git log --format=format:%s -1 029de773be3ee92d8a76ad39c20a2d8a6bd1decc [Pipeline] echo [2021-05-12T20:09:38.258Z] GIT_COMMIT: 029de773be3ee92d8a76ad39c20a2d8a6bd1decc, Commit Message: fix(build): update Dockerfiles to use go 1.16 [Pipeline] echo [2021-05-12T20:09:38.303Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:09:38.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:09:38.992Z] [2021-05-12T20:09:38.992Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:09:39.394Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:09:39.394Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:09:39.394Z] 31603596830f: Pulling fs layer [2021-05-12T20:09:39.394Z] 54011a49482f: Pulling fs layer [2021-05-12T20:09:39.394Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:09:39.394Z] f581987b2513: Pulling fs layer [2021-05-12T20:09:39.394Z] f581987b2513: Waiting [2021-05-12T20:09:39.394Z] 54011a49482f: Verifying Checksum [2021-05-12T20:09:39.394Z] 54011a49482f: Download complete [2021-05-12T20:09:39.660Z] 31603596830f: Verifying Checksum [2021-05-12T20:09:39.661Z] 31603596830f: Download complete [2021-05-12T20:09:39.661Z] f581987b2513: Verifying Checksum [2021-05-12T20:09:39.661Z] f581987b2513: Download complete [2021-05-12T20:09:39.661Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:09:39.661Z] a6820b24f6d8: Download complete [2021-05-12T20:09:40.244Z] 31603596830f: Pull complete [2021-05-12T20:09:40.244Z] 54011a49482f: Pull complete [2021-05-12T20:09:41.238Z] a6820b24f6d8: Pull complete [2021-05-12T20:09:41.505Z] f581987b2513: Pull complete [2021-05-12T20:09:41.808Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:09:41.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:09:41.808Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:09:42.078Z] prd-centos7-docker-4c-2g-4814 does not seem to be running inside a container [2021-05-12T20:09:42.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-94 -v /w/workspace/dgexfoundry_device-snmp-go_PR-94:/w/workspace/dgexfoundry_device-snmp-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-94@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:09:44.438Z] $ docker top fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:09:44.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:09:44.759Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:09:45.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:09:45.024Z] $ docker exec fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 ssh-agent [2021-05-12T20:09:45.203Z] SSH_AUTH_SOCK=/tmp/ssh-9Of3kQnWWicf/agent.12 [2021-05-12T20:09:45.203Z] SSH_AGENT_PID=17 [2021-05-12T20:09:45.216Z] Running ssh-add (command line suppressed) [2021-05-12T20:09:45.361Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/private_key_2547990806645119857.key (/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/private_key_2547990806645119857.key) [2021-05-12T20:09:45.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:09:45.789Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:09:45.828Z] $ docker exec --env ******** --env ******** fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 ssh-agent -k [2021-05-12T20:09:45.983Z] unset SSH_AUTH_SOCK; [2021-05-12T20:09:45.984Z] unset SSH_AGENT_PID; [2021-05-12T20:09:45.984Z] echo Agent pid 17 killed; [2021-05-12T20:09:46.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:09:46.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:09:46.126Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:09:46.309Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:09:46.315Z] $ docker exec fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 ssh-agent [2021-05-12T20:09:46.563Z] SSH_AUTH_SOCK=/tmp/ssh-QDwiGvzWN04R/agent.46 [2021-05-12T20:09:46.563Z] SSH_AGENT_PID=51 [2021-05-12T20:09:46.572Z] Running ssh-add (command line suppressed) [2021-05-12T20:09:46.713Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/private_key_215868840023813655.key (/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/private_key_215868840023813655.key) [2021-05-12T20:09:46.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:09:47.134Z] + git semver init [2021-05-12T20:09:47.134Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:09:47.134Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-94/.git [2021-05-12T20:09:47.134Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-94 [2021-05-12T20:09:47.134Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:09:47.134Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:09:47.134Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:09:47.134Z] # $SEMVER_BRANCH = PR-94 [2021-05-12T20:09:47.134Z] # $SEMVER_TEMP = /tmp/semver-857011128 [2021-05-12T20:09:47.134Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-12T20:09:47.400Z] # '/tmp/semver-857011128' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-94/.semver' [2021-05-12T20:09:47.400Z] # -> Force: false [2021-05-12T20:09:47.400Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-94/.semver [Pipeline] } [2021-05-12T20:09:47.434Z] $ docker exec --env ******** --env ******** fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 ssh-agent -k [2021-05-12T20:09:47.569Z] unset SSH_AUTH_SOCK; [2021-05-12T20:09:47.571Z] unset SSH_AGENT_PID; [2021-05-12T20:09:47.571Z] echo Agent pid 51 killed; [2021-05-12T20:09:47.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:09:48.117Z] + git semver [Pipeline] } [2021-05-12T20:09:48.166Z] $ docker stop --time=1 fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 [2021-05-12T20:09:49.579Z] $ docker rm -f fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:09:50.072Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:09:50.612Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:09:50.641Z] [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-12T20:10:06.212Z] Still waiting to schedule task [2021-05-12T20:10:06.212Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T20:10:06.246Z] Still waiting to schedule task [2021-05-12T20:10:06.246Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T20:11:53.174Z] Running on prd-centos7-docker-4c-2g-4829 in /w/workspace/dgexfoundry_device-snmp-go_PR-94 [Pipeline] { [Pipeline] ws [2021-05-12T20:11:53.236Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T20:11:57.667Z] using credential edgex-jenkins-ssh [2021-05-12T20:11:57.686Z] Cloning the remote Git repository [2021-05-12T20:11:57.773Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:11:57.872Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-12T20:11:58.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:11:58.001Z] > git --version # timeout=10 [2021-05-12T20:11:58.014Z] > git --version # 'git version 2.24.3' [2021-05-12T20:11:58.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:11:58.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:11:58.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-12T20:11:58.939Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:11:58.952Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-12T20:11:58.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:11:58.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:11:59.000Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:11:59.570Z] Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 029de773be3ee92d8a76ad39c20a2d8a6bd1decc [2021-05-12T20:11:59.873Z] Merge succeeded, producing 029de773be3ee92d8a76ad39c20a2d8a6bd1decc [2021-05-12T20:11:59.873Z] Checking out Revision 029de773be3ee92d8a76ad39c20a2d8a6bd1decc (PR-94) [2021-05-12T20:11:59.586Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:11:59.608Z] > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 [2021-05-12T20:11:59.721Z] > git remote # timeout=10 [2021-05-12T20:11:59.764Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:11:59.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:11:59.797Z] > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [2021-05-12T20:11:59.863Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:11:59.890Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:11:59.905Z] > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 [2021-05-12T20:12:04.288Z] Commit message: "fix(build): update Dockerfiles to use go 1.16" [2021-05-12T20:12:04.330Z] > git --version # timeout=10 [2021-05-12T20:12:04.349Z] > git --version # 'git version 2.24.3' [2021-05-12T20:12:04.357Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:12:05.787Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:12:06.167Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:12:06.515Z] + sudo service docker restart [2021-05-12T20:12:06.515Z] + true [2021-05-12T20:12:06.515Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:12:07.554Z] provisioning config files... [2021-05-12T20:12:07.598Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7526946473745722788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:12:08.053Z] ---> docker-login.sh [2021-05-12T20:12:08.053Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:12:08.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:12:08.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:12:08.591Z] Configure a credential helper to remove this warning. See [2021-05-12T20:12:08.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:12:08.591Z] [2021-05-12T20:12:08.591Z] Login Succeeded [2021-05-12T20:12:08.591Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:12:08.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:12:08.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:12:08.866Z] Configure a credential helper to remove this warning. See [2021-05-12T20:12:08.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:12:08.866Z] [2021-05-12T20:12:08.866Z] Login Succeeded [2021-05-12T20:12:08.866Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:12:08.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:12:09.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:12:09.129Z] Configure a credential helper to remove this warning. See [2021-05-12T20:12:09.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:12:09.129Z] [2021-05-12T20:12:09.129Z] Login Succeeded [2021-05-12T20:12:09.129Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:12:09.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:12:09.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:12:09.129Z] Configure a credential helper to remove this warning. See [2021-05-12T20:12:09.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:12:09.129Z] [2021-05-12T20:12:09.129Z] Login Succeeded [2021-05-12T20:12:09.392Z] docker.io [2021-05-12T20:12:09.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:12:09.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:12:09.654Z] Configure a credential helper to remove this warning. See [2021-05-12T20:12:09.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:12:09.654Z] [2021-05-12T20:12:09.654Z] Login Succeeded [2021-05-12T20:12:09.654Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:12:09.682Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:12:09.992Z] ========================================================= [2021-05-12T20:12:09.992Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:12:09.992Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:12:10.353Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T20:12:10.353Z] Sending build context to Docker daemon 359.4kB [2021-05-12T20:12:10.353Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:12:10.353Z] Step 2/10 : FROM ${BASE} [2021-05-12T20:12:10.628Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:12:10.628Z] 540db60ca938: Pulling fs layer [2021-05-12T20:12:10.628Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:12:10.628Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:12:10.628Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:12:10.628Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:12:10.628Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:12:10.628Z] f706445af74f: Pulling fs layer [2021-05-12T20:12:10.628Z] 7809a108b3ef: Waiting [2021-05-12T20:12:10.628Z] afea3b2eda06: Waiting [2021-05-12T20:12:10.628Z] 0510c868ecb4: Waiting [2021-05-12T20:12:10.628Z] f706445af74f: Waiting [2021-05-12T20:12:10.628Z] 4c4ab2625f07: Download complete [2021-05-12T20:12:10.628Z] adcc1eea9eea: Verifying Checksum [2021-05-12T20:12:10.628Z] adcc1eea9eea: Download complete [2021-05-12T20:12:10.628Z] afea3b2eda06: Verifying Checksum [2021-05-12T20:12:10.628Z] afea3b2eda06: Download complete [2021-05-12T20:12:10.628Z] 7809a108b3ef: Verifying Checksum [2021-05-12T20:12:10.628Z] 7809a108b3ef: Download complete [2021-05-12T20:12:10.628Z] 540db60ca938: Verifying Checksum [2021-05-12T20:12:10.628Z] 540db60ca938: Download complete [2021-05-12T20:12:10.902Z] 540db60ca938: Pull complete [2021-05-12T20:12:11.183Z] adcc1eea9eea: Pull complete [2021-05-12T20:12:11.461Z] 4c4ab2625f07: Pull complete [2021-05-12T20:12:12.421Z] f706445af74f: Verifying Checksum [2021-05-12T20:12:12.421Z] f706445af74f: Download complete [2021-05-12T20:12:13.836Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:12:13.836Z] 0510c868ecb4: Download complete [2021-05-12T20:12:20.499Z] 0510c868ecb4: Pull complete [2021-05-12T20:12:20.499Z] afea3b2eda06: Pull complete [2021-05-12T20:12:20.499Z] 7809a108b3ef: Pull complete [2021-05-12T20:12:28.871Z] f706445af74f: Pull complete [2021-05-12T20:12:28.871Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:12:28.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:12:28.871Z] ---> b068be0155e3 [2021-05-12T20:12:28.871Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-05-12T20:12:28.871Z] ---> Running in 3393d22a84e9 [2021-05-12T20:12:28.871Z] Removing intermediate container 3393d22a84e9 [2021-05-12T20:12:28.871Z] ---> a8e7c078fc82 [2021-05-12T20:12:28.871Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:12:28.871Z] ---> Running in fc6fbb22e619 [2021-05-12T20:12:28.871Z] Removing intermediate container fc6fbb22e619 [2021-05-12T20:12:28.871Z] ---> e905e0bf51a2 [2021-05-12T20:12:28.871Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-12T20:12:28.871Z] ---> Running in c5e6f875b57f [2021-05-12T20:12:28.871Z] Removing intermediate container c5e6f875b57f [2021-05-12T20:12:28.871Z] ---> 0e78ff85a4e5 [2021-05-12T20:12:28.871Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:12:28.871Z] ---> Running in 3231e9705a50 [2021-05-12T20:12:30.874Z] Removing intermediate container 3231e9705a50 [2021-05-12T20:12:30.874Z] ---> 3da8dc566218 [2021-05-12T20:12:30.874Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:12:30.874Z] ---> Running in a7bcdacaf76d [2021-05-12T20:12:31.898Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:12:32.870Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:12:33.519Z] OK: 149 MiB in 40 packages [2021-05-12T20:12:34.528Z] Removing intermediate container a7bcdacaf76d [2021-05-12T20:12:34.528Z] ---> c190312148a6 [2021-05-12T20:12:34.528Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-12T20:12:34.528Z] ---> Running in bb92e2b31942 [2021-05-12T20:12:34.819Z] Removing intermediate container bb92e2b31942 [2021-05-12T20:12:34.819Z] ---> 03ac437a3e53 [2021-05-12T20:12:34.819Z] Step 9/10 : COPY . . [2021-05-12T20:12:35.806Z] ---> eacf97b4c170 [2021-05-12T20:12:35.806Z] Step 10/10 : RUN go mod download [2021-05-12T20:12:35.806Z] ---> Running in d7691ee5ebcb [2021-05-12T20:12:47.836Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4832 in /w/workspace/dgexfoundry_device-snmp-go_PR-94 [Pipeline] { [Pipeline] ws [2021-05-12T20:12:47.905Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T20:12:54.857Z] using credential edgex-jenkins-ssh [2021-05-12T20:12:54.880Z] Cloning the remote Git repository [2021-05-12T20:12:54.952Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:12:55.085Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-12T20:12:55.266Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:12:55.267Z] > git --version # timeout=10 [2021-05-12T20:12:55.292Z] > git --version # 'git version 2.17.1' [2021-05-12T20:12:55.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:12:55.386Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:12:56.886Z] Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 029de773be3ee92d8a76ad39c20a2d8a6bd1decc [2021-05-12T20:12:56.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-12T20:12:56.197Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:12:56.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-12T20:12:56.294Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-12T20:12:56.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:12:56.311Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:12:56.912Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:12:56.938Z] > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 [2021-05-12T20:12:57.040Z] > git remote # timeout=10 [2021-05-12T20:12:57.070Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:12:57.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:12:57.154Z] Merge succeeded, producing 029de773be3ee92d8a76ad39c20a2d8a6bd1decc [2021-05-12T20:12:57.154Z] Checking out Revision 029de773be3ee92d8a76ad39c20a2d8a6bd1decc (PR-94) [2021-05-12T20:12:58.218Z] Removing intermediate container d7691ee5ebcb [2021-05-12T20:12:58.218Z] ---> c65183c4951e [2021-05-12T20:12:58.218Z] Successfully built c65183c4951e [2021-05-12T20:12:58.218Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:12:57.112Z] > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [2021-05-12T20:12:57.138Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:12:57.164Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:12:57.180Z] > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 [2021-05-12T20:12:58.608Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:12:58.608Z] . [Pipeline] withDockerContainer [2021-05-12T20:12:58.782Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2021-05-12T20:12:58.849Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-12T20:12:59.830Z] $ docker top 18a5c1af4d1cfd797cc07363e0f6fe0832d646e29a4973abd585719d89ff80c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:13:00.362Z] + go version [2021-05-12T20:13:00.362Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:13:00.421Z] $ docker stop --time=1 18a5c1af4d1cfd797cc07363e0f6fe0832d646e29a4973abd585719d89ff80c2 [2021-05-12T20:13:01.715Z] Commit message: "fix(build): update Dockerfiles to use go 1.16" [2021-05-12T20:13:01.793Z] > git --version # timeout=10 [2021-05-12T20:13:01.804Z] > git --version # 'git version 2.17.1' [2021-05-12T20:13:01.817Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:13:01.833Z] $ docker rm -f 18a5c1af4d1cfd797cc07363e0f6fe0832d646e29a4973abd585719d89ff80c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:13:02.912Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:13:02.912Z] . [Pipeline] withDockerContainer [2021-05-12T20:13:03.687Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2021-05-12T20:13:03.744Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-12T20:13:03.877Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-12T20:13:04.610Z] $ docker top 3ce56ffa74432d6bd406cc2be343b9ebc6493944f3fbe63707b37bace8909aca -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-12T20:13:05.160Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:13:05.235Z] + go mod tidy [Pipeline] sh [2021-05-12T20:13:05.529Z] + sudo service docker restart [2021-05-12T20:13:05.529Z] + true [2021-05-12T20:13:05.836Z] + make test [2021-05-12T20:13:05.836Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:13:06.439Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:13:08.266Z] provisioning config files... [2021-05-12T20:13:08.328Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7951613017375064945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:13:08.754Z] ---> docker-login.sh [2021-05-12T20:13:08.754Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:13:09.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:13:10.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:13:10.028Z] Configure a credential helper to remove this warning. See [2021-05-12T20:13:10.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:13:10.028Z] [2021-05-12T20:13:10.028Z] Login Succeeded [2021-05-12T20:13:10.028Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:13:10.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:13:10.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:13:10.626Z] Configure a credential helper to remove this warning. See [2021-05-12T20:13:10.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:13:10.626Z] [2021-05-12T20:13:10.626Z] Login Succeeded [2021-05-12T20:13:10.626Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:13:11.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:13:11.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:13:11.236Z] Configure a credential helper to remove this warning. See [2021-05-12T20:13:11.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:13:11.236Z] [2021-05-12T20:13:11.236Z] Login Succeeded [2021-05-12T20:13:11.236Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:13:11.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:13:11.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:13:11.839Z] Configure a credential helper to remove this warning. See [2021-05-12T20:13:11.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:13:11.839Z] [2021-05-12T20:13:11.839Z] Login Succeeded [2021-05-12T20:13:11.839Z] docker.io [2021-05-12T20:13:12.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:13:12.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:13:12.729Z] Configure a credential helper to remove this warning. See [2021-05-12T20:13:12.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:13:12.729Z] [2021-05-12T20:13:12.729Z] Login Succeeded [2021-05-12T20:13:12.729Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:13:12.764Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:13:13.236Z] ========================================================= [2021-05-12T20:13:13.236Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:13:13.236Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:13:13.628Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T20:13:13.906Z] Sending build context to Docker daemon 358.4kB [2021-05-12T20:13:13.906Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:13:13.906Z] Step 2/10 : FROM ${BASE} [2021-05-12T20:13:14.187Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:13:14.187Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:13:14.187Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:13:14.187Z] 316046926c0a: Pulling fs layer [2021-05-12T20:13:14.187Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:13:14.187Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:13:14.187Z] c791037a9be2: Pulling fs layer [2021-05-12T20:13:14.187Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:13:14.187Z] 4ebd0625c992: Waiting [2021-05-12T20:13:14.187Z] 207e8628e3a3: Waiting [2021-05-12T20:13:14.187Z] c791037a9be2: Waiting [2021-05-12T20:13:14.187Z] ffd874e62e21: Waiting [2021-05-12T20:13:14.187Z] 316046926c0a: Verifying Checksum [2021-05-12T20:13:14.187Z] 316046926c0a: Download complete [2021-05-12T20:13:14.187Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T20:13:14.187Z] 7186ed65a4f7: Download complete [2021-05-12T20:13:14.187Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:13:14.187Z] 207e8628e3a3: Download complete [2021-05-12T20:13:14.187Z] c791037a9be2: Verifying Checksum [2021-05-12T20:13:14.187Z] c791037a9be2: Download complete [2021-05-12T20:13:14.187Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:13:14.187Z] 595b0fe564bb: Download complete [2021-05-12T20:13:15.184Z] 595b0fe564bb: Pull complete [2021-05-12T20:13:15.803Z] 7186ed65a4f7: Pull complete [2021-05-12T20:13:16.082Z] 316046926c0a: Pull complete [2021-05-12T20:13:16.684Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:13:16.684Z] ffd874e62e21: Download complete [2021-05-12T20:13:17.671Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:13:17.671Z] 4ebd0625c992: Download complete [2021-05-12T20:13:24.855Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-12T20:13:24.855Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2021-05-12T20:13:24.855Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-12T20:13:27.882Z] 4ebd0625c992: Pull complete [2021-05-12T20:13:28.155Z] 207e8628e3a3: Pull complete [2021-05-12T20:13:28.431Z] c791037a9be2: Pull complete [2021-05-12T20:13:32.763Z] ffd874e62e21: Pull complete [2021-05-12T20:13:32.763Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:13:32.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:13:32.763Z] ---> cfc18b08335c [2021-05-12T20:13:32.763Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-05-12T20:13:33.251Z] gofmt -l . [2021-05-12T20:13:33.251Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:13:33.251Z] ./bin/test-attribution-txt.sh [2021-05-12T20:13:33.251Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:13:33.294Z] $ docker stop --time=1 3ce56ffa74432d6bd406cc2be343b9ebc6493944f3fbe63707b37bace8909aca [2021-05-12T20:13:35.377Z] ---> Running in 663b21f017ea [2021-05-12T20:13:35.884Z] $ docker rm -f 3ce56ffa74432d6bd406cc2be343b9ebc6493944f3fbe63707b37bace8909aca [2021-05-12T20:13:35.994Z] Removing intermediate container 663b21f017ea [2021-05-12T20:13:35.994Z] ---> 46f6f97dcf1b [2021-05-12T20:13:35.994Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:13:35.994Z] ---> Running in d9c3b4b6ddee [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:13:36.269Z] Removing intermediate container d9c3b4b6ddee [2021-05-12T20:13:36.269Z] ---> abf1267a06de [2021-05-12T20:13:36.269Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-12T20:13:36.531Z] + sudo chown -R jenkins:jenkins . [2021-05-12T20:13:36.541Z] ---> Running in 160ef54087cf [Pipeline] stash [2021-05-12T20:13:36.812Z] Removing intermediate container 160ef54087cf [2021-05-12T20:13:36.813Z] ---> fd2c06dddfd5 [2021-05-12T20:13:36.813Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:13:37.075Z] Stashed 1 file(s) [2021-05-12T20:13:37.086Z] ---> Running in 302e131739a6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T20:13:38.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:13:38.604Z] + ls -al . [2021-05-12T20:13:38.604Z] total 104 [2021-05-12T20:13:38.604Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 12 20:13 . [2021-05-12T20:13:38.604Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:11 .. [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 5082 May 12 20:11 Attribution.txt [2021-05-12T20:13:38.604Z] drwxrwxr-x. 2 jenkins jenkins 87 May 12 20:11 bin [2021-05-12T20:13:38.604Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:11 cmd [2021-05-12T20:13:38.604Z] -rw-r--r--. 1 jenkins jenkins 8493 May 12 20:13 coverage.out [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 1529 May 12 20:11 Dockerfile [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 1006 May 12 20:11 Dockerfile.build [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 6 May 12 20:11 .dockerignore [2021-05-12T20:13:38.604Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:12 .git [2021-05-12T20:13:38.604Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:11 .github [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 272 May 12 20:11 .gitignore [2021-05-12T20:13:38.604Z] -rw-r--r--. 1 jenkins jenkins 204 May 12 20:13 go.mod [2021-05-12T20:13:38.604Z] -rw-r--r--. 1 jenkins jenkins 14055 May 12 20:13 go.sum [2021-05-12T20:13:38.604Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:11 internal [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 656 May 12 20:11 Jenkinsfile [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:11 LICENSE [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 917 May 12 20:11 Makefile [2021-05-12T20:13:38.604Z] drwxrwxr-x. 2 jenkins jenkins 84 May 12 20:11 profiles [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 14171 May 12 20:11 README.md [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:09 VERSION [2021-05-12T20:13:38.604Z] -rw-rw-r--. 1 jenkins jenkins 209 May 12 20:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:13:38.953Z] + 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=029de773be3ee92d8a76ad39c20a2d8a6bd1decc --label arch=amd64 --label version=0.0.0 . [2021-05-12T20:13:39.107Z] Removing intermediate container 302e131739a6 [2021-05-12T20:13:39.107Z] ---> 2127edfa5bfc [2021-05-12T20:13:39.107Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:13:39.218Z] Sending build context to Docker daemon 368.6kB [2021-05-12T20:13:39.218Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:13:39.218Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-12T20:13:39.218Z] ---> c65183c4951e [2021-05-12T20:13:39.218Z] Step 3/26 : ARG MAKE='make build' [2021-05-12T20:13:39.218Z] ---> Running in 5626d222a56f [2021-05-12T20:13:39.379Z] ---> Running in 70cfaf5d623f [2021-05-12T20:13:39.481Z] Removing intermediate container 5626d222a56f [2021-05-12T20:13:39.481Z] ---> 224d3b5b5ae5 [2021-05-12T20:13:39.481Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-05-12T20:13:39.481Z] ---> Running in 4fe99879cbd7 [2021-05-12T20:13:39.750Z] Removing intermediate container 4fe99879cbd7 [2021-05-12T20:13:39.750Z] ---> 681bde1b9271 [2021-05-12T20:13:39.750Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:13:39.750Z] ---> Running in be6633d4c868 [2021-05-12T20:13:40.021Z] Removing intermediate container be6633d4c868 [2021-05-12T20:13:40.021Z] ---> 412850331b51 [2021-05-12T20:13:40.021Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:13:40.021Z] ---> Running in 56dbc0800fdb [2021-05-12T20:13:40.366Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:13:41.345Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:13:41.420Z] Removing intermediate container 56dbc0800fdb [2021-05-12T20:13:41.420Z] ---> 399a03d71d13 [2021-05-12T20:13:41.420Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:13:41.420Z] ---> Running in 792b9af3810e [2021-05-12T20:13:41.687Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:13:42.324Z] OK: 138 MiB in 40 packages [2021-05-12T20:13:42.637Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:13:43.225Z] OK: 149 MiB in 40 packages [2021-05-12T20:13:43.296Z] Removing intermediate container 70cfaf5d623f [2021-05-12T20:13:43.296Z] ---> f70a40270688 [2021-05-12T20:13:43.296Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-12T20:13:43.565Z] ---> Running in c3acd012b48d [2021-05-12T20:13:43.806Z] Removing intermediate container 792b9af3810e [2021-05-12T20:13:43.806Z] ---> fb818bec82d7 [2021-05-12T20:13:43.806Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-05-12T20:13:43.806Z] ---> Running in a0024fbc7967 [2021-05-12T20:13:44.077Z] Removing intermediate container a0024fbc7967 [2021-05-12T20:13:44.077Z] ---> 4339354a5274 [2021-05-12T20:13:44.077Z] Step 9/26 : COPY go.mod . [2021-05-12T20:13:44.159Z] Removing intermediate container c3acd012b48d [2021-05-12T20:13:44.159Z] ---> e8b6698204a8 [2021-05-12T20:13:44.159Z] Step 9/10 : COPY . . [2021-05-12T20:13:44.342Z] ---> 026b4231b4d1 [2021-05-12T20:13:44.342Z] Step 10/26 : COPY Makefile . [2021-05-12T20:13:44.609Z] ---> 5bc376fd37aa [2021-05-12T20:13:44.609Z] Step 11/26 : RUN make update [2021-05-12T20:13:44.609Z] ---> Running in 37c8b120d977 [2021-05-12T20:13:44.756Z] ---> 63b0cf58732d [2021-05-12T20:13:44.756Z] Step 10/10 : RUN go mod download [2021-05-12T20:13:45.028Z] ---> Running in 1be9924ec716 [2021-05-12T20:13:45.190Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T20:13:45.782Z] Removing intermediate container 37c8b120d977 [2021-05-12T20:13:45.782Z] ---> d3072236d316 [2021-05-12T20:13:45.782Z] Step 12/26 : COPY . . [2021-05-12T20:13:46.730Z] ---> a1d89efc3f53 [2021-05-12T20:13:46.730Z] Step 13/26 : RUN ${MAKE} [2021-05-12T20:13:46.730Z] ---> Running in 551296f22ac2 [2021-05-12T20:13:47.307Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd [2021-05-12T20:13:59.836Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-05-12T20:14:03.233Z] Removing intermediate container 551296f22ac2 [2021-05-12T20:14:03.233Z] ---> 82f554474eaf [2021-05-12T20:14:03.233Z] Step 14/26 : FROM alpine:3.12 [2021-05-12T20:14:03.233Z] 3.12: Pulling from library/alpine [2021-05-12T20:14:03.516Z] 339de151aab4: Pulling fs layer [2021-05-12T20:14:03.516Z] 339de151aab4: Verifying Checksum [2021-05-12T20:14:03.516Z] 339de151aab4: Download complete [2021-05-12T20:14:04.102Z] 339de151aab4: Pull complete [2021-05-12T20:14:04.102Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:14:04.102Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:14:04.102Z] ---> 13621d1b12d4 [2021-05-12T20:14:04.102Z] Step 15/26 : ENV APP_PORT=49993 [2021-05-12T20:14:04.366Z] ---> Running in 40f860d4ddd6 [2021-05-12T20:14:04.366Z] Removing intermediate container 40f860d4ddd6 [2021-05-12T20:14:04.366Z] ---> 5c3f3a9ac963 [2021-05-12T20:14:04.366Z] Step 16/26 : EXPOSE $APP_PORT [2021-05-12T20:14:04.631Z] ---> Running in bde366000014 [2021-05-12T20:14:04.631Z] Removing intermediate container bde366000014 [2021-05-12T20:14:04.631Z] ---> 89237fe8105c [2021-05-12T20:14:04.631Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-05-12T20:14:04.631Z] ---> Running in b2dc6b8fa101 [2021-05-12T20:14:04.894Z] Removing intermediate container b2dc6b8fa101 [2021-05-12T20:14:04.894Z] ---> a24ed161d021 [2021-05-12T20:14:04.894Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-05-12T20:14:04.894Z] ---> Running in a2b6c08f6ab5 [2021-05-12T20:14:05.173Z] Removing intermediate container a2b6c08f6ab5 [2021-05-12T20:14:05.173Z] ---> 9e3fee571abd [2021-05-12T20:14:05.173Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-05-12T20:14:05.761Z] ---> ef376e6e1434 [2021-05-12T20:14:05.761Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-05-12T20:14:06.029Z] ---> ae1bdbd08305 [2021-05-12T20:14:06.029Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-05-12T20:14:06.616Z] ---> 02c3b25d0b43 [2021-05-12T20:14:06.616Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-05-12T20:14:06.616Z] ---> Running in 238bd7c53c3d [2021-05-12T20:14:06.616Z] Removing intermediate container 238bd7c53c3d [2021-05-12T20:14:06.616Z] ---> fb7a2c2354fa [2021-05-12T20:14:06.616Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T20:14:06.878Z] ---> Running in 7c83a309cf79 [2021-05-12T20:14:06.878Z] Removing intermediate container 7c83a309cf79 [2021-05-12T20:14:06.878Z] ---> 8c14780f3172 [2021-05-12T20:14:06.878Z] Step 24/26 : LABEL arch=amd64 [2021-05-12T20:14:07.143Z] ---> Running in 517b28225102 [2021-05-12T20:14:07.143Z] Removing intermediate container 517b28225102 [2021-05-12T20:14:07.143Z] ---> 7564e8c98c98 [2021-05-12T20:14:07.143Z] Step 25/26 : LABEL git_sha=029de773be3ee92d8a76ad39c20a2d8a6bd1decc [2021-05-12T20:14:07.413Z] ---> Running in c77701cd6dba [2021-05-12T20:14:07.413Z] Removing intermediate container c77701cd6dba [2021-05-12T20:14:07.413Z] ---> 137a92f7efd8 [2021-05-12T20:14:07.413Z] Step 26/26 : LABEL version=0.0.0 [2021-05-12T20:14:07.413Z] ---> Running in 017eed9ddb15 [2021-05-12T20:14:07.676Z] Removing intermediate container 017eed9ddb15 [2021-05-12T20:14:07.676Z] ---> 062a2407237b [2021-05-12T20:14:07.676Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:14:07.676Z] Successfully built 062a2407237b [2021-05-12T20:14:07.676Z] 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 [2021-05-12T20:14:08.483Z] ---> job-cost.sh [2021-05-12T20:14:08.483Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MzrK [2021-05-12T20:14:11.876Z] Removing intermediate container 1be9924ec716 [2021-05-12T20:14:11.876Z] ---> 27a131c8794e [2021-05-12T20:14:11.876Z] Successfully built 27a131c8794e [2021-05-12T20:14:11.876Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:14:12.273Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:14:12.273Z] . [Pipeline] withDockerContainer [2021-05-12T20:14:12.539Z] prd-ubuntu18.04-docker-arm64-4c-16g-4832 does not seem to be running inside a container [2021-05-12T20:14:12.630Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-12T20:14:14.106Z] $ docker top 4deed57b0cf2eed4c82cf4c104e9cf816eea1e5779233c3252cce96721a4ec21 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:14:15.102Z] + go version [2021-05-12T20:14:15.102Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:14:15.140Z] $ docker stop --time=1 4deed57b0cf2eed4c82cf4c104e9cf816eea1e5779233c3252cce96721a4ec21 [2021-05-12T20:14:17.033Z] $ docker rm -f 4deed57b0cf2eed4c82cf4c104e9cf816eea1e5779233c3252cce96721a4ec21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:14:17.960Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:14:17.960Z] . [Pipeline] withDockerContainer [2021-05-12T20:14:18.233Z] prd-ubuntu18.04-docker-arm64-4c-16g-4832 does not seem to be running inside a container [2021-05-12T20:14:18.335Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-12T20:14:19.948Z] $ docker top 6c9498e30bf095baccebb8fcd8ac54fd997ce0fa78d91af1375a85bb17f5125c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:14:21.185Z] + go mod tidy [Pipeline] sh [2021-05-12T20:14:22.497Z] + make test [2021-05-12T20:14:22.497Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:14:23.493Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-12T20:14:26.672Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:14:58.904Z] lf-activate-venv(): INFO: Adding /tmp/venv-MzrK/bin to PATH [2021-05-12T20:14:58.904Z] INFO: No Stack... [2021-05-12T20:14:58.904Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:14:58.904Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:14:59.249Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-12T20:14:59.250Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:14:59.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [2021-05-12T20:14:59.379Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] did not exist. Created. [2021-05-12T20:14:59.379Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:14:59.801Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:14:59.960Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:14:59.980Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:15:10.713Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-12T20:15:10.713Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements [2021-05-12T20:15:10.713Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-12T20:15:33.055Z] gofmt -l . [2021-05-12T20:15:33.055Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:15:33.055Z] ./bin/test-attribution-txt.sh [2021-05-12T20:15:33.055Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:15:33.095Z] $ docker stop --time=1 6c9498e30bf095baccebb8fcd8ac54fd997ce0fa78d91af1375a85bb17f5125c [2021-05-12T20:15:35.248Z] $ docker rm -f 6c9498e30bf095baccebb8fcd8ac54fd997ce0fa78d91af1375a85bb17f5125c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:15:36.165Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:15:36.206Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:15:36.954Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:15:37.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:15:37.950Z] + ls -al . [2021-05-12T20:15:37.951Z] total 132 [2021-05-12T20:15:37.951Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:15 . [2021-05-12T20:15:37.951Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:12 .. [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 6 May 12 20:12 .dockerignore [2021-05-12T20:15:37.951Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:13 .git [2021-05-12T20:15:37.951Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:12 .github [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 272 May 12 20:12 .gitignore [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 5082 May 12 20:12 Attribution.txt [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 1529 May 12 20:12 Dockerfile [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 1006 May 12 20:12 Dockerfile.build [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 656 May 12 20:12 Jenkinsfile [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:12 LICENSE [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 917 May 12 20:12 Makefile [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 14171 May 12 20:12 README.md [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:09 VERSION [2021-05-12T20:15:37.951Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:12 bin [2021-05-12T20:15:37.951Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:12 cmd [2021-05-12T20:15:37.951Z] -rw-r--r-- 1 jenkins jenkins 8493 May 12 20:15 coverage.out [2021-05-12T20:15:37.951Z] -rw-r--r-- 1 jenkins jenkins 204 May 12 20:15 go.mod [2021-05-12T20:15:37.951Z] -rw-r--r-- 1 jenkins jenkins 14055 May 12 20:14 go.sum [2021-05-12T20:15:37.951Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:12 internal [2021-05-12T20:15:37.951Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:12 profiles [2021-05-12T20:15:37.951Z] -rw-rw-r-- 1 jenkins jenkins 209 May 12 20:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:38.334Z] + 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=029de773be3ee92d8a76ad39c20a2d8a6bd1decc --label arch=arm64 --label version=0.0.0 . [2021-05-12T20:15:38.619Z] Sending build context to Docker daemon 367.6kB [2021-05-12T20:15:38.619Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:15:38.619Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-12T20:15:38.619Z] ---> 27a131c8794e [2021-05-12T20:15:38.619Z] Step 3/26 : ARG MAKE='make build' [2021-05-12T20:15:38.896Z] ---> Running in 4026c1852e91 [2021-05-12T20:15:39.497Z] Removing intermediate container 4026c1852e91 [2021-05-12T20:15:39.497Z] ---> dfbc29fbd678 [2021-05-12T20:15:39.497Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-05-12T20:15:39.497Z] ---> Running in 1f821dc92de4 [2021-05-12T20:15:40.093Z] Removing intermediate container 1f821dc92de4 [2021-05-12T20:15:40.093Z] ---> b7f9c9ca4a2d [2021-05-12T20:15:40.093Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:15:40.093Z] ---> Running in 6fe37c4a5dd5 [2021-05-12T20:15:40.692Z] Removing intermediate container 6fe37c4a5dd5 [2021-05-12T20:15:40.692Z] ---> b3341c7d4bc2 [2021-05-12T20:15:40.692Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:15:40.692Z] ---> Running in ff06ce34ae3c [2021-05-12T20:15:43.338Z] Removing intermediate container ff06ce34ae3c [2021-05-12T20:15:43.338Z] ---> 048916876c04 [2021-05-12T20:15:43.338Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:15:43.338Z] ---> Running in 0931e8d5a743 [2021-05-12T20:15:44.326Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:15:45.310Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:15:46.319Z] OK: 138 MiB in 40 packages [2021-05-12T20:15:47.304Z] Removing intermediate container 0931e8d5a743 [2021-05-12T20:15:47.304Z] ---> 95b50d187999 [2021-05-12T20:15:47.304Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-05-12T20:15:47.579Z] ---> Running in 3d75e5557e7c [2021-05-12T20:15:48.175Z] Removing intermediate container 3d75e5557e7c [2021-05-12T20:15:48.175Z] ---> 7786edc80b9f [2021-05-12T20:15:48.175Z] Step 9/26 : COPY go.mod . [2021-05-12T20:15:48.774Z] ---> 4ea1ba0a09fe [2021-05-12T20:15:48.774Z] Step 10/26 : COPY Makefile . [2021-05-12T20:15:49.370Z] ---> daffd3a904ae [2021-05-12T20:15:49.370Z] Step 11/26 : RUN make update [2021-05-12T20:15:49.644Z] ---> Running in 0779c6f84684 [2021-05-12T20:15:51.078Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T20:15:52.056Z] Removing intermediate container 0779c6f84684 [2021-05-12T20:15:52.056Z] ---> 8c7e362ac938 [2021-05-12T20:15:52.056Z] Step 12/26 : COPY . . [2021-05-12T20:15:53.040Z] ---> 8d80f92e3155 [2021-05-12T20:15:53.040Z] Step 13/26 : RUN ${MAKE} [2021-05-12T20:15:53.315Z] ---> Running in 05f6ea4b1b85 [2021-05-12T20:15:54.301Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd [2021-05-12T20:16:26.681Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-05-12T20:16:27.657Z] Removing intermediate container 05f6ea4b1b85 [2021-05-12T20:16:27.657Z] ---> 3bc87f98a779 [2021-05-12T20:16:27.657Z] Step 14/26 : FROM alpine:3.12 [2021-05-12T20:16:27.929Z] 3.12: Pulling from library/alpine [2021-05-12T20:16:28.199Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:16:28.199Z] d2f70382dc9a: Verifying Checksum [2021-05-12T20:16:28.793Z] d2f70382dc9a: Pull complete [2021-05-12T20:16:28.793Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:16:28.793Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:16:28.793Z] ---> 9852663dfa18 [2021-05-12T20:16:28.793Z] Step 15/26 : ENV APP_PORT=49993 [2021-05-12T20:16:29.068Z] ---> Running in a6155859a0f2 [2021-05-12T20:16:29.666Z] Removing intermediate container a6155859a0f2 [2021-05-12T20:16:29.666Z] ---> 3eb443bb66c7 [2021-05-12T20:16:29.666Z] Step 16/26 : EXPOSE $APP_PORT [2021-05-12T20:16:29.666Z] ---> Running in ca180cd7dbb1 [2021-05-12T20:16:30.265Z] Removing intermediate container ca180cd7dbb1 [2021-05-12T20:16:30.265Z] ---> f72c8e3f4d32 [2021-05-12T20:16:30.265Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-05-12T20:16:30.265Z] ---> Running in b26a9ab250cf [2021-05-12T20:16:30.862Z] Removing intermediate container b26a9ab250cf [2021-05-12T20:16:30.862Z] ---> ee5ae174ee5f [2021-05-12T20:16:30.862Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-05-12T20:16:30.862Z] ---> Running in befafb5bced8 [2021-05-12T20:16:31.457Z] Removing intermediate container befafb5bced8 [2021-05-12T20:16:31.457Z] ---> 197f3a94f713 [2021-05-12T20:16:31.457Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-05-12T20:16:32.440Z] ---> 7e03d5c6f28e [2021-05-12T20:16:32.440Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-05-12T20:16:33.416Z] ---> f852143de4c2 [2021-05-12T20:16:33.416Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-05-12T20:16:34.008Z] ---> 277d8c3b44f5 [2021-05-12T20:16:34.008Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-05-12T20:16:34.281Z] ---> Running in 29c065b2896b [2021-05-12T20:16:34.553Z] Removing intermediate container 29c065b2896b [2021-05-12T20:16:34.553Z] ---> 9b921f3f3d7b [2021-05-12T20:16:34.553Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T20:16:34.827Z] ---> Running in 0fa76837c5d6 [2021-05-12T20:16:35.099Z] Removing intermediate container 0fa76837c5d6 [2021-05-12T20:16:35.099Z] ---> d436b756db43 [2021-05-12T20:16:35.099Z] Step 24/26 : LABEL arch=arm64 [2021-05-12T20:16:35.372Z] ---> Running in 8667fd05e187 [2021-05-12T20:16:35.646Z] Removing intermediate container 8667fd05e187 [2021-05-12T20:16:35.646Z] ---> 8535dbcf9ccf [2021-05-12T20:16:35.646Z] Step 25/26 : LABEL git_sha=029de773be3ee92d8a76ad39c20a2d8a6bd1decc [2021-05-12T20:16:35.922Z] ---> Running in 86ad5c3f929b [2021-05-12T20:16:36.199Z] Removing intermediate container 86ad5c3f929b [2021-05-12T20:16:36.199Z] ---> bd4e963d080f [2021-05-12T20:16:36.199Z] Step 26/26 : LABEL version=0.0.0 [2021-05-12T20:16:36.473Z] ---> Running in e2abbe9b13ba [2021-05-12T20:16:36.747Z] Removing intermediate container e2abbe9b13ba [2021-05-12T20:16:37.020Z] ---> 3abcb867f25b [2021-05-12T20:16:37.021Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:16:37.021Z] Successfully built 3abcb867f25b [2021-05-12T20:16:37.021Z] 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-12T20:16:37.701Z] ---> job-cost.sh [2021-05-12T20:16:37.701Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wGMF [2021-05-12T20:17:24.633Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:18:46.381Z] lf-activate-venv(): INFO: Adding /tmp/venv-wGMF/bin to PATH [2021-05-12T20:18:46.381Z] INFO: No Stack... [2021-05-12T20:18:46.381Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:18:46.381Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:18:46.737Z] + cut -d, -f6 [2021-05-12T20:18:46.737Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-05-12T20:18:46.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [2021-05-12T20:18:46.879Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] did not exist. Created. [2021-05-12T20:18:46.879Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:18:47.318Z] /w/workspace/device-snmp-go/1@tmp/durable-4501b780/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-4501b780/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:18:47.694Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:18:47.736Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:18:47.884Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:18:47.907Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-94-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] wrap [2021-05-12T20:18:48.788Z] provisioning config files... [2021-05-12T20:18:48.808Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/config4785860362828976561tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:18:49.246Z] + set +x [2021-05-12T20:18:49.246Z] + curl -s https://codecov.io/bash [2021-05-12T20:18:49.246Z] + bash -s -- [2021-05-12T20:18:49.510Z] [2021-05-12T20:18:49.510Z] _____ _ [2021-05-12T20:18:49.510Z] / ____| | | [2021-05-12T20:18:49.511Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:18:49.511Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:18:49.511Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:18:49.511Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:18:49.511Z] Bash-1.0.2 [2021-05-12T20:18:49.511Z] [2021-05-12T20:18:49.511Z] [2021-05-12T20:18:49.511Z] ==> git version 2.24.3 found [2021-05-12T20:18:49.511Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-12T20:18:49.511Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:18:49.511Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:18:49.511Z] ==> Jenkins CI detected. [2021-05-12T20:18:49.511Z] project root: . [2021-05-12T20:18:49.511Z] --> token set from env [2021-05-12T20:18:49.511Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:18:49.511Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:18:49.511Z] ==> Python coveragepy not found [2021-05-12T20:18:49.511Z] ==> Searching for coverage reports in: [2021-05-12T20:18:49.511Z] + . [2021-05-12T20:18:49.511Z] -> Found 1 reports [2021-05-12T20:18:49.511Z] ==> Detecting git/mercurial file structure [2021-05-12T20:18:49.511Z] ==> Reading reports [2021-05-12T20:18:49.511Z] + ./coverage.out bytes=8493 [2021-05-12T20:18:49.511Z] ==> Appending adjustments [2021-05-12T20:18:49.511Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:18:49.511Z] + Found adjustments [2021-05-12T20:18:49.511Z] ==> Gzipping contents [2021-05-12T20:18:49.511Z] 4.0K /tmp/codecov.UlVPke.gz [2021-05-12T20:18:49.511Z] ==> Uploading reports [2021-05-12T20:18:49.511Z] url: https://codecov.io [2021-05-12T20:18:49.511Z] query: branch=PR-94&commit=029de773be3ee92d8a76ad39c20a2d8a6bd1decc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=94&job=&cmd_args= [2021-05-12T20:18:49.774Z] -> Pinging Codecov [2021-05-12T20:18:49.774Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-94&commit=029de773be3ee92d8a76ad39c20a2d8a6bd1decc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=94&job=&cmd_args= [2021-05-12T20:18:50.036Z] -> Uploading to [2021-05-12T20:18:50.036Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/6C56EA5C29638FB4528AC87E60AF5AE0/029de773be3ee92d8a76ad39c20a2d8a6bd1decc/4ab4c163-0837-432c-88d7-aa1212bcd3bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T201849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5aadc314802fd9a0c948ec73bdf6245540c34004ff38a49c4f781fe67a31bbb2 [2021-05-12T20:18:50.036Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:18:50.036Z] Dload Upload Total Spent Left Speed [2021-05-12T20:18:50.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 3228 --:--:-- --:--:-- --:--:-- 3229 100 1447 0 0 100 1447 0 3226 --:--:-- --:--:-- --:--:-- 3222 [2021-05-12T20:18:50.612Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/029de773be3ee92d8a76ad39c20a2d8a6bd1decc [Pipeline] } [2021-05-12T20:18:50.636Z] Deleting 1 temporary files [Pipeline] // wrap [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-12T20:18:52.563Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:18:53.230Z] ---> package-listing.sh [2021-05-12T20:18:53.230Z] ++ facter osfamily [2021-05-12T20:18:53.230Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:18:53.230Z] + OS_FAMILY=redhat [2021-05-12T20:18:53.230Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-94 [2021-05-12T20:18:53.230Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:18:53.230Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:18:53.230Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:18:53.230Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:18:53.230Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-94 ']' [2021-05-12T20:18:53.230Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:18:53.230Z] + case "${OS_FAMILY}" in [2021-05-12T20:18:53.230Z] + rpm -qa [2021-05-12T20:18:53.230Z] + sort [2021-05-12T20:18:58.583Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:18:58.583Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:18:58.583Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:18:58.583Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-94 ']' [2021-05-12T20:18:58.583Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-94/archives/ [2021-05-12T20:18:58.583Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-94/archives/ [Pipeline] echo [2021-05-12T20:18:58.624Z] 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-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T20:18:58.951Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:18:59.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:18:59.288Z] [2021-05-12T20:18:59.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:18:59.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:18:59.662Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:18:59.662Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:18:59.662Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:18:59.662Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:18:59.662Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:18:59.662Z] 93b61091891f: Pulling fs layer [2021-05-12T20:18:59.662Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:18:59.662Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:18:59.662Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:18:59.662Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:18:59.662Z] 93b61091891f: Waiting [2021-05-12T20:18:59.662Z] 93b9cdb0e59b: Waiting [2021-05-12T20:18:59.662Z] 5e14af77c1be: Waiting [2021-05-12T20:18:59.662Z] 01666e4c0597: Waiting [2021-05-12T20:18:59.662Z] aa168da1d23b: Waiting [2021-05-12T20:18:59.662Z] 46f8f816bc3b: Waiting [2021-05-12T20:18:59.662Z] 36b3adc4ff6f: Download complete [2021-05-12T20:18:59.662Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T20:18:59.662Z] 46f8f816bc3b: Download complete [2021-05-12T20:18:59.662Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:18:59.662Z] df20fa9351a1: Download complete [2021-05-12T20:18:59.931Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:18:59.931Z] 93b9cdb0e59b: Download complete [2021-05-12T20:18:59.931Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:18:59.931Z] 5e14af77c1be: Download complete [2021-05-12T20:18:59.931Z] 93b61091891f: Verifying Checksum [2021-05-12T20:18:59.931Z] 93b61091891f: Download complete [2021-05-12T20:18:59.931Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:18:59.931Z] 01666e4c0597: Download complete [2021-05-12T20:18:59.931Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:18:59.931Z] 8ad3a11d3b57: Download complete [2021-05-12T20:19:00.198Z] df20fa9351a1: Pull complete [2021-05-12T20:19:00.469Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:19:01.890Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:19:01.890Z] 46f8f816bc3b: Pull complete [2021-05-12T20:19:01.890Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:19:01.890Z] aa168da1d23b: Download complete [2021-05-12T20:19:02.157Z] 93b61091891f: Pull complete [2021-05-12T20:19:02.157Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:19:02.424Z] 5e14af77c1be: Pull complete [2021-05-12T20:19:02.424Z] 01666e4c0597: Pull complete [2021-05-12T20:19:10.667Z] aa168da1d23b: Pull complete [2021-05-12T20:19:10.667Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:19:10.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:19:10.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:19:10.954Z] prd-centos7-docker-4c-2g-4814 does not seem to be running inside a container [2021-05-12T20:19:11.012Z] $ 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-94/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-94 -v /w/workspace/dgexfoundry_device-snmp-go_PR-94:/w/workspace/dgexfoundry_device-snmp-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-94@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T20:19:14.187Z] $ docker top 1a29c2f0b94785ecce21085e24249421bec6f49530508a8c39ecc22d384a77f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:19:14.715Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:19:15.061Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:19:15.395Z] + ls /var/log/sa-host [2021-05-12T20:19:15.395Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:19:15.395Z] file_magic: OK [2021-05-12T20:19:15.395Z] HZ: Using current value: 100 [2021-05-12T20:19:15.395Z] file_header: OK [2021-05-12T20:19:15.395Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T20:19:15.395Z] Statistics: [2021-05-12T20:19:15.395Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T20:19:15.395Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:19:15.395Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:19:15.395Z] file_magic: OK [2021-05-12T20:19:15.395Z] HZ: Using current value: 100 [2021-05-12T20:19:15.395Z] file_header: OK [2021-05-12T20:19:15.395Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T20:19:15.395Z] Statistics: [2021-05-12T20:19:15.395Z] Hnuu...uuuununununu... [2021-05-12T20:19:15.395Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:19:15.615Z] provisioning config files... [2021-05-12T20:19:15.629Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/config6151284546290742494tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:19:15.689Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:16.032Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:19:16.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:19:16.151Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:16.486Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:19:16.515Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:16.850Z] ---> sudo-logs.sh [2021-05-12T20:19:16.850Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:19:17.007Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:17.340Z] ---> job-cost.sh [2021-05-12T20:19:17.340Z] lf-activate-venv: SKIPPING [2021-05-12T20:19:17.340Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:19:17.340Z] INFO: Retrieving Stack Cost... [2021-05-12T20:19:18.733Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:19:19.321Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:19:19.375Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:19.735Z] ---> logs-deploy.sh [2021-05-12T20:19:19.735Z] lf-activate-venv: SKIPPING [2021-05-12T20:19:19.735Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-94/1 [2021-05-12T20:19:19.735Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:19:21.660Z] Archives upload complete. [2021-05-12T20:19:21.660Z] INFO: archiving logs to Nexus