Pull request #138 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85+f2700d797dde70a27600e51c0b144607fa1919f0 (1e7d95927d1e21b8461b0cf9a0bf6d379e761945) 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-ssh2879335330656980750.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh715127486651126140.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-138/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-138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1931355537850408943.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-138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7918121769481204485.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh630453518238717309.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-138/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-138/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13196078395326907057.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-5204 in /w/workspace/gexfoundry_device-snmp-go_PR-138 [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-138 # 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-138@tmp/jenkins-gitclient-ssh8391399573940290708.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 a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 > 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-138@tmp/jenkins-gitclient-ssh4676863964096212600.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 # timeout=10 Merge succeeded, producing a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 Checking out Revision a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 (PR-138) > 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-138@tmp/jenkins-gitclient-ssh7054824683288433779.key > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 # 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:53 ========================================================= 05:04:53 EdgeX Global Pipelines Version Info 05:04:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:54 ------------------- 05:04:54 stable info: 05:04:54 ------------------- 05:04:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:54 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 05:04:54 Message: update stable to v1.0.220 05:04:54 ------------------- 05:04:54 experimental info: 05:04:54 ------------------- 05:04:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:54 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 05:04:54 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-138 [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-138 [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-138 [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0f90dc [Pipeline] echo 05:04:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:56 provisioning config files... 05:04:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/config5261672509371007029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:56 ---> docker-login.sh 05:04:56 nexus3.edgexfoundry.org:10001 05:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:57 Configure a credential helper to remove this warning. See 05:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:57 05:04:57 Login Succeeded 05:04:57 nexus3.edgexfoundry.org:10002 05:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:57 Configure a credential helper to remove this warning. See 05:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:57 05:04:57 Login Succeeded 05:04:57 nexus3.edgexfoundry.org:10003 05:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:57 Configure a credential helper to remove this warning. See 05:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:57 05:04:57 Login Succeeded 05:04:57 nexus3.edgexfoundry.org:10004 05:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:57 Configure a credential helper to remove this warning. See 05:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:57 05:04:57 Login Succeeded 05:04:57 docker.io 05:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:57 Configure a credential helper to remove this warning. See 05:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:57 05:04:57 Login Succeeded 05:04:57 ---> docker-login.sh ends [Pipeline] } 05:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:58 + git rev-list -1 --merges a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85~1..a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [Pipeline] echo 05:04:58 -----------> git rev-list -1 --merges a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85~1..a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [false] [Pipeline] sh 05:04:58 + git log --format=format:%s -1 a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [Pipeline] echo 05:04:58 ========================================================= 05:04:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:59 + git log --format=format:%s -1 a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 [Pipeline] echo 05:04:59 [semverPrep] GIT_COMMIT: a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:59 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:04:59 + grep -v github /etc/ssh/ssh_known_hosts 05:04:59 + '[' -e /tmp/ssh_known_hosts ']' 05:04:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 05:04:59 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:05:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:00 05:05:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:05:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:00 latest: Pulling from edgex-devops/git-semver 05:05:00 a0d0a0d46f8b: Pulling fs layer 05:05:00 3e5f54012d9b: Pulling fs layer 05:05:00 4c7163046ea9: Pulling fs layer 05:05:00 0c2d73faf560: Pulling fs layer 05:05:00 0c2d73faf560: Waiting 05:05:00 3e5f54012d9b: Verifying Checksum 05:05:00 3e5f54012d9b: Download complete 05:05:00 a0d0a0d46f8b: Verifying Checksum 05:05:00 a0d0a0d46f8b: Download complete 05:05:00 0c2d73faf560: Verifying Checksum 05:05:00 0c2d73faf560: Download complete 05:05:00 4c7163046ea9: Verifying Checksum 05:05:00 4c7163046ea9: Download complete 05:05:00 a0d0a0d46f8b: Pull complete 05:05:00 3e5f54012d9b: Pull complete 05:05:01 4c7163046ea9: Pull complete 05:05:01 0c2d73faf560: Pull complete 05:05:01 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:05:01 prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container 05:05:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:05:02 $ docker top 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:02 [ssh-agent] Looking for ssh-agent implementation... 05:05:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:02 $ docker exec 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f ssh-agent 05:05:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXadllOA/agent.14 05:05:02 SSH_AGENT_PID=21 05:05:02 Running ssh-add (command line suppressed) 05:05:02 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/private_key_7240326508982926062.key (/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/private_key_7240326508982926062.key) 05:05:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:03 + git tag --points-at HEAD [Pipeline] } 05:05:03 $ docker exec --env ******** --env ******** 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f ssh-agent -k 05:05:03 unset SSH_AUTH_SOCK; 05:05:03 unset SSH_AGENT_PID; 05:05:03 echo Agent pid 21 killed; 05:05:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:03 [ssh-agent] Looking for ssh-agent implementation... 05:05:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:03 $ docker exec 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f ssh-agent 05:05:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEGncIp/agent.55 05:05:03 SSH_AGENT_PID=61 05:05:03 Running ssh-add (command line suppressed) 05:05:03 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/private_key_7853572702278436892.key (/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/private_key_7853572702278436892.key) 05:05:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:04 + git semver init 05:05:04 # -> Open(): unable to determine branch for HEAD 05:05:04 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-138/.git 05:05:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-138 05:05:04 # $SEMVER_REMOTE_NAME = origin 05:05:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:05:04 # $SEMVER_USER_NAME = edgex-jenkins 05:05:04 # $SEMVER_BRANCH = PR-138 05:05:04 # $SEMVER_TEMP = /tmp/semver-255786746 05:05:04 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:05:05 # '/tmp/semver-255786746' -> '/w/workspace/gexfoundry_device-snmp-go_PR-138/.semver' 05:05:05 # -> Force: false 05:05:05 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-138/.semver [Pipeline] } 05:05:05 $ docker exec --env ******** --env ******** 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f ssh-agent -k 05:05:05 unset SSH_AUTH_SOCK; 05:05:05 unset SSH_AGENT_PID; 05:05:05 echo Agent pid 61 killed; 05:05:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:05 + git semver [Pipeline] } 05:05:05 $ docker stop --time=1 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f 05:05:06 $ docker rm -f 77d03deb1f702ceebb1959c10f732976cb03c411c5f50f7fcb753e151bf8cd5f [Pipeline] // withDockerContainer [Pipeline] sh 05:05:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:07 Stashed 1 file(s) [Pipeline] echo 05:05:07 [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:05:08 provisioning config files... 05:05:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/config3719533278636674906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:08 ---> docker-login.sh 05:05:08 nexus3.edgexfoundry.org:10001 05:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:08 Configure a credential helper to remove this warning. See 05:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:08 05:05:08 Login Succeeded 05:05:08 nexus3.edgexfoundry.org:10002 05:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:08 Configure a credential helper to remove this warning. See 05:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:08 05:05:08 Login Succeeded 05:05:08 nexus3.edgexfoundry.org:10003 05:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:08 Configure a credential helper to remove this warning. See 05:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:08 05:05:08 Login Succeeded 05:05:08 nexus3.edgexfoundry.org:10004 05:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:08 Configure a credential helper to remove this warning. See 05:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:08 05:05:08 Login Succeeded 05:05:08 docker.io 05:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:09 Configure a credential helper to remove this warning. See 05:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:09 05:05:09 Login Succeeded 05:05:09 ---> docker-login.sh ends [Pipeline] } 05:05:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:09 ========================================================= 05:05:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:05:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:05:10 + 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:05:10 Sending build context to Docker daemon 5.199MB 05:05:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:05:10 Step 2/12 : FROM ${BASE} AS builder 05:05:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:10 59bf1c3509f3: Pulling fs layer 05:05:10 666ba61612fd: Pulling fs layer 05:05:10 8ed8ca486205: Pulling fs layer 05:05:10 4fe6c5a15a65: Pulling fs layer 05:05:10 22a0e8bec74d: Pulling fs layer 05:05:10 640e595b4fbd: Pulling fs layer 05:05:10 763cafe07f6e: Pulling fs layer 05:05:10 0c0b528cf693: Pulling fs layer 05:05:10 10935f4eaf8b: Pulling fs layer 05:05:10 4fe6c5a15a65: Waiting 05:05:10 22a0e8bec74d: Waiting 05:05:10 640e595b4fbd: Waiting 05:05:10 763cafe07f6e: Waiting 05:05:10 0c0b528cf693: Waiting 05:05:10 10935f4eaf8b: Waiting 05:05:10 8ed8ca486205: Verifying Checksum 05:05:10 8ed8ca486205: Download complete 05:05:10 666ba61612fd: Verifying Checksum 05:05:10 666ba61612fd: Download complete 05:05:10 22a0e8bec74d: Verifying Checksum 05:05:10 22a0e8bec74d: Download complete 05:05:10 640e595b4fbd: Verifying Checksum 05:05:10 640e595b4fbd: Download complete 05:05:10 59bf1c3509f3: Verifying Checksum 05:05:10 59bf1c3509f3: Download complete 05:05:10 763cafe07f6e: Verifying Checksum 05:05:10 763cafe07f6e: Download complete 05:05:10 0c0b528cf693: Verifying Checksum 05:05:10 0c0b528cf693: Download complete 05:05:10 59bf1c3509f3: Pull complete 05:05:10 4fe6c5a15a65: Verifying Checksum 05:05:10 4fe6c5a15a65: Download complete 05:05:10 666ba61612fd: Pull complete 05:05:10 10935f4eaf8b: Verifying Checksum 05:05:10 10935f4eaf8b: Download complete 05:05:10 8ed8ca486205: Pull complete 05:05:15 4fe6c5a15a65: Pull complete 05:05:15 22a0e8bec74d: Pull complete 05:05:15 640e595b4fbd: Pull complete 05:05:15 763cafe07f6e: Pull complete 05:05:15 0c0b528cf693: Pull complete 05:05:17 10935f4eaf8b: Pull complete 05:05:17 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:05:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:05:17 ---> 99d49a6021b9 05:05:17 Step 3/12 : ARG MAKE='make build' 05:05:21 ---> Running in 08a5d0f4de16 05:05:21 Removing intermediate container 08a5d0f4de16 05:05:21 ---> bb5d70ec1a5f 05:05:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:21 ---> Running in ed429b429656 05:05:21 Removing intermediate container ed429b429656 05:05:21 ---> e79a35f6a7f2 05:05:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:05:21 ---> Running in f34c6f5f7173 05:05:22 Removing intermediate container f34c6f5f7173 05:05:22 ---> 730794ef2da6 05:05:22 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:22 ---> Running in 6af8a159dfc5 05:05:22 Removing intermediate container 6af8a159dfc5 05:05:22 ---> 9b72fdc9b3e6 05:05:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:22 ---> Running in 1d24db3d77ee 05:05:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:23 Still waiting to schedule task 05:05:23 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-5205’ 05:05:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:05:24 (2/4) Installing libedit (20210910.3.1-r0) 05:05:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:05:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:05:24 Executing busybox-1.34.1-r3.trigger 05:05:24 OK: 224 MiB in 56 packages 05:05:24 Removing intermediate container 1d24db3d77ee 05:05:24 ---> 35ed0ddde70b 05:05:24 Step 8/12 : WORKDIR /device-snmp-go 05:05:24 ---> Running in 01a1968e8769 05:05:24 Removing intermediate container 01a1968e8769 05:05:24 ---> fb348b1f3184 05:05:24 Step 9/12 : COPY go.mod vendor* ./ 05:05:24 ---> dca8200a97e0 05:05:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:24 ---> Running in b4efb84d98ae 05:05:57 Removing intermediate container b4efb84d98ae 05:05:57 ---> 2a9f67f2b00d 05:05:57 Step 11/12 : COPY . . 05:05:57 ---> fc46de01810d 05:05:57 Step 12/12 : RUN ${MAKE} 05:05:57 ---> Running in f42755aada1e 05:05:57 noop 05:05:57 Removing intermediate container f42755aada1e 05:05:57 ---> f455f15c176c 05:05:57 Successfully built f455f15c176c 05:05:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:05:57 + docker inspect -f . ci-base-image-x86_64 05:05:57 . [Pipeline] withDockerContainer 05:05:57 prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container 05:05:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:57 $ docker top cf69e921c233f63e3174d9b04a382f9b9c71d9044301a836741074daa4ad7ee3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:58 + go version 05:05:58 go version go1.17.6 linux/amd64 [Pipeline] } 05:05:58 $ docker stop --time=1 cf69e921c233f63e3174d9b04a382f9b9c71d9044301a836741074daa4ad7ee3 05:05:59 $ docker rm -f cf69e921c233f63e3174d9b04a382f9b9c71d9044301a836741074daa4ad7ee3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:06:00 + docker inspect -f . ci-base-image-x86_64 05:06:00 . [Pipeline] withDockerContainer 05:06:00 prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container 05:06:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:06:00 $ docker top a1a78585a7aa969d6ad74bdcf3c7097901b8a02343fcfabba47c03613aaab88d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:06:01 + make test 05:06:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:06:01 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:06:09 # github.com/edgexfoundry/device-sdk-go/v2/internal/cache 05:06:09 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom 05:06:09 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom 05:06:09 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom 05:06:09 # github.com/edgexfoundry/device-sdk-go/v2/internal/common 05:06:09 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom 05:06:14 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 05:06:14 make: *** [Makefile:26: test] Error 2 [Pipeline] } 05:06:14 $ docker stop --time=1 a1a78585a7aa969d6ad74bdcf3c7097901b8a02343fcfabba47c03613aaab88d 05:06:16 $ docker rm -f a1a78585a7aa969d6ad74bdcf3c7097901b8a02343fcfabba47c03613aaab88d [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:06:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:17 05:06:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:06:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:17 latest: Pulling from edgex-lftools-log-publisher 05:06:17 b4d181a07f80: Pulling fs layer 05:06:17 a1111a8f2ec3: Pulling fs layer 05:06:17 ed53099fbce6: Pulling fs layer 05:06:17 dc539afda2c1: Pulling fs layer 05:06:17 77bc0d833cb6: Pulling fs layer 05:06:17 9065ff56babe: Pulling fs layer 05:06:17 d287ab97295c: Pulling fs layer 05:06:17 dc539afda2c1: Waiting 05:06:17 77bc0d833cb6: Waiting 05:06:17 9065ff56babe: Waiting 05:06:17 a1111a8f2ec3: Verifying Checksum 05:06:17 a1111a8f2ec3: Download complete 05:06:17 dc539afda2c1: Verifying Checksum 05:06:17 dc539afda2c1: Download complete 05:06:18 77bc0d833cb6: Verifying Checksum 05:06:18 77bc0d833cb6: Download complete 05:06:18 ed53099fbce6: Verifying Checksum 05:06:18 ed53099fbce6: Download complete 05:06:18 9065ff56babe: Verifying Checksum 05:06:18 9065ff56babe: Download complete 05:06:18 b4d181a07f80: Verifying Checksum 05:06:18 b4d181a07f80: Download complete 05:06:18 d287ab97295c: Verifying Checksum 05:06:18 d287ab97295c: Download complete 05:06:19 b4d181a07f80: Pull complete 05:06:19 a1111a8f2ec3: Pull complete 05:06:20 ed53099fbce6: Pull complete 05:06:20 dc539afda2c1: Pull complete 05:06:20 77bc0d833cb6: Pull complete 05:06:20 9065ff56babe: Pull complete 05:06:26 d287ab97295c: Pull complete 05:06:26 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:06:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:06:26 prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container 05:06:26 $ 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-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:28 $ docker top bce091d31219b065c96c922f00ea966162ac7207fa24bd6fb33724ee6fa00cb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:29 ---> job-cost.sh 05:06:29 lf-activate-venv: SKIPPING 05:06:29 INFO: No Stack... 05:06:29 INFO: Retrieving Pricing Info for: v3-standard-2 05:06:30 INFO: Archiving Costs [Pipeline] sh 05:06:30 + cat /w/workspace/gexfoundry_device-snmp-go_PR-138/archives/cost.csv 05:06:30 + cut -d, -f6 [Pipeline] lock 05:06:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] 05:06:30 Resource [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] did not exist. Created. 05:06:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:30 + echo total: 0.05999999865889549 [Pipeline] stash 05:06:30 Stashed 1 file(s) [Pipeline] } 05:06:30 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:30 $ docker stop --time=1 bce091d31219b065c96c922f00ea966162ac7207fa24bd6fb33724ee6fa00cb6 05:06:32 $ docker rm -f bce091d31219b065c96c922f00ea966162ac7207fa24bd6fb33724ee6fa00cb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:32 Failed in branch amd64 05:07:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5206 in /w/workspace/gexfoundry_device-snmp-go_PR-138 [Pipeline] { [Pipeline] ws 05:07:40 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:41 Selected Git installation does not exist. Using Default 05:07:41 The recommended git tool is: NONE 05:07:45 using credential edgex-jenkins-ssh 05:07:45 Cloning the remote Git repository 05:07:45 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:45 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:45 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:45 > git --version # timeout=10 05:07:45 > git --version # 'git version 2.17.1' 05:07:45 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:47 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 05:07:48 Merge succeeded, producing a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 05:07:48 Checking out Revision a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 (PR-138) 05:07:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:47 > git config core.sparsecheckout # timeout=10 05:07:47 > git checkout -f a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 # timeout=10 05:07:47 > git remote # timeout=10 05:07:47 > git config --get remote.origin.url # timeout=10 05:07:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:48 > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 05:07:48 > git rev-parse HEAD^{commit} # timeout=10 05:07:48 > git config core.sparsecheckout # timeout=10 05:07:48 > git checkout -f a0f90dc2d75e4bf39c180ba628c2edd3e4cddb85 # timeout=10 05:07:52 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:52 > git --version # timeout=10 05:07:52 > git --version # 'git version 2.17.1' 05:07:52 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:53 Dload Upload Total Spent Left Speed 05:07:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 05:07:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:54 + sudo tee /etc/docker/daemon.new 05:07:54 { 05:07:54 "registry-mirrors": [ 05:07:54 "https://nexus3.edgexfoundry.org:10001" 05:07:54 ], 05:07:54 "bip": "10.250.0.254/24", 05:07:54 "hosts": [ 05:07:54 "tcp://0.0.0.0:5555", 05:07:54 "unix:///var/run/docker.sock" 05:07:54 ], 05:07:54 "mtu": 1458, 05:07:54 "selinux-enabled": true, 05:07:54 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:54 } [Pipeline] sh 05:07:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:13 provisioning config files... 05:08:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1544424473025657406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:13 ---> docker-login.sh 05:08:13 nexus3.edgexfoundry.org:10001 05:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:14 Configure a credential helper to remove this warning. See 05:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:14 05:08:14 Login Succeeded 05:08:14 nexus3.edgexfoundry.org:10002 05:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:15 Configure a credential helper to remove this warning. See 05:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:15 05:08:15 Login Succeeded 05:08:15 nexus3.edgexfoundry.org:10003 05:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:15 Configure a credential helper to remove this warning. See 05:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:15 05:08:15 Login Succeeded 05:08:15 nexus3.edgexfoundry.org:10004 05:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:16 Configure a credential helper to remove this warning. See 05:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:16 05:08:16 Login Succeeded 05:08:16 docker.io 05:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:17 Configure a credential helper to remove this warning. See 05:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:17 05:08:17 Login Succeeded 05:08:17 ---> docker-login.sh ends [Pipeline] } 05:08:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:17 ========================================================= 05:08:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:08:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:08:18 + 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:08:18 Sending build context to Docker daemon 2.705MB 05:08:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:08:18 Step 2/12 : FROM ${BASE} AS builder 05:08:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:18 9b3977197b4f: Pulling fs layer 05:08:18 1a89e8eeedd5: Pulling fs layer 05:08:18 94645a83ff95: Pulling fs layer 05:08:18 3f3a8bcf1eab: Pulling fs layer 05:08:18 0c92f367c5e7: Pulling fs layer 05:08:18 f7c0051592d6: Pulling fs layer 05:08:18 a227ed2f7395: Pulling fs layer 05:08:18 7b1c46037f91: Pulling fs layer 05:08:18 f7c0051592d6: Waiting 05:08:18 a227ed2f7395: Waiting 05:08:18 3f3a8bcf1eab: Waiting 05:08:18 7b1c46037f91: Waiting 05:08:18 0c92f367c5e7: Waiting 05:08:18 94645a83ff95: Verifying Checksum 05:08:18 94645a83ff95: Download complete 05:08:18 1a89e8eeedd5: Verifying Checksum 05:08:18 1a89e8eeedd5: Download complete 05:08:18 0c92f367c5e7: Verifying Checksum 05:08:18 0c92f367c5e7: Download complete 05:08:18 f7c0051592d6: Verifying Checksum 05:08:18 f7c0051592d6: Download complete 05:08:18 9b3977197b4f: Verifying Checksum 05:08:18 9b3977197b4f: Download complete 05:08:18 a227ed2f7395: Verifying Checksum 05:08:18 a227ed2f7395: Download complete 05:08:19 9b3977197b4f: Pull complete 05:08:20 1a89e8eeedd5: Pull complete 05:08:20 94645a83ff95: Pull complete 05:08:20 7b1c46037f91: Verifying Checksum 05:08:20 7b1c46037f91: Download complete 05:08:21 3f3a8bcf1eab: Verifying Checksum 05:08:21 3f3a8bcf1eab: Download complete 05:08:33 3f3a8bcf1eab: Pull complete 05:08:33 0c92f367c5e7: Pull complete 05:08:33 f7c0051592d6: Pull complete 05:08:33 a227ed2f7395: Pull complete 05:08:40 7b1c46037f91: Pull complete 05:08:40 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:08:40 ---> f79e39bc4007 05:08:40 Step 3/12 : ARG MAKE='make build' 05:08:40 ---> Running in 19e8c9f0ed07 05:08:40 Removing intermediate container 19e8c9f0ed07 05:08:40 ---> ca6de7d5d556 05:08:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:40 ---> Running in 682fa1714249 05:08:41 Removing intermediate container 682fa1714249 05:08:41 ---> ae91d55f9a6d 05:08:41 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:08:41 ---> Running in 3b3e4b2518fb 05:08:41 Removing intermediate container 3b3e4b2518fb 05:08:41 ---> c8694597001a 05:08:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:42 ---> Running in d84804e8abc3 05:08:43 Removing intermediate container d84804e8abc3 05:08:43 ---> 389e5ad3a29b 05:08:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:43 ---> Running in 198306655bae 05:08:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:08:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:08:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:08:46 (2/4) Installing libedit (20210910.3.1-r0) 05:08:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:08:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:08:47 Executing busybox-1.34.1-r3.trigger 05:08:47 OK: 224 MiB in 56 packages 05:08:48 Removing intermediate container 198306655bae 05:08:48 ---> 16f1f2efffaa 05:08:48 Step 8/12 : WORKDIR /device-snmp-go 05:08:48 ---> Running in abe48d406a79 05:08:48 Removing intermediate container abe48d406a79 05:08:48 ---> 86ff9598ea11 05:08:48 Step 9/12 : COPY go.mod vendor* ./ 05:08:49 ---> 9717b6a4e6c6 05:08:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:49 ---> Running in 35a17c9ce7c9 05:10:11 Removing intermediate container 35a17c9ce7c9 05:10:11 ---> d71fc5180fd9 05:10:11 Step 11/12 : COPY . . 05:10:11 ---> a3b47d9a1efa 05:10:11 Step 12/12 : RUN ${MAKE} 05:10:11 ---> Running in 6ac6fff47247 05:10:11 noop 05:10:11 Removing intermediate container 6ac6fff47247 05:10:11 ---> aa22324746be 05:10:11 Successfully built aa22324746be 05:10:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:10:11 + docker inspect -f . ci-base-image-arm64 05:10:11 . [Pipeline] withDockerContainer 05:10:11 prd-ubuntu18.04-docker-arm64-4c-16g-5206 does not seem to be running inside a container 05:10:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:10:12 $ docker top 9db89928154f080072ebe343882a8a2e26526fc564b34f0d446b9f5d5a59a1c5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:13 + go version 05:10:13 go version go1.17.6 linux/arm64 [Pipeline] } 05:10:13 $ docker stop --time=1 9db89928154f080072ebe343882a8a2e26526fc564b34f0d446b9f5d5a59a1c5 05:10:15 $ docker rm -f 9db89928154f080072ebe343882a8a2e26526fc564b34f0d446b9f5d5a59a1c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:16 + docker inspect -f . ci-base-image-arm64 05:10:16 . [Pipeline] withDockerContainer 05:10:16 prd-ubuntu18.04-docker-arm64-4c-16g-5206 does not seem to be running inside a container 05:10:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:10:17 $ docker top 8949fe289ebe5dfdd6b9c57890aff1eed4293166a2967aad65852f3afee61c42 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:10:18 + make test 05:10:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:46 # github.com/edgexfoundry/device-sdk-go/v2/internal/cache 05:10:46 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom 05:10:46 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom 05:10:46 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom 05:10:53 # github.com/edgexfoundry/device-sdk-go/v2/internal/common 05:10:53 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom 05:11:01 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements 05:11:01 make: *** [Makefile:26: test] Error 2 [Pipeline] } 05:11:01 $ docker stop --time=1 8949fe289ebe5dfdd6b9c57890aff1eed4293166a2967aad65852f3afee61c42 05:11:03 $ docker rm -f 8949fe289ebe5dfdd6b9c57890aff1eed4293166a2967aad65852f3afee61c42 [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:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:04 05:11:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:11:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:05 arm64: Pulling from edgex-lftools-log-publisher 05:11:05 448f6bf000e3: Pulling fs layer 05:11:05 f757da607395: Pulling fs layer 05:11:05 05883995daec: Pulling fs layer 05:11:05 8603b9c90790: Pulling fs layer 05:11:05 1560dd03e051: Pulling fs layer 05:11:05 27f5ce0e4adf: Pulling fs layer 05:11:05 c2d8d7efcc4b: Pulling fs layer 05:11:05 8603b9c90790: Waiting 05:11:05 1560dd03e051: Waiting 05:11:05 27f5ce0e4adf: Waiting 05:11:05 c2d8d7efcc4b: Waiting 05:11:05 f757da607395: Verifying Checksum 05:11:05 f757da607395: Download complete 05:11:05 8603b9c90790: Download complete 05:11:05 1560dd03e051: Verifying Checksum 05:11:05 1560dd03e051: Download complete 05:11:05 27f5ce0e4adf: Verifying Checksum 05:11:05 27f5ce0e4adf: Download complete 05:11:05 05883995daec: Verifying Checksum 05:11:05 05883995daec: Download complete 05:11:05 448f6bf000e3: Verifying Checksum 05:11:05 448f6bf000e3: Download complete 05:11:08 c2d8d7efcc4b: Verifying Checksum 05:11:08 c2d8d7efcc4b: Download complete 05:11:09 448f6bf000e3: Pull complete 05:11:10 f757da607395: Pull complete 05:11:11 05883995daec: Pull complete 05:11:11 8603b9c90790: Pull complete 05:11:12 1560dd03e051: Pull complete 05:11:12 27f5ce0e4adf: Pull complete 05:11:27 c2d8d7efcc4b: Pull complete 05:11:27 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:11:28 prd-ubuntu18.04-docker-arm64-4c-16g-5206 does not seem to be running inside a container 05:11:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:11:30 $ docker top 9ad9629d306a710afc1fd34a2a07a981d71d23d215d3e72c6d0bc5732c90c9c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:31 ---> job-cost.sh 05:11:31 lf-activate-venv: SKIPPING 05:11:31 INFO: No Stack... 05:11:31 INFO: Retrieving Pricing Info for: v3-standard-4 05:11:32 INFO: Archiving Costs [Pipeline] sh 05:11:32 + + catcut /w/workspace/device-snmp-go/1/archives/cost.csv -d, 05:11:32 -f6 [Pipeline] lock 05:11:32 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] 05:11:32 Resource [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] did not exist. Created. 05:11:32 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:33 /w/workspace/device-snmp-go/1@tmp/durable-8cdeff56/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-8cdeff56/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:11:34 + echo total: 0.10999999940395355 [Pipeline] stash 05:11:34 Warning: overwriting stash ‘stack-cost’ 05:11:34 Stashed 1 file(s) [Pipeline] } 05:11:34 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:34 $ docker stop --time=1 9ad9629d306a710afc1fd34a2a07a981d71d23d215d3e72c6d0bc5732c90c9c0 05:11:36 $ docker rm -f 9ad9629d306a710afc1fd34a2a07a981d71d23d215d3e72c6d0bc5732c90c9c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:11:37 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:39 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-138/archives ']' 05:11:39 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-138/archives 05:11:39 total 8 05:11:39 drwxr-xr-x. 3 root root 34 Feb 14 05:06 . 05:11:39 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 14 05:06 .. 05:11:39 drwxr-xr-x. 2 root root 6 Feb 14 05:06 cost 05:11:39 -rw-r--r--. 1 root root 85 Feb 14 05:06 cost.csv 05:11:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-138/archives 05:11:39 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-138/archives 05:11:39 total 8 05:11:39 drwxr-xr-x. 3 jenkins jenkins 34 Feb 14 05:06 . 05:11:39 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 14 05:06 .. 05:11:39 drwxr-xr-x. 2 jenkins jenkins 6 Feb 14 05:06 cost 05:11:39 -rw-r--r--. 1 jenkins jenkins 85 Feb 14 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:39 ---> package-listing.sh 05:11:39 ++ facter osfamily 05:11:39 ++ tr '[:upper:]' '[:lower:]' 05:11:40 + OS_FAMILY=redhat 05:11:40 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-138 05:11:40 + START_PACKAGES=/tmp/packages_start.txt 05:11:40 + END_PACKAGES=/tmp/packages_end.txt 05:11:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:40 + PACKAGES=/tmp/packages_start.txt 05:11:40 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-138 ']' 05:11:40 + PACKAGES=/tmp/packages_end.txt 05:11:40 + case "${OS_FAMILY}" in 05:11:40 + sort 05:11:40 + rpm -qa 05:11:40 + '[' -f /tmp/packages_start.txt ']' 05:11:40 + '[' -f /tmp/packages_end.txt ']' 05:11:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:40 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-138 ']' 05:11:40 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-138/archives/ 05:11:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-138/archives/ [Pipeline] echo 05:11:40 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-138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:11:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:41 . [Pipeline] withDockerContainer 05:11:41 prd-centos7-docker-4c-2g-5204 does not seem to be running inside a container 05:11:41 $ 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-138/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-138 -v /w/workspace/gexfoundry_device-snmp-go_PR-138:/w/workspace/gexfoundry_device-snmp-go_PR-138:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-138@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-138@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:11:42 $ docker top 6efb2e363f893bf7d75f8a4e1096e7bc7ca80bb89294d6c1fdada631aa2a5a71 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:42 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:43 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:43 + ls /var/log/sa-host 05:11:43 + sadf -c /var/log/sa-host/sa14 05:11:43 file_magic: OK 05:11:43 HZ: Using current value: 100 05:11:43 file_header: OK 05:11:43 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:43 Statistics: 05:11:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:11:43 File successfully converted to sysstat format version 12.0.3 05:11:43 + sadf -c /var/log/sa-host/sa17 05:11:43 file_magic: OK 05:11:43 HZ: Using current value: 100 05:11:43 file_header: OK 05:11:43 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:43 Statistics: 05:11:43 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:11:43 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:43 provisioning config files... 05:11:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-138@tmp/config2003389238169656525tmp [Pipeline] { [Pipeline] echo 05:11:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:44 ---> create-netrc.sh [Pipeline] } 05:11:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:44 ---> python-tools-install.sh [Pipeline] echo 05:11:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:44 ---> sudo-logs.sh 05:11:44 Archiving 'sudo' log.. 05:11:44 sudo: unable to resolve host prd-centos7-docker-4c-2g-5204.novalocal: Name or service not known 05:11:44 sudo: unable to resolve host prd-centos7-docker-4c-2g-5204.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:11:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:45 ---> job-cost.sh 05:11:45 lf-activate-venv: SKIPPING 05:11:45 DEBUG: total: 0.05999999865889549 05:11:45 INFO: Retrieving Stack Cost... 05:11:45 INFO: Retrieving Pricing Info for: v3-standard-2 05:11:45 INFO: Archiving Costs [Pipeline] echo 05:11:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:46 ---> logs-deploy.sh 05:11:46 lf-activate-venv: SKIPPING 05:11:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-138/1 05:11:46 INFO: archiving workspace using pattern(s): 05:11:46 Archives upload complete. 05:11:46 INFO: archiving logs to Nexus