Pull request #136 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c567c1d93d201cd350b34612e14abd1674cb9072+f2700d797dde70a27600e51c0b144607fa1919f0 (8eafb5a73c987a50f881e90e356741943f2c49fc) 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-ssh5030551217557777400.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh2616224428909799303.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-136/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-136/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1699730143733380718.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-136/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5139609159981070411.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh256627236408001211.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-136/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-136/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18135166459201451345.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 dae07dc806156effb2cae02074e2f5f64a063e83 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.17 USE_ALPINE: true 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-4289 in /w/workspace/gexfoundry_device-snmp-go_PR-136 [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-136 # 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-136@tmp/jenkins-gitclient-ssh6254066208244705223.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit c567c1d93d201cd350b34612e14abd1674cb9072 Merge succeeded, producing c567c1d93d201cd350b34612e14abd1674cb9072 Checking out Revision c567c1d93d201cd350b34612e14abd1674cb9072 (PR-136) > 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-136@tmp/jenkins-gitclient-ssh7764650177248699136.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c567c1d93d201cd350b34612e14abd1674cb9072 # 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-136@tmp/jenkins-gitclient-ssh3016569559183504948.key > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c567c1d93d201cd350b34612e14abd1674cb9072 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-31T05:04:11.138Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-31T05:04:11.323Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-31T05:04:11.429Z] ========================================================= [2022-01-31T05:04:11.430Z] EdgeX Global Pipelines Version Info [2022-01-31T05:04:11.430Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:04:12.601Z] ------------------- [2022-01-31T05:04:12.602Z] stable info: [2022-01-31T05:04:12.602Z] ------------------- [2022-01-31T05:04:12.602Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-31T05:04:12.602Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T05:04:12.602Z] Message: update stable to v1.0.219 [2022-01-31T05:04:13.178Z] ------------------- [2022-01-31T05:04:13.178Z] experimental info: [2022-01-31T05:04:13.178Z] ------------------- [2022-01-31T05:04:13.178Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-31T05:04:13.178Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T05:04:13.178Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-31T05:04:13.417Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-01-31T05:04:13.461Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-01-31T05:04:13.501Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-31T05:04:13.541Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-31T05:04:13.575Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-31T05:04:13.609Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-31T05:04:13.644Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-31T05:04:13.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-31T05:04:13.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-31T05:04:13.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-31T05:04:13.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-31T05:04:13.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-01-31T05:04:13.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-31T05:04:13.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-31T05:04:13.928Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-31T05:04:13.962Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-31T05:04:13.998Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-31T05:04:14.032Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-31T05:04:14.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-31T05:04:14.105Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-31T05:04:14.141Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-31T05:04:14.179Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-31T05:04:14.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-31T05:04:14.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-31T05:04:14.287Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-31T05:04:14.326Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-31T05:04:14.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-136 [Pipeline] echo [2022-01-31T05:04:14.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-136 [Pipeline] echo [2022-01-31T05:04:14.441Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-136 [Pipeline] echo [2022-01-31T05:04:14.478Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c567c1d93d201cd350b34612e14abd1674cb9072 [Pipeline] echo [2022-01-31T05:04:14.514Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c567c1d [Pipeline] echo [2022-01-31T05:04:14.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T05:04:14.645Z] provisioning config files... [2022-01-31T05:04:14.663Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/config6652434351232066142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:04:15.006Z] ---> docker-login.sh [2022-01-31T05:04:15.006Z] nexus3.edgexfoundry.org:10001 [2022-01-31T05:04:15.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:15.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:15.268Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:15.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:15.268Z] [2022-01-31T05:04:15.268Z] Login Succeeded [2022-01-31T05:04:15.268Z] nexus3.edgexfoundry.org:10002 [2022-01-31T05:04:15.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:15.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:15.268Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:15.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:15.268Z] [2022-01-31T05:04:15.268Z] Login Succeeded [2022-01-31T05:04:15.268Z] nexus3.edgexfoundry.org:10003 [2022-01-31T05:04:15.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:15.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:15.535Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:15.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:15.535Z] [2022-01-31T05:04:15.535Z] Login Succeeded [2022-01-31T05:04:15.535Z] nexus3.edgexfoundry.org:10004 [2022-01-31T05:04:15.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:15.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:15.535Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:15.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:15.535Z] [2022-01-31T05:04:15.535Z] Login Succeeded [2022-01-31T05:04:15.535Z] docker.io [2022-01-31T05:04:15.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:16.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:16.115Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:16.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:16.115Z] [2022-01-31T05:04:16.115Z] Login Succeeded [2022-01-31T05:04:16.115Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T05:04:16.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-31T05:04:16.789Z] + git rev-list -1 --merges c567c1d93d201cd350b34612e14abd1674cb9072~1..c567c1d93d201cd350b34612e14abd1674cb9072 [Pipeline] echo [2022-01-31T05:04:16.837Z] -----------> git rev-list -1 --merges c567c1d93d201cd350b34612e14abd1674cb9072~1..c567c1d93d201cd350b34612e14abd1674cb9072 c567c1d93d201cd350b34612e14abd1674cb9072 [false] [Pipeline] sh [2022-01-31T05:04:17.163Z] + git log --format=format:%s -1 c567c1d93d201cd350b34612e14abd1674cb9072 [Pipeline] echo [2022-01-31T05:04:17.198Z] ========================================================= [2022-01-31T05:04:17.198Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-31T05:04:17.198Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-31T05:04:17.654Z] + git log --format=format:%s -1 c567c1d93d201cd350b34612e14abd1674cb9072 [Pipeline] echo [2022-01-31T05:04:17.687Z] [semverPrep] GIT_COMMIT: c567c1d93d201cd350b34612e14abd1674cb9072, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-01-31T05:04:17.718Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-31T05:04:18.140Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-31T05:04:18.140Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-31T05:04:18.140Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-31T05:04:18.140Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-31T05:04:18.140Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-31T05:04:18.140Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-31T05:04:18.140Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:04:18.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T05:04:18.523Z] [2022-01-31T05:04:18.523Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:04:18.883Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T05:04:18.883Z] latest: Pulling from edgex-devops/git-semver [2022-01-31T05:04:18.883Z] a0d0a0d46f8b: Pulling fs layer [2022-01-31T05:04:18.883Z] 3e5f54012d9b: Pulling fs layer [2022-01-31T05:04:18.883Z] 4c7163046ea9: Pulling fs layer [2022-01-31T05:04:18.883Z] 0c2d73faf560: Pulling fs layer [2022-01-31T05:04:18.883Z] 0c2d73faf560: Waiting [2022-01-31T05:04:18.883Z] 3e5f54012d9b: Verifying Checksum [2022-01-31T05:04:18.883Z] 3e5f54012d9b: Download complete [2022-01-31T05:04:18.883Z] a0d0a0d46f8b: Verifying Checksum [2022-01-31T05:04:18.883Z] a0d0a0d46f8b: Download complete [2022-01-31T05:04:19.146Z] 0c2d73faf560: Verifying Checksum [2022-01-31T05:04:19.146Z] 0c2d73faf560: Download complete [2022-01-31T05:04:19.146Z] 4c7163046ea9: Verifying Checksum [2022-01-31T05:04:19.146Z] 4c7163046ea9: Download complete [2022-01-31T05:04:19.146Z] a0d0a0d46f8b: Pull complete [2022-01-31T05:04:19.146Z] 3e5f54012d9b: Pull complete [2022-01-31T05:04:19.732Z] 4c7163046ea9: Pull complete [2022-01-31T05:04:19.732Z] 0c2d73faf560: Pull complete [2022-01-31T05:04:19.732Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-31T05:04:19.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T05:04:19.732Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-31T05:04:19.834Z] prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container [2022-01-31T05:04:19.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-136 -v /w/workspace/gexfoundry_device-snmp-go_PR-136:/w/workspace/gexfoundry_device-snmp-go_PR-136:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-136@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-136@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-31T05:04:20.806Z] $ docker top b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-31T05:04:20.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-31T05:04:20.992Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-31T05:04:21.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-31T05:04:21.102Z] $ docker exec b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 ssh-agent [2022-01-31T05:04:21.224Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGmHMIB/agent.13 [2022-01-31T05:04:21.224Z] SSH_AGENT_PID=19 [2022-01-31T05:04:21.233Z] Running ssh-add (command line suppressed) [2022-01-31T05:04:21.342Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/private_key_8135845620521531788.key (/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/private_key_8135845620521531788.key) [2022-01-31T05:04:21.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-31T05:04:21.703Z] + git tag --points-at HEAD [Pipeline] } [2022-01-31T05:04:21.728Z] $ docker exec --env ******** --env ******** b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 ssh-agent -k [2022-01-31T05:04:21.843Z] unset SSH_AUTH_SOCK; [2022-01-31T05:04:21.844Z] unset SSH_AGENT_PID; [2022-01-31T05:04:21.844Z] echo Agent pid 19 killed; [2022-01-31T05:04:21.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-31T05:04:21.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-31T05:04:21.937Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-31T05:04:22.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-31T05:04:22.090Z] $ docker exec b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 ssh-agent [2022-01-31T05:04:22.223Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOPjdFP/agent.53 [2022-01-31T05:04:22.223Z] SSH_AGENT_PID=59 [2022-01-31T05:04:22.230Z] Running ssh-add (command line suppressed) [2022-01-31T05:04:22.347Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/private_key_6143786143287100989.key (/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/private_key_6143786143287100989.key) [2022-01-31T05:04:22.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-31T05:04:22.705Z] + git semver init [2022-01-31T05:04:22.705Z] # -> Open(): unable to determine branch for HEAD [2022-01-31T05:04:22.705Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-136/.git [2022-01-31T05:04:22.705Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-136 [2022-01-31T05:04:22.705Z] # $SEMVER_REMOTE_NAME = origin [2022-01-31T05:04:22.705Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-31T05:04:22.705Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-31T05:04:22.705Z] # $SEMVER_BRANCH = PR-136 [2022-01-31T05:04:22.705Z] # $SEMVER_TEMP = /tmp/semver-063198153 [2022-01-31T05:04:22.705Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-01-31T05:04:23.285Z] # '/tmp/semver-063198153' -> '/w/workspace/gexfoundry_device-snmp-go_PR-136/.semver' [2022-01-31T05:04:23.285Z] # -> Force: false [2022-01-31T05:04:23.285Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-136/.semver [Pipeline] } [2022-01-31T05:04:23.311Z] $ docker exec --env ******** --env ******** b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 ssh-agent -k [2022-01-31T05:04:23.400Z] unset SSH_AUTH_SOCK; [2022-01-31T05:04:23.401Z] unset SSH_AGENT_PID; [2022-01-31T05:04:23.401Z] echo Agent pid 59 killed; [2022-01-31T05:04:23.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-31T05:04:23.850Z] + git semver [Pipeline] } [2022-01-31T05:04:23.882Z] $ docker stop --time=1 b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 [2022-01-31T05:04:25.133Z] $ docker rm -f b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-31T05:04:25.566Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-31T05:04:25.866Z] Stashed 1 file(s) [Pipeline] echo [2022-01-31T05:04:25.885Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T05:04:26.469Z] provisioning config files... [2022-01-31T05:04:26.480Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/config7910748467777725549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:04:26.840Z] ---> docker-login.sh [2022-01-31T05:04:26.840Z] nexus3.edgexfoundry.org:10001 [2022-01-31T05:04:26.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:26.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:26.840Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:26.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:26.840Z] [2022-01-31T05:04:26.840Z] Login Succeeded [2022-01-31T05:04:26.840Z] nexus3.edgexfoundry.org:10002 [2022-01-31T05:04:26.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:26.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:26.840Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:26.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:26.840Z] [2022-01-31T05:04:26.840Z] Login Succeeded [2022-01-31T05:04:26.840Z] nexus3.edgexfoundry.org:10003 [2022-01-31T05:04:27.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:27.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:27.105Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:27.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:27.105Z] [2022-01-31T05:04:27.105Z] Login Succeeded [2022-01-31T05:04:27.105Z] nexus3.edgexfoundry.org:10004 [2022-01-31T05:04:27.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:27.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:27.105Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:27.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:27.105Z] [2022-01-31T05:04:27.105Z] Login Succeeded [2022-01-31T05:04:27.105Z] docker.io [2022-01-31T05:04:27.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:04:27.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:04:27.626Z] Configure a credential helper to remove this warning. See [2022-01-31T05:04:27.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:04:27.626Z] [2022-01-31T05:04:27.626Z] Login Succeeded [2022-01-31T05:04:27.626Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T05:04:27.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-31T05:04:27.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-31T05:04:27.886Z] ========================================================= [2022-01-31T05:04:27.887Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-31T05:04:27.887Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:04:28.308Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-31T05:04:28.308Z] Sending build context to Docker daemon 5.199MB [2022-01-31T05:04:28.308Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-31T05:04:28.308Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-31T05:04:28.308Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-31T05:04:28.308Z] 59bf1c3509f3: Pulling fs layer [2022-01-31T05:04:28.309Z] 666ba61612fd: Pulling fs layer [2022-01-31T05:04:28.309Z] 8ed8ca486205: Pulling fs layer [2022-01-31T05:04:28.309Z] 4fe6c5a15a65: Pulling fs layer [2022-01-31T05:04:28.309Z] 22a0e8bec74d: Pulling fs layer [2022-01-31T05:04:28.309Z] f965cba54748: Pulling fs layer [2022-01-31T05:04:28.309Z] 861ffc35075e: Pulling fs layer [2022-01-31T05:04:28.309Z] 4b385c91608e: Pulling fs layer [2022-01-31T05:04:28.309Z] 560528eb2ebb: Pulling fs layer [2022-01-31T05:04:28.309Z] 4fe6c5a15a65: Waiting [2022-01-31T05:04:28.309Z] 22a0e8bec74d: Waiting [2022-01-31T05:04:28.309Z] f965cba54748: Waiting [2022-01-31T05:04:28.309Z] 861ffc35075e: Waiting [2022-01-31T05:04:28.309Z] 4b385c91608e: Waiting [2022-01-31T05:04:28.309Z] 560528eb2ebb: Waiting [2022-01-31T05:04:28.309Z] 8ed8ca486205: Verifying Checksum [2022-01-31T05:04:28.309Z] 8ed8ca486205: Download complete [2022-01-31T05:04:28.585Z] 666ba61612fd: Verifying Checksum [2022-01-31T05:04:28.585Z] 666ba61612fd: Download complete [2022-01-31T05:04:28.585Z] 22a0e8bec74d: Verifying Checksum [2022-01-31T05:04:28.585Z] 22a0e8bec74d: Download complete [2022-01-31T05:04:28.585Z] f965cba54748: Verifying Checksum [2022-01-31T05:04:28.585Z] f965cba54748: Download complete [2022-01-31T05:04:28.585Z] 59bf1c3509f3: Verifying Checksum [2022-01-31T05:04:28.585Z] 59bf1c3509f3: Download complete [2022-01-31T05:04:28.585Z] 861ffc35075e: Verifying Checksum [2022-01-31T05:04:28.585Z] 861ffc35075e: Download complete [2022-01-31T05:04:28.585Z] 4b385c91608e: Verifying Checksum [2022-01-31T05:04:28.585Z] 4b385c91608e: Download complete [2022-01-31T05:04:29.161Z] 59bf1c3509f3: Pull complete [2022-01-31T05:04:29.161Z] 560528eb2ebb: Verifying Checksum [2022-01-31T05:04:29.161Z] 560528eb2ebb: Download complete [2022-01-31T05:04:29.161Z] 4fe6c5a15a65: Verifying Checksum [2022-01-31T05:04:29.161Z] 4fe6c5a15a65: Download complete [2022-01-31T05:04:29.161Z] 666ba61612fd: Pull complete [2022-01-31T05:04:29.161Z] 8ed8ca486205: Pull complete [2022-01-31T05:04:34.480Z] 4fe6c5a15a65: Pull complete [2022-01-31T05:04:34.480Z] 22a0e8bec74d: Pull complete [2022-01-31T05:04:34.480Z] f965cba54748: Pull complete [2022-01-31T05:04:34.480Z] 861ffc35075e: Pull complete [2022-01-31T05:04:34.480Z] 4b385c91608e: Pull complete [2022-01-31T05:04:36.432Z] 560528eb2ebb: Pull complete [2022-01-31T05:04:36.432Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-31T05:04:36.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-31T05:04:36.432Z] ---> dd4a08f94e63 [2022-01-31T05:04:36.432Z] Step 3/12 : ARG MAKE='make build' [2022-01-31T05:04:38.989Z] ---> Running in fe6252ff8343 [2022-01-31T05:04:38.989Z] Removing intermediate container fe6252ff8343 [2022-01-31T05:04:38.989Z] ---> 6e3326671bba [2022-01-31T05:04:38.989Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-31T05:04:38.989Z] ---> Running in 5a4bdc39d065 [2022-01-31T05:04:38.989Z] Removing intermediate container 5a4bdc39d065 [2022-01-31T05:04:38.989Z] ---> fe4ccabec92a [2022-01-31T05:04:38.989Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-31T05:04:38.989Z] ---> Running in e4e2ec4edc98 [2022-01-31T05:04:39.255Z] Removing intermediate container e4e2ec4edc98 [2022-01-31T05:04:39.255Z] ---> 939d5e644b08 [2022-01-31T05:04:39.255Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-31T05:04:39.255Z] ---> Running in b5c7c8eb648d [2022-01-31T05:04:39.837Z] Removing intermediate container b5c7c8eb648d [2022-01-31T05:04:39.837Z] ---> e222e23cc97c [2022-01-31T05:04:39.837Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-31T05:04:39.837Z] ---> Running in b700c72c80ed [2022-01-31T05:04:40.099Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-31T05:04:40.671Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-31T05:04:41.245Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-31T05:04:41.245Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-31T05:04:41.245Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-31T05:04:41.284Z] Still waiting to schedule task [2022-01-31T05:04:41.284Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4290’ is offline [2022-01-31T05:04:41.509Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-31T05:04:41.509Z] Executing busybox-1.34.1-r3.trigger [2022-01-31T05:04:41.509Z] OK: 224 MiB in 56 packages [2022-01-31T05:04:41.771Z] Removing intermediate container b700c72c80ed [2022-01-31T05:04:41.771Z] ---> b7b743e427d1 [2022-01-31T05:04:41.771Z] Step 8/12 : WORKDIR /device-snmp-go [2022-01-31T05:04:42.035Z] ---> Running in 4d1e8285fe71 [2022-01-31T05:04:42.035Z] Removing intermediate container 4d1e8285fe71 [2022-01-31T05:04:42.035Z] ---> 3d5cb224e62b [2022-01-31T05:04:42.035Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-31T05:04:42.035Z] ---> 04aae3277a22 [2022-01-31T05:04:42.035Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-31T05:04:42.297Z] ---> Running in 43d8ffc76b40 [2022-01-31T05:05:21.081Z] Removing intermediate container 43d8ffc76b40 [2022-01-31T05:05:21.081Z] ---> dcd49a3eee41 [2022-01-31T05:05:21.081Z] Step 11/12 : COPY . . [2022-01-31T05:05:21.081Z] ---> b46be29a42df [2022-01-31T05:05:21.081Z] Step 12/12 : RUN ${MAKE} [2022-01-31T05:05:21.081Z] ---> Running in 4846e6c50d1d [2022-01-31T05:05:21.081Z] noop [2022-01-31T05:05:21.081Z] Removing intermediate container 4846e6c50d1d [2022-01-31T05:05:21.081Z] ---> 614cd44f548e [2022-01-31T05:05:21.081Z] Successfully built 614cd44f548e [2022-01-31T05:05:21.081Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:05:21.417Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-31T05:05:21.417Z] . [Pipeline] withDockerContainer [2022-01-31T05:05:21.513Z] prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container [2022-01-31T05:05:21.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-136 -v /w/workspace/gexfoundry_device-snmp-go_PR-136:/w/workspace/gexfoundry_device-snmp-go_PR-136:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-136@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-136@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 ******** ci-base-image-x86_64 cat [2022-01-31T05:05:21.907Z] $ docker top 30fc79f56eb19d2e0b856b8571acad159ef7b970ee4cac1ab9c1f234d1eca309 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T05:05:22.307Z] + go version [2022-01-31T05:05:22.307Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-31T05:05:22.335Z] $ docker stop --time=1 30fc79f56eb19d2e0b856b8571acad159ef7b970ee4cac1ab9c1f234d1eca309 [2022-01-31T05:05:23.512Z] $ docker rm -f 30fc79f56eb19d2e0b856b8571acad159ef7b970ee4cac1ab9c1f234d1eca309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:05:24.142Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-31T05:05:24.142Z] . [Pipeline] withDockerContainer [2022-01-31T05:05:24.225Z] prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container [2022-01-31T05:05:24.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-136 -v /w/workspace/gexfoundry_device-snmp-go_PR-136:/w/workspace/gexfoundry_device-snmp-go_PR-136:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-136@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-136@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 ******** ci-base-image-x86_64 cat [2022-01-31T05:05:24.590Z] $ docker top 2bb987a0e2c0d443ee3d93434190f50593e6a2820f9187fc8be081161cb3895f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-31T05:05:25.048Z] + make test [2022-01-31T05:05:25.048Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-31T05:05:25.310Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-01-31T05:05:40.302Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-01-31T05:05:40.302Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-01-31T05:05:40.302Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-31T05:05:43.614Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-31T05:05:43.614Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-31T05:05:43.614Z] ./bin/test-attribution-txt.sh [2022-01-31T05:05:43.875Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-01-31T05:05:43.875Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2022-01-31T05:05:43.920Z] $ docker stop --time=1 2bb987a0e2c0d443ee3d93434190f50593e6a2820f9187fc8be081161cb3895f [2022-01-31T05:05:45.404Z] $ docker rm -f 2bb987a0e2c0d443ee3d93434190f50593e6a2820f9187fc8be081161cb3895f [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 [2022-01-31T05:05:46.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T05:05:46.495Z] [2022-01-31T05:05:46.495Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:05:46.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T05:05:46.857Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-31T05:05:46.857Z] b4d181a07f80: Pulling fs layer [2022-01-31T05:05:46.857Z] a1111a8f2ec3: Pulling fs layer [2022-01-31T05:05:46.857Z] ed53099fbce6: Pulling fs layer [2022-01-31T05:05:46.857Z] dc539afda2c1: Pulling fs layer [2022-01-31T05:05:46.857Z] 77bc0d833cb6: Pulling fs layer [2022-01-31T05:05:46.857Z] 9065ff56babe: Pulling fs layer [2022-01-31T05:05:46.857Z] d287ab97295c: Pulling fs layer [2022-01-31T05:05:46.857Z] dc539afda2c1: Waiting [2022-01-31T05:05:46.857Z] 77bc0d833cb6: Waiting [2022-01-31T05:05:46.857Z] 9065ff56babe: Waiting [2022-01-31T05:05:46.857Z] d287ab97295c: Waiting [2022-01-31T05:05:46.857Z] a1111a8f2ec3: Verifying Checksum [2022-01-31T05:05:46.857Z] a1111a8f2ec3: Download complete [2022-01-31T05:05:46.857Z] dc539afda2c1: Verifying Checksum [2022-01-31T05:05:46.857Z] dc539afda2c1: Download complete [2022-01-31T05:05:47.122Z] ed53099fbce6: Verifying Checksum [2022-01-31T05:05:47.122Z] ed53099fbce6: Download complete [2022-01-31T05:05:47.122Z] 77bc0d833cb6: Verifying Checksum [2022-01-31T05:05:47.122Z] 77bc0d833cb6: Download complete [2022-01-31T05:05:47.122Z] 9065ff56babe: Verifying Checksum [2022-01-31T05:05:47.122Z] 9065ff56babe: Download complete [2022-01-31T05:05:47.122Z] b4d181a07f80: Verifying Checksum [2022-01-31T05:05:47.122Z] b4d181a07f80: Download complete [2022-01-31T05:05:47.715Z] d287ab97295c: Verifying Checksum [2022-01-31T05:05:47.715Z] d287ab97295c: Download complete [2022-01-31T05:05:48.303Z] b4d181a07f80: Pull complete [2022-01-31T05:05:48.571Z] a1111a8f2ec3: Pull complete [2022-01-31T05:05:49.164Z] ed53099fbce6: Pull complete [2022-01-31T05:05:49.164Z] dc539afda2c1: Pull complete [2022-01-31T05:05:49.425Z] 77bc0d833cb6: Pull complete [2022-01-31T05:05:49.425Z] 9065ff56babe: Pull complete [2022-01-31T05:05:54.751Z] d287ab97295c: Pull complete [2022-01-31T05:05:54.751Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-31T05:05:54.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T05:05:54.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-31T05:05:54.849Z] prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container [2022-01-31T05:05:54.883Z] $ 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/gexfoundry_device-snmp-go_PR-136 -v /w/workspace/gexfoundry_device-snmp-go_PR-136:/w/workspace/gexfoundry_device-snmp-go_PR-136:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-136@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-31T05:05:57.405Z] $ docker top fb0a910d1f507e6574fe61743cd696f5eac06904a5a673b3e2337f4a8097f4b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:05:57.900Z] ---> job-cost.sh [2022-01-31T05:05:57.900Z] lf-activate-venv: SKIPPING [2022-01-31T05:05:57.900Z] INFO: No Stack... [2022-01-31T05:05:58.159Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-31T05:05:58.419Z] INFO: Archiving Costs [Pipeline] sh [2022-01-31T05:05:58.737Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-136/archives/cost.csv [2022-01-31T05:05:58.737Z] + cut -d, -f6 [Pipeline] lock [2022-01-31T05:05:58.780Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [2022-01-31T05:05:58.785Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] did not exist. Created. [2022-01-31T05:05:58.785Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-31T05:05:59.184Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-31T05:05:59.245Z] Stashed 1 file(s) [Pipeline] } [2022-01-31T05:05:59.264Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-31T05:05:59.332Z] $ docker stop --time=1 fb0a910d1f507e6574fe61743cd696f5eac06904a5a673b3e2337f4a8097f4b3 [2022-01-31T05:06:00.457Z] $ docker rm -f fb0a910d1f507e6574fe61743cd696f5eac06904a5a673b3e2337f4a8097f4b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-31T05:06:00.827Z] Failed in branch amd64 [2022-01-31T05:06:51.478Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4291 in /w/workspace/gexfoundry_device-snmp-go_PR-136 [Pipeline] { [Pipeline] ws [2022-01-31T05:06:51.522Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-01-31T05:06:51.779Z] Selected Git installation does not exist. Using Default [2022-01-31T05:06:51.779Z] The recommended git tool is: NONE [2022-01-31T05:06:56.981Z] using credential edgex-jenkins-ssh [2022-01-31T05:06:57.001Z] Cloning the remote Git repository [2022-01-31T05:06:57.062Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-01-31T05:06:57.153Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-01-31T05:06:57.232Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-01-31T05:06:57.233Z] > git --version # timeout=10 [2022-01-31T05:06:57.335Z] > git --version # 'git version 2.17.1' [2022-01-31T05:06:57.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T05:06:57.493Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-31T05:06:58.602Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-01-31T05:06:58.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-31T05:06:58.673Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-01-31T05:06:58.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-01-31T05:06:58.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T05:06:58.746Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-31T05:06:59.289Z] Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit c567c1d93d201cd350b34612e14abd1674cb9072 [2022-01-31T05:06:59.541Z] Merge succeeded, producing c567c1d93d201cd350b34612e14abd1674cb9072 [2022-01-31T05:06:59.541Z] Checking out Revision c567c1d93d201cd350b34612e14abd1674cb9072 (PR-136) [2022-01-31T05:06:59.312Z] > git config core.sparsecheckout # timeout=10 [2022-01-31T05:06:59.338Z] > git checkout -f c567c1d93d201cd350b34612e14abd1674cb9072 # timeout=10 [2022-01-31T05:06:59.425Z] > git remote # timeout=10 [2022-01-31T05:06:59.453Z] > git config --get remote.origin.url # timeout=10 [2022-01-31T05:06:59.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T05:06:59.492Z] > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 [2022-01-31T05:06:59.519Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-31T05:06:59.547Z] > git config core.sparsecheckout # timeout=10 [2022-01-31T05:06:59.562Z] > git checkout -f c567c1d93d201cd350b34612e14abd1674cb9072 # timeout=10 [2022-01-31T05:07:03.855Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-01-31T05:07:03.929Z] > git --version # timeout=10 [2022-01-31T05:07:03.944Z] > git --version # 'git version 2.17.1' [2022-01-31T05:07:03.964Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-31T05:07:05.175Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-31T05:07:05.175Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-31T05:07:05.175Z] Dload Upload Total Spent Left Speed [2022-01-31T05:07:05.175Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-01-31T05:07:05.779Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-31T05:07:06.141Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-31T05:07:06.141Z] + sudo tee /etc/docker/daemon.new [2022-01-31T05:07:06.141Z] { [2022-01-31T05:07:06.141Z] "registry-mirrors": [ [2022-01-31T05:07:06.141Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-31T05:07:06.141Z] ], [2022-01-31T05:07:06.141Z] "bip": "10.250.0.254/24", [2022-01-31T05:07:06.141Z] "hosts": [ [2022-01-31T05:07:06.141Z] "tcp://0.0.0.0:5555", [2022-01-31T05:07:06.141Z] "unix:///var/run/docker.sock" [2022-01-31T05:07:06.141Z] ], [2022-01-31T05:07:06.141Z] "mtu": 1458, [2022-01-31T05:07:06.141Z] "selinux-enabled": true, [2022-01-31T05:07:06.141Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-31T05:07:06.141Z] } [Pipeline] sh [2022-01-31T05:07:06.563Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-31T05:07:06.936Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T05:07:25.356Z] provisioning config files... [2022-01-31T05:07:25.383Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5168232555369998413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:07:25.954Z] ---> docker-login.sh [2022-01-31T05:07:25.954Z] nexus3.edgexfoundry.org:10001 [2022-01-31T05:07:26.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:07:26.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:07:26.822Z] Configure a credential helper to remove this warning. See [2022-01-31T05:07:26.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:07:26.822Z] [2022-01-31T05:07:26.822Z] Login Succeeded [2022-01-31T05:07:26.822Z] nexus3.edgexfoundry.org:10002 [2022-01-31T05:07:27.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:07:27.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:07:27.369Z] Configure a credential helper to remove this warning. See [2022-01-31T05:07:27.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:07:27.369Z] [2022-01-31T05:07:27.369Z] Login Succeeded [2022-01-31T05:07:27.369Z] nexus3.edgexfoundry.org:10003 [2022-01-31T05:07:27.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:07:27.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:07:27.648Z] Configure a credential helper to remove this warning. See [2022-01-31T05:07:27.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:07:27.648Z] [2022-01-31T05:07:27.648Z] Login Succeeded [2022-01-31T05:07:27.648Z] nexus3.edgexfoundry.org:10004 [2022-01-31T05:07:27.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:07:28.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:07:28.197Z] Configure a credential helper to remove this warning. See [2022-01-31T05:07:28.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:07:28.197Z] [2022-01-31T05:07:28.197Z] Login Succeeded [2022-01-31T05:07:28.197Z] docker.io [2022-01-31T05:07:28.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T05:07:28.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T05:07:28.745Z] Configure a credential helper to remove this warning. See [2022-01-31T05:07:28.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T05:07:28.745Z] [2022-01-31T05:07:28.745Z] Login Succeeded [2022-01-31T05:07:28.745Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T05:07:28.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-31T05:07:29.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-31T05:07:29.201Z] ========================================================= [2022-01-31T05:07:29.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-31T05:07:29.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:07:29.675Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-31T05:07:29.950Z] Sending build context to Docker daemon 2.705MB [2022-01-31T05:07:29.950Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-31T05:07:29.950Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-31T05:07:30.226Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-31T05:07:30.227Z] 9b3977197b4f: Pulling fs layer [2022-01-31T05:07:30.227Z] 1a89e8eeedd5: Pulling fs layer [2022-01-31T05:07:30.227Z] 94645a83ff95: Pulling fs layer [2022-01-31T05:07:30.227Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-31T05:07:30.227Z] 0c92f367c5e7: Pulling fs layer [2022-01-31T05:07:30.227Z] 4b8299f9d1f4: Pulling fs layer [2022-01-31T05:07:30.227Z] 9a6b49a46696: Pulling fs layer [2022-01-31T05:07:30.227Z] cf05db05a679: Pulling fs layer [2022-01-31T05:07:30.227Z] 0c92f367c5e7: Waiting [2022-01-31T05:07:30.227Z] 4b8299f9d1f4: Waiting [2022-01-31T05:07:30.227Z] 9a6b49a46696: Waiting [2022-01-31T05:07:30.227Z] cf05db05a679: Waiting [2022-01-31T05:07:30.227Z] 3f3a8bcf1eab: Waiting [2022-01-31T05:07:30.227Z] 94645a83ff95: Verifying Checksum [2022-01-31T05:07:30.227Z] 94645a83ff95: Download complete [2022-01-31T05:07:30.227Z] 1a89e8eeedd5: Verifying Checksum [2022-01-31T05:07:30.227Z] 1a89e8eeedd5: Download complete [2022-01-31T05:07:30.227Z] 0c92f367c5e7: Download complete [2022-01-31T05:07:30.227Z] 4b8299f9d1f4: Verifying Checksum [2022-01-31T05:07:30.227Z] 4b8299f9d1f4: Download complete [2022-01-31T05:07:30.227Z] 9b3977197b4f: Verifying Checksum [2022-01-31T05:07:30.227Z] 9b3977197b4f: Download complete [2022-01-31T05:07:30.227Z] 9a6b49a46696: Verifying Checksum [2022-01-31T05:07:30.227Z] 9a6b49a46696: Download complete [2022-01-31T05:07:31.216Z] 9b3977197b4f: Pull complete [2022-01-31T05:07:31.491Z] 1a89e8eeedd5: Pull complete [2022-01-31T05:07:32.094Z] 94645a83ff95: Pull complete [2022-01-31T05:07:32.094Z] cf05db05a679: Verifying Checksum [2022-01-31T05:07:32.094Z] cf05db05a679: Download complete [2022-01-31T05:07:32.690Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-31T05:07:32.690Z] 3f3a8bcf1eab: Download complete [2022-01-31T05:07:45.085Z] 3f3a8bcf1eab: Pull complete [2022-01-31T05:07:45.085Z] 0c92f367c5e7: Pull complete [2022-01-31T05:07:45.085Z] 4b8299f9d1f4: Pull complete [2022-01-31T05:07:45.085Z] 9a6b49a46696: Pull complete [2022-01-31T05:07:50.474Z] cf05db05a679: Pull complete [2022-01-31T05:07:50.474Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-31T05:07:50.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-31T05:07:50.474Z] ---> 0ccda1f7e2ee [2022-01-31T05:07:50.474Z] Step 3/12 : ARG MAKE='make build' [2022-01-31T05:07:52.464Z] ---> Running in edc49e286d7f [2022-01-31T05:07:52.464Z] Removing intermediate container edc49e286d7f [2022-01-31T05:07:52.464Z] ---> f92781dd1290 [2022-01-31T05:07:52.464Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-31T05:07:52.735Z] ---> Running in d0956472a497 [2022-01-31T05:07:53.011Z] Removing intermediate container d0956472a497 [2022-01-31T05:07:53.011Z] ---> 879f61c1200c [2022-01-31T05:07:53.011Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-31T05:07:53.011Z] ---> Running in e294aa242f41 [2022-01-31T05:07:53.605Z] Removing intermediate container e294aa242f41 [2022-01-31T05:07:53.605Z] ---> e1208d29615c [2022-01-31T05:07:53.605Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-31T05:07:53.605Z] ---> Running in d1a011e935d8 [2022-01-31T05:07:55.576Z] Removing intermediate container d1a011e935d8 [2022-01-31T05:07:55.576Z] ---> 4c4e77beba15 [2022-01-31T05:07:55.576Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-31T05:07:55.576Z] ---> Running in 35a81a4080e7 [2022-01-31T05:07:56.551Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-31T05:07:57.534Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-31T05:07:58.128Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-31T05:07:58.402Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-31T05:07:58.402Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-31T05:07:58.681Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-31T05:07:58.681Z] Executing busybox-1.34.1-r3.trigger [2022-01-31T05:07:58.681Z] OK: 224 MiB in 56 packages [2022-01-31T05:07:59.666Z] Removing intermediate container 35a81a4080e7 [2022-01-31T05:07:59.666Z] ---> 848ef834714d [2022-01-31T05:07:59.666Z] Step 8/12 : WORKDIR /device-snmp-go [2022-01-31T05:07:59.938Z] ---> Running in d93f5cb45e9f [2022-01-31T05:08:00.213Z] Removing intermediate container d93f5cb45e9f [2022-01-31T05:08:00.213Z] ---> 9c4e43496395 [2022-01-31T05:08:00.213Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-31T05:08:00.815Z] ---> 51f7723ded7d [2022-01-31T05:08:00.815Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-31T05:08:00.815Z] ---> Running in a0fee6e7d769 [2022-01-31T05:09:22.645Z] Removing intermediate container a0fee6e7d769 [2022-01-31T05:09:22.645Z] ---> 242f8aad7b9f [2022-01-31T05:09:22.645Z] Step 11/12 : COPY . . [2022-01-31T05:09:22.645Z] ---> 6c2ebcabf46c [2022-01-31T05:09:22.645Z] Step 12/12 : RUN ${MAKE} [2022-01-31T05:09:22.645Z] ---> Running in d320171de09c [2022-01-31T05:09:22.645Z] noop [2022-01-31T05:09:22.645Z] Removing intermediate container d320171de09c [2022-01-31T05:09:22.645Z] ---> ecd3ba30a2b8 [2022-01-31T05:09:22.645Z] Successfully built ecd3ba30a2b8 [2022-01-31T05:09:22.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:09:23.008Z] + docker inspect -f . ci-base-image-arm64 [2022-01-31T05:09:23.008Z] . [Pipeline] withDockerContainer [2022-01-31T05:09:23.238Z] prd-ubuntu18.04-docker-arm64-4c-16g-4291 does not seem to be running inside a container [2022-01-31T05:09:23.314Z] $ 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 ******** ci-base-image-arm64 cat [2022-01-31T05:09:24.635Z] $ docker top 108f4b77d6b88e9811db9c47ebdbdee7c65af2e1fa1e23c722ce37a55909cde2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T05:09:25.681Z] + go version [2022-01-31T05:09:25.681Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-31T05:09:25.710Z] $ docker stop --time=1 108f4b77d6b88e9811db9c47ebdbdee7c65af2e1fa1e23c722ce37a55909cde2 [2022-01-31T05:09:27.341Z] $ docker rm -f 108f4b77d6b88e9811db9c47ebdbdee7c65af2e1fa1e23c722ce37a55909cde2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:09:28.213Z] + docker inspect -f . ci-base-image-arm64 [2022-01-31T05:09:28.213Z] . [Pipeline] withDockerContainer [2022-01-31T05:09:28.442Z] prd-ubuntu18.04-docker-arm64-4c-16g-4291 does not seem to be running inside a container [2022-01-31T05:09:28.514Z] $ 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 ******** ci-base-image-arm64 cat [2022-01-31T05:09:29.781Z] $ docker top df0db39ca20c39244eb35096b57c28beb9798ec212b443cbcc37e82699b9f3d4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-31T05:09:30.781Z] + make test [2022-01-31T05:09:30.781Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-31T05:09:31.760Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-01-31T05:10:18.763Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-01-31T05:10:18.763Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2022-01-31T05:10:18.763Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-31T05:10:31.167Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-31T05:10:31.167Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-31T05:10:31.167Z] ./bin/test-attribution-txt.sh [2022-01-31T05:10:32.598Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-01-31T05:10:32.868Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2022-01-31T05:10:32.906Z] $ docker stop --time=1 df0db39ca20c39244eb35096b57c28beb9798ec212b443cbcc37e82699b9f3d4 [2022-01-31T05:10:34.675Z] $ docker rm -f df0db39ca20c39244eb35096b57c28beb9798ec212b443cbcc37e82699b9f3d4 [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 [2022-01-31T05:10:35.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T05:10:35.994Z] [2022-01-31T05:10:35.994Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:10:36.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T05:10:36.646Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-31T05:10:36.646Z] 448f6bf000e3: Pulling fs layer [2022-01-31T05:10:36.646Z] f757da607395: Pulling fs layer [2022-01-31T05:10:36.646Z] 05883995daec: Pulling fs layer [2022-01-31T05:10:36.646Z] 8603b9c90790: Pulling fs layer [2022-01-31T05:10:36.646Z] 1560dd03e051: Pulling fs layer [2022-01-31T05:10:36.646Z] 27f5ce0e4adf: Pulling fs layer [2022-01-31T05:10:36.646Z] c2d8d7efcc4b: Pulling fs layer [2022-01-31T05:10:36.646Z] 1560dd03e051: Waiting [2022-01-31T05:10:36.646Z] 27f5ce0e4adf: Waiting [2022-01-31T05:10:36.646Z] c2d8d7efcc4b: Waiting [2022-01-31T05:10:36.646Z] 8603b9c90790: Waiting [2022-01-31T05:10:36.646Z] f757da607395: Verifying Checksum [2022-01-31T05:10:36.646Z] f757da607395: Download complete [2022-01-31T05:10:36.646Z] 8603b9c90790: Verifying Checksum [2022-01-31T05:10:36.646Z] 8603b9c90790: Download complete [2022-01-31T05:10:36.646Z] 1560dd03e051: Verifying Checksum [2022-01-31T05:10:36.646Z] 1560dd03e051: Download complete [2022-01-31T05:10:36.646Z] 27f5ce0e4adf: Verifying Checksum [2022-01-31T05:10:36.646Z] 27f5ce0e4adf: Download complete [2022-01-31T05:10:36.921Z] 05883995daec: Verifying Checksum [2022-01-31T05:10:36.921Z] 05883995daec: Download complete [2022-01-31T05:10:37.198Z] 448f6bf000e3: Verifying Checksum [2022-01-31T05:10:37.198Z] 448f6bf000e3: Download complete [2022-01-31T05:10:39.812Z] c2d8d7efcc4b: Verifying Checksum [2022-01-31T05:10:39.812Z] c2d8d7efcc4b: Download complete [2022-01-31T05:10:40.789Z] 448f6bf000e3: Pull complete [2022-01-31T05:10:41.383Z] f757da607395: Pull complete [2022-01-31T05:10:42.813Z] 05883995daec: Pull complete [2022-01-31T05:10:43.085Z] 8603b9c90790: Pull complete [2022-01-31T05:10:44.064Z] 1560dd03e051: Pull complete [2022-01-31T05:10:44.064Z] 27f5ce0e4adf: Pull complete [2022-01-31T05:10:59.133Z] c2d8d7efcc4b: Pull complete [2022-01-31T05:10:59.133Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-31T05:10:59.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T05:10:59.133Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-31T05:10:59.370Z] prd-ubuntu18.04-docker-arm64-4c-16g-4291 does not seem to be running inside a container [2022-01-31T05:10:59.440Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-31T05:11:02.011Z] $ docker top 61273f254cf0746fa430ea1494e724bd6056d3a6f81d7e251ec46ee7033786ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:11:02.987Z] ---> job-cost.sh [2022-01-31T05:11:02.987Z] lf-activate-venv: SKIPPING [2022-01-31T05:11:02.987Z] INFO: No Stack... [2022-01-31T05:11:03.257Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-31T05:11:03.850Z] INFO: Archiving Costs [Pipeline] sh [2022-01-31T05:11:04.523Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-01-31T05:11:04.523Z] + cut -d, -f6 [Pipeline] lock [2022-01-31T05:11:04.606Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [2022-01-31T05:11:04.611Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] did not exist. Created. [2022-01-31T05:11:04.611Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-31T05:11:05.362Z] /w/workspace/device-snmp-go/1@tmp/durable-63c8c6ae/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-63c8c6ae/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-31T05:11:06.057Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-31T05:11:06.104Z] Warning: overwriting stash ‘stack-cost’ [2022-01-31T05:11:06.522Z] Stashed 1 file(s) [Pipeline] } [2022-01-31T05:11:06.537Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-31T05:11:06.606Z] $ docker stop --time=1 61273f254cf0746fa430ea1494e724bd6056d3a6f81d7e251ec46ee7033786ed [2022-01-31T05:11:08.117Z] $ docker rm -f 61273f254cf0746fa430ea1494e724bd6056d3a6f81d7e251ec46ee7033786ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-31T05:11:08.854Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-31T05:11:10.831Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-136/archives ']' [2022-01-31T05:11:10.832Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-136/archives [2022-01-31T05:11:10.832Z] total 8 [2022-01-31T05:11:10.832Z] drwxr-xr-x. 3 root root 34 Jan 31 05:05 . [2022-01-31T05:11:10.832Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 31 05:05 .. [2022-01-31T05:11:10.832Z] drwxr-xr-x. 2 root root 6 Jan 31 05:05 cost [2022-01-31T05:11:10.832Z] -rw-r--r--. 1 root root 85 Jan 31 05:05 cost.csv [2022-01-31T05:11:10.832Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-136/archives [2022-01-31T05:11:10.832Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-136/archives [2022-01-31T05:11:10.832Z] total 8 [2022-01-31T05:11:10.832Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 31 05:05 . [2022-01-31T05:11:10.832Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 31 05:05 .. [2022-01-31T05:11:10.832Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 31 05:05 cost [2022-01-31T05:11:10.832Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 31 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:11:11.170Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:11:11.766Z] ---> package-listing.sh [2022-01-31T05:11:11.766Z] ++ facter osfamily [2022-01-31T05:11:11.766Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-31T05:11:12.030Z] + OS_FAMILY=redhat [2022-01-31T05:11:12.030Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-136 [2022-01-31T05:11:12.030Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-31T05:11:12.030Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-31T05:11:12.030Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-31T05:11:12.030Z] + PACKAGES=/tmp/packages_start.txt [2022-01-31T05:11:12.030Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-136 ']' [2022-01-31T05:11:12.030Z] + PACKAGES=/tmp/packages_end.txt [2022-01-31T05:11:12.030Z] + case "${OS_FAMILY}" in [2022-01-31T05:11:12.030Z] + sort [2022-01-31T05:11:12.030Z] + rpm -qa [2022-01-31T05:11:12.604Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-31T05:11:12.604Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-31T05:11:12.604Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-31T05:11:12.604Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-136 ']' [2022-01-31T05:11:12.604Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-136/archives/ [2022-01-31T05:11:12.604Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-136/archives/ [Pipeline] echo [2022-01-31T05:11:12.640Z] 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-136/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-31T05:11:12.936Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-31T05:11:13.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T05:11:13.524Z] . [Pipeline] withDockerContainer [2022-01-31T05:11:13.611Z] prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container [2022-01-31T05:11:13.643Z] $ 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-136/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-136 -v /w/workspace/gexfoundry_device-snmp-go_PR-136:/w/workspace/gexfoundry_device-snmp-go_PR-136:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-136@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-136@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-31T05:11:13.839Z] $ docker top c356a2e3060941d12eaf4d223f483f13a029f3172e94fac59ef270d65699cb1a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T05:11:14.236Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-31T05:11:14.550Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-31T05:11:14.984Z] + ls /var/log/sa-host [2022-01-31T05:11:14.984Z] + sadf -c /var/log/sa-host/sa17 [2022-01-31T05:11:14.984Z] file_magic: OK [2022-01-31T05:11:14.984Z] HZ: Using current value: 100 [2022-01-31T05:11:14.984Z] file_header: OK [2022-01-31T05:11:14.984Z] 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 [2022-01-31T05:11:14.984Z] Statistics: [2022-01-31T05:11:14.984Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-31T05:11:14.984Z] File successfully converted to sysstat format version 12.0.3 [2022-01-31T05:11:14.984Z] + sadf -c /var/log/sa-host/sa31 [2022-01-31T05:11:14.984Z] file_magic: OK [2022-01-31T05:11:14.984Z] HZ: Using current value: 100 [2022-01-31T05:11:14.984Z] file_header: OK [2022-01-31T05:11:14.984Z] 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 [2022-01-31T05:11:14.984Z] Statistics: [2022-01-31T05:11:14.984Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-31T05:11:14.984Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T05:11:15.186Z] provisioning config files... [2022-01-31T05:11:15.258Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/config3852109444823119476tmp [Pipeline] { [Pipeline] echo [2022-01-31T05:11:15.317Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:11:15.633Z] ---> create-netrc.sh [Pipeline] } [2022-01-31T05:11:15.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:11:16.057Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-31T05:11:16.092Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:11:16.410Z] ---> sudo-logs.sh [2022-01-31T05:11:16.410Z] Archiving 'sudo' log.. [2022-01-31T05:11:16.410Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4289.novalocal: Name or service not known [2022-01-31T05:11:16.410Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4289.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-31T05:11:16.496Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:11:16.823Z] ---> job-cost.sh [2022-01-31T05:11:16.823Z] lf-activate-venv: SKIPPING [2022-01-31T05:11:16.823Z] DEBUG: total: 0.05999999865889549 [2022-01-31T05:11:16.823Z] INFO: Retrieving Stack Cost... [2022-01-31T05:11:17.083Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-31T05:11:17.345Z] INFO: Archiving Costs [Pipeline] echo [2022-01-31T05:11:17.382Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T05:11:17.713Z] ---> logs-deploy.sh [2022-01-31T05:11:17.713Z] lf-activate-venv: SKIPPING [2022-01-31T05:11:17.713Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-136/1 [2022-01-31T05:11:17.713Z] INFO: archiving workspace using pattern(s): [2022-01-31T05:11:18.289Z] Archives upload complete. [2022-01-31T05:11:18.551Z] INFO: archiving logs to Nexus