Pull request #1420 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0f6a69894086c84850310f08a0f9b04cbcf81a90+d73da920b9fd3a52132699998633ff8aee3aa256 (e42dc60383d9b4d9a3b69c0d35f4b4f1ce8e74a9) 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-ssh6402605604983284703.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh18435138722347053664.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6349564932010891509.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4005041342490692467.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13682796921717981024.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1420/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1420/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17301080687718341684.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7518 in /w/workspace/gexfoundry_device-sdk-go_PR-1420 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1420 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1420/head:refs/remotes/origin/PR-1420 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d73da920b9fd3a52132699998633ff8aee3aa256 into PR head commit 0f6a69894086c84850310f08a0f9b04cbcf81a90 Merge succeeded, producing 0f6a69894086c84850310f08a0f9b04cbcf81a90 Checking out Revision 0f6a69894086c84850310f08a0f9b04cbcf81a90 (PR-1420) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f6a69894086c84850310f08a0f9b04cbcf81a90 # 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 d73da920b9fd3a52132699998633ff8aee3aa256 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f6a69894086c84850310f08a0f9b04cbcf81a90 # timeout=10 Commit message: "fix: update regex resourceName match logic" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:14:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:14:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:14:38 ========================================================= 03:14:38 EdgeX Global Pipelines Version Info 03:14:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:14:39 ------------------- 03:14:39 stable info: 03:14:39 ------------------- 03:14:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:14:39 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 03:14:39 Message: update stable to v1.0.245 03:14:39 ------------------- 03:14:39 experimental info: 03:14:39 ------------------- 03:14:39 Commited By: **** collab-it+edgex@linuxfoundation.org 03:14:39 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 03:14:39 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1420 [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1420 [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1420 [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f6a69894086c84850310f08a0f9b04cbcf81a90 [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f6a698 [Pipeline] echo 03:14:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:41 provisioning config files... 03:14:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/config7679376340554623651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:41 ---> docker-login.sh 03:14:41 nexus3.edgexfoundry.org:10001 03:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:42 Configure a credential helper to remove this warning. See 03:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:42 03:14:42 Login Succeeded 03:14:42 nexus3.edgexfoundry.org:10002 03:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:42 Configure a credential helper to remove this warning. See 03:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:42 03:14:42 Login Succeeded 03:14:42 nexus3.edgexfoundry.org:10003 03:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:42 Configure a credential helper to remove this warning. See 03:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:42 03:14:42 Login Succeeded 03:14:42 nexus3.edgexfoundry.org:10004 03:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:42 Configure a credential helper to remove this warning. See 03:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:42 03:14:42 Login Succeeded 03:14:42 docker.io 03:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:42 Configure a credential helper to remove this warning. See 03:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:42 03:14:42 Login Succeeded 03:14:42 ---> docker-login.sh ends [Pipeline] } 03:14:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:14:43 + git rev-list -1 --merges 0f6a69894086c84850310f08a0f9b04cbcf81a90~1..0f6a69894086c84850310f08a0f9b04cbcf81a90 [Pipeline] echo 03:14:43 -----------> git rev-list -1 --merges 0f6a69894086c84850310f08a0f9b04cbcf81a90~1..0f6a69894086c84850310f08a0f9b04cbcf81a90 0f6a69894086c84850310f08a0f9b04cbcf81a90 [false] [Pipeline] sh 03:14:43 + git log --format=format:%s -1 0f6a69894086c84850310f08a0f9b04cbcf81a90 [Pipeline] echo 03:14:43 ========================================================= 03:14:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:14:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:14:44 + git log --format=format:%s -1 0f6a69894086c84850310f08a0f9b04cbcf81a90 [Pipeline] echo 03:14:44 [semverPrep] GIT_COMMIT: 0f6a69894086c84850310f08a0f9b04cbcf81a90, Commit Message: fix: update regex resourceName match logic [Pipeline] echo 03:14:44 [semverPrep] This is not a build commit. [Pipeline] sh 03:14:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:14:44 + grep -v github /etc/ssh/ssh_known_hosts 03:14:44 + [ -e /tmp/ssh_known_hosts ] 03:14:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:14:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:14:44 + sudo tee -a /etc/ssh/ssh_known_hosts 03:14:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:45 03:14:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:45 0.1.4: Pulling from edgex-devops/py-git-semver 03:14:45 b85a868b505f: Pulling fs layer 03:14:45 e2be974225ed: Pulling fs layer 03:14:45 339a4e72a1f5: Pulling fs layer 03:14:45 988bab9f4d93: Pulling fs layer 03:14:45 1469e6f7b9e6: Pulling fs layer 03:14:45 eaf3925da568: Pulling fs layer 03:14:45 bab4dde63d76: Pulling fs layer 03:14:45 1469e6f7b9e6: Waiting 03:14:45 988bab9f4d93: Waiting 03:14:45 bde34c3a00c8: Pulling fs layer 03:14:45 eaf3925da568: Waiting 03:14:45 b352a97aabf1: Pulling fs layer 03:14:45 bab4dde63d76: Waiting 03:14:45 4872d77fe225: Pulling fs layer 03:14:45 5851b861e8e6: Pulling fs layer 03:14:45 bde34c3a00c8: Waiting 03:14:45 e2be974225ed: Verifying Checksum 03:14:45 e2be974225ed: Download complete 03:14:45 988bab9f4d93: Download complete 03:14:45 1469e6f7b9e6: Verifying Checksum 03:14:45 1469e6f7b9e6: Download complete 03:14:45 339a4e72a1f5: Verifying Checksum 03:14:45 339a4e72a1f5: Download complete 03:14:45 eaf3925da568: Download complete 03:14:45 bde34c3a00c8: Download complete 03:14:45 b352a97aabf1: Verifying Checksum 03:14:45 b352a97aabf1: Download complete 03:14:45 4872d77fe225: Verifying Checksum 03:14:45 4872d77fe225: Download complete 03:14:45 5851b861e8e6: Verifying Checksum 03:14:45 5851b861e8e6: Download complete 03:14:45 b85a868b505f: Download complete 03:14:46 bab4dde63d76: Verifying Checksum 03:14:46 bab4dde63d76: Download complete 03:14:47 b85a868b505f: Pull complete 03:14:47 e2be974225ed: Pull complete 03:14:47 339a4e72a1f5: Pull complete 03:14:47 988bab9f4d93: Pull complete 03:14:48 1469e6f7b9e6: Pull complete 03:14:48 eaf3925da568: Pull complete 03:14:50 bab4dde63d76: Pull complete 03:14:50 bde34c3a00c8: Pull complete 03:14:50 b352a97aabf1: Pull complete 03:14:50 4872d77fe225: Pull complete 03:14:50 5851b861e8e6: Pull complete 03:14:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:50 prd-ubuntu20.04-docker-8c-8g-7518 does not seem to be running inside a container 03:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@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:14:53 $ docker top 82251a4ac627d1ceb6d5e098dbc8730bbcb8c8666161a3000fae0ee942d3e829 -eo pid,comm 03:14:53 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:14:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:14:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:14:53 [ssh-agent] Looking for ssh-agent implementation... 03:14:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:14:54 $ docker exec 82251a4ac627d1ceb6d5e098dbc8730bbcb8c8666161a3000fae0ee942d3e829 ssh-agent 03:14:54 SSH_AUTH_SOCK=/tmp/ssh-bU4ny6jekB94/agent.32 03:14:54 SSH_AGENT_PID=38 03:14:54 Running ssh-add (command line suppressed) 03:14:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/private_key_6838438522009340102.key (/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/private_key_6838438522009340102.key) 03:14:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:14:54 + git tag --points-at HEAD [Pipeline] } 03:14:54 $ docker exec --env ******** --env ******** 82251a4ac627d1ceb6d5e098dbc8730bbcb8c8666161a3000fae0ee942d3e829 ssh-agent -k 03:14:54 unset SSH_AUTH_SOCK; 03:14:54 unset SSH_AGENT_PID; 03:14:54 echo Agent pid 38 killed; 03:14:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:14:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:14:54 [ssh-agent] Looking for ssh-agent implementation... 03:14:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:14:55 $ docker exec 82251a4ac627d1ceb6d5e098dbc8730bbcb8c8666161a3000fae0ee942d3e829 ssh-agent 03:14:55 SSH_AUTH_SOCK=/tmp/ssh-1n10D08vdFmb/agent.70 03:14:55 SSH_AGENT_PID=76 03:14:55 Running ssh-add (command line suppressed) 03:14:55 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/private_key_18287187605518398908.key (/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/private_key_18287187605518398908.key) 03:14:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:14:55 + git semver init 03:14:55 2023-04-12 03:14:55,768 [run_init] DEBUG init version:0.0.0 force:False 03:14:55 2023-04-12 03:14:55,769 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver 03:14:55 2023-04-12 03:14:55,770 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver 03:14:55 2023-04-12 03:14:55,770 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1420, universal_newlines=False, shell=None, istream=None) 03:14:56 2023-04-12 03:14:56,678 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420/.git/info/exclude 03:14:56 2023-04-12 03:14:56,679 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver/PR-1420 with force:False 03:14:56 2023-04-12 03:14:56,679 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver/PR-1420 03:14:56 2023-04-12 03:14:56,683 [execute] INFO git cat-file --batch-check 03:14:56 2023-04-12 03:14:56,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver, universal_newlines=False, shell=None, istream=) 03:14:56 2023-04-12 03:14:56,690 [execute] INFO git cat-file --batch 03:14:56 2023-04-12 03:14:56,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver, universal_newlines=False, shell=None, istream=) 03:14:56 2023-04-12 03:14:56,695 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver/PR-1420 03:14:56 0.0.0 [Pipeline] } 03:14:56 $ docker exec --env ******** --env ******** 82251a4ac627d1ceb6d5e098dbc8730bbcb8c8666161a3000fae0ee942d3e829 ssh-agent -k 03:14:56 unset SSH_AUTH_SOCK; 03:14:56 unset SSH_AGENT_PID; 03:14:56 echo Agent pid 76 killed; 03:14:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:14:57 + git semver [Pipeline] } 03:14:57 $ docker stop --time=1 82251a4ac627d1ceb6d5e098dbc8730bbcb8c8666161a3000fae0ee942d3e829 03:14:59 $ docker rm -f --volumes 82251a4ac627d1ceb6d5e098dbc8730bbcb8c8666161a3000fae0ee942d3e829 [Pipeline] // withDockerContainer [Pipeline] sh 03:14:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:14:59 Stashed 1 file(s) [Pipeline] echo 03:14:59 [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:15:00 provisioning config files... 03:15:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/config315124116349855506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:00 ---> docker-login.sh 03:15:00 nexus3.edgexfoundry.org:10001 03:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:00 Configure a credential helper to remove this warning. See 03:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:00 03:15:00 Login Succeeded 03:15:00 nexus3.edgexfoundry.org:10002 03:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:00 Configure a credential helper to remove this warning. See 03:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:00 03:15:00 Login Succeeded 03:15:00 nexus3.edgexfoundry.org:10003 03:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:01 Configure a credential helper to remove this warning. See 03:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:01 03:15:01 Login Succeeded 03:15:01 nexus3.edgexfoundry.org:10004 03:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:01 Configure a credential helper to remove this warning. See 03:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:01 03:15:01 Login Succeeded 03:15:01 docker.io 03:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:01 Configure a credential helper to remove this warning. See 03:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:01 03:15:01 Login Succeeded 03:15:01 ---> docker-login.sh ends [Pipeline] } 03:15:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:15:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:01 ========================================================= 03:15:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:15:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:02 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:15:02 Sending build context to Docker daemon 10.96MB 03:15:02 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:15:02 Step 2/10 : FROM ${BASE} AS builder 03:15:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:15:02 63b65145d645: Pulling fs layer 03:15:02 a2d21d5440eb: Pulling fs layer 03:15:02 935e6c44a52c: Pulling fs layer 03:15:02 94cc34f8dd06: Pulling fs layer 03:15:02 30dea6a524f1: Pulling fs layer 03:15:02 a2aff8979fd8: Pulling fs layer 03:15:02 6808be2612f2: Pulling fs layer 03:15:02 f25807f1079a: Pulling fs layer 03:15:02 a2aff8979fd8: Waiting 03:15:02 6808be2612f2: Waiting 03:15:02 94cc34f8dd06: Waiting 03:15:02 f25807f1079a: Waiting 03:15:02 30dea6a524f1: Waiting 03:15:02 a2d21d5440eb: Download complete 03:15:02 94cc34f8dd06: Verifying Checksum 03:15:02 94cc34f8dd06: Download complete 03:15:02 30dea6a524f1: Verifying Checksum 03:15:02 30dea6a524f1: Download complete 03:15:02 63b65145d645: Verifying Checksum 03:15:02 63b65145d645: Download complete 03:15:02 a2aff8979fd8: Verifying Checksum 03:15:02 a2aff8979fd8: Download complete 03:15:02 63b65145d645: Pull complete 03:15:02 a2d21d5440eb: Pull complete 03:15:02 f25807f1079a: Verifying Checksum 03:15:02 f25807f1079a: Download complete 03:15:02 935e6c44a52c: Verifying Checksum 03:15:02 935e6c44a52c: Download complete 03:15:03 6808be2612f2: Verifying Checksum 03:15:03 6808be2612f2: Download complete 03:15:06 935e6c44a52c: Pull complete 03:15:06 94cc34f8dd06: Pull complete 03:15:06 30dea6a524f1: Pull complete 03:15:06 a2aff8979fd8: Pull complete 03:15:08 6808be2612f2: Pull complete 03:15:09 f25807f1079a: Pull complete 03:15:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 03:15:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:15:09 ---> 3b553350e43f 03:15:09 Step 3/10 : ARG MAKE=make build 03:15:13 ---> Running in 5bdca42ec1d4 03:15:13 Removing intermediate container 5bdca42ec1d4 03:15:13 ---> aadde32585f1 03:15:13 Step 4/10 : WORKDIR /device-sdk-go 03:15:13 ---> Running in 2de996b660cd 03:15:13 Removing intermediate container 2de996b660cd 03:15:13 ---> bf1bfcb56a47 03:15:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:15:13 ---> Running in 43495f20b7c2 03:15:13 Removing intermediate container 43495f20b7c2 03:15:13 ---> 1f78c481f6fe 03:15:13 Step 6/10 : RUN apk add --update --no-cache make git 03:15:13 ---> Running in 390844de513a 03:15:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:15:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:15:14 OK: 265 MiB in 53 packages 03:15:14 Removing intermediate container 390844de513a 03:15:14 ---> 2cb236d76b7f 03:15:14 Step 7/10 : COPY go.mod vendor* ./ 03:15:15 ---> 2e2fc97245b7 03:15:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:15 ---> Running in 33d8e7e47659 03:15:15 Still waiting to schedule task 03:15:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:15:42 Removing intermediate container 33d8e7e47659 03:15:42 ---> 34701a651764 03:15:42 Step 9/10 : COPY . . 03:15:42 ---> 2f45cde1bad0 03:15:42 Step 10/10 : RUN ${MAKE} 03:15:42 ---> Running in f33aaee4d34a 03:15:42 noop 03:15:42 Removing intermediate container f33aaee4d34a 03:15:42 ---> 27563e41eec9 03:15:42 Successfully built 27563e41eec9 03:15:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:42 + docker inspect -f . ci-base-image-x86_64 03:15:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:42 prd-ubuntu20.04-docker-8c-8g-7518 does not seem to be running inside a container 03:15:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@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:15:43 $ docker top 5035d4bf946e96897b6f1dece85ff4fcf4597693f3e85059fefe6f05ff18879d -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:43 + go version 03:15:43 go version go1.20.2 linux/amd64 [Pipeline] } 03:15:43 $ docker stop --time=1 5035d4bf946e96897b6f1dece85ff4fcf4597693f3e85059fefe6f05ff18879d 03:15:44 $ docker rm -f --volumes 5035d4bf946e96897b6f1dece85ff4fcf4597693f3e85059fefe6f05ff18879d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:45 + docker inspect -f . ci-base-image-x86_64 03:15:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:45 prd-ubuntu20.04-docker-8c-8g-7518 does not seem to be running inside a container 03:15:45 $ 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-sdk-go_PR-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@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:15:45 $ docker top c438d421d37e068c5aadac4a5024e9c8560f4a5d612544a01d51890e7ce06207 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1420 [Pipeline] fileExists [Pipeline] sh 03:15:46 + make test 03:15:46 go test -race -coverprofile=coverage.out ./... 03:15:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:16:05 # github.com/edgexfoundry/device-sdk-go/v3/internal/cache [github.com/edgexfoundry/device-sdk-go/v3/internal/cache.test] 03:16:05 internal/cache/profiles_test.go:211:57: cannot use tt.regexResourceName (variable of type string) as *regexp.Regexp value in argument to pc.DeviceResourcesByRegex 03:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements 03:16:05 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/cache [build failed] 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 77.5% of statements 03:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 03:16:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:16:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:16:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:16:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.061s coverage: 14.6% of statements 03:16:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.060s coverage: 68.5% of statements 03:16:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.104s coverage: 89.2% of statements 03:16:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.6% of statements 03:16:09 FAIL 03:16:09 make: *** [Makefile:35: unittest] Error 1 [Pipeline] } 03:16:09 $ docker stop --time=1 c438d421d37e068c5aadac4a5024e9c8560f4a5d612544a01d51890e7ce06207 03:16:12 $ docker rm -f --volumes c438d421d37e068c5aadac4a5024e9c8560f4a5d612544a01d51890e7ce06207 [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:16:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:13 03:16:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:13 latest: Pulling from edgex-lftools-log-publisher 03:16:13 5eb5b503b376: Pulling fs layer 03:16:13 5c69ac0246d0: Pulling fs layer 03:16:13 ec43610c2a17: Pulling fs layer 03:16:13 3a2ae6a8a46f: Pulling fs layer 03:16:13 33b1e0a273af: Pulling fs layer 03:16:13 5d3b04190fa2: Pulling fs layer 03:16:13 2f39f015ded8: Pulling fs layer 03:16:13 33b1e0a273af: Waiting 03:16:13 5d3b04190fa2: Waiting 03:16:13 2f39f015ded8: Waiting 03:16:13 3a2ae6a8a46f: Waiting 03:16:14 5c69ac0246d0: Verifying Checksum 03:16:14 5c69ac0246d0: Download complete 03:16:14 3a2ae6a8a46f: Verifying Checksum 03:16:14 3a2ae6a8a46f: Download complete 03:16:14 33b1e0a273af: Verifying Checksum 03:16:14 33b1e0a273af: Download complete 03:16:14 ec43610c2a17: Verifying Checksum 03:16:14 ec43610c2a17: Download complete 03:16:14 5d3b04190fa2: Verifying Checksum 03:16:14 5eb5b503b376: Verifying Checksum 03:16:14 5eb5b503b376: Download complete 03:16:14 2f39f015ded8: Download complete 03:16:15 5eb5b503b376: Pull complete 03:16:15 5c69ac0246d0: Pull complete 03:16:15 ec43610c2a17: Pull complete 03:16:15 3a2ae6a8a46f: Pull complete 03:16:16 33b1e0a273af: Pull complete 03:16:16 5d3b04190fa2: Pull complete 03:16:20 2f39f015ded8: Pull complete 03:16:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:20 prd-ubuntu20.04-docker-8c-8g-7518 does not seem to be running inside a container 03:16:20 $ 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-sdk-go_PR-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@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:16:23 $ docker top 22e8ec18ae68bea7fa96cd65edbfd531223adb03a625f1d676241600f09cccfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:24 ---> job-cost.sh 03:16:24 lf-activate-venv: SKIPPING 03:16:24 INFO: No Stack... 03:16:24 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:24 INFO: Archiving Costs [Pipeline] sh 03:16:24 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives/cost.csv 03:16:24 + cut -d, -f6 [Pipeline] lock 03:16:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1420-1-stack-cost] 03:16:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1420-1-stack-cost] did not exist. Created. 03:16:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:25 + echo total: 0.2199999988079071 [Pipeline] stash 03:16:25 Stashed 1 file(s) [Pipeline] } 03:16:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1420-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:25 $ docker stop --time=1 22e8ec18ae68bea7fa96cd65edbfd531223adb03a625f1d676241600f09cccfd 03:16:26 $ docker rm -f --volumes 22e8ec18ae68bea7fa96cd65edbfd531223adb03a625f1d676241600f09cccfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:16:27 Failed in branch amd64 03:16:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7519 in /w/workspace/gexfoundry_device-sdk-go_PR-1420 [Pipeline] { [Pipeline] ws 03:16:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:16:56 The recommended git tool is: git 03:17:01 using credential edgex-jenkins-ssh 03:17:01 Cloning the remote Git repository 03:17:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:17:01 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:17:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:17:01 > git --version # timeout=10 03:17:01 > git --version # 'git version 2.25.1' 03:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:17:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:17:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:17:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:17:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:17:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1420/head:refs/remotes/origin/PR-1420 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:17:06 Merging remotes/origin/main commit d73da920b9fd3a52132699998633ff8aee3aa256 into PR head commit 0f6a69894086c84850310f08a0f9b04cbcf81a90 03:17:07 Merge succeeded, producing 0f6a69894086c84850310f08a0f9b04cbcf81a90 03:17:07 Checking out Revision 0f6a69894086c84850310f08a0f9b04cbcf81a90 (PR-1420) 03:17:06 > git config core.sparsecheckout # timeout=10 03:17:06 > git checkout -f 0f6a69894086c84850310f08a0f9b04cbcf81a90 # timeout=10 03:17:06 > git remote # timeout=10 03:17:07 > git config --get remote.origin.url # timeout=10 03:17:07 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:07 > git merge d73da920b9fd3a52132699998633ff8aee3aa256 # timeout=10 03:17:07 > git rev-parse HEAD^{commit} # timeout=10 03:17:07 > git config core.sparsecheckout # timeout=10 03:17:07 > git checkout -f 0f6a69894086c84850310f08a0f9b04cbcf81a90 # timeout=10 03:17:10 Commit message: "fix: update regex resourceName match logic" 03:17:10 > git --version # timeout=10 03:17:10 > git --version # 'git version 2.25.1' 03:17:10 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:17:11 % Total % Received % Xferd Average Speed Time Time Time Current 03:17:11 Dload Upload Total Spent Left Speed 03:17:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 03:17:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:17:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:17:12 + sudo tee /etc/docker/daemon.new 03:17:12 { 03:17:12 "registry-mirrors": [ 03:17:12 "https://nexus3.edgexfoundry.org:10001" 03:17:12 ], 03:17:12 "bip": "10.250.0.254/24", 03:17:12 "hosts": [ 03:17:12 "tcp://0.0.0.0:5555", 03:17:12 "unix:///var/run/docker.sock" 03:17:12 ], 03:17:12 "mtu": 1458, 03:17:12 "selinux-enabled": true, 03:17:12 "seccomp-profile": "/etc/docker/seccomp.json" 03:17:12 } [Pipeline] sh 03:17:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:17:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:31 provisioning config files... 03:17:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10373658224449902101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:32 ---> docker-login.sh 03:17:32 nexus3.edgexfoundry.org:10001 03:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:32 Configure a credential helper to remove this warning. See 03:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:32 03:17:32 Login Succeeded 03:17:32 nexus3.edgexfoundry.org:10002 03:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:33 Configure a credential helper to remove this warning. See 03:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:33 03:17:33 Login Succeeded 03:17:33 nexus3.edgexfoundry.org:10003 03:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:33 Configure a credential helper to remove this warning. See 03:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:33 03:17:33 Login Succeeded 03:17:33 nexus3.edgexfoundry.org:10004 03:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:33 Configure a credential helper to remove this warning. See 03:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:33 03:17:33 Login Succeeded 03:17:33 docker.io 03:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:34 Configure a credential helper to remove this warning. See 03:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:34 03:17:34 Login Succeeded 03:17:34 ---> docker-login.sh ends [Pipeline] } 03:17:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:17:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:17:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:17:34 ========================================================= 03:17:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:17:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:35 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:17:36 Sending build context to Docker daemon 5.892MB 03:17:36 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:17:36 Step 2/10 : FROM ${BASE} AS builder 03:17:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:17:36 af6eaf76a39c: Pulling fs layer 03:17:36 55522c791124: Pulling fs layer 03:17:36 ce5c4a1c91eb: Pulling fs layer 03:17:36 169dfbe0d373: Pulling fs layer 03:17:36 e1ff8fa3b103: Pulling fs layer 03:17:36 52ebb69f0ebf: Pulling fs layer 03:17:36 5abe8eddf0d5: Pulling fs layer 03:17:36 e1ff8fa3b103: Waiting 03:17:36 52ebb69f0ebf: Waiting 03:17:36 5abe8eddf0d5: Waiting 03:17:36 169dfbe0d373: Waiting 03:17:36 55522c791124: Verifying Checksum 03:17:36 55522c791124: Download complete 03:17:36 169dfbe0d373: Verifying Checksum 03:17:36 169dfbe0d373: Download complete 03:17:36 e1ff8fa3b103: Verifying Checksum 03:17:36 e1ff8fa3b103: Download complete 03:17:36 af6eaf76a39c: Verifying Checksum 03:17:37 af6eaf76a39c: Pull complete 03:17:37 5abe8eddf0d5: Verifying Checksum 03:17:37 5abe8eddf0d5: Download complete 03:17:37 55522c791124: Pull complete 03:17:38 ce5c4a1c91eb: Verifying Checksum 03:17:38 ce5c4a1c91eb: Download complete 03:17:38 52ebb69f0ebf: Verifying Checksum 03:17:38 52ebb69f0ebf: Download complete 03:17:51 ce5c4a1c91eb: Pull complete 03:17:51 169dfbe0d373: Pull complete 03:17:51 e1ff8fa3b103: Pull complete 03:17:57 52ebb69f0ebf: Pull complete 03:17:58 5abe8eddf0d5: Pull complete 03:17:58 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 03:17:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:17:58 ---> 6cb57ee374ae 03:17:58 Step 3/10 : ARG MAKE=make build 03:18:00 ---> Running in 9c4b8cb3446e 03:18:01 Removing intermediate container 9c4b8cb3446e 03:18:01 ---> 66757eeb5f29 03:18:01 Step 4/10 : WORKDIR /device-sdk-go 03:18:01 ---> Running in e31432dd223d 03:18:01 Removing intermediate container e31432dd223d 03:18:01 ---> d261093c7734 03:18:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:18:01 ---> Running in 72267e2588b6 03:18:01 Removing intermediate container 72267e2588b6 03:18:01 ---> 958feff80f86 03:18:01 Step 6/10 : RUN apk add --update --no-cache make git 03:18:01 ---> Running in a82c3d45566c 03:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:18:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:18:04 OK: 263 MiB in 53 packages 03:18:05 Removing intermediate container a82c3d45566c 03:18:05 ---> 3c3df07aefc5 03:18:05 Step 7/10 : COPY go.mod vendor* ./ 03:18:05 ---> 38b77e1ec51f 03:18:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:05 ---> Running in 72fb349837d6 03:19:04 Removing intermediate container 72fb349837d6 03:19:04 ---> b71567562dab 03:19:04 Step 9/10 : COPY . . 03:19:04 ---> d3f76ab9ac99 03:19:04 Step 10/10 : RUN ${MAKE} 03:19:04 ---> Running in a4853bb19b98 03:19:04 noop 03:19:04 Removing intermediate container a4853bb19b98 03:19:04 ---> df7212924473 03:19:04 Successfully built df7212924473 03:19:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:05 + docker inspect -f . ci-base-image-arm64 03:19:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:05 prd-ubuntu20.04-docker-arm64-4c-16g-7519 does not seem to be running inside a container 03:19:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:19:06 $ docker top fe2b2fba835136bd31a2a534634bfc9cd18638be4702a13410d0ebae57a73d57 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:07 + go version 03:19:07 go version go1.20.2 linux/arm64 [Pipeline] } 03:19:07 $ docker stop --time=1 fe2b2fba835136bd31a2a534634bfc9cd18638be4702a13410d0ebae57a73d57 03:19:09 $ docker rm -f --volumes fe2b2fba835136bd31a2a534634bfc9cd18638be4702a13410d0ebae57a73d57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:09 + docker inspect -f . ci-base-image-arm64 03:19:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:10 prd-ubuntu20.04-docker-arm64-4c-16g-7519 does not seem to be running inside a container 03:19:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:19:11 $ docker top dbf9b607e67b22c1bac1bfe1aced319f9737b2bd40b4f38276645722f1f49e81 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:12 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 03:19:12 + make test 03:19:12 go test -race -coverprofile=coverage.out ./... 03:19:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:21:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:21:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:21:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:21:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:21:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:21:49 # github.com/edgexfoundry/device-sdk-go/v3/internal/cache [github.com/edgexfoundry/device-sdk-go/v3/internal/cache.test] 03:21:49 internal/cache/profiles_test.go:211:57: cannot use tt.regexResourceName (variable of type string) as *regexp.Regexp value in argument to pc.DeviceResourcesByRegex 03:21:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.229s coverage: 27.6% of statements 03:21:53 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/cache [build failed] 03:22:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:22:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:22:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.447s coverage: 86.0% of statements 03:22:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:22:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 03:22:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.526s coverage: 77.5% of statements 03:22:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.340s coverage: 14.6% of statements 03:22:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:22:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:22:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.694s coverage: 68.5% of statements 03:22:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.446s coverage: 89.2% of statements 03:22:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:22:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.231s coverage: 5.6% of statements 03:22:21 FAIL 03:22:21 make: *** [Makefile:35: unittest] Error 1 [Pipeline] } 03:22:22 $ docker stop --time=1 dbf9b607e67b22c1bac1bfe1aced319f9737b2bd40b4f38276645722f1f49e81 03:22:23 $ docker rm -f --volumes dbf9b607e67b22c1bac1bfe1aced319f9737b2bd40b4f38276645722f1f49e81 [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:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:25 03:22:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:26 arm64: Pulling from edgex-lftools-log-publisher 03:22:26 8998bd30e6a1: Pulling fs layer 03:22:26 04944245beec: Pulling fs layer 03:22:26 699f458cf7ca: Pulling fs layer 03:22:26 765212b225bb: Pulling fs layer 03:22:26 f23df028b6ca: Pulling fs layer 03:22:26 d65c8cfc05b1: Pulling fs layer 03:22:26 2437ff75d9bd: Pulling fs layer 03:22:26 f23df028b6ca: Waiting 03:22:26 d65c8cfc05b1: Waiting 03:22:26 765212b225bb: Waiting 03:22:26 2437ff75d9bd: Waiting 03:22:26 04944245beec: Verifying Checksum 03:22:26 04944245beec: Download complete 03:22:26 765212b225bb: Verifying Checksum 03:22:26 765212b225bb: Download complete 03:22:26 f23df028b6ca: Verifying Checksum 03:22:26 f23df028b6ca: Download complete 03:22:26 d65c8cfc05b1: Verifying Checksum 03:22:26 d65c8cfc05b1: Download complete 03:22:26 699f458cf7ca: Verifying Checksum 03:22:26 699f458cf7ca: Download complete 03:22:26 8998bd30e6a1: Verifying Checksum 03:22:26 8998bd30e6a1: Download complete 03:22:29 2437ff75d9bd: Verifying Checksum 03:22:29 2437ff75d9bd: Download complete 03:22:31 8998bd30e6a1: Pull complete 03:22:31 04944245beec: Pull complete 03:22:35 699f458cf7ca: Pull complete 03:22:35 765212b225bb: Pull complete 03:22:36 f23df028b6ca: Pull complete 03:22:36 d65c8cfc05b1: Pull complete 03:22:51 2437ff75d9bd: Pull complete 03:22:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:51 prd-ubuntu20.04-docker-arm64-4c-16g-7519 does not seem to be running inside a container 03:22:51 $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:22:54 $ docker top 6d55f19b2bc1cf35a4cfb7fce4034b44999016b8543f75bae96c65175a331aa3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:55 ---> job-cost.sh 03:22:55 lf-activate-venv: SKIPPING 03:22:55 INFO: No Stack... 03:22:55 INFO: Retrieving Pricing Info for: v3-standard-4 03:22:56 INFO: Archiving Costs [Pipeline] sh 03:22:57 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 03:22:57 + cut -d, -f6 [Pipeline] lock 03:22:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1420-1-stack-cost] 03:22:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1420-1-stack-cost] did not exist. Created. 03:22:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:22:57 /w/workspace/device-sdk-go/1@tmp/durable-10a8be26/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:22:58 + echo total: 0.10999999940395355 [Pipeline] stash 03:22:58 Warning: overwriting stash ‘stack-cost’ 03:22:58 Stashed 1 file(s) [Pipeline] } 03:22:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1420-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:22:59 $ docker stop --time=1 6d55f19b2bc1cf35a4cfb7fce4034b44999016b8543f75bae96c65175a331aa3 03:23:02 $ docker rm -f --volumes 6d55f19b2bc1cf35a4cfb7fce4034b44999016b8543f75bae96c65175a331aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:23:02 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:23:04 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives ] 03:23:04 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives 03:23:04 total 16 03:23:04 drwxr-xr-x 3 root root 4096 Apr 12 03:16 . 03:23:04 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:16 .. 03:23:04 drwxr-xr-x 2 root root 4096 Apr 12 03:16 cost 03:23:04 -rw-r--r-- 1 root root 86 Apr 12 03:16 cost.csv 03:23:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives 03:23:04 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives 03:23:04 total 16 03:23:04 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 03:16 . 03:23:04 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:16 .. 03:23:04 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 03:16 cost 03:23:04 -rw-r--r-- 1 jenkins jenkins 86 Apr 12 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:23:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:23:06 ---> package-listing.sh 03:23:06 ++ facter osfamily 03:23:06 ++ tr '[:upper:]' '[:lower:]' 03:23:06 + OS_FAMILY=debian 03:23:06 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1420 03:23:06 + START_PACKAGES=/tmp/packages_start.txt 03:23:06 + END_PACKAGES=/tmp/packages_end.txt 03:23:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:23:06 + PACKAGES=/tmp/packages_start.txt 03:23:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1420 ']' 03:23:06 + PACKAGES=/tmp/packages_end.txt 03:23:06 + case "${OS_FAMILY}" in 03:23:06 + dpkg -l 03:23:06 + grep '^ii' 03:23:06 + '[' -f /tmp/packages_start.txt ']' 03:23:06 + '[' -f /tmp/packages_end.txt ']' 03:23:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:23:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1420 ']' 03:23:06 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives/ 03:23:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives/ [Pipeline] echo 03:23:06 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-sdk-go_PR-1420/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:23:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:23:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:07 prd-ubuntu20.04-docker-8c-8g-7518 does not seem to be running inside a container 03:23:07 $ 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-sdk-go_PR-1420/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-sdk-go_PR-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@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:23:07 $ docker top 5a3d40a24bf1a078c1375239c3e39976e6eee80ad931dd51d073a50fc9d6db73 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:08 + touch /tmp/pre-build-complete [Pipeline] sh 03:23:08 + mkdir -p /var/log/sysstat [Pipeline] sh 03:23:08 + ls /var/log/sa-host 03:23:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:08 provisioning config files... 03:23:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/config14075192561599115625tmp [Pipeline] { [Pipeline] echo 03:23:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:23:09 ---> create-netrc.sh [Pipeline] } 03:23:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:23:09 ---> python-tools-install.sh [Pipeline] echo 03:23:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:23:10 ---> sudo-logs.sh 03:23:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:23:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:23:10 ---> job-cost.sh 03:23:10 lf-activate-venv: SKIPPING 03:23:10 DEBUG: total: 0.2199999988079071 03:23:10 INFO: Retrieving Stack Cost... 03:23:10 INFO: Retrieving Pricing Info for: v3-standard-8 03:23:11 INFO: Archiving Costs [Pipeline] echo 03:23:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:23:11 ---> logs-deploy.sh 03:23:11 lf-activate-venv: SKIPPING 03:23:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1420/1 03:23:11 INFO: archiving workspace using pattern(s): 03:23:12 Archives upload complete. 03:23:12 INFO: archiving logs to Nexus 03:23:13 ---> uname -a: 03:23:13 Linux prd-ubuntu20-04-docker-8c-8g-7518 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:23:13 03:23:13 03:23:13 ---> lscpu: 03:23:13 Architecture: x86_64 03:23:13 CPU op-mode(s): 32-bit, 64-bit 03:23:13 Byte Order: Little Endian 03:23:13 Address sizes: 40 bits physical, 48 bits virtual 03:23:13 CPU(s): 8 03:23:13 On-line CPU(s) list: 0-7 03:23:13 Thread(s) per core: 1 03:23:13 Core(s) per socket: 1 03:23:13 Socket(s): 8 03:23:13 NUMA node(s): 1 03:23:13 Vendor ID: AuthenticAMD 03:23:13 CPU family: 23 03:23:13 Model: 49 03:23:13 Model name: AMD EPYC-Rome Processor 03:23:13 Stepping: 0 03:23:13 CPU MHz: 2800.000 03:23:13 BogoMIPS: 5600.00 03:23:13 Virtualization: AMD-V 03:23:13 Hypervisor vendor: KVM 03:23:13 Virtualization type: full 03:23:13 L1d cache: 256 KiB 03:23:13 L1i cache: 256 KiB 03:23:13 L2 cache: 4 MiB 03:23:13 L3 cache: 128 MiB 03:23:13 NUMA node0 CPU(s): 0-7 03:23:13 Vulnerability Itlb multihit: Not affected 03:23:13 Vulnerability L1tf: Not affected 03:23:13 Vulnerability Mds: Not affected 03:23:13 Vulnerability Meltdown: Not affected 03:23:13 Vulnerability Mmio stale data: Not affected 03:23:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:23:13 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:23:13 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:23:13 Vulnerability Srbds: Not affected 03:23:13 Vulnerability Tsx async abort: Not affected 03:23:13 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:23:13 03:23:13 03:23:13 ---> nproc: 03:23:13 8 03:23:13 03:23:13 03:23:13 ---> df -h: 03:23:13 Filesystem Size Used Avail Use% Mounted on 03:23:13 overlay 155G 12G 144G 8% / 03:23:13 tmpfs 64M 0 64M 0% /dev 03:23:13 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:23:13 shm 64M 0 64M 0% /dev/shm 03:23:13 /dev/vda1 155G 12G 144G 8% /facter-os 03:23:13 03:23:13 03:23:13 ---> sar -b -r -n DEV: 03:23:13 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7518) 04/12/23 _x86_64_ (8 CPU) 03:23:13 03:23:13 03:13:57 LINUX RESTART (8 CPU) 03:23:13 03:23:13 03:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:23:13 03:15:02 338.53 48.33 290.20 0.00 5420.16 190757.14 0.00 03:23:13 03:16:01 181.90 1.22 180.68 0.00 25.89 72366.99 0.00 03:23:13 03:17:01 52.02 0.22 51.81 0.00 13.73 24900.80 0.00 03:23:13 03:18:01 1.63 0.00 1.63 0.00 0.00 18.53 0.00 03:23:13 03:19:01 2.35 0.92 1.43 0.00 67.06 22.00 0.00 03:23:13 03:20:01 53.36 9.67 43.69 0.00 5087.82 8762.54 0.00 03:23:13 03:21:01 3.68 0.02 3.67 0.00 0.13 93.32 0.00 03:23:13 03:22:01 1.28 0.00 1.28 0.00 0.00 14.00 0.00 03:23:13 03:23:01 1.62 0.00 1.62 0.00 0.00 18.80 0.00 03:23:13 Average: 70.50 6.72 63.78 0.00 1181.54 32921.26 0.00 03:23:13 03:23:13 03:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:23:13 03:15:02 29933760 31618464 733656 2.23 60392 1923128 2046444 6.03 985784 1662804 23828 03:23:13 03:16:01 27889872 31443012 862660 2.62 145508 3578880 2089252 6.16 1484532 3036448 408268 03:23:13 03:17:01 27971912 31594400 712924 2.17 152196 3626304 1754752 5.17 1168256 3252772 4 03:23:13 03:18:01 27972848 31595480 711660 2.16 152288 3626312 1754752 5.17 1167836 3252776 8 03:23:13 03:19:01 27967692 31596372 709980 2.16 153656 3631260 1771092 5.22 1170156 3257552 124 03:23:13 03:20:01 27454212 31578644 708556 2.15 185972 4081428 1831196 5.40 1485412 3417284 12 03:23:13 03:21:01 27464172 31583932 703688 2.14 184568 4078176 1808944 5.33 1479012 3414044 4 03:23:13 03:22:01 27464140 31583968 703624 2.14 184636 4078176 1808944 5.33 1478996 3414044 8 03:23:13 03:23:01 27464012 31583936 703604 2.14 184720 4078180 1808944 5.33 1479100 3414056 8 03:23:13 Average: 27953624 31575356 727817 2.21 155993 3633538 1852702 5.46 1322120 3124642 48029 03:23:13 03:23:13 03:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:23:13 03:15:02 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 03:23:13 03:15:02 docker0 9.17 9.70 0.88 77.27 0.00 0.00 0.00 0.00 03:23:13 03:15:02 ens3 478.57 333.88 2771.72 98.92 0.00 0.00 0.00 0.00 03:23:13 03:16:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 03:23:13 03:16:01 veth06db30d 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 03:23:13 03:16:01 docker0 198.54 319.56 15.55 1954.75 0.00 0.00 0.00 0.00 03:23:13 03:16:01 ens3 494.95 288.12 5877.71 37.56 0.00 0.00 0.00 0.00 03:23:13 03:17:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 03:23:13 03:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:17:01 ens3 103.83 63.92 2526.25 13.00 0.00 0.00 0.00 0.00 03:23:13 03:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:18:01 ens3 0.07 0.03 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:19:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 03:23:13 03:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:19:01 ens3 0.22 0.25 0.07 0.03 0.00 0.00 0.00 0.00 03:23:13 03:20:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 03:23:13 03:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:20:01 ens3 174.09 85.44 2806.91 6.09 0.00 0.00 0.00 0.00 03:23:13 03:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:23:13 03:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:21:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 03:23:13 03:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:22:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:23:13 03:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:23:13 03:23:01 ens3 0.18 0.12 0.01 0.01 0.00 0.00 0.00 0.00 03:23:13 Average: lo 1.05 1.05 0.10 0.10 0.00 0.00 0.00 0.00 03:23:13 Average: docker0 22.75 36.06 1.80 222.57 0.00 0.00 0.00 0.00 03:23:13 Average: ens3 138.45 85.39 1545.58 17.25 0.00 0.00 0.00 0.00 03:23:13 03:23:13 03:23:13 ---> sar -P ALL: 03:23:13 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7518) 04/12/23 _x86_64_ (8 CPU) 03:23:13 03:23:13 03:13:57 LINUX RESTART (8 CPU) 03:23:13 03:23:13 03:14:01 CPU %user %nice %system %iowait %steal %idle 03:23:13 03:15:02 all 6.78 0.00 2.36 2.30 0.05 88.52 03:23:13 03:15:02 0 7.09 0.00 1.83 1.93 0.05 89.10 03:23:13 03:15:02 1 6.66 0.00 2.04 1.15 0.03 90.12 03:23:13 03:15:02 2 7.93 0.00 3.54 0.70 0.03 87.79 03:23:13 03:15:02 3 4.24 0.00 1.80 1.83 0.03 92.10 03:23:13 03:15:02 4 7.75 0.00 1.76 5.32 0.05 85.13 03:23:13 03:15:02 5 7.25 0.00 3.19 3.81 0.05 85.70 03:23:13 03:15:02 6 5.91 0.00 1.66 3.26 0.05 89.12 03:23:13 03:15:02 7 7.43 0.00 3.07 0.35 0.07 89.08 03:23:13 03:16:01 all 21.43 0.00 5.21 3.33 0.10 69.93 03:23:13 03:16:01 0 22.20 0.00 6.08 18.92 0.19 52.62 03:23:13 03:16:01 1 20.89 0.00 5.54 4.33 0.09 69.15 03:23:13 03:16:01 2 20.58 0.00 4.84 0.39 0.07 74.11 03:23:13 03:16:01 3 21.63 0.00 4.63 1.08 0.10 72.55 03:23:13 03:16:01 4 21.66 0.00 5.41 0.81 0.07 72.05 03:23:13 03:16:01 5 23.46 0.00 4.65 0.21 0.07 71.61 03:23:13 03:16:01 6 19.86 0.00 5.22 0.45 0.12 74.36 03:23:13 03:16:01 7 21.17 0.00 5.30 0.48 0.09 72.96 03:23:13 03:17:01 all 5.36 0.00 1.45 1.01 0.03 92.16 03:23:13 03:17:01 0 5.04 0.00 1.83 6.04 0.03 87.06 03:23:13 03:17:01 1 4.60 0.00 1.69 0.00 0.02 93.70 03:23:13 03:17:01 2 5.30 0.00 2.07 0.05 0.05 92.53 03:23:13 03:17:01 3 6.42 0.00 1.19 1.09 0.02 91.29 03:23:13 03:17:01 4 5.14 0.00 0.93 0.00 0.03 93.89 03:23:13 03:17:01 5 5.91 0.00 1.19 0.02 0.03 92.85 03:23:13 03:17:01 6 5.00 0.00 1.22 0.05 0.02 93.71 03:23:13 03:17:01 7 5.45 0.00 1.44 0.85 0.05 92.21 03:23:13 03:18:01 all 0.02 0.00 0.01 0.01 0.01 99.95 03:23:13 03:18:01 0 0.02 0.00 0.02 0.03 0.02 99.92 03:23:13 03:18:01 1 0.03 0.00 0.02 0.00 0.00 99.95 03:23:13 03:18:01 2 0.07 0.00 0.02 0.08 0.00 99.83 03:23:13 03:18:01 3 0.00 0.00 0.00 0.00 0.02 99.98 03:23:13 03:18:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:23:13 03:18:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:23:13 03:18:01 6 0.03 0.00 0.00 0.00 0.00 99.97 03:23:13 03:18:01 7 0.02 0.00 0.02 0.00 0.02 99.95 03:23:13 03:19:01 all 0.03 0.00 0.05 0.01 0.01 99.90 03:23:13 03:19:01 0 0.00 0.00 0.02 0.02 0.00 99.97 03:23:13 03:19:01 1 0.03 0.00 0.03 0.02 0.02 99.90 03:23:13 03:19:01 2 0.05 0.00 0.00 0.03 0.02 99.90 03:23:13 03:19:01 3 0.02 0.00 0.02 0.00 0.00 99.97 03:23:13 03:19:01 4 0.00 0.00 0.02 0.00 0.00 99.98 03:23:13 03:19:01 5 0.02 0.00 0.22 0.02 0.00 99.75 03:23:13 03:19:01 6 0.12 0.00 0.03 0.00 0.02 99.83 03:23:13 03:19:01 7 0.02 0.00 0.03 0.02 0.02 99.92 03:23:13 03:20:01 all 2.07 0.00 1.26 0.71 0.03 95.93 03:23:13 03:20:01 0 1.79 0.00 1.99 0.99 0.05 95.19 03:23:13 03:20:01 1 2.23 0.00 2.18 1.35 0.02 94.21 03:23:13 03:20:01 2 1.48 0.00 0.78 1.45 0.03 96.25 03:23:13 03:20:01 3 1.46 0.00 0.65 0.08 0.03 97.77 03:23:13 03:20:01 4 1.47 0.00 0.80 0.67 0.02 97.05 03:23:13 03:20:01 5 2.82 0.00 1.47 0.40 0.02 95.29 03:23:13 03:20:01 6 3.27 0.00 1.25 0.18 0.02 95.28 03:23:13 03:20:01 7 2.06 0.00 0.94 0.54 0.03 96.43 03:23:13 03:21:01 all 0.07 0.00 0.09 0.01 0.01 99.83 03:23:13 03:21:01 0 0.05 0.00 0.07 0.00 0.02 99.87 03:23:13 03:21:01 1 0.10 0.00 0.15 0.00 0.00 99.75 03:23:13 03:21:01 2 0.03 0.00 0.10 0.07 0.02 99.78 03:23:13 03:21:01 3 0.03 0.00 0.05 0.00 0.00 99.92 03:23:13 03:21:01 4 0.03 0.00 0.03 0.00 0.00 99.93 03:23:13 03:21:01 5 0.20 0.00 0.12 0.00 0.02 99.67 03:23:13 03:21:01 6 0.03 0.00 0.08 0.00 0.00 99.88 03:23:13 03:21:01 7 0.10 0.00 0.08 0.00 0.00 99.82 03:23:13 03:22:01 all 0.02 0.00 0.01 0.00 0.01 99.96 03:23:13 03:22:01 0 0.03 0.00 0.02 0.00 0.03 99.92 03:23:13 03:22:01 1 0.02 0.00 0.00 0.00 0.00 99.98 03:23:13 03:22:01 2 0.07 0.00 0.02 0.02 0.02 99.88 03:23:13 03:22:01 3 0.00 0.00 0.00 0.00 0.02 99.98 03:23:13 03:22:01 4 0.00 0.00 0.02 0.02 0.02 99.95 03:23:13 03:22:01 5 0.02 0.00 0.02 0.00 0.00 99.97 03:23:13 03:22:01 6 0.02 0.00 0.02 0.00 0.00 99.97 03:23:13 03:22:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:23:13 03:23:01 all 0.03 0.00 0.00 0.01 0.01 99.96 03:23:13 03:23:01 0 0.03 0.00 0.02 0.00 0.02 99.93 03:23:13 03:23:01 1 0.00 0.00 0.00 0.00 0.00 100.00 03:23:13 03:23:01 2 0.10 0.00 0.00 0.03 0.02 99.85 03:23:13 03:23:01 3 0.02 0.00 0.00 0.00 0.00 99.98 03:23:13 03:23:01 4 0.00 0.00 0.00 0.02 0.00 99.98 03:23:13 03:23:01 5 0.02 0.00 0.02 0.00 0.02 99.95 03:23:13 03:23:01 6 0.03 0.00 0.00 0.00 0.00 99.97 03:23:13 03:23:01 7 0.02 0.00 0.00 0.00 0.00 99.98 03:23:13 Average: all 3.92 0.00 1.14 0.81 0.03 94.10 03:23:13 Average: 0 3.96 0.00 1.30 3.05 0.04 91.65 03:23:13 Average: 1 3.79 0.00 1.28 0.75 0.02 94.16 03:23:13 Average: 2 3.90 0.00 1.25 0.31 0.03 94.51 03:23:13 Average: 3 3.70 0.00 0.92 0.45 0.02 94.91 03:23:13 Average: 4 3.94 0.00 0.98 0.76 0.02 94.31 03:23:13 Average: 5 4.35 0.00 1.19 0.49 0.02 93.94 03:23:13 Average: 6 3.75 0.00 1.04 0.44 0.02 94.75 03:23:13 Average: 7 3.96 0.00 1.19 0.25 0.03 94.57 03:23:13 03:23:13 03:23:13