Pull request #196 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2a4bb7ea236c3f038cb62183bee10b83f9812c3+d466151200edb95fff3e1a1306a852eb5b109481 (78239a7545d5250746043b4e877855b2500fdd27) 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-ssh2144547880739183995.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16128904383462109118.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7432186053106444127.key Verifying host key using known hosts file > 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-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6937261838122942518.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh2198607876750223332.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10961495148837075366.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7487 in /w/workspace/gexfoundry_device-snmp-go_PR-196 [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-196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d466151200edb95fff3e1a1306a852eb5b109481 into PR head commit d2a4bb7ea236c3f038cb62183bee10b83f9812c3 Merge succeeded, producing d2a4bb7ea236c3f038cb62183bee10b83f9812c3 Checking out Revision d2a4bb7ea236c3f038cb62183bee10b83f9812c3 (PR-196) 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.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:20 ========================================================= 05:04:20 EdgeX Global Pipelines Version Info 05:04:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d2a4bb7ea236c3f038cb62183bee10b83f9812c3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge d466151200edb95fff3e1a1306a852eb5b109481 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2a4bb7ea236c3f038cb62183bee10b83f9812c3 # timeout=10 05:04:21 ------------------- 05:04:21 stable info: 05:04:21 ------------------- 05:04:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:21 Message: update stable to v1.0.239 05:04:21 ------------------- 05:04:21 experimental info: 05:04:21 ------------------- 05:04:21 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:21 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-196 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-196 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-196 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2a4bb7 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:23 provisioning config files... 05:04:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/config13357446947712477277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:23 ---> docker-login.sh 05:04:23 nexus3.edgexfoundry.org:10001 05:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:23 Configure a credential helper to remove this warning. See 05:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:23 05:04:23 Login Succeeded 05:04:23 nexus3.edgexfoundry.org:10002 05:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:23 Configure a credential helper to remove this warning. See 05:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:23 05:04:23 Login Succeeded 05:04:23 nexus3.edgexfoundry.org:10003 05:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:24 Configure a credential helper to remove this warning. See 05:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:24 05:04:24 Login Succeeded 05:04:24 nexus3.edgexfoundry.org:10004 05:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:24 Configure a credential helper to remove this warning. See 05:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:24 05:04:24 Login Succeeded 05:04:24 docker.io 05:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:24 Configure a credential helper to remove this warning. See 05:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:24 05:04:24 Login Succeeded 05:04:24 ---> docker-login.sh ends [Pipeline] } 05:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:25 + git rev-list -1 --merges d2a4bb7ea236c3f038cb62183bee10b83f9812c3~1..d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] echo 05:04:25 -----------> git rev-list -1 --merges d2a4bb7ea236c3f038cb62183bee10b83f9812c3~1..d2a4bb7ea236c3f038cb62183bee10b83f9812c3 d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [false] [Pipeline] sh 05:04:25 + git log --format=format:%s -1 d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] echo 05:04:25 ========================================================= 05:04:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:26 + git log --format=format:%s -1 d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] echo 05:04:26 [semverPrep] GIT_COMMIT: d2a4bb7ea236c3f038cb62183bee10b83f9812c3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:26 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:26 + grep -v github /etc/ssh/ssh_known_hosts 05:04:26 + [ -e /tmp/ssh_known_hosts ] 05:04:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:26 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:26 sudo tee -a /etc/ssh/ssh_known_hosts 05:04:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:27 05:04:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:27 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:27 b85a868b505f: Pulling fs layer 05:04:27 e2be974225ed: Pulling fs layer 05:04:27 339a4e72a1f5: Pulling fs layer 05:04:27 988bab9f4d93: Pulling fs layer 05:04:27 1469e6f7b9e6: Pulling fs layer 05:04:27 eaf3925da568: Pulling fs layer 05:04:27 bab4dde63d76: Pulling fs layer 05:04:27 bde34c3a00c8: Pulling fs layer 05:04:27 b352a97aabf1: Pulling fs layer 05:04:27 4872d77fe225: Pulling fs layer 05:04:27 5851b861e8e6: Pulling fs layer 05:04:27 988bab9f4d93: Waiting 05:04:27 1469e6f7b9e6: Waiting 05:04:27 eaf3925da568: Waiting 05:04:27 bab4dde63d76: Waiting 05:04:27 bde34c3a00c8: Waiting 05:04:27 b352a97aabf1: Waiting 05:04:27 4872d77fe225: Waiting 05:04:27 5851b861e8e6: Waiting 05:04:27 e2be974225ed: Verifying Checksum 05:04:27 e2be974225ed: Download complete 05:04:27 988bab9f4d93: Download complete 05:04:27 1469e6f7b9e6: Verifying Checksum 05:04:27 1469e6f7b9e6: Download complete 05:04:27 eaf3925da568: Verifying Checksum 05:04:27 eaf3925da568: Download complete 05:04:27 339a4e72a1f5: Verifying Checksum 05:04:27 339a4e72a1f5: Download complete 05:04:27 bde34c3a00c8: Verifying Checksum 05:04:27 bde34c3a00c8: Download complete 05:04:27 b352a97aabf1: Download complete 05:04:27 4872d77fe225: Verifying Checksum 05:04:27 4872d77fe225: Download complete 05:04:27 5851b861e8e6: Verifying Checksum 05:04:27 5851b861e8e6: Download complete 05:04:27 b85a868b505f: Verifying Checksum 05:04:27 b85a868b505f: Download complete 05:04:27 bab4dde63d76: Verifying Checksum 05:04:27 bab4dde63d76: Download complete 05:04:28 b85a868b505f: Pull complete 05:04:29 e2be974225ed: Pull complete 05:04:29 339a4e72a1f5: Pull complete 05:04:29 988bab9f4d93: Pull complete 05:04:29 1469e6f7b9e6: Pull complete 05:04:29 eaf3925da568: Pull complete 05:04:31 bab4dde63d76: Pull complete 05:04:31 bde34c3a00c8: Pull complete 05:04:31 b352a97aabf1: Pull complete 05:04:31 4872d77fe225: Pull complete 05:04:31 5851b861e8e6: Pull complete 05:04:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:32 prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container 05:04:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@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-devops/py-git-semver:0.1.4 cat 05:04:35 $ docker top 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 -eo pid,comm 05:04:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:04:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:35 [ssh-agent] Looking for ssh-agent implementation... 05:04:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:35 $ docker exec 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 ssh-agent 05:04:35 SSH_AUTH_SOCK=/tmp/ssh-VRG0BAkfREqV/agent.32 05:04:35 SSH_AGENT_PID=38 05:04:35 Running ssh-add (command line suppressed) 05:04:35 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/private_key_5772893736893547453.key (/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/private_key_5772893736893547453.key) 05:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:36 + git tag --points-at HEAD [Pipeline] } 05:04:36 $ docker exec --env ******** --env ******** 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 ssh-agent -k 05:04:36 unset SSH_AUTH_SOCK; 05:04:36 unset SSH_AGENT_PID; 05:04:36 echo Agent pid 38 killed; 05:04:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:36 [ssh-agent] Looking for ssh-agent implementation... 05:04:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:36 $ docker exec 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 ssh-agent 05:04:36 SSH_AUTH_SOCK=/tmp/ssh-Q6hDguYzLf9b/agent.70 05:04:36 SSH_AGENT_PID=76 05:04:36 Running ssh-add (command line suppressed) 05:04:36 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/private_key_5180880781679311021.key (/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/private_key_5180880781679311021.key) 05:04:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:36 + git semver init 05:04:37 2022-10-10 05:04:37,105 [run_init] DEBUG init version:0.0.0 force:False 05:04:37 2022-10-10 05:04:37,106 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver 05:04:37 2022-10-10 05:04:37,107 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-196/.semver 05:04:37 2022-10-10 05:04:37,107 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-196, universal_newlines=False, shell=None, istream=None) 05:04:38 2022-10-10 05:04:37,998 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-196/.git/info/exclude 05:04:38 2022-10-10 05:04:37,998 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver/PR-196 with force:False 05:04:38 2022-10-10 05:04:37,998 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver/PR-196 05:04:38 2022-10-10 05:04:38,002 [execute] INFO git cat-file --batch-check 05:04:38 2022-10-10 05:04:38,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver, universal_newlines=False, shell=None, istream=) 05:04:38 2022-10-10 05:04:38,007 [execute] INFO git cat-file --batch 05:04:38 2022-10-10 05:04:38,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-196/.semver, universal_newlines=False, shell=None, istream=) 05:04:38 2022-10-10 05:04:38,012 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-196/.semver/PR-196 05:04:38 0.0.0 [Pipeline] } 05:04:38 $ docker exec --env ******** --env ******** 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 ssh-agent -k 05:04:38 unset SSH_AUTH_SOCK; 05:04:38 unset SSH_AGENT_PID; 05:04:38 echo Agent pid 76 killed; 05:04:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:38 + git semver [Pipeline] } 05:04:38 $ docker stop --time=1 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 05:04:40 $ docker rm -f 09f8fdb80d85fd8d7e040d2ce6d01b3e133e52541b279bd4ee244f05471c5608 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:40 Stashed 1 file(s) [Pipeline] echo 05:04:40 [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:41 provisioning config files... 05:04:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/config8199988496948001073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:41 ---> docker-login.sh 05:04:41 nexus3.edgexfoundry.org:10001 05:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:41 Configure a credential helper to remove this warning. See 05:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:41 05:04:41 Login Succeeded 05:04:41 nexus3.edgexfoundry.org:10002 05:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:41 Configure a credential helper to remove this warning. See 05:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:41 05:04:41 Login Succeeded 05:04:41 nexus3.edgexfoundry.org:10003 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 nexus3.edgexfoundry.org:10004 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 docker.io 05:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:42 Configure a credential helper to remove this warning. See 05:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:42 05:04:42 Login Succeeded 05:04:42 ---> docker-login.sh ends [Pipeline] } 05:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:42 ========================================================= 05:04:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:04:43 Sending build context to Docker daemon 5.516MB 05:04:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:04:43 Step 2/13 : FROM ${BASE} AS builder 05:04:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:43 2408cc74d12b: Pulling fs layer 05:04:43 ea60b727a1ce: Pulling fs layer 05:04:43 30c4a7721957: Pulling fs layer 05:04:43 370296b7ddb6: Pulling fs layer 05:04:43 7c6cee850709: Pulling fs layer 05:04:43 aa9baa53a306: Pulling fs layer 05:04:43 8b309c321861: Pulling fs layer 05:04:43 d8d76fd02f46: Pulling fs layer 05:04:43 fa31f396de31: Pulling fs layer 05:04:43 8b309c321861: Waiting 05:04:43 370296b7ddb6: Waiting 05:04:43 7c6cee850709: Waiting 05:04:43 aa9baa53a306: Waiting 05:04:43 d8d76fd02f46: Waiting 05:04:43 fa31f396de31: Waiting 05:04:43 30c4a7721957: Verifying Checksum 05:04:43 30c4a7721957: Download complete 05:04:43 ea60b727a1ce: Verifying Checksum 05:04:43 ea60b727a1ce: Download complete 05:04:43 7c6cee850709: Download complete 05:04:43 aa9baa53a306: Download complete 05:04:43 2408cc74d12b: Verifying Checksum 05:04:43 2408cc74d12b: Download complete 05:04:43 8b309c321861: Download complete 05:04:43 2408cc74d12b: Pull complete 05:04:43 ea60b727a1ce: Pull complete 05:04:43 30c4a7721957: Pull complete 05:04:44 fa31f396de31: Verifying Checksum 05:04:44 fa31f396de31: Download complete 05:04:44 d8d76fd02f46: Verifying Checksum 05:04:44 d8d76fd02f46: Download complete 05:04:44 370296b7ddb6: Download complete 05:04:48 370296b7ddb6: Pull complete 05:04:48 7c6cee850709: Pull complete 05:04:48 aa9baa53a306: Pull complete 05:04:48 8b309c321861: Pull complete 05:04:50 d8d76fd02f46: Pull complete 05:04:51 fa31f396de31: Pull complete 05:04:51 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 05:04:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:51 ---> cef68f9685f8 05:04:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:04:56 ---> Running in 52b89e726c4b 05:04:56 Removing intermediate container 52b89e726c4b 05:04:56 ---> a9f3ece074cb 05:04:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:56 ---> Running in 9f0ebed208eb 05:04:56 Removing intermediate container 9f0ebed208eb 05:04:56 ---> b39e8d937017 05:04:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:56 ---> Running in dcf3af7cd380 05:04:56 Removing intermediate container dcf3af7cd380 05:04:56 ---> e892d18ac24b 05:04:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:04:56 ---> Running in 66a01869fc27 05:04:56 Removing intermediate container 66a01869fc27 05:04:56 ---> ff9cc8503564 05:04:56 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:56 ---> Running in 00a89f9b4a08 05:04:56 Removing intermediate container 00a89f9b4a08 05:04:56 ---> 59b5c9361d29 05:04:56 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:56 ---> Running in 44e82ab2b349 05:04:56 Still waiting to schedule task 05:04:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7488’ is offline 05:04:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:04:57 (2/4) Installing libedit (20210910.3.1-r0) 05:04:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:04:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:04:58 Executing busybox-1.35.0-r13.trigger 05:04:58 OK: 216 MiB in 55 packages 05:04:58 Removing intermediate container 44e82ab2b349 05:04:58 ---> 89ed7770ce1e 05:04:58 Step 9/13 : WORKDIR /device-snmp-go 05:04:58 ---> Running in b4c807a50695 05:04:58 Removing intermediate container b4c807a50695 05:04:58 ---> 3813869d74ce 05:04:58 Step 10/13 : COPY go.mod vendor* ./ 05:04:58 ---> b89ed8ce5adc 05:04:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:58 ---> Running in a411b86331ab 05:05:20 Removing intermediate container a411b86331ab 05:05:20 ---> a27f9dc8998a 05:05:20 Step 12/13 : COPY . . 05:05:20 ---> cf7bfe843560 05:05:20 Step 13/13 : RUN ${MAKE} 05:05:20 ---> Running in ec0340dd8c24 05:05:20 noop 05:05:20 Removing intermediate container ec0340dd8c24 05:05:20 ---> 5138690da5f9 05:05:20 Successfully built 5138690da5f9 05:05:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:21 + docker inspect -f . ci-base-image-x86_64 05:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:21 prd-ubuntu20.04-docker-8c-8g-7487 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-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:21 $ docker top ad7b5e80a24f0eeff2add7b322adad584047dfc8a973badbd18904c4fbc7c069 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:22 + go version 05:05:22 go version go1.18.3 linux/amd64 [Pipeline] } 05:05:22 $ docker stop --time=1 ad7b5e80a24f0eeff2add7b322adad584047dfc8a973badbd18904c4fbc7c069 05:05:23 $ docker rm -f ad7b5e80a24f0eeff2add7b322adad584047dfc8a973badbd18904c4fbc7c069 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:24 + docker inspect -f . ci-base-image-x86_64 05:05:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:24 prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container 05:05:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:24 $ docker top 7a872d48947a274900722c72bbb1fd8af8c8b9c951624ba7683bb54ca0641595 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-196 [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:33 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:33 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.029s coverage: 0.0% of statements 05:05:40 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 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 [Pipeline] echo 05:05:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:43 $ docker stop --time=1 7a872d48947a274900722c72bbb1fd8af8c8b9c951624ba7683bb54ca0641595 05:05:46 $ docker rm -f 7a872d48947a274900722c72bbb1fd8af8c8b9c951624ba7683bb54ca0641595 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:47 + ls -al . 05:05:47 total 172 05:05:47 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 05:05 . 05:05:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:04 .. 05:05:47 -rw-rw-r-- 1 jenkins jenkins 6 Oct 10 05:04 .dockerignore 05:05:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:05 .git 05:05:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:04 .github 05:05:47 -rw-rw-r-- 1 jenkins jenkins 328 Oct 10 05:04 .gitignore 05:05:47 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 05:04 .golangci.yml 05:05:47 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:04 .semver 05:05:47 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 10 05:04 Attribution.txt 05:05:47 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 10 05:04 CHANGELOG.md 05:05:47 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 10 05:04 Dockerfile 05:05:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:04 GOVERNANCE.md 05:05:47 -rw-rw-r-- 1 jenkins jenkins 656 Oct 10 05:04 Jenkinsfile 05:05:47 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:04 LICENSE 05:05:47 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 10 05:04 Makefile 05:05:47 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 05:04 OWNERS.md 05:05:47 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 10 05:04 README.md 05:05:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:04 VERSION 05:05:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:04 bin 05:05:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:04 cmd 05:05:47 -rw-r--r-- 1 jenkins jenkins 7631 Oct 10 05:05 coverage.out 05:05:47 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 10 05:04 go.mod 05:05:47 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 10 05:04 go.sum 05:05:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:04 internal 05:05:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:04 snap 05:05:47 -rw-rw-r-- 1 jenkins jenkins 228 Oct 10 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:48 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d2a4bb7ea236c3f038cb62183bee10b83f9812c3 --label arch=amd64 --label version=0.0.0 . 05:05:48 Sending build context to Docker daemon 5.524MB 05:05:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:05:48 Step 2/25 : FROM ${BASE} AS builder 05:05:48 ---> 5138690da5f9 05:05:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:05:48 ---> Running in 69ee3e8ed7ea 05:05:48 Removing intermediate container 69ee3e8ed7ea 05:05:48 ---> fa191edddddd 05:05:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:48 ---> Running in bea9700172e5 05:05:48 Removing intermediate container bea9700172e5 05:05:48 ---> 7aed8f226c2c 05:05:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:48 ---> Running in 18cbaf93bcb8 05:05:48 Removing intermediate container 18cbaf93bcb8 05:05:48 ---> 8a56dcc8a54e 05:05:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:05:48 ---> Running in 7d3271ef2428 05:05:48 Removing intermediate container 7d3271ef2428 05:05:48 ---> 1faa52b0423c 05:05:48 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:48 ---> Running in 62bf6e161ad2 05:05:49 Removing intermediate container 62bf6e161ad2 05:05:49 ---> 0d04023a8503 05:05:49 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:49 ---> Running in a2449e499e87 05:05:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:50 OK: 216 MiB in 55 packages 05:05:50 Removing intermediate container a2449e499e87 05:05:50 ---> 6e070db9397f 05:05:50 Step 9/25 : WORKDIR /device-snmp-go 05:05:50 ---> Running in 8bc6400848be 05:05:51 Removing intermediate container 8bc6400848be 05:05:51 ---> 658a7143ac5c 05:05:51 Step 10/25 : COPY go.mod vendor* ./ 05:05:51 ---> 9c817892541e 05:05:51 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:51 ---> Running in 23b743785e64 05:05:51 Removing intermediate container 23b743785e64 05:05:51 ---> 26780977c0a4 05:05:51 Step 12/25 : COPY . . 05:05:52 ---> b87fa4a43fef 05:05:52 Step 13/25 : RUN ${MAKE} 05:05:52 ---> Running in 97dbc32a49c0 05:05:52 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:06:14 Removing intermediate container 97dbc32a49c0 05:06:14 ---> 8b958b48a6b9 05:06:14 Step 14/25 : FROM alpine:3.16 05:06:14 3.16: Pulling from library/alpine 05:06:15 213ec9aee27d: Pulling fs layer 05:06:15 213ec9aee27d: Download complete 05:06:15 213ec9aee27d: Pull complete 05:06:15 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:06:15 Status: Downloaded newer image for alpine:3.16 05:06:15 ---> 9c6f07244728 05:06:15 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:06:15 ---> Running in 035f41bb3d99 05:06:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:16 (1/6) Installing dumb-init (1.2.5-r1) 05:06:16 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:06:16 (3/6) Installing libsodium (1.0.18-r0) 05:06:16 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:06:16 (5/6) Installing libzmq (4.3.4-r0) 05:06:16 (6/6) Installing zeromq (4.3.4-r0) 05:06:16 Executing busybox-1.35.0-r17.trigger 05:06:16 OK: 8 MiB in 20 packages 05:06:16 Removing intermediate container 035f41bb3d99 05:06:16 ---> 8bd8be3bcb4d 05:06:16 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:06:17 ---> d032cbbb2569 05:06:17 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:06:17 ---> 1d4f3e4f3d9b 05:06:17 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:06:17 ---> 7ca87703e55c 05:06:17 Step 19/25 : EXPOSE 59993 05:06:17 ---> Running in fc7d4c920eed 05:06:17 Removing intermediate container fc7d4c920eed 05:06:17 ---> a427b3b8d354 05:06:17 Step 20/25 : EXPOSE 161 05:06:17 ---> Running in 5581cfcee1fb 05:06:17 Removing intermediate container 5581cfcee1fb 05:06:17 ---> 9b3ce83d5a17 05:06:17 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:06:17 ---> Running in 8fe4f4e0985c 05:06:17 Removing intermediate container 8fe4f4e0985c 05:06:17 ---> 4af96d2258a4 05:06:17 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:06:17 ---> Running in 2d3e5c81f557 05:06:17 Removing intermediate container 2d3e5c81f557 05:06:17 ---> 79fcd4cd4403 05:06:17 Step 23/25 : LABEL arch=amd64 05:06:17 ---> Running in 7577165186c4 05:06:17 Removing intermediate container 7577165186c4 05:06:17 ---> ea7c757d3e67 05:06:17 Step 24/25 : LABEL git_sha=d2a4bb7ea236c3f038cb62183bee10b83f9812c3 05:06:18 ---> Running in a9e1bfc6f913 05:06:18 Removing intermediate container a9e1bfc6f913 05:06:18 ---> b938745508f2 05:06:18 Step 25/25 : LABEL version=0.0.0 05:06:18 ---> Running in 2eb10bc2819b 05:06:18 Removing intermediate container 2eb10bc2819b 05:06:18 ---> 57f1b3507aea 05:06:18 [Warning] One or more build-args [ARCH] were not consumed 05:06:18 Successfully built 57f1b3507aea 05:06:18 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:18 05:06:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:19 latest: Pulling from edgex-lftools-log-publisher 05:06:19 5eb5b503b376: Pulling fs layer 05:06:19 5c69ac0246d0: Pulling fs layer 05:06:19 ec43610c2a17: Pulling fs layer 05:06:19 3a2ae6a8a46f: Pulling fs layer 05:06:19 33b1e0a273af: Pulling fs layer 05:06:19 5d3b04190fa2: Pulling fs layer 05:06:19 2f39f015ded8: Pulling fs layer 05:06:19 3a2ae6a8a46f: Waiting 05:06:19 33b1e0a273af: Waiting 05:06:19 2f39f015ded8: Waiting 05:06:19 5d3b04190fa2: Waiting 05:06:19 5c69ac0246d0: Verifying Checksum 05:06:19 5c69ac0246d0: Download complete 05:06:19 3a2ae6a8a46f: Verifying Checksum 05:06:19 3a2ae6a8a46f: Download complete 05:06:19 33b1e0a273af: Verifying Checksum 05:06:19 33b1e0a273af: Download complete 05:06:19 ec43610c2a17: Verifying Checksum 05:06:19 ec43610c2a17: Download complete 05:06:19 5d3b04190fa2: Verifying Checksum 05:06:19 5d3b04190fa2: Download complete 05:06:19 5eb5b503b376: Verifying Checksum 05:06:19 5eb5b503b376: Download complete 05:06:20 2f39f015ded8: Download complete 05:06:20 5eb5b503b376: Pull complete 05:06:20 5c69ac0246d0: Pull complete 05:06:21 ec43610c2a17: Pull complete 05:06:21 3a2ae6a8a46f: Pull complete 05:06:21 33b1e0a273af: Pull complete 05:06:21 5d3b04190fa2: Pull complete 05:06:25 2f39f015ded8: Pull complete 05:06:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:25 prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container 05:06:25 $ 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-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:30 $ docker top dbb39e753754bfbf766372df60936941c80ffef64e10438205c06f3681187eb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:30 ---> job-cost.sh 05:06:30 lf-activate-venv: SKIPPING 05:06:30 INFO: No Stack... 05:06:31 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:31 INFO: Archiving Costs [Pipeline] sh 05:06:31 + + cat /w/workspace/gexfoundry_device-snmp-go_PR-196/archives/cost.csv 05:06:31 cut -d, -f6 [Pipeline] lock 05:06:31 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] 05:06:31 Resource [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] did not exist. Created. 05:06:31 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:32 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:32 Stashed 1 file(s) [Pipeline] } 05:06:32 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:32 $ docker stop --time=1 dbb39e753754bfbf766372df60936941c80ffef64e10438205c06f3681187eb3 05:06:33 $ docker rm -f dbb39e753754bfbf766372df60936941c80ffef64e10438205c06f3681187eb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7489 in /w/workspace/gexfoundry_device-snmp-go_PR-196 [Pipeline] { [Pipeline] ws 05:07:16 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:16 Selected Git installation does not exist. Using Default 05:07:16 The recommended git tool is: NONE 05:07:22 using credential edgex-jenkins-ssh 05:07:22 Cloning the remote Git repository 05:07:22 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:22 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:22 > git --version # timeout=10 05:07:22 > git --version # 'git version 2.25.1' 05:07:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:22 Verifying host key using known hosts file 05:07:22 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:25 Merging remotes/origin/main commit d466151200edb95fff3e1a1306a852eb5b109481 into PR head commit d2a4bb7ea236c3f038cb62183bee10b83f9812c3 05:07:24 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:24 Verifying host key using known hosts file 05:07:24 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:25 > git config core.sparsecheckout # timeout=10 05:07:25 > git checkout -f d2a4bb7ea236c3f038cb62183bee10b83f9812c3 # timeout=10 05:07:25 > git remote # timeout=10 05:07:25 > git config --get remote.origin.url # timeout=10 05:07:25 Merge succeeded, producing d2a4bb7ea236c3f038cb62183bee10b83f9812c3 05:07:25 Checking out Revision d2a4bb7ea236c3f038cb62183bee10b83f9812c3 (PR-196) 05:07:26 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:26 > git --version # timeout=10 05:07:26 > git --version # 'git version 2.25.1' 05:07:26 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:25 Verifying host key using known hosts file 05:07:25 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:25 > git merge d466151200edb95fff3e1a1306a852eb5b109481 # timeout=10 05:07:25 > git rev-parse HEAD^{commit} # timeout=10 05:07:25 > git config core.sparsecheckout # timeout=10 05:07:25 > git checkout -f d2a4bb7ea236c3f038cb62183bee10b83f9812c3 # timeout=10 05:07:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:27 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:27 Dload Upload Total Spent Left Speed 05:07:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 236k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh 05:07:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:28 + sudo tee /etc/docker/daemon.new 05:07:28 { 05:07:28 "registry-mirrors": [ 05:07:28 "https://nexus3.edgexfoundry.org:10001" 05:07:28 ], 05:07:28 "bip": "10.250.0.254/24", 05:07:28 "hosts": [ 05:07:28 "tcp://0.0.0.0:5555", 05:07:28 "unix:///var/run/docker.sock" 05:07:28 ], 05:07:28 "mtu": 1458, 05:07:28 "selinux-enabled": true, 05:07:28 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:28 } [Pipeline] sh 05:07:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:47 provisioning config files... 05:07:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3070680955824962946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:47 ---> docker-login.sh 05:07:47 nexus3.edgexfoundry.org:10001 05:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:48 Configure a credential helper to remove this warning. See 05:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:48 05:07:48 Login Succeeded 05:07:48 nexus3.edgexfoundry.org:10002 05:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:48 Configure a credential helper to remove this warning. See 05:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:48 05:07:48 Login Succeeded 05:07:48 nexus3.edgexfoundry.org:10003 05:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:48 Configure a credential helper to remove this warning. See 05:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:48 05:07:48 Login Succeeded 05:07:48 nexus3.edgexfoundry.org:10004 05:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:49 Configure a credential helper to remove this warning. See 05:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:49 05:07:49 Login Succeeded 05:07:49 docker.io 05:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:50 Configure a credential helper to remove this warning. See 05:07:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:50 05:07:50 Login Succeeded 05:07:50 ---> docker-login.sh ends [Pipeline] } 05:07:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:50 ========================================================= 05:07:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:07:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:07:52 Sending build context to Docker daemon 2.848MB 05:07:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:07:52 Step 2/13 : FROM ${BASE} AS builder 05:07:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:52 b3c136eddcbf: Pulling fs layer 05:07:52 c0a3192eca97: Pulling fs layer 05:07:52 a050256f5b6f: Pulling fs layer 05:07:52 656be50a0ddc: Pulling fs layer 05:07:52 2bbca73fdf42: Pulling fs layer 05:07:52 f607e4fc86c3: Pulling fs layer 05:07:52 4d572c569a2c: Pulling fs layer 05:07:52 fcf976331f73: Pulling fs layer 05:07:52 2bbca73fdf42: Waiting 05:07:52 f607e4fc86c3: Waiting 05:07:52 4d572c569a2c: Waiting 05:07:52 fcf976331f73: Waiting 05:07:52 656be50a0ddc: Waiting 05:07:52 a050256f5b6f: Verifying Checksum 05:07:52 a050256f5b6f: Download complete 05:07:52 c0a3192eca97: Verifying Checksum 05:07:52 c0a3192eca97: Download complete 05:07:52 2bbca73fdf42: Verifying Checksum 05:07:52 2bbca73fdf42: Download complete 05:07:52 f607e4fc86c3: Verifying Checksum 05:07:52 f607e4fc86c3: Download complete 05:07:52 b3c136eddcbf: Verifying Checksum 05:07:52 b3c136eddcbf: Download complete 05:07:53 b3c136eddcbf: Pull complete 05:07:53 fcf976331f73: Verifying Checksum 05:07:53 fcf976331f73: Download complete 05:07:53 c0a3192eca97: Pull complete 05:07:54 a050256f5b6f: Pull complete 05:07:54 4d572c569a2c: Verifying Checksum 05:07:54 4d572c569a2c: Download complete 05:07:55 656be50a0ddc: Download complete 05:08:08 656be50a0ddc: Pull complete 05:08:08 2bbca73fdf42: Pull complete 05:08:08 f607e4fc86c3: Pull complete 05:08:14 4d572c569a2c: Pull complete 05:08:16 fcf976331f73: Pull complete 05:08:16 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 05:08:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:08:16 ---> 3970a7415f9e 05:08:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:08:18 ---> Running in 180e3353a7da 05:08:18 Removing intermediate container 180e3353a7da 05:08:18 ---> dd786d58702c 05:08:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:18 ---> Running in 655bf2dbe153 05:08:19 Removing intermediate container 655bf2dbe153 05:08:19 ---> 09865553b0ff 05:08:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:19 ---> Running in da5ade1d3398 05:08:19 Removing intermediate container da5ade1d3398 05:08:19 ---> 6199ca58f1ad 05:08:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:08:19 ---> Running in d6dad73a3232 05:08:19 Removing intermediate container d6dad73a3232 05:08:19 ---> 65259409b7fb 05:08:19 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:19 ---> Running in 78ddf197c606 05:08:21 Removing intermediate container 78ddf197c606 05:08:21 ---> 4b05fc4c6d35 05:08:21 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:21 ---> Running in 36fafd62f891 05:08:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:24 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:08:24 (2/4) Installing libedit (20210910.3.1-r0) 05:08:24 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:08:24 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:08:24 Executing busybox-1.35.0-r13.trigger 05:08:24 OK: 226 MiB in 55 packages 05:08:25 Removing intermediate container 36fafd62f891 05:08:25 ---> 070b094d0931 05:08:25 Step 9/13 : WORKDIR /device-snmp-go 05:08:26 ---> Running in c56e43c4dace 05:08:26 Removing intermediate container c56e43c4dace 05:08:26 ---> 8bac0e99e526 05:08:26 Step 10/13 : COPY go.mod vendor* ./ 05:08:28 ---> 0e6e27d26b36 05:08:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:28 ---> Running in b31a4ba05020 05:09:24 Removing intermediate container b31a4ba05020 05:09:24 ---> 0432c43df8f2 05:09:24 Step 12/13 : COPY . . 05:09:24 ---> 026c96cb9034 05:09:24 Step 13/13 : RUN ${MAKE} 05:09:24 ---> Running in 7948744d55a3 05:09:24 noop 05:09:24 Removing intermediate container 7948744d55a3 05:09:24 ---> 690c24d0fcfe 05:09:24 Successfully built 690c24d0fcfe 05:09:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:25 + docker inspect -f . ci-base-image-arm64 05:09:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:25 prd-ubuntu20.04-docker-arm64-4c-16g-7489 does not seem to be running inside a container 05:09:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:26 $ docker top 830bdbbf272bb12d5a84c96cac44b1ee055d06d7c8d5a5bb67c22124e163cef5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:27 + go version 05:09:27 go version go1.18.3 linux/arm64 [Pipeline] } 05:09:27 $ docker stop --time=1 830bdbbf272bb12d5a84c96cac44b1ee055d06d7c8d5a5bb67c22124e163cef5 05:09:29 $ docker rm -f 830bdbbf272bb12d5a84c96cac44b1ee055d06d7c8d5a5bb67c22124e163cef5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:30 + docker inspect -f . ci-base-image-arm64 05:09:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:30 prd-ubuntu20.04-docker-arm64-4c-16g-7489 does not seem to be running inside a container 05:09:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:31 $ docker top 6ddc5ae0ab270cf0af2b515969ee0bc8658064e898c7cd59dcf8074e3424f250 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:32 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:09:33 + make test 05:09:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:35 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:57 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:10:57 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 05:10:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:10:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:19 ./bin/test-attribution-txt.sh [Pipeline] echo 05:11:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:11:19 $ docker stop --time=1 6ddc5ae0ab270cf0af2b515969ee0bc8658064e898c7cd59dcf8074e3424f250 05:11:21 $ docker rm -f 6ddc5ae0ab270cf0af2b515969ee0bc8658064e898c7cd59dcf8074e3424f250 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:22 Warning: overwriting stash ‘coverage-report’ 05:11:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:23 + ls -al . 05:11:23 total 168 05:11:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:09 . 05:11:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:07 .. 05:11:23 -rw-rw-r-- 1 jenkins jenkins 6 Oct 10 05:07 .dockerignore 05:11:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:07 .git 05:11:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:07 .github 05:11:23 -rw-rw-r-- 1 jenkins jenkins 328 Oct 10 05:07 .gitignore 05:11:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 05:07 .golangci.yml 05:11:23 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 10 05:07 Attribution.txt 05:11:23 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 10 05:07 CHANGELOG.md 05:11:23 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 10 05:07 Dockerfile 05:11:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:07 GOVERNANCE.md 05:11:23 -rw-rw-r-- 1 jenkins jenkins 656 Oct 10 05:07 Jenkinsfile 05:11:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:07 LICENSE 05:11:23 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 10 05:07 Makefile 05:11:23 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 05:07 OWNERS.md 05:11:23 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 10 05:07 README.md 05:11:23 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:04 VERSION 05:11:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:07 bin 05:11:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:07 cmd 05:11:23 -rw-r--r-- 1 jenkins jenkins 7631 Oct 10 05:10 coverage.out 05:11:23 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 10 05:07 go.mod 05:11:23 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 10 05:07 go.sum 05:11:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:07 internal 05:11:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:07 snap 05:11:23 -rw-rw-r-- 1 jenkins jenkins 228 Oct 10 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:24 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d2a4bb7ea236c3f038cb62183bee10b83f9812c3 --label arch=arm64 --label version=0.0.0 . 05:11:24 Sending build context to Docker daemon 2.856MB 05:11:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:11:24 Step 2/25 : FROM ${BASE} AS builder 05:11:24 ---> 690c24d0fcfe 05:11:24 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:11:24 ---> Running in 921e4c9ffde6 05:11:24 Removing intermediate container 921e4c9ffde6 05:11:24 ---> 0126db656b32 05:11:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:11:24 ---> Running in c5e538560a53 05:11:25 Removing intermediate container c5e538560a53 05:11:25 ---> 1355c9b14177 05:11:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:11:25 ---> Running in 5a8eab675420 05:11:25 Removing intermediate container 5a8eab675420 05:11:25 ---> de6a4ba775a8 05:11:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:11:25 ---> Running in 90bdcdc8fb91 05:11:26 Removing intermediate container 90bdcdc8fb91 05:11:26 ---> dd808123500d 05:11:26 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:26 ---> Running in d1873508075b 05:11:27 Removing intermediate container d1873508075b 05:11:27 ---> 63a46d87748c 05:11:27 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:27 ---> Running in f0c620cd0e92 05:11:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:11:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:11:30 OK: 226 MiB in 55 packages 05:11:31 Removing intermediate container f0c620cd0e92 05:11:31 ---> a4d94b783ced 05:11:31 Step 9/25 : WORKDIR /device-snmp-go 05:11:31 ---> Running in 2c963d3ef675 05:11:31 Removing intermediate container 2c963d3ef675 05:11:31 ---> 9e8a2696a75c 05:11:31 Step 10/25 : COPY go.mod vendor* ./ 05:11:32 ---> c6aad72fa62f 05:11:32 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:32 ---> Running in 0d612fc152ec 05:11:34 Removing intermediate container 0d612fc152ec 05:11:34 ---> 96ea41097c99 05:11:34 Step 12/25 : COPY . . 05:11:35 ---> f904f926bfd5 05:11:35 Step 13/25 : RUN ${MAKE} 05:11:35 ---> Running in fc5747166f89 05:11:36 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:14:13 Removing intermediate container fc5747166f89 05:14:13 ---> 405935a0a90a 05:14:13 Step 14/25 : FROM alpine:3.16 05:14:13 3.16: Pulling from library/alpine 05:14:13 9b18e9b68314: Pulling fs layer 05:14:13 9b18e9b68314: Verifying Checksum 05:14:13 9b18e9b68314: Download complete 05:14:13 9b18e9b68314: Pull complete 05:14:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:14:13 Status: Downloaded newer image for alpine:3.16 05:14:13 ---> a6215f271958 05:14:13 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:14:13 ---> Running in 52302cbee14a 05:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:14:13 (1/6) Installing dumb-init (1.2.5-r1) 05:14:13 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:14:13 (3/6) Installing libsodium (1.0.18-r0) 05:14:13 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:14:13 (5/6) Installing libzmq (4.3.4-r0) 05:14:13 (6/6) Installing zeromq (4.3.4-r0) 05:14:13 Executing busybox-1.35.0-r17.trigger 05:14:13 OK: 8 MiB in 20 packages 05:14:13 Removing intermediate container 52302cbee14a 05:14:13 ---> 9ba82e228bc6 05:14:13 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:14:13 ---> ccefdf334b50 05:14:13 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:14:13 ---> 5fd5fd34678d 05:14:13 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:14:13 ---> 35f3d4c61dba 05:14:13 Step 19/25 : EXPOSE 59993 05:14:13 ---> Running in 26f2ac0d2f9e 05:14:13 Removing intermediate container 26f2ac0d2f9e 05:14:13 ---> 608b581a85cc 05:14:13 Step 20/25 : EXPOSE 161 05:14:13 ---> Running in 7d66a47bca98 05:14:13 Removing intermediate container 7d66a47bca98 05:14:13 ---> b891be25fd41 05:14:13 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:14:13 ---> Running in 2df0aad84bb3 05:14:13 Removing intermediate container 2df0aad84bb3 05:14:13 ---> 1571e5ce4b03 05:14:13 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:14:13 ---> Running in 69c690c1dd14 05:14:14 Removing intermediate container 69c690c1dd14 05:14:14 ---> 05fb2754d22f 05:14:14 Step 23/25 : LABEL arch=arm64 05:14:14 ---> Running in 195afc8c97a5 05:14:14 Removing intermediate container 195afc8c97a5 05:14:14 ---> d67702504156 05:14:14 Step 24/25 : LABEL git_sha=d2a4bb7ea236c3f038cb62183bee10b83f9812c3 05:14:14 ---> Running in 7c454e1cb897 05:14:15 Removing intermediate container 7c454e1cb897 05:14:15 ---> 6a43fbc04864 05:14:15 Step 25/25 : LABEL version=0.0.0 05:14:15 ---> Running in 7f6f933ceeab 05:14:15 Removing intermediate container 7f6f933ceeab 05:14:15 ---> d8a0a0dbeee0 05:14:15 [Warning] One or more build-args [ARCH] were not consumed 05:14:15 Successfully built d8a0a0dbeee0 05:14:15 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:16 05:14:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:16 arm64: Pulling from edgex-lftools-log-publisher 05:14:16 8998bd30e6a1: Pulling fs layer 05:14:16 04944245beec: Pulling fs layer 05:14:16 699f458cf7ca: Pulling fs layer 05:14:16 765212b225bb: Pulling fs layer 05:14:16 f23df028b6ca: Pulling fs layer 05:14:16 d65c8cfc05b1: Pulling fs layer 05:14:16 2437ff75d9bd: Pulling fs layer 05:14:16 f23df028b6ca: Waiting 05:14:16 d65c8cfc05b1: Waiting 05:14:16 2437ff75d9bd: Waiting 05:14:16 765212b225bb: Waiting 05:14:16 04944245beec: Verifying Checksum 05:14:16 04944245beec: Download complete 05:14:16 765212b225bb: Verifying Checksum 05:14:16 765212b225bb: Download complete 05:14:16 f23df028b6ca: Verifying Checksum 05:14:16 f23df028b6ca: Download complete 05:14:16 d65c8cfc05b1: Verifying Checksum 05:14:16 d65c8cfc05b1: Download complete 05:14:16 699f458cf7ca: Verifying Checksum 05:14:16 699f458cf7ca: Download complete 05:14:17 8998bd30e6a1: Verifying Checksum 05:14:17 8998bd30e6a1: Download complete 05:14:19 2437ff75d9bd: Download complete 05:14:21 8998bd30e6a1: Pull complete 05:14:21 04944245beec: Pull complete 05:14:22 699f458cf7ca: Pull complete 05:14:22 765212b225bb: Pull complete 05:14:23 f23df028b6ca: Pull complete 05:14:23 d65c8cfc05b1: Pull complete 05:14:38 2437ff75d9bd: Pull complete 05:14:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:39 prd-ubuntu20.04-docker-arm64-4c-16g-7489 does not seem to be running inside a container 05:14:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:14:41 $ docker top e9aecf68e29ec465d4be8d0a481c997b48893bc5826827d1e0f2960d2a402b68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:42 ---> job-cost.sh 05:14:42 lf-activate-venv: SKIPPING 05:14:42 INFO: No Stack... 05:14:43 INFO: Retrieving Pricing Info for: v3-standard-4 05:14:43 INFO: Archiving Costs [Pipeline] sh 05:14:44 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:14:44 + cut -d, -f6 [Pipeline] lock 05:14:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] 05:14:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] did not exist. Created. 05:14:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:14:44 /w/workspace/device-snmp-go/1@tmp/durable-31ab5c27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:14:45 + echo total: 0.10999999940395355 [Pipeline] stash 05:14:45 Warning: overwriting stash ‘stack-cost’ 05:14:45 Stashed 1 file(s) [Pipeline] } 05:14:45 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:14:45 $ docker stop --time=1 e9aecf68e29ec465d4be8d0a481c997b48893bc5826827d1e0f2960d2a402b68 05:14:46 $ docker rm -f e9aecf68e29ec465d4be8d0a481c997b48893bc5826827d1e0f2960d2a402b68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:14:47 provisioning config files... 05:14:47 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/config9889891172626222579tmp [Pipeline] { [Pipeline] sh 05:14:48 + set +x 05:14:48 + curl -s https://codecov.io/bash 05:14:48 + bash -s -- 05:14:48 05:14:48 _____ _ 05:14:48 / ____| | | 05:14:48 | | ___ __| | ___ ___ _____ __ 05:14:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:14:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:14:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:14:48 Bash-1.0.6 05:14:48 05:14:48 05:14:48 ==> git version 2.25.1 found 05:14:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:14:48 Release-Date: 2020-01-08 05:14:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:14:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:14:48 ==> Jenkins CI detected. 05:14:48 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-196 05:14:48 project root: . 05:14:48 --> token set from env 05:14:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:14:48 ==> Running gcov in . (disable via -X gcov) 05:14:48 ==> Python coveragepy not found 05:14:48 ==> Searching for coverage reports in: 05:14:48 + . 05:14:48 -> Found 1 reports 05:14:48 ==> Detecting git/mercurial file structure 05:14:48 ==> Reading reports 05:14:48 + ./coverage.out bytes=7631 05:14:48 ==> Appending adjustments 05:14:48 https://docs.codecov.io/docs/fixing-reports 05:14:48 + Found adjustments 05:14:48 ==> Gzipping contents 05:14:48 4.0K /tmp/codecov.GtjGAW.gz 05:14:48 ==> Uploading reports 05:14:48 url: https://codecov.io 05:14:48 query: branch=PR-196&commit=d2a4bb7ea236c3f038cb62183bee10b83f9812c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=196&job=&cmd_args= 05:14:48 -> Pinging Codecov 05:14:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-196&commit=d2a4bb7ea236c3f038cb62183bee10b83f9812c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=196&job=&cmd_args= 05:14:48 -> Uploading to 05:14:48 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/6C56EA5C29638FB4528AC87E60AF5AE0/d2a4bb7ea236c3f038cb62183bee10b83f9812c3/e1df69c2-da96-466d-ac91-ae88971cd37e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T051448Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eaa776d0fda3c4ed02a665daf3c87659712632311e639383f26c1d718b685573 05:14:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:48 Dload Upload Total Spent Left Speed 05:14:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6246 --:--:-- --:--:-- --:--:-- 6246 05:14:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d2a4bb7ea236c3f038cb62183bee10b83f9812c3 [Pipeline] } 05:14:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:14:50 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-196/archives ] 05:14:50 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-196/archives 05:14:50 total 16 05:14:50 drwxr-xr-x 3 root root 4096 Oct 10 05:06 . 05:14:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 05:06 .. 05:14:50 drwxr-xr-x 2 root root 4096 Oct 10 05:06 cost 05:14:50 -rw-r--r-- 1 root root 86 Oct 10 05:06 cost.csv 05:14:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-196/archives 05:14:50 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-196/archives 05:14:50 total 16 05:14:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:06 . 05:14:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 05:06 .. 05:14:50 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 05:06 cost 05:14:50 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:14:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:14:51 ---> package-listing.sh 05:14:51 ++ facter osfamily 05:14:51 ++ tr '[:upper:]' '[:lower:]' 05:14:52 + OS_FAMILY=debian 05:14:52 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-196 05:14:52 + START_PACKAGES=/tmp/packages_start.txt 05:14:52 + END_PACKAGES=/tmp/packages_end.txt 05:14:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:14:52 + PACKAGES=/tmp/packages_start.txt 05:14:52 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-196 ']' 05:14:52 + PACKAGES=/tmp/packages_end.txt 05:14:52 + case "${OS_FAMILY}" in 05:14:52 + dpkg -l 05:14:52 + grep '^ii' 05:14:52 + '[' -f /tmp/packages_start.txt ']' 05:14:52 + '[' -f /tmp/packages_end.txt ']' 05:14:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:14:52 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-196 ']' 05:14:52 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-196/archives/ 05:14:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-196/archives/ [Pipeline] echo 05:14:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:14:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:53 prd-ubuntu20.04-docker-8c-8g-7487 does not seem to be running inside a container 05:14:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-196/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-196 -v /w/workspace/gexfoundry_device-snmp-go_PR-196:/w/workspace/gexfoundry_device-snmp-go_PR-196:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-196@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-196@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:14:53 $ docker top 7cd905dd63546af4379a56954f4e8447207684d20686d72707522227c32467c4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:53 + touch /tmp/pre-build-complete [Pipeline] sh 05:14:54 + mkdir -p /var/log/sysstat [Pipeline] sh 05:14:54 + ls /var/log/sa-host 05:14:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:54 provisioning config files... 05:14:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-196@tmp/config6437209281039106432tmp [Pipeline] { [Pipeline] echo 05:14:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:14:54 ---> create-netrc.sh [Pipeline] } 05:14:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:14:55 ---> python-tools-install.sh [Pipeline] echo 05:14:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:14:55 ---> sudo-logs.sh 05:14:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:14:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:14:56 ---> job-cost.sh 05:14:56 lf-activate-venv: SKIPPING 05:14:56 DEBUG: total: 0.2199999988079071 05:14:56 INFO: Retrieving Stack Cost... 05:14:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:56 INFO: Archiving Costs [Pipeline] echo 05:14:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:14:57 ---> logs-deploy.sh 05:14:57 lf-activate-venv: SKIPPING 05:14:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-196/1 05:14:57 INFO: archiving workspace using pattern(s): 05:14:58 Archives upload complete. 05:14:58 INFO: archiving logs to Nexus