Pull request #1345 updated 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 6905a34b550db74fa7bee656b07304e99fd1342f+b4dcd90c517d60267da088e4e26fcccd6a523ed6 (7f2ce27106b11cfb3ffefb94fce18107117f6902) 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-ssh15016075162584772183.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-ssh11523016587882510096.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-sdk-go/branches/PR-1345/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-sdk-go/branches/PR-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh783629183831903397.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-ssh16006617372813888956.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-sdk-go/branches/PR-1345/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-sdk-go/branches/PR-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15390067211222400357.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-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.18 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-8140 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [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-1345 # 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/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 6905a34b550db74fa7bee656b07304e99fd1342f Merge succeeded, producing 6905a34b550db74fa7bee656b07304e99fd1342f Checking out Revision 6905a34b550db74fa7bee656b07304e99fd1342f (PR-1345) > git config core.sparsecheckout # timeout=10 > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 Commit message: "refactor!: address PR requested changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:09:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:09:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:09:46 ========================================================= 02:09:46 EdgeX Global Pipelines Version Info 02:09:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1066856259239db1f5b18b8cd1860e9b4d9d0dff # timeout=10 02:09:47 ------------------- 02:09:47 stable info: 02:09:47 ------------------- 02:09:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:09:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:09:47 Message: update stable to v1.0.244 02:09:48 ------------------- 02:09:48 experimental info: 02:09:48 ------------------- 02:09:48 Commited By: **** collab-it+edgex@linuxfoundation.org 02:09:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:09:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1345 [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1345 [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1345 [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6905a34 [Pipeline] echo 02:09:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:09:48 provisioning config files... 02:09:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config777035691308458503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:49 ---> docker-login.sh 02:09:49 nexus3.edgexfoundry.org:10001 02:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:49 Configure a credential helper to remove this warning. See 02:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:49 02:09:49 Login Succeeded 02:09:49 nexus3.edgexfoundry.org:10002 02:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:49 Configure a credential helper to remove this warning. See 02:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:49 02:09:49 Login Succeeded 02:09:49 nexus3.edgexfoundry.org:10003 02:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:49 Configure a credential helper to remove this warning. See 02:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:49 02:09:49 Login Succeeded 02:09:49 nexus3.edgexfoundry.org:10004 02:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:49 Configure a credential helper to remove this warning. See 02:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:49 02:09:49 Login Succeeded 02:09:49 docker.io 02:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:50 Configure a credential helper to remove this warning. See 02:09:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:50 02:09:50 Login Succeeded 02:09:50 ---> docker-login.sh ends [Pipeline] } 02:09:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:09:50 + git rev-list -1 --merges 6905a34b550db74fa7bee656b07304e99fd1342f~1..6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] echo 02:09:50 -----------> git rev-list -1 --merges 6905a34b550db74fa7bee656b07304e99fd1342f~1..6905a34b550db74fa7bee656b07304e99fd1342f 6905a34b550db74fa7bee656b07304e99fd1342f [false] [Pipeline] sh 02:09:50 + git log --format=format:%s -1 6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] echo 02:09:50 ========================================================= 02:09:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:09:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:09:51 + git log --format=format:%s -1 6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] echo 02:09:51 [semverPrep] GIT_COMMIT: 6905a34b550db74fa7bee656b07304e99fd1342f, Commit Message: refactor!: address PR requested changes [Pipeline] echo 02:09:51 [semverPrep] This is not a build commit. [Pipeline] sh 02:09:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:09:51 + grep -v github /etc/ssh/ssh_known_hosts 02:09:51 + [ -e /tmp/ssh_known_hosts ] 02:09:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:09:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:09:51 + sudo tee -a /etc/ssh/ssh_known_hosts 02:09:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:09:52 02:09:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:09:52 0.1.4: Pulling from edgex-devops/py-git-semver 02:09:52 b85a868b505f: Pulling fs layer 02:09:52 e2be974225ed: Pulling fs layer 02:09:52 339a4e72a1f5: Pulling fs layer 02:09:52 988bab9f4d93: Pulling fs layer 02:09:52 1469e6f7b9e6: Pulling fs layer 02:09:52 eaf3925da568: Pulling fs layer 02:09:52 bab4dde63d76: Pulling fs layer 02:09:52 bde34c3a00c8: Pulling fs layer 02:09:52 b352a97aabf1: Pulling fs layer 02:09:52 4872d77fe225: Pulling fs layer 02:09:52 5851b861e8e6: Pulling fs layer 02:09:52 5851b861e8e6: Waiting 02:09:52 4872d77fe225: Waiting 02:09:52 bde34c3a00c8: Waiting 02:09:52 1469e6f7b9e6: Waiting 02:09:52 988bab9f4d93: Waiting 02:09:52 eaf3925da568: Waiting 02:09:52 b352a97aabf1: Waiting 02:09:52 e2be974225ed: Verifying Checksum 02:09:52 e2be974225ed: Download complete 02:09:52 988bab9f4d93: Verifying Checksum 02:09:52 988bab9f4d93: Download complete 02:09:52 1469e6f7b9e6: Verifying Checksum 02:09:52 1469e6f7b9e6: Download complete 02:09:52 eaf3925da568: Verifying Checksum 02:09:52 eaf3925da568: Download complete 02:09:52 339a4e72a1f5: Verifying Checksum 02:09:52 339a4e72a1f5: Download complete 02:09:52 bde34c3a00c8: Verifying Checksum 02:09:52 bde34c3a00c8: Download complete 02:09:52 b352a97aabf1: Download complete 02:09:52 4872d77fe225: Verifying Checksum 02:09:52 4872d77fe225: Download complete 02:09:52 5851b861e8e6: Download complete 02:09:52 b85a868b505f: Verifying Checksum 02:09:52 b85a868b505f: Download complete 02:09:52 bab4dde63d76: Verifying Checksum 02:09:52 bab4dde63d76: Download complete 02:09:54 b85a868b505f: Pull complete 02:09:54 e2be974225ed: Pull complete 02:09:54 339a4e72a1f5: Pull complete 02:09:54 988bab9f4d93: Pull complete 02:09:55 1469e6f7b9e6: Pull complete 02:09:55 eaf3925da568: Pull complete 02:09:57 bab4dde63d76: Pull complete 02:09:57 bde34c3a00c8: Pull complete 02:09:57 b352a97aabf1: Pull complete 02:09:57 4872d77fe225: Pull complete 02:09:57 5851b861e8e6: Pull complete 02:09:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:09:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:09:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:57 prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container 02:09:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:09:58 $ docker top fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 -eo pid,comm 02:09:59 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). 02:09:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:09:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:09:59 [ssh-agent] Looking for ssh-agent implementation... 02:09:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:09:59 $ docker exec fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 ssh-agent 02:09:59 SSH_AUTH_SOCK=/tmp/ssh-4IGsa3akT9vj/agent.32 02:09:59 SSH_AGENT_PID=38 02:09:59 Running ssh-add (command line suppressed) 02:09:59 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_983583987568361243.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_983583987568361243.key) 02:09:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:09:59 + git tag --points-at HEAD [Pipeline] } 02:09:59 $ docker exec --env ******** --env ******** fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 ssh-agent -k 02:09:59 unset SSH_AUTH_SOCK; 02:09:59 unset SSH_AGENT_PID; 02:09:59 echo Agent pid 38 killed; 02:09:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:09:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:09:59 [ssh-agent] Looking for ssh-agent implementation... 02:10:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:00 $ docker exec fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 ssh-agent 02:10:00 SSH_AUTH_SOCK=/tmp/ssh-eUMNSrBfxhYE/agent.70 02:10:00 SSH_AGENT_PID=76 02:10:00 Running ssh-add (command line suppressed) 02:10:00 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_10754283651865108201.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_10754283651865108201.key) 02:10:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:00 + git semver init 02:10:00 2023-03-03 02:10:00,748 [run_init] DEBUG init version:0.0.0 force:False 02:10:00 2023-03-03 02:10:00,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver 02:10:00 2023-03-03 02:10:00,749 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver 02:10:00 2023-03-03 02:10:00,749 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345, universal_newlines=False, shell=None, istream=None) 02:10:01 2023-03-03 02:10:01,749 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.git/info/exclude 02:10:01 2023-03-03 02:10:01,749 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 with force:False 02:10:01 2023-03-03 02:10:01,749 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 02:10:01 2023-03-03 02:10:01,754 [execute] INFO git cat-file --batch-check 02:10:01 2023-03-03 02:10:01,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) 02:10:02 2023-03-03 02:10:01,762 [execute] INFO git cat-file --batch 02:10:02 2023-03-03 02:10:01,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) 02:10:02 2023-03-03 02:10:01,767 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 02:10:02 0.0.0 [Pipeline] } 02:10:02 $ docker exec --env ******** --env ******** fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 ssh-agent -k 02:10:02 unset SSH_AUTH_SOCK; 02:10:02 unset SSH_AGENT_PID; 02:10:02 echo Agent pid 76 killed; 02:10:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:10:02 + git semver [Pipeline] } 02:10:02 $ docker stop --time=1 fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 02:10:03 $ docker rm -f --volumes fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:10:04 Stashed 1 file(s) [Pipeline] echo 02:10:04 [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 02:10:04 provisioning config files... 02:10:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config10180870843158868799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:04 ---> docker-login.sh 02:10:04 nexus3.edgexfoundry.org:10001 02:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:04 Configure a credential helper to remove this warning. See 02:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:04 02:10:04 Login Succeeded 02:10:04 nexus3.edgexfoundry.org:10002 02:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:04 Configure a credential helper to remove this warning. See 02:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:04 02:10:04 Login Succeeded 02:10:04 nexus3.edgexfoundry.org:10003 02:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:05 Configure a credential helper to remove this warning. See 02:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:05 02:10:05 Login Succeeded 02:10:05 nexus3.edgexfoundry.org:10004 02:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:05 Configure a credential helper to remove this warning. See 02:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:05 02:10:05 Login Succeeded 02:10:05 docker.io 02:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:05 Configure a credential helper to remove this warning. See 02:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:05 02:10:05 Login Succeeded 02:10:05 ---> docker-login.sh ends [Pipeline] } 02:10:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:10:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:10:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:10:05 ========================================================= 02:10:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:10:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:06 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 02:10:06 Sending build context to Docker daemon 10.8MB 02:10:06 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 02:10:06 Step 2/10 : FROM ${BASE} AS builder 02:10:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:10:06 213ec9aee27d: Pulling fs layer 02:10:06 4583459ba037: Pulling fs layer 02:10:06 93c1e223e6f2: Pulling fs layer 02:10:06 53926ce57604: Pulling fs layer 02:10:06 21b2b0c7a3f4: Pulling fs layer 02:10:06 22ff95d597cd: Pulling fs layer 02:10:06 12d6caf4c0d1: Pulling fs layer 02:10:06 96b7cbca73a9: Pulling fs layer 02:10:06 a7acece74701: Pulling fs layer 02:10:06 53926ce57604: Waiting 02:10:06 21b2b0c7a3f4: Waiting 02:10:06 96b7cbca73a9: Waiting 02:10:06 22ff95d597cd: Waiting 02:10:06 12d6caf4c0d1: Waiting 02:10:06 a7acece74701: Waiting 02:10:06 93c1e223e6f2: Verifying Checksum 02:10:06 93c1e223e6f2: Download complete 02:10:06 4583459ba037: Download complete 02:10:06 21b2b0c7a3f4: Verifying Checksum 02:10:06 21b2b0c7a3f4: Download complete 02:10:06 22ff95d597cd: Verifying Checksum 02:10:06 22ff95d597cd: Download complete 02:10:06 213ec9aee27d: Verifying Checksum 02:10:06 12d6caf4c0d1: Download complete 02:10:06 213ec9aee27d: Pull complete 02:10:06 4583459ba037: Pull complete 02:10:06 93c1e223e6f2: Pull complete 02:10:06 a7acece74701: Verifying Checksum 02:10:06 a7acece74701: Download complete 02:10:07 96b7cbca73a9: Download complete 02:10:07 53926ce57604: Verifying Checksum 02:10:07 53926ce57604: Download complete 02:10:11 53926ce57604: Pull complete 02:10:11 21b2b0c7a3f4: Pull complete 02:10:11 22ff95d597cd: Pull complete 02:10:11 12d6caf4c0d1: Pull complete 02:10:13 96b7cbca73a9: Pull complete 02:10:14 a7acece74701: Pull complete 02:10:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:10:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:10:14 ---> db6d94c90886 02:10:14 Step 3/10 : ARG MAKE=make build 02:10:16 ---> Running in fa30e9fcca32 02:10:16 Removing intermediate container fa30e9fcca32 02:10:16 ---> 260773526cf3 02:10:16 Step 4/10 : WORKDIR /device-sdk-go 02:10:16 ---> Running in 3d76b2e6f095 02:10:16 Removing intermediate container 3d76b2e6f095 02:10:16 ---> c24eb8d77322 02:10:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:10:16 ---> Running in dca7ea9409c0 02:10:16 Removing intermediate container dca7ea9409c0 02:10:16 ---> ed8a6fbb137d 02:10:16 Step 6/10 : RUN apk add --update --no-cache make git 02:10:16 ---> Running in 4eba58ef065a 02:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:10:17 OK: 211 MiB in 51 packages 02:10:17 Removing intermediate container 4eba58ef065a 02:10:17 ---> 8aea54d9647c 02:10:17 Step 7/10 : COPY go.mod vendor* ./ 02:10:17 ---> d5d26999e83b 02:10:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:10:17 ---> Running in d7e9f00503a3 02:10:19 Still waiting to schedule task 02:10:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:10:49 Removing intermediate container d7e9f00503a3 02:10:49 ---> e86b1cc33581 02:10:49 Step 9/10 : COPY . . 02:10:49 ---> 38653601a338 02:10:49 Step 10/10 : RUN ${MAKE} 02:10:49 ---> Running in fc05688b926a 02:10:49 noop 02:10:49 Removing intermediate container fc05688b926a 02:10:49 ---> dbdf3d758b76 02:10:49 Successfully built dbdf3d758b76 02:10:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:50 + docker inspect -f . ci-base-image-x86_64 02:10:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:50 prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container 02:10:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:10:50 $ docker top 86521484ddb57a52329fc714532336a7384c628f5fe62ac54e38aaf8458bfa5b -eo pid,comm [Pipeline] { [Pipeline] sh 02:10:51 + go version 02:10:51 go version go1.18.7 linux/amd64 [Pipeline] } 02:10:51 $ docker stop --time=1 86521484ddb57a52329fc714532336a7384c628f5fe62ac54e38aaf8458bfa5b 02:10:52 $ docker rm -f --volumes 86521484ddb57a52329fc714532336a7384c628f5fe62ac54e38aaf8458bfa5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:52 + docker inspect -f . ci-base-image-x86_64 02:10:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:52 prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container 02:10:52 $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:10:53 $ docker top e4b58975310ae0f96d59c05095dda788cc5ae542b77e676ad38e32c994c2a340 -eo pid,comm [Pipeline] { [Pipeline] sh 02:10:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] fileExists [Pipeline] sh 02:10:53 + make test 02:10:53 go test -race -coverprofile=coverage.out ./... 02:11:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:11:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:11:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:11:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:11:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:11:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:11:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements 02:11:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 78.9% of statements 02:11:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.101s coverage: 86.0% of statements 02:11:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:11:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:11:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 75.0% of statements 02:11:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:11:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 15.3% of statements 02:11:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 02:11:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.120s coverage: 65.2% of statements 02:11:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:11:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:11:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.730s coverage: 89.2% of statements 02:11:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 4.7% of statements 02:11:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:11:36 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:11:36 GO111MODULE=on go vet ./... 02:11:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:11:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:11:37 ./bin/test-attribution-txt.sh [Pipeline] echo 02:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:11:37 $ docker stop --time=1 e4b58975310ae0f96d59c05095dda788cc5ae542b77e676ad38e32c994c2a340 02:11:39 $ docker rm -f --volumes e4b58975310ae0f96d59c05095dda788cc5ae542b77e676ad38e32c994c2a340 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:11:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:11:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:11:40 + ls -al . 02:11:40 total 280 02:11:40 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 02:10 . 02:11:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 02:09 .. 02:11:40 -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 02:09 .dockerignore 02:11:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 02:11 .git 02:11:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 02:09 .github 02:11:40 -rw-rw-r-- 1 jenkins jenkins 131 Mar 3 02:09 .gitignore 02:11:40 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 02:09 .golangci.yml 02:11:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 02:10 .semver 02:11:40 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 3 02:09 CHANGELOG.md 02:11:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 02:09 GOVERNANCE.md 02:11:40 -rw-rw-r-- 1 jenkins jenkins 885 Mar 3 02:09 Jenkinsfile 02:11:40 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 02:09 LICENSE 02:11:40 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 3 02:09 Makefile 02:11:40 -rw-rw-r-- 1 jenkins jenkins 619 Mar 3 02:09 OWNERS.md 02:11:40 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 3 02:09 README.md 02:11:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 02:10 VERSION 02:11:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 02:09 bin 02:11:40 -rw-r--r-- 1 jenkins jenkins 110996 Mar 3 02:11 coverage.out 02:11:40 drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 02:09 example 02:11:40 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 3 02:09 go.mod 02:11:40 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 3 02:09 go.sum 02:11:40 drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 02:09 internal 02:11:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 02:09 openapi 02:11:40 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 02:09 pkg 02:11:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 02:09 snap 02:11:40 -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 02:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:41 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6905a34b550db74fa7bee656b07304e99fd1342f --label arch=amd64 --label version=0.0.0 . 02:11:41 Sending build context to Docker daemon 10.92MB 02:11:41 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 02:11:41 Step 2/23 : FROM ${BASE} AS builder 02:11:41 ---> dbdf3d758b76 02:11:41 Step 3/23 : ARG MAKE=make build 02:11:41 ---> Running in eacbe9a3bcb1 02:11:41 Removing intermediate container eacbe9a3bcb1 02:11:41 ---> dd479ba2f6cf 02:11:41 Step 4/23 : WORKDIR /device-sdk-go 02:11:41 ---> Running in 1e3a06d6309e 02:11:41 Removing intermediate container 1e3a06d6309e 02:11:41 ---> 7471ae32f891 02:11:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:11:41 ---> Running in 97d2a5537412 02:11:41 Removing intermediate container 97d2a5537412 02:11:41 ---> eb8a3cb8cd58 02:11:41 Step 6/23 : RUN apk add --update --no-cache make git 02:11:41 ---> Running in 5f81aeeb859e 02:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:11:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:11:42 OK: 211 MiB in 51 packages 02:11:42 Removing intermediate container 5f81aeeb859e 02:11:42 ---> a3f8a9f35769 02:11:42 Step 7/23 : COPY go.mod vendor* ./ 02:11:42 ---> 71e0c9b5bd6b 02:11:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:42 ---> Running in 1e26e7c1297d 02:11:43 Removing intermediate container 1e26e7c1297d 02:11:43 ---> dc2e94a28a7c 02:11:43 Step 9/23 : COPY . . 02:11:44 ---> efa245e77f51 02:11:44 Step 10/23 : RUN ${MAKE} 02:11:44 ---> Running in 074ff1340a08 02:11:44 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:11:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8141 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] { [Pipeline] ws 02:11:54 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:11:54 The recommended git tool is: git 02:11:59 using credential edgex-jenkins-ssh 02:11:59 Cloning the remote Git repository 02:11:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:11:59 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:11:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:11:59 > git --version # timeout=10 02:11:59 > git --version # 'git version 2.25.1' 02:11:59 using GIT_SSH to set credentials SSH Credentials for GitHub 02:11:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:12:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:12:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:12:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:12:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:12:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:12:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:12:03 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 6905a34b550db74fa7bee656b07304e99fd1342f 02:12:03 Merge succeeded, producing 6905a34b550db74fa7bee656b07304e99fd1342f 02:12:03 Checking out Revision 6905a34b550db74fa7bee656b07304e99fd1342f (PR-1345) 02:12:03 > git config core.sparsecheckout # timeout=10 02:12:03 > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 02:12:03 > git remote # timeout=10 02:12:03 > git config --get remote.origin.url # timeout=10 02:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:12:03 > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 02:12:03 > git rev-parse HEAD^{commit} # timeout=10 02:12:03 > git config core.sparsecheckout # timeout=10 02:12:03 > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 02:12:06 Removing intermediate container 074ff1340a08 02:12:06 ---> b0b9e206e63b 02:12:06 Step 11/23 : FROM alpine:3.16 02:12:06 3.16: Pulling from library/alpine 02:12:06 ef5531b6e74e: Pulling fs layer 02:12:06 ef5531b6e74e: Verifying Checksum 02:12:06 ef5531b6e74e: Download complete 02:12:06 ef5531b6e74e: Pull complete 02:12:06 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:12:06 Status: Downloaded newer image for alpine:3.16 02:12:06 ---> dfd21b5a31f5 02:12:06 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:12:06 ---> Running in cd0de1f6cc46 02:12:06 Removing intermediate container cd0de1f6cc46 02:12:06 ---> fe7694f030e6 02:12:06 Step 13/23 : RUN apk add --update --no-cache 02:12:06 ---> Running in f9f09ae72308 02:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:06 OK: 6 MiB in 14 packages 02:12:06 Removing intermediate container f9f09ae72308 02:12:06 ---> 7cdf9f66b2e6 02:12:06 Step 14/23 : WORKDIR / 02:12:06 ---> Running in 04a008b96b7c 02:12:06 Removing intermediate container 04a008b96b7c 02:12:06 ---> f6a3ac5c172b 02:12:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:12:06 ---> 8cea683bab08 02:12:06 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:12:07 Commit message: "refactor!: address PR requested changes" 02:12:07 ---> 92921254bd09 02:12:07 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:12:07 ---> e947c969d420 02:12:07 Step 18/23 : EXPOSE 59999 02:12:07 ---> Running in d6f97ac549f1 02:12:07 Removing intermediate container d6f97ac549f1 02:12:07 ---> 7d5d8653d2bc 02:12:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:12:07 ---> Running in fc966072b5b2 02:12:07 Removing intermediate container fc966072b5b2 02:12:07 ---> 3e80e210bdd5 02:12:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:12:07 ---> Running in 5e1b580793bc 02:12:07 Removing intermediate container 5e1b580793bc 02:12:07 ---> a1d74de19c5c 02:12:07 Step 21/23 : LABEL arch=amd64 02:12:07 ---> Running in 79227c79cc51 02:12:07 Removing intermediate container 79227c79cc51 02:12:07 ---> b5bc18f9e415 02:12:07 Step 22/23 : LABEL git_sha=6905a34b550db74fa7bee656b07304e99fd1342f 02:12:07 ---> Running in fb6267315113 02:12:07 Removing intermediate container fb6267315113 02:12:07 ---> 912385a0a6bf 02:12:07 Step 23/23 : LABEL version=0.0.0 02:12:07 ---> Running in bf7bc69ccc3c 02:12:07 Removing intermediate container bf7bc69ccc3c 02:12:07 ---> eaf1373e11bc 02:12:07 [Warning] One or more build-args [ARCH] were not consumed 02:12:07 Successfully built eaf1373e11bc 02:12:07 Successfully tagged device-sdk-simple:latest 02:12:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:12:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:12:08 Dload Upload Total Spent Left Speed 02:12:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10503 0 0 73964 0 --:--:-- --:--:-- --:--:-- 73447 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 02:12:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:08 02:12:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:12:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:08 latest: Pulling from edgex-lftools-log-publisher 02:12:08 5eb5b503b376: Pulling fs layer 02:12:08 5c69ac0246d0: Pulling fs layer 02:12:08 ec43610c2a17: Pulling fs layer 02:12:08 3a2ae6a8a46f: Pulling fs layer 02:12:08 33b1e0a273af: Pulling fs layer 02:12:08 5d3b04190fa2: Pulling fs layer 02:12:08 2f39f015ded8: Pulling fs layer 02:12:08 33b1e0a273af: Waiting 02:12:08 5d3b04190fa2: Waiting 02:12:08 2f39f015ded8: Waiting 02:12:08 3a2ae6a8a46f: Waiting 02:12:08 5c69ac0246d0: Verifying Checksum 02:12:08 5c69ac0246d0: Download complete 02:12:08 3a2ae6a8a46f: Verifying Checksum 02:12:08 3a2ae6a8a46f: Download complete 02:12:08 33b1e0a273af: Verifying Checksum 02:12:08 33b1e0a273af: Download complete 02:12:09 + sudo tee /etc/docker/daemon.new 02:12:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:12:09 { 02:12:09 "registry-mirrors": [ 02:12:09 "https://nexus3.edgexfoundry.org:10001" 02:12:09 ], 02:12:09 "bip": "10.250.0.254/24", 02:12:09 "hosts": [ 02:12:09 "tcp://0.0.0.0:5555", 02:12:09 "unix:///var/run/docker.sock" 02:12:09 ], 02:12:09 "mtu": 1458, 02:12:09 "selinux-enabled": true, 02:12:09 "seccomp-profile": "/etc/docker/seccomp.json" 02:12:09 } [Pipeline] sh 02:12:09 5d3b04190fa2: Verifying Checksum 02:12:09 5d3b04190fa2: Download complete 02:12:09 ec43610c2a17: Verifying Checksum 02:12:09 5eb5b503b376: Verifying Checksum 02:12:09 5eb5b503b376: Download complete 02:12:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:12:09 + sudo service docker restart 02:12:09 2f39f015ded8: Download complete 02:12:10 5eb5b503b376: Pull complete 02:12:10 5c69ac0246d0: Pull complete 02:12:10 ec43610c2a17: Pull complete 02:12:10 3a2ae6a8a46f: Pull complete 02:12:11 33b1e0a273af: Pull complete 02:12:11 5d3b04190fa2: Pull complete 02:12:15 2f39f015ded8: Pull complete 02:12:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:12:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:15 prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container 02:12:15 $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:12:17 $ docker top 3042d9e7c25b3f482d7e0291d3b9e58241dc2ac432b1c11f3265ae6fcabb083a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:17 ---> job-cost.sh 02:12:17 lf-activate-venv: SKIPPING 02:12:17 INFO: No Stack... 02:12:17 INFO: Retrieving Pricing Info for: v3-standard-8 02:12:18 INFO: Archiving Costs [Pipeline] sh 02:12:18 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/cost.csv 02:12:18 + cut -d, -f6 [Pipeline] lock 02:12:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] 02:12:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] did not exist. Created. 02:12:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:12:19 + echo total: 0.2199999988079071 [Pipeline] stash 02:12:19 Stashed 1 file(s) [Pipeline] } 02:12:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [Pipeline] // lock [Pipeline] } 02:12:19 $ docker stop --time=1 3042d9e7c25b3f482d7e0291d3b9e58241dc2ac432b1c11f3265ae6fcabb083a 02:12:20 $ docker rm -f --volumes 3042d9e7c25b3f482d7e0291d3b9e58241dc2ac432b1c11f3265ae6fcabb083a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:12:27 provisioning config files... 02:12:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config15370472936285528332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:28 ---> docker-login.sh 02:12:28 nexus3.edgexfoundry.org:10001 02:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:28 Configure a credential helper to remove this warning. See 02:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:28 02:12:28 Login Succeeded 02:12:28 nexus3.edgexfoundry.org:10002 02:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:29 Configure a credential helper to remove this warning. See 02:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:29 02:12:29 Login Succeeded 02:12:29 nexus3.edgexfoundry.org:10003 02:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:29 Configure a credential helper to remove this warning. See 02:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:29 02:12:29 Login Succeeded 02:12:29 nexus3.edgexfoundry.org:10004 02:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:29 Configure a credential helper to remove this warning. See 02:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:29 02:12:29 Login Succeeded 02:12:29 docker.io 02:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:30 Configure a credential helper to remove this warning. See 02:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:30 02:12:30 Login Succeeded 02:12:30 ---> docker-login.sh ends [Pipeline] } 02:12:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:12:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:12:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:12:30 ========================================================= 02:12:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:12:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:31 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 02:12:31 Sending build context to Docker daemon 5.895MB 02:12:31 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 02:12:31 Step 2/10 : FROM ${BASE} AS builder 02:12:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:12:31 9b18e9b68314: Pulling fs layer 02:12:31 35d82f9e3411: Pulling fs layer 02:12:31 e16973657156: Pulling fs layer 02:12:31 fc693d55d65f: Pulling fs layer 02:12:31 7e9fc2657dce: Pulling fs layer 02:12:31 dda99020689f: Pulling fs layer 02:12:31 db1c61fa0a46: Pulling fs layer 02:12:31 fc693d55d65f: Waiting 02:12:31 891c053d2c06: Pulling fs layer 02:12:31 dda99020689f: Waiting 02:12:31 db1c61fa0a46: Waiting 02:12:31 891c053d2c06: Waiting 02:12:31 7e9fc2657dce: Waiting 02:12:31 e16973657156: Verifying Checksum 02:12:31 e16973657156: Download complete 02:12:31 35d82f9e3411: Download complete 02:12:31 7e9fc2657dce: Verifying Checksum 02:12:31 7e9fc2657dce: Download complete 02:12:31 dda99020689f: Download complete 02:12:31 9b18e9b68314: Download complete 02:12:32 9b18e9b68314: Pull complete 02:12:32 891c053d2c06: Verifying Checksum 02:12:32 891c053d2c06: Download complete 02:12:33 35d82f9e3411: Pull complete 02:12:33 e16973657156: Pull complete 02:12:33 db1c61fa0a46: Verifying Checksum 02:12:33 db1c61fa0a46: Download complete 02:12:34 fc693d55d65f: Verifying Checksum 02:12:34 fc693d55d65f: Download complete 02:12:44 fc693d55d65f: Pull complete 02:12:44 7e9fc2657dce: Pull complete 02:12:44 dda99020689f: Pull complete 02:12:52 db1c61fa0a46: Pull complete 02:12:52 891c053d2c06: Pull complete 02:12:52 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:12:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:12:52 ---> f96f9c87975a 02:12:52 Step 3/10 : ARG MAKE=make build 02:12:55 ---> Running in bcf5b75e7b39 02:12:55 Removing intermediate container bcf5b75e7b39 02:12:55 ---> 32e3e08617d1 02:12:55 Step 4/10 : WORKDIR /device-sdk-go 02:12:55 ---> Running in 59bb9d76c1db 02:12:55 Removing intermediate container 59bb9d76c1db 02:12:55 ---> 8f6d0eca6902 02:12:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:12:55 ---> Running in 74d236b907fc 02:12:55 Removing intermediate container 74d236b907fc 02:12:55 ---> f5f42759132f 02:12:55 Step 6/10 : RUN apk add --update --no-cache make git 02:12:55 ---> Running in f6b0ff91cec5 02:12:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:12:58 OK: 221 MiB in 51 packages 02:12:58 Removing intermediate container f6b0ff91cec5 02:12:58 ---> 73f8e07ba90b 02:12:58 Step 7/10 : COPY go.mod vendor* ./ 02:12:59 ---> dfddb8e5e1da 02:12:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:59 ---> Running in 35dc1f8aa90a 02:14:07 Removing intermediate container 35dc1f8aa90a 02:14:07 ---> e633a0fe664a 02:14:07 Step 9/10 : COPY . . 02:14:07 ---> 19f59037399a 02:14:07 Step 10/10 : RUN ${MAKE} 02:14:07 ---> Running in 3373b4f7c9c6 02:14:07 noop 02:14:07 Removing intermediate container 3373b4f7c9c6 02:14:07 ---> 434ebf2cf3e3 02:14:07 Successfully built 434ebf2cf3e3 02:14:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:07 + docker inspect -f . ci-base-image-arm64 02:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:07 prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container 02:14:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:14:09 $ docker top 90dc3ccc0d1d11612bd831529aee507c6062d7a1dc949518ae19822f7d4e0b0f -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:10 + go version 02:14:10 go version go1.18.7 linux/arm64 [Pipeline] } 02:14:10 $ docker stop --time=1 90dc3ccc0d1d11612bd831529aee507c6062d7a1dc949518ae19822f7d4e0b0f 02:14:11 $ docker rm -f --volumes 90dc3ccc0d1d11612bd831529aee507c6062d7a1dc949518ae19822f7d4e0b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:12 + docker inspect -f . ci-base-image-arm64 02:14:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:12 prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container 02:14:12 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:14:13 $ docker top 11a5ff3b0123cace50d06799190d0e88f09de7a89f74f34e4c0e8f62a7601d94 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:13 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 02:14:14 + make test 02:14:14 go test -race -coverprofile=coverage.out ./... 02:14:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:16:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:16:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:16:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:16:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:16:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:16:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.534s coverage: 27.6% of statements 02:16:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.435s coverage: 78.9% of statements 02:16:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.417s coverage: 86.0% of statements 02:16:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:16:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:16:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.450s coverage: 75.0% of statements 02:16:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:16:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.518s coverage: 15.3% of statements 02:16:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 02:16:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.469s coverage: 65.2% of statements 02:16:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:16:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:16:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.680s coverage: 89.2% of statements 02:16:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.318s coverage: 4.7% of statements 02:16:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:16:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:16:50 GO111MODULE=on go vet ./... 02:18:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:18:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:18:26 ./bin/test-attribution-txt.sh [Pipeline] echo 02:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:18:26 $ docker stop --time=1 11a5ff3b0123cace50d06799190d0e88f09de7a89f74f34e4c0e8f62a7601d94 02:18:28 $ docker rm -f --volumes 11a5ff3b0123cace50d06799190d0e88f09de7a89f74f34e4c0e8f62a7601d94 [Pipeline] // withDockerContainer [Pipeline] sh 02:18:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:18:30 Warning: overwriting stash ‘coverage-report’ 02:18:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:18:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:18:31 + ls -al . 02:18:31 total 276 02:18:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 02:14 . 02:18:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 02:11 .. 02:18:31 -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 02:12 .dockerignore 02:18:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 02:12 .git 02:18:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 02:12 .github 02:18:31 -rw-rw-r-- 1 jenkins jenkins 131 Mar 3 02:12 .gitignore 02:18:31 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 02:12 .golangci.yml 02:18:31 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 3 02:12 CHANGELOG.md 02:18:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 02:12 GOVERNANCE.md 02:18:31 -rw-rw-r-- 1 jenkins jenkins 885 Mar 3 02:12 Jenkinsfile 02:18:31 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 02:12 LICENSE 02:18:31 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 3 02:12 Makefile 02:18:31 -rw-rw-r-- 1 jenkins jenkins 619 Mar 3 02:12 OWNERS.md 02:18:31 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 3 02:12 README.md 02:18:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 02:10 VERSION 02:18:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 02:12 bin 02:18:31 -rw-r--r-- 1 jenkins jenkins 110996 Mar 3 02:16 coverage.out 02:18:31 drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 02:12 example 02:18:31 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 3 02:12 go.mod 02:18:31 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 3 02:12 go.sum 02:18:31 drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 02:12 internal 02:18:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 02:12 openapi 02:18:31 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 02:12 pkg 02:18:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 02:12 snap 02:18:31 -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 02:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:31 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6905a34b550db74fa7bee656b07304e99fd1342f --label arch=arm64 --label version=0.0.0 . 02:18:32 Sending build context to Docker daemon 6.006MB 02:18:32 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 02:18:32 Step 2/23 : FROM ${BASE} AS builder 02:18:32 ---> 434ebf2cf3e3 02:18:32 Step 3/23 : ARG MAKE=make build 02:18:32 ---> Running in 2de18c6de900 02:18:32 Removing intermediate container 2de18c6de900 02:18:32 ---> c85bbba482f0 02:18:32 Step 4/23 : WORKDIR /device-sdk-go 02:18:32 ---> Running in 035fc765830b 02:18:33 Removing intermediate container 035fc765830b 02:18:33 ---> ad703ad0683c 02:18:33 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:18:33 ---> Running in cc767a8959ee 02:18:33 Removing intermediate container cc767a8959ee 02:18:33 ---> 665d6d80786d 02:18:33 Step 6/23 : RUN apk add --update --no-cache make git 02:18:33 ---> Running in 6776bbb08b84 02:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:18:35 OK: 221 MiB in 51 packages 02:18:36 Removing intermediate container 6776bbb08b84 02:18:36 ---> 308d2df971be 02:18:36 Step 7/23 : COPY go.mod vendor* ./ 02:18:38 ---> 7f550dc96c99 02:18:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:18:38 ---> Running in 65fb153a644d 02:18:41 Removing intermediate container 65fb153a644d 02:18:41 ---> 896d3aab4577 02:18:41 Step 9/23 : COPY . . 02:18:43 ---> 10ee4228d10c 02:18:43 Step 10/23 : RUN ${MAKE} 02:18:43 ---> Running in 1eefd420ba05 02:18:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:20:50 Removing intermediate container 1eefd420ba05 02:20:50 ---> f2fe66a81a85 02:20:50 Step 11/23 : FROM alpine:3.16 02:20:50 3.16: Pulling from library/alpine 02:20:50 3760b48202b3: Pulling fs layer 02:20:50 3760b48202b3: Verifying Checksum 02:20:50 3760b48202b3: Download complete 02:20:50 3760b48202b3: Pull complete 02:20:50 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:20:50 Status: Downloaded newer image for alpine:3.16 02:20:50 ---> 4c81e5bf8899 02:20:50 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:20:50 ---> Running in a3961f0796ee 02:20:50 Removing intermediate container a3961f0796ee 02:20:50 ---> 837e8d8922f9 02:20:50 Step 13/23 : RUN apk add --update --no-cache 02:20:50 ---> Running in 1f2b6e2c60d1 02:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:20:50 OK: 5 MiB in 14 packages 02:20:50 Removing intermediate container 1f2b6e2c60d1 02:20:50 ---> 19676c098a82 02:20:50 Step 14/23 : WORKDIR / 02:20:50 ---> Running in f685dfb4d972 02:20:50 Removing intermediate container f685dfb4d972 02:20:50 ---> f3eeca27f776 02:20:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:20:50 ---> 48a32e4ce521 02:20:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:20:50 ---> 61790b0a272a 02:20:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:20:50 ---> ebaec5e0f5fa 02:20:50 Step 18/23 : EXPOSE 59999 02:20:50 ---> Running in 93841a21d39d 02:20:50 Removing intermediate container 93841a21d39d 02:20:50 ---> 4f9a46111562 02:20:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:20:50 ---> Running in 8d666fe0ac3b 02:20:50 Removing intermediate container 8d666fe0ac3b 02:20:50 ---> d100b4b33fdf 02:20:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:20:50 ---> Running in bc677f281ad4 02:20:50 Removing intermediate container bc677f281ad4 02:20:50 ---> 3c9b6040d548 02:20:50 Step 21/23 : LABEL arch=arm64 02:20:50 ---> Running in 69e0a4dd2c1c 02:20:50 Removing intermediate container 69e0a4dd2c1c 02:20:50 ---> 0f0d09243f14 02:20:50 Step 22/23 : LABEL git_sha=6905a34b550db74fa7bee656b07304e99fd1342f 02:20:50 ---> Running in 3cc1424c4544 02:20:50 Removing intermediate container 3cc1424c4544 02:20:50 ---> a59dad9b0bc6 02:20:50 Step 23/23 : LABEL version=0.0.0 02:20:50 ---> Running in 2e109fbdc024 02:20:50 Removing intermediate container 2e109fbdc024 02:20:50 ---> 79b35d792ba7 02:20:50 [Warning] One or more build-args [ARCH] were not consumed 02:20:50 Successfully built 79b35d792ba7 02:20:50 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:20:50 02:20:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:20:51 arm64: Pulling from edgex-lftools-log-publisher 02:20:51 8998bd30e6a1: Pulling fs layer 02:20:51 04944245beec: Pulling fs layer 02:20:51 699f458cf7ca: Pulling fs layer 02:20:51 765212b225bb: Pulling fs layer 02:20:51 f23df028b6ca: Pulling fs layer 02:20:51 d65c8cfc05b1: Pulling fs layer 02:20:51 2437ff75d9bd: Pulling fs layer 02:20:51 765212b225bb: Waiting 02:20:51 f23df028b6ca: Waiting 02:20:51 d65c8cfc05b1: Waiting 02:20:51 2437ff75d9bd: Waiting 02:20:51 04944245beec: Verifying Checksum 02:20:51 04944245beec: Download complete 02:20:51 765212b225bb: Download complete 02:20:51 f23df028b6ca: Verifying Checksum 02:20:51 f23df028b6ca: Download complete 02:20:51 d65c8cfc05b1: Verifying Checksum 02:20:51 d65c8cfc05b1: Download complete 02:20:51 699f458cf7ca: Verifying Checksum 02:20:51 699f458cf7ca: Download complete 02:20:52 8998bd30e6a1: Verifying Checksum 02:20:52 8998bd30e6a1: Download complete 02:20:54 2437ff75d9bd: Verifying Checksum 02:20:54 2437ff75d9bd: Download complete 02:20:56 8998bd30e6a1: Pull complete 02:20:56 04944245beec: Pull complete 02:20:57 699f458cf7ca: Pull complete 02:20:57 765212b225bb: Pull complete 02:20:58 f23df028b6ca: Pull complete 02:20:58 d65c8cfc05b1: Pull complete 02:21:13 2437ff75d9bd: Pull complete 02:21:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:21:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:21:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:21:13 prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container 02:21:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:21:16 $ docker top 4e320268783530c1059365f4efb484b9de0f009538d346dbbd7f2a2f52c43d58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:21:16 ---> job-cost.sh 02:21:17 lf-activate-venv: SKIPPING 02:21:17 INFO: No Stack... 02:21:17 INFO: Retrieving Pricing Info for: v3-standard-4 02:21:18 INFO: Archiving Costs [Pipeline] sh 02:21:18 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 02:21:18 + cut -d, -f6 [Pipeline] lock 02:21:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] 02:21:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] did not exist. Created. 02:21:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:21:19 /w/workspace/device-sdk-go/4@tmp/durable-1ba01840/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:21:19 + echo total: 0.10999999940395355 [Pipeline] stash 02:21:19 Warning: overwriting stash ‘stack-cost’ 02:21:19 Stashed 1 file(s) [Pipeline] } 02:21:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [Pipeline] // lock [Pipeline] } 02:21:19 $ docker stop --time=1 4e320268783530c1059365f4efb484b9de0f009538d346dbbd7f2a2f52c43d58 02:21:20 $ docker rm -f --volumes 4e320268783530c1059365f4efb484b9de0f009538d346dbbd7f2a2f52c43d58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:21:21 provisioning config files... 02:21:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config5099115114466552905tmp [Pipeline] { [Pipeline] sh 02:21:21 + set +x 02:21:21 + curl -s https://codecov.io/bash 02:21:21 + bash -s -- 02:21:21 02:21:21 _____ _ 02:21:21 / ____| | | 02:21:21 | | ___ __| | ___ ___ _____ __ 02:21:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:21:21 | |___| (_) | (_| | __/ (_| (_) \ V / 02:21:21 \_____\___/ \__,_|\___|\___\___/ \_/ 02:21:21 Bash-1.0.6 02:21:21 02:21:21 02:21:21 ==> git version 2.25.1 found 02:21:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:21:21 Release-Date: 2020-01-08 02:21:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:21:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:21:21 ==> Jenkins CI detected. 02:21:21 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1345 02:21:21 project root: . 02:21:21 --> token set from env 02:21:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:21:21 ==> Running gcov in . (disable via -X gcov) 02:21:21 ==> Python coveragepy not found 02:21:21 ==> Searching for coverage reports in: 02:21:21 + . 02:21:21 -> Found 1 reports 02:21:21 ==> Detecting git/mercurial file structure 02:21:21 ==> Reading reports 02:21:21 + ./coverage.out bytes=110996 02:21:21 ==> Appending adjustments 02:21:21 https://docs.codecov.io/docs/fixing-reports 02:21:22 + Found adjustments 02:21:22 ==> Gzipping contents 02:21:22 16K /tmp/codecov.Nt0Srh.gz 02:21:22 ==> Uploading reports 02:21:22 url: https://codecov.io 02:21:22 query: branch=PR-1345&commit=6905a34b550db74fa7bee656b07304e99fd1342f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= 02:21:22 -> Pinging Codecov 02:21:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1345&commit=6905a34b550db74fa7bee656b07304e99fd1342f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= 02:21:22 -> Uploading to 02:21:22 https://storage.googleapis.com/codecov/v4/raw/2023-03-03/7E55EF52A471D76F132DFD9A03CDDE97/6905a34b550db74fa7bee656b07304e99fd1342f/19be55df-dbe1-4d56-905a-97a99b5bdac8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230303T022122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e02764e5771ae8b81fc4b8a0091b7dbaa22b0401c7d26ef3be44af7403b8d2b8 02:21:22 % Total % Received % Xferd Average Speed Time Time Time Current 02:21:22 Dload Upload Total Spent Left Speed 02:21:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15441 0 0 100 15441 0 50133 --:--:-- --:--:-- --:--:-- 50133 02:21:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] } 02:21:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:21:23 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives ] 02:21:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives 02:21:23 total 16 02:21:23 drwxr-xr-x 3 root root 4096 Mar 3 02:12 . 02:21:23 drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 02:12 .. 02:21:23 drwxr-xr-x 2 root root 4096 Mar 3 02:12 cost 02:21:23 -rw-r--r-- 1 root root 86 Mar 3 02:12 cost.csv 02:21:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives 02:21:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives 02:21:23 total 16 02:21:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 02:12 . 02:21:23 drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 02:12 .. 02:21:23 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 02:12 cost 02:21:23 -rw-r--r-- 1 jenkins jenkins 86 Mar 3 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:21:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:21:24 ---> package-listing.sh 02:21:24 ++ facter osfamily 02:21:24 ++ tr '[:upper:]' '[:lower:]' 02:21:24 + OS_FAMILY=debian 02:21:24 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1345 02:21:24 + START_PACKAGES=/tmp/packages_start.txt 02:21:24 + END_PACKAGES=/tmp/packages_end.txt 02:21:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:21:24 + PACKAGES=/tmp/packages_start.txt 02:21:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' 02:21:24 + PACKAGES=/tmp/packages_end.txt 02:21:24 + case "${OS_FAMILY}" in 02:21:24 + dpkg -l 02:21:24 + grep '^ii' 02:21:24 + '[' -f /tmp/packages_start.txt ']' 02:21:24 + '[' -f /tmp/packages_end.txt ']' 02:21:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:21:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' 02:21:24 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ 02:21:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [Pipeline] echo 02:21:24 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-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:21:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:21:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:21:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:21:25 prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container 02:21:25 $ 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-1345/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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:21:26 $ docker top 9bd429f098da5095a21f4d915c475db9d92dc04281dd46562df4672af1f43abf -eo pid,comm [Pipeline] { [Pipeline] sh 02:21:26 + touch /tmp/pre-build-complete [Pipeline] sh 02:21:26 + mkdir -p /var/log/sysstat [Pipeline] sh 02:21:27 + ls /var/log/sa-host 02:21:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:21:27 provisioning config files... 02:21:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config11545044414639960355tmp [Pipeline] { [Pipeline] echo 02:21:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:21:27 ---> create-netrc.sh [Pipeline] } 02:21:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:21:27 ---> python-tools-install.sh [Pipeline] echo 02:21:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:21:28 ---> sudo-logs.sh 02:21:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:21:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:21:28 ---> job-cost.sh 02:21:28 lf-activate-venv: SKIPPING 02:21:28 DEBUG: total: 0.2199999988079071 02:21:28 INFO: Retrieving Stack Cost... 02:21:29 INFO: Retrieving Pricing Info for: v3-standard-8 02:21:29 INFO: Archiving Costs [Pipeline] echo 02:21:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:21:29 ---> logs-deploy.sh 02:21:29 lf-activate-venv: SKIPPING 02:21:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1345/4 02:21:29 INFO: archiving workspace using pattern(s): 02:21:30 Archives upload complete. 02:21:30 INFO: archiving logs to Nexus 02:21:31 ---> uname -a: 02:21:31 Linux prd-ubuntu20-04-docker-8c-8g-8140 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:21:31 02:21:31 02:21:31 ---> lscpu: 02:21:31 Architecture: x86_64 02:21:31 CPU op-mode(s): 32-bit, 64-bit 02:21:31 Byte Order: Little Endian 02:21:31 Address sizes: 40 bits physical, 48 bits virtual 02:21:31 CPU(s): 8 02:21:31 On-line CPU(s) list: 0-7 02:21:31 Thread(s) per core: 1 02:21:31 Core(s) per socket: 1 02:21:31 Socket(s): 8 02:21:31 NUMA node(s): 1 02:21:31 Vendor ID: AuthenticAMD 02:21:31 CPU family: 23 02:21:31 Model: 49 02:21:31 Model name: AMD EPYC-Rome Processor 02:21:31 Stepping: 0 02:21:31 CPU MHz: 2799.998 02:21:31 BogoMIPS: 5599.99 02:21:31 Virtualization: AMD-V 02:21:31 Hypervisor vendor: KVM 02:21:31 Virtualization type: full 02:21:31 L1d cache: 256 KiB 02:21:31 L1i cache: 256 KiB 02:21:31 L2 cache: 4 MiB 02:21:31 L3 cache: 128 MiB 02:21:31 NUMA node0 CPU(s): 0-7 02:21:31 Vulnerability Itlb multihit: Not affected 02:21:31 Vulnerability L1tf: Not affected 02:21:31 Vulnerability Mds: Not affected 02:21:31 Vulnerability Meltdown: Not affected 02:21:31 Vulnerability Mmio stale data: Not affected 02:21:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:21:31 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:21:31 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:21:31 Vulnerability Srbds: Not affected 02:21:31 Vulnerability Tsx async abort: Not affected 02:21:31 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 02:21:31 02:21:31 02:21:31 ---> nproc: 02:21:31 8 02:21:31 02:21:31 02:21:31 ---> df -h: 02:21:31 Filesystem Size Used Avail Use% Mounted on 02:21:31 overlay 155G 12G 144G 8% / 02:21:31 tmpfs 64M 0 64M 0% /dev 02:21:31 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:21:31 shm 64M 0 64M 0% /dev/shm 02:21:31 /dev/vda1 155G 12G 144G 8% /facter-os 02:21:31 02:21:31 02:21:31 ---> sar -b -r -n DEV: 02:21:31 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8140) 03/03/23 _x86_64_ (8 CPU) 02:21:31 02:21:31 02:09:08 LINUX RESTART (8 CPU) 02:21:31 02:21:31 02:10:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:21:31 02:11:01 192.73 1.73 191.00 0.00 61.33 113449.20 0.00 02:21:31 02:12:01 80.72 1.32 79.41 0.00 37.59 21721.96 0.00 02:21:31 02:13:01 100.82 0.08 100.73 0.00 13.46 26249.27 0.00 02:21:31 02:14:01 2.23 0.00 2.23 0.00 0.00 24.39 0.00 02:21:31 02:15:01 54.96 10.58 44.38 0.00 5154.87 8706.55 0.00 02:21:31 02:16:01 4.23 0.02 4.22 0.00 0.13 98.12 0.00 02:21:31 02:17:01 1.42 0.02 1.40 0.00 0.13 15.20 0.00 02:21:31 02:18:01 1.82 0.00 1.82 0.00 0.00 20.66 0.00 02:21:31 02:19:01 1.08 0.00 1.08 0.00 0.00 12.26 0.00 02:21:31 02:20:01 1.53 0.00 1.53 0.00 0.00 17.86 0.00 02:21:31 02:21:01 1.42 0.00 1.42 0.00 0.00 15.99 0.00 02:21:31 Average: 40.27 1.25 39.02 0.00 478.84 15482.75 0.00 02:21:31 02:21:31 02:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:21:31 02:11:01 28213580 31464588 831240 2.53 145548 3306736 2230168 6.57 1314120 2899644 125788 02:21:31 02:12:01 28169024 31539400 758180 2.31 150032 3415940 2071868 6.11 1246736 3008028 14452 02:21:31 02:13:01 27692972 31576648 720164 2.19 160440 3872928 1757384 5.18 1232348 3451236 12 02:21:31 02:14:01 27692736 31576652 719508 2.19 160520 3872928 1757384 5.18 1232264 3451236 16 02:21:31 02:15:01 27168448 31560100 724220 2.20 193716 4328256 1839024 5.42 1549728 3622596 48 02:21:31 02:16:01 27173120 31559864 723940 2.20 192248 4325000 1822664 5.37 1548012 3619384 8 02:21:31 02:17:01 27181512 31568356 715256 2.18 192324 4325000 1822664 5.37 1539076 3619388 8 02:21:31 02:18:01 27181888 31568848 714584 2.17 192364 4325012 1822664 5.37 1539212 3619396 8 02:21:31 02:19:01 27181476 31568436 714944 2.17 192404 4324996 1822664 5.37 1539180 3619396 12 02:21:31 02:20:01 27181940 31569004 714228 2.17 192436 4325016 1822664 5.37 1539384 3619400 20 02:21:31 02:21:01 27181892 31569600 714108 2.17 192512 4325016 1822664 5.37 1538888 3619956 8 02:21:31 Average: 27456235 31556500 731852 2.23 178595 4067893 1871983 5.52 1438086 3468151 12762 02:21:31 02:21:31 02:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:21:31 02:11:01 ens3 456.08 263.87 5932.50 39.68 0.00 0.00 0.00 0.00 02:21:31 02:11:01 docker0 163.30 282.08 13.67 1897.96 0.00 0.00 0.00 0.00 02:21:31 02:11:01 vetheb36e33 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 02:21:31 02:11:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 02:21:31 02:12:01 ens3 32.01 20.01 72.66 11.28 0.00 0.00 0.00 0.00 02:21:31 02:12:01 docker0 1.38 2.95 0.08 40.51 0.00 0.00 0.00 0.00 02:21:31 02:12:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 02:21:31 02:13:01 ens3 108.03 65.64 2610.28 12.09 0.00 0.00 0.00 0.00 02:21:31 02:13:01 docker0 1.68 4.27 0.10 40.58 0.00 0.00 0.00 0.00 02:21:31 02:13:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 02:21:31 02:14:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 02:21:31 02:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:21:31 02:15:01 ens3 132.43 56.77 2784.87 4.27 0.00 0.00 0.00 0.00 02:21:31 02:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:15:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 02:21:31 02:16:01 ens3 0.27 0.18 0.02 0.01 0.00 0.00 0.00 0.00 02:21:31 02:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:21:31 02:17:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:18:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 02:21:31 02:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:21:31 02:19:01 ens3 0.20 0.13 0.26 0.01 0.00 0.00 0.00 0.00 02:21:31 02:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:20:01 ens3 1.25 0.67 1.59 0.10 0.00 0.00 0.00 0.00 02:21:31 02:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:21:31 02:21:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 02:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:31 Average: ens3 66.41 37.04 1036.45 6.13 0.00 0.00 0.00 0.00 02:21:31 Average: docker0 15.12 26.29 1.26 179.87 0.00 0.00 0.00 0.00 02:21:31 Average: lo 0.56 0.56 0.05 0.05 0.00 0.00 0.00 0.00 02:21:31 02:21:31 02:21:31 ---> sar -P ALL: 02:21:31 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8140) 03/03/23 _x86_64_ (8 CPU) 02:21:31 02:21:31 02:09:08 LINUX RESTART (8 CPU) 02:21:31 02:21:31 02:10:01 CPU %user %nice %system %iowait %steal %idle 02:21:31 02:11:01 all 14.66 0.00 5.09 1.61 0.07 78.58 02:21:31 02:11:01 0 14.22 0.00 4.88 1.45 0.08 79.37 02:21:31 02:11:01 1 15.07 0.00 5.95 1.26 0.07 77.64 02:21:31 02:11:01 2 14.77 0.00 4.15 1.33 0.07 79.68 02:21:31 02:11:01 3 14.36 0.00 5.90 7.16 0.07 72.52 02:21:31 02:11:01 4 14.71 0.00 4.78 0.17 0.07 80.27 02:21:31 02:11:01 5 14.94 0.00 5.17 0.53 0.05 79.32 02:21:31 02:11:01 6 14.48 0.00 4.77 0.37 0.07 80.31 02:21:31 02:11:01 7 14.73 0.00 5.09 0.67 0.07 79.44 02:21:31 02:12:01 all 52.61 0.00 7.25 0.53 0.10 39.51 02:21:31 02:12:01 0 50.95 0.00 7.44 1.87 0.10 39.63 02:21:31 02:12:01 1 53.01 0.00 7.42 0.07 0.10 39.39 02:21:31 02:12:01 2 52.95 0.00 7.98 0.03 0.10 38.93 02:21:31 02:12:01 3 53.15 0.00 7.24 0.42 0.10 39.09 02:21:31 02:12:01 4 53.73 0.00 7.15 0.22 0.08 38.81 02:21:31 02:12:01 5 52.38 0.00 6.90 0.40 0.10 40.22 02:21:31 02:12:01 6 52.83 0.00 6.99 0.05 0.08 40.04 02:21:31 02:12:01 7 51.90 0.00 6.83 1.18 0.12 39.96 02:21:31 02:13:01 all 3.58 0.00 1.64 0.76 0.02 94.00 02:21:31 02:13:01 0 5.34 0.00 1.65 1.27 0.02 91.71 02:21:31 02:13:01 1 3.59 0.00 1.31 0.35 0.02 94.74 02:21:31 02:13:01 2 3.30 0.00 1.43 0.07 0.02 95.19 02:21:31 02:13:01 3 3.36 0.00 2.29 1.93 0.02 92.40 02:21:31 02:13:01 4 4.00 0.00 1.44 0.00 0.02 94.54 02:21:31 02:13:01 5 3.31 0.00 2.18 0.25 0.03 94.23 02:21:31 02:13:01 6 3.23 0.00 1.66 0.13 0.02 94.96 02:21:31 02:13:01 7 2.51 0.00 1.14 2.06 0.02 94.27 02:21:31 02:14:01 all 0.03 0.00 0.03 0.01 0.01 99.93 02:21:31 02:14:01 0 0.07 0.00 0.03 0.00 0.02 99.88 02:21:31 02:14:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:21:31 02:14:01 2 0.00 0.00 0.03 0.02 0.00 99.95 02:21:31 02:14:01 3 0.03 0.00 0.03 0.02 0.02 99.90 02:21:31 02:14:01 4 0.02 0.00 0.02 0.00 0.00 99.97 02:21:31 02:14:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:21:31 02:14:01 6 0.03 0.00 0.02 0.00 0.00 99.95 02:21:31 02:14:01 7 0.05 0.00 0.05 0.05 0.02 99.83 02:21:31 02:15:01 all 2.06 0.00 1.39 0.43 0.02 96.10 02:21:31 02:15:01 0 2.60 0.00 1.49 1.07 0.02 94.83 02:21:31 02:15:01 1 1.18 0.00 0.95 0.17 0.02 97.68 02:21:31 02:15:01 2 3.23 0.00 0.94 0.15 0.03 95.64 02:21:31 02:15:01 3 1.37 0.00 1.67 0.17 0.02 96.78 02:21:31 02:15:01 4 2.89 0.00 2.64 0.60 0.03 93.83 02:21:31 02:15:01 5 2.97 0.00 2.14 0.52 0.02 94.36 02:21:31 02:15:01 6 1.05 0.00 0.63 0.05 0.02 98.25 02:21:31 02:15:01 7 1.15 0.00 0.69 0.69 0.02 97.46 02:21:31 02:16:01 all 0.08 0.00 0.04 0.02 0.00 99.86 02:21:31 02:16:01 0 0.07 0.00 0.03 0.08 0.00 99.82 02:21:31 02:16:01 1 0.07 0.00 0.03 0.00 0.00 99.90 02:21:31 02:16:01 2 0.27 0.00 0.12 0.02 0.00 99.60 02:21:31 02:16:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:21:31 02:16:01 4 0.03 0.00 0.02 0.00 0.00 99.95 02:21:31 02:16:01 5 0.05 0.00 0.05 0.02 0.00 99.88 02:21:31 02:16:01 6 0.05 0.00 0.03 0.02 0.02 99.88 02:21:31 02:16:01 7 0.05 0.00 0.03 0.00 0.02 99.90 02:21:31 02:17:01 all 0.02 0.00 0.02 0.01 0.00 99.95 02:21:31 02:17:01 0 0.00 0.00 0.05 0.05 0.00 99.90 02:21:31 02:17:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:21:31 02:17:01 2 0.00 0.00 0.02 0.00 0.02 99.97 02:21:31 02:17:01 3 0.00 0.00 0.00 0.00 0.00 100.00 02:21:31 02:17:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:21:31 02:17:01 5 0.00 0.00 0.00 0.02 0.00 99.98 02:21:31 02:17:01 6 0.05 0.00 0.02 0.00 0.00 99.93 02:21:31 02:17:01 7 0.03 0.00 0.03 0.00 0.02 99.92 02:21:31 02:18:01 all 0.03 0.00 0.01 0.01 0.01 99.94 02:21:31 02:18:01 0 0.05 0.00 0.02 0.02 0.02 99.90 02:21:31 02:18:01 1 0.03 0.00 0.02 0.00 0.02 99.93 02:21:31 02:18:01 2 0.03 0.00 0.03 0.00 0.02 99.92 02:21:31 02:18:01 3 0.02 0.00 0.02 0.00 0.02 99.95 02:21:31 02:18:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:21:31 02:18:01 5 0.02 0.00 0.02 0.05 0.00 99.92 02:21:31 02:18:01 6 0.05 0.00 0.02 0.00 0.00 99.93 02:21:31 02:18:01 7 0.02 0.00 0.00 0.00 0.02 99.97 02:21:31 02:19:01 all 0.03 0.00 0.01 0.00 0.00 99.95 02:21:31 02:19:01 0 0.08 0.00 0.00 0.02 0.00 99.90 02:21:31 02:19:01 1 0.05 0.00 0.00 0.00 0.00 99.95 02:21:31 02:19:01 2 0.05 0.00 0.02 0.00 0.02 99.92 02:21:31 02:19:01 3 0.02 0.00 0.00 0.00 0.00 99.98 02:21:31 02:19:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:21:31 02:19:01 5 0.00 0.00 0.00 0.02 0.02 99.97 02:21:31 02:19:01 6 0.02 0.00 0.02 0.00 0.00 99.97 02:21:31 02:19:01 7 0.02 0.00 0.03 0.00 0.00 99.95 02:21:31 02:20:01 all 0.05 0.00 0.01 0.00 0.00 99.93 02:21:31 02:20:01 0 0.30 0.00 0.00 0.02 0.00 99.68 02:21:31 02:20:01 1 0.02 0.00 0.00 0.00 0.00 99.98 02:21:31 02:20:01 2 0.02 0.00 0.02 0.02 0.00 99.95 02:21:31 02:20:01 3 0.02 0.00 0.05 0.00 0.00 99.93 02:21:31 02:20:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:21:31 02:20:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:21:31 02:20:01 6 0.03 0.00 0.02 0.00 0.00 99.95 02:21:31 02:20:01 7 0.02 0.00 0.03 0.00 0.02 99.93 02:21:31 02:21:01 all 0.08 0.00 0.03 0.01 0.01 99.87 02:21:31 02:21:01 0 0.03 0.00 0.02 0.02 0.00 99.93 02:21:31 02:21:01 1 0.05 0.00 0.02 0.00 0.02 99.92 02:21:31 02:21:01 2 0.40 0.00 0.08 0.07 0.05 99.40 02:21:31 02:21:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:21:31 02:21:01 4 0.02 0.00 0.03 0.00 0.00 99.95 02:21:31 02:21:01 5 0.00 0.00 0.00 0.00 0.00 100.00 02:21:31 02:21:01 6 0.02 0.00 0.03 0.00 0.00 99.95 02:21:31 02:21:01 7 0.10 0.00 0.00 0.00 0.02 99.88 02:21:31 02:21:31 Average: CPU %user %nice %system %iowait %steal %idle 02:21:31 Average: all 6.60 0.00 1.40 0.31 0.02 91.67 02:21:31 Average: 0 6.65 0.00 1.41 0.53 0.02 91.39 02:21:31 Average: 1 6.60 0.00 1.42 0.17 0.02 91.79 02:21:31 Average: 2 6.78 0.00 1.34 0.15 0.03 91.70 02:21:31 Average: 3 6.52 0.00 1.55 0.87 0.02 91.03 02:21:31 Average: 4 6.80 0.00 1.45 0.09 0.02 91.64 02:21:31 Average: 5 6.64 0.00 1.48 0.16 0.02 91.69 02:21:31 Average: 6 6.48 0.00 1.28 0.06 0.02 92.17 02:21:31 Average: 7 6.35 0.00 1.26 0.42 0.03 91.94 02:21:31 02:21:31 02:21:31