Pull request #222 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f25cd309e6291d64bf4c650e8e6c2981ce401c6+2bd6e5dae59222faf073cfb9822f90f2048c0bba (37714f020eea47a6a5013fcf59037f7bcd55e3c3) 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-ssh782079267524145942.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4652763687367637364.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-222/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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1792452855420847242.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15360295582768446906.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5565480335694466186.key > 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-222/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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7050922073361481888.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4089 in /w/workspace/gexfoundry_device-snmp-go_PR-222 [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-222 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 Merge succeeded, producing 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 Checking out Revision 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 (PR-222) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:50 ========================================================= 05:03:50 EdgeX Global Pipelines Version Info 05:03:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:50 ------------------- 05:03:50 stable info: 05:03:50 ------------------- 05:03:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:03:50 Message: update stable to v1.0.244 05:03:51 ------------------- 05:03:51 experimental info: 05:03:51 ------------------- 05:03:51 Commited By: **** collab-it+edgex@linuxfoundation.org 05:03:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:03:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo 05:03:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo 05:03:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 [Pipeline] echo 05:03:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f25cd3 [Pipeline] echo 05:03:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:53 provisioning config files... 05:03:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp/config8029722329594021573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:53 ---> docker-login.sh 05:03:53 nexus3.edgexfoundry.org:10001 05:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:53 Configure a credential helper to remove this warning. See 05:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:53 05:03:53 Login Succeeded 05:03:53 nexus3.edgexfoundry.org:10002 05:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:53 Configure a credential helper to remove this warning. See 05:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:53 05:03:53 Login Succeeded 05:03:53 nexus3.edgexfoundry.org:10003 05:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:54 Configure a credential helper to remove this warning. See 05:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:54 05:03:54 Login Succeeded 05:03:54 nexus3.edgexfoundry.org:10004 05:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:54 Configure a credential helper to remove this warning. See 05:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:54 05:03:54 Login Succeeded 05:03:54 docker.io 05:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:54 Configure a credential helper to remove this warning. See 05:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:54 05:03:54 Login Succeeded 05:03:54 ---> docker-login.sh ends [Pipeline] } 05:03:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:55 + git rev-list -1 --merges 6f25cd309e6291d64bf4c650e8e6c2981ce401c6~1..6f25cd309e6291d64bf4c650e8e6c2981ce401c6 [Pipeline] echo 05:03:55 -----------> git rev-list -1 --merges 6f25cd309e6291d64bf4c650e8e6c2981ce401c6~1..6f25cd309e6291d64bf4c650e8e6c2981ce401c6 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 [false] [Pipeline] sh 05:03:55 + git log --format=format:%s -1 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 [Pipeline] echo 05:03:55 ========================================================= 05:03:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:55 + git log --format=format:%s -1 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 [Pipeline] echo 05:03:55 [semverPrep] GIT_COMMIT: 6f25cd309e6291d64bf4c650e8e6c2981ce401c6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 05:03:55 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:56 + grep -v github /etc/ssh/ssh_known_hosts 05:03:56 + [ -e /tmp/ssh_known_hosts ] 05:03:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:56 + + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:56 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:03:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:56 05:03:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:57 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:57 b85a868b505f: Pulling fs layer 05:03:57 e2be974225ed: Pulling fs layer 05:03:57 339a4e72a1f5: Pulling fs layer 05:03:57 988bab9f4d93: Pulling fs layer 05:03:57 1469e6f7b9e6: Pulling fs layer 05:03:57 eaf3925da568: Pulling fs layer 05:03:57 bab4dde63d76: Pulling fs layer 05:03:57 bde34c3a00c8: Pulling fs layer 05:03:57 b352a97aabf1: Pulling fs layer 05:03:57 4872d77fe225: Pulling fs layer 05:03:57 5851b861e8e6: Pulling fs layer 05:03:57 1469e6f7b9e6: Waiting 05:03:57 bde34c3a00c8: Waiting 05:03:57 eaf3925da568: Waiting 05:03:57 bab4dde63d76: Waiting 05:03:57 b352a97aabf1: Waiting 05:03:57 4872d77fe225: Waiting 05:03:57 5851b861e8e6: Waiting 05:03:57 988bab9f4d93: Waiting 05:03:57 e2be974225ed: Verifying Checksum 05:03:57 e2be974225ed: Download complete 05:03:57 988bab9f4d93: Verifying Checksum 05:03:57 988bab9f4d93: Download complete 05:03:57 1469e6f7b9e6: Verifying Checksum 05:03:57 1469e6f7b9e6: Download complete 05:03:57 339a4e72a1f5: Verifying Checksum 05:03:57 339a4e72a1f5: Download complete 05:03:57 eaf3925da568: Download complete 05:03:57 bde34c3a00c8: Verifying Checksum 05:03:57 bde34c3a00c8: Download complete 05:03:57 b352a97aabf1: Download complete 05:03:57 4872d77fe225: Download complete 05:03:57 5851b861e8e6: Verifying Checksum 05:03:57 5851b861e8e6: Download complete 05:03:57 b85a868b505f: Verifying Checksum 05:03:57 b85a868b505f: Download complete 05:03:57 bab4dde63d76: Verifying Checksum 05:03:57 bab4dde63d76: Download complete 05:03:58 b85a868b505f: Pull complete 05:03:58 e2be974225ed: Pull complete 05:03:59 339a4e72a1f5: Pull complete 05:03:59 988bab9f4d93: Pull complete 05:03:59 1469e6f7b9e6: Pull complete 05:04:00 eaf3925da568: Pull complete 05:04:01 bab4dde63d76: Pull complete 05:04:01 bde34c3a00c8: Pull complete 05:04:01 b352a97aabf1: Pull complete 05:04:01 4872d77fe225: Pull complete 05:04:01 5851b861e8e6: Pull complete 05:04:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:02 prd-ubuntu20.04-docker-8c-8g-4089 does not seem to be running inside a container 05:04:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-222 -v /w/workspace/gexfoundry_device-snmp-go_PR-222:/w/workspace/gexfoundry_device-snmp-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:04:05 $ docker top 197a6c3cf6ed47b61bdc64745d29e343e054eead64ee4b0db1ca01d22e74cc7d -eo pid,comm 05:04:05 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:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:05 [ssh-agent] Looking for ssh-agent implementation... 05:04:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:05 $ docker exec 197a6c3cf6ed47b61bdc64745d29e343e054eead64ee4b0db1ca01d22e74cc7d ssh-agent 05:04:05 SSH_AUTH_SOCK=/tmp/ssh-TX7Yy73NkUzJ/agent.33 05:04:05 SSH_AGENT_PID=39 05:04:05 Running ssh-add (command line suppressed) 05:04:05 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-222@tmp/private_key_16208813889428000014.key (/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp/private_key_16208813889428000014.key) 05:04:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:06 + git tag --points-at HEAD [Pipeline] } 05:04:06 $ docker exec --env ******** --env ******** 197a6c3cf6ed47b61bdc64745d29e343e054eead64ee4b0db1ca01d22e74cc7d ssh-agent -k 05:04:06 unset SSH_AUTH_SOCK; 05:04:06 unset SSH_AGENT_PID; 05:04:06 echo Agent pid 39 killed; 05:04:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:06 [ssh-agent] Looking for ssh-agent implementation... 05:04:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:06 $ docker exec 197a6c3cf6ed47b61bdc64745d29e343e054eead64ee4b0db1ca01d22e74cc7d ssh-agent 05:04:06 SSH_AUTH_SOCK=/tmp/ssh-PPzFi42j1Er7/agent.71 05:04:06 SSH_AGENT_PID=78 05:04:06 Running ssh-add (command line suppressed) 05:04:06 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-222@tmp/private_key_10743246374492684771.key (/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp/private_key_10743246374492684771.key) 05:04:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:07 + git semver init 05:04:07 2023-01-31 05:04:07,184 [run_init] DEBUG init version:0.0.0 force:False 05:04:07 2023-01-31 05:04:07,184 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-222/.semver 05:04:07 2023-01-31 05:04:07,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-222/.semver 05:04:07 2023-01-31 05:04:07,185 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-222, universal_newlines=False, shell=None, istream=None) 05:04:08 2023-01-31 05:04:08,005 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-222/.git/info/exclude 05:04:08 2023-01-31 05:04:08,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-222/.semver/PR-222 with force:False 05:04:08 2023-01-31 05:04:08,006 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-222/.semver/PR-222 05:04:08 2023-01-31 05:04:08,010 [execute] INFO git cat-file --batch-check 05:04:08 2023-01-31 05:04:08,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 05:04:08 2023-01-31 05:04:08,016 [execute] INFO git cat-file --batch 05:04:08 2023-01-31 05:04:08,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 05:04:08 2023-01-31 05:04:08,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-222/.semver/PR-222 05:04:08 0.0.0 [Pipeline] } 05:04:08 $ docker exec --env ******** --env ******** 197a6c3cf6ed47b61bdc64745d29e343e054eead64ee4b0db1ca01d22e74cc7d ssh-agent -k 05:04:08 unset SSH_AUTH_SOCK; 05:04:08 unset SSH_AGENT_PID; 05:04:08 echo Agent pid 78 killed; 05:04:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:08 + git semver [Pipeline] } 05:04:09 $ docker stop --time=1 197a6c3cf6ed47b61bdc64745d29e343e054eead64ee4b0db1ca01d22e74cc7d 05:04:10 $ docker rm -f --volumes 197a6c3cf6ed47b61bdc64745d29e343e054eead64ee4b0db1ca01d22e74cc7d [Pipeline] // withDockerContainer [Pipeline] sh 05:04:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:11 Stashed 1 file(s) [Pipeline] echo 05:04:11 [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:11 provisioning config files... 05:04:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp/config18408407635444107509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:12 ---> docker-login.sh 05:04:12 nexus3.edgexfoundry.org:10001 05:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:12 Configure a credential helper to remove this warning. See 05:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:12 05:04:12 Login Succeeded 05:04:12 nexus3.edgexfoundry.org:10002 05:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:12 Configure a credential helper to remove this warning. See 05:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:12 05:04:12 Login Succeeded 05:04:12 nexus3.edgexfoundry.org:10003 05:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:12 Configure a credential helper to remove this warning. See 05:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:12 05:04:12 Login Succeeded 05:04:12 nexus3.edgexfoundry.org:10004 05:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:12 Configure a credential helper to remove this warning. See 05:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:12 05:04:12 Login Succeeded 05:04:12 docker.io 05:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:12 Configure a credential helper to remove this warning. See 05:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:12 05:04:12 Login Succeeded 05:04:12 ---> docker-login.sh ends [Pipeline] } 05:04:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:12 ========================================================= 05:04:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:13 + 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:13 Sending build context to Docker daemon 5.681MB 05:04:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:04:13 Step 2/12 : FROM ${BASE} AS builder 05:04:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:13 213ec9aee27d: Pulling fs layer 05:04:13 4583459ba037: Pulling fs layer 05:04:13 93c1e223e6f2: Pulling fs layer 05:04:13 53926ce57604: Pulling fs layer 05:04:13 21b2b0c7a3f4: Pulling fs layer 05:04:13 22ff95d597cd: Pulling fs layer 05:04:13 12d6caf4c0d1: Pulling fs layer 05:04:13 96b7cbca73a9: Pulling fs layer 05:04:13 a7acece74701: Pulling fs layer 05:04:13 53926ce57604: Waiting 05:04:13 96b7cbca73a9: Waiting 05:04:13 a7acece74701: Waiting 05:04:13 22ff95d597cd: Waiting 05:04:13 21b2b0c7a3f4: Waiting 05:04:13 93c1e223e6f2: Verifying Checksum 05:04:13 93c1e223e6f2: Download complete 05:04:13 4583459ba037: Download complete 05:04:13 21b2b0c7a3f4: Verifying Checksum 05:04:13 21b2b0c7a3f4: Download complete 05:04:13 22ff95d597cd: Verifying Checksum 05:04:13 22ff95d597cd: Download complete 05:04:13 213ec9aee27d: Verifying Checksum 05:04:13 12d6caf4c0d1: Verifying Checksum 05:04:13 12d6caf4c0d1: Download complete 05:04:13 213ec9aee27d: Pull complete 05:04:13 4583459ba037: Pull complete 05:04:13 93c1e223e6f2: Pull complete 05:04:15 a7acece74701: Verifying Checksum 05:04:15 a7acece74701: Download complete 05:04:15 53926ce57604: Verifying Checksum 05:04:15 53926ce57604: Download complete 05:04:15 96b7cbca73a9: Verifying Checksum 05:04:15 96b7cbca73a9: Download complete 05:04:19 53926ce57604: Pull complete 05:04:19 21b2b0c7a3f4: Pull complete 05:04:19 22ff95d597cd: Pull complete 05:04:19 12d6caf4c0d1: Pull complete 05:04:21 96b7cbca73a9: Pull complete 05:04:22 a7acece74701: Pull complete 05:04:22 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:22 ---> db6d94c90886 05:04:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:04:26 ---> Running in aa3ac0d3b897 05:04:26 Removing intermediate container aa3ac0d3b897 05:04:26 ---> 897d1ae095c5 05:04:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:26 ---> Running in db1ee10ee825 05:04:26 Removing intermediate container db1ee10ee825 05:04:26 ---> 2be8253c8f23 05:04:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:04:26 ---> Running in c0852193fb70 05:04:26 Removing intermediate container c0852193fb70 05:04:26 ---> 374d09703b36 05:04:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:04:26 ---> Running in 0cfb501f3b08 05:04:26 Removing intermediate container 0cfb501f3b08 05:04:26 ---> 79ff87998337 05:04:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:26 ---> Running in aa8de6a08340 05:04:26 Still waiting to schedule task 05:04:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4086’ 05:04:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:27 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:04:27 (2/4) Installing libedit (20210910.3.1-r0) 05:04:27 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:04:27 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:04:27 Executing busybox-1.35.0-r17.trigger 05:04:27 OK: 216 MiB in 55 packages 05:04:27 Removing intermediate container aa8de6a08340 05:04:27 ---> 603c960a8a64 05:04:27 Step 8/12 : WORKDIR /device-snmp-go 05:04:27 ---> Running in a8ba33ef3a42 05:04:27 Removing intermediate container a8ba33ef3a42 05:04:27 ---> 80fe53d41b6b 05:04:27 Step 9/12 : COPY go.mod vendor* ./ 05:04:28 ---> bbc12ec31230 05:04:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:28 ---> Running in 778cab625dd1 05:04:54 Removing intermediate container 778cab625dd1 05:04:54 ---> 641ed6995a74 05:04:54 Step 11/12 : COPY . . 05:04:54 ---> 61686d21a0af 05:04:54 Step 12/12 : RUN ${MAKE} 05:04:54 ---> Running in 6da59f244bbc 05:04:54 noop 05:04:54 Removing intermediate container 6da59f244bbc 05:04:54 ---> bf2918afc3c3 05:04:54 Successfully built bf2918afc3c3 05:04:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:55 + docker inspect -f . ci-base-image-x86_64 05:04:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:55 prd-ubuntu20.04-docker-8c-8g-4089 does not seem to be running inside a container 05:04:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-222 -v /w/workspace/gexfoundry_device-snmp-go_PR-222:/w/workspace/gexfoundry_device-snmp-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:55 $ docker top e4257c9a6a9db73fa143fde0491c274c61ae63aae1351ed9581d4a856edf56e5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:56 + go version 05:04:56 go version go1.18.7 linux/amd64 [Pipeline] } 05:04:56 $ docker stop --time=1 e4257c9a6a9db73fa143fde0491c274c61ae63aae1351ed9581d4a856edf56e5 05:04:57 $ docker rm -f --volumes e4257c9a6a9db73fa143fde0491c274c61ae63aae1351ed9581d4a856edf56e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:58 + docker inspect -f . ci-base-image-x86_64 05:04:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:58 prd-ubuntu20.04-docker-8c-8g-4089 does not seem to be running inside a container 05:04:58 $ 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-222 -v /w/workspace/gexfoundry_device-snmp-go_PR-222:/w/workspace/gexfoundry_device-snmp-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:58 $ docker top 21afda44e4bf4c37e0644c24e1c9893ca6467037e1b328b1f9fb5ad120ee1968 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:59 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-222 [Pipeline] fileExists [Pipeline] sh 05:04:59 + make test 05:04:59 go test ./... -coverprofile=coverage.out 05:05:00 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:06 # github.com/edgexfoundry/go-mod-messaging/v3/clients 05:05:06 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: 05:05:06 *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) 05:05:06 have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 05:05:06 want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 05:05:06 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo 05:05:07 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 05:05:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes 05:05:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo 05:05:07 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 05:05:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes 05:05:07 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes 05:05:08 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.017s coverage: 0.0% of statements 05:05:08 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 05:05:08 $ docker stop --time=1 21afda44e4bf4c37e0644c24e1c9893ca6467037e1b328b1f9fb5ad120ee1968 05:05:10 $ docker rm -f --volumes 21afda44e4bf4c37e0644c24e1c9893ca6467037e1b328b1f9fb5ad120ee1968 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:11 05:05:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:12 latest: Pulling from edgex-lftools-log-publisher 05:05:12 5eb5b503b376: Pulling fs layer 05:05:12 5c69ac0246d0: Pulling fs layer 05:05:12 ec43610c2a17: Pulling fs layer 05:05:12 3a2ae6a8a46f: Pulling fs layer 05:05:12 33b1e0a273af: Pulling fs layer 05:05:12 5d3b04190fa2: Pulling fs layer 05:05:12 2f39f015ded8: Pulling fs layer 05:05:12 33b1e0a273af: Waiting 05:05:12 3a2ae6a8a46f: Waiting 05:05:12 5d3b04190fa2: Waiting 05:05:12 2f39f015ded8: Waiting 05:05:12 5c69ac0246d0: Verifying Checksum 05:05:12 5c69ac0246d0: Download complete 05:05:12 3a2ae6a8a46f: Verifying Checksum 05:05:12 3a2ae6a8a46f: Download complete 05:05:12 33b1e0a273af: Verifying Checksum 05:05:12 33b1e0a273af: Download complete 05:05:12 ec43610c2a17: Verifying Checksum 05:05:12 ec43610c2a17: Download complete 05:05:12 5d3b04190fa2: Verifying Checksum 05:05:12 5d3b04190fa2: Download complete 05:05:12 5eb5b503b376: Verifying Checksum 05:05:12 5eb5b503b376: Download complete 05:05:13 2f39f015ded8: Verifying Checksum 05:05:13 2f39f015ded8: Download complete 05:05:13 5eb5b503b376: Pull complete 05:05:14 5c69ac0246d0: Pull complete 05:05:14 ec43610c2a17: Pull complete 05:05:14 3a2ae6a8a46f: Pull complete 05:05:14 33b1e0a273af: Pull complete 05:05:14 5d3b04190fa2: Pull complete 05:05:19 2f39f015ded8: Pull complete 05:05:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:19 prd-ubuntu20.04-docker-8c-8g-4089 does not seem to be running inside a container 05:05:19 $ 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-222 -v /w/workspace/gexfoundry_device-snmp-go_PR-222:/w/workspace/gexfoundry_device-snmp-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-222@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:05:22 $ docker top 0c5aed8bc68d32f1e7bac82cac14dbb15a33b261b5f5bc11431561a755fa9e3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:23 ---> job-cost.sh 05:05:23 lf-activate-venv: SKIPPING 05:05:23 INFO: No Stack... 05:05:24 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:24 INFO: Archiving Costs [Pipeline] sh 05:05:24 + cat /w/workspace/gexfoundry_device-snmp-go_PR-222/archives/cost.csv 05:05:24 + cut -d, -f6 [Pipeline] lock 05:05:24 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-222-1-stack-cost] 05:05:24 Resource [jenkins-edgexfoundry-device-snmp-go-PR-222-1-stack-cost] did not exist. Created. 05:05:24 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-222-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:25 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:25 Stashed 1 file(s) [Pipeline] } 05:05:25 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-222-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:25 $ docker stop --time=1 0c5aed8bc68d32f1e7bac82cac14dbb15a33b261b5f5bc11431561a755fa9e3c 05:05:26 $ docker rm -f --volumes 0c5aed8bc68d32f1e7bac82cac14dbb15a33b261b5f5bc11431561a755fa9e3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:26 Failed in branch amd64 05:07:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4093 in /w/workspace/gexfoundry_device-snmp-go_PR-222 [Pipeline] { [Pipeline] ws 05:07:01 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:01 Selected Git installation does not exist. Using Default 05:07:01 The recommended git tool is: NONE 05:07:07 using credential edgex-jenkins-ssh 05:07:07 Cloning the remote Git repository 05:07:07 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:07 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:07 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:07 > git --version # timeout=10 05:07:07 > git --version # 'git version 2.25.1' 05:07:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:09 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:09 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 05:07:10 Merge succeeded, producing 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 05:07:10 Checking out Revision 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 (PR-222) 05:07:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 05:07:11 > git --version # timeout=10 05:07:11 > git --version # 'git version 2.25.1' 05:07:11 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:07:10 > git config core.sparsecheckout # timeout=10 05:07:10 > git checkout -f 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 # timeout=10 05:07:10 > git remote # timeout=10 05:07:10 > git config --get remote.origin.url # timeout=10 05:07:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:10 > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 05:07:10 > git rev-parse HEAD^{commit} # timeout=10 05:07:10 > git config core.sparsecheckout # timeout=10 05:07:10 > git checkout -f 6f25cd309e6291d64bf4c650e8e6c2981ce401c6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:12 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:12 Dload Upload Total Spent Left Speed 05:07:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 05:07:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:13 + sudo tee /etc/docker/daemon.new 05:07:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:13 { 05:07:13 "registry-mirrors": [ 05:07:13 "https://nexus3.edgexfoundry.org:10001" 05:07:13 ], 05:07:13 "bip": "10.250.0.254/24", 05:07:13 "hosts": [ 05:07:13 "tcp://0.0.0.0:5555", 05:07:13 "unix:///var/run/docker.sock" 05:07:13 ], 05:07:13 "mtu": 1458, 05:07:13 "selinux-enabled": true, 05:07:13 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:13 } [Pipeline] sh 05:07:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:32 provisioning config files... 05:07:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config10940363271196216808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:32 ---> docker-login.sh 05:07:32 nexus3.edgexfoundry.org:10001 05:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:33 Configure a credential helper to remove this warning. See 05:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:33 05:07:33 Login Succeeded 05:07:33 nexus3.edgexfoundry.org:10002 05:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:34 Configure a credential helper to remove this warning. See 05:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:34 05:07:34 Login Succeeded 05:07:34 nexus3.edgexfoundry.org:10003 05:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:34 Configure a credential helper to remove this warning. See 05:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:34 05:07:34 Login Succeeded 05:07:34 nexus3.edgexfoundry.org:10004 05:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:34 Configure a credential helper to remove this warning. See 05:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:34 05:07:34 Login Succeeded 05:07:34 docker.io 05:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:35 Configure a credential helper to remove this warning. See 05:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:35 05:07:35 Login Succeeded 05:07:35 ---> docker-login.sh ends [Pipeline] } 05:07:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:35 ========================================================= 05:07:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:07:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:07:36 Sending build context to Docker daemon 2.939MB 05:07:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:07:36 Step 2/12 : FROM ${BASE} AS builder 05:07:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:37 9b18e9b68314: Pulling fs layer 05:07:37 35d82f9e3411: Pulling fs layer 05:07:37 e16973657156: Pulling fs layer 05:07:37 fc693d55d65f: Pulling fs layer 05:07:37 7e9fc2657dce: Pulling fs layer 05:07:37 dda99020689f: Pulling fs layer 05:07:37 db1c61fa0a46: Pulling fs layer 05:07:37 891c053d2c06: Pulling fs layer 05:07:37 fc693d55d65f: Waiting 05:07:37 7e9fc2657dce: Waiting 05:07:37 dda99020689f: Waiting 05:07:37 db1c61fa0a46: Waiting 05:07:37 891c053d2c06: Waiting 05:07:37 e16973657156: Verifying Checksum 05:07:37 e16973657156: Download complete 05:07:37 35d82f9e3411: Verifying Checksum 05:07:37 35d82f9e3411: Download complete 05:07:37 7e9fc2657dce: Download complete 05:07:37 dda99020689f: Verifying Checksum 05:07:37 dda99020689f: Download complete 05:07:37 9b18e9b68314: Verifying Checksum 05:07:37 9b18e9b68314: Download complete 05:07:38 9b18e9b68314: Pull complete 05:07:38 891c053d2c06: Verifying Checksum 05:07:38 891c053d2c06: Download complete 05:07:38 35d82f9e3411: Pull complete 05:07:38 e16973657156: Pull complete 05:07:39 db1c61fa0a46: Verifying Checksum 05:07:39 db1c61fa0a46: Download complete 05:07:40 fc693d55d65f: Verifying Checksum 05:07:40 fc693d55d65f: Download complete 05:07:55 fc693d55d65f: Pull complete 05:07:55 7e9fc2657dce: Pull complete 05:07:55 dda99020689f: Pull complete 05:07:59 db1c61fa0a46: Pull complete 05:08:02 891c053d2c06: Pull complete 05:08:02 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:08:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:08:02 ---> f96f9c87975a 05:08:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:08:03 ---> Running in ccde89f9e66d 05:08:03 Removing intermediate container ccde89f9e66d 05:08:03 ---> 09570a24fdd6 05:08:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:03 ---> Running in bcbce471a3fc 05:08:03 Removing intermediate container bcbce471a3fc 05:08:03 ---> 9fbc21b78743 05:08:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:08:03 ---> Running in 720224a74d3b 05:08:03 Removing intermediate container 720224a74d3b 05:08:03 ---> 9ee9b64b73d2 05:08:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:08:04 ---> Running in 3fde85c91d1b 05:08:04 Removing intermediate container 3fde85c91d1b 05:08:04 ---> bcb0ef88b6cd 05:08:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:04 ---> Running in b62dd5981f15 05:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:08:06 (2/4) Installing libedit (20210910.3.1-r0) 05:08:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:08:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:08:06 Executing busybox-1.35.0-r17.trigger 05:08:06 OK: 226 MiB in 55 packages 05:08:07 Removing intermediate container b62dd5981f15 05:08:07 ---> 7c1159ef8482 05:08:07 Step 8/12 : WORKDIR /device-snmp-go 05:08:08 ---> Running in 5529b96870c7 05:08:08 Removing intermediate container 5529b96870c7 05:08:08 ---> aba6c4604474 05:08:08 Step 9/12 : COPY go.mod vendor* ./ 05:08:09 ---> 9a4cd1d1028e 05:08:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:09 ---> Running in 74e762f4657f 05:09:16 Removing intermediate container 74e762f4657f 05:09:16 ---> 35b7230df9f2 05:09:16 Step 11/12 : COPY . . 05:09:16 ---> af407bc71ffb 05:09:16 Step 12/12 : RUN ${MAKE} 05:09:16 ---> Running in f5f791f3e21d 05:09:16 noop 05:09:16 Removing intermediate container f5f791f3e21d 05:09:16 ---> 2f53d8065c24 05:09:16 Successfully built 2f53d8065c24 05:09:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:17 + docker inspect -f . ci-base-image-arm64 05:09:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:17 prd-ubuntu20.04-docker-arm64-4c-16g-4093 does not seem to be running inside a container 05:09:17 $ 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:19 $ docker top d973babef5169062938d2cabe2a861d1f01da963fb1f1d6b9d6f7c2876f05c01 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:20 + go version 05:09:20 go version go1.18.7 linux/arm64 [Pipeline] } 05:09:20 $ docker stop --time=1 d973babef5169062938d2cabe2a861d1f01da963fb1f1d6b9d6f7c2876f05c01 05:09:21 $ docker rm -f --volumes d973babef5169062938d2cabe2a861d1f01da963fb1f1d6b9d6f7c2876f05c01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:22 + docker inspect -f . ci-base-image-arm64 05:09:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:22 prd-ubuntu20.04-docker-arm64-4c-16g-4093 does not seem to be running inside a container 05:09:22 $ 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:25 $ docker top aa4a37df3cca8be5ff3f5c35749f5d914cbab67700c6360b83d9eb37630b445b -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:25 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:09:26 + make test 05:09:26 go test ./... -coverprofile=coverage.out 05:09:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:24 # github.com/edgexfoundry/go-mod-messaging/v3/clients 05:10:24 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: 05:10:24 *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) 05:10:24 have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 05:10:24 want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 05:10:24 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo 05:10:42 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 05:10:42 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes 05:10:42 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo 05:10:42 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 05:10:42 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes 05:10:42 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes 05:10:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 05:10:49 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 05:10:49 $ docker stop --time=1 aa4a37df3cca8be5ff3f5c35749f5d914cbab67700c6360b83d9eb37630b445b 05:10:51 $ docker rm -f --volumes aa4a37df3cca8be5ff3f5c35749f5d914cbab67700c6360b83d9eb37630b445b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:52 05:10:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:53 arm64: Pulling from edgex-lftools-log-publisher 05:10:53 8998bd30e6a1: Pulling fs layer 05:10:53 04944245beec: Pulling fs layer 05:10:53 699f458cf7ca: Pulling fs layer 05:10:53 765212b225bb: Pulling fs layer 05:10:53 f23df028b6ca: Pulling fs layer 05:10:53 d65c8cfc05b1: Pulling fs layer 05:10:53 2437ff75d9bd: Pulling fs layer 05:10:53 f23df028b6ca: Waiting 05:10:53 d65c8cfc05b1: Waiting 05:10:53 2437ff75d9bd: Waiting 05:10:53 765212b225bb: Waiting 05:10:53 04944245beec: Verifying Checksum 05:10:53 04944245beec: Download complete 05:10:53 765212b225bb: Download complete 05:10:53 f23df028b6ca: Verifying Checksum 05:10:53 f23df028b6ca: Download complete 05:10:53 d65c8cfc05b1: Verifying Checksum 05:10:53 d65c8cfc05b1: Download complete 05:10:53 699f458cf7ca: Verifying Checksum 05:10:53 699f458cf7ca: Download complete 05:10:54 8998bd30e6a1: Verifying Checksum 05:10:54 8998bd30e6a1: Download complete 05:10:56 2437ff75d9bd: Verifying Checksum 05:10:56 2437ff75d9bd: Download complete 05:10:58 8998bd30e6a1: Pull complete 05:10:58 04944245beec: Pull complete 05:11:00 699f458cf7ca: Pull complete 05:11:00 765212b225bb: Pull complete 05:11:01 f23df028b6ca: Pull complete 05:11:01 d65c8cfc05b1: Pull complete 05:11:16 2437ff75d9bd: Pull complete 05:11:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:16 prd-ubuntu20.04-docker-arm64-4c-16g-4093 does not seem to be running inside a container 05:11:16 $ 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:11:20 $ docker top 2a7a546f5fd43dfd92471704dbce6d2a539736a41f037e022789fac52748a06b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:21 ---> job-cost.sh 05:11:21 lf-activate-venv: SKIPPING 05:11:21 INFO: No Stack... 05:11:21 INFO: Retrieving Pricing Info for: v3-standard-4 05:11:22 INFO: Archiving Costs [Pipeline] sh 05:11:23 + cut -d, -f6 05:11:23 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 05:11:23 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-222-1-stack-cost] 05:11:23 Resource [jenkins-edgexfoundry-device-snmp-go-PR-222-1-stack-cost] did not exist. Created. 05:11:23 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-222-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:24 /w/workspace/device-snmp-go/1@tmp/durable-79a92f3b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:11:24 + echo total: 0.10999999940395355 [Pipeline] stash 05:11:24 Warning: overwriting stash ‘stack-cost’ 05:11:25 Stashed 1 file(s) [Pipeline] } 05:11:25 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-222-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:25 $ docker stop --time=1 2a7a546f5fd43dfd92471704dbce6d2a539736a41f037e022789fac52748a06b 05:11:27 $ docker rm -f --volumes 2a7a546f5fd43dfd92471704dbce6d2a539736a41f037e022789fac52748a06b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:11:27 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:11:29 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-222/archives ] 05:11:29 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-222/archives 05:11:29 total 16 05:11:29 drwxr-xr-x 3 root root 4096 Jan 31 05:05 . 05:11:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 05:05 .. 05:11:29 drwxr-xr-x 2 root root 4096 Jan 31 05:05 cost 05:11:29 -rw-r--r-- 1 root root 86 Jan 31 05:05 cost.csv 05:11:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-222/archives 05:11:29 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-222/archives 05:11:29 total 16 05:11:29 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 05:05 . 05:11:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 05:05 .. 05:11:29 drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 05:05 cost 05:11:29 -rw-r--r-- 1 jenkins jenkins 86 Jan 31 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:31 ---> package-listing.sh 05:11:31 ++ facter osfamily 05:11:31 ++ tr '[:upper:]' '[:lower:]' 05:11:31 + OS_FAMILY=debian 05:11:31 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-222 05:11:31 + START_PACKAGES=/tmp/packages_start.txt 05:11:31 + END_PACKAGES=/tmp/packages_end.txt 05:11:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:31 + PACKAGES=/tmp/packages_start.txt 05:11:31 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-222 ']' 05:11:31 + PACKAGES=/tmp/packages_end.txt 05:11:31 + case "${OS_FAMILY}" in 05:11:31 + dpkg -l 05:11:31 + grep '^ii' 05:11:31 + '[' -f /tmp/packages_start.txt ']' 05:11:31 + '[' -f /tmp/packages_end.txt ']' 05:11:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:31 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-222 ']' 05:11:31 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-222/archives/ 05:11:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-222/archives/ [Pipeline] echo 05:11:31 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:32 prd-ubuntu20.04-docker-8c-8g-4089 does not seem to be running inside a container 05:11:32 $ 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-222/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-222 -v /w/workspace/gexfoundry_device-snmp-go_PR-222:/w/workspace/gexfoundry_device-snmp-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:11:32 $ docker top ff81221e45caf091d1504610df7f9aeee00437c34e6bf4ca0061e45b7b492f2e -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:33 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:33 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:33 + ls /var/log/sa-host 05:11:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:33 provisioning config files... 05:11:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-222@tmp/config2693096709091168550tmp [Pipeline] { [Pipeline] echo 05:11:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:34 ---> create-netrc.sh [Pipeline] } 05:11:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:34 ---> python-tools-install.sh [Pipeline] echo 05:11:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:35 ---> sudo-logs.sh 05:11:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:11:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:35 ---> job-cost.sh 05:11:35 lf-activate-venv: SKIPPING 05:11:35 DEBUG: total: 0.2199999988079071 05:11:35 INFO: Retrieving Stack Cost... 05:11:35 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:36 INFO: Archiving Costs [Pipeline] echo 05:11:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:36 ---> logs-deploy.sh 05:11:36 lf-activate-venv: SKIPPING 05:11:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-222/1 05:11:36 INFO: archiving workspace using pattern(s): 05:11:37 Archives upload complete. 05:11:37 INFO: archiving logs to Nexus 05:11:38 ---> uname -a: 05:11:38 Linux prd-ubuntu20-04-docker-8c-8g-4089 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:11:38 05:11:38 05:11:38 ---> lscpu: 05:11:38 Architecture: x86_64 05:11:38 CPU op-mode(s): 32-bit, 64-bit 05:11:38 Byte Order: Little Endian 05:11:38 Address sizes: 40 bits physical, 48 bits virtual 05:11:38 CPU(s): 8 05:11:38 On-line CPU(s) list: 0-7 05:11:38 Thread(s) per core: 1 05:11:38 Core(s) per socket: 1 05:11:38 Socket(s): 8 05:11:38 NUMA node(s): 1 05:11:38 Vendor ID: AuthenticAMD 05:11:38 CPU family: 23 05:11:38 Model: 49 05:11:38 Model name: AMD EPYC-Rome Processor 05:11:38 Stepping: 0 05:11:38 CPU MHz: 2799.998 05:11:38 BogoMIPS: 5599.99 05:11:38 Virtualization: AMD-V 05:11:38 Hypervisor vendor: KVM 05:11:38 Virtualization type: full 05:11:38 L1d cache: 256 KiB 05:11:38 L1i cache: 256 KiB 05:11:38 L2 cache: 4 MiB 05:11:38 L3 cache: 128 MiB 05:11:38 NUMA node0 CPU(s): 0-7 05:11:38 Vulnerability Itlb multihit: Not affected 05:11:38 Vulnerability L1tf: Not affected 05:11:38 Vulnerability Mds: Not affected 05:11:38 Vulnerability Meltdown: Not affected 05:11:38 Vulnerability Mmio stale data: Not affected 05:11:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:11:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:11:38 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:11:38 Vulnerability Srbds: Not affected 05:11:38 Vulnerability Tsx async abort: Not affected 05:11:38 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:11:38 05:11:38 05:11:38 ---> nproc: 05:11:38 8 05:11:38 05:11:38 05:11:38 ---> df -h: 05:11:38 Filesystem Size Used Avail Use% Mounted on 05:11:38 overlay 155G 12G 144G 8% / 05:11:38 tmpfs 64M 0 64M 0% /dev 05:11:38 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:11:38 shm 64M 0 64M 0% /dev/shm 05:11:38 /dev/vda1 155G 12G 144G 8% /facter-os 05:11:38 05:11:38 05:11:38 ---> sar -b -r -n DEV: 05:11:38 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4089) 01/31/23 _x86_64_ (8 CPU) 05:11:38 05:11:38 05:03:08 LINUX RESTART (8 CPU) 05:11:38 05:11:38 05:04:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:11:38 05:05:01 198.83 4.20 194.63 0.00 440.80 76948.83 0.00 05:11:38 05:06:01 43.03 0.15 42.88 0.00 8.27 20612.71 0.00 05:11:38 05:07:01 1.47 0.00 1.47 0.00 0.00 16.40 0.00 05:11:38 05:08:01 1.62 0.00 1.62 0.00 0.00 18.40 0.00 05:11:38 05:09:01 54.27 10.76 43.51 0.00 5173.40 8868.26 0.00 05:11:38 05:10:01 6.35 0.02 6.33 0.00 0.13 123.54 0.00 05:11:38 05:11:01 1.03 0.00 1.03 0.00 0.00 12.26 0.00 05:11:38 Average: 43.43 2.16 41.27 0.00 804.05 15082.11 0.00 05:11:38 05:11:38 05:04:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:11:38 05:05:01 28338640 31418196 879436 2.67 140256 3152900 2328024 6.86 1305368 2797360 42892 05:11:38 05:06:01 28046932 31582752 716996 2.18 147420 3562092 1739200 5.13 1166324 3189240 8 05:11:38 05:07:01 28046168 31582144 717268 2.18 147516 3562096 1739200 5.13 1166544 3189244 4 05:11:38 05:08:01 28052396 31588420 710884 2.16 147564 3562100 1739200 5.13 1160048 3189244 8 05:11:38 05:09:01 27509848 31564220 728824 2.22 181400 4020076 1799160 5.30 1486264 3369736 944 05:11:38 05:10:01 27520052 31569816 723172 2.20 179960 4016820 1781760 5.25 1479648 3366572 8 05:11:38 05:11:01 27520320 31570148 722824 2.20 179984 4016828 1781760 5.25 1479688 3366580 8 05:11:38 Average: 27862051 31553671 742772 2.26 160586 3698987 1844043 5.43 1320555 3209711 6267 05:11:38 05:11:38 05:04:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:11:38 05:05:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 05:11:38 05:05:01 vethe2090f8 0.00 0.14 0.00 0.01 0.00 0.00 0.00 0.00 05:11:38 05:05:01 docker0 162.40 204.25 13.45 1867.64 0.00 0.00 0.00 0.00 05:11:38 05:05:01 ens3 392.09 314.16 5983.03 46.12 0.00 0.00 0.00 0.00 05:11:38 05:06:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 05:11:38 05:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:38 05:06:01 ens3 113.20 93.33 2526.75 88.25 0.00 0.00 0.00 0.00 05:11:38 05:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:38 05:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:38 05:07:01 ens3 1.68 0.93 3.98 0.31 0.00 0.00 0.00 0.00 05:11:38 05:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:11:38 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:38 05:08:01 ens3 0.43 0.35 0.26 0.21 0.00 0.00 0.00 0.00 05:11:38 05:09:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 05:11:38 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:38 05:09:01 ens3 139.51 83.44 2756.35 6.26 0.00 0.00 0.00 0.00 05:11:38 05:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:11:38 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:38 05:10:01 ens3 0.30 0.20 0.02 0.01 0.00 0.00 0.00 0.00 05:11:38 05:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:38 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:38 05:11:01 ens3 0.10 0.00 0.01 0.00 0.00 0.00 0.00 0.00 05:11:38 Average: lo 0.72 0.72 0.07 0.07 0.00 0.00 0.00 0.00 05:11:38 Average: docker0 22.87 28.76 1.89 263.01 0.00 0.00 0.00 0.00 05:11:38 Average: ens3 91.76 69.77 1599.65 20.10 0.00 0.00 0.00 0.00 05:11:38 05:11:38 05:11:38 ---> sar -P ALL: 05:11:38 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4089) 01/31/23 _x86_64_ (8 CPU) 05:11:38 05:11:38 05:03:08 LINUX RESTART (8 CPU) 05:11:38 05:11:38 05:04:02 CPU %user %nice %system %iowait %steal %idle 05:11:38 05:05:01 all 10.09 0.00 4.27 3.98 0.10 81.56 05:11:38 05:05:01 0 10.76 0.00 4.94 1.95 0.07 82.28 05:11:38 05:05:01 1 8.50 0.00 3.58 4.68 0.07 83.16 05:11:38 05:05:01 2 9.59 0.00 4.04 1.17 0.07 85.13 05:11:38 05:05:01 3 9.87 0.00 3.93 0.79 0.09 85.32 05:11:38 05:05:01 4 11.33 0.00 4.81 21.66 0.07 62.13 05:11:38 05:05:01 5 10.77 0.00 4.33 1.36 0.24 83.30 05:11:38 05:05:01 6 9.66 0.00 3.74 0.09 0.07 86.45 05:11:38 05:05:01 7 10.25 0.00 4.80 0.17 0.10 84.68 05:11:38 05:06:01 all 10.64 0.00 2.37 0.99 0.04 85.96 05:11:38 05:06:01 0 11.25 0.00 1.96 0.02 0.03 86.74 05:11:38 05:06:01 1 9.26 0.00 2.05 1.27 0.02 87.40 05:11:38 05:06:01 2 10.32 0.00 2.13 0.02 0.03 87.50 05:11:38 05:06:01 3 10.45 0.00 2.20 0.05 0.05 87.24 05:11:38 05:06:01 4 11.50 0.00 2.55 5.60 0.05 80.30 05:11:38 05:06:01 5 10.98 0.00 2.38 0.32 0.03 86.28 05:11:38 05:06:01 6 10.72 0.00 3.52 0.02 0.03 85.71 05:11:38 05:06:01 7 10.61 0.00 2.20 0.67 0.03 86.49 05:11:38 05:07:01 all 0.02 0.00 0.01 0.00 0.01 99.96 05:11:38 05:07:01 0 0.00 0.00 0.02 0.00 0.00 99.98 05:11:38 05:07:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:11:38 05:07:01 2 0.03 0.00 0.00 0.00 0.02 99.95 05:11:38 05:07:01 3 0.03 0.00 0.02 0.00 0.00 99.95 05:11:38 05:07:01 4 0.02 0.00 0.03 0.03 0.03 99.88 05:11:38 05:07:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:11:38 05:07:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:11:38 05:07:01 7 0.02 0.00 0.02 0.00 0.00 99.97 05:11:38 05:08:01 all 0.02 0.00 0.01 0.00 0.00 99.96 05:11:38 05:08:01 0 0.00 0.00 0.02 0.00 0.00 99.98 05:11:38 05:08:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:11:38 05:08:01 2 0.03 0.00 0.02 0.00 0.00 99.95 05:11:38 05:08:01 3 0.02 0.00 0.00 0.00 0.02 99.97 05:11:38 05:08:01 4 0.05 0.00 0.02 0.02 0.02 99.90 05:11:38 05:08:01 5 0.03 0.00 0.03 0.00 0.00 99.93 05:11:38 05:08:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:11:38 05:08:01 7 0.03 0.00 0.02 0.00 0.00 99.95 05:11:38 05:09:01 all 2.48 0.00 1.44 0.68 0.02 95.37 05:11:38 05:09:01 0 2.59 0.00 0.88 0.63 0.03 95.86 05:11:38 05:09:01 1 3.60 0.00 1.09 0.80 0.02 94.50 05:11:38 05:09:01 2 1.44 0.00 0.75 0.03 0.02 97.76 05:11:38 05:09:01 3 3.02 0.00 1.99 0.22 0.02 94.75 05:11:38 05:09:01 4 2.06 0.00 1.76 1.19 0.03 94.97 05:11:38 05:09:01 5 1.65 0.00 2.34 0.58 0.02 95.41 05:11:38 05:09:01 6 2.07 0.00 1.40 1.75 0.02 94.75 05:11:38 05:09:01 7 3.42 0.00 1.34 0.27 0.03 94.94 05:11:38 05:10:01 all 0.33 0.00 0.06 0.01 0.01 99.58 05:11:38 05:10:01 0 0.23 0.00 0.10 0.00 0.02 99.65 05:11:38 05:10:01 1 2.02 0.00 0.08 0.02 0.02 97.87 05:11:38 05:10:01 2 0.07 0.00 0.05 0.00 0.02 99.87 05:11:38 05:10:01 3 0.15 0.00 0.08 0.00 0.02 99.75 05:11:38 05:10:01 4 0.02 0.00 0.03 0.00 0.00 99.95 05:11:38 05:10:01 5 0.02 0.00 0.05 0.02 0.02 99.90 05:11:38 05:10:01 6 0.05 0.00 0.05 0.07 0.00 99.83 05:11:38 05:10:01 7 0.07 0.00 0.05 0.00 0.00 99.88 05:11:38 05:11:01 all 0.26 0.00 0.01 0.01 0.00 99.71 05:11:38 05:11:01 0 0.02 0.00 0.02 0.00 0.00 99.97 05:11:38 05:11:01 1 1.99 0.00 0.02 0.00 0.00 98.00 05:11:38 05:11:01 2 0.03 0.00 0.02 0.00 0.02 99.93 05:11:38 05:11:01 3 0.03 0.00 0.00 0.00 0.00 99.97 05:11:38 05:11:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:11:38 05:11:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:11:38 05:11:01 6 0.00 0.00 0.00 0.12 0.00 99.88 05:11:38 05:11:01 7 0.02 0.00 0.02 0.00 0.00 99.97 05:11:38 Average: all 3.37 0.00 1.15 0.80 0.03 94.65 05:11:38 Average: 0 3.52 0.00 1.12 0.37 0.02 94.97 05:11:38 Average: 1 3.60 0.00 0.96 0.95 0.02 94.48 05:11:38 Average: 2 3.04 0.00 0.99 0.17 0.02 95.78 05:11:38 Average: 3 3.33 0.00 1.16 0.15 0.03 95.33 05:11:38 Average: 4 3.52 0.00 1.30 3.99 0.03 91.17 05:11:38 Average: 5 3.31 0.00 1.29 0.32 0.04 95.03 05:11:38 Average: 6 3.18 0.00 1.23 0.29 0.02 95.28 05:11:38 Average: 7 3.45 0.00 1.19 0.16 0.02 95.19 05:11:38 05:11:38 05:11:38