Pull request #194 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7dd6deb7c2fbdec19c5544181b465eabd69939b1+63e28895b9126edb3139522702b6e6ce592ce3b8 (5cfffc18977bd2608e112002f9f4744d9c4465ba) 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-ssh5164923351445812715.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-ssh15487867785149506294.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-194/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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5390623441796946130.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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7783636850150907997.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-ssh76464980437257329.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-194/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-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14639287965577625074.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6821 in /w/workspace/gexfoundry_device-snmp-go_PR-194 [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-194 # 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/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63e28895b9126edb3139522702b6e6ce592ce3b8 into PR head commit 7dd6deb7c2fbdec19c5544181b465eabd69939b1 Merge succeeded, producing 7dd6deb7c2fbdec19c5544181b465eabd69939b1 Checking out Revision 7dd6deb7c2fbdec19c5544181b465eabd69939b1 (PR-194) 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 7dd6deb7c2fbdec19c5544181b465eabd69939b1 # 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 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7dd6deb7c2fbdec19c5544181b465eabd69939b1 # 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:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:22 [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:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] echo 05:04:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7dd6deb [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-194@tmp/config14367528418943300983tmp [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 7dd6deb7c2fbdec19c5544181b465eabd69939b1~1..7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] echo 05:04:25 -----------> git rev-list -1 --merges 7dd6deb7c2fbdec19c5544181b465eabd69939b1~1..7dd6deb7c2fbdec19c5544181b465eabd69939b1 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [false] [Pipeline] sh 05:04:25 + git log --format=format:%s -1 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [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 7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] echo 05:04:26 [semverPrep] GIT_COMMIT: 7dd6deb7c2fbdec19c5544181b465eabd69939b1, 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 eaf3925da568: Waiting 05:04:27 1469e6f7b9e6: Waiting 05:04:27 bab4dde63d76: Waiting 05:04:27 4872d77fe225: Waiting 05:04:27 bde34c3a00c8: Waiting 05:04:27 e2be974225ed: Download complete 05:04:27 988bab9f4d93: Verifying Checksum 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: 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:28 bab4dde63d76: Verifying Checksum 05:04:28 bab4dde63d76: Download complete 05:04:28 b85a868b505f: Pull complete 05:04:28 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:31 prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container 05:04:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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:34 $ docker top 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 -eo pid,comm 05:04:34 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:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:34 [ssh-agent] Looking for ssh-agent implementation... 05:04:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:34 $ docker exec 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 ssh-agent 05:04:34 SSH_AUTH_SOCK=/tmp/ssh-so9nygDBflCO/agent.32 05:04:34 SSH_AGENT_PID=38 05:04:34 Running ssh-add (command line suppressed) 05:04:34 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/private_key_13802230796050496379.key (/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/private_key_13802230796050496379.key) 05:04:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:34 + git tag --points-at HEAD [Pipeline] } 05:04:34 $ docker exec --env ******** --env ******** 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 ssh-agent -k 05:04:34 unset SSH_AUTH_SOCK; 05:04:34 unset SSH_AGENT_PID; 05:04:34 echo Agent pid 38 killed; 05:04:35 [ssh-agent] Stopped. [Pipeline] // sshagent [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 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 ssh-agent 05:04:35 SSH_AUTH_SOCK=/tmp/ssh-n6KtXR30kPcM/agent.70 05:04:35 SSH_AGENT_PID=76 05:04:35 Running ssh-add (command line suppressed) 05:04:35 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/private_key_5517644689092735450.key (/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/private_key_5517644689092735450.key) 05:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:35 + git semver init 05:04:36 2022-10-03 05:04:35,960 [run_init] DEBUG init version:0.0.0 force:False 05:04:36 2022-10-03 05:04:35,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver 05:04:36 2022-10-03 05:04:35,962 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-194/.semver 05:04:36 2022-10-03 05:04:35,962 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-194, universal_newlines=False, shell=None, istream=None) 05:04:36 2022-10-03 05:04:36,843 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-194/.git/info/exclude 05:04:36 2022-10-03 05:04:36,844 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver/PR-194 with force:False 05:04:36 2022-10-03 05:04:36,844 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver/PR-194 05:04:36 2022-10-03 05:04:36,849 [execute] INFO git cat-file --batch-check 05:04:36 2022-10-03 05:04:36,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver, universal_newlines=False, shell=None, istream=) 05:04:36 2022-10-03 05:04:36,857 [execute] INFO git cat-file --batch 05:04:36 2022-10-03 05:04:36,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-194/.semver, universal_newlines=False, shell=None, istream=) 05:04:36 2022-10-03 05:04:36,863 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-194/.semver/PR-194 05:04:36 0.0.0 [Pipeline] } 05:04:37 $ docker exec --env ******** --env ******** 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 ssh-agent -k 05:04:37 unset SSH_AUTH_SOCK; 05:04:37 unset SSH_AGENT_PID; 05:04:37 echo Agent pid 76 killed; 05:04:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:37 + git semver [Pipeline] } 05:04:37 $ docker stop --time=1 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 05:04:39 $ docker rm -f 3091399b637efc9c0c5ce30ec3c77092180df45abe26f0dc2c1f7cbba007b990 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:39 Stashed 1 file(s) [Pipeline] echo 05:04:39 [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:40 provisioning config files... 05:04:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/config5807500669554176909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:40 ---> docker-login.sh 05:04:40 nexus3.edgexfoundry.org:10001 05:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:40 Configure a credential helper to remove this warning. See 05:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:40 05:04:40 Login Succeeded 05:04:40 nexus3.edgexfoundry.org:10002 05:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:40 Configure a credential helper to remove this warning. See 05:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:40 05:04:40 Login Succeeded 05:04:40 nexus3.edgexfoundry.org:10003 05:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:40 Configure a credential helper to remove this warning. See 05:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:40 05:04:40 Login Succeeded 05:04:40 nexus3.edgexfoundry.org:10004 05:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:40 Configure a credential helper to remove this warning. See 05:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:40 05:04:40 Login Succeeded 05:04:40 docker.io 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 ---> docker-login.sh ends [Pipeline] } 05:04:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:41 ========================================================= 05:04:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:42 + 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:42 Sending build context to Docker daemon 5.514MB 05:04:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:04:42 Step 2/13 : FROM ${BASE} AS builder 05:04:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:42 2408cc74d12b: Pulling fs layer 05:04:42 ea60b727a1ce: Pulling fs layer 05:04:42 30c4a7721957: Pulling fs layer 05:04:42 370296b7ddb6: Pulling fs layer 05:04:42 7c6cee850709: Pulling fs layer 05:04:42 aa9baa53a306: Pulling fs layer 05:04:42 8b309c321861: Pulling fs layer 05:04:42 d8d76fd02f46: Pulling fs layer 05:04:42 fa31f396de31: Pulling fs layer 05:04:42 aa9baa53a306: Waiting 05:04:42 370296b7ddb6: Waiting 05:04:42 8b309c321861: Waiting 05:04:42 7c6cee850709: Waiting 05:04:42 d8d76fd02f46: Waiting 05:04:42 fa31f396de31: Waiting 05:04:42 30c4a7721957: Verifying Checksum 05:04:42 30c4a7721957: Download complete 05:04:42 ea60b727a1ce: Verifying Checksum 05:04:42 ea60b727a1ce: Download complete 05:04:42 7c6cee850709: Download complete 05:04:42 aa9baa53a306: Download complete 05:04:42 2408cc74d12b: Verifying Checksum 05:04:42 2408cc74d12b: Download complete 05:04:42 8b309c321861: Download complete 05:04:42 2408cc74d12b: Pull complete 05:04:42 ea60b727a1ce: Pull complete 05:04:42 30c4a7721957: Pull complete 05:04:43 370296b7ddb6: Verifying Checksum 05:04:43 370296b7ddb6: Download complete 05:04:43 fa31f396de31: Verifying Checksum 05:04:43 fa31f396de31: Download complete 05:04:43 d8d76fd02f46: Verifying Checksum 05:04:43 d8d76fd02f46: Download complete 05:04:47 370296b7ddb6: Pull complete 05:04:47 7c6cee850709: Pull complete 05:04:47 aa9baa53a306: Pull complete 05:04:47 8b309c321861: Pull complete 05:04:48 d8d76fd02f46: Pull complete 05:04:49 fa31f396de31: Pull complete 05:04:49 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 05:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:49 ---> cef68f9685f8 05:04:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:04:53 ---> Running in fa9145d20ccf 05:04:53 Removing intermediate container fa9145d20ccf 05:04:53 ---> 8412144a1199 05:04:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:53 ---> Running in aad0ed551a36 05:04:53 Removing intermediate container aad0ed551a36 05:04:53 ---> 118811f700c8 05:04:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:53 ---> Running in f4bfc03ce324 05:04:53 Removing intermediate container f4bfc03ce324 05:04:53 ---> a6125a4c239a 05:04:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:04:53 ---> Running in bf82ece6392c 05:04:53 Removing intermediate container bf82ece6392c 05:04:53 ---> d6c8a580e4b4 05:04:53 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:53 ---> Running in 9e45677730fe 05:04:53 Removing intermediate container 9e45677730fe 05:04:53 ---> 432bd9e82c8e 05:04:53 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:53 ---> Running in 398a91d6d346 05:04:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:04:55 (2/4) Installing libedit (20210910.3.1-r0) 05:04:55 Still waiting to schedule task 05:04:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6824’ is offline 05:04:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:04:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:04:55 Executing busybox-1.35.0-r13.trigger 05:04:55 OK: 216 MiB in 55 packages 05:04:55 Removing intermediate container 398a91d6d346 05:04:55 ---> ce1902e392b5 05:04:55 Step 9/13 : WORKDIR /device-snmp-go 05:04:55 ---> Running in 345ed4506dfc 05:04:55 Removing intermediate container 345ed4506dfc 05:04:55 ---> 9712448cc39d 05:04:55 Step 10/13 : COPY go.mod vendor* ./ 05:04:56 ---> 425658a9afd7 05:04:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:56 ---> Running in bf4ef55d15df 05:05:14 Removing intermediate container bf4ef55d15df 05:05:14 ---> 76d2eb3d4c27 05:05:14 Step 12/13 : COPY . . 05:05:14 ---> d9c9e1793ae6 05:05:14 Step 13/13 : RUN ${MAKE} 05:05:14 ---> Running in dc9fe2639ac5 05:05:14 noop 05:05:14 Removing intermediate container dc9fe2639ac5 05:05:14 ---> ea1209667c73 05:05:14 Successfully built ea1209667c73 05:05:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:14 + docker inspect -f . ci-base-image-x86_64 05:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:14 prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container 05:05:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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:15 $ docker top 5318cb23904814d6c5bad4d26f1c406f8c9fd8edbf24dea0a4f6760720cdc34d -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:15 + go version 05:05:15 go version go1.18.3 linux/amd64 [Pipeline] } 05:05:15 $ docker stop --time=1 5318cb23904814d6c5bad4d26f1c406f8c9fd8edbf24dea0a4f6760720cdc34d 05:05:16 $ docker rm -f 5318cb23904814d6c5bad4d26f1c406f8c9fd8edbf24dea0a4f6760720cdc34d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:17 + docker inspect -f . ci-base-image-x86_64 05:05:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:17 prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container 05:05:17 $ 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-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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:18 $ docker top a3c20f8b152e7642f13c4920db0afd6a2e5d158a777d32ac71ec5aa9a8cfcef1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-194 [Pipeline] fileExists [Pipeline] sh 05:05:18 + make test 05:05:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:27 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:27 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.031s coverage: 0.0% of statements 05:05:32 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:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:35 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:35 $ docker stop --time=1 a3c20f8b152e7642f13c4920db0afd6a2e5d158a777d32ac71ec5aa9a8cfcef1 05:05:38 $ docker rm -f a3c20f8b152e7642f13c4920db0afd6a2e5d158a777d32ac71ec5aa9a8cfcef1 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:39 + ls -al . 05:05:39 total 172 05:05:39 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:05 . 05:05:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 .. 05:05:39 -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:04 .dockerignore 05:05:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:05 .git 05:05:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 .github 05:05:39 -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:04 .gitignore 05:05:39 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:04 .golangci.yml 05:05:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:04 .semver 05:05:39 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:04 Attribution.txt 05:05:39 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:04 CHANGELOG.md 05:05:39 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:04 Dockerfile 05:05:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:04 GOVERNANCE.md 05:05:39 -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:04 Jenkinsfile 05:05:39 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:04 LICENSE 05:05:39 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:04 Makefile 05:05:39 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:04 OWNERS.md 05:05:39 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:04 README.md 05:05:39 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION 05:05:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:04 bin 05:05:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 cmd 05:05:39 -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:05 coverage.out 05:05:39 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:04 go.mod 05:05:39 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:04 go.sum 05:05:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 internal 05:05:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 snap 05:05:39 -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:39 + 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=7dd6deb7c2fbdec19c5544181b465eabd69939b1 --label arch=amd64 --label version=0.0.0 . 05:05:39 Sending build context to Docker daemon 5.522MB 05:05:39 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:05:39 Step 2/25 : FROM ${BASE} AS builder 05:05:39 ---> ea1209667c73 05:05:39 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:05:39 ---> Running in c8b61fa782f8 05:05:40 Removing intermediate container c8b61fa782f8 05:05:40 ---> aa0d51b12b72 05:05:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:40 ---> Running in 4e259b978663 05:05:40 Removing intermediate container 4e259b978663 05:05:40 ---> 7ab5c1355441 05:05:40 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:40 ---> Running in 475ee9de3c08 05:05:40 Removing intermediate container 475ee9de3c08 05:05:40 ---> 5f21905c4a8f 05:05:40 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:05:40 ---> Running in bd574675ca57 05:05:40 Removing intermediate container bd574675ca57 05:05:40 ---> 659e273b1c02 05:05:40 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:40 ---> Running in a120878ed859 05:05:40 Removing intermediate container a120878ed859 05:05:40 ---> 5882a137558f 05:05:40 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:40 ---> Running in fa3c6b2ee877 05:05:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:42 OK: 216 MiB in 55 packages 05:05:42 Removing intermediate container fa3c6b2ee877 05:05:42 ---> 980daf96ef8f 05:05:42 Step 9/25 : WORKDIR /device-snmp-go 05:05:42 ---> Running in c5cf47cd668f 05:05:42 Removing intermediate container c5cf47cd668f 05:05:42 ---> a849a015aaaf 05:05:42 Step 10/25 : COPY go.mod vendor* ./ 05:05:42 ---> 8cbcd6d35a6f 05:05:42 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:42 ---> Running in 0236dda79208 05:05:43 Removing intermediate container 0236dda79208 05:05:43 ---> abb9349bf078 05:05:43 Step 12/25 : COPY . . 05:05:43 ---> 4fa96a0233b3 05:05:43 Step 13/25 : RUN ${MAKE} 05:05:43 ---> Running in f354e9252fb1 05:05:44 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.34 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:06:02 Removing intermediate container f354e9252fb1 05:06:02 ---> c61850529adc 05:06:02 Step 14/25 : FROM alpine:3.16 05:06:02 3.16: Pulling from library/alpine 05:06:02 213ec9aee27d: Pulling fs layer 05:06:02 213ec9aee27d: Verifying Checksum 05:06:02 213ec9aee27d: Download complete 05:06:02 213ec9aee27d: Pull complete 05:06:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:06:02 Status: Downloaded newer image for alpine:3.16 05:06:02 ---> 9c6f07244728 05:06:02 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:06:02 ---> Running in adc8fbe62b52 05:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:03 (1/6) Installing dumb-init (1.2.5-r1) 05:06:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:06:03 (3/6) Installing libsodium (1.0.18-r0) 05:06:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:06:03 (5/6) Installing libzmq (4.3.4-r0) 05:06:03 (6/6) Installing zeromq (4.3.4-r0) 05:06:03 Executing busybox-1.35.0-r17.trigger 05:06:03 OK: 8 MiB in 20 packages 05:06:04 Removing intermediate container adc8fbe62b52 05:06:04 ---> 37ff780e3bbc 05:06:04 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:06:04 ---> 822b79639665 05:06:04 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:06:04 ---> e27b6415abd0 05:06:04 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:06:04 ---> 556db63ea000 05:06:04 Step 19/25 : EXPOSE 59993 05:06:04 ---> Running in 33e4f6fca2e2 05:06:04 Removing intermediate container 33e4f6fca2e2 05:06:04 ---> 0cd338975f15 05:06:04 Step 20/25 : EXPOSE 161 05:06:04 ---> Running in 59289423a2f6 05:06:04 Removing intermediate container 59289423a2f6 05:06:04 ---> 19e231e43eaa 05:06:04 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:06:05 ---> Running in 73a2ae6f723c 05:06:05 Removing intermediate container 73a2ae6f723c 05:06:05 ---> de3c3258c81c 05:06:05 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:06:05 ---> Running in bfb6db6ea0e8 05:06:05 Removing intermediate container bfb6db6ea0e8 05:06:05 ---> 8e835c73e17e 05:06:05 Step 23/25 : LABEL arch=amd64 05:06:05 ---> Running in 02659bfe97ca 05:06:05 Removing intermediate container 02659bfe97ca 05:06:05 ---> bd2dd55e5dc0 05:06:05 Step 24/25 : LABEL git_sha=7dd6deb7c2fbdec19c5544181b465eabd69939b1 05:06:05 ---> Running in 672135caab0a 05:06:05 Removing intermediate container 672135caab0a 05:06:05 ---> f17f7e64282e 05:06:05 Step 25/25 : LABEL version=0.0.0 05:06:05 ---> Running in 52138a743d45 05:06:05 Removing intermediate container 52138a743d45 05:06:05 ---> dec93f295815 05:06:05 [Warning] One or more build-args [ARCH] were not consumed 05:06:05 Successfully built dec93f295815 05:06:05 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:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:06 05:06:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:06 latest: Pulling from edgex-lftools-log-publisher 05:06:06 5eb5b503b376: Pulling fs layer 05:06:06 5c69ac0246d0: Pulling fs layer 05:06:06 ec43610c2a17: Pulling fs layer 05:06:06 3a2ae6a8a46f: Pulling fs layer 05:06:06 33b1e0a273af: Pulling fs layer 05:06:06 5d3b04190fa2: Pulling fs layer 05:06:06 2f39f015ded8: Pulling fs layer 05:06:06 33b1e0a273af: Waiting 05:06:06 5d3b04190fa2: Waiting 05:06:06 2f39f015ded8: Waiting 05:06:06 3a2ae6a8a46f: Waiting 05:06:06 5c69ac0246d0: Verifying Checksum 05:06:06 5c69ac0246d0: Download complete 05:06:06 3a2ae6a8a46f: Download complete 05:06:06 33b1e0a273af: Verifying Checksum 05:06:06 33b1e0a273af: Download complete 05:06:06 5d3b04190fa2: Verifying Checksum 05:06:06 5d3b04190fa2: Download complete 05:06:06 ec43610c2a17: Verifying Checksum 05:06:06 ec43610c2a17: Download complete 05:06:06 5eb5b503b376: Download complete 05:06:07 2f39f015ded8: Download complete 05:06:07 5eb5b503b376: Pull complete 05:06:07 5c69ac0246d0: Pull complete 05:06:08 ec43610c2a17: Pull complete 05:06:08 3a2ae6a8a46f: Pull complete 05:06:08 33b1e0a273af: Pull complete 05:06:08 5d3b04190fa2: Pull complete 05:06:12 2f39f015ded8: Pull complete 05:06:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:13 prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container 05:06:13 $ 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-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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:15 $ docker top 056338f6b8c7ac7266c7548ce18677cd9f2fbc6cea5bb8c4ec493453eaa54d21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:15 ---> job-cost.sh 05:06:15 lf-activate-venv: SKIPPING 05:06:15 INFO: No Stack... 05:06:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:16 INFO: Archiving Costs [Pipeline] sh 05:06:16 + cat /w/workspace/gexfoundry_device-snmp-go_PR-194/archives/cost.csv 05:06:16 + cut -d, -f6 [Pipeline] lock 05:06:16 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] 05:06:16 Resource [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] did not exist. Created. 05:06:16 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:17 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:17 Stashed 1 file(s) [Pipeline] } 05:06:17 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:17 $ docker stop --time=1 056338f6b8c7ac7266c7548ce18677cd9f2fbc6cea5bb8c4ec493453eaa54d21 05:06:18 $ docker rm -f 056338f6b8c7ac7266c7548ce18677cd9f2fbc6cea5bb8c4ec493453eaa54d21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6828 in /w/workspace/gexfoundry_device-snmp-go_PR-194 [Pipeline] { [Pipeline] ws 05:07:30 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:30 Selected Git installation does not exist. Using Default 05:07:30 The recommended git tool is: NONE 05:07:37 using credential edgex-jenkins-ssh 05:07:37 Cloning the remote Git repository 05:07:37 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:37 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:37 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:37 > git --version # timeout=10 05:07:37 > git --version # 'git version 2.25.1' 05:07:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:37 Verifying host key using known hosts file 05:07:37 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:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:40 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:40 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:40 Verifying host key using known hosts file 05:07:40 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:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:41 Merging remotes/origin/main commit 63e28895b9126edb3139522702b6e6ce592ce3b8 into PR head commit 7dd6deb7c2fbdec19c5544181b465eabd69939b1 05:07:41 Merge succeeded, producing 7dd6deb7c2fbdec19c5544181b465eabd69939b1 05:07:41 Checking out Revision 7dd6deb7c2fbdec19c5544181b465eabd69939b1 (PR-194) 05:07:42 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:42 > git --version # timeout=10 05:07:42 > git --version # 'git version 2.25.1' 05:07:42 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 05:07:41 > git config core.sparsecheckout # timeout=10 05:07:41 > git checkout -f 7dd6deb7c2fbdec19c5544181b465eabd69939b1 # timeout=10 05:07:41 > git remote # timeout=10 05:07:41 > git config --get remote.origin.url # timeout=10 05:07:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:41 Verifying host key using known hosts file 05:07:41 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:41 > git merge 63e28895b9126edb3139522702b6e6ce592ce3b8 # timeout=10 05:07:41 > git rev-parse HEAD^{commit} # timeout=10 05:07:41 > git config core.sparsecheckout # timeout=10 05:07:41 > git checkout -f 7dd6deb7c2fbdec19c5544181b465eabd69939b1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:43 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:43 Dload Upload Total Spent Left Speed 05:07:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh 05:07:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:44 + sudo tee /etc/docker/daemon.new 05:07:44 { 05:07:44 "registry-mirrors": [ 05:07:44 "https://nexus3.edgexfoundry.org:10001" 05:07:44 ], 05:07:44 "bip": "10.250.0.254/24", 05:07:44 "hosts": [ 05:07:44 "tcp://0.0.0.0:5555", 05:07:44 "unix:///var/run/docker.sock" 05:07:44 ], 05:07:44 "mtu": 1458, 05:07:44 "selinux-enabled": true, 05:07:44 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:44 } [Pipeline] sh 05:07:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:03 provisioning config files... 05:08:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config14628152387032777402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:03 ---> docker-login.sh 05:08:03 nexus3.edgexfoundry.org:10001 05:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:04 Configure a credential helper to remove this warning. See 05:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:04 05:08:04 Login Succeeded 05:08:04 nexus3.edgexfoundry.org:10002 05:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:05 Configure a credential helper to remove this warning. See 05:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:05 05:08:05 Login Succeeded 05:08:05 nexus3.edgexfoundry.org:10003 05:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:05 Configure a credential helper to remove this warning. See 05:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:05 05:08:05 Login Succeeded 05:08:05 nexus3.edgexfoundry.org:10004 05:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:06 Configure a credential helper to remove this warning. See 05:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:06 05:08:06 Login Succeeded 05:08:06 docker.io 05:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:06 Configure a credential helper to remove this warning. See 05:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:06 05:08:06 Login Succeeded 05:08:06 ---> docker-login.sh ends [Pipeline] } 05:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:06 ========================================================= 05:08:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:08:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:08 + 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:08:08 Sending build context to Docker daemon 2.848MB 05:08:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:08:08 Step 2/13 : FROM ${BASE} AS builder 05:08:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:08 b3c136eddcbf: Pulling fs layer 05:08:08 c0a3192eca97: Pulling fs layer 05:08:08 a050256f5b6f: Pulling fs layer 05:08:08 656be50a0ddc: Pulling fs layer 05:08:08 2bbca73fdf42: Pulling fs layer 05:08:08 f607e4fc86c3: Pulling fs layer 05:08:08 4d572c569a2c: Pulling fs layer 05:08:08 fcf976331f73: Pulling fs layer 05:08:08 656be50a0ddc: Waiting 05:08:08 2bbca73fdf42: Waiting 05:08:08 f607e4fc86c3: Waiting 05:08:08 4d572c569a2c: Waiting 05:08:08 fcf976331f73: Waiting 05:08:08 a050256f5b6f: Verifying Checksum 05:08:08 a050256f5b6f: Download complete 05:08:08 c0a3192eca97: Verifying Checksum 05:08:08 c0a3192eca97: Download complete 05:08:08 2bbca73fdf42: Verifying Checksum 05:08:08 2bbca73fdf42: Download complete 05:08:08 f607e4fc86c3: Verifying Checksum 05:08:08 f607e4fc86c3: Download complete 05:08:08 b3c136eddcbf: Download complete 05:08:09 b3c136eddcbf: Pull complete 05:08:10 fcf976331f73: Verifying Checksum 05:08:10 fcf976331f73: Download complete 05:08:10 c0a3192eca97: Pull complete 05:08:10 a050256f5b6f: Pull complete 05:08:11 4d572c569a2c: Verifying Checksum 05:08:11 4d572c569a2c: Download complete 05:08:12 656be50a0ddc: Verifying Checksum 05:08:12 656be50a0ddc: Download complete 05:08:27 656be50a0ddc: Pull complete 05:08:27 2bbca73fdf42: Pull complete 05:08:27 f607e4fc86c3: Pull complete 05:08:33 4d572c569a2c: Pull complete 05:08:35 fcf976331f73: Pull complete 05:08:35 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 05:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:08:35 ---> 3970a7415f9e 05:08:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:08:36 ---> Running in 7a15e43e4892 05:08:36 Removing intermediate container 7a15e43e4892 05:08:36 ---> 3e35ea9aebf6 05:08:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:36 ---> Running in 7cb60b6dddeb 05:08:36 Removing intermediate container 7cb60b6dddeb 05:08:36 ---> a897fb4faf8c 05:08:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:37 ---> Running in 815e5d8e8f5b 05:08:37 Removing intermediate container 815e5d8e8f5b 05:08:37 ---> 826e74f26e6c 05:08:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:08:37 ---> Running in 29565819fbfd 05:08:37 Removing intermediate container 29565819fbfd 05:08:37 ---> cbe64ef9e523 05:08:37 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:37 ---> Running in a2e059b36c77 05:08:39 Removing intermediate container a2e059b36c77 05:08:39 ---> 12e41d5be1a4 05:08:39 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:40 ---> Running in bdaca35ef019 05:08:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:08:43 (2/4) Installing libedit (20210910.3.1-r0) 05:08:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:08:43 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:08:43 Executing busybox-1.35.0-r13.trigger 05:08:43 OK: 226 MiB in 55 packages 05:08:44 Removing intermediate container bdaca35ef019 05:08:44 ---> 3f3366d77eaf 05:08:44 Step 9/13 : WORKDIR /device-snmp-go 05:08:45 ---> Running in e1e1e101838b 05:08:45 Removing intermediate container e1e1e101838b 05:08:45 ---> cf18f0a52e6d 05:08:45 Step 10/13 : COPY go.mod vendor* ./ 05:08:45 ---> 05efa97ae08d 05:08:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:45 ---> Running in ff4c07635c95 05:09:42 Removing intermediate container ff4c07635c95 05:09:42 ---> c278af926e82 05:09:42 Step 12/13 : COPY . . 05:09:42 ---> 72475e0b621f 05:09:42 Step 13/13 : RUN ${MAKE} 05:09:42 ---> Running in 42d6eca54ffd 05:09:42 noop 05:09:42 Removing intermediate container 42d6eca54ffd 05:09:42 ---> ac77b4399b75 05:09:42 Successfully built ac77b4399b75 05:09:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:42 + docker inspect -f . ci-base-image-arm64 05:09:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:43 prd-ubuntu20.04-docker-arm64-4c-16g-6828 does not seem to be running inside a container 05:09:43 $ 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:44 $ docker top ebf65e730f087b286e34a9a09cd9ee042916d16b6d258190d4f21cee648c0062 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:45 + go version 05:09:45 go version go1.18.3 linux/arm64 [Pipeline] } 05:09:45 $ docker stop --time=1 ebf65e730f087b286e34a9a09cd9ee042916d16b6d258190d4f21cee648c0062 05:09:47 $ docker rm -f ebf65e730f087b286e34a9a09cd9ee042916d16b6d258190d4f21cee648c0062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:48 + docker inspect -f . ci-base-image-arm64 05:09:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:48 prd-ubuntu20.04-docker-arm64-4c-16g-6828 does not seem to be running inside a container 05:09:48 $ 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:49 $ docker top d49bdeb64383f2a2aaacfe4e9346164467cbc743aa2280d46122ec85a45126c6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:50 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:09:51 + make test 05:09:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:11:45 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:11:45 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.068s coverage: 0.0% of statements 05:11:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:11:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:12:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:07 ./bin/test-attribution-txt.sh [Pipeline] echo 05:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:12:07 $ docker stop --time=1 d49bdeb64383f2a2aaacfe4e9346164467cbc743aa2280d46122ec85a45126c6 05:12:09 $ docker rm -f d49bdeb64383f2a2aaacfe4e9346164467cbc743aa2280d46122ec85a45126c6 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:10 Warning: overwriting stash ‘coverage-report’ 05:12:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:12 + ls -al . 05:12:12 total 168 05:12:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:09 . 05:12:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:07 .. 05:12:12 -rw-rw-r-- 1 jenkins jenkins 6 Oct 3 05:07 .dockerignore 05:12:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:07 .git 05:12:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 .github 05:12:12 -rw-rw-r-- 1 jenkins jenkins 328 Oct 3 05:07 .gitignore 05:12:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:07 .golangci.yml 05:12:12 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 3 05:07 Attribution.txt 05:12:12 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 3 05:07 CHANGELOG.md 05:12:12 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 3 05:07 Dockerfile 05:12:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:07 GOVERNANCE.md 05:12:12 -rw-rw-r-- 1 jenkins jenkins 656 Oct 3 05:07 Jenkinsfile 05:12:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:07 LICENSE 05:12:12 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 3 05:07 Makefile 05:12:12 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 05:07 OWNERS.md 05:12:12 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 3 05:07 README.md 05:12:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION 05:12:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:07 bin 05:12:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 cmd 05:12:12 -rw-r--r-- 1 jenkins jenkins 7631 Oct 3 05:11 coverage.out 05:12:12 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 3 05:07 go.mod 05:12:12 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 3 05:07 go.sum 05:12:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:07 internal 05:12:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:07 snap 05:12:12 -rw-rw-r-- 1 jenkins jenkins 228 Oct 3 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:12 + 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=7dd6deb7c2fbdec19c5544181b465eabd69939b1 --label arch=arm64 --label version=0.0.0 . 05:12:13 Sending build context to Docker daemon 2.856MB 05:12:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:12:13 Step 2/25 : FROM ${BASE} AS builder 05:12:13 ---> ac77b4399b75 05:12:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:12:13 ---> Running in 1bb4d3be1757 05:12:14 Removing intermediate container 1bb4d3be1757 05:12:14 ---> eb3c01646269 05:12:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:12:14 ---> Running in 1792e6efebfb 05:12:14 Removing intermediate container 1792e6efebfb 05:12:14 ---> 05c6bc8e7daf 05:12:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:12:14 ---> Running in e9fac7b76376 05:12:15 Removing intermediate container e9fac7b76376 05:12:15 ---> e09f30fdb2d5 05:12:15 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:12:15 ---> Running in 1ef31e6fbbb8 05:12:15 Removing intermediate container 1ef31e6fbbb8 05:12:15 ---> 4792b5f9b118 05:12:15 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:15 ---> Running in 91be342987bf 05:12:17 Removing intermediate container 91be342987bf 05:12:17 ---> 681379883ee5 05:12:17 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:12:17 ---> Running in 6839663cf0f8 05:12:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:12:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:12:21 OK: 226 MiB in 55 packages 05:12:22 Removing intermediate container 6839663cf0f8 05:12:22 ---> 0f06cc3c0b70 05:12:22 Step 9/25 : WORKDIR /device-snmp-go 05:12:22 ---> Running in 4e602a23e158 05:12:23 Removing intermediate container 4e602a23e158 05:12:23 ---> 75b7df4713f1 05:12:23 Step 10/25 : COPY go.mod vendor* ./ 05:12:23 ---> 9b2a0ea84089 05:12:23 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:23 ---> Running in d61e794d6474 05:12:25 Removing intermediate container d61e794d6474 05:12:25 ---> 712e3c481ad5 05:12:25 Step 12/25 : COPY . . 05:12:27 ---> e942c94563e8 05:12:27 Step 13/25 : RUN ${MAKE} 05:12:27 ---> Running in 6d55bf878b70 05:12:28 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.34 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:15:04 Removing intermediate container 6d55bf878b70 05:15:04 ---> f85aa0c515de 05:15:04 Step 14/25 : FROM alpine:3.16 05:15:04 3.16: Pulling from library/alpine 05:15:04 9b18e9b68314: Pulling fs layer 05:15:04 9b18e9b68314: Verifying Checksum 05:15:04 9b18e9b68314: Download complete 05:15:04 9b18e9b68314: Pull complete 05:15:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:15:04 Status: Downloaded newer image for alpine:3.16 05:15:04 ---> a6215f271958 05:15:04 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:15:04 ---> Running in 7f1bfbd0a2b5 05:15:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:15:06 (1/6) Installing dumb-init (1.2.5-r1) 05:15:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:15:06 (3/6) Installing libsodium (1.0.18-r0) 05:15:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:15:06 (5/6) Installing libzmq (4.3.4-r0) 05:15:06 (6/6) Installing zeromq (4.3.4-r0) 05:15:06 Executing busybox-1.35.0-r17.trigger 05:15:06 OK: 8 MiB in 20 packages 05:15:07 Removing intermediate container 7f1bfbd0a2b5 05:15:07 ---> 00adc2146c1b 05:15:07 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:15:08 ---> 15b124941e3a 05:15:08 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:15:09 ---> d02e9e886276 05:15:09 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:15:09 ---> c56e6943d101 05:15:09 Step 19/25 : EXPOSE 59993 05:15:09 ---> Running in 0c4ff6467768 05:15:09 Removing intermediate container 0c4ff6467768 05:15:09 ---> b418cc99f8df 05:15:09 Step 20/25 : EXPOSE 161 05:15:09 ---> Running in ec9f9cb34778 05:15:10 Removing intermediate container ec9f9cb34778 05:15:10 ---> f883a7fb733c 05:15:10 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:15:10 ---> Running in df7ccb20fb8f 05:15:10 Removing intermediate container df7ccb20fb8f 05:15:10 ---> 3df1661e6a4e 05:15:10 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:15:10 ---> Running in 24a987a7038a 05:15:11 Removing intermediate container 24a987a7038a 05:15:11 ---> c8cb67f70ea3 05:15:11 Step 23/25 : LABEL arch=arm64 05:15:11 ---> Running in 5181e2a77fe3 05:15:11 Removing intermediate container 5181e2a77fe3 05:15:11 ---> 3a60a87380e8 05:15:11 Step 24/25 : LABEL git_sha=7dd6deb7c2fbdec19c5544181b465eabd69939b1 05:15:11 ---> Running in f842c4c78223 05:15:12 Removing intermediate container f842c4c78223 05:15:12 ---> 3442965d8a38 05:15:12 Step 25/25 : LABEL version=0.0.0 05:15:12 ---> Running in 7c9e72fef1ba 05:15:12 Removing intermediate container 7c9e72fef1ba 05:15:12 ---> 95fef7bc9776 05:15:12 [Warning] One or more build-args [ARCH] were not consumed 05:15:12 Successfully built 95fef7bc9776 05:15:12 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:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:13 05:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:13 arm64: Pulling from edgex-lftools-log-publisher 05:15:13 8998bd30e6a1: Pulling fs layer 05:15:13 04944245beec: Pulling fs layer 05:15:13 699f458cf7ca: Pulling fs layer 05:15:13 765212b225bb: Pulling fs layer 05:15:13 f23df028b6ca: Pulling fs layer 05:15:13 d65c8cfc05b1: Pulling fs layer 05:15:13 2437ff75d9bd: Pulling fs layer 05:15:13 765212b225bb: Waiting 05:15:13 f23df028b6ca: Waiting 05:15:13 d65c8cfc05b1: Waiting 05:15:13 2437ff75d9bd: Waiting 05:15:14 04944245beec: Verifying Checksum 05:15:14 04944245beec: Download complete 05:15:14 765212b225bb: Verifying Checksum 05:15:14 765212b225bb: Download complete 05:15:14 f23df028b6ca: Verifying Checksum 05:15:14 f23df028b6ca: Download complete 05:15:14 d65c8cfc05b1: Verifying Checksum 05:15:14 d65c8cfc05b1: Download complete 05:15:14 699f458cf7ca: Verifying Checksum 05:15:14 699f458cf7ca: Download complete 05:15:14 8998bd30e6a1: Verifying Checksum 05:15:14 8998bd30e6a1: Download complete 05:15:17 2437ff75d9bd: Verifying Checksum 05:15:17 2437ff75d9bd: Download complete 05:15:19 8998bd30e6a1: Pull complete 05:15:19 04944245beec: Pull complete 05:15:20 699f458cf7ca: Pull complete 05:15:21 765212b225bb: Pull complete 05:15:22 f23df028b6ca: Pull complete 05:15:22 d65c8cfc05b1: Pull complete 05:15:37 2437ff75d9bd: Pull complete 05:15:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:38 prd-ubuntu20.04-docker-arm64-4c-16g-6828 does not seem to be running inside a container 05:15:38 $ 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:15:41 $ docker top ef032a26eea5a95ac0460e867a6c17f5629cf9f3ba5e96ec3a4850d26b06f2be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:42 ---> job-cost.sh 05:15:42 lf-activate-venv: SKIPPING 05:15:42 INFO: No Stack... 05:15:42 INFO: Retrieving Pricing Info for: v3-standard-4 05:15:43 INFO: Archiving Costs [Pipeline] sh 05:15:43 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:15:43 + cut -d, -f6 [Pipeline] lock 05:15:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] 05:15:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] did not exist. Created. 05:15:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:44 /w/workspace/device-snmp-go/1@tmp/durable-39f6fbdb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:15:45 + echo total: 0.10999999940395355 [Pipeline] stash 05:15:45 Warning: overwriting stash ‘stack-cost’ 05:15:45 Stashed 1 file(s) [Pipeline] } 05:15:45 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:45 $ docker stop --time=1 ef032a26eea5a95ac0460e867a6c17f5629cf9f3ba5e96ec3a4850d26b06f2be 05:15:46 $ docker rm -f ef032a26eea5a95ac0460e867a6c17f5629cf9f3ba5e96ec3a4850d26b06f2be [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:15:47 provisioning config files... 05:15:47 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/config6995501039553582308tmp [Pipeline] { [Pipeline] sh 05:15:48 + set +x 05:15:48 + curl -s https://codecov.io/bash 05:15:48 + bash -s -- 05:15:48 05:15:48 _____ _ 05:15:48 / ____| | | 05:15:48 | | ___ __| | ___ ___ _____ __ 05:15:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:15:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:15:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:15:48 Bash-1.0.6 05:15:48 05:15:48 05:15:48 ==> git version 2.25.1 found 05:15: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:15:48 Release-Date: 2020-01-08 05:15: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:15:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:15:48 ==> Jenkins CI detected. 05:15:48 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-194 05:15:48 project root: . 05:15:48 --> token set from env 05:15:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:15:48 ==> Running gcov in . (disable via -X gcov) 05:15:48 ==> Python coveragepy not found 05:15:48 ==> Searching for coverage reports in: 05:15:48 + . 05:15:48 -> Found 1 reports 05:15:48 ==> Detecting git/mercurial file structure 05:15:48 ==> Reading reports 05:15:48 + ./coverage.out bytes=7631 05:15:48 ==> Appending adjustments 05:15:48 https://docs.codecov.io/docs/fixing-reports 05:15:48 + Found adjustments 05:15:48 ==> Gzipping contents 05:15:48 4.0K /tmp/codecov.cnFt1p.gz 05:15:48 ==> Uploading reports 05:15:48 url: https://codecov.io 05:15:48 query: branch=PR-194&commit=7dd6deb7c2fbdec19c5544181b465eabd69939b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=194&job=&cmd_args= 05:15:48 -> Pinging Codecov 05:15: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-194&commit=7dd6deb7c2fbdec19c5544181b465eabd69939b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=194&job=&cmd_args= 05:15:48 -> Uploading to 05:15:48 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/6C56EA5C29638FB4528AC87E60AF5AE0/7dd6deb7c2fbdec19c5544181b465eabd69939b1/adbbeee7-f811-4ef4-8555-655db23e3446.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T051548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9604102e71467846d2fdec2d78563711ddcc31663212e4b30607eea714276cd9 05:15:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:48 Dload Upload Total Spent Left Speed 05:15:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7600 --:--:-- --:--:-- --:--:-- 7563 100 1543 0 0 100 1543 0 7244 --:--:-- --:--:-- --:--:-- 7210 05:15:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/7dd6deb7c2fbdec19c5544181b465eabd69939b1 [Pipeline] } 05:15: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:15:50 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-194/archives ] 05:15:50 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-194/archives 05:15:50 total 16 05:15:50 drwxr-xr-x 3 root root 4096 Oct 3 05:06 . 05:15:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:06 .. 05:15:50 drwxr-xr-x 2 root root 4096 Oct 3 05:06 cost 05:15:50 -rw-r--r-- 1 root root 86 Oct 3 05:06 cost.csv 05:15:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-194/archives 05:15:50 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-194/archives 05:15:50 total 16 05:15:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:06 . 05:15:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:06 .. 05:15:50 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:06 cost 05:15:50 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:15:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:51 ---> package-listing.sh 05:15:51 ++ facter osfamily 05:15:51 ++ tr '[:upper:]' '[:lower:]' 05:15:52 + OS_FAMILY=debian 05:15:52 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-194 05:15:52 + START_PACKAGES=/tmp/packages_start.txt 05:15:52 + END_PACKAGES=/tmp/packages_end.txt 05:15:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:52 + PACKAGES=/tmp/packages_start.txt 05:15:52 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-194 ']' 05:15:52 + PACKAGES=/tmp/packages_end.txt 05:15:52 + case "${OS_FAMILY}" in 05:15:52 + dpkg -l 05:15:52 + grep '^ii' 05:15:52 + '[' -f /tmp/packages_start.txt ']' 05:15:52 + '[' -f /tmp/packages_end.txt ']' 05:15:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:52 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-194 ']' 05:15:52 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-194/archives/ 05:15:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-194/archives/ [Pipeline] echo 05:15: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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:15:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:53 prd-ubuntu20.04-docker-8c-8g-6821 does not seem to be running inside a container 05:15: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-194/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-194 -v /w/workspace/gexfoundry_device-snmp-go_PR-194:/w/workspace/gexfoundry_device-snmp-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-194@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-194@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:15:53 $ docker top 8fd61ae3380b8d3704439918ae9dd672033647b3c2255f3d4ce44d0ec79e8cae -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:53 + touch /tmp/pre-build-complete [Pipeline] sh 05:15:54 + mkdir -p /var/log/sysstat [Pipeline] sh 05:15:54 + ls /var/log/sa-host 05:15:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:54 provisioning config files... 05:15:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-194@tmp/config15079197719313967347tmp [Pipeline] { [Pipeline] echo 05:15:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:54 ---> create-netrc.sh [Pipeline] } 05:15:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:15:55 ---> python-tools-install.sh [Pipeline] echo 05:15:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:15:55 ---> sudo-logs.sh 05:15:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:15:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:15:56 ---> job-cost.sh 05:15:56 lf-activate-venv: SKIPPING 05:15:56 DEBUG: total: 0.2199999988079071 05:15:56 INFO: Retrieving Stack Cost... 05:15:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:56 INFO: Archiving Costs [Pipeline] echo 05:15:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:15:57 ---> logs-deploy.sh 05:15:57 lf-activate-venv: SKIPPING 05:15:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-194/1 05:15:57 INFO: archiving workspace using pattern(s): 05:15:58 Archives upload complete. 05:15:58 INFO: archiving logs to Nexus