Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 8bb32805f03fb28af25e69a0648a2076882556f1 rather than 0226cd85567f66670c45d107f3711c83387ff73f Obtained Jenkinsfile from 8bb32805f03fb28af25e69a0648a2076882556f1 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2152781715891323111.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6615405496483113245.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6114721404774025540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh455095556247578506.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8289762536755716890.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4472391384899957229.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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 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_BUILD_IMAGE_TARGET: builder 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-7 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-127 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh6071163301991721820.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh7621361573964907958.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0226cd85567f66670c45d107f3711c83387ff73f Merge succeeded, producing 0226cd85567f66670c45d107f3711c83387ff73f Checking out Revision 0226cd85567f66670c45d107f3711c83387ff73f (PR-127) > git config core.sparsecheckout # timeout=10 > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh3747109774427297560.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 Commit message: "feat(snap): add initial snap packaging (part 2)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T17:33:30.000Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T17:33:30.137Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T17:33:30.214Z] ========================================================= [2021-10-28T17:33:30.214Z] EdgeX Global Pipelines Version Info [2021-10-28T17:33:30.214Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:33:31.383Z] ------------------- [2021-10-28T17:33:31.383Z] stable info: [2021-10-28T17:33:31.383Z] ------------------- [2021-10-28T17:33:31.383Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T17:33:31.383Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T17:33:31.383Z] Message: update stable to v1.0.210 [2021-10-28T17:33:31.952Z] ------------------- [2021-10-28T17:33:31.953Z] experimental info: [2021-10-28T17:33:31.953Z] ------------------- [2021-10-28T17:33:31.953Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T17:33:31.953Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T17:33:31.953Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T17:33:32.122Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-10-28T17:33:32.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-10-28T17:33:32.198Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T17:33:32.237Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T17:33:32.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T17:33:32.322Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T17:33:32.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T17:33:32.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-28T17:33:32.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T17:33:32.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T17:33:32.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T17:33:32.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-10-28T17:33:32.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T17:33:32.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T17:33:32.666Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T17:33:32.705Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T17:33:32.744Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T17:33:32.780Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T17:33:32.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T17:33:32.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T17:33:32.890Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-28T17:33:32.929Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-28T17:33:32.963Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T17:33:33.011Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T17:33:33.052Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T17:33:33.086Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T17:33:33.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-10-28T17:33:33.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-10-28T17:33:33.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-10-28T17:33:33.241Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0226cd85567f66670c45d107f3711c83387ff73f [Pipeline] echo [2021-10-28T17:33:33.277Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0226cd8 [Pipeline] echo [2021-10-28T17:33:33.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:33:33.407Z] provisioning config files... [2021-10-28T17:33:33.426Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config902191512497475883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:33:33.783Z] ---> docker-login.sh [2021-10-28T17:33:33.783Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:33:33.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:33:34.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:33:34.047Z] Configure a credential helper to remove this warning. See [2021-10-28T17:33:34.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:33:34.047Z] [2021-10-28T17:33:34.047Z] Login Succeeded [2021-10-28T17:33:34.047Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:33:34.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:33:34.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:33:34.047Z] Configure a credential helper to remove this warning. See [2021-10-28T17:33:34.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:33:34.047Z] [2021-10-28T17:33:34.047Z] Login Succeeded [2021-10-28T17:33:34.047Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:33:34.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:33:34.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:33:34.307Z] Configure a credential helper to remove this warning. See [2021-10-28T17:33:34.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:33:34.307Z] [2021-10-28T17:33:34.307Z] Login Succeeded [2021-10-28T17:33:34.307Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:33:34.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:33:34.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:33:34.307Z] Configure a credential helper to remove this warning. See [2021-10-28T17:33:34.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:33:34.307Z] [2021-10-28T17:33:34.307Z] Login Succeeded [2021-10-28T17:33:34.307Z] docker.io [2021-10-28T17:33:34.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:33:34.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:33:34.570Z] Configure a credential helper to remove this warning. See [2021-10-28T17:33:34.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:33:34.570Z] [2021-10-28T17:33:34.570Z] Login Succeeded [2021-10-28T17:33:34.570Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:33:34.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T17:33:35.414Z] + git log --format=format:%s -1 0226cd85567f66670c45d107f3711c83387ff73f [Pipeline] echo [2021-10-28T17:33:35.464Z] GIT_COMMIT: 0226cd85567f66670c45d107f3711c83387ff73f, Commit Message: feat(snap): add initial snap packaging (part 2) [Pipeline] echo [2021-10-28T17:33:35.490Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:33:36.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:33:36.011Z] [2021-10-28T17:33:36.011Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:33:36.347Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:33:36.347Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T17:33:36.347Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T17:33:36.347Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T17:33:36.347Z] 4c7163046ea9: Pulling fs layer [2021-10-28T17:33:36.347Z] 0c2d73faf560: Pulling fs layer [2021-10-28T17:33:36.347Z] 0c2d73faf560: Waiting [2021-10-28T17:33:36.347Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T17:33:36.347Z] 3e5f54012d9b: Download complete [2021-10-28T17:33:36.347Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T17:33:36.347Z] a0d0a0d46f8b: Download complete [2021-10-28T17:33:36.613Z] 4c7163046ea9: Verifying Checksum [2021-10-28T17:33:36.613Z] 4c7163046ea9: Download complete [2021-10-28T17:33:36.613Z] 0c2d73faf560: Verifying Checksum [2021-10-28T17:33:36.613Z] 0c2d73faf560: Download complete [2021-10-28T17:33:36.613Z] a0d0a0d46f8b: Pull complete [2021-10-28T17:33:36.613Z] 3e5f54012d9b: Pull complete [2021-10-28T17:33:36.879Z] 4c7163046ea9: Pull complete [2021-10-28T17:33:37.146Z] 0c2d73faf560: Pull complete [2021-10-28T17:33:37.146Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T17:33:37.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:33:37.146Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T17:33:37.240Z] prd-centos7-docker-4c-2g-7 does not seem to be running inside a container [2021-10-28T17:33:37.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T17:33:37.894Z] $ docker top 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T17:33:38.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T17:33:38.052Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T17:33:38.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T17:33:38.164Z] $ docker exec 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e ssh-agent [2021-10-28T17:33:38.269Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBokPP/agent.13 [2021-10-28T17:33:38.269Z] SSH_AGENT_PID=19 [2021-10-28T17:33:38.280Z] Running ssh-add (command line suppressed) [2021-10-28T17:33:38.364Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_4740479918689091669.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_4740479918689091669.key) [2021-10-28T17:33:38.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T17:33:38.710Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T17:33:38.730Z] $ docker exec --env ******** --env ******** 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e ssh-agent -k [2021-10-28T17:33:38.810Z] unset SSH_AUTH_SOCK; [2021-10-28T17:33:38.810Z] unset SSH_AGENT_PID; [2021-10-28T17:33:38.811Z] echo Agent pid 19 killed; [2021-10-28T17:33:38.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T17:33:38.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T17:33:38.899Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T17:33:38.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T17:33:39.000Z] $ docker exec 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e ssh-agent [2021-10-28T17:33:39.089Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkFneGL/agent.52 [2021-10-28T17:33:39.089Z] SSH_AGENT_PID=58 [2021-10-28T17:33:39.095Z] Running ssh-add (command line suppressed) [2021-10-28T17:33:39.208Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1700190636443686657.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1700190636443686657.key) [2021-10-28T17:33:39.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T17:33:39.549Z] + git semver init [2021-10-28T17:33:39.549Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T17:33:39.549Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git [2021-10-28T17:33:39.549Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 [2021-10-28T17:33:39.549Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T17:33:39.549Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T17:33:39.549Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T17:33:39.549Z] # $SEMVER_BRANCH = PR-127 [2021-10-28T17:33:39.549Z] # $SEMVER_TEMP = /tmp/semver-133829270 [2021-10-28T17:33:39.549Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-10-28T17:33:40.119Z] # '/tmp/semver-133829270' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' [2021-10-28T17:33:40.119Z] # -> Force: false [2021-10-28T17:33:40.119Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } [2021-10-28T17:33:40.139Z] $ docker exec --env ******** --env ******** 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e ssh-agent -k [2021-10-28T17:33:40.220Z] unset SSH_AUTH_SOCK; [2021-10-28T17:33:40.220Z] unset SSH_AGENT_PID; [2021-10-28T17:33:40.220Z] echo Agent pid 58 killed; [2021-10-28T17:33:40.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T17:33:40.617Z] + git semver [Pipeline] } [2021-10-28T17:33:40.644Z] $ docker stop --time=1 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e [2021-10-28T17:33:41.833Z] $ docker rm -f 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T17:33:42.248Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T17:33:42.559Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T17:33:42.580Z] [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-10-28T17:33:57.968Z] Still waiting to schedule task [2021-10-28T17:33:57.968Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T17:33:57.985Z] Still waiting to schedule task [2021-10-28T17:33:57.985Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4’ is offline [2021-10-28T17:35:42.208Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws [2021-10-28T17:35:42.246Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-10-28T17:35:42.470Z] Selected Git installation does not exist. Using Default [2021-10-28T17:35:42.470Z] The recommended git tool is: NONE [2021-10-28T17:35:47.641Z] using credential edgex-jenkins-ssh [2021-10-28T17:35:47.659Z] Cloning the remote Git repository [2021-10-28T17:35:47.737Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-28T17:35:47.911Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-10-28T17:35:47.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-28T17:35:47.992Z] > git --version # timeout=10 [2021-10-28T17:35:48.016Z] > git --version # 'git version 2.17.1' [2021-10-28T17:35:48.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:35:48.133Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:35:49.702Z] Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0226cd85567f66670c45d107f3711c83387ff73f [2021-10-28T17:35:48.937Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-28T17:35:48.958Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:35:49.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-28T17:35:49.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-28T17:35:49.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:35:49.057Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T17:35:49.738Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:35:49.757Z] > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 [2021-10-28T17:35:49.836Z] > git remote # timeout=10 [2021-10-28T17:35:49.855Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T17:35:49.915Z] Merge succeeded, producing 0226cd85567f66670c45d107f3711c83387ff73f [2021-10-28T17:35:49.916Z] Checking out Revision 0226cd85567f66670c45d107f3711c83387ff73f (PR-127) [2021-10-28T17:35:49.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:35:49.883Z] > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-28T17:35:49.907Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T17:35:49.940Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:35:49.955Z] > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 [2021-10-28T17:35:54.041Z] Commit message: "feat(snap): add initial snap packaging (part 2)" [2021-10-28T17:35:54.107Z] > git --version # timeout=10 [2021-10-28T17:35:54.118Z] > git --version # 'git version 2.17.1' [2021-10-28T17:35:54.138Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T17:35:56.146Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T17:35:56.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T17:35:56.146Z] Dload Upload Total Spent Left Speed [2021-10-28T17:35:56.146Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78304 0 --:--:-- --:--:-- --:--:-- 78304 [Pipeline] sh [2021-10-28T17:35:56.572Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T17:35:56.927Z] + sudo tee /etc/docker/daemon.new [2021-10-28T17:35:56.927Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T17:35:56.927Z] { [2021-10-28T17:35:56.927Z] "registry-mirrors": [ [2021-10-28T17:35:56.927Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T17:35:56.927Z] ], [2021-10-28T17:35:56.927Z] "bip": "10.250.0.254/24", [2021-10-28T17:35:56.927Z] "hosts": [ [2021-10-28T17:35:56.927Z] "tcp://0.0.0.0:5555", [2021-10-28T17:35:56.927Z] "unix:///var/run/docker.sock" [2021-10-28T17:35:56.927Z] ], [2021-10-28T17:35:56.927Z] "mtu": 1458, [2021-10-28T17:35:56.927Z] "selinux-enabled": true, [2021-10-28T17:35:56.927Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T17:35:56.927Z] } [Pipeline] sh [2021-10-28T17:35:57.277Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T17:35:57.623Z] + sudo service docker restart [2021-10-28T17:36:07.100Z] Running on prd-centos7-docker-4c-2g-9 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws [2021-10-28T17:36:07.140Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-10-28T17:36:07.257Z] Selected Git installation does not exist. Using Default [2021-10-28T17:36:07.257Z] The recommended git tool is: NONE [2021-10-28T17:36:09.524Z] using credential edgex-jenkins-ssh [2021-10-28T17:36:09.535Z] Cloning the remote Git repository [2021-10-28T17:36:09.606Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-28T17:36:09.663Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-10-28T17:36:09.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-28T17:36:09.686Z] > git --version # timeout=10 [2021-10-28T17:36:09.692Z] > git --version # 'git version 2.24.4' [2021-10-28T17:36:09.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:36:09.723Z] [INFO] Currently running in a labeled security context [2021-10-28T17:36:09.723Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T17:36:09.724Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh4487620145486425724.key [2021-10-28T17:36:09.761Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:36:10.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-28T17:36:10.353Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:36:10.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-28T17:36:10.378Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-28T17:36:10.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:36:10.382Z] [INFO] Currently running in a labeled security context [2021-10-28T17:36:10.382Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T17:36:10.383Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh4187199811424468901.key [2021-10-28T17:36:10.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T17:36:10.847Z] Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0226cd85567f66670c45d107f3711c83387ff73f [2021-10-28T17:36:10.945Z] Merge succeeded, producing 0226cd85567f66670c45d107f3711c83387ff73f [2021-10-28T17:36:10.945Z] Checking out Revision 0226cd85567f66670c45d107f3711c83387ff73f (PR-127) [2021-10-28T17:36:10.904Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:36:10.919Z] > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 [2021-10-28T17:36:10.945Z] > git remote # timeout=10 [2021-10-28T17:36:10.953Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T17:36:10.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:36:10.960Z] [INFO] Currently running in a labeled security context [2021-10-28T17:36:10.961Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T17:36:10.961Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh1660204704950042233.key [2021-10-28T17:36:10.967Z] > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-28T17:36:10.980Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T17:36:10.998Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:36:11.010Z] > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 [2021-10-28T17:36:14.538Z] Commit message: "feat(snap): add initial snap packaging (part 2)" [2021-10-28T17:36:14.596Z] > git --version # timeout=10 [2021-10-28T17:36:14.600Z] > git --version # 'git version 2.24.4' [2021-10-28T17:36:14.608Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:36:15.150Z] provisioning config files... [2021-10-28T17:36:15.168Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1398095667425074787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:36:15.610Z] ---> docker-login.sh [2021-10-28T17:36:15.610Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:36:15.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:15.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:15.610Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:15.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:15.610Z] [2021-10-28T17:36:15.610Z] Login Succeeded [2021-10-28T17:36:15.610Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:36:15.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:15.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:15.875Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:15.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:15.875Z] [2021-10-28T17:36:15.875Z] Login Succeeded [2021-10-28T17:36:15.875Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:36:15.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:16.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:16.139Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:16.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:16.139Z] [2021-10-28T17:36:16.139Z] Login Succeeded [2021-10-28T17:36:16.139Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:36:16.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:16.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:16.139Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:16.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:16.139Z] [2021-10-28T17:36:16.139Z] Login Succeeded [2021-10-28T17:36:16.139Z] docker.io [2021-10-28T17:36:16.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:36:16.200Z] provisioning config files... [2021-10-28T17:36:16.227Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6316507247948168436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:36:16.623Z] ---> docker-login.sh [2021-10-28T17:36:16.623Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:36:16.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:16.711Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:16.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:16.711Z] [2021-10-28T17:36:16.711Z] Login Succeeded [2021-10-28T17:36:16.711Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:36:16.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T17:36:16.967Z] ========================================================= [2021-10-28T17:36:16.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T17:36:16.967Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:36:17.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:17.362Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-28T17:36:17.362Z] Sending build context to Docker daemon 460.8kB [2021-10-28T17:36:17.362Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T17:36:17.362Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-28T17:36:17.362Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T17:36:17.362Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T17:36:17.362Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T17:36:17.362Z] b8b176561691: Pulling fs layer [2021-10-28T17:36:17.362Z] 4527c011a84f: Pulling fs layer [2021-10-28T17:36:17.362Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T17:36:17.362Z] e0aca202a116: Pulling fs layer [2021-10-28T17:36:17.362Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T17:36:17.362Z] 34cad66bf833: Pulling fs layer [2021-10-28T17:36:17.362Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T17:36:17.362Z] 4527c011a84f: Waiting [2021-10-28T17:36:17.362Z] 5d74067f8e1e: Waiting [2021-10-28T17:36:17.362Z] e0aca202a116: Waiting [2021-10-28T17:36:17.362Z] 34cad66bf833: Waiting [2021-10-28T17:36:17.362Z] b4e3c513aaa6: Waiting [2021-10-28T17:36:17.362Z] 3a43be97a3b4: Waiting [2021-10-28T17:36:17.362Z] b8b176561691: Verifying Checksum [2021-10-28T17:36:17.362Z] b8b176561691: Download complete [2021-10-28T17:36:17.362Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T17:36:17.362Z] 31adcdaf11c8: Download complete [2021-10-28T17:36:17.362Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T17:36:17.362Z] 5d74067f8e1e: Download complete [2021-10-28T17:36:17.362Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T17:36:17.362Z] a0d0a0d46f8b: Download complete [2021-10-28T17:36:17.362Z] e0aca202a116: Verifying Checksum [2021-10-28T17:36:17.362Z] e0aca202a116: Download complete [2021-10-28T17:36:17.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:17.494Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:17.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:17.494Z] [2021-10-28T17:36:17.494Z] Login Succeeded [2021-10-28T17:36:17.494Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:36:17.659Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T17:36:17.659Z] 3a43be97a3b4: Download complete [2021-10-28T17:36:17.659Z] 34cad66bf833: Verifying Checksum [2021-10-28T17:36:17.659Z] 34cad66bf833: Download complete [2021-10-28T17:36:17.659Z] a0d0a0d46f8b: Pull complete [2021-10-28T17:36:17.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:17.939Z] 31adcdaf11c8: Pull complete [2021-10-28T17:36:18.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:18.041Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:18.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:18.041Z] [2021-10-28T17:36:18.041Z] Login Succeeded [2021-10-28T17:36:18.041Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:36:18.208Z] 4527c011a84f: Verifying Checksum [2021-10-28T17:36:18.208Z] 4527c011a84f: Download complete [2021-10-28T17:36:18.208Z] b8b176561691: Pull complete [2021-10-28T17:36:18.469Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T17:36:18.469Z] b4e3c513aaa6: Download complete [2021-10-28T17:36:18.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:18.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:18.641Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:18.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:18.641Z] [2021-10-28T17:36:18.641Z] Login Succeeded [2021-10-28T17:36:18.641Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:36:18.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:19.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:19.190Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:19.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:19.190Z] [2021-10-28T17:36:19.190Z] Login Succeeded [2021-10-28T17:36:19.190Z] docker.io [2021-10-28T17:36:19.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:36:20.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:36:20.060Z] Configure a credential helper to remove this warning. See [2021-10-28T17:36:20.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:36:20.060Z] [2021-10-28T17:36:20.060Z] Login Succeeded [2021-10-28T17:36:20.060Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:36:20.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T17:36:20.709Z] ========================================================= [2021-10-28T17:36:20.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T17:36:20.709Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:36:21.132Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-28T17:36:21.734Z] Sending build context to Docker daemon 459.8kB [2021-10-28T17:36:21.734Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T17:36:21.734Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-28T17:36:21.734Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T17:36:21.734Z] 552d1f2373af: Pulling fs layer [2021-10-28T17:36:21.734Z] ea3f2d53f512: Pulling fs layer [2021-10-28T17:36:21.734Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T17:36:21.734Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T17:36:21.734Z] 72dc09318566: Pulling fs layer [2021-10-28T17:36:21.734Z] f4f7b4309257: Pulling fs layer [2021-10-28T17:36:21.734Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T17:36:21.734Z] b78e95d17946: Pulling fs layer [2021-10-28T17:36:21.734Z] 7a9cfe048b4a: Waiting [2021-10-28T17:36:21.734Z] 72dc09318566: Waiting [2021-10-28T17:36:21.734Z] f4f7b4309257: Waiting [2021-10-28T17:36:21.734Z] b78e95d17946: Waiting [2021-10-28T17:36:21.734Z] 0ac9a79272e3: Waiting [2021-10-28T17:36:21.734Z] 9e70ebbbe112: Verifying Checksum [2021-10-28T17:36:21.734Z] 9e70ebbbe112: Download complete [2021-10-28T17:36:21.734Z] ea3f2d53f512: Verifying Checksum [2021-10-28T17:36:21.734Z] ea3f2d53f512: Download complete [2021-10-28T17:36:21.734Z] 72dc09318566: Verifying Checksum [2021-10-28T17:36:21.734Z] 72dc09318566: Download complete [2021-10-28T17:36:21.734Z] f4f7b4309257: Verifying Checksum [2021-10-28T17:36:21.734Z] f4f7b4309257: Download complete [2021-10-28T17:36:21.785Z] 4527c011a84f: Pull complete [2021-10-28T17:36:21.785Z] 5d74067f8e1e: Pull complete [2021-10-28T17:36:22.009Z] 552d1f2373af: Verifying Checksum [2021-10-28T17:36:22.009Z] 552d1f2373af: Download complete [2021-10-28T17:36:22.009Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T17:36:22.009Z] 0ac9a79272e3: Download complete [2021-10-28T17:36:22.048Z] e0aca202a116: Pull complete [2021-10-28T17:36:22.048Z] 3a43be97a3b4: Pull complete [2021-10-28T17:36:22.048Z] 34cad66bf833: Pull complete [2021-10-28T17:36:22.615Z] 552d1f2373af: Pull complete [2021-10-28T17:36:23.216Z] ea3f2d53f512: Pull complete [2021-10-28T17:36:23.814Z] 9e70ebbbe112: Pull complete [2021-10-28T17:36:23.814Z] b78e95d17946: Verifying Checksum [2021-10-28T17:36:23.814Z] b78e95d17946: Download complete [2021-10-28T17:36:24.412Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T17:36:24.412Z] 7a9cfe048b4a: Download complete [2021-10-28T17:36:25.378Z] b4e3c513aaa6: Pull complete [2021-10-28T17:36:25.378Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T17:36:25.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T17:36:25.378Z] ---> 9f6097aaca64 [2021-10-28T17:36:25.378Z] Step 3/11 : ARG MAKE='make build' [2021-10-28T17:36:26.324Z] ---> Running in 1b21443a3451 [2021-10-28T17:36:26.588Z] Removing intermediate container 1b21443a3451 [2021-10-28T17:36:26.588Z] ---> 7845c38e21dc [2021-10-28T17:36:26.588Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T17:36:26.588Z] ---> Running in e05685c8586e [2021-10-28T17:36:26.588Z] Removing intermediate container e05685c8586e [2021-10-28T17:36:26.588Z] ---> 08d3f7d8446d [2021-10-28T17:36:26.588Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T17:36:26.588Z] ---> Running in f478795bc34a [2021-10-28T17:36:26.854Z] Removing intermediate container f478795bc34a [2021-10-28T17:36:26.854Z] ---> 4a8af066faaa [2021-10-28T17:36:26.854Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:36:26.854Z] ---> Running in 3ecd8c7277ea [2021-10-28T17:36:27.116Z] Removing intermediate container 3ecd8c7277ea [2021-10-28T17:36:27.116Z] ---> 3257ec4fd159 [2021-10-28T17:36:27.116Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T17:36:27.382Z] ---> Running in b45fc2b92f3e [2021-10-28T17:36:27.382Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T17:36:28.330Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T17:36:28.592Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T17:36:28.854Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-28T17:36:28.854Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T17:36:28.854Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T17:36:29.120Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T17:36:29.120Z] OK: 224 MiB in 56 packages [2021-10-28T17:36:29.381Z] Removing intermediate container b45fc2b92f3e [2021-10-28T17:36:29.381Z] ---> 75f57628d95b [2021-10-28T17:36:29.381Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-28T17:36:29.381Z] ---> Running in 0bcd1bcaa44e [2021-10-28T17:36:29.649Z] Removing intermediate container 0bcd1bcaa44e [2021-10-28T17:36:29.649Z] ---> 1a60ea3f0130 [2021-10-28T17:36:29.649Z] Step 9/11 : COPY . . [2021-10-28T17:36:29.649Z] ---> e3a4d4ade4a1 [2021-10-28T17:36:29.649Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T17:36:29.912Z] ---> Running in ff8f59357a55 [2021-10-28T17:36:34.581Z] 7a9cfe048b4a: Pull complete [2021-10-28T17:36:34.581Z] 72dc09318566: Pull complete [2021-10-28T17:36:34.581Z] f4f7b4309257: Pull complete [2021-10-28T17:36:35.174Z] 0ac9a79272e3: Pull complete [2021-10-28T17:36:40.599Z] b78e95d17946: Pull complete [2021-10-28T17:36:40.599Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T17:36:40.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T17:36:40.599Z] ---> 8b459fc5aaf0 [2021-10-28T17:36:40.599Z] Step 3/11 : ARG MAKE='make build' [2021-10-28T17:36:42.177Z] Removing intermediate container ff8f59357a55 [2021-10-28T17:36:42.177Z] ---> 25cfd03836cc [2021-10-28T17:36:42.177Z] Step 11/11 : RUN ${MAKE} [2021-10-28T17:36:42.177Z] ---> Running in 43934d0e2125 [2021-10-28T17:36:42.177Z] noop [2021-10-28T17:36:42.177Z] Removing intermediate container 43934d0e2125 [2021-10-28T17:36:42.177Z] ---> 053254b310d6 [2021-10-28T17:36:42.177Z] Successfully built 053254b310d6 [2021-10-28T17:36:42.177Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:36:42.502Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T17:36:42.502Z] . [Pipeline] withDockerContainer [2021-10-28T17:36:42.577Z] ---> Running in c76ebdc5e900 [2021-10-28T17:36:42.577Z] Removing intermediate container c76ebdc5e900 [2021-10-28T17:36:42.577Z] ---> 387a543e2682 [2021-10-28T17:36:42.577Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T17:36:42.585Z] prd-centos7-docker-4c-2g-9 does not seem to be running inside a container [2021-10-28T17:36:42.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T17:36:42.852Z] ---> Running in 62d0ac3c3c7f [2021-10-28T17:36:42.949Z] $ docker top f41dda103f03767403fb6770253ee4b41be348981c35e39d623de10e89d583c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T17:36:43.127Z] Removing intermediate container 62d0ac3c3c7f [2021-10-28T17:36:43.127Z] ---> 3bbd59968ac2 [2021-10-28T17:36:43.127Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T17:36:43.395Z] + go version [2021-10-28T17:36:43.395Z] go version go1.16.8 linux/amd64 [2021-10-28T17:36:43.401Z] ---> Running in 0e8e31e846e7 [Pipeline] } [2021-10-28T17:36:43.425Z] $ docker stop --time=1 f41dda103f03767403fb6770253ee4b41be348981c35e39d623de10e89d583c9 [2021-10-28T17:36:43.673Z] Removing intermediate container 0e8e31e846e7 [2021-10-28T17:36:43.673Z] ---> 062fa40a1d28 [2021-10-28T17:36:43.673Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:36:43.673Z] ---> Running in fdccdbcc368f [2021-10-28T17:36:44.628Z] $ docker rm -f f41dda103f03767403fb6770253ee4b41be348981c35e39d623de10e89d583c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:36:45.330Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T17:36:45.330Z] . [Pipeline] withDockerContainer [2021-10-28T17:36:45.411Z] prd-centos7-docker-4c-2g-9 does not seem to be running inside a container [2021-10-28T17:36:45.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T17:36:45.655Z] Removing intermediate container fdccdbcc368f [2021-10-28T17:36:45.655Z] ---> 463c3db13a8e [2021-10-28T17:36:45.655Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T17:36:45.784Z] $ docker top 435c9f6517966c0dfc6badac25e9670dbd167c8440e18c6bfebee07aa41d5152 -eo pid,comm [Pipeline] { [Pipeline] fileExists [2021-10-28T17:36:45.928Z] ---> Running in e4a5379e08e8 [Pipeline] sh [2021-10-28T17:36:46.223Z] + make test [2021-10-28T17:36:46.223Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-28T17:36:46.494Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-10-28T17:36:46.906Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T17:36:47.888Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T17:36:48.485Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T17:36:48.757Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-28T17:36:48.757Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T17:36:49.034Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T17:36:49.035Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T17:36:49.035Z] OK: 223 MiB in 56 packages [2021-10-28T17:36:50.026Z] Removing intermediate container e4a5379e08e8 [2021-10-28T17:36:50.026Z] ---> 4ee24a2ead8a [2021-10-28T17:36:50.026Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-28T17:36:50.026Z] ---> Running in a64061c563b5 [2021-10-28T17:36:50.623Z] Removing intermediate container a64061c563b5 [2021-10-28T17:36:50.623Z] ---> 258be590272c [2021-10-28T17:36:50.623Z] Step 9/11 : COPY . . [2021-10-28T17:36:51.613Z] ---> 7c3ad2fafd03 [2021-10-28T17:36:51.613Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T17:36:51.613Z] ---> Running in f9734911a589 [2021-10-28T17:37:01.481Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-10-28T17:37:01.823Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2021-10-28T17:37:01.823Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-28T17:37:08.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T17:37:08.446Z] ./snap/local/hooks/cmd/configure/configure.go [2021-10-28T17:37:08.446Z] ./snap/local/hooks/cmd/install/install.go [2021-10-28T17:37:08.446Z] ./snap/local/hooks/const.go [2021-10-28T17:37:08.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T17:37:08.446Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-10-28T17:37:08.482Z] $ docker stop --time=1 435c9f6517966c0dfc6badac25e9670dbd167c8440e18c6bfebee07aa41d5152 [2021-10-28T17:37:10.008Z] $ docker rm -f 435c9f6517966c0dfc6badac25e9670dbd167c8440e18c6bfebee07aa41d5152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:37:11.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:37:11.324Z] [2021-10-28T17:37:11.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:37:11.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:37:11.662Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T17:37:11.662Z] b4d181a07f80: Pulling fs layer [2021-10-28T17:37:11.662Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T17:37:11.662Z] ed53099fbce6: Pulling fs layer [2021-10-28T17:37:11.662Z] dc539afda2c1: Pulling fs layer [2021-10-28T17:37:11.662Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T17:37:11.662Z] 9065ff56babe: Pulling fs layer [2021-10-28T17:37:11.662Z] d287ab97295c: Pulling fs layer [2021-10-28T17:37:11.662Z] dc539afda2c1: Waiting [2021-10-28T17:37:11.662Z] 77bc0d833cb6: Waiting [2021-10-28T17:37:11.662Z] 9065ff56babe: Waiting [2021-10-28T17:37:11.662Z] d287ab97295c: Waiting [2021-10-28T17:37:11.662Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T17:37:11.662Z] a1111a8f2ec3: Download complete [2021-10-28T17:37:11.662Z] dc539afda2c1: Verifying Checksum [2021-10-28T17:37:11.662Z] dc539afda2c1: Download complete [2021-10-28T17:37:11.927Z] ed53099fbce6: Verifying Checksum [2021-10-28T17:37:11.927Z] ed53099fbce6: Download complete [2021-10-28T17:37:11.927Z] 9065ff56babe: Verifying Checksum [2021-10-28T17:37:11.927Z] 9065ff56babe: Download complete [2021-10-28T17:37:11.927Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T17:37:11.927Z] 77bc0d833cb6: Download complete [2021-10-28T17:37:11.927Z] b4d181a07f80: Verifying Checksum [2021-10-28T17:37:11.927Z] b4d181a07f80: Download complete [2021-10-28T17:37:12.520Z] d287ab97295c: Verifying Checksum [2021-10-28T17:37:12.520Z] d287ab97295c: Download complete [2021-10-28T17:37:13.473Z] b4d181a07f80: Pull complete [2021-10-28T17:37:13.473Z] a1111a8f2ec3: Pull complete [2021-10-28T17:37:14.058Z] ed53099fbce6: Pull complete [2021-10-28T17:37:14.058Z] dc539afda2c1: Pull complete [2021-10-28T17:37:14.322Z] 77bc0d833cb6: Pull complete [2021-10-28T17:37:14.322Z] 9065ff56babe: Pull complete [2021-10-28T17:37:18.427Z] Removing intermediate container f9734911a589 [2021-10-28T17:37:18.427Z] ---> a2e903e2fe22 [2021-10-28T17:37:18.427Z] Step 11/11 : RUN ${MAKE} [2021-10-28T17:37:18.427Z] ---> Running in 1bd1a4cda86e [2021-10-28T17:37:18.427Z] noop [2021-10-28T17:37:18.427Z] Removing intermediate container 1bd1a4cda86e [2021-10-28T17:37:18.427Z] ---> 9188dfdbd088 [2021-10-28T17:37:18.427Z] Successfully built 9188dfdbd088 [2021-10-28T17:37:18.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:37:18.788Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T17:37:18.788Z] . [Pipeline] withDockerContainer [2021-10-28T17:37:19.070Z] prd-ubuntu18.04-docker-arm64-4c-16g-8 does not seem to be running inside a container [2021-10-28T17:37:19.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T17:37:19.645Z] d287ab97295c: Pull complete [2021-10-28T17:37:19.645Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T17:37:19.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:37:19.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:37:20.636Z] $ docker top 3caa7f90e986c811c04a5f05e61616721ffeb11e21f57d86fab6d4424307a2a6 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-10-28T17:37:21.037Z] prd-centos7-docker-4c-2g-9 does not seem to be running inside a container [2021-10-28T17:37:21.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T17:37:22.879Z] $ docker top 454d5071abb98e94dea0966b34d10451c87c2d1e40c1f623f3444740c5a9f563 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:37:23.474Z] ---> job-cost.sh [2021-10-28T17:37:23.474Z] lf-activate-venv: SKIPPING [2021-10-28T17:37:23.475Z] INFO: No Stack... [2021-10-28T17:37:23.627Z] + go version [2021-10-28T17:37:23.627Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T17:37:23.662Z] $ docker stop --time=1 3caa7f90e986c811c04a5f05e61616721ffeb11e21f57d86fab6d4424307a2a6 [2021-10-28T17:37:23.735Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T17:37:23.997Z] INFO: Archiving Costs [2021-10-28T17:37:25.319Z] $ docker rm -f 3caa7f90e986c811c04a5f05e61616721ffeb11e21f57d86fab6d4424307a2a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-10-28T17:37:25.926Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-10-28T17:37:25.926Z] + cut -d, -f6 [Pipeline] { (Test) [Pipeline] lock [2021-10-28T17:37:25.980Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [2021-10-28T17:37:25.984Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] did not exist. Created. [2021-10-28T17:37:25.984Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:37:26.326Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T17:37:26.468Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T17:37:26.468Z] . [Pipeline] withDockerContainer [2021-10-28T17:37:26.519Z] Stashed 1 file(s) [2021-10-28T17:37:26.745Z] prd-ubuntu18.04-docker-arm64-4c-16g-8 does not seem to be running inside a container [2021-10-28T17:37:26.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T17:37:28.237Z] $ docker top f87f0bd82e36e19e594d874da3e48e49aacd22a24d893ee7d811067bb4fe2fab -eo pid,comm [Pipeline] { [Pipeline] } [2021-10-28T17:37:28.594Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T17:37:28.628Z] $ docker stop --time=1 454d5071abb98e94dea0966b34d10451c87c2d1e40c1f623f3444740c5a9f563 [2021-10-28T17:37:29.771Z] $ docker rm -f 454d5071abb98e94dea0966b34d10451c87c2d1e40c1f623f3444740c5a9f563 [Pipeline] fileExists [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T17:37:30.409Z] Failed in branch amd64 [2021-10-28T17:37:30.537Z] + make test [2021-10-28T17:37:30.537Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-28T17:37:31.977Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-10-28T17:38:28.597Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-10-28T17:38:28.597Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements [2021-10-28T17:38:28.597Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-28T17:38:43.738Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T17:38:43.738Z] ./snap/local/hooks/const.go [2021-10-28T17:38:43.738Z] ./snap/local/hooks/cmd/install/install.go [2021-10-28T17:38:43.738Z] ./snap/local/hooks/cmd/configure/configure.go [2021-10-28T17:38:43.738Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T17:38:43.738Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-10-28T17:38:43.779Z] $ docker stop --time=1 f87f0bd82e36e19e594d874da3e48e49aacd22a24d893ee7d811067bb4fe2fab [2021-10-28T17:38:45.588Z] $ docker rm -f f87f0bd82e36e19e594d874da3e48e49aacd22a24d893ee7d811067bb4fe2fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:38:47.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T17:38:47.010Z] [2021-10-28T17:38:47.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:38:47.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T17:38:47.940Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T17:38:47.940Z] 448f6bf000e3: Pulling fs layer [2021-10-28T17:38:47.940Z] f757da607395: Pulling fs layer [2021-10-28T17:38:47.940Z] 05883995daec: Pulling fs layer [2021-10-28T17:38:47.940Z] 8603b9c90790: Pulling fs layer [2021-10-28T17:38:47.940Z] 1560dd03e051: Pulling fs layer [2021-10-28T17:38:47.940Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T17:38:47.940Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T17:38:47.940Z] 8603b9c90790: Waiting [2021-10-28T17:38:47.940Z] 1560dd03e051: Waiting [2021-10-28T17:38:47.940Z] 27f5ce0e4adf: Waiting [2021-10-28T17:38:47.940Z] c2d8d7efcc4b: Waiting [2021-10-28T17:38:47.940Z] f757da607395: Verifying Checksum [2021-10-28T17:38:47.940Z] f757da607395: Download complete [2021-10-28T17:38:47.940Z] 8603b9c90790: Verifying Checksum [2021-10-28T17:38:47.940Z] 8603b9c90790: Download complete [2021-10-28T17:38:48.216Z] 1560dd03e051: Verifying Checksum [2021-10-28T17:38:48.216Z] 1560dd03e051: Download complete [2021-10-28T17:38:48.216Z] 05883995daec: Verifying Checksum [2021-10-28T17:38:48.216Z] 05883995daec: Download complete [2021-10-28T17:38:48.216Z] 27f5ce0e4adf: Verifying Checksum [2021-10-28T17:38:48.216Z] 27f5ce0e4adf: Download complete [2021-10-28T17:38:48.494Z] 448f6bf000e3: Verifying Checksum [2021-10-28T17:38:48.494Z] 448f6bf000e3: Download complete [2021-10-28T17:38:51.115Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T17:38:51.115Z] c2d8d7efcc4b: Download complete [2021-10-28T17:38:52.093Z] 448f6bf000e3: Pull complete [2021-10-28T17:38:52.688Z] f757da607395: Pull complete [2021-10-28T17:38:54.124Z] 05883995daec: Pull complete [2021-10-28T17:38:54.399Z] 8603b9c90790: Pull complete [2021-10-28T17:38:55.380Z] 1560dd03e051: Pull complete [2021-10-28T17:38:55.654Z] 27f5ce0e4adf: Pull complete [2021-10-28T17:39:10.746Z] c2d8d7efcc4b: Pull complete [2021-10-28T17:39:10.746Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T17:39:10.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T17:39:10.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T17:39:10.992Z] prd-ubuntu18.04-docker-arm64-4c-16g-8 does not seem to be running inside a container [2021-10-28T17:39:11.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T17:39:13.672Z] $ docker top c4454e0b7b615747fabd7e40815177a935a88f0295502dedd20717de096da294 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:39:14.705Z] ---> job-cost.sh [2021-10-28T17:39:14.705Z] lf-activate-venv: SKIPPING [2021-10-28T17:39:14.706Z] INFO: No Stack... [2021-10-28T17:39:15.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T17:39:15.572Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T17:39:16.262Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-10-28T17:39:16.262Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T17:39:16.341Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [2021-10-28T17:39:16.346Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] did not exist. Created. [2021-10-28T17:39:16.346Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T17:39:17.070Z] /w/workspace/device-snmp-go/1@tmp/durable-c15cc0c5/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-c15cc0c5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T17:39:17.752Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T17:39:17.787Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T17:39:18.217Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T17:39:18.234Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T17:39:18.298Z] $ docker stop --time=1 c4454e0b7b615747fabd7e40815177a935a88f0295502dedd20717de096da294 [2021-10-28T17:39:19.876Z] $ docker rm -f c4454e0b7b615747fabd7e40815177a935a88f0295502dedd20717de096da294 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T17:39:20.590Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-28T17:39:22.966Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:39:23.296Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:39:23.901Z] ---> package-listing.sh [2021-10-28T17:39:23.901Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T17:39:23.901Z] ++ facter osfamily [2021-10-28T17:39:24.180Z] + OS_FAMILY=redhat [2021-10-28T17:39:24.180Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 [2021-10-28T17:39:24.180Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T17:39:24.180Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T17:39:24.180Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T17:39:24.180Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T17:39:24.180Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' [2021-10-28T17:39:24.180Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T17:39:24.180Z] + case "${OS_FAMILY}" in [2021-10-28T17:39:24.180Z] + rpm -qa [2021-10-28T17:39:24.180Z] + sort [2021-10-28T17:39:24.761Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T17:39:24.761Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T17:39:24.761Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T17:39:24.761Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' [2021-10-28T17:39:24.761Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [2021-10-28T17:39:24.761Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [Pipeline] echo [2021-10-28T17:39:24.784Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-28T17:39:25.083Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:39:25.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:39:25.672Z] [2021-10-28T17:39:25.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:39:26.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:39:26.052Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T17:39:26.052Z] b4d181a07f80: Pulling fs layer [2021-10-28T17:39:26.052Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T17:39:26.052Z] ed53099fbce6: Pulling fs layer [2021-10-28T17:39:26.052Z] dc539afda2c1: Pulling fs layer [2021-10-28T17:39:26.052Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T17:39:26.052Z] 9065ff56babe: Pulling fs layer [2021-10-28T17:39:26.052Z] d287ab97295c: Pulling fs layer [2021-10-28T17:39:26.052Z] dc539afda2c1: Waiting [2021-10-28T17:39:26.052Z] 77bc0d833cb6: Waiting [2021-10-28T17:39:26.052Z] 9065ff56babe: Waiting [2021-10-28T17:39:26.052Z] d287ab97295c: Waiting [2021-10-28T17:39:26.052Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T17:39:26.052Z] a1111a8f2ec3: Download complete [2021-10-28T17:39:26.052Z] dc539afda2c1: Verifying Checksum [2021-10-28T17:39:26.052Z] dc539afda2c1: Download complete [2021-10-28T17:39:26.324Z] ed53099fbce6: Verifying Checksum [2021-10-28T17:39:26.324Z] ed53099fbce6: Download complete [2021-10-28T17:39:26.324Z] 9065ff56babe: Verifying Checksum [2021-10-28T17:39:26.324Z] 9065ff56babe: Download complete [2021-10-28T17:39:26.324Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T17:39:26.324Z] 77bc0d833cb6: Download complete [2021-10-28T17:39:26.324Z] b4d181a07f80: Download complete [2021-10-28T17:39:26.906Z] d287ab97295c: Verifying Checksum [2021-10-28T17:39:26.906Z] d287ab97295c: Download complete [2021-10-28T17:39:27.848Z] b4d181a07f80: Pull complete [2021-10-28T17:39:27.848Z] a1111a8f2ec3: Pull complete [2021-10-28T17:39:28.427Z] ed53099fbce6: Pull complete [2021-10-28T17:39:28.427Z] dc539afda2c1: Pull complete [2021-10-28T17:39:28.693Z] 77bc0d833cb6: Pull complete [2021-10-28T17:39:28.693Z] 9065ff56babe: Pull complete [2021-10-28T17:39:34.017Z] d287ab97295c: Pull complete [2021-10-28T17:39:34.017Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T17:39:34.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:39:34.017Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T17:39:34.100Z] prd-centos7-docker-4c-2g-7 does not seem to be running inside a container [2021-10-28T17:39:34.132Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T17:39:37.009Z] $ docker top 15cb44a790fa632a4682cd1366830d29ab6e56e22c4654afb92abc6c3f6e7713 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T17:39:37.391Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T17:39:37.705Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T17:39:38.014Z] + ls /var/log/sa-host [2021-10-28T17:39:38.014Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T17:39:38.014Z] file_magic: OK [2021-10-28T17:39:38.014Z] HZ: Using current value: 100 [2021-10-28T17:39:38.014Z] file_header: OK [2021-10-28T17:39:38.014Z] 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-10-28T17:39:38.014Z] Statistics: [2021-10-28T17:39:38.014Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T17:39:38.014Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T17:39:38.014Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T17:39:38.014Z] file_magic: OK [2021-10-28T17:39:38.014Z] HZ: Using current value: 100 [2021-10-28T17:39:38.014Z] file_header: OK [2021-10-28T17:39:38.014Z] 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-10-28T17:39:38.014Z] Statistics: [2021-10-28T17:39:38.014Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T17:39:38.014Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:39:38.300Z] provisioning config files... [2021-10-28T17:39:38.312Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config3092766731363967603tmp [Pipeline] { [Pipeline] echo [2021-10-28T17:39:38.361Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:39:38.678Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T17:39:38.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:39:39.116Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T17:39:39.143Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:39:39.466Z] ---> sudo-logs.sh [2021-10-28T17:39:39.466Z] Archiving 'sudo' log.. [2021-10-28T17:39:39.466Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-7.novalocal: Name or service not known [2021-10-28T17:39:39.466Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-7.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T17:39:39.536Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:39:39.852Z] ---> job-cost.sh [2021-10-28T17:39:39.853Z] lf-activate-venv: SKIPPING [2021-10-28T17:39:39.853Z] DEBUG: total: 0.10999999940395355 [2021-10-28T17:39:39.853Z] INFO: Retrieving Stack Cost... [2021-10-28T17:39:42.397Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T17:39:42.659Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T17:39:42.685Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:39:43.008Z] ---> logs-deploy.sh [2021-10-28T17:39:43.008Z] lf-activate-venv: SKIPPING [2021-10-28T17:39:43.008Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/1 [2021-10-28T17:39:43.008Z] INFO: archiving workspace using pattern(s): [2021-10-28T17:39:43.580Z] Archives upload complete. [2021-10-28T17:39:43.841Z] INFO: archiving logs to Nexus