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 05:04:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:11 ========================================================= 05:04:11 EdgeX Global Pipelines Version Info 05:04:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:12 ------------------- 05:04:12 stable info: 05:04:12 ------------------- 05:04:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:12 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 05:04:12 Message: update stable to v1.0.219 05:04:13 ------------------- 05:04:13 experimental info: 05:04:13 ------------------- 05:04:13 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:13 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 05:04:13 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-136 [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-136 [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-136 [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c567c1d93d201cd350b34612e14abd1674cb9072 [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c567c1d [Pipeline] echo 05:04:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:14 provisioning config files... 05:04:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/config6652434351232066142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:15 ---> docker-login.sh 05:04:15 nexus3.edgexfoundry.org:10001 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:15 Configure a credential helper to remove this warning. See 05:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:15 05:04:15 Login Succeeded 05:04:15 nexus3.edgexfoundry.org:10002 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:15 Configure a credential helper to remove this warning. See 05:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:15 05:04:15 Login Succeeded 05:04:15 nexus3.edgexfoundry.org:10003 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:15 Configure a credential helper to remove this warning. See 05:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:15 05:04:15 Login Succeeded 05:04:15 nexus3.edgexfoundry.org:10004 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:15 Configure a credential helper to remove this warning. See 05:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:15 05:04:15 Login Succeeded 05:04:15 docker.io 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:16 Configure a credential helper to remove this warning. See 05:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:16 05:04:16 Login Succeeded 05:04:16 ---> docker-login.sh ends [Pipeline] } 05:04:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:16 + git rev-list -1 --merges c567c1d93d201cd350b34612e14abd1674cb9072~1..c567c1d93d201cd350b34612e14abd1674cb9072 [Pipeline] echo 05:04:16 -----------> git rev-list -1 --merges c567c1d93d201cd350b34612e14abd1674cb9072~1..c567c1d93d201cd350b34612e14abd1674cb9072 c567c1d93d201cd350b34612e14abd1674cb9072 [false] [Pipeline] sh 05:04:17 + git log --format=format:%s -1 c567c1d93d201cd350b34612e14abd1674cb9072 [Pipeline] echo 05:04:17 ========================================================= 05:04:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:17 + git log --format=format:%s -1 c567c1d93d201cd350b34612e14abd1674cb9072 [Pipeline] echo 05:04:17 [semverPrep] GIT_COMMIT: c567c1d93d201cd350b34612e14abd1674cb9072, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:17 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:18 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:04:18 + grep -v github /etc/ssh/ssh_known_hosts 05:04:18 + '[' -e /tmp/ssh_known_hosts ']' 05:04:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:18 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 05:04:18 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:04:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:18 05:04:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:04:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:18 latest: Pulling from edgex-devops/git-semver 05:04:18 a0d0a0d46f8b: Pulling fs layer 05:04:18 3e5f54012d9b: Pulling fs layer 05:04:18 4c7163046ea9: Pulling fs layer 05:04:18 0c2d73faf560: Pulling fs layer 05:04:18 0c2d73faf560: Waiting 05:04:18 3e5f54012d9b: Verifying Checksum 05:04:18 3e5f54012d9b: Download complete 05:04:18 a0d0a0d46f8b: Verifying Checksum 05:04:18 a0d0a0d46f8b: Download complete 05:04:19 0c2d73faf560: Verifying Checksum 05:04:19 0c2d73faf560: Download complete 05:04:19 4c7163046ea9: Verifying Checksum 05:04:19 4c7163046ea9: Download complete 05:04:19 a0d0a0d46f8b: Pull complete 05:04:19 3e5f54012d9b: Pull complete 05:04:19 4c7163046ea9: Pull complete 05:04:19 0c2d73faf560: Pull complete 05:04:19 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:04:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:04:19 prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container 05:04:19 $ 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 05:04:20 $ docker top b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:20 [ssh-agent] Looking for ssh-agent implementation... 05:04:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:21 $ docker exec b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 ssh-agent 05:04:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGmHMIB/agent.13 05:04:21 SSH_AGENT_PID=19 05:04:21 Running ssh-add (command line suppressed) 05:04:21 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) 05:04:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:21 + git tag --points-at HEAD [Pipeline] } 05:04:21 $ docker exec --env ******** --env ******** b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 ssh-agent -k 05:04:21 unset SSH_AUTH_SOCK; 05:04:21 unset SSH_AGENT_PID; 05:04:21 echo Agent pid 19 killed; 05:04:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:21 [ssh-agent] Looking for ssh-agent implementation... 05:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:22 $ docker exec b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 ssh-agent 05:04:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOPjdFP/agent.53 05:04:22 SSH_AGENT_PID=59 05:04:22 Running ssh-add (command line suppressed) 05:04:22 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) 05:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:22 + git semver init 05:04:22 # -> Open(): unable to determine branch for HEAD 05:04:22 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-136/.git 05:04:22 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-136 05:04:22 # $SEMVER_REMOTE_NAME = origin 05:04:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:04:22 # $SEMVER_USER_NAME = edgex-jenkins 05:04:22 # $SEMVER_BRANCH = PR-136 05:04:22 # $SEMVER_TEMP = /tmp/semver-063198153 05:04:22 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:04:23 # '/tmp/semver-063198153' -> '/w/workspace/gexfoundry_device-snmp-go_PR-136/.semver' 05:04:23 # -> Force: false 05:04:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-136/.semver [Pipeline] } 05:04:23 $ docker exec --env ******** --env ******** b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 ssh-agent -k 05:04:23 unset SSH_AUTH_SOCK; 05:04:23 unset SSH_AGENT_PID; 05:04:23 echo Agent pid 59 killed; 05:04:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:23 + git semver [Pipeline] } 05:04:23 $ docker stop --time=1 b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 05:04:25 $ docker rm -f b5f6bce298899ea890aa2a07e4471d0a85379530bf4a71a72b0ad850ceeefd97 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:25 Stashed 1 file(s) [Pipeline] echo 05:04:25 [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 05:04:26 provisioning config files... 05:04:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/config7910748467777725549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:26 ---> docker-login.sh 05:04:26 nexus3.edgexfoundry.org:10001 05:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:26 Configure a credential helper to remove this warning. See 05:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:26 05:04:26 Login Succeeded 05:04:26 nexus3.edgexfoundry.org:10002 05:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:26 Configure a credential helper to remove this warning. See 05:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:26 05:04:26 Login Succeeded 05:04:26 nexus3.edgexfoundry.org:10003 05:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:27 Configure a credential helper to remove this warning. See 05:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:27 05:04:27 Login Succeeded 05:04:27 nexus3.edgexfoundry.org:10004 05:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:27 Configure a credential helper to remove this warning. See 05:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:27 05:04:27 Login Succeeded 05:04:27 docker.io 05:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:27 Configure a credential helper to remove this warning. See 05:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:27 05:04:27 Login Succeeded 05:04:27 ---> docker-login.sh ends [Pipeline] } 05:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:27 ========================================================= 05:04:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:04:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:04:28 + 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 . 05:04:28 Sending build context to Docker daemon 5.199MB 05:04:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:04:28 Step 2/12 : FROM ${BASE} AS builder 05:04:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:28 59bf1c3509f3: Pulling fs layer 05:04:28 666ba61612fd: Pulling fs layer 05:04:28 8ed8ca486205: Pulling fs layer 05:04:28 4fe6c5a15a65: Pulling fs layer 05:04:28 22a0e8bec74d: Pulling fs layer 05:04:28 f965cba54748: Pulling fs layer 05:04:28 861ffc35075e: Pulling fs layer 05:04:28 4b385c91608e: Pulling fs layer 05:04:28 560528eb2ebb: Pulling fs layer 05:04:28 4fe6c5a15a65: Waiting 05:04:28 22a0e8bec74d: Waiting 05:04:28 f965cba54748: Waiting 05:04:28 861ffc35075e: Waiting 05:04:28 4b385c91608e: Waiting 05:04:28 560528eb2ebb: Waiting 05:04:28 8ed8ca486205: Verifying Checksum 05:04:28 8ed8ca486205: Download complete 05:04:28 666ba61612fd: Verifying Checksum 05:04:28 666ba61612fd: Download complete 05:04:28 22a0e8bec74d: Verifying Checksum 05:04:28 22a0e8bec74d: Download complete 05:04:28 f965cba54748: Verifying Checksum 05:04:28 f965cba54748: Download complete 05:04:28 59bf1c3509f3: Verifying Checksum 05:04:28 59bf1c3509f3: Download complete 05:04:28 861ffc35075e: Verifying Checksum 05:04:28 861ffc35075e: Download complete 05:04:28 4b385c91608e: Verifying Checksum 05:04:28 4b385c91608e: Download complete 05:04:29 59bf1c3509f3: Pull complete 05:04:29 560528eb2ebb: Verifying Checksum 05:04:29 560528eb2ebb: Download complete 05:04:29 4fe6c5a15a65: Verifying Checksum 05:04:29 4fe6c5a15a65: Download complete 05:04:29 666ba61612fd: Pull complete 05:04:29 8ed8ca486205: Pull complete 05:04:34 4fe6c5a15a65: Pull complete 05:04:34 22a0e8bec74d: Pull complete 05:04:34 f965cba54748: Pull complete 05:04:34 861ffc35075e: Pull complete 05:04:34 4b385c91608e: Pull complete 05:04:36 560528eb2ebb: Pull complete 05:04:36 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 05:04:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:04:36 ---> dd4a08f94e63 05:04:36 Step 3/12 : ARG MAKE='make build' 05:04:38 ---> Running in fe6252ff8343 05:04:38 Removing intermediate container fe6252ff8343 05:04:38 ---> 6e3326671bba 05:04:38 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:38 ---> Running in 5a4bdc39d065 05:04:38 Removing intermediate container 5a4bdc39d065 05:04:38 ---> fe4ccabec92a 05:04:38 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:04:38 ---> Running in e4e2ec4edc98 05:04:39 Removing intermediate container e4e2ec4edc98 05:04:39 ---> 939d5e644b08 05:04:39 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:39 ---> Running in b5c7c8eb648d 05:04:39 Removing intermediate container b5c7c8eb648d 05:04:39 ---> e222e23cc97c 05:04:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:39 ---> Running in b700c72c80ed 05:04:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:04:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:04:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:04:41 (2/4) Installing libedit (20210910.3.1-r0) 05:04:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:04:41 Still waiting to schedule task 05:04:41 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4290’ is offline 05:04:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:04:41 Executing busybox-1.34.1-r3.trigger 05:04:41 OK: 224 MiB in 56 packages 05:04:41 Removing intermediate container b700c72c80ed 05:04:41 ---> b7b743e427d1 05:04:41 Step 8/12 : WORKDIR /device-snmp-go 05:04:42 ---> Running in 4d1e8285fe71 05:04:42 Removing intermediate container 4d1e8285fe71 05:04:42 ---> 3d5cb224e62b 05:04:42 Step 9/12 : COPY go.mod vendor* ./ 05:04:42 ---> 04aae3277a22 05:04:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:42 ---> Running in 43d8ffc76b40 05:05:21 Removing intermediate container 43d8ffc76b40 05:05:21 ---> dcd49a3eee41 05:05:21 Step 11/12 : COPY . . 05:05:21 ---> b46be29a42df 05:05:21 Step 12/12 : RUN ${MAKE} 05:05:21 ---> Running in 4846e6c50d1d 05:05:21 noop 05:05:21 Removing intermediate container 4846e6c50d1d 05:05:21 ---> 614cd44f548e 05:05:21 Successfully built 614cd44f548e 05:05:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:05:21 + docker inspect -f . ci-base-image-x86_64 05:05:21 . [Pipeline] withDockerContainer 05:05:21 prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container 05:05:21 $ 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 05:05:21 $ docker top 30fc79f56eb19d2e0b856b8571acad159ef7b970ee4cac1ab9c1f234d1eca309 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:22 + go version 05:05:22 go version go1.17.6 linux/amd64 [Pipeline] } 05:05:22 $ docker stop --time=1 30fc79f56eb19d2e0b856b8571acad159ef7b970ee4cac1ab9c1f234d1eca309 05:05:23 $ docker rm -f 30fc79f56eb19d2e0b856b8571acad159ef7b970ee4cac1ab9c1f234d1eca309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:24 + docker inspect -f . ci-base-image-x86_64 05:05:24 . [Pipeline] withDockerContainer 05:05:24 prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container 05:05:24 $ 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 05:05:24 $ docker top 2bb987a0e2c0d443ee3d93434190f50593e6a2820f9187fc8be081161cb3895f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:05:25 + make test 05:05:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:25 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 05:05:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:43 ./bin/test-attribution-txt.sh 05:05:43 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 05:05:43 make: *** [Makefile:30: test] Error 1 [Pipeline] } 05:05:43 $ docker stop --time=1 2bb987a0e2c0d443ee3d93434190f50593e6a2820f9187fc8be081161cb3895f 05:05:45 $ 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 05:05:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:46 05:05:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:05:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:46 latest: Pulling from edgex-lftools-log-publisher 05:05:46 b4d181a07f80: Pulling fs layer 05:05:46 a1111a8f2ec3: Pulling fs layer 05:05:46 ed53099fbce6: Pulling fs layer 05:05:46 dc539afda2c1: Pulling fs layer 05:05:46 77bc0d833cb6: Pulling fs layer 05:05:46 9065ff56babe: Pulling fs layer 05:05:46 d287ab97295c: Pulling fs layer 05:05:46 dc539afda2c1: Waiting 05:05:46 77bc0d833cb6: Waiting 05:05:46 9065ff56babe: Waiting 05:05:46 d287ab97295c: Waiting 05:05:46 a1111a8f2ec3: Verifying Checksum 05:05:46 a1111a8f2ec3: Download complete 05:05:46 dc539afda2c1: Verifying Checksum 05:05:46 dc539afda2c1: Download complete 05:05:47 ed53099fbce6: Verifying Checksum 05:05:47 ed53099fbce6: Download complete 05:05:47 77bc0d833cb6: Verifying Checksum 05:05:47 77bc0d833cb6: Download complete 05:05:47 9065ff56babe: Verifying Checksum 05:05:47 9065ff56babe: Download complete 05:05:47 b4d181a07f80: Verifying Checksum 05:05:47 b4d181a07f80: Download complete 05:05:47 d287ab97295c: Verifying Checksum 05:05:47 d287ab97295c: Download complete 05:05:48 b4d181a07f80: Pull complete 05:05:48 a1111a8f2ec3: Pull complete 05:05:49 ed53099fbce6: Pull complete 05:05:49 dc539afda2c1: Pull complete 05:05:49 77bc0d833cb6: Pull complete 05:05:49 9065ff56babe: Pull complete 05:05:54 d287ab97295c: Pull complete 05:05:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:05:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:05:54 prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container 05:05:54 $ 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 05:05:57 $ docker top fb0a910d1f507e6574fe61743cd696f5eac06904a5a673b3e2337f4a8097f4b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:57 ---> job-cost.sh 05:05:57 lf-activate-venv: SKIPPING 05:05:57 INFO: No Stack... 05:05:58 INFO: Retrieving Pricing Info for: v3-standard-2 05:05:58 INFO: Archiving Costs [Pipeline] sh 05:05:58 + cat /w/workspace/gexfoundry_device-snmp-go_PR-136/archives/cost.csv 05:05:58 + cut -d, -f6 [Pipeline] lock 05:05:58 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] 05:05:58 Resource [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] did not exist. Created. 05:05:58 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:59 + echo total: 0.05999999865889549 [Pipeline] stash 05:05:59 Stashed 1 file(s) [Pipeline] } 05:05:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:59 $ docker stop --time=1 fb0a910d1f507e6574fe61743cd696f5eac06904a5a673b3e2337f4a8097f4b3 05:06:00 $ docker rm -f fb0a910d1f507e6574fe61743cd696f5eac06904a5a673b3e2337f4a8097f4b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:00 Failed in branch amd64 05:06:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4291 in /w/workspace/gexfoundry_device-snmp-go_PR-136 [Pipeline] { [Pipeline] ws 05:06:51 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:06:51 Selected Git installation does not exist. Using Default 05:06:51 The recommended git tool is: NONE 05:06:56 using credential edgex-jenkins-ssh 05:06:57 Cloning the remote Git repository 05:06:57 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:06:57 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:06:57 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:57 > git --version # timeout=10 05:06:57 > git --version # 'git version 2.17.1' 05:06:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:58 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:58 > 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 05:06:59 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit c567c1d93d201cd350b34612e14abd1674cb9072 05:06:59 Merge succeeded, producing c567c1d93d201cd350b34612e14abd1674cb9072 05:06:59 Checking out Revision c567c1d93d201cd350b34612e14abd1674cb9072 (PR-136) 05:06:59 > git config core.sparsecheckout # timeout=10 05:06:59 > git checkout -f c567c1d93d201cd350b34612e14abd1674cb9072 # timeout=10 05:06:59 > git remote # timeout=10 05:06:59 > git config --get remote.origin.url # timeout=10 05:06:59 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:59 > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 05:06:59 > git rev-parse HEAD^{commit} # timeout=10 05:06:59 > git config core.sparsecheckout # timeout=10 05:06:59 > git checkout -f c567c1d93d201cd350b34612e14abd1674cb9072 # timeout=10 05:07:03 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:03 > git --version # timeout=10 05:07:03 > git --version # 'git version 2.17.1' 05:07:03 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:05 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:05 Dload Upload Total Spent Left Speed 05:07:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 05:07:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:06 + sudo tee /etc/docker/daemon.new 05:07:06 { 05:07:06 "registry-mirrors": [ 05:07:06 "https://nexus3.edgexfoundry.org:10001" 05:07:06 ], 05:07:06 "bip": "10.250.0.254/24", 05:07:06 "hosts": [ 05:07:06 "tcp://0.0.0.0:5555", 05:07:06 "unix:///var/run/docker.sock" 05:07:06 ], 05:07:06 "mtu": 1458, 05:07:06 "selinux-enabled": true, 05:07:06 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:06 } [Pipeline] sh 05:07:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:25 provisioning config files... 05:07:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5168232555369998413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:25 ---> docker-login.sh 05:07:25 nexus3.edgexfoundry.org:10001 05:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:26 Configure a credential helper to remove this warning. See 05:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:26 05:07:26 Login Succeeded 05:07:26 nexus3.edgexfoundry.org:10002 05:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:27 Configure a credential helper to remove this warning. See 05:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:27 05:07:27 Login Succeeded 05:07:27 nexus3.edgexfoundry.org:10003 05:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:27 Configure a credential helper to remove this warning. See 05:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:27 05:07:27 Login Succeeded 05:07:27 nexus3.edgexfoundry.org:10004 05:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:28 Configure a credential helper to remove this warning. See 05:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:28 05:07:28 Login Succeeded 05:07:28 docker.io 05:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:28 Configure a credential helper to remove this warning. See 05:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:28 05:07:28 Login Succeeded 05:07:28 ---> docker-login.sh ends [Pipeline] } 05:07:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:29 ========================================================= 05:07:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:07:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:07:29 + 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 . 05:07:29 Sending build context to Docker daemon 2.705MB 05:07:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:07:29 Step 2/12 : FROM ${BASE} AS builder 05:07:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:30 9b3977197b4f: Pulling fs layer 05:07:30 1a89e8eeedd5: Pulling fs layer 05:07:30 94645a83ff95: Pulling fs layer 05:07:30 3f3a8bcf1eab: Pulling fs layer 05:07:30 0c92f367c5e7: Pulling fs layer 05:07:30 4b8299f9d1f4: Pulling fs layer 05:07:30 9a6b49a46696: Pulling fs layer 05:07:30 cf05db05a679: Pulling fs layer 05:07:30 0c92f367c5e7: Waiting 05:07:30 4b8299f9d1f4: Waiting 05:07:30 9a6b49a46696: Waiting 05:07:30 cf05db05a679: Waiting 05:07:30 3f3a8bcf1eab: Waiting 05:07:30 94645a83ff95: Verifying Checksum 05:07:30 94645a83ff95: Download complete 05:07:30 1a89e8eeedd5: Verifying Checksum 05:07:30 1a89e8eeedd5: Download complete 05:07:30 0c92f367c5e7: Download complete 05:07:30 4b8299f9d1f4: Verifying Checksum 05:07:30 4b8299f9d1f4: Download complete 05:07:30 9b3977197b4f: Verifying Checksum 05:07:30 9b3977197b4f: Download complete 05:07:30 9a6b49a46696: Verifying Checksum 05:07:30 9a6b49a46696: Download complete 05:07:31 9b3977197b4f: Pull complete 05:07:31 1a89e8eeedd5: Pull complete 05:07:32 94645a83ff95: Pull complete 05:07:32 cf05db05a679: Verifying Checksum 05:07:32 cf05db05a679: Download complete 05:07:32 3f3a8bcf1eab: Verifying Checksum 05:07:32 3f3a8bcf1eab: Download complete 05:07:45 3f3a8bcf1eab: Pull complete 05:07:45 0c92f367c5e7: Pull complete 05:07:45 4b8299f9d1f4: Pull complete 05:07:45 9a6b49a46696: Pull complete 05:07:50 cf05db05a679: Pull complete 05:07:50 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 05:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:07:50 ---> 0ccda1f7e2ee 05:07:50 Step 3/12 : ARG MAKE='make build' 05:07:52 ---> Running in edc49e286d7f 05:07:52 Removing intermediate container edc49e286d7f 05:07:52 ---> f92781dd1290 05:07:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:52 ---> Running in d0956472a497 05:07:53 Removing intermediate container d0956472a497 05:07:53 ---> 879f61c1200c 05:07:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:07:53 ---> Running in e294aa242f41 05:07:53 Removing intermediate container e294aa242f41 05:07:53 ---> e1208d29615c 05:07:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:53 ---> Running in d1a011e935d8 05:07:55 Removing intermediate container d1a011e935d8 05:07:55 ---> 4c4e77beba15 05:07:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:55 ---> Running in 35a81a4080e7 05:07:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:07:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:07:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:07:58 (2/4) Installing libedit (20210910.3.1-r0) 05:07:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:07:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:07:58 Executing busybox-1.34.1-r3.trigger 05:07:58 OK: 224 MiB in 56 packages 05:07:59 Removing intermediate container 35a81a4080e7 05:07:59 ---> 848ef834714d 05:07:59 Step 8/12 : WORKDIR /device-snmp-go 05:07:59 ---> Running in d93f5cb45e9f 05:08:00 Removing intermediate container d93f5cb45e9f 05:08:00 ---> 9c4e43496395 05:08:00 Step 9/12 : COPY go.mod vendor* ./ 05:08:00 ---> 51f7723ded7d 05:08:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:00 ---> Running in a0fee6e7d769 05:09:22 Removing intermediate container a0fee6e7d769 05:09:22 ---> 242f8aad7b9f 05:09:22 Step 11/12 : COPY . . 05:09:22 ---> 6c2ebcabf46c 05:09:22 Step 12/12 : RUN ${MAKE} 05:09:22 ---> Running in d320171de09c 05:09:22 noop 05:09:22 Removing intermediate container d320171de09c 05:09:22 ---> ecd3ba30a2b8 05:09:22 Successfully built ecd3ba30a2b8 05:09:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:09:23 + docker inspect -f . ci-base-image-arm64 05:09:23 . [Pipeline] withDockerContainer 05:09:23 prd-ubuntu18.04-docker-arm64-4c-16g-4291 does not seem to be running inside a container 05:09:23 $ 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 05:09:24 $ docker top 108f4b77d6b88e9811db9c47ebdbdee7c65af2e1fa1e23c722ce37a55909cde2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:25 + go version 05:09:25 go version go1.17.6 linux/arm64 [Pipeline] } 05:09:25 $ docker stop --time=1 108f4b77d6b88e9811db9c47ebdbdee7c65af2e1fa1e23c722ce37a55909cde2 05:09:27 $ docker rm -f 108f4b77d6b88e9811db9c47ebdbdee7c65af2e1fa1e23c722ce37a55909cde2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:09:28 + docker inspect -f . ci-base-image-arm64 05:09:28 . [Pipeline] withDockerContainer 05:09:28 prd-ubuntu18.04-docker-arm64-4c-16g-4291 does not seem to be running inside a container 05:09:28 $ 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 05:09:29 $ docker top df0db39ca20c39244eb35096b57c28beb9798ec212b443cbcc37e82699b9f3d4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:09:30 + make test 05:09:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:18 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:10:18 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 05:10:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:10:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:31 ./bin/test-attribution-txt.sh 05:10:32 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 05:10:32 make: *** [Makefile:30: test] Error 1 [Pipeline] } 05:10:32 $ docker stop --time=1 df0db39ca20c39244eb35096b57c28beb9798ec212b443cbcc37e82699b9f3d4 05:10:34 $ 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 05:10:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:35 05:10:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:10:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:36 arm64: Pulling from edgex-lftools-log-publisher 05:10:36 448f6bf000e3: Pulling fs layer 05:10:36 f757da607395: Pulling fs layer 05:10:36 05883995daec: Pulling fs layer 05:10:36 8603b9c90790: Pulling fs layer 05:10:36 1560dd03e051: Pulling fs layer 05:10:36 27f5ce0e4adf: Pulling fs layer 05:10:36 c2d8d7efcc4b: Pulling fs layer 05:10:36 1560dd03e051: Waiting 05:10:36 27f5ce0e4adf: Waiting 05:10:36 c2d8d7efcc4b: Waiting 05:10:36 8603b9c90790: Waiting 05:10:36 f757da607395: Verifying Checksum 05:10:36 f757da607395: Download complete 05:10:36 8603b9c90790: Verifying Checksum 05:10:36 8603b9c90790: Download complete 05:10:36 1560dd03e051: Verifying Checksum 05:10:36 1560dd03e051: Download complete 05:10:36 27f5ce0e4adf: Verifying Checksum 05:10:36 27f5ce0e4adf: Download complete 05:10:36 05883995daec: Verifying Checksum 05:10:36 05883995daec: Download complete 05:10:37 448f6bf000e3: Verifying Checksum 05:10:37 448f6bf000e3: Download complete 05:10:39 c2d8d7efcc4b: Verifying Checksum 05:10:39 c2d8d7efcc4b: Download complete 05:10:40 448f6bf000e3: Pull complete 05:10:41 f757da607395: Pull complete 05:10:42 05883995daec: Pull complete 05:10:43 8603b9c90790: Pull complete 05:10:44 1560dd03e051: Pull complete 05:10:44 27f5ce0e4adf: Pull complete 05:10:59 c2d8d7efcc4b: Pull complete 05:10:59 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:10:59 prd-ubuntu18.04-docker-arm64-4c-16g-4291 does not seem to be running inside a container 05:10:59 $ 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 05:11:02 $ docker top 61273f254cf0746fa430ea1494e724bd6056d3a6f81d7e251ec46ee7033786ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:02 ---> job-cost.sh 05:11:02 lf-activate-venv: SKIPPING 05:11:02 INFO: No Stack... 05:11:03 INFO: Retrieving Pricing Info for: v3-standard-4 05:11:03 INFO: Archiving Costs [Pipeline] sh 05:11:04 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:11:04 + cut -d, -f6 [Pipeline] lock 05:11:04 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] 05:11:04 Resource [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] did not exist. Created. 05:11:04 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:05 /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 05:11:06 + echo total: 0.10999999940395355 [Pipeline] stash 05:11:06 Warning: overwriting stash ‘stack-cost’ 05:11:06 Stashed 1 file(s) [Pipeline] } 05:11:06 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-136-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:06 $ docker stop --time=1 61273f254cf0746fa430ea1494e724bd6056d3a6f81d7e251ec46ee7033786ed 05:11:08 $ 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] } 05:11:08 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 05:11:10 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-136/archives ']' 05:11:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-136/archives 05:11:10 total 8 05:11:10 drwxr-xr-x. 3 root root 34 Jan 31 05:05 . 05:11:10 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 31 05:05 .. 05:11:10 drwxr-xr-x. 2 root root 6 Jan 31 05:05 cost 05:11:10 -rw-r--r--. 1 root root 85 Jan 31 05:05 cost.csv 05:11:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-136/archives 05:11:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-136/archives 05:11:10 total 8 05:11:10 drwxr-xr-x. 3 jenkins jenkins 34 Jan 31 05:05 . 05:11:10 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 31 05:05 .. 05:11:10 drwxr-xr-x. 2 jenkins jenkins 6 Jan 31 05:05 cost 05:11:10 -rw-r--r--. 1 jenkins jenkins 85 Jan 31 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:11 ---> package-listing.sh 05:11:11 ++ facter osfamily 05:11:11 ++ tr '[:upper:]' '[:lower:]' 05:11:12 + OS_FAMILY=redhat 05:11:12 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-136 05:11:12 + START_PACKAGES=/tmp/packages_start.txt 05:11:12 + END_PACKAGES=/tmp/packages_end.txt 05:11:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:12 + PACKAGES=/tmp/packages_start.txt 05:11:12 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-136 ']' 05:11:12 + PACKAGES=/tmp/packages_end.txt 05:11:12 + case "${OS_FAMILY}" in 05:11:12 + sort 05:11:12 + rpm -qa 05:11:12 + '[' -f /tmp/packages_start.txt ']' 05:11:12 + '[' -f /tmp/packages_end.txt ']' 05:11:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:12 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-136 ']' 05:11:12 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-136/archives/ 05:11:12 + 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 05:11:12 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 05:11:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:13 . [Pipeline] withDockerContainer 05:11:13 prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container 05:11:13 $ 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 05:11:13 $ docker top c356a2e3060941d12eaf4d223f483f13a029f3172e94fac59ef270d65699cb1a -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:14 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:14 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:14 + ls /var/log/sa-host 05:11:14 + sadf -c /var/log/sa-host/sa17 05:11:14 file_magic: OK 05:11:14 HZ: Using current value: 100 05:11:14 file_header: OK 05:11:14 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 05:11:14 Statistics: 05:11:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:11:14 File successfully converted to sysstat format version 12.0.3 05:11:14 + sadf -c /var/log/sa-host/sa31 05:11:14 file_magic: OK 05:11:14 HZ: Using current value: 100 05:11:14 file_header: OK 05:11:14 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 05:11:14 Statistics: 05:11:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:11:14 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:15 provisioning config files... 05:11:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-136@tmp/config3852109444823119476tmp [Pipeline] { [Pipeline] echo 05:11:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:15 ---> create-netrc.sh [Pipeline] } 05:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:16 ---> python-tools-install.sh [Pipeline] echo 05:11:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:16 ---> sudo-logs.sh 05:11:16 Archiving 'sudo' log.. 05:11:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-4289.novalocal: Name or service not known 05:11:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-4289.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:11:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:16 ---> job-cost.sh 05:11:16 lf-activate-venv: SKIPPING 05:11:16 DEBUG: total: 0.05999999865889549 05:11:16 INFO: Retrieving Stack Cost... 05:11:17 INFO: Retrieving Pricing Info for: v3-standard-2 05:11:17 INFO: Archiving Costs [Pipeline] echo 05:11:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:17 ---> logs-deploy.sh 05:11:17 lf-activate-venv: SKIPPING 05:11:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-136/1 05:11:17 INFO: archiving workspace using pattern(s): 05:11:18 Archives upload complete. 05:11:18 INFO: archiving logs to Nexus