Pull request #254 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0bb028a050937fac890e298a2830405772ef1d50+82433e1744898ef8ca7a6a52854ffd2316e26b0f (5ab9ccbc19191297a13edc8602e9f2ff98d17496) 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-ssh12774051989119792008.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-ssh4646892381541394341.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9920843505495110317.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 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-ssh551634950944643224.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12943544639851976160.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-9378 in /w/workspace/gexfoundry_device-snmp-go_PR-254 [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-254 # 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 82433e1744898ef8ca7a6a52854ffd2316e26b0f into PR head commit 0bb028a050937fac890e298a2830405772ef1d50 Merge succeeded, producing 0bb028a050937fac890e298a2830405772ef1d50 Checking out Revision 0bb028a050937fac890e298a2830405772ef1d50 (PR-254) > 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/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0bb028a050937fac890e298a2830405772ef1d50 # 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 82433e1744898ef8ca7a6a52854ffd2316e26b0f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0bb028a050937fac890e298a2830405772ef1d50 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:24:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:24:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:24:27 ========================================================= 03:24:27 EdgeX Global Pipelines Version Info 03:24:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e1443025a50c1c02b91f129322ee37076f9347ec # timeout=10 03:24:28 ------------------- 03:24:28 stable info: 03:24:28 ------------------- 03:24:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:24:28 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:24:28 Message: update stable to v1.0.244 03:24:28 ------------------- 03:24:28 experimental info: 03:24:28 ------------------- 03:24:28 Commited By: **** collab-it+edgex@linuxfoundation.org 03:24:28 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:24:28 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:24:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0bb028a050937fac890e298a2830405772ef1d50 [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0bb028a [Pipeline] echo 03:24:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:29 provisioning config files... 03:24:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/config8767393334006714148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:29 ---> docker-login.sh 03:24:29 nexus3.edgexfoundry.org:10001 03:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:29 Configure a credential helper to remove this warning. See 03:24:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:29 03:24:29 Login Succeeded 03:24:29 nexus3.edgexfoundry.org:10002 03:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:30 Configure a credential helper to remove this warning. See 03:24:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:30 03:24:30 Login Succeeded 03:24:30 nexus3.edgexfoundry.org:10003 03:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:30 Configure a credential helper to remove this warning. See 03:24:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:30 03:24:30 Login Succeeded 03:24:30 nexus3.edgexfoundry.org:10004 03:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:30 Configure a credential helper to remove this warning. See 03:24:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:30 03:24:30 Login Succeeded 03:24:30 docker.io 03:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:30 Configure a credential helper to remove this warning. See 03:24:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:30 03:24:30 Login Succeeded 03:24:30 ---> docker-login.sh ends [Pipeline] } 03:24:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:24:30 + git rev-list -1 --merges 0bb028a050937fac890e298a2830405772ef1d50~1..0bb028a050937fac890e298a2830405772ef1d50 [Pipeline] echo 03:24:30 -----------> git rev-list -1 --merges 0bb028a050937fac890e298a2830405772ef1d50~1..0bb028a050937fac890e298a2830405772ef1d50 0bb028a050937fac890e298a2830405772ef1d50 [false] [Pipeline] sh 03:24:31 + git log --format=format:%s -1 0bb028a050937fac890e298a2830405772ef1d50 [Pipeline] echo 03:24:31 ========================================================= 03:24:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:24:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:24:31 + git log --format=format:%s -1 0bb028a050937fac890e298a2830405772ef1d50 [Pipeline] echo 03:24:31 [semverPrep] GIT_COMMIT: 0bb028a050937fac890e298a2830405772ef1d50, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 03:24:31 [semverPrep] This is not a build commit. [Pipeline] sh 03:24:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:24:31 + grep -v github /etc/ssh/ssh_known_hosts 03:24:31 + [ -e /tmp/ssh_known_hosts ] 03:24:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:24:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:24:31 + sudo tee -a /etc/ssh/ssh_known_hosts 03:24:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:32 03:24:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:32 0.1.4: Pulling from edgex-devops/py-git-semver 03:24:32 b85a868b505f: Pulling fs layer 03:24:32 e2be974225ed: Pulling fs layer 03:24:32 339a4e72a1f5: Pulling fs layer 03:24:32 988bab9f4d93: Pulling fs layer 03:24:32 1469e6f7b9e6: Pulling fs layer 03:24:32 eaf3925da568: Pulling fs layer 03:24:32 bab4dde63d76: Pulling fs layer 03:24:32 bde34c3a00c8: Pulling fs layer 03:24:32 b352a97aabf1: Pulling fs layer 03:24:32 4872d77fe225: Pulling fs layer 03:24:32 5851b861e8e6: Pulling fs layer 03:24:32 bab4dde63d76: Waiting 03:24:32 bde34c3a00c8: Waiting 03:24:32 b352a97aabf1: Waiting 03:24:32 4872d77fe225: Waiting 03:24:32 5851b861e8e6: Waiting 03:24:32 988bab9f4d93: Waiting 03:24:32 1469e6f7b9e6: Waiting 03:24:32 eaf3925da568: Waiting 03:24:32 e2be974225ed: Verifying Checksum 03:24:32 e2be974225ed: Download complete 03:24:32 988bab9f4d93: Download complete 03:24:32 1469e6f7b9e6: Verifying Checksum 03:24:32 1469e6f7b9e6: Download complete 03:24:32 339a4e72a1f5: Verifying Checksum 03:24:32 339a4e72a1f5: Download complete 03:24:32 eaf3925da568: Download complete 03:24:32 bde34c3a00c8: Verifying Checksum 03:24:32 bde34c3a00c8: Download complete 03:24:33 b352a97aabf1: Download complete 03:24:33 4872d77fe225: Verifying Checksum 03:24:33 4872d77fe225: Download complete 03:24:33 5851b861e8e6: Verifying Checksum 03:24:33 5851b861e8e6: Download complete 03:24:33 b85a868b505f: Verifying Checksum 03:24:33 b85a868b505f: Download complete 03:24:33 bab4dde63d76: Verifying Checksum 03:24:33 bab4dde63d76: Download complete 03:24:34 b85a868b505f: Pull complete 03:24:34 e2be974225ed: Pull complete 03:24:34 339a4e72a1f5: Pull complete 03:24:34 988bab9f4d93: Pull complete 03:24:35 1469e6f7b9e6: Pull complete 03:24:35 eaf3925da568: Pull complete 03:24:36 bab4dde63d76: Pull complete 03:24:36 bde34c3a00c8: Pull complete 03:24:36 b352a97aabf1: Pull complete 03:24:36 4872d77fe225: Pull complete 03:24:36 5851b861e8e6: Pull complete 03:24:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:37 prd-ubuntu20.04-docker-8c-8g-9378 does not seem to be running inside a container 03:24:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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-devops/py-git-semver:0.1.4 cat 03:24:38 $ docker top 01c1025139f5606f285d1bbabf0ae07b0aabf152493d9ba04592b07e06d4157f -eo pid,comm 03:24:38 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). 03:24:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:24:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:38 [ssh-agent] Looking for ssh-agent implementation... 03:24:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:38 $ docker exec 01c1025139f5606f285d1bbabf0ae07b0aabf152493d9ba04592b07e06d4157f ssh-agent 03:24:38 SSH_AUTH_SOCK=/tmp/ssh-wszu8XKylmc5/agent.33 03:24:38 SSH_AGENT_PID=39 03:24:38 Running ssh-add (command line suppressed) 03:24:39 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/private_key_7403823052829097789.key (/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/private_key_7403823052829097789.key) 03:24:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:39 + git tag --points-at HEAD [Pipeline] } 03:24:39 $ docker exec --env ******** --env ******** 01c1025139f5606f285d1bbabf0ae07b0aabf152493d9ba04592b07e06d4157f ssh-agent -k 03:24:39 unset SSH_AUTH_SOCK; 03:24:39 unset SSH_AGENT_PID; 03:24:39 echo Agent pid 39 killed; 03:24:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:24:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:39 [ssh-agent] Looking for ssh-agent implementation... 03:24:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:39 $ docker exec 01c1025139f5606f285d1bbabf0ae07b0aabf152493d9ba04592b07e06d4157f ssh-agent 03:24:39 SSH_AUTH_SOCK=/tmp/ssh-BODXhMohDQxt/agent.71 03:24:39 SSH_AGENT_PID=77 03:24:39 Running ssh-add (command line suppressed) 03:24:39 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/private_key_11335266514803725844.key (/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/private_key_11335266514803725844.key) 03:24:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:40 + git semver init 03:24:40 2023-03-09 03:24:40,281 [run_init] DEBUG init version:0.0.0 force:False 03:24:40 2023-03-09 03:24:40,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver 03:24:40 2023-03-09 03:24:40,282 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-254/.semver 03:24:40 2023-03-09 03:24:40,283 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-254, universal_newlines=False, shell=None, istream=None) 03:24:41 2023-03-09 03:24:41,053 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-254/.git/info/exclude 03:24:41 2023-03-09 03:24:41,054 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver/PR-254 with force:False 03:24:41 2023-03-09 03:24:41,054 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver/PR-254 03:24:41 2023-03-09 03:24:41,057 [execute] INFO git cat-file --batch-check 03:24:41 2023-03-09 03:24:41,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver, universal_newlines=False, shell=None, istream=) 03:24:41 2023-03-09 03:24:41,063 [execute] INFO git cat-file --batch 03:24:41 2023-03-09 03:24:41,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-254/.semver, universal_newlines=False, shell=None, istream=) 03:24:41 2023-03-09 03:24:41,068 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-254/.semver/PR-254 03:24:41 0.0.0 [Pipeline] } 03:24:41 $ docker exec --env ******** --env ******** 01c1025139f5606f285d1bbabf0ae07b0aabf152493d9ba04592b07e06d4157f ssh-agent -k 03:24:41 unset SSH_AUTH_SOCK; 03:24:41 unset SSH_AGENT_PID; 03:24:41 echo Agent pid 77 killed; 03:24:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:24:41 + git semver [Pipeline] } 03:24:41 $ docker stop --time=1 01c1025139f5606f285d1bbabf0ae07b0aabf152493d9ba04592b07e06d4157f 03:24:43 $ docker rm -f --volumes 01c1025139f5606f285d1bbabf0ae07b0aabf152493d9ba04592b07e06d4157f [Pipeline] // withDockerContainer [Pipeline] sh 03:24:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:24:43 Stashed 1 file(s) [Pipeline] echo 03:24:43 [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 03:24:43 provisioning config files... 03:24:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/config7485686968286300144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:44 ---> docker-login.sh 03:24:44 nexus3.edgexfoundry.org:10001 03:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:44 Configure a credential helper to remove this warning. See 03:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:44 03:24:44 Login Succeeded 03:24:44 nexus3.edgexfoundry.org:10002 03:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:44 Configure a credential helper to remove this warning. See 03:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:44 03:24:44 Login Succeeded 03:24:44 nexus3.edgexfoundry.org:10003 03:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:44 Configure a credential helper to remove this warning. See 03:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:44 03:24:44 Login Succeeded 03:24:44 nexus3.edgexfoundry.org:10004 03:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:44 Configure a credential helper to remove this warning. See 03:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:44 03:24:44 Login Succeeded 03:24:44 docker.io 03:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:44 Configure a credential helper to remove this warning. See 03:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:44 03:24:44 Login Succeeded 03:24:44 ---> docker-login.sh ends [Pipeline] } 03:24:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:24:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:24:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:24:44 ========================================================= 03:24:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:24:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:45 + 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 . 03:24:45 Sending build context to Docker daemon 5.708MB 03:24:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 03:24:45 Step 2/12 : FROM ${BASE} AS builder 03:24:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:24:45 213ec9aee27d: Pulling fs layer 03:24:45 4583459ba037: Pulling fs layer 03:24:45 93c1e223e6f2: Pulling fs layer 03:24:45 53926ce57604: Pulling fs layer 03:24:45 21b2b0c7a3f4: Pulling fs layer 03:24:45 22ff95d597cd: Pulling fs layer 03:24:45 12d6caf4c0d1: Pulling fs layer 03:24:45 96b7cbca73a9: Pulling fs layer 03:24:45 a7acece74701: Pulling fs layer 03:24:45 53926ce57604: Waiting 03:24:45 21b2b0c7a3f4: Waiting 03:24:45 22ff95d597cd: Waiting 03:24:45 12d6caf4c0d1: Waiting 03:24:45 a7acece74701: Waiting 03:24:45 93c1e223e6f2: Verifying Checksum 03:24:45 93c1e223e6f2: Download complete 03:24:45 4583459ba037: Verifying Checksum 03:24:45 4583459ba037: Download complete 03:24:45 21b2b0c7a3f4: Verifying Checksum 03:24:45 21b2b0c7a3f4: Download complete 03:24:45 22ff95d597cd: Download complete 03:24:45 213ec9aee27d: Verifying Checksum 03:24:45 213ec9aee27d: Download complete 03:24:45 12d6caf4c0d1: Download complete 03:24:45 213ec9aee27d: Pull complete 03:24:45 4583459ba037: Pull complete 03:24:45 93c1e223e6f2: Pull complete 03:24:46 a7acece74701: Verifying Checksum 03:24:46 a7acece74701: Download complete 03:24:46 96b7cbca73a9: Verifying Checksum 03:24:46 96b7cbca73a9: Download complete 03:24:46 53926ce57604: Verifying Checksum 03:24:46 53926ce57604: Download complete 03:24:50 53926ce57604: Pull complete 03:24:50 21b2b0c7a3f4: Pull complete 03:24:50 22ff95d597cd: Pull complete 03:24:50 12d6caf4c0d1: Pull complete 03:24:52 96b7cbca73a9: Pull complete 03:24:53 a7acece74701: Pull complete 03:24:53 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 03:24:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:24:53 ---> db6d94c90886 03:24:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:24:55 ---> Running in 819aa5ba7e43 03:24:55 Removing intermediate container 819aa5ba7e43 03:24:55 ---> 50c3e938980e 03:24:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:24:55 ---> Running in efd25dfc7b74 03:24:55 Removing intermediate container efd25dfc7b74 03:24:55 ---> 7825a0707044 03:24:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:24:55 ---> Running in 2c25f3d6ab87 03:24:55 Removing intermediate container 2c25f3d6ab87 03:24:55 ---> 30b224e55b89 03:24:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:24:55 ---> Running in 538d6f4b08e0 03:24:55 Removing intermediate container 538d6f4b08e0 03:24:55 ---> e9c8bf98225b 03:24:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:55 ---> Running in 734cf52456c1 03:24:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:24:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:24:56 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:24:56 (2/4) Installing libedit (20210910.3.1-r0) 03:24:56 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:24:56 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:24:56 Executing busybox-1.35.0-r17.trigger 03:24:56 OK: 216 MiB in 55 packages 03:24:57 Removing intermediate container 734cf52456c1 03:24:57 ---> 7b5af331732e 03:24:57 Step 8/12 : WORKDIR /device-snmp-go 03:24:57 ---> Running in 9762c233809b 03:24:57 Removing intermediate container 9762c233809b 03:24:57 ---> 632c61bfe049 03:24:57 Step 9/12 : COPY go.mod vendor* ./ 03:24:57 ---> 7d83c62f8e01 03:24:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:57 ---> Running in 915b9c856e55 03:24:58 Still waiting to schedule task 03:24:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:25:23 Removing intermediate container 915b9c856e55 03:25:23 ---> 726b8055c3e8 03:25:23 Step 11/12 : COPY . . 03:25:23 ---> b9017fda939a 03:25:23 Step 12/12 : RUN ${MAKE} 03:25:23 ---> Running in 81a21bc86189 03:25:23 noop 03:25:23 Removing intermediate container 81a21bc86189 03:25:23 ---> 4a74b1625cba 03:25:23 Successfully built 4a74b1625cba 03:25:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:24 + docker inspect -f . ci-base-image-x86_64 03:25:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:24 prd-ubuntu20.04-docker-8c-8g-9378 does not seem to be running inside a container 03:25:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:25:24 $ docker top c5a09bb78be45009f2e1c8ed2c7de87ca40eeef87bc8f4885e68167b7a62818a -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:25 + go version 03:25:25 go version go1.18.7 linux/amd64 [Pipeline] } 03:25:25 $ docker stop --time=1 c5a09bb78be45009f2e1c8ed2c7de87ca40eeef87bc8f4885e68167b7a62818a 03:25:26 $ docker rm -f --volumes c5a09bb78be45009f2e1c8ed2c7de87ca40eeef87bc8f4885e68167b7a62818a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:26 + docker inspect -f . ci-base-image-x86_64 03:25:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:26 prd-ubuntu20.04-docker-8c-8g-9378 does not seem to be running inside a container 03:25:26 $ 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-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:25:27 $ docker top 6ad92fdeb0320b985b724cfabb32eaa5fc54bfd80c8fbfa8a2d638ea95c99548 -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-254 [Pipeline] fileExists [Pipeline] sh 03:25:27 + make test 03:25:27 go test ./... -coverprofile=coverage.out 03:25:28 ? github.com/edgexfoundry/device-snmp-go [no test files] 03:25:33 # github.com/edgexfoundry/device-snmp-go/internal/driver 03:25:33 internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as type string in argument to strconv.ParseUint: 03:25:33 need type assertion 03:25:33 internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as type string in argument to NewSNMPClient: 03:25:33 need type assertion 03:25:36 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 03:25:36 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.28/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice 03:25:36 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:118:39: not enough arguments in call to clients.NewCommandClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:130:43: not enough arguments in call to clients.NewNotificationClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewSubscriptionClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:140:39: not enough arguments in call to clients.NewIntervalClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: not enough arguments in call to clients.NewIntervalActionClient 03:25:36 have (string) 03:25:36 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:25:36 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: too many errors 03:25:36 FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] 03:25:36 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 03:25:36 $ docker stop --time=1 6ad92fdeb0320b985b724cfabb32eaa5fc54bfd80c8fbfa8a2d638ea95c99548 03:25:38 $ docker rm -f --volumes 6ad92fdeb0320b985b724cfabb32eaa5fc54bfd80c8fbfa8a2d638ea95c99548 [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 03:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:38 03:25:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:39 latest: Pulling from edgex-lftools-log-publisher 03:25:39 5eb5b503b376: Pulling fs layer 03:25:39 5c69ac0246d0: Pulling fs layer 03:25:39 ec43610c2a17: Pulling fs layer 03:25:39 3a2ae6a8a46f: Pulling fs layer 03:25:39 33b1e0a273af: Pulling fs layer 03:25:39 5d3b04190fa2: Pulling fs layer 03:25:39 2f39f015ded8: Pulling fs layer 03:25:39 33b1e0a273af: Waiting 03:25:39 5d3b04190fa2: Waiting 03:25:39 2f39f015ded8: Waiting 03:25:39 3a2ae6a8a46f: Waiting 03:25:39 5c69ac0246d0: Download complete 03:25:39 3a2ae6a8a46f: Verifying Checksum 03:25:39 3a2ae6a8a46f: Download complete 03:25:39 33b1e0a273af: Verifying Checksum 03:25:39 33b1e0a273af: Download complete 03:25:39 5d3b04190fa2: Verifying Checksum 03:25:39 5d3b04190fa2: Download complete 03:25:39 ec43610c2a17: Verifying Checksum 03:25:39 ec43610c2a17: Download complete 03:25:39 5eb5b503b376: Verifying Checksum 03:25:39 5eb5b503b376: Download complete 03:25:40 2f39f015ded8: Download complete 03:25:40 5eb5b503b376: Pull complete 03:25:40 5c69ac0246d0: Pull complete 03:25:41 ec43610c2a17: Pull complete 03:25:41 3a2ae6a8a46f: Pull complete 03:25:41 33b1e0a273af: Pull complete 03:25:41 5d3b04190fa2: Pull complete 03:25:47 2f39f015ded8: Pull complete 03:25:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:47 prd-ubuntu20.04-docker-8c-8g-9378 does not seem to be running inside a container 03:25:47 $ 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-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:25:49 $ docker top 3d04bd43c835f6d53ee341fd39621a7fea9bdd30ca15cc278ac58bf8af8c7cc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:49 ---> job-cost.sh 03:25:49 lf-activate-venv: SKIPPING 03:25:49 INFO: No Stack... 03:25:50 INFO: Retrieving Pricing Info for: v3-standard-8 03:25:50 INFO: Archiving Costs [Pipeline] sh 03:25:50 + cat /w/workspace/gexfoundry_device-snmp-go_PR-254/archives/cost.csv 03:25:50 + cut -d, -f6 [Pipeline] lock 03:25:50 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-254-3-stack-cost] 03:25:50 Resource [jenkins-edgexfoundry-device-snmp-go-PR-254-3-stack-cost] did not exist. Created. 03:25:50 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-254-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:25:51 + echo total: 0.2199999988079071 [Pipeline] stash 03:25:51 Stashed 1 file(s) [Pipeline] } 03:25:51 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-254-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:25:51 $ docker stop --time=1 3d04bd43c835f6d53ee341fd39621a7fea9bdd30ca15cc278ac58bf8af8c7cc8 03:25:52 $ docker rm -f --volumes 3d04bd43c835f6d53ee341fd39621a7fea9bdd30ca15cc278ac58bf8af8c7cc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:25:52 Failed in branch amd64 03:27:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9383 in /w/workspace/gexfoundry_device-snmp-go_PR-254 [Pipeline] { [Pipeline] ws 03:27:54 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 03:27:54 Selected Git installation does not exist. Using Default 03:27:54 The recommended git tool is: NONE 03:28:01 using credential edgex-jenkins-ssh 03:28:01 Cloning the remote Git repository 03:28:01 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 03:28:01 > git init /w/workspace/device-snmp-go/3 # timeout=10 03:28:01 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:28:01 > git --version # timeout=10 03:28:01 > git --version # 'git version 2.25.1' 03:28:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:28:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:28:02 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:28:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:28:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:28:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:28:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:28:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:28:04 Merging remotes/origin/main commit 82433e1744898ef8ca7a6a52854ffd2316e26b0f into PR head commit 0bb028a050937fac890e298a2830405772ef1d50 03:28:04 Merge succeeded, producing 0bb028a050937fac890e298a2830405772ef1d50 03:28:04 Checking out Revision 0bb028a050937fac890e298a2830405772ef1d50 (PR-254) 03:28:05 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 03:28:04 > git config core.sparsecheckout # timeout=10 03:28:04 > git checkout -f 0bb028a050937fac890e298a2830405772ef1d50 # timeout=10 03:28:04 > git remote # timeout=10 03:28:04 > git config --get remote.origin.url # timeout=10 03:28:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:28:04 > git merge 82433e1744898ef8ca7a6a52854ffd2316e26b0f # timeout=10 03:28:04 > git rev-parse HEAD^{commit} # timeout=10 03:28:04 > git config core.sparsecheckout # timeout=10 03:28:05 > git checkout -f 0bb028a050937fac890e298a2830405772ef1d50 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:28:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:28:06 % Total % Received % Xferd Average Speed Time Time Time Current 03:28:06 Dload Upload Total Spent Left Speed 03:28:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 03:28:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:28:07 + sudo tee /etc/docker/daemon.new 03:28:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:28:07 { 03:28:07 "registry-mirrors": [ 03:28:07 "https://nexus3.edgexfoundry.org:10001" 03:28:07 ], 03:28:07 "bip": "10.250.0.254/24", 03:28:07 "hosts": [ 03:28:07 "tcp://0.0.0.0:5555", 03:28:07 "unix:///var/run/docker.sock" 03:28:07 ], 03:28:07 "mtu": 1458, 03:28:07 "selinux-enabled": true, 03:28:07 "seccomp-profile": "/etc/docker/seccomp.json" 03:28:07 } [Pipeline] sh 03:28:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:28:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:26 provisioning config files... 03:28:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config6420802909230052759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:26 ---> docker-login.sh 03:28:26 nexus3.edgexfoundry.org:10001 03:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:27 Configure a credential helper to remove this warning. See 03:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:27 03:28:27 Login Succeeded 03:28:27 nexus3.edgexfoundry.org:10002 03:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:28 Configure a credential helper to remove this warning. See 03:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:28 03:28:28 Login Succeeded 03:28:28 nexus3.edgexfoundry.org:10003 03:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:28 Configure a credential helper to remove this warning. See 03:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:28 03:28:28 Login Succeeded 03:28:28 nexus3.edgexfoundry.org:10004 03:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:28 Configure a credential helper to remove this warning. See 03:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:28 03:28:28 Login Succeeded 03:28:28 docker.io 03:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:29 Configure a credential helper to remove this warning. See 03:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:29 03:28:29 Login Succeeded 03:28:29 ---> docker-login.sh ends [Pipeline] } 03:28:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:29 ========================================================= 03:28:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:28:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:30 + 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 . 03:28:30 Sending build context to Docker daemon 2.953MB 03:28:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 03:28:30 Step 2/12 : FROM ${BASE} AS builder 03:28:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:28:30 9b18e9b68314: Pulling fs layer 03:28:30 35d82f9e3411: Pulling fs layer 03:28:30 e16973657156: Pulling fs layer 03:28:30 fc693d55d65f: Pulling fs layer 03:28:30 7e9fc2657dce: Pulling fs layer 03:28:30 dda99020689f: Pulling fs layer 03:28:30 db1c61fa0a46: Pulling fs layer 03:28:30 891c053d2c06: Pulling fs layer 03:28:30 db1c61fa0a46: Waiting 03:28:30 fc693d55d65f: Waiting 03:28:30 891c053d2c06: Waiting 03:28:30 7e9fc2657dce: Waiting 03:28:30 dda99020689f: Waiting 03:28:30 e16973657156: Verifying Checksum 03:28:30 e16973657156: Download complete 03:28:30 35d82f9e3411: Verifying Checksum 03:28:30 35d82f9e3411: Download complete 03:28:30 7e9fc2657dce: Download complete 03:28:30 dda99020689f: Verifying Checksum 03:28:30 dda99020689f: Download complete 03:28:30 9b18e9b68314: Verifying Checksum 03:28:30 9b18e9b68314: Download complete 03:28:31 9b18e9b68314: Pull complete 03:28:32 891c053d2c06: Verifying Checksum 03:28:32 891c053d2c06: Download complete 03:28:32 35d82f9e3411: Pull complete 03:28:32 e16973657156: Pull complete 03:28:33 db1c61fa0a46: Verifying Checksum 03:28:33 db1c61fa0a46: Download complete 03:28:33 fc693d55d65f: Verifying Checksum 03:28:33 fc693d55d65f: Download complete 03:28:46 fc693d55d65f: Pull complete 03:28:46 7e9fc2657dce: Pull complete 03:28:46 dda99020689f: Pull complete 03:28:52 db1c61fa0a46: Pull complete 03:28:54 891c053d2c06: Pull complete 03:28:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 03:28:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:28:54 ---> f96f9c87975a 03:28:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:28:57 ---> Running in 4ea4567bc24d 03:28:57 Removing intermediate container 4ea4567bc24d 03:28:57 ---> c806b495a409 03:28:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:28:57 ---> Running in 52ba44754756 03:28:57 Removing intermediate container 52ba44754756 03:28:57 ---> 62a92c42fcf6 03:28:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:28:58 ---> Running in 251b140bce84 03:28:58 Removing intermediate container 251b140bce84 03:28:58 ---> 756f5edee001 03:28:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:28:58 ---> Running in 1bb44cab3702 03:28:58 Removing intermediate container 1bb44cab3702 03:28:58 ---> 7621a8b52c7d 03:28:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:58 ---> Running in b755fab4fc84 03:29:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:29:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:29:01 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:29:01 (2/4) Installing libedit (20210910.3.1-r0) 03:29:01 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:29:01 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:29:01 Executing busybox-1.35.0-r17.trigger 03:29:01 OK: 226 MiB in 55 packages 03:29:02 Removing intermediate container b755fab4fc84 03:29:02 ---> eef36b041977 03:29:02 Step 8/12 : WORKDIR /device-snmp-go 03:29:03 ---> Running in 7859c42dddca 03:29:03 Removing intermediate container 7859c42dddca 03:29:03 ---> 5a0a869b1ae6 03:29:03 Step 9/12 : COPY go.mod vendor* ./ 03:29:03 ---> 64a0b8bcd0f6 03:29:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:29:03 ---> Running in 64fb22b1b649 03:30:11 Removing intermediate container 64fb22b1b649 03:30:11 ---> c2c6a60819e0 03:30:11 Step 11/12 : COPY . . 03:30:12 ---> 30e98183be5a 03:30:12 Step 12/12 : RUN ${MAKE} 03:30:12 ---> Running in c8be6a0fd78a 03:30:13 noop 03:30:14 Removing intermediate container c8be6a0fd78a 03:30:14 ---> 0915176c6cfb 03:30:14 Successfully built 0915176c6cfb 03:30:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:15 + docker inspect -f . ci-base-image-arm64 03:30:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:15 prd-ubuntu20.04-docker-arm64-4c-16g-9383 does not seem to be running inside a container 03:30:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 03:30:16 $ docker top 87b33a40766f304eca3d62d904a0e440b2981115d073e705132574fa2f8e9094 -eo pid,comm [Pipeline] { [Pipeline] sh 03:30:17 + go version 03:30:17 go version go1.18.7 linux/arm64 [Pipeline] } 03:30:17 $ docker stop --time=1 87b33a40766f304eca3d62d904a0e440b2981115d073e705132574fa2f8e9094 03:30:19 $ docker rm -f --volumes 87b33a40766f304eca3d62d904a0e440b2981115d073e705132574fa2f8e9094 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:19 + docker inspect -f . ci-base-image-arm64 03:30:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:20 prd-ubuntu20.04-docker-arm64-4c-16g-9383 does not seem to be running inside a container 03:30:20 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 03:30:21 $ docker top 2072a6bbc5cab7029781943c5026c3f4be1abd911b5b5696329609d4298b4e81 -eo pid,comm [Pipeline] { [Pipeline] sh 03:30:22 + git config --global --add safe.directory /w/workspace/device-snmp-go/3 [Pipeline] fileExists [Pipeline] sh 03:30:22 + make test 03:30:23 go test ./... -coverprofile=coverage.out 03:30:25 ? github.com/edgexfoundry/device-snmp-go [no test files] 03:31:32 # github.com/edgexfoundry/device-snmp-go/internal/driver 03:31:32 internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as type string in argument to strconv.ParseUint: 03:31:32 need type assertion 03:31:32 internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as type string in argument to NewSNMPClient: 03:31:32 need type assertion 03:31:43 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 03:31:43 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.28/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice 03:31:43 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:118:39: not enough arguments in call to clients.NewCommandClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:130:43: not enough arguments in call to clients.NewNotificationClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewSubscriptionClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:140:39: not enough arguments in call to clients.NewIntervalClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: not enough arguments in call to clients.NewIntervalActionClient 03:31:43 have (string) 03:31:43 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 03:31:43 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: too many errors 03:31:51 FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] 03:31:51 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 03:31:51 $ docker stop --time=1 2072a6bbc5cab7029781943c5026c3f4be1abd911b5b5696329609d4298b4e81 03:31:53 $ docker rm -f --volumes 2072a6bbc5cab7029781943c5026c3f4be1abd911b5b5696329609d4298b4e81 [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 03:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:31:54 03:31:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:31:54 arm64: Pulling from edgex-lftools-log-publisher 03:31:54 8998bd30e6a1: Pulling fs layer 03:31:54 04944245beec: Pulling fs layer 03:31:54 699f458cf7ca: Pulling fs layer 03:31:54 765212b225bb: Pulling fs layer 03:31:54 f23df028b6ca: Pulling fs layer 03:31:54 d65c8cfc05b1: Pulling fs layer 03:31:54 2437ff75d9bd: Pulling fs layer 03:31:54 f23df028b6ca: Waiting 03:31:54 d65c8cfc05b1: Waiting 03:31:54 2437ff75d9bd: Waiting 03:31:54 765212b225bb: Waiting 03:31:54 04944245beec: Verifying Checksum 03:31:54 04944245beec: Download complete 03:31:54 765212b225bb: Verifying Checksum 03:31:54 765212b225bb: Download complete 03:31:55 f23df028b6ca: Verifying Checksum 03:31:55 f23df028b6ca: Download complete 03:31:55 d65c8cfc05b1: Verifying Checksum 03:31:55 d65c8cfc05b1: Download complete 03:31:55 699f458cf7ca: Verifying Checksum 03:31:55 699f458cf7ca: Download complete 03:31:55 8998bd30e6a1: Verifying Checksum 03:31:55 8998bd30e6a1: Download complete 03:31:58 2437ff75d9bd: Verifying Checksum 03:31:58 2437ff75d9bd: Download complete 03:31:59 8998bd30e6a1: Pull complete 03:32:00 04944245beec: Pull complete 03:32:01 699f458cf7ca: Pull complete 03:32:01 765212b225bb: Pull complete 03:32:02 f23df028b6ca: Pull complete 03:32:02 d65c8cfc05b1: Pull complete 03:32:24 2437ff75d9bd: Pull complete 03:32:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:32:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:32:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:25 prd-ubuntu20.04-docker-arm64-4c-16g-9383 does not seem to be running inside a container 03:32:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:32:26 $ docker top b7c631c5695551305a50bae5d8f1a4a0504006366abf67ecdd45ccb4be95071c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:32:28 ---> job-cost.sh 03:32:28 lf-activate-venv: SKIPPING 03:32:28 INFO: No Stack... 03:32:28 INFO: Retrieving Pricing Info for: v3-standard-4 03:32:29 INFO: Archiving Costs [Pipeline] sh 03:32:30 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 03:32:30 + cut -d, -f6 [Pipeline] lock 03:32:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-254-3-stack-cost] 03:32:30 Resource [jenkins-edgexfoundry-device-snmp-go-PR-254-3-stack-cost] did not exist. Created. 03:32:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-254-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:32:31 /w/workspace/device-snmp-go/3@tmp/durable-a30e86ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:32:31 + echo total: 0.10999999940395355 [Pipeline] stash 03:32:31 Warning: overwriting stash ‘stack-cost’ 03:32:32 Stashed 1 file(s) [Pipeline] } 03:32:32 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-254-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:32:32 $ docker stop --time=1 b7c631c5695551305a50bae5d8f1a4a0504006366abf67ecdd45ccb4be95071c 03:32:34 $ docker rm -f --volumes b7c631c5695551305a50bae5d8f1a4a0504006366abf67ecdd45ccb4be95071c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:32:34 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 03:32:34 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-254/archives ] 03:32:34 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-254/archives 03:32:34 total 16 03:32:34 drwxr-xr-x 3 root root 4096 Mar 9 03:25 . 03:32:34 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 03:25 .. 03:32:34 drwxr-xr-x 2 root root 4096 Mar 9 03:25 cost 03:32:34 -rw-r--r-- 1 root root 86 Mar 9 03:25 cost.csv 03:32:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-254/archives 03:32:34 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-254/archives 03:32:34 total 16 03:32:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 03:25 . 03:32:34 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 03:25 .. 03:32:34 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 03:25 cost 03:32:34 -rw-r--r-- 1 jenkins jenkins 86 Mar 9 03:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:32:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:32:36 ---> package-listing.sh 03:32:36 ++ facter osfamily 03:32:36 ++ tr '[:upper:]' '[:lower:]' 03:32:36 + OS_FAMILY=debian 03:32:36 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-254 03:32:36 + START_PACKAGES=/tmp/packages_start.txt 03:32:36 + END_PACKAGES=/tmp/packages_end.txt 03:32:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:32:36 + PACKAGES=/tmp/packages_start.txt 03:32:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-254 ']' 03:32:36 + PACKAGES=/tmp/packages_end.txt 03:32:36 + case "${OS_FAMILY}" in 03:32:36 + dpkg -l 03:32:36 + grep '^ii' 03:32:36 + '[' -f /tmp/packages_start.txt ']' 03:32:36 + '[' -f /tmp/packages_end.txt ']' 03:32:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:32:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-254 ']' 03:32:36 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-254/archives/ 03:32:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-254/archives/ [Pipeline] echo 03:32:36 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:32:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:32:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:37 prd-ubuntu20.04-docker-8c-8g-9378 does not seem to be running inside a container 03:32:37 $ 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-254/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-254 -v /w/workspace/gexfoundry_device-snmp-go_PR-254:/w/workspace/gexfoundry_device-snmp-go_PR-254:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-254@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-254@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:32:37 $ docker top 12c2012e1b34cda13dfc3915091c6bf2c239f8b7949aae6b09d83aa2cd6649a2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:37 + touch /tmp/pre-build-complete [Pipeline] sh 03:32:38 + mkdir -p /var/log/sysstat [Pipeline] sh 03:32:38 + ls /var/log/sa-host 03:32:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:32:38 provisioning config files... 03:32:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-254@tmp/config8661753182539446843tmp [Pipeline] { [Pipeline] echo 03:32:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:32:38 ---> create-netrc.sh [Pipeline] } 03:32:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:32:39 ---> python-tools-install.sh [Pipeline] echo 03:32:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:32:39 ---> sudo-logs.sh 03:32:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:32:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:32:39 ---> job-cost.sh 03:32:39 lf-activate-venv: SKIPPING 03:32:39 DEBUG: total: 0.2199999988079071 03:32:39 INFO: Retrieving Stack Cost... 03:32:40 INFO: Retrieving Pricing Info for: v3-standard-8 03:32:40 INFO: Archiving Costs [Pipeline] echo 03:32:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:32:40 ---> logs-deploy.sh 03:32:40 lf-activate-venv: SKIPPING 03:32:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-254/3 03:32:40 INFO: archiving workspace using pattern(s): 03:32:41 Archives upload complete. 03:32:41 INFO: archiving logs to Nexus 03:32:42 ---> uname -a: 03:32:42 Linux prd-ubuntu20-04-docker-8c-8g-9378 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:32:42 03:32:42 03:32:42 ---> lscpu: 03:32:42 Architecture: x86_64 03:32:42 CPU op-mode(s): 32-bit, 64-bit 03:32:42 Byte Order: Little Endian 03:32:42 Address sizes: 40 bits physical, 48 bits virtual 03:32:42 CPU(s): 8 03:32:42 On-line CPU(s) list: 0-7 03:32:42 Thread(s) per core: 1 03:32:42 Core(s) per socket: 1 03:32:42 Socket(s): 8 03:32:42 NUMA node(s): 1 03:32:42 Vendor ID: AuthenticAMD 03:32:42 CPU family: 23 03:32:42 Model: 49 03:32:42 Model name: AMD EPYC-Rome Processor 03:32:42 Stepping: 0 03:32:42 CPU MHz: 2799.996 03:32:42 BogoMIPS: 5599.99 03:32:42 Virtualization: AMD-V 03:32:42 Hypervisor vendor: KVM 03:32:42 Virtualization type: full 03:32:42 L1d cache: 256 KiB 03:32:42 L1i cache: 256 KiB 03:32:42 L2 cache: 4 MiB 03:32:42 L3 cache: 128 MiB 03:32:42 NUMA node0 CPU(s): 0-7 03:32:42 Vulnerability Itlb multihit: Not affected 03:32:42 Vulnerability L1tf: Not affected 03:32:42 Vulnerability Mds: Not affected 03:32:42 Vulnerability Meltdown: Not affected 03:32:42 Vulnerability Mmio stale data: Not affected 03:32:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:32:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:32:42 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:32:42 Vulnerability Srbds: Not affected 03:32:42 Vulnerability Tsx async abort: Not affected 03:32:42 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 03:32:42 03:32:42 03:32:42 ---> nproc: 03:32:42 8 03:32:42 03:32:42 03:32:42 ---> df -h: 03:32:42 Filesystem Size Used Avail Use% Mounted on 03:32:42 overlay 155G 12G 144G 8% / 03:32:42 tmpfs 64M 0 64M 0% /dev 03:32:42 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:32:42 shm 64M 0 64M 0% /dev/shm 03:32:42 /dev/vda1 155G 12G 144G 8% /facter-os 03:32:42 03:32:42 03:32:42 ---> sar -b -r -n DEV: 03:32:42 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9378) 03/09/23 _x86_64_ (8 CPU) 03:32:42 03:32:42 03:23:52 LINUX RESTART (8 CPU) 03:32:42 03:32:42 03:24:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:32:42 03:25:02 192.52 47.81 144.71 0.00 5393.10 107392.50 0.00 03:32:42 03:26:01 157.29 1.29 156.00 0.00 18.30 66812.74 0.00 03:32:42 03:27:01 1.68 0.00 1.68 0.00 0.00 19.48 0.00 03:32:42 03:28:01 0.92 0.00 0.92 0.00 0.00 11.46 0.00 03:32:42 03:29:01 11.88 1.53 10.35 0.00 85.72 2030.99 0.00 03:32:42 03:30:01 46.43 10.06 36.36 0.00 5091.02 6774.60 0.00 03:32:42 03:31:01 3.38 0.02 3.37 0.00 0.13 89.57 0.00 03:32:42 03:32:01 0.85 0.00 0.85 0.00 0.00 9.87 0.00 03:32:42 Average: 51.65 7.60 44.05 0.00 1326.20 22801.42 0.00 03:32:42 03:32:42 03:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:32:42 03:25:02 29155628 31577460 737640 2.24 76484 2618996 1980712 5.84 1003772 2357204 2220 03:32:42 03:26:01 27952600 31575500 727408 2.21 152068 3631572 1774596 5.23 1171556 3269860 404 03:32:42 03:27:01 27952680 31575684 726776 2.21 152100 3631572 1774596 5.23 1171800 3269860 156 03:32:42 03:28:01 27958748 31581808 720448 2.19 152140 3631580 1774596 5.23 1164776 3269864 232 03:32:42 03:29:01 27855504 31544320 753664 2.29 154716 3688360 1825776 5.38 1205488 3321656 72 03:32:42 03:30:01 27431828 31560136 724256 2.20 186164 4087524 1818848 5.36 1487860 3436132 0 03:32:42 03:31:01 27440256 31563764 720400 2.19 184752 4084276 1802496 5.31 1482876 3432928 8 03:32:42 03:32:01 27440696 31564260 719788 2.19 184772 4084276 1802496 5.31 1482880 3432928 136 03:32:42 Average: 27898492 31567866 728798 2.22 155400 3682270 1819264 5.36 1271376 3223804 404 03:32:42 03:32:42 03:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:32:42 03:25:02 ens3 823.01 542.44 6614.01 98.82 0.00 0.00 0.00 0.00 03:32:42 03:25:02 veth11717ad 53.11 68.37 5.14 50.11 0.00 0.00 0.00 0.00 03:32:42 03:25:02 lo 7.07 7.07 0.68 0.68 0.00 0.00 0.00 0.00 03:32:42 03:25:02 docker0 59.76 76.72 4.99 157.69 0.00 0.00 0.00 0.00 03:32:42 03:26:01 ens3 373.64 237.29 4430.56 111.61 0.00 0.00 0.00 0.00 03:32:42 03:26:01 lo 1.15 1.15 0.11 0.11 0.00 0.00 0.00 0.00 03:32:42 03:26:01 docker0 122.77 208.98 9.96 1838.90 0.00 0.00 0.00 0.00 03:32:42 03:27:01 ens3 3.17 1.08 4.33 0.50 0.00 0.00 0.00 0.00 03:32:42 03:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:32:42 03:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:32:42 03:28:01 ens3 1.93 0.47 0.62 0.39 0.00 0.00 0.00 0.00 03:32:42 03:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:32:42 03:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:32:42 03:29:01 ens3 66.66 35.73 856.79 2.80 0.00 0.00 0.00 0.00 03:32:42 03:29:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 03:32:42 03:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:32:42 03:30:01 ens3 109.30 54.92 1946.65 4.05 0.00 0.00 0.00 0.00 03:32:42 03:30:01 lo 0.53 0.53 0.04 0.04 0.00 0.00 0.00 0.00 03:32:42 03:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:32:42 03:31:01 ens3 0.15 0.03 0.01 0.00 0.00 0.00 0.00 0.00 03:32:42 03:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:32:42 03:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:32:42 03:32:01 ens3 0.20 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:32:42 03:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:32:42 03:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:32:42 Average: ens3 171.84 108.74 1726.01 27.10 0.00 0.00 0.00 0.00 03:32:42 Average: lo 1.17 1.17 0.11 0.11 0.00 0.00 0.00 0.00 03:32:42 Average: docker0 22.61 35.35 1.85 246.28 0.00 0.00 0.00 0.00 03:32:42 03:32:42 03:32:42 ---> sar -P ALL: 03:32:42 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9378) 03/09/23 _x86_64_ (8 CPU) 03:32:42 03:32:42 03:23:52 LINUX RESTART (8 CPU) 03:32:42 03:32:42 03:24:01 CPU %user %nice %system %iowait %steal %idle 03:32:42 03:25:02 all 9.70 0.00 3.43 1.77 0.06 85.04 03:32:42 03:25:02 0 10.17 0.00 2.77 0.37 0.05 86.64 03:32:42 03:25:02 1 11.75 0.00 3.39 0.84 0.07 83.95 03:32:42 03:25:02 2 11.64 0.00 3.32 4.70 0.07 80.28 03:32:42 03:25:02 3 10.95 0.00 4.50 0.47 0.07 84.01 03:32:42 03:25:02 4 6.84 0.00 2.99 2.02 0.05 88.10 03:32:42 03:25:02 5 7.52 0.00 3.72 1.74 0.05 86.97 03:32:42 03:25:02 6 10.28 0.00 3.64 3.39 0.05 82.65 03:32:42 03:25:02 7 8.46 0.00 3.12 0.64 0.07 87.71 03:32:42 03:26:01 all 17.32 0.00 5.21 1.85 0.06 75.56 03:32:42 03:26:01 0 17.55 0.00 5.35 0.52 0.07 76.51 03:32:42 03:26:01 1 16.70 0.00 4.71 0.10 0.05 78.43 03:32:42 03:26:01 2 17.55 0.00 6.68 11.38 0.07 64.32 03:32:42 03:26:01 3 17.23 0.00 5.43 0.89 0.05 76.40 03:32:42 03:26:01 4 17.57 0.00 5.26 0.48 0.05 76.65 03:32:42 03:26:01 5 16.86 0.00 5.23 0.93 0.05 76.93 03:32:42 03:26:01 6 17.22 0.00 4.35 0.07 0.07 78.29 03:32:42 03:26:01 7 17.89 0.00 4.71 0.47 0.07 76.87 03:32:42 03:27:01 all 0.02 0.00 0.02 0.01 0.00 99.95 03:32:42 03:27:01 0 0.00 0.00 0.02 0.00 0.00 99.98 03:32:42 03:27:01 1 0.03 0.00 0.02 0.00 0.02 99.93 03:32:42 03:27:01 2 0.00 0.00 0.02 0.03 0.00 99.95 03:32:42 03:27:01 3 0.02 0.00 0.02 0.00 0.02 99.95 03:32:42 03:27:01 4 0.02 0.00 0.02 0.00 0.00 99.97 03:32:42 03:27:01 5 0.00 0.00 0.02 0.02 0.00 99.97 03:32:42 03:27:01 6 0.03 0.00 0.03 0.00 0.00 99.93 03:32:42 03:27:01 7 0.08 0.00 0.03 0.00 0.00 99.88 03:32:42 03:28:01 all 0.03 0.00 0.02 0.00 0.00 99.95 03:32:42 03:28:01 0 0.03 0.00 0.03 0.02 0.00 99.92 03:32:42 03:28:01 1 0.03 0.00 0.03 0.00 0.00 99.93 03:32:42 03:28:01 2 0.02 0.00 0.00 0.00 0.00 99.98 03:32:42 03:28:01 3 0.02 0.00 0.00 0.00 0.00 99.98 03:32:42 03:28:01 4 0.10 0.00 0.02 0.00 0.00 99.88 03:32:42 03:28:01 5 0.02 0.00 0.00 0.02 0.00 99.97 03:32:42 03:28:01 6 0.02 0.00 0.02 0.00 0.00 99.97 03:32:42 03:28:01 7 0.03 0.00 0.03 0.00 0.00 99.93 03:32:42 03:29:01 all 0.31 0.00 0.16 0.15 0.01 99.37 03:32:42 03:29:01 0 0.30 0.00 0.13 0.02 0.02 99.53 03:32:42 03:29:01 1 0.07 0.00 0.08 0.00 0.00 99.85 03:32:42 03:29:01 2 0.12 0.00 0.07 0.03 0.02 99.77 03:32:42 03:29:01 3 0.32 0.00 0.10 0.13 0.00 99.45 03:32:42 03:29:01 4 0.28 0.00 0.18 0.00 0.00 99.53 03:32:42 03:29:01 5 0.08 0.00 0.27 0.55 0.02 99.08 03:32:42 03:29:01 6 0.80 0.00 0.23 0.17 0.02 98.78 03:32:42 03:29:01 7 0.52 0.00 0.23 0.28 0.02 98.95 03:32:42 03:30:01 all 1.95 0.00 1.38 0.36 0.01 96.30 03:32:42 03:30:01 0 1.05 0.00 1.39 0.05 0.00 97.51 03:32:42 03:30:01 1 2.48 0.00 1.42 0.42 0.03 95.65 03:32:42 03:30:01 2 2.37 0.00 1.02 0.07 0.00 96.54 03:32:42 03:30:01 3 4.09 0.00 1.64 0.97 0.02 93.28 03:32:42 03:30:01 4 2.05 0.00 1.66 0.20 0.02 96.08 03:32:42 03:30:01 5 1.03 0.00 0.83 1.08 0.00 97.05 03:32:42 03:30:01 6 1.47 0.00 2.07 0.02 0.00 96.44 03:32:42 03:30:01 7 1.07 0.00 0.97 0.07 0.02 97.87 03:32:42 03:31:01 all 0.08 0.00 0.05 0.03 0.01 99.83 03:32:42 03:31:01 0 0.03 0.00 0.03 0.08 0.02 99.83 03:32:42 03:31:01 1 0.12 0.00 0.08 0.00 0.00 99.80 03:32:42 03:31:01 2 0.23 0.00 0.08 0.05 0.02 99.62 03:32:42 03:31:01 3 0.08 0.00 0.07 0.07 0.02 99.77 03:32:42 03:31:01 4 0.07 0.00 0.07 0.00 0.02 99.85 03:32:42 03:31:01 5 0.02 0.00 0.02 0.00 0.00 99.97 03:32:42 03:31:01 6 0.02 0.00 0.05 0.00 0.00 99.93 03:32:42 03:31:01 7 0.07 0.00 0.03 0.05 0.00 99.85 03:32:42 03:32:01 all 0.02 0.00 0.00 0.00 0.00 99.97 03:32:42 03:32:01 0 0.00 0.00 0.00 0.00 0.00 100.00 03:32:42 03:32:01 1 0.08 0.00 0.02 0.00 0.02 99.88 03:32:42 03:32:01 2 0.00 0.00 0.02 0.00 0.00 99.98 03:32:42 03:32:01 3 0.00 0.00 0.00 0.02 0.00 99.98 03:32:42 03:32:01 4 0.03 0.00 0.00 0.00 0.00 99.97 03:32:42 03:32:01 5 0.02 0.00 0.00 0.00 0.00 99.98 03:32:42 03:32:01 6 0.00 0.00 0.00 0.00 0.00 100.00 03:32:42 03:32:01 7 0.02 0.00 0.00 0.02 0.00 99.97 03:32:42 Average: all 3.62 0.00 1.27 0.52 0.02 94.57 03:32:42 Average: 0 3.59 0.00 1.20 0.13 0.02 95.06 03:32:42 Average: 1 3.86 0.00 1.21 0.17 0.02 94.74 03:32:42 Average: 2 3.92 0.00 1.38 1.99 0.02 92.69 03:32:42 Average: 3 4.04 0.00 1.45 0.32 0.02 94.17 03:32:42 Average: 4 3.32 0.00 1.26 0.34 0.02 95.06 03:32:42 Average: 5 3.14 0.00 1.24 0.54 0.01 95.06 03:32:42 Average: 6 3.68 0.00 1.29 0.45 0.02 94.57 03:32:42 Average: 7 3.45 0.00 1.12 0.19 0.02 95.22 03:32:42 03:32:42 03:32:42