Pull request #227 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1+2bd6e5dae59222faf073cfb9822f90f2048c0bba (82ecd395a021889b6f70d209801387eea6457895) 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-ssh10009159981091525961.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-ssh2027624683255862989.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-227/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-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12734203824454494096.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-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh814924234855192498.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-ssh15262711824620859096.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-227/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-227/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12192692273064175377.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 Running on prd-ubuntu20.04-docker-8c-8g-4843 in /w/workspace/gexfoundry_device-snmp-go_PR-227 [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-227 # 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 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 > 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/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 # timeout=10 Merge succeeded, producing 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 Checking out Revision 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 (PR-227) 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:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > 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 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 # timeout=10 [Pipeline] echo 05:03:37 ========================================================= 05:03:37 EdgeX Global Pipelines Version Info 05:03:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:38 ------------------- 05:03:38 stable info: 05:03:38 ------------------- 05:03:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:03:38 Message: update stable to v1.0.244 05:03:38 ------------------- 05:03:38 experimental info: 05:03:38 ------------------- 05:03:38 Commited By: **** collab-it+edgex@linuxfoundation.org 05:03:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:03:38 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-227 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-227 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-227 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ae0e34 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:40 provisioning config files... 05:03:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-227@tmp/config1113409723986678339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:41 ---> docker-login.sh 05:03:41 nexus3.edgexfoundry.org:10001 05:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:41 Configure a credential helper to remove this warning. See 05:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:41 05:03:41 Login Succeeded 05:03:41 nexus3.edgexfoundry.org:10002 05:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:41 Configure a credential helper to remove this warning. See 05:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:41 05:03:41 Login Succeeded 05:03:41 nexus3.edgexfoundry.org:10003 05:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:41 Configure a credential helper to remove this warning. See 05:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:41 05:03:41 Login Succeeded 05:03:41 nexus3.edgexfoundry.org:10004 05:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:41 Configure a credential helper to remove this warning. See 05:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:41 05:03:41 Login Succeeded 05:03:41 docker.io 05:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:42 Configure a credential helper to remove this warning. See 05:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:42 05:03:42 Login Succeeded 05:03:42 ---> docker-login.sh ends [Pipeline] } 05:03:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:42 + git rev-list -1 --merges 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1~1..5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 [Pipeline] echo 05:03:42 -----------> git rev-list -1 --merges 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1~1..5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 [false] [Pipeline] sh 05:03:43 + git log --format=format:%s -1 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 [Pipeline] echo 05:03:43 ========================================================= 05:03:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:43 + git log --format=format:%s -1 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 [Pipeline] echo 05:03:43 [semverPrep] GIT_COMMIT: 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 05:03:43 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:44 + grep -v github /etc/ssh/ssh_known_hosts 05:03:44 + [ -e /tmp/ssh_known_hosts ] 05:03:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:03:44 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:44 05:03:44 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:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:44 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:44 b85a868b505f: Pulling fs layer 05:03:44 e2be974225ed: Pulling fs layer 05:03:44 339a4e72a1f5: Pulling fs layer 05:03:44 988bab9f4d93: Pulling fs layer 05:03:44 1469e6f7b9e6: Pulling fs layer 05:03:44 eaf3925da568: Pulling fs layer 05:03:44 bab4dde63d76: Pulling fs layer 05:03:44 bde34c3a00c8: Pulling fs layer 05:03:44 b352a97aabf1: Pulling fs layer 05:03:44 4872d77fe225: Pulling fs layer 05:03:44 5851b861e8e6: Pulling fs layer 05:03:44 bab4dde63d76: Waiting 05:03:44 bde34c3a00c8: Waiting 05:03:44 b352a97aabf1: Waiting 05:03:44 4872d77fe225: Waiting 05:03:44 5851b861e8e6: Waiting 05:03:44 1469e6f7b9e6: Waiting 05:03:44 eaf3925da568: Waiting 05:03:44 988bab9f4d93: Waiting 05:03:44 e2be974225ed: Verifying Checksum 05:03:44 e2be974225ed: Download complete 05:03:44 988bab9f4d93: Verifying Checksum 05:03:44 988bab9f4d93: Download complete 05:03:45 1469e6f7b9e6: Verifying Checksum 05:03:45 1469e6f7b9e6: Download complete 05:03:45 eaf3925da568: Verifying Checksum 05:03:45 eaf3925da568: Download complete 05:03:45 339a4e72a1f5: Verifying Checksum 05:03:45 339a4e72a1f5: Download complete 05:03:45 bde34c3a00c8: Download complete 05:03:45 b352a97aabf1: Verifying Checksum 05:03:45 b352a97aabf1: Download complete 05:03:45 4872d77fe225: Download complete 05:03:45 5851b861e8e6: Verifying Checksum 05:03:45 5851b861e8e6: Download complete 05:03:45 b85a868b505f: Verifying Checksum 05:03:45 b85a868b505f: Download complete 05:03:45 bab4dde63d76: Verifying Checksum 05:03:45 bab4dde63d76: Download complete 05:03:46 b85a868b505f: Pull complete 05:03:46 e2be974225ed: Pull complete 05:03:47 339a4e72a1f5: Pull complete 05:03:47 988bab9f4d93: Pull complete 05:03:47 1469e6f7b9e6: Pull complete 05:03:47 eaf3925da568: Pull complete 05:03:49 bab4dde63d76: Pull complete 05:03:49 bde34c3a00c8: Pull complete 05:03:49 b352a97aabf1: Pull complete 05:03:49 4872d77fe225: Pull complete 05:03:49 5851b861e8e6: Pull complete 05:03:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:03:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:50 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 05:03:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-227 -v /w/workspace/gexfoundry_device-snmp-go_PR-227:/w/workspace/gexfoundry_device-snmp-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-227@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-227@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:03:51 $ docker top 0a359bce841c48b456484fd872be0124da49b4724f87d20fed97e3f75e2029b3 -eo pid,comm 05:03:51 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:03:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:51 [ssh-agent] Looking for ssh-agent implementation... 05:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:51 $ docker exec 0a359bce841c48b456484fd872be0124da49b4724f87d20fed97e3f75e2029b3 ssh-agent 05:03:52 SSH_AUTH_SOCK=/tmp/ssh-oDHeLSWHC0zl/agent.32 05:03:52 SSH_AGENT_PID=38 05:03:52 Running ssh-add (command line suppressed) 05:03:52 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-227@tmp/private_key_13010004448373510345.key (/w/workspace/gexfoundry_device-snmp-go_PR-227@tmp/private_key_13010004448373510345.key) 05:03:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:52 + git tag --points-at HEAD [Pipeline] } 05:03:52 $ docker exec --env ******** --env ******** 0a359bce841c48b456484fd872be0124da49b4724f87d20fed97e3f75e2029b3 ssh-agent -k 05:03:52 unset SSH_AUTH_SOCK; 05:03:52 unset SSH_AGENT_PID; 05:03:52 echo Agent pid 38 killed; 05:03:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:52 [ssh-agent] Looking for ssh-agent implementation... 05:03:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:52 $ docker exec 0a359bce841c48b456484fd872be0124da49b4724f87d20fed97e3f75e2029b3 ssh-agent 05:03:52 SSH_AUTH_SOCK=/tmp/ssh-0pB8BTkz14YQ/agent.71 05:03:52 SSH_AGENT_PID=77 05:03:52 Running ssh-add (command line suppressed) 05:03:53 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-227@tmp/private_key_3290140940537785458.key (/w/workspace/gexfoundry_device-snmp-go_PR-227@tmp/private_key_3290140940537785458.key) 05:03:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:53 + git semver init 05:03:53 2023-02-07 05:03:53,609 [run_init] DEBUG init version:0.0.0 force:False 05:03:53 2023-02-07 05:03:53,611 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-227/.semver 05:03:53 2023-02-07 05:03:53,612 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-227/.semver 05:03:53 2023-02-07 05:03:53,612 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-227/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-227, universal_newlines=False, shell=None, istream=None) 05:03:54 2023-02-07 05:03:54,569 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-227/.git/info/exclude 05:03:54 2023-02-07 05:03:54,569 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-227/.semver/PR-227 with force:False 05:03:54 2023-02-07 05:03:54,570 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-227/.semver/PR-227 05:03:54 2023-02-07 05:03:54,574 [execute] INFO git cat-file --batch-check 05:03:54 2023-02-07 05:03:54,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-227/.semver, universal_newlines=False, shell=None, istream=) 05:03:54 2023-02-07 05:03:54,581 [execute] INFO git cat-file --batch 05:03:54 2023-02-07 05:03:54,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-227/.semver, universal_newlines=False, shell=None, istream=) 05:03:54 2023-02-07 05:03:54,586 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-227/.semver/PR-227 05:03:54 0.0.0 [Pipeline] } 05:03:54 $ docker exec --env ******** --env ******** 0a359bce841c48b456484fd872be0124da49b4724f87d20fed97e3f75e2029b3 ssh-agent -k 05:03:54 unset SSH_AUTH_SOCK; 05:03:54 unset SSH_AGENT_PID; 05:03:54 echo Agent pid 77 killed; 05:03:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:55 + git semver [Pipeline] } 05:03:55 $ docker stop --time=1 0a359bce841c48b456484fd872be0124da49b4724f87d20fed97e3f75e2029b3 05:03:56 $ docker rm -f --volumes 0a359bce841c48b456484fd872be0124da49b4724f87d20fed97e3f75e2029b3 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:03:57 Stashed 1 file(s) [Pipeline] echo 05:03:57 [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:03:58 provisioning config files... 05:03:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-227@tmp/config10740916783757027948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:58 ---> docker-login.sh 05:03:58 nexus3.edgexfoundry.org:10001 05:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:58 Configure a credential helper to remove this warning. See 05:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:58 05:03:58 Login Succeeded 05:03:58 nexus3.edgexfoundry.org:10002 05:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:58 Configure a credential helper to remove this warning. See 05:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:58 05:03:58 Login Succeeded 05:03:58 nexus3.edgexfoundry.org:10003 05:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:58 Configure a credential helper to remove this warning. See 05:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:58 05:03:58 Login Succeeded 05:03:58 nexus3.edgexfoundry.org:10004 05:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:58 Configure a credential helper to remove this warning. See 05:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:58 05:03:58 Login Succeeded 05:03:58 docker.io 05:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:59 Configure a credential helper to remove this warning. See 05:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:59 05:03:59 Login Succeeded 05:03:59 ---> docker-login.sh ends [Pipeline] } 05:03:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:59 ========================================================= 05:03:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:03:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:59 + 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:03:59 Sending build context to Docker daemon 5.679MB 05:03:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:03:59 Step 2/12 : FROM ${BASE} AS builder 05:03:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:03:59 213ec9aee27d: Pulling fs layer 05:03:59 4583459ba037: Pulling fs layer 05:03:59 93c1e223e6f2: Pulling fs layer 05:03:59 53926ce57604: Pulling fs layer 05:03:59 21b2b0c7a3f4: Pulling fs layer 05:03:59 22ff95d597cd: Pulling fs layer 05:03:59 12d6caf4c0d1: Pulling fs layer 05:03:59 96b7cbca73a9: Pulling fs layer 05:03:59 a7acece74701: Pulling fs layer 05:03:59 12d6caf4c0d1: Waiting 05:03:59 53926ce57604: Waiting 05:03:59 96b7cbca73a9: Waiting 05:03:59 21b2b0c7a3f4: Waiting 05:03:59 a7acece74701: Waiting 05:03:59 22ff95d597cd: Waiting 05:03:59 93c1e223e6f2: Verifying Checksum 05:03:59 93c1e223e6f2: Download complete 05:03:59 4583459ba037: Verifying Checksum 05:03:59 4583459ba037: Download complete 05:03:59 21b2b0c7a3f4: Download complete 05:04:00 22ff95d597cd: Verifying Checksum 05:04:00 22ff95d597cd: Download complete 05:04:00 213ec9aee27d: Verifying Checksum 05:04:00 213ec9aee27d: Download complete 05:04:00 12d6caf4c0d1: Download complete 05:04:00 213ec9aee27d: Pull complete 05:04:00 4583459ba037: Pull complete 05:04:00 93c1e223e6f2: Pull complete 05:04:01 a7acece74701: Download complete 05:04:01 53926ce57604: Verifying Checksum 05:04:01 53926ce57604: Download complete 05:04:01 96b7cbca73a9: Verifying Checksum 05:04:01 96b7cbca73a9: Download complete 05:04:06 53926ce57604: Pull complete 05:04:06 21b2b0c7a3f4: Pull complete 05:04:06 22ff95d597cd: Pull complete 05:04:06 12d6caf4c0d1: Pull complete 05:04:07 96b7cbca73a9: Pull complete 05:04:08 a7acece74701: Pull complete 05:04:08 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:04:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:08 ---> db6d94c90886 05:04:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:04:11 ---> Running in 0db1acc76867 05:04:11 Removing intermediate container 0db1acc76867 05:04:11 ---> e8315ba76b96 05:04:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:11 ---> Running in c84cb8b9b6f0 05:04:11 Removing intermediate container c84cb8b9b6f0 05:04:11 ---> d1f02248234b 05:04:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:04:11 ---> Running in e95d1925b092 05:04:11 Removing intermediate container e95d1925b092 05:04:11 ---> c24768229f2c 05:04:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:04:11 ---> Running in b184fc995770 05:04:11 Removing intermediate container b184fc995770 05:04:11 ---> fac32aacef66 05:04:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:11 ---> Running in 6e99b83c7f59 05:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:12 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:04:12 (2/4) Installing libedit (20210910.3.1-r0) 05:04:12 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:04:12 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:04:12 Executing busybox-1.35.0-r17.trigger 05:04:12 OK: 216 MiB in 55 packages 05:04:12 Removing intermediate container 6e99b83c7f59 05:04:12 ---> 3c2be735e5cc 05:04:12 Step 8/12 : WORKDIR /device-snmp-go 05:04:12 ---> Running in 850f2c4994e5 05:04:12 Removing intermediate container 850f2c4994e5 05:04:12 ---> 2f78aab403aa 05:04:12 Step 9/12 : COPY go.mod vendor* ./ 05:04:13 Still waiting to schedule task 05:04:13 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4844’ is offline 05:04:13 ---> cbf1a594edd2 05:04:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:13 ---> Running in 149f34914c95 05:04:35 Removing intermediate container 149f34914c95 05:04:35 ---> 660ccbfa0b00 05:04:35 Step 11/12 : COPY . . 05:04:35 ---> 66bd38ee43b8 05:04:35 Step 12/12 : RUN ${MAKE} 05:04:35 ---> Running in 58f5502160e7 05:04:35 noop 05:04:35 Removing intermediate container 58f5502160e7 05:04:35 ---> 97fb1d095bcd 05:04:35 Successfully built 97fb1d095bcd 05:04:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:35 + docker inspect -f . ci-base-image-x86_64 05:04:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:35 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 05:04:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-227 -v /w/workspace/gexfoundry_device-snmp-go_PR-227:/w/workspace/gexfoundry_device-snmp-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-227@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-227@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:04:36 $ docker top f4d544af11356ad41ea3d21beb391f925354dcc2befa6e2cfc04c1446a3d3df4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:36 + go version 05:04:36 go version go1.18.7 linux/amd64 [Pipeline] } 05:04:36 $ docker stop --time=1 f4d544af11356ad41ea3d21beb391f925354dcc2befa6e2cfc04c1446a3d3df4 05:04:38 $ docker rm -f --volumes f4d544af11356ad41ea3d21beb391f925354dcc2befa6e2cfc04c1446a3d3df4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:38 + docker inspect -f . ci-base-image-x86_64 05:04:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:39 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 05:04:39 $ 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-227 -v /w/workspace/gexfoundry_device-snmp-go_PR-227:/w/workspace/gexfoundry_device-snmp-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-227@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-227@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:04:39 $ docker top 3937ac1adadd117a1b41b97e87a481e1e8f173281fe9fc9468df0bb65de7e589 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-227 [Pipeline] fileExists [Pipeline] sh 05:04:40 + make test 05:04:40 go test ./... -coverprofile=coverage.out 05:04:40 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:04:47 # github.com/edgexfoundry/go-mod-messaging/v3/clients 05:04:47 /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:04:47 *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) 05:04:47 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:04:47 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:04:47 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo 05:04:48 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 05:04:48 /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:04:48 /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:04:48 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 05:04:48 /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:04:48 /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:04:48 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:68:23: undefined: common.Metrics 05:04:48 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:78:24: undefined: common.NewMetricsResponse 05:04:48 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:79:41: undefined: common.ApiMetricsRoute 05:04:48 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/restrouter.go:60:28: undefined: common.ApiMetricsRoute 05:04:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.032s coverage: 0.0% of statements 05:04:48 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 05:04:48 $ docker stop --time=1 3937ac1adadd117a1b41b97e87a481e1e8f173281fe9fc9468df0bb65de7e589 05:04:50 $ docker rm -f --volumes 3937ac1adadd117a1b41b97e87a481e1e8f173281fe9fc9468df0bb65de7e589 [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:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:51 05:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:51 latest: Pulling from edgex-lftools-log-publisher 05:04:51 5eb5b503b376: Pulling fs layer 05:04:51 5c69ac0246d0: Pulling fs layer 05:04:51 ec43610c2a17: Pulling fs layer 05:04:51 3a2ae6a8a46f: Pulling fs layer 05:04:51 33b1e0a273af: Pulling fs layer 05:04:51 5d3b04190fa2: Pulling fs layer 05:04:51 2f39f015ded8: Pulling fs layer 05:04:51 5d3b04190fa2: Waiting 05:04:51 2f39f015ded8: Waiting 05:04:51 3a2ae6a8a46f: Waiting 05:04:51 33b1e0a273af: Waiting 05:04:51 5c69ac0246d0: Verifying Checksum 05:04:51 5c69ac0246d0: Download complete 05:04:51 3a2ae6a8a46f: Download complete 05:04:51 33b1e0a273af: Verifying Checksum 05:04:51 33b1e0a273af: Download complete 05:04:51 5d3b04190fa2: Download complete 05:04:51 ec43610c2a17: Verifying Checksum 05:04:51 ec43610c2a17: Download complete 05:04:52 5eb5b503b376: Download complete 05:04:52 2f39f015ded8: Download complete 05:04:53 5eb5b503b376: Pull complete 05:04:53 5c69ac0246d0: Pull complete 05:04:53 ec43610c2a17: Pull complete 05:04:53 3a2ae6a8a46f: Pull complete 05:04:53 33b1e0a273af: Pull complete 05:04:54 5d3b04190fa2: Pull complete 05:04:58 2f39f015ded8: Pull complete 05:04:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:04:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:58 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 05:04:58 $ 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-227 -v /w/workspace/gexfoundry_device-snmp-go_PR-227:/w/workspace/gexfoundry_device-snmp-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-227@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-227@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:05:00 $ docker top e791cca90b37586b3e6a91d10c941c31227fd05656da295126d176d41ef3c20a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:01 ---> job-cost.sh 05:05:01 lf-activate-venv: SKIPPING 05:05:01 INFO: No Stack... 05:05:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:01 INFO: Archiving Costs [Pipeline] sh 05:05:02 + cat /w/workspace/gexfoundry_device-snmp-go_PR-227/archives/cost.csv 05:05:02 + cut -d, -f6 [Pipeline] lock 05:05:02 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-227-1-stack-cost] 05:05:02 Resource [jenkins-edgexfoundry-device-snmp-go-PR-227-1-stack-cost] did not exist. Created. 05:05:02 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:02 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:02 Stashed 1 file(s) [Pipeline] } 05:05:02 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:02 $ docker stop --time=1 e791cca90b37586b3e6a91d10c941c31227fd05656da295126d176d41ef3c20a 05:05:03 $ docker rm -f --volumes e791cca90b37586b3e6a91d10c941c31227fd05656da295126d176d41ef3c20a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:04 Failed in branch amd64 05:06:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4847 in /w/workspace/gexfoundry_device-snmp-go_PR-227 [Pipeline] { [Pipeline] ws 05:06:58 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:06:58 Selected Git installation does not exist. Using Default 05:06:58 The recommended git tool is: NONE 05:07:08 using credential edgex-jenkins-ssh 05:07:08 Cloning the remote Git repository 05:07:08 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:08 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:09 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:09 > git --version # timeout=10 05:07:09 > git --version # 'git version 2.25.1' 05:07:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:12 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:12 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:12 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 05:07:13 Merge succeeded, producing 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 05:07:13 Checking out Revision 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 (PR-227) 05:07:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 05:07:13 > git --version # timeout=10 05:07:13 > git --version # 'git version 2.25.1' 05:07:13 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:07:12 > git config core.sparsecheckout # timeout=10 05:07:12 > git checkout -f 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 # timeout=10 05:07:12 > git remote # timeout=10 05:07:12 > git config --get remote.origin.url # timeout=10 05:07:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:12 > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 05:07:13 > git rev-parse HEAD^{commit} # timeout=10 05:07:13 > git config core.sparsecheckout # timeout=10 05:07:13 > git checkout -f 5ae0e344d3927e5e0c1a9307c808ff38c2e64bb1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:15 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:15 Dload Upload Total Spent Left Speed 05:07:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 144k 0 --:--:-- --:--:-- --:--:-- 144k [Pipeline] sh 05:07:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:16 + sudo tee /etc/docker/daemon.new 05:07:16 { 05:07:16 "registry-mirrors": [ 05:07:16 "https://nexus3.edgexfoundry.org:10001" 05:07:16 ], 05:07:16 "bip": "10.250.0.254/24", 05:07:16 "hosts": [ 05:07:16 "tcp://0.0.0.0:5555", 05:07:16 "unix:///var/run/docker.sock" 05:07:16 ], 05:07:16 "mtu": 1458, 05:07:16 "selinux-enabled": true, 05:07:16 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:16 } [Pipeline] sh 05:07:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:35 provisioning config files... 05:07:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8291876766454077347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:36 ---> docker-login.sh 05:07:36 nexus3.edgexfoundry.org:10001 05:07:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:36 Configure a credential helper to remove this warning. See 05:07:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:36 05:07:36 Login Succeeded 05:07:36 nexus3.edgexfoundry.org:10002 05:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:37 Configure a credential helper to remove this warning. See 05:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:37 05:07:37 Login Succeeded 05:07:37 nexus3.edgexfoundry.org:10003 05:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:37 Configure a credential helper to remove this warning. See 05:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:37 05:07:37 Login Succeeded 05:07:37 nexus3.edgexfoundry.org:10004 05:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:37 Configure a credential helper to remove this warning. See 05:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:37 05:07:37 Login Succeeded 05:07:37 docker.io 05:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:38 Configure a credential helper to remove this warning. See 05:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:38 05:07:38 Login Succeeded 05:07:38 ---> docker-login.sh ends [Pipeline] } 05:07:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:38 ========================================================= 05:07:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:07:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:39 + 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:39 Sending build context to Docker daemon 2.938MB 05:07:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:07:39 Step 2/12 : FROM ${BASE} AS builder 05:07:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:40 9b18e9b68314: Pulling fs layer 05:07:40 35d82f9e3411: Pulling fs layer 05:07:40 e16973657156: Pulling fs layer 05:07:40 fc693d55d65f: Pulling fs layer 05:07:40 7e9fc2657dce: Pulling fs layer 05:07:40 dda99020689f: Pulling fs layer 05:07:40 db1c61fa0a46: Pulling fs layer 05:07:40 891c053d2c06: Pulling fs layer 05:07:40 dda99020689f: Waiting 05:07:40 db1c61fa0a46: Waiting 05:07:40 891c053d2c06: Waiting 05:07:40 fc693d55d65f: Waiting 05:07:40 7e9fc2657dce: Waiting 05:07:40 e16973657156: Verifying Checksum 05:07:40 e16973657156: Download complete 05:07:40 35d82f9e3411: Verifying Checksum 05:07:40 35d82f9e3411: Download complete 05:07:40 7e9fc2657dce: Verifying Checksum 05:07:40 7e9fc2657dce: Download complete 05:07:40 dda99020689f: Download complete 05:07:40 9b18e9b68314: Download complete 05:07:41 9b18e9b68314: Pull complete 05:07:41 891c053d2c06: Verifying Checksum 05:07:41 891c053d2c06: Download complete 05:07:41 35d82f9e3411: Pull complete 05:07:41 e16973657156: Pull complete 05:07:42 db1c61fa0a46: Verifying Checksum 05:07:42 db1c61fa0a46: Download complete 05:07:43 fc693d55d65f: Verifying Checksum 05:07:43 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:01 891c053d2c06: Pull complete 05:08:01 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:08:01 ---> f96f9c87975a 05:08:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:08:02 ---> Running in 3f53e906c75a 05:08:02 Removing intermediate container 3f53e906c75a 05:08:02 ---> 4d993f2c74bf 05:08:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:02 ---> Running in 038ca1221847 05:08:03 Removing intermediate container 038ca1221847 05:08:03 ---> 5484164e62cf 05:08:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:08:03 ---> Running in c431270a64e8 05:08:03 Removing intermediate container c431270a64e8 05:08:03 ---> cb1e38259d24 05:08:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:08:03 ---> Running in 051e089945b8 05:08:03 Removing intermediate container 051e089945b8 05:08:03 ---> 2f915f9219df 05:08:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:03 ---> Running in cce5b343bdb1 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 cce5b343bdb1 05:08:07 ---> 6eb76f96c167 05:08:07 Step 8/12 : WORKDIR /device-snmp-go 05:08:07 ---> Running in 88bad7c51844 05:08:08 Removing intermediate container 88bad7c51844 05:08:08 ---> a5c4f01570a1 05:08:08 Step 9/12 : COPY go.mod vendor* ./ 05:08:08 ---> fe1e366001f5 05:08:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:08 ---> Running in 3ce69422a81a 05:09:16 Removing intermediate container 3ce69422a81a 05:09:16 ---> b083477a64e3 05:09:16 Step 11/12 : COPY . . 05:09:16 ---> e10925cc62b3 05:09:16 Step 12/12 : RUN ${MAKE} 05:09:16 ---> Running in 34c1067876b1 05:09:16 noop 05:09:16 Removing intermediate container 34c1067876b1 05:09:16 ---> 3a20baac6df9 05:09:16 Successfully built 3a20baac6df9 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-4847 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 d03c946d22b04099b4fb8b147d84ae0205181a2716a8c16073a04f20667a7be4 -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 d03c946d22b04099b4fb8b147d84ae0205181a2716a8c16073a04f20667a7be4 05:09:22 $ docker rm -f --volumes d03c946d22b04099b4fb8b147d84ae0205181a2716a8c16073a04f20667a7be4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:23 + docker inspect -f . ci-base-image-arm64 05:09:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:23 prd-ubuntu20.04-docker-arm64-4c-16g-4847 does not seem to be running inside a container 05:09:23 $ 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 85d0ee518d6d4ced7857ac11ab7e01fdc9f4b9d75d892add51c90a876d38cfef -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:26 + 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:28 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:25 # github.com/edgexfoundry/go-mod-messaging/v3/clients 05:10:25 /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:25 *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) 05:10:25 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:25 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:25 /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:47 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 05:10:47 /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:47 /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:47 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 05:10:47 /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:47 /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:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:68:23: undefined: common.Metrics 05:10:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:78:24: undefined: common.NewMetricsResponse 05:10:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:79:41: undefined: common.ApiMetricsRoute 05:10:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/restrouter.go:60:28: undefined: common.ApiMetricsRoute 05:10:51 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 05:10:51 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 05:10:51 $ docker stop --time=1 85d0ee518d6d4ced7857ac11ab7e01fdc9f4b9d75d892add51c90a876d38cfef 05:10:53 $ docker rm -f --volumes 85d0ee518d6d4ced7857ac11ab7e01fdc9f4b9d75d892add51c90a876d38cfef [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:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:55 05:10:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:55 arm64: Pulling from edgex-lftools-log-publisher 05:10:55 8998bd30e6a1: Pulling fs layer 05:10:55 04944245beec: Pulling fs layer 05:10:55 699f458cf7ca: Pulling fs layer 05:10:55 765212b225bb: Pulling fs layer 05:10:55 f23df028b6ca: Pulling fs layer 05:10:55 d65c8cfc05b1: Pulling fs layer 05:10:55 2437ff75d9bd: Pulling fs layer 05:10:55 f23df028b6ca: Waiting 05:10:55 d65c8cfc05b1: Waiting 05:10:55 2437ff75d9bd: Waiting 05:10:55 765212b225bb: Waiting 05:10:55 04944245beec: Verifying Checksum 05:10:55 04944245beec: Download complete 05:10:55 765212b225bb: Verifying Checksum 05:10:55 765212b225bb: Download complete 05:10:55 f23df028b6ca: Download complete 05:10:55 d65c8cfc05b1: Verifying Checksum 05:10:55 d65c8cfc05b1: Download complete 05:10:56 699f458cf7ca: Verifying Checksum 05:10:56 699f458cf7ca: Download complete 05:10:56 8998bd30e6a1: Verifying Checksum 05:10:56 8998bd30e6a1: Download complete 05:10:59 2437ff75d9bd: Verifying Checksum 05:10:59 2437ff75d9bd: Download complete 05:11:00 8998bd30e6a1: Pull complete 05:11:01 04944245beec: Pull complete 05:11:02 699f458cf7ca: Pull complete 05:11:02 765212b225bb: Pull complete 05:11:03 f23df028b6ca: Pull complete 05:11:03 d65c8cfc05b1: Pull complete 05:11:18 2437ff75d9bd: Pull complete 05:11:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:18 prd-ubuntu20.04-docker-arm64-4c-16g-4847 does not seem to be running inside a container 05:11:18 $ 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:21 $ docker top 02eb28c21a3923f38ca9235f1bd9d6a82d0e63b6dd691960d772eb47a3973359 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:22 ---> job-cost.sh 05:11:22 lf-activate-venv: SKIPPING 05:11:22 INFO: No Stack... 05:11:23 INFO: Retrieving Pricing Info for: v3-standard-4 05:11:24 INFO: Archiving Costs [Pipeline] sh 05:11:24 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:11:24 + cut -d, -f6 [Pipeline] lock 05:11:24 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-227-1-stack-cost] 05:11:24 Resource [jenkins-edgexfoundry-device-snmp-go-PR-227-1-stack-cost] did not exist. Created. 05:11:24 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:25 /w/workspace/device-snmp-go/1@tmp/durable-409c7aae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:11:26 + echo total: 0.10999999940395355 [Pipeline] stash 05:11:26 Warning: overwriting stash ‘stack-cost’ 05:11:26 Stashed 1 file(s) [Pipeline] } 05:11:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:26 $ docker stop --time=1 02eb28c21a3923f38ca9235f1bd9d6a82d0e63b6dd691960d772eb47a3973359 05:11:28 $ docker rm -f --volumes 02eb28c21a3923f38ca9235f1bd9d6a82d0e63b6dd691960d772eb47a3973359 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:11:29 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:31 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-227/archives ] 05:11:31 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-227/archives 05:11:31 total 16 05:11:31 drwxr-xr-x 3 root root 4096 Feb 7 05:05 . 05:11:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 05:05 .. 05:11:31 drwxr-xr-x 2 root root 4096 Feb 7 05:05 cost 05:11:31 -rw-r--r-- 1 root root 86 Feb 7 05:05 cost.csv 05:11:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-227/archives 05:11:31 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-227/archives 05:11:31 total 16 05:11:31 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 05:05 . 05:11:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 05:05 .. 05:11:31 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 05:05 cost 05:11:31 -rw-r--r-- 1 jenkins jenkins 86 Feb 7 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:32 ---> package-listing.sh 05:11:32 ++ tr '[:upper:]' '[:lower:]' 05:11:32 ++ facter osfamily 05:11:32 + OS_FAMILY=debian 05:11:32 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-227 05:11:32 + START_PACKAGES=/tmp/packages_start.txt 05:11:32 + END_PACKAGES=/tmp/packages_end.txt 05:11:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:32 + PACKAGES=/tmp/packages_start.txt 05:11:32 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-227 ']' 05:11:32 + PACKAGES=/tmp/packages_end.txt 05:11:32 + case "${OS_FAMILY}" in 05:11:32 + dpkg -l 05:11:32 + grep '^ii' 05:11:32 + '[' -f /tmp/packages_start.txt ']' 05:11:32 + '[' -f /tmp/packages_end.txt ']' 05:11:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:32 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-227 ']' 05:11:32 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-227/archives/ 05:11:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-227/archives/ [Pipeline] echo 05:11:32 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-227/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:33 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 05:11:33 $ 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-227/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-227 -v /w/workspace/gexfoundry_device-snmp-go_PR-227:/w/workspace/gexfoundry_device-snmp-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-227@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-227@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:11:33 $ docker top 1be9f694b8d293817484e05067931685696785d55f159dbe6c0b6c7d6fc66cec -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:34 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:34 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:34 + ls /var/log/sa-host 05:11:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:35 provisioning config files... 05:11:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-227@tmp/config11376000531169797568tmp [Pipeline] { [Pipeline] echo 05:11:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:35 ---> create-netrc.sh [Pipeline] } 05:11:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:35 ---> python-tools-install.sh [Pipeline] echo 05:11:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:36 ---> sudo-logs.sh 05:11:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:11:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:36 ---> job-cost.sh 05:11:36 lf-activate-venv: SKIPPING 05:11:36 DEBUG: total: 0.2199999988079071 05:11:36 INFO: Retrieving Stack Cost... 05:11:36 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:37 INFO: Archiving Costs [Pipeline] echo 05:11:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:37 ---> logs-deploy.sh 05:11:37 lf-activate-venv: SKIPPING 05:11:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-227/1 05:11:37 INFO: archiving workspace using pattern(s): 05:11:38 Archives upload complete. 05:11:38 INFO: archiving logs to Nexus 05:11:39 ---> uname -a: 05:11:39 Linux prd-ubuntu20-04-docker-8c-8g-4843 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:11:39 05:11:39 05:11:39 ---> lscpu: 05:11:39 Architecture: x86_64 05:11:39 CPU op-mode(s): 32-bit, 64-bit 05:11:39 Byte Order: Little Endian 05:11:39 Address sizes: 40 bits physical, 48 bits virtual 05:11:39 CPU(s): 8 05:11:39 On-line CPU(s) list: 0-7 05:11:39 Thread(s) per core: 1 05:11:39 Core(s) per socket: 1 05:11:39 Socket(s): 8 05:11:39 NUMA node(s): 1 05:11:39 Vendor ID: AuthenticAMD 05:11:39 CPU family: 23 05:11:39 Model: 49 05:11:39 Model name: AMD EPYC-Rome Processor 05:11:39 Stepping: 0 05:11:39 CPU MHz: 2799.998 05:11:39 BogoMIPS: 5599.99 05:11:39 Virtualization: AMD-V 05:11:39 Hypervisor vendor: KVM 05:11:39 Virtualization type: full 05:11:39 L1d cache: 256 KiB 05:11:39 L1i cache: 256 KiB 05:11:39 L2 cache: 4 MiB 05:11:39 L3 cache: 128 MiB 05:11:39 NUMA node0 CPU(s): 0-7 05:11:39 Vulnerability Itlb multihit: Not affected 05:11:39 Vulnerability L1tf: Not affected 05:11:39 Vulnerability Mds: Not affected 05:11:39 Vulnerability Meltdown: Not affected 05:11:39 Vulnerability Mmio stale data: Not affected 05:11:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:11:39 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:11:39 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:11:39 Vulnerability Srbds: Not affected 05:11:39 Vulnerability Tsx async abort: Not affected 05:11:39 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:39 05:11:39 05:11:39 ---> nproc: 05:11:39 8 05:11:39 05:11:39 05:11:39 ---> df -h: 05:11:39 Filesystem Size Used Avail Use% Mounted on 05:11:39 overlay 155G 12G 144G 8% / 05:11:39 tmpfs 64M 0 64M 0% /dev 05:11:39 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:11:39 shm 64M 0 64M 0% /dev/shm 05:11:39 /dev/vda1 155G 12G 144G 8% /facter-os 05:11:39 05:11:39 05:11:39 ---> sar -b -r -n DEV: 05:11:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4843) 02/07/23 _x86_64_ (8 CPU) 05:11:39 05:11:39 05:03:02 LINUX RESTART (8 CPU) 05:11:39 05:11:39 05:04:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:11:39 05:05:01 211.46 1.28 210.19 0.00 46.47 89443.64 0.00 05:11:39 05:06:01 3.98 0.12 3.87 0.00 2.13 59.61 0.00 05:11:39 05:07:01 0.92 0.00 0.92 0.00 0.00 10.40 0.00 05:11:39 05:08:01 1.63 0.00 1.63 0.00 0.00 19.59 0.00 05:11:39 05:09:01 56.89 11.66 45.23 0.00 5186.60 8876.25 0.00 05:11:39 05:10:01 4.38 0.02 4.37 0.00 0.13 101.05 0.00 05:11:39 05:11:01 1.35 0.00 1.35 0.00 0.00 14.53 0.00 05:11:39 Average: 39.27 1.87 37.40 0.00 751.23 13715.94 0.00 05:11:39 05:11:39 05:04:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:11:39 05:05:01 28027252 31568424 735848 2.24 147404 3564908 2136812 6.30 1171272 3207516 68 05:11:39 05:06:01 28060232 31601800 702180 2.14 147520 3565064 1779752 5.25 1147900 3195328 24 05:11:39 05:07:01 28060504 31602108 701476 2.13 147552 3565064 1779752 5.25 1147964 3195328 16 05:11:39 05:08:01 28067036 31609312 694484 2.11 147592 3565072 1779752 5.25 1140312 3195920 16 05:11:39 05:09:01 27536528 31585844 701564 2.13 181684 4020880 1819296 5.36 1465036 3364888 224 05:11:39 05:10:01 27547376 31591900 695840 2.12 180292 4017620 1793796 5.29 1458236 3361696 0 05:11:39 05:11:01 27547596 31592252 695300 2.11 180368 4017632 1793796 5.29 1458396 3361696 8 05:11:39 Average: 27835218 31593091 703813 2.14 161773 3759463 1840422 5.42 1284159 3268910 51 05:11:39 05:11:39 05:04:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:11:39 05:05:01 ens3 370.80 297.21 4494.43 119.94 0.00 0.00 0.00 0.00 05:11:39 05:05:01 lo 0.90 0.90 0.09 0.09 0.00 0.00 0.00 0.00 05:11:39 05:05:01 docker0 179.71 215.62 13.88 1856.07 0.00 0.00 0.00 0.00 05:11:39 05:06:01 ens3 6.60 4.03 5.73 3.04 0.00 0.00 0.00 0.00 05:11:39 05:06:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 05:11:39 05:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:39 05:07:01 ens3 0.85 0.55 0.51 0.40 0.00 0.00 0.00 0.00 05:11:39 05:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:39 05:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:39 05:08:01 ens3 1.73 0.95 3.67 0.06 0.00 0.00 0.00 0.00 05:11:39 05:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:11:39 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:39 05:09:01 ens3 173.89 102.62 2754.57 7.34 0.00 0.00 0.00 0.00 05:11:39 05:09:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 05:11:39 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:39 05:10:01 ens3 0.28 0.20 0.02 0.01 0.00 0.00 0.00 0.00 05:11:39 05:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:11:39 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:39 05:11:01 ens3 0.10 0.00 0.01 0.00 0.00 0.00 0.00 0.00 05:11:39 05:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:39 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:11:39 Average: ens3 77.79 56.80 1020.51 18.20 0.00 0.00 0.00 0.00 05:11:39 Average: lo 0.31 0.31 0.03 0.03 0.00 0.00 0.00 0.00 05:11:39 Average: docker0 24.94 29.92 1.93 257.57 0.00 0.00 0.00 0.00 05:11:39 05:11:39 05:11:39 ---> sar -P ALL: 05:11:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4843) 02/07/23 _x86_64_ (8 CPU) 05:11:39 05:11:39 05:03:02 LINUX RESTART (8 CPU) 05:11:39 05:11:39 05:04:03 CPU %user %nice %system %iowait %steal %idle 05:11:39 05:05:01 all 19.27 0.00 5.82 2.22 0.14 72.55 05:11:39 05:05:01 0 19.82 0.00 5.25 0.09 0.09 74.75 05:11:39 05:05:01 1 19.03 0.00 5.15 0.93 0.10 74.79 05:11:39 05:05:01 2 19.48 0.00 4.94 0.24 0.09 75.24 05:11:39 05:05:01 3 19.16 0.00 6.33 0.63 0.16 73.73 05:11:39 05:05:01 4 19.02 0.00 7.64 11.92 0.14 61.29 05:11:39 05:05:01 5 19.74 0.00 5.49 0.09 0.14 74.55 05:11:39 05:05:01 6 19.42 0.00 5.97 3.43 0.18 71.01 05:11:39 05:05:01 7 18.48 0.00 5.83 0.48 0.19 75.03 05:11:39 05:06:01 all 0.24 0.00 0.06 0.01 0.01 99.69 05:11:39 05:06:01 0 0.08 0.00 0.07 0.00 0.02 99.83 05:11:39 05:06:01 1 0.12 0.00 0.07 0.02 0.00 99.80 05:11:39 05:06:01 2 0.70 0.00 0.05 0.00 0.02 99.23 05:11:39 05:06:01 3 0.18 0.00 0.05 0.02 0.00 99.75 05:11:39 05:06:01 4 0.17 0.00 0.05 0.05 0.00 99.73 05:11:39 05:06:01 5 0.18 0.00 0.05 0.00 0.00 99.77 05:11:39 05:06:01 6 0.32 0.00 0.05 0.00 0.02 99.62 05:11:39 05:06:01 7 0.13 0.00 0.08 0.00 0.02 99.77 05:11:39 05:07:01 all 0.26 0.00 0.00 0.00 0.00 99.73 05:11:39 05:07:01 0 0.03 0.00 0.02 0.00 0.00 99.95 05:11:39 05:07:01 1 0.00 0.00 0.00 0.00 0.02 99.98 05:11:39 05:07:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:11:39 05:07:01 3 0.02 0.00 0.00 0.00 0.02 99.97 05:11:39 05:07:01 4 0.00 0.00 0.02 0.02 0.00 99.97 05:11:39 05:07:01 5 0.05 0.00 0.00 0.00 0.00 99.95 05:11:39 05:07:01 6 1.97 0.00 0.00 0.00 0.00 98.03 05:11:39 05:07:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:11:39 05:08:01 all 0.27 0.00 0.01 0.00 0.01 99.71 05:11:39 05:08:01 0 0.03 0.00 0.03 0.00 0.02 99.92 05:11:39 05:08:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:11:39 05:08:01 2 0.03 0.00 0.02 0.00 0.00 99.95 05:11:39 05:08:01 3 0.02 0.00 0.02 0.00 0.00 99.97 05:11:39 05:08:01 4 0.03 0.00 0.00 0.00 0.00 99.97 05:11:39 05:08:01 5 0.00 0.00 0.00 0.00 0.02 99.98 05:11:39 05:08:01 6 1.97 0.00 0.00 0.00 0.00 98.03 05:11:39 05:08:01 7 0.05 0.00 0.03 0.02 0.02 99.88 05:11:39 05:09:01 all 2.31 0.00 1.43 0.48 0.03 95.75 05:11:39 05:09:01 0 2.49 0.00 1.39 0.25 0.02 95.86 05:11:39 05:09:01 1 2.64 0.00 1.35 0.40 0.05 95.56 05:11:39 05:09:01 2 3.27 0.00 1.25 0.48 0.03 94.95 05:11:39 05:09:01 3 2.75 0.00 1.70 0.27 0.03 95.24 05:11:39 05:09:01 4 1.10 0.00 1.57 1.82 0.02 95.49 05:11:39 05:09:01 5 1.70 0.00 1.45 0.08 0.02 96.74 05:11:39 05:09:01 6 3.28 0.00 1.05 0.07 0.02 95.59 05:11:39 05:09:01 7 1.26 0.00 1.65 0.45 0.05 96.59 05:11:39 05:10:01 all 0.08 0.00 0.05 0.01 0.01 99.85 05:11:39 05:10:01 0 0.08 0.00 0.05 0.00 0.02 99.85 05:11:39 05:10:01 1 0.07 0.00 0.03 0.00 0.02 99.88 05:11:39 05:10:01 2 0.02 0.00 0.08 0.05 0.02 99.83 05:11:39 05:10:01 3 0.07 0.00 0.05 0.00 0.00 99.88 05:11:39 05:10:01 4 0.02 0.00 0.03 0.07 0.02 99.87 05:11:39 05:10:01 5 0.07 0.00 0.05 0.00 0.00 99.88 05:11:39 05:10:01 6 0.03 0.00 0.07 0.00 0.00 99.90 05:11:39 05:10:01 7 0.25 0.00 0.07 0.00 0.00 99.68 05:11:39 05:11:01 all 0.01 0.00 0.01 0.01 0.00 99.96 05:11:39 05:11:01 0 0.03 0.00 0.02 0.00 0.00 99.95 05:11:39 05:11:01 1 0.00 0.00 0.05 0.00 0.02 99.93 05:11:39 05:11:01 2 0.02 0.00 0.00 0.02 0.00 99.97 05:11:39 05:11:01 3 0.00 0.00 0.02 0.00 0.00 99.98 05:11:39 05:11:01 4 0.00 0.00 0.00 0.03 0.00 99.97 05:11:39 05:11:01 5 0.02 0.00 0.02 0.00 0.00 99.97 05:11:39 05:11:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:11:39 05:11:01 7 0.02 0.00 0.02 0.00 0.02 99.95 05:11:39 Average: all 3.09 0.00 1.02 0.38 0.03 95.48 05:11:39 Average: 0 3.12 0.00 0.95 0.05 0.02 95.87 05:11:39 Average: 1 3.02 0.00 0.92 0.19 0.03 95.84 05:11:39 Average: 2 3.25 0.00 0.88 0.11 0.02 95.73 05:11:39 Average: 3 3.06 0.00 1.13 0.13 0.03 95.66 05:11:39 Average: 4 2.79 0.00 1.29 1.92 0.02 93.98 05:11:39 Average: 5 3.00 0.00 0.98 0.02 0.02 95.97 05:11:39 Average: 6 3.73 0.00 0.98 0.48 0.03 94.79 05:11:39 Average: 7 2.77 0.00 1.06 0.13 0.04 95.99 05:11:39 05:11:39 05:11:39