Pull request #1711 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 weichou1229 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b8bb85f130f35eccb492e26d9848991cd6149a51+f939d930aaed3a368ea42010ee2f0f41f3ba61da (82e7b3a69554019ed5417d175db09589b119d2f1) 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-ssh8735209271694065692.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh3244285553487807616.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-1711/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-1711/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16071738822711122025.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh1674450967612717406.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-1711/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-1711/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15395439104718274951.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]] ========================================================= [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.23 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 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-42598 in /w/workspace/gexfoundry_device-sdk-go_PR-1711 [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-1711 # 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/1711/head:refs/remotes/origin/PR-1711 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f939d930aaed3a368ea42010ee2f0f41f3ba61da into PR head commit b8bb85f130f35eccb492e26d9848991cd6149a51 Merge succeeded, producing b8bb85f130f35eccb492e26d9848991cd6149a51 Checking out Revision b8bb85f130f35eccb492e26d9848991cd6149a51 (PR-1711) > git config core.sparsecheckout # timeout=10 > git checkout -f b8bb85f130f35eccb492e26d9848991cd6149a51 # 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 f939d930aaed3a368ea42010ee2f0f41f3ba61da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8bb85f130f35eccb492e26d9848991cd6149a51 # timeout=10 Commit message: "fix: Fix cache concurrent read write error" First time build. Skipping changelog. > git rev-list --no-walk 6da3b502b24a8c4e721b7b496f35aa81f14793ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:19:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:19:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:19:55 ========================================================= 03:19:55 EdgeX Global Pipelines Version Info 03:19:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:19:56 ------------------- 03:19:56 stable info: 03:19:56 ------------------- 03:19:56 Commited By: Ginny Guan ginny@iotechsys.com 03:19:56 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 03:19:56 Message: update stable to v1.0.274 03:19:56 ------------------- 03:19:56 experimental info: 03:19:56 ------------------- 03:19:56 Commited By: Ginny Guan ginny@iotechsys.com 03:19:56 Commit SHA: e63c24b3e3d9a84dc1e69f593cedf07ec71d9018 03:19:56 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:19:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1711 [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1711 [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1711 [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8bb85f130f35eccb492e26d9848991cd6149a51 [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8bb85f [Pipeline] echo 03:19:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:57 provisioning config files... 03:19:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/config18229089175138825947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:57 ---> ****-login.sh 03:19:57 nexus3.edgexfoundry.org:10001 03:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:58 Configure a credential helper to remove this warning. See 03:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:58 03:19:58 Login Succeeded 03:19:58 nexus3.edgexfoundry.org:10002 03:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:58 Configure a credential helper to remove this warning. See 03:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:58 03:19:58 Login Succeeded 03:19:58 nexus3.edgexfoundry.org:10003 03:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:58 Configure a credential helper to remove this warning. See 03:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:58 03:19:58 Login Succeeded 03:19:58 nexus3.edgexfoundry.org:10004 03:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:58 Configure a credential helper to remove this warning. See 03:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:58 03:19:58 Login Succeeded 03:19:58 ****.io 03:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:58 Configure a credential helper to remove this warning. See 03:19:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:58 03:19:58 Login Succeeded 03:19:58 ---> ****-login.sh ends [Pipeline] } 03:19:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:19:59 + git rev-list -1 --merges b8bb85f130f35eccb492e26d9848991cd6149a51~1..b8bb85f130f35eccb492e26d9848991cd6149a51 [Pipeline] echo 03:19:59 -----------> git rev-list -1 --merges b8bb85f130f35eccb492e26d9848991cd6149a51~1..b8bb85f130f35eccb492e26d9848991cd6149a51 b8bb85f130f35eccb492e26d9848991cd6149a51 [false] [Pipeline] sh 03:19:59 + git log --format=format:%s -1 b8bb85f130f35eccb492e26d9848991cd6149a51 [Pipeline] echo 03:19:59 ========================================================= 03:19:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:19:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:20:00 + git log --format=format:%s -1 b8bb85f130f35eccb492e26d9848991cd6149a51 [Pipeline] echo 03:20:00 [semverPrep] GIT_COMMIT: b8bb85f130f35eccb492e26d9848991cd6149a51, Commit Message: fix: Fix cache concurrent read write error [Pipeline] echo 03:20:00 [semverPrep] This is not a build commit. [Pipeline] sh 03:20:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:20:00 + grep -v github /etc/ssh/ssh_known_hosts 03:20:00 + [ -e /tmp/ssh_known_hosts ] 03:20:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:20:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:20:00 + sudo tee -a /etc/ssh/ssh_known_hosts 03:20:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:20:01 03:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:20:01 0.1.4: Pulling from edgex-devops/py-git-semver 03:20:01 b85a868b505f: Pulling fs layer 03:20:01 e2be974225ed: Pulling fs layer 03:20:01 339a4e72a1f5: Pulling fs layer 03:20:01 988bab9f4d93: Pulling fs layer 03:20:01 1469e6f7b9e6: Pulling fs layer 03:20:01 eaf3925da568: Pulling fs layer 03:20:01 bab4dde63d76: Pulling fs layer 03:20:01 bde34c3a00c8: Pulling fs layer 03:20:01 b352a97aabf1: Pulling fs layer 03:20:01 4872d77fe225: Pulling fs layer 03:20:01 5851b861e8e6: Pulling fs layer 03:20:01 eaf3925da568: Waiting 03:20:01 b352a97aabf1: Waiting 03:20:01 4872d77fe225: Waiting 03:20:01 bab4dde63d76: Waiting 03:20:01 988bab9f4d93: Waiting 03:20:01 bde34c3a00c8: Waiting 03:20:01 e2be974225ed: Verifying Checksum 03:20:01 e2be974225ed: Download complete 03:20:01 988bab9f4d93: Verifying Checksum 03:20:01 988bab9f4d93: Download complete 03:20:01 1469e6f7b9e6: Verifying Checksum 03:20:01 1469e6f7b9e6: Download complete 03:20:01 eaf3925da568: Verifying Checksum 03:20:01 eaf3925da568: Download complete 03:20:01 339a4e72a1f5: Verifying Checksum 03:20:01 339a4e72a1f5: Download complete 03:20:01 bde34c3a00c8: Download complete 03:20:01 b352a97aabf1: Verifying Checksum 03:20:01 b352a97aabf1: Download complete 03:20:01 4872d77fe225: Download complete 03:20:01 5851b861e8e6: Verifying Checksum 03:20:01 5851b861e8e6: Download complete 03:20:01 b85a868b505f: Verifying Checksum 03:20:01 b85a868b505f: Download complete 03:20:01 bab4dde63d76: Verifying Checksum 03:20:01 bab4dde63d76: Download complete 03:20:02 b85a868b505f: Pull complete 03:20:02 e2be974225ed: Pull complete 03:20:03 339a4e72a1f5: Pull complete 03:20:03 988bab9f4d93: Pull complete 03:20:03 1469e6f7b9e6: Pull complete 03:20:03 eaf3925da568: Pull complete 03:20:05 bab4dde63d76: Pull complete 03:20:05 bde34c3a00c8: Pull complete 03:20:05 b352a97aabf1: Pull complete 03:20:05 4872d77fe225: Pull complete 03:20:05 5851b861e8e6: Pull complete 03:20:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:20:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:20:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:06 prd-ubuntu20.04-docker-8c-8g-42598 does not seem to be running inside a container 03:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1711 -v /w/workspace/gexfoundry_device-sdk-go_PR-1711:/w/workspace/gexfoundry_device-sdk-go_PR-1711:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1711@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 03:20:07 $ docker top 8daefdd14f47dc612f1beebb0b887dcc031c1b1203d21269160f708f881a1db7 -eo pid,comm 03:20:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:20:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:20:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:20:08 [ssh-agent] Looking for ssh-agent implementation... 03:20:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:20:08 $ docker exec 8daefdd14f47dc612f1beebb0b887dcc031c1b1203d21269160f708f881a1db7 ssh-agent 03:20:08 SSH_AUTH_SOCK=/tmp/ssh-AuAOU0OA0DQZ/agent.33 03:20:08 SSH_AGENT_PID=39 03:20:08 Running ssh-add (command line suppressed) 03:20:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/private_key_17046155873451460711.key (/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/private_key_17046155873451460711.key) 03:20:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:20:08 + git tag --points-at HEAD [Pipeline] } 03:20:08 $ docker exec --env ******** --env ******** 8daefdd14f47dc612f1beebb0b887dcc031c1b1203d21269160f708f881a1db7 ssh-agent -k 03:20:08 unset SSH_AUTH_SOCK; 03:20:08 unset SSH_AGENT_PID; 03:20:08 echo Agent pid 39 killed; 03:20:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:20:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:20:08 [ssh-agent] Looking for ssh-agent implementation... 03:20:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:20:09 $ docker exec 8daefdd14f47dc612f1beebb0b887dcc031c1b1203d21269160f708f881a1db7 ssh-agent 03:20:09 SSH_AUTH_SOCK=/tmp/ssh-leVhE2MAnxGN/agent.72 03:20:09 SSH_AGENT_PID=78 03:20:09 Running ssh-add (command line suppressed) 03:20:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/private_key_17412289024197073007.key (/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/private_key_17412289024197073007.key) 03:20:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:20:09 + git semver init 03:20:09 2025-04-02 03:20:09,789 [run_init] DEBUG init version:0.0.0 force:False 03:20:09 2025-04-02 03:20:09,790 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver 03:20:09 2025-04-02 03:20:09,790 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver 03:20:09 2025-04-02 03:20:09,791 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1711, universal_newlines=False, shell=None, istream=None) 03:20:11 2025-04-02 03:20:11,168 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711/.git/info/exclude 03:20:11 2025-04-02 03:20:11,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver/PR-1711 with force:False 03:20:11 2025-04-02 03:20:11,169 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver/PR-1711 03:20:11 2025-04-02 03:20:11,174 [execute] INFO git cat-file --batch-check 03:20:11 2025-04-02 03:20:11,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver, universal_newlines=False, shell=None, istream=) 03:20:11 2025-04-02 03:20:11,181 [execute] INFO git cat-file --batch 03:20:11 2025-04-02 03:20:11,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver, universal_newlines=False, shell=None, istream=) 03:20:11 2025-04-02 03:20:11,187 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver/PR-1711 03:20:11 0.0.0 [Pipeline] } 03:20:11 $ docker exec --env ******** --env ******** 8daefdd14f47dc612f1beebb0b887dcc031c1b1203d21269160f708f881a1db7 ssh-agent -k 03:20:11 unset SSH_AUTH_SOCK; 03:20:11 unset SSH_AGENT_PID; 03:20:11 echo Agent pid 78 killed; 03:20:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:20:11 + git semver [Pipeline] } 03:20:11 $ docker stop --time=1 8daefdd14f47dc612f1beebb0b887dcc031c1b1203d21269160f708f881a1db7 03:20:13 $ docker rm -f --volumes 8daefdd14f47dc612f1beebb0b887dcc031c1b1203d21269160f708f881a1db7 [Pipeline] // withDockerContainer [Pipeline] sh 03:20:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:20:13 Stashed 1 file(s) [Pipeline] echo 03:20:13 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:20:14 provisioning config files... 03:20:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/config9381138206007509549tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 03:20:14 ---> ****-login.sh 03:20:14 nexus3.edgexfoundry.org:10001 03:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:20:14 Configure a credential helper to remove this warning. See 03:20:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:20:14 03:20:14 Login Succeeded 03:20:14 nexus3.edgexfoundry.org:10002 03:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:20:14 Configure a credential helper to remove this warning. See 03:20:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:20:14 03:20:14 Login Succeeded 03:20:14 nexus3.edgexfoundry.org:10003 03:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:20:14 Configure a credential helper to remove this warning. See 03:20:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:20:14 03:20:14 Login Succeeded 03:20:14 nexus3.edgexfoundry.org:10004 03:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:20:14 Configure a credential helper to remove this warning. See 03:20:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:20:14 03:20:14 Login Succeeded 03:20:14 ****.io 03:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:20:15 Configure a credential helper to remove this warning. See 03:20:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:20:15 03:20:15 Login Succeeded 03:20:15 ---> ****-login.sh ends [Pipeline] } 03:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:20:15 ========================================================= 03:20:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:20:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:15 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 03:20:15 Sending build context to Docker daemon 35.94MB 03:20:15 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 03:20:15 Step 2/10 : FROM ${BASE} AS builder 03:20:15 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:20:15 da9db072f522: Pulling fs layer 03:20:15 6ef4a4ee8ca5: Pulling fs layer 03:20:15 06f05ace1117: Pulling fs layer 03:20:15 5fe327b54edc: Pulling fs layer 03:20:15 4f4fb700ef54: Pulling fs layer 03:20:15 92a5565b7b96: Pulling fs layer 03:20:15 ff9bb7016b71: Pulling fs layer 03:20:15 b67dba6c2c7d: Pulling fs layer 03:20:15 a813b0c90790: Pulling fs layer 03:20:15 b67dba6c2c7d: Waiting 03:20:15 ff9bb7016b71: Waiting 03:20:15 a813b0c90790: Waiting 03:20:15 5fe327b54edc: Waiting 03:20:15 92a5565b7b96: Waiting 03:20:15 4f4fb700ef54: Waiting 03:20:15 6ef4a4ee8ca5: Download complete 03:20:15 5fe327b54edc: Verifying Checksum 03:20:15 5fe327b54edc: Download complete 03:20:15 4f4fb700ef54: Verifying Checksum 03:20:15 4f4fb700ef54: Download complete 03:20:15 92a5565b7b96: Verifying Checksum 03:20:15 92a5565b7b96: Download complete 03:20:15 da9db072f522: Download complete 03:20:15 ff9bb7016b71: Verifying Checksum 03:20:15 ff9bb7016b71: Download complete 03:20:16 da9db072f522: Pull complete 03:20:16 a813b0c90790: Verifying Checksum 03:20:16 a813b0c90790: Download complete 03:20:16 6ef4a4ee8ca5: Pull complete 03:20:16 06f05ace1117: Download complete 03:20:16 b67dba6c2c7d: Verifying Checksum 03:20:16 b67dba6c2c7d: Download complete 03:20:19 06f05ace1117: Pull complete 03:20:20 5fe327b54edc: Pull complete 03:20:20 4f4fb700ef54: Pull complete 03:20:20 92a5565b7b96: Pull complete 03:20:20 ff9bb7016b71: Pull complete 03:20:22 b67dba6c2c7d: Pull complete 03:20:23 a813b0c90790: Pull complete 03:20:23 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 03:20:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:20:23 ---> 3ba60ce46760 03:20:23 Step 3/10 : ARG MAKE=make build 03:20:26 ---> Running in a3b5dd8969d4 03:20:26 Removing intermediate container a3b5dd8969d4 03:20:26 ---> 100673b4a446 03:20:26 Step 4/10 : WORKDIR /device-sdk-go 03:20:26 ---> Running in a75401dff7d5 03:20:26 Removing intermediate container a75401dff7d5 03:20:26 ---> b945f77d21b2 03:20:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:20:26 ---> Running in 1b1113f03a0b 03:20:26 Removing intermediate container 1b1113f03a0b 03:20:26 ---> 9385197ae5ca 03:20:26 Step 6/10 : RUN apk add --update --no-cache make git 03:20:26 ---> Running in 36d48674e63a 03:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:20:29 OK: 248 MiB in 58 packages 03:20:30 Removing intermediate container 36d48674e63a 03:20:30 ---> 74270034bab6 03:20:30 Step 7/10 : COPY go.mod vendor* ./ 03:20:30 ---> de19e84752e4 03:20:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:30 ---> Running in 799532ddcaf8 03:21:09 Removing intermediate container 799532ddcaf8 03:21:09 ---> b3f690c90d83 03:21:09 Step 9/10 : COPY . . 03:21:09 ---> 73da867d6653 03:21:09 Step 10/10 : RUN ${MAKE} 03:21:09 ---> Running in e407940d7c7c 03:21:09 noop 03:21:10 Removing intermediate container e407940d7c7c 03:21:10 ---> 868ead216afe 03:21:10 Successfully built 868ead216afe 03:21:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:10 + docker inspect -f . ci-base-image-x86_64 03:21:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:10 prd-ubuntu20.04-docker-8c-8g-42598 does not seem to be running inside a container 03:21:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1711 -v /w/workspace/gexfoundry_device-sdk-go_PR-1711:/w/workspace/gexfoundry_device-sdk-go_PR-1711:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1711@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 03:21:10 $ docker top 8c7450587b5312e31c73ed528209aa243d0107d7e49b7ebe7af86e3ad05f2772 -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:11 + go version 03:21:11 go version go1.23.4 linux/amd64 [Pipeline] } 03:21:11 $ docker stop --time=1 8c7450587b5312e31c73ed528209aa243d0107d7e49b7ebe7af86e3ad05f2772 03:21:12 $ docker rm -f --volumes 8c7450587b5312e31c73ed528209aa243d0107d7e49b7ebe7af86e3ad05f2772 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:12 + docker inspect -f . ci-base-image-x86_64 03:21:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:13 prd-ubuntu20.04-docker-8c-8g-42598 does not seem to be running inside a container 03:21:13 $ 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-1711 -v /w/workspace/gexfoundry_device-sdk-go_PR-1711:/w/workspace/gexfoundry_device-sdk-go_PR-1711:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1711@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 03:21:13 $ docker top c9cac88ce439f4664aa800dd73582fb3749a012e9f510c0267e5ac806a1fd47e -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1711 [Pipeline] fileExists [Pipeline] sh 03:21:14 + make test 03:21:14 go test -race -coverprofile=coverage.out ./... 03:21:22 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 03:22:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.041s coverage: 28.2% of statements 03:22:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.030s coverage: 79.3% of statements 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 03:22:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.035s coverage: 90.4% of statements 03:22:00 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 03:22:00 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 03:22:01 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.096s coverage: 45.0% of statements 03:22:02 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 03:22:07 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 7.053s coverage: 14.3% of statements 03:22:07 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 5.145s coverage: 44.6% of statements 03:22:07 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.064s coverage: 68.4% of statements 03:22:07 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.091s coverage: 88.3% of statements 03:22:07 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.056s coverage: 5.0% of statements 03:22:39 GO111MODULE=on go vet ./... 03:22:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:22:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:22:46 ./bin/test-attribution-txt.sh [Pipeline] echo 03:22:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:22:46 $ docker stop --time=1 c9cac88ce439f4664aa800dd73582fb3749a012e9f510c0267e5ac806a1fd47e 03:22:49 $ docker rm -f --volumes c9cac88ce439f4664aa800dd73582fb3749a012e9f510c0267e5ac806a1fd47e [Pipeline] // withDockerContainer [Pipeline] sh 03:22:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:22:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:22:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:22:50 + ls -al . 03:22:50 total 740 03:22:50 drwxrwxr-x 11 jenkins jenkins 4096 Apr 2 03:21 . 03:22:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:19 .. 03:22:50 -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 03:19 .dockerignore 03:22:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 03:22 .git 03:22:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:19 .github 03:22:50 -rw-rw-r-- 1 jenkins jenkins 137 Apr 2 03:19 .gitignore 03:22:50 -rw-rw-r-- 1 jenkins jenkins 199 Apr 2 03:19 .golangci.yml 03:22:50 drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 03:20 .semver 03:22:50 -rw-rw-r-- 1 jenkins jenkins 53715 Apr 2 03:19 CHANGELOG.md 03:22:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 2 03:19 GOVERNANCE.md 03:22:50 -rw-rw-r-- 1 jenkins jenkins 882 Apr 2 03:19 Jenkinsfile 03:22:50 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 2 03:19 LICENSE 03:22:50 -rw-rw-r-- 1 jenkins jenkins 2424 Apr 2 03:19 Makefile 03:22:50 -rw-rw-r-- 1 jenkins jenkins 619 Apr 2 03:19 OWNERS.md 03:22:50 -rw-rw-r-- 1 jenkins jenkins 4937 Apr 2 03:19 README.md 03:22:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 03:20 VERSION 03:22:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:19 bin 03:22:50 -rw-r--r-- 1 jenkins jenkins 497264 Apr 2 03:22 coverage.out 03:22:50 drwxrwxr-x 5 jenkins jenkins 4096 Apr 2 03:19 example 03:22:50 -rw-rw-r-- 1 jenkins jenkins 6127 Apr 2 03:19 go.mod 03:22:50 -rw-rw-r-- 1 jenkins jenkins 86405 Apr 2 03:19 go.sum 03:22:50 drwxrwxr-x 13 jenkins jenkins 4096 Apr 2 03:19 internal 03:22:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:19 openapi 03:22:50 drwxrwxr-x 6 jenkins jenkins 4096 Apr 2 03:19 pkg 03:22:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:19 snap 03:22:50 -rw-rw-r-- 1 jenkins jenkins 222 Apr 2 03:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:51 + 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=b8bb85f130f35eccb492e26d9848991cd6149a51 --label arch=amd64 --label version=0.0.0 . 03:22:51 Sending build context to Docker daemon 36.44MB 03:22:51 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 03:22:51 Step 2/24 : FROM ${BASE} AS builder 03:22:51 ---> 868ead216afe 03:22:51 Step 3/24 : ARG MAKE=make build 03:22:52 ---> Running in f5668ec2a3de 03:22:52 Removing intermediate container f5668ec2a3de 03:22:52 ---> b67b0689e614 03:22:52 Step 4/24 : WORKDIR /device-sdk-go 03:22:53 ---> Running in 687cd73c06db 03:22:53 Removing intermediate container 687cd73c06db 03:22:53 ---> 3e18f425ad7e 03:22:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:22:53 ---> Running in 3736d4a092a1 03:22:54 Removing intermediate container 3736d4a092a1 03:22:54 ---> b562e8dbf399 03:22:54 Step 6/24 : RUN apk add --update --no-cache make git 03:22:54 ---> Running in d845ed8c6595 03:22:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:22:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:22:55 OK: 248 MiB in 58 packages 03:22:56 Removing intermediate container d845ed8c6595 03:22:56 ---> 4e3d3d636bbf 03:22:56 Step 7/24 : COPY go.mod vendor* ./ 03:22:56 ---> ed25ad7f850e 03:22:56 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:22:56 ---> Running in e7774a79542c 03:22:57 Removing intermediate container e7774a79542c 03:22:57 ---> 3f75c6078c92 03:22:57 Step 9/24 : COPY . . 03:22:57 ---> 228bcbca500b 03:22:57 Step 10/24 : RUN ${MAKE} 03:22:57 ---> Running in f5f3581b6ea9 03:22:58 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:23:30 Removing intermediate container f5f3581b6ea9 03:23:30 ---> e559fb4dcc6a 03:23:30 Step 11/24 : FROM alpine:3.20 03:23:30 3.20: Pulling from library/alpine 03:23:30 0a9a5dfd008f: Pulling fs layer 03:23:30 0a9a5dfd008f: Verifying Checksum 03:23:30 0a9a5dfd008f: Download complete 03:23:30 0a9a5dfd008f: Pull complete 03:23:30 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 03:23:30 Status: Downloaded newer image for alpine:3.20 03:23:30 ---> ff221270b9fb 03:23:30 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:23:30 ---> Running in 1da68146a5e3 03:23:30 Removing intermediate container 1da68146a5e3 03:23:30 ---> dc8fe56cb67b 03:23:30 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:23:30 ---> Running in 3dbfcc7bc33c 03:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:23:30 (1/1) Installing dumb-init (1.2.5-r3) 03:23:30 Executing busybox-1.36.1-r29.trigger 03:23:30 OK: 8 MiB in 15 packages 03:23:30 Removing intermediate container 3dbfcc7bc33c 03:23:30 ---> 36f26d922082 03:23:30 Step 14/24 : RUN apk --no-cache upgrade 03:23:30 ---> Running in 7bcceb99ba15 03:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:23:30 OK: 8 MiB in 15 packages 03:23:30 Removing intermediate container 7bcceb99ba15 03:23:30 ---> a50a94dff6a5 03:23:30 Step 15/24 : WORKDIR / 03:23:30 ---> Running in 93aa1df0f804 03:23:30 Removing intermediate container 93aa1df0f804 03:23:30 ---> c39013af23d0 03:23:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:23:30 ---> d440dd82d1d1 03:23:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:23:31 ---> dc390b3786e2 03:23:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:23:31 ---> 145e9fcfe5cd 03:23:31 Step 19/24 : EXPOSE 59999 03:23:31 ---> Running in 437c98bef4cf 03:23:32 Removing intermediate container 437c98bef4cf 03:23:32 ---> 92d697193615 03:23:32 Step 20/24 : ENTRYPOINT ["/device-simple"] 03:23:32 ---> Running in 1fa99ec6fd7f 03:23:32 Removing intermediate container 1fa99ec6fd7f 03:23:32 ---> 8dbb4a106537 03:23:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:23:32 ---> Running in 85588381dc3a 03:23:32 Removing intermediate container 85588381dc3a 03:23:32 ---> 16798ca34448 03:23:32 Step 22/24 : LABEL arch=amd64 03:23:32 ---> Running in 57b6ca1db3a9 03:23:32 Removing intermediate container 57b6ca1db3a9 03:23:32 ---> 91a484657e4c 03:23:32 Step 23/24 : LABEL git_sha=b8bb85f130f35eccb492e26d9848991cd6149a51 03:23:32 ---> Running in fbb192947e3c 03:23:32 Removing intermediate container fbb192947e3c 03:23:32 ---> 664217967b8d 03:23:32 Step 24/24 : LABEL version=0.0.0 03:23:32 ---> Running in 2f752cecbbbe 03:23:32 Removing intermediate container 2f752cecbbbe 03:23:32 ---> 8da80bfcf015 03:23:32 [Warning] One or more build-args [ARCH] were not consumed 03:23:32 Successfully built 8da80bfcf015 03:23:32 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:23:33 03:23:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:23:33 latest: Pulling from edgex-lftools-log-publisher 03:23:33 5eb5b503b376: Pulling fs layer 03:23:33 5c69ac0246d0: Pulling fs layer 03:23:33 ec43610c2a17: Pulling fs layer 03:23:33 3a2ae6a8a46f: Pulling fs layer 03:23:33 33b1e0a273af: Pulling fs layer 03:23:33 5d3b04190fa2: Pulling fs layer 03:23:33 2f39f015ded8: Pulling fs layer 03:23:33 3a2ae6a8a46f: Waiting 03:23:33 33b1e0a273af: Waiting 03:23:33 5d3b04190fa2: Waiting 03:23:33 2f39f015ded8: Waiting 03:23:33 5c69ac0246d0: Download complete 03:23:33 3a2ae6a8a46f: Verifying Checksum 03:23:33 3a2ae6a8a46f: Download complete 03:23:33 33b1e0a273af: Verifying Checksum 03:23:33 33b1e0a273af: Download complete 03:23:33 5d3b04190fa2: Verifying Checksum 03:23:33 5d3b04190fa2: Download complete 03:23:33 ec43610c2a17: Verifying Checksum 03:23:33 ec43610c2a17: Download complete 03:23:33 5eb5b503b376: Verifying Checksum 03:23:33 5eb5b503b376: Download complete 03:23:34 2f39f015ded8: Download complete 03:23:34 5eb5b503b376: Pull complete 03:23:34 5c69ac0246d0: Pull complete 03:23:35 ec43610c2a17: Pull complete 03:23:35 3a2ae6a8a46f: Pull complete 03:23:35 33b1e0a273af: Pull complete 03:23:35 5d3b04190fa2: Pull complete 03:23:38 2f39f015ded8: Pull complete 03:23:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:23:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:23:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:39 prd-ubuntu20.04-docker-8c-8g-42598 does not seem to be running inside a container 03:23:39 $ 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-1711 -v /w/workspace/gexfoundry_device-sdk-go_PR-1711:/w/workspace/gexfoundry_device-sdk-go_PR-1711:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1711@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 03:23:41 $ docker top 874c63b09449ef36e7b5605e49871e31680d25a0891943c0299c6650ab3d0f45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:42 ---> job-cost.sh 03:23:42 lf-activate-venv: SKIPPING 03:23:42 INFO: No Stack... 03:23:42 INFO: Retrieving Pricing Info for: v3-standard-8 03:23:42 INFO: Archiving Costs [Pipeline] sh 03:23:43 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives/cost.csv 03:23:43 + cut -d, -f6 [Pipeline] lock 03:23:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1711-6-stack-cost] 03:23:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1711-6-stack-cost] did not exist. Created. 03:23:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1711-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:23:43 + echo total: 0.2199999988079071 [Pipeline] stash 03:23:43 Stashed 1 file(s) [Pipeline] } 03:23:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1711-6-stack-cost] [Pipeline] // lock [Pipeline] } 03:23:43 $ docker stop --time=1 874c63b09449ef36e7b5605e49871e31680d25a0891943c0299c6650ab3d0f45 03:23:44 $ docker rm -f --volumes 874c63b09449ef36e7b5605e49871e31680d25a0891943c0299c6650ab3d0f45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:23:45 provisioning config files... 03:23:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/config11366388217706234989tmp [Pipeline] { [Pipeline] sh 03:23:45 + set +x 03:23:45 + + bashcurl -s -s -- https://codecov.io/bash 03:23:45 03:23:45 03:23:45 _____ _ 03:23:45 / ____| | | 03:23:45 | | ___ __| | ___ ___ _____ __ 03:23:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:23:45 | |___| (_) | (_| | __/ (_| (_) \ V / 03:23:45 \_____\___/ \__,_|\___|\___\___/ \_/ 03:23:45 Bash-1.0.6 03:23:45 03:23:45 03:23:45 ==> git version 2.25.1 found 03:23:45 ==> 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 03:23:45 Release-Date: 2020-01-08 03:23:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:23:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:23:45 ==> Jenkins CI detected. 03:23:45 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1711 03:23:45 project root: . 03:23:45 --> token set from env 03:23:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:23:45 ==> Running gcov in . (disable via -X gcov) 03:23:45 ==> Python coveragepy not found 03:23:45 ==> Searching for coverage reports in: 03:23:45 + . 03:23:45 -> Found 1 reports 03:23:45 ==> Detecting git/mercurial file structure 03:23:45 ==> Reading reports 03:23:45 + ./coverage.out bytes=497264 03:23:45 ==> Appending adjustments 03:23:45 https://docs.codecov.io/docs/fixing-reports 03:23:45 + Found adjustments 03:23:45 ==> Gzipping contents 03:23:45 48K /tmp/codecov.LCQUNi.gz 03:23:45 ==> Uploading reports 03:23:45 url: https://codecov.io 03:23:45 query: branch=PR-1711&commit=b8bb85f130f35eccb492e26d9848991cd6149a51&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1711%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1711&job=&cmd_args= 03:23:45 -> Pinging Codecov 03:23:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1711&commit=b8bb85f130f35eccb492e26d9848991cd6149a51&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1711%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1711&job=&cmd_args= 03:23:46 -> Uploading to 03:23:46 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-sdk-go/b8bb85f130f35eccb492e26d9848991cd6149a51/2126b8a2-6076-46f0-91be-49da6de67cd4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250402%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250402T032345Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=0f3e3f0982162daa87757c3c764033d4cdc0bf46a6999cb37975376e95696c08 03:23:46 % Total % Received % Xferd Average Speed Time Time Time Current 03:23:46 Dload Upload Total Spent Left Speed 03:23:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47518 0 0 100 47518 0 129k --:--:-- --:--:-- --:--:-- 128k 100 47518 0 0 100 47518 0 129k --:--:-- --:--:-- --:--:-- 128k 03:23:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b8bb85f130f35eccb492e26d9848991cd6149a51 [Pipeline] } 03:23:46 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:23:47 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives ] 03:23:47 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives 03:23:47 total 16 03:23:47 drwxr-xr-x 3 root root 4096 Apr 2 03:23 . 03:23:47 drwxrwxr-x 12 jenkins jenkins 4096 Apr 2 03:23 .. 03:23:47 drwxr-xr-x 2 root root 4096 Apr 2 03:23 cost 03:23:47 -rw-r--r-- 1 root root 86 Apr 2 03:23 cost.csv 03:23:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives 03:23:47 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives 03:23:47 total 16 03:23:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 03:23 . 03:23:47 drwxrwxr-x 12 jenkins jenkins 4096 Apr 2 03:23 .. 03:23:47 drwxr-xr-x 2 jenkins jenkins 4096 Apr 2 03:23 cost 03:23:47 -rw-r--r-- 1 jenkins jenkins 86 Apr 2 03:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:23:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:23:48 ---> package-listing.sh 03:23:48 ++ facter osfamily 03:23:48 ++ tr '[:upper:]' '[:lower:]' 03:23:49 + OS_FAMILY=debian 03:23:49 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1711 03:23:49 + START_PACKAGES=/tmp/packages_start.txt 03:23:49 + END_PACKAGES=/tmp/packages_end.txt 03:23:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:23:49 + PACKAGES=/tmp/packages_start.txt 03:23:49 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1711 ']' 03:23:49 + PACKAGES=/tmp/packages_end.txt 03:23:49 + case "${OS_FAMILY}" in 03:23:49 + dpkg -l 03:23:49 + grep '^ii' 03:23:49 + '[' -f /tmp/packages_start.txt ']' 03:23:49 + '[' -f /tmp/packages_end.txt ']' 03:23:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:23:49 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1711 ']' 03:23:49 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives/ 03:23:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives/ [Pipeline] echo 03:23:49 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-1711/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:23:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:23:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:50 prd-ubuntu20.04-docker-8c-8g-42598 does not seem to be running inside a container 03:23:50 $ 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-1711/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-1711 -v /w/workspace/gexfoundry_device-sdk-go_PR-1711:/w/workspace/gexfoundry_device-sdk-go_PR-1711:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1711@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 03:23:50 $ docker top 9439807f870c845630fcc7b01d997e7264fd8d8aea01a2b81abdfa72778c94c0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:50 + touch /tmp/pre-build-complete [Pipeline] sh 03:23:50 + mkdir -p /var/log/sysstat [Pipeline] sh 03:23:51 + ls /var/log/sa-host 03:23:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:51 provisioning config files... 03:23:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/config7137213608335859169tmp [Pipeline] { [Pipeline] echo 03:23:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:23:51 ---> create-netrc.sh [Pipeline] } 03:23:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:23:52 ---> python-tools-install.sh [Pipeline] echo 03:23:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:23:52 ---> sudo-logs.sh 03:23:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:23:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:23:52 ---> job-cost.sh 03:23:52 lf-activate-venv: SKIPPING 03:23:52 DEBUG: total: 0.2199999988079071 03:23:52 INFO: Retrieving Stack Cost... 03:23:52 INFO: Retrieving Pricing Info for: v3-standard-8 03:23:53 INFO: Archiving Costs [Pipeline] echo 03:23:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:23:53 ---> logs-deploy.sh 03:23:53 lf-activate-venv: SKIPPING 03:23:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1711/6 03:23:53 INFO: archiving workspace using pattern(s): 03:23:54 Archives upload complete. 03:23:54 INFO: archiving logs to Nexus 03:23:55 ---> uname -a: 03:23:55 Linux prd-ubuntu20-04-docker-8c-8g-42598 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:23:55 03:23:55 03:23:55 ---> lscpu: 03:23:55 Architecture: x86_64 03:23:55 CPU op-mode(s): 32-bit, 64-bit 03:23:55 Byte Order: Little Endian 03:23:55 Address sizes: 40 bits physical, 48 bits virtual 03:23:55 CPU(s): 8 03:23:55 On-line CPU(s) list: 0-7 03:23:55 Thread(s) per core: 1 03:23:55 Core(s) per socket: 1 03:23:55 Socket(s): 8 03:23:55 NUMA node(s): 1 03:23:55 Vendor ID: AuthenticAMD 03:23:55 CPU family: 23 03:23:55 Model: 49 03:23:55 Model name: AMD EPYC-Rome Processor 03:23:55 Stepping: 0 03:23:55 CPU MHz: 2799.998 03:23:55 BogoMIPS: 5599.99 03:23:55 Virtualization: AMD-V 03:23:55 Hypervisor vendor: KVM 03:23:55 Virtualization type: full 03:23:55 L1d cache: 256 KiB 03:23:55 L1i cache: 256 KiB 03:23:55 L2 cache: 4 MiB 03:23:55 L3 cache: 128 MiB 03:23:55 NUMA node0 CPU(s): 0-7 03:23:55 Vulnerability Itlb multihit: Not affected 03:23:55 Vulnerability L1tf: Not affected 03:23:55 Vulnerability Mds: Not affected 03:23:55 Vulnerability Meltdown: Not affected 03:23:55 Vulnerability Mmio stale data: Not affected 03:23:55 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:23:55 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:23:55 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:23:55 Vulnerability Srbds: Not affected 03:23:55 Vulnerability Tsx async abort: Not affected 03:23:55 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:23:55 03:23:55 03:23:55 ---> nproc: 03:23:55 8 03:23:55 03:23:55 03:23:55 ---> df -h: 03:23:55 Filesystem Size Used Avail Use% Mounted on 03:23:55 overlay 155G 12G 144G 8% / 03:23:55 tmpfs 64M 0 64M 0% /dev 03:23:55 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:23:55 shm 64M 0 64M 0% /dev/shm 03:23:55 /dev/vda1 155G 12G 144G 8% /facter-os 03:23:55 03:23:55 03:23:55 ---> sar -b -r -n DEV: 03:23:55 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-42598) 04/02/25 _x86_64_ (8 CPU) 03:23:55 03:23:55 03:19:15 LINUX RESTART (8 CPU) 03:23:55 03:23:55 03:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:23:55 03:21:01 256.61 5.86 250.75 0.00 450.63 72423.72 0.00 03:23:55 03:22:01 133.34 0.10 133.24 0.00 20.80 52337.68 0.00 03:23:55 03:23:01 97.02 0.13 96.88 0.00 3.33 31616.08 0.00 03:23:55 Average: 162.34 2.03 160.31 0.00 158.30 52129.21 0.00 03:23:55 03:23:55 03:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:23:55 03:21:01 27041344 31484532 829044 2.52 176128 4336260 2035616 6.00 1364060 3882648 908484 03:23:55 03:22:01 26765608 31290520 1011796 3.08 186216 4418424 2281880 6.72 1979820 3537232 441704 03:23:55 03:23:01 27787552 31461300 841932 2.56 191884 3588712 2097700 6.18 1410800 3115356 28748 03:23:55 Average: 27198168 31412117 894257 2.72 184743 4114465 2138399 6.30 1584893 3511745 459645 03:23:55 03:23:55 03:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:23:55 03:21:01 docker0 331.23 502.32 27.71 3177.38 0.00 0.00 0.00 0.00 03:23:55 03:21:01 lo 2.80 2.80 0.28 0.28 0.00 0.00 0.00 0.00 03:23:55 03:21:01 ens3 675.20 433.76 7426.25 56.34 0.00 0.00 0.00 0.00 03:23:55 03:22:01 veth40fcf26 0.40 0.63 0.07 0.21 0.00 0.00 0.00 0.00 03:23:55 03:22:01 docker0 0.40 0.55 0.06 0.20 0.00 0.00 0.00 0.00 03:23:55 03:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:23:55 03:22:01 ens3 27.46 17.18 26.96 10.92 0.00 0.00 0.00 0.00 03:23:55 03:23:01 docker0 2.00 4.13 0.14 38.35 0.00 0.00 0.00 0.00 03:23:55 03:23:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 03:23:55 03:23:01 vethb8ddb67 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 03:23:55 03:23:01 ens3 33.21 20.61 64.01 12.51 0.00 0.00 0.00 0.00 03:23:55 Average: docker0 111.25 169.05 9.31 1072.33 0.00 0.00 0.00 0.00 03:23:55 Average: lo 1.09 1.09 0.11 0.11 0.00 0.00 0.00 0.00 03:23:55 Average: vethb8ddb67 0.00 0.04 0.00 0.00 0.00 0.00 0.00 0.00 03:23:55 Average: ens3 245.36 157.23 2506.56 26.59 0.00 0.00 0.00 0.00 03:23:55 03:23:55 03:23:55 ---> sar -P ALL: 03:23:55 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-42598) 04/02/25 _x86_64_ (8 CPU) 03:23:55 03:23:55 03:19:15 LINUX RESTART (8 CPU) 03:23:55 03:23:55 03:20:01 CPU %user %nice %system %iowait %steal %idle 03:23:55 03:21:01 all 11.16 0.00 5.42 2.29 0.08 81.05 03:23:55 03:21:01 0 11.11 0.00 5.99 6.06 0.08 76.76 03:23:55 03:21:01 1 9.53 0.00 5.29 2.11 0.07 83.00 03:23:55 03:21:01 2 10.23 0.00 5.10 0.36 0.07 84.25 03:23:55 03:21:01 3 12.64 0.00 5.03 0.56 0.10 81.67 03:23:55 03:21:01 4 11.65 0.00 6.23 0.56 0.07 81.49 03:23:55 03:21:01 5 11.69 0.00 4.75 2.88 0.10 80.58 03:23:55 03:21:01 6 11.30 0.00 6.13 5.17 0.09 77.32 03:23:55 03:21:01 7 11.13 0.00 4.83 0.63 0.08 83.33 03:23:55 03:22:01 all 32.61 0.00 5.71 1.41 0.11 60.16 03:23:55 03:22:01 0 33.01 0.00 6.84 0.03 0.10 60.02 03:23:55 03:22:01 1 32.31 0.00 4.74 0.66 0.10 62.19 03:23:55 03:22:01 2 33.64 0.00 5.71 3.02 0.12 57.51 03:23:55 03:22:01 3 31.79 0.00 4.83 0.59 0.12 62.67 03:23:55 03:22:01 4 31.94 0.00 5.28 0.17 0.12 62.49 03:23:55 03:22:01 5 30.95 0.00 6.37 6.60 0.10 55.98 03:23:55 03:22:01 6 34.93 0.00 5.27 0.08 0.12 59.60 03:23:55 03:22:01 7 32.26 0.00 6.66 0.15 0.10 60.83 03:23:55 03:23:01 all 43.35 0.00 6.12 1.63 0.11 48.78 03:23:55 03:23:01 0 42.21 0.00 6.39 0.07 0.10 51.22 03:23:55 03:23:01 1 42.65 0.00 6.56 4.51 0.12 46.17 03:23:55 03:23:01 2 42.97 0.00 6.00 2.42 0.10 48.50 03:23:55 03:23:01 3 43.40 0.00 5.99 4.84 0.12 45.65 03:23:55 03:23:01 4 44.32 0.00 5.64 0.40 0.12 49.51 03:23:55 03:23:01 5 43.69 0.00 6.09 0.48 0.12 49.62 03:23:55 03:23:01 6 44.65 0.00 5.99 0.20 0.10 49.06 03:23:55 03:23:01 7 42.92 0.00 6.32 0.15 0.12 50.50 03:23:55 Average: all 29.10 0.00 5.75 1.78 0.10 63.27 03:23:55 Average: 0 28.84 0.00 6.41 2.04 0.10 62.62 03:23:55 Average: 1 28.20 0.00 5.53 2.42 0.10 63.75 03:23:55 Average: 2 28.99 0.00 5.60 1.94 0.10 63.37 03:23:55 Average: 3 29.32 0.00 5.29 2.00 0.11 63.28 03:23:55 Average: 4 29.35 0.00 5.72 0.38 0.10 64.45 03:23:55 Average: 5 28.87 0.00 5.74 3.32 0.11 61.96 03:23:55 Average: 6 30.38 0.00 5.79 1.80 0.10 61.92 03:23:55 Average: 7 28.82 0.00 5.94 0.31 0.10 64.82 03:23:55 03:23:55 03:23:55