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 62c0bf8fa2462f2e93c009b6439d0323f44b55d2+f939d930aaed3a368ea42010ee2f0f41f3ba61da (610d56916fcc40b4047c2a15c2a8ae66ac26c1d2) 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-ssh4027560168249729892.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-ssh8131387154108014044.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-ssh13413414732533899629.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-ssh11916782251700579479.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-ssh256784709369201621.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-42588 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 Merging remotes/origin/main commit f939d930aaed3a368ea42010ee2f0f41f3ba61da into PR head commit 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 Merge succeeded, producing 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 Checking out Revision 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 (PR-1711) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 # 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 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 # timeout=10 Commit message: "fix: Fix cache concurrent read write error" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:33:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:33:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:33:42 ========================================================= 01:33:42 EdgeX Global Pipelines Version Info 01:33:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 63c19ce119ed85c0dff27e6fced54bd5b1a7d3bc # timeout=10 01:33:43 ------------------- 01:33:43 stable info: 01:33:43 ------------------- 01:33:43 Commited By: Ginny Guan ginny@iotechsys.com 01:33:43 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:33:43 Message: update stable to v1.0.274 01:33:43 ------------------- 01:33:43 experimental info: 01:33:43 ------------------- 01:33:43 Commited By: Ginny Guan ginny@iotechsys.com 01:33:43 Commit SHA: e63c24b3e3d9a84dc1e69f593cedf07ec71d9018 01:33:43 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1711 [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1711 [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1711 [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62c0bf8 [Pipeline] echo 01:33:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:44 provisioning config files... 01:33:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/config684735845150837976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:44 ---> ****-login.sh 01:33:44 nexus3.edgexfoundry.org:10001 01:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:33:45 Configure a credential helper to remove this warning. See 01:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:33:45 01:33:45 Login Succeeded 01:33:45 nexus3.edgexfoundry.org:10002 01:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:33:45 Configure a credential helper to remove this warning. See 01:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:33:45 01:33:45 Login Succeeded 01:33:45 nexus3.edgexfoundry.org:10003 01:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:33:45 Configure a credential helper to remove this warning. See 01:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:33:45 01:33:45 Login Succeeded 01:33:45 nexus3.edgexfoundry.org:10004 01:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:33:45 Configure a credential helper to remove this warning. See 01:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:33:45 01:33:45 Login Succeeded 01:33:45 ****.io 01:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:33:45 Configure a credential helper to remove this warning. See 01:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:33:45 01:33:45 Login Succeeded 01:33:45 ---> ****-login.sh ends [Pipeline] } 01:33:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:33:46 + git rev-list -1 --merges 62c0bf8fa2462f2e93c009b6439d0323f44b55d2~1..62c0bf8fa2462f2e93c009b6439d0323f44b55d2 [Pipeline] echo 01:33:46 -----------> git rev-list -1 --merges 62c0bf8fa2462f2e93c009b6439d0323f44b55d2~1..62c0bf8fa2462f2e93c009b6439d0323f44b55d2 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 [false] [Pipeline] sh 01:33:46 + git log --format=format:%s -1 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 [Pipeline] echo 01:33:46 ========================================================= 01:33:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:33:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:47 + git log --format=format:%s -1 62c0bf8fa2462f2e93c009b6439d0323f44b55d2 [Pipeline] echo 01:33:47 [semverPrep] GIT_COMMIT: 62c0bf8fa2462f2e93c009b6439d0323f44b55d2, Commit Message: fix: Fix cache concurrent read write error [Pipeline] echo 01:33:47 [semverPrep] This is not a build commit. [Pipeline] sh 01:33:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:33:47 + grep -v github /etc/ssh/ssh_known_hosts 01:33:47 + [ -e /tmp/ssh_known_hosts ] 01:33:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:33:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:33:47 + sudo tee -a /etc/ssh/ssh_known_hosts 01:33:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:47 01:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:48 0.1.4: Pulling from edgex-devops/py-git-semver 01:33:48 b85a868b505f: Pulling fs layer 01:33:48 e2be974225ed: Pulling fs layer 01:33:48 339a4e72a1f5: Pulling fs layer 01:33:48 988bab9f4d93: Pulling fs layer 01:33:48 1469e6f7b9e6: Pulling fs layer 01:33:48 eaf3925da568: Pulling fs layer 01:33:48 bab4dde63d76: Pulling fs layer 01:33:48 bde34c3a00c8: Pulling fs layer 01:33:48 b352a97aabf1: Pulling fs layer 01:33:48 4872d77fe225: Pulling fs layer 01:33:48 5851b861e8e6: Pulling fs layer 01:33:48 988bab9f4d93: Waiting 01:33:48 bab4dde63d76: Waiting 01:33:48 b352a97aabf1: Waiting 01:33:48 5851b861e8e6: Waiting 01:33:48 bde34c3a00c8: Waiting 01:33:48 4872d77fe225: Waiting 01:33:48 eaf3925da568: Waiting 01:33:48 1469e6f7b9e6: Waiting 01:33:48 e2be974225ed: Download complete 01:33:48 988bab9f4d93: Download complete 01:33:48 339a4e72a1f5: Download complete 01:33:48 1469e6f7b9e6: Verifying Checksum 01:33:48 1469e6f7b9e6: Download complete 01:33:48 eaf3925da568: Verifying Checksum 01:33:48 eaf3925da568: Download complete 01:33:48 bde34c3a00c8: Verifying Checksum 01:33:48 bde34c3a00c8: Download complete 01:33:48 b352a97aabf1: Download complete 01:33:48 4872d77fe225: Verifying Checksum 01:33:48 4872d77fe225: Download complete 01:33:48 5851b861e8e6: Verifying Checksum 01:33:48 5851b861e8e6: Download complete 01:33:48 b85a868b505f: Verifying Checksum 01:33:48 b85a868b505f: Download complete 01:33:48 bab4dde63d76: Verifying Checksum 01:33:48 bab4dde63d76: Download complete 01:33:49 b85a868b505f: Pull complete 01:33:49 e2be974225ed: Pull complete 01:33:50 339a4e72a1f5: Pull complete 01:33:50 988bab9f4d93: Pull complete 01:33:50 1469e6f7b9e6: Pull complete 01:33:50 eaf3925da568: Pull complete 01:33:52 bab4dde63d76: Pull complete 01:33:52 bde34c3a00c8: Pull complete 01:33:52 b352a97aabf1: Pull complete 01:33:52 4872d77fe225: Pull complete 01:33:52 5851b861e8e6: Pull complete 01:33:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:33:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:52 prd-ubuntu20.04-docker-8c-8g-42588 does not seem to be running inside a container 01:33:52 $ 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 01:33:54 $ docker top 88cab2141e5f0bcea0f559decbfee1f66397e1689960b0f33849855c7dcfad13 -eo pid,comm 01:33:54 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). 01:33:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:33:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:54 [ssh-agent] Looking for ssh-agent implementation... 01:33:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:54 $ docker exec 88cab2141e5f0bcea0f559decbfee1f66397e1689960b0f33849855c7dcfad13 ssh-agent 01:33:54 SSH_AUTH_SOCK=/tmp/ssh-ufJWY7L8Ws0L/agent.32 01:33:54 SSH_AGENT_PID=39 01:33:54 Running ssh-add (command line suppressed) 01:33:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/private_key_6976412456368207678.key (/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/private_key_6976412456368207678.key) 01:33:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:54 + git tag --points-at HEAD [Pipeline] } 01:33:54 $ docker exec --env ******** --env ******** 88cab2141e5f0bcea0f559decbfee1f66397e1689960b0f33849855c7dcfad13 ssh-agent -k 01:33:54 unset SSH_AUTH_SOCK; 01:33:54 unset SSH_AGENT_PID; 01:33:54 echo Agent pid 39 killed; 01:33:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:33:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:55 [ssh-agent] Looking for ssh-agent implementation... 01:33:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:55 $ docker exec 88cab2141e5f0bcea0f559decbfee1f66397e1689960b0f33849855c7dcfad13 ssh-agent 01:33:55 SSH_AUTH_SOCK=/tmp/ssh-cLVE9XfItYcD/agent.72 01:33:55 SSH_AGENT_PID=78 01:33:55 Running ssh-add (command line suppressed) 01:33:55 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/private_key_7052921907568916203.key (/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/private_key_7052921907568916203.key) 01:33:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:55 + git semver init 01:33:55 2025-04-02 01:33:55,816 [run_init] DEBUG init version:0.0.0 force:False 01:33:55 2025-04-02 01:33:55,817 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver 01:33:55 2025-04-02 01:33:55,818 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver 01:33:55 2025-04-02 01:33:55,818 [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) 01:33:57 2025-04-02 01:33:57,107 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711/.git/info/exclude 01:33:57 2025-04-02 01:33:57,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver/PR-1711 with force:False 01:33:57 2025-04-02 01:33:57,109 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver/PR-1711 01:33:57 2025-04-02 01:33:57,114 [execute] INFO git cat-file --batch-check 01:33:57 2025-04-02 01:33:57,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver, universal_newlines=False, shell=None, istream=) 01:33:57 2025-04-02 01:33:57,120 [execute] INFO git cat-file --batch 01:33:57 2025-04-02 01:33:57,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver, universal_newlines=False, shell=None, istream=) 01:33:57 2025-04-02 01:33:57,126 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1711/.semver/PR-1711 01:33:57 0.0.0 [Pipeline] } 01:33:57 $ docker exec --env ******** --env ******** 88cab2141e5f0bcea0f559decbfee1f66397e1689960b0f33849855c7dcfad13 ssh-agent -k 01:33:57 unset SSH_AUTH_SOCK; 01:33:57 unset SSH_AGENT_PID; 01:33:57 echo Agent pid 78 killed; 01:33:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:33:57 + git semver [Pipeline] } 01:33:58 $ docker stop --time=1 88cab2141e5f0bcea0f559decbfee1f66397e1689960b0f33849855c7dcfad13 01:33:59 $ docker rm -f --volumes 88cab2141e5f0bcea0f559decbfee1f66397e1689960b0f33849855c7dcfad13 [Pipeline] // withDockerContainer [Pipeline] sh 01:33:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:33:59 Stashed 1 file(s) [Pipeline] echo 01:33:59 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) 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 01:34:00 provisioning config files... [Pipeline] // stage [Pipeline] } 01:34:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/config14998376550632331411tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 01:34:00 ---> ****-login.sh 01:34:00 nexus3.edgexfoundry.org:10001 01:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:00 Configure a credential helper to remove this warning. See 01:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:00 01:34:00 Login Succeeded 01:34:00 nexus3.edgexfoundry.org:10002 01:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:00 Configure a credential helper to remove this warning. See 01:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:00 01:34:00 Login Succeeded 01:34:00 nexus3.edgexfoundry.org:10003 01:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:00 Configure a credential helper to remove this warning. See 01:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:00 01:34:00 Login Succeeded 01:34:00 nexus3.edgexfoundry.org:10004 01:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:00 Configure a credential helper to remove this warning. See 01:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:00 01:34:00 Login Succeeded 01:34:00 ****.io 01:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:34:01 Configure a credential helper to remove this warning. See 01:34:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:34:01 01:34:01 Login Succeeded 01:34:01 ---> ****-login.sh ends [Pipeline] } 01:34:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:34:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:34:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:34:01 ========================================================= 01:34:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:34:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:01 + 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 . 01:34:01 Sending build context to Docker daemon 35.95MB 01:34:01 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 01:34:01 Step 2/10 : FROM ${BASE} AS builder 01:34:01 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:34:01 da9db072f522: Pulling fs layer 01:34:01 6ef4a4ee8ca5: Pulling fs layer 01:34:01 06f05ace1117: Pulling fs layer 01:34:01 5fe327b54edc: Pulling fs layer 01:34:01 4f4fb700ef54: Pulling fs layer 01:34:01 92a5565b7b96: Pulling fs layer 01:34:01 ff9bb7016b71: Pulling fs layer 01:34:01 b67dba6c2c7d: Pulling fs layer 01:34:01 a813b0c90790: Pulling fs layer 01:34:01 ff9bb7016b71: Waiting 01:34:01 b67dba6c2c7d: Waiting 01:34:01 92a5565b7b96: Waiting 01:34:01 a813b0c90790: Waiting 01:34:01 5fe327b54edc: Waiting 01:34:01 4f4fb700ef54: Waiting 01:34:01 6ef4a4ee8ca5: Download complete 01:34:01 5fe327b54edc: Verifying Checksum 01:34:01 5fe327b54edc: Download complete 01:34:01 4f4fb700ef54: Verifying Checksum 01:34:01 4f4fb700ef54: Download complete 01:34:01 92a5565b7b96: Download complete 01:34:01 da9db072f522: Download complete 01:34:01 ff9bb7016b71: Verifying Checksum 01:34:01 ff9bb7016b71: Download complete 01:34:02 da9db072f522: Pull complete 01:34:02 a813b0c90790: Verifying Checksum 01:34:02 a813b0c90790: Download complete 01:34:02 6ef4a4ee8ca5: Pull complete 01:34:02 06f05ace1117: Verifying Checksum 01:34:02 06f05ace1117: Download complete 01:34:02 b67dba6c2c7d: Verifying Checksum 01:34:02 b67dba6c2c7d: Download complete 01:34:05 06f05ace1117: Pull complete 01:34:05 5fe327b54edc: Pull complete 01:34:05 4f4fb700ef54: Pull complete 01:34:05 92a5565b7b96: Pull complete 01:34:05 ff9bb7016b71: Pull complete 01:34:08 b67dba6c2c7d: Pull complete 01:34:08 a813b0c90790: Pull complete 01:34:08 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 01:34:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:34:08 ---> 3ba60ce46760 01:34:08 Step 3/10 : ARG MAKE=make build 01:34:10 ---> Running in 0fb07138d60c 01:34:10 Removing intermediate container 0fb07138d60c 01:34:10 ---> e3dc4dc2283d 01:34:10 Step 4/10 : WORKDIR /device-sdk-go 01:34:10 ---> Running in 29f525ff4577 01:34:10 Removing intermediate container 29f525ff4577 01:34:10 ---> 83ed257408a9 01:34:10 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:34:10 ---> Running in b65df8d6a3fc 01:34:10 Removing intermediate container b65df8d6a3fc 01:34:10 ---> 28ebeac10358 01:34:10 Step 6/10 : RUN apk add --update --no-cache make git 01:34:10 ---> Running in 39248cf84558 01:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:34:11 OK: 248 MiB in 58 packages 01:34:12 Removing intermediate container 39248cf84558 01:34:12 ---> 8875197d9a51 01:34:12 Step 7/10 : COPY go.mod vendor* ./ 01:34:12 ---> 6b5c5b66d7b6 01:34:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:12 ---> Running in 6b7db85a7da8 01:34:58 Removing intermediate container 6b7db85a7da8 01:34:58 ---> 7765948360ba 01:34:58 Step 9/10 : COPY . . 01:34:58 ---> 88edfa6a57a3 01:34:58 Step 10/10 : RUN ${MAKE} 01:34:58 ---> Running in 9aca2ddf39cd 01:34:58 noop 01:34:58 Removing intermediate container 9aca2ddf39cd 01:34:58 ---> 2969d0f506ab 01:34:58 Successfully built 2969d0f506ab 01:34:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:59 + docker inspect -f . ci-base-image-x86_64 01:34:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:59 prd-ubuntu20.04-docker-8c-8g-42588 does not seem to be running inside a container 01:34:59 $ 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 01:34:59 $ docker top 7b48cd23472cc0d20676a676d871e1bce9a8c3f1224a1da751458667d9ca3f2d -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:00 + go version 01:35:00 go version go1.23.4 linux/amd64 [Pipeline] } 01:35:00 $ docker stop --time=1 7b48cd23472cc0d20676a676d871e1bce9a8c3f1224a1da751458667d9ca3f2d 01:35:01 $ docker rm -f --volumes 7b48cd23472cc0d20676a676d871e1bce9a8c3f1224a1da751458667d9ca3f2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:01 + docker inspect -f . ci-base-image-x86_64 01:35:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:01 prd-ubuntu20.04-docker-8c-8g-42588 does not seem to be running inside a container 01:35:01 $ 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 01:35:02 $ docker top a59da9b3c5d16db3e38401b5a01d8076612e0335bf30c25f980169d0f858d74f -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:02 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1711 [Pipeline] fileExists [Pipeline] sh 01:35:02 + make test 01:35:02 go test -race -coverprofile=coverage.out ./... 01:35:10 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 01:35:49 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.032s coverage: 28.2% of statements 01:35:49 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.036s coverage: 79.3% of statements 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 01:35:49 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.028s coverage: 90.4% of statements 01:35:49 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 01:35:49 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 01:35:50 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.094s coverage: 45.0% of statements 01:35:51 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 01:35:56 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 7.049s coverage: 14.3% of statements 01:35:56 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.023s coverage: 44.6% of statements 01:35:56 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.051s coverage: 68.4% of statements 01:35:56 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.096s coverage: 88.3% of statements 01:35:56 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.052s coverage: 5.0% of statements 01:36:28 GO111MODULE=on go vet ./... 01:36:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:36:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:36:32 ./bin/test-attribution-txt.sh [Pipeline] echo 01:36:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:36:32 $ docker stop --time=1 a59da9b3c5d16db3e38401b5a01d8076612e0335bf30c25f980169d0f858d74f 01:36:35 $ docker rm -f --volumes a59da9b3c5d16db3e38401b5a01d8076612e0335bf30c25f980169d0f858d74f [Pipeline] // withDockerContainer [Pipeline] sh 01:36:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:36:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:36:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:36:36 + ls -al . 01:36:36 total 740 01:36:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 2 01:35 . 01:36:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 01:33 .. 01:36:36 -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 01:33 .dockerignore 01:36:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 01:35 .git 01:36:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 01:33 .github 01:36:36 -rw-rw-r-- 1 jenkins jenkins 137 Apr 2 01:33 .gitignore 01:36:36 -rw-rw-r-- 1 jenkins jenkins 199 Apr 2 01:33 .golangci.yml 01:36:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 01:33 .semver 01:36:36 -rw-rw-r-- 1 jenkins jenkins 53715 Apr 2 01:33 CHANGELOG.md 01:36:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 2 01:33 GOVERNANCE.md 01:36:36 -rw-rw-r-- 1 jenkins jenkins 882 Apr 2 01:33 Jenkinsfile 01:36:36 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 2 01:33 LICENSE 01:36:36 -rw-rw-r-- 1 jenkins jenkins 2424 Apr 2 01:33 Makefile 01:36:36 -rw-rw-r-- 1 jenkins jenkins 619 Apr 2 01:33 OWNERS.md 01:36:36 -rw-rw-r-- 1 jenkins jenkins 4937 Apr 2 01:33 README.md 01:36:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 01:33 VERSION 01:36:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 01:33 bin 01:36:36 -rw-r--r-- 1 jenkins jenkins 497264 Apr 2 01:35 coverage.out 01:36:36 drwxrwxr-x 5 jenkins jenkins 4096 Apr 2 01:33 example 01:36:36 -rw-rw-r-- 1 jenkins jenkins 6127 Apr 2 01:33 go.mod 01:36:36 -rw-rw-r-- 1 jenkins jenkins 86405 Apr 2 01:33 go.sum 01:36:36 drwxrwxr-x 13 jenkins jenkins 4096 Apr 2 01:33 internal 01:36:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 01:33 openapi 01:36:36 drwxrwxr-x 6 jenkins jenkins 4096 Apr 2 01:33 pkg 01:36:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 01:33 snap 01:36:36 -rw-rw-r-- 1 jenkins jenkins 222 Apr 2 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:37 + 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=62c0bf8fa2462f2e93c009b6439d0323f44b55d2 --label arch=amd64 --label version=0.0.0 . 01:36:37 Sending build context to Docker daemon 36.45MB 01:36:37 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 01:36:37 Step 2/24 : FROM ${BASE} AS builder 01:36:37 ---> 2969d0f506ab 01:36:37 Step 3/24 : ARG MAKE=make build 01:36:37 ---> Running in 2b519d02e7ec 01:36:37 Removing intermediate container 2b519d02e7ec 01:36:37 ---> 7bd1e995a7a9 01:36:37 Step 4/24 : WORKDIR /device-sdk-go 01:36:37 ---> Running in 293e37e39ff3 01:36:37 Removing intermediate container 293e37e39ff3 01:36:37 ---> a36871d33b58 01:36:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:36:37 ---> Running in 9036bca3f11c 01:36:37 Removing intermediate container 9036bca3f11c 01:36:37 ---> d4a3107324a1 01:36:37 Step 6/24 : RUN apk add --update --no-cache make git 01:36:37 ---> Running in c3dcf102c3a7 01:36:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:36:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:36:38 OK: 248 MiB in 58 packages 01:36:39 Removing intermediate container c3dcf102c3a7 01:36:39 ---> 2b73af6db4a8 01:36:39 Step 7/24 : COPY go.mod vendor* ./ 01:36:39 ---> 88bc1018dc43 01:36:39 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:39 ---> Running in b378c41bb29b 01:36:39 Removing intermediate container b378c41bb29b 01:36:39 ---> 692341e41233 01:36:39 Step 9/24 : COPY . . 01:36:40 ---> 85bb266ae64d 01:36:40 Step 10/24 : RUN ${MAKE} 01:36:40 ---> Running in eca00e1100ec 01:36:40 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 01:37:13 Removing intermediate container eca00e1100ec 01:37:13 ---> 6c4c957ef736 01:37:13 Step 11/24 : FROM alpine:3.20 01:37:13 3.20: Pulling from library/alpine 01:37:13 0a9a5dfd008f: Pulling fs layer 01:37:13 0a9a5dfd008f: Download complete 01:37:13 0a9a5dfd008f: Pull complete 01:37:13 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:37:13 Status: Downloaded newer image for alpine:3.20 01:37:13 ---> ff221270b9fb 01:37:13 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:37:13 ---> Running in a51b703146dd 01:37:13 Removing intermediate container a51b703146dd 01:37:13 ---> 4a5e41b95a9d 01:37:13 Step 13/24 : RUN apk add --update --no-cache dumb-init 01:37:13 ---> Running in 76ac1ad2e13e 01:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:37:13 (1/1) Installing dumb-init (1.2.5-r3) 01:37:13 Executing busybox-1.36.1-r29.trigger 01:37:13 OK: 8 MiB in 15 packages 01:37:13 Removing intermediate container 76ac1ad2e13e 01:37:13 ---> 1bd26dd10fe9 01:37:13 Step 14/24 : RUN apk --no-cache upgrade 01:37:13 ---> Running in 0ae87307c124 01:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:37:13 OK: 8 MiB in 15 packages 01:37:13 Removing intermediate container 0ae87307c124 01:37:13 ---> 3f27355ee2a7 01:37:13 Step 15/24 : WORKDIR / 01:37:13 ---> Running in 1717c6940a82 01:37:13 Removing intermediate container 1717c6940a82 01:37:13 ---> b246604fcece 01:37:13 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:37:13 ---> b218598889ec 01:37:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:37:13 ---> 231ac82300ec 01:37:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:37:13 ---> 71d235f04b17 01:37:13 Step 19/24 : EXPOSE 59999 01:37:13 ---> Running in 4d77c0c29a05 01:37:13 Removing intermediate container 4d77c0c29a05 01:37:13 ---> 898d18efceed 01:37:13 Step 20/24 : ENTRYPOINT ["/device-simple"] 01:37:13 ---> Running in be19dc506ad2 01:37:14 Removing intermediate container be19dc506ad2 01:37:14 ---> ccef3ff1938b 01:37:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:37:14 ---> Running in db8a8725d84c 01:37:14 Removing intermediate container db8a8725d84c 01:37:14 ---> 0355e3f3e8f9 01:37:14 Step 22/24 : LABEL arch=amd64 01:37:14 ---> Running in edb1ffc513b5 01:37:14 Removing intermediate container edb1ffc513b5 01:37:14 ---> d67e9d12ab50 01:37:14 Step 23/24 : LABEL git_sha=62c0bf8fa2462f2e93c009b6439d0323f44b55d2 01:37:14 ---> Running in 511621d0c4a8 01:37:14 Removing intermediate container 511621d0c4a8 01:37:14 ---> 6c4cbbf75038 01:37:14 Step 24/24 : LABEL version=0.0.0 01:37:14 ---> Running in f78639ccda22 01:37:14 Removing intermediate container f78639ccda22 01:37:14 ---> c59396192e25 01:37:14 [Warning] One or more build-args [ARCH] were not consumed 01:37:14 Successfully built c59396192e25 01:37:14 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 01:37:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:14 01:37:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:15 latest: Pulling from edgex-lftools-log-publisher 01:37:15 5eb5b503b376: Pulling fs layer 01:37:15 5c69ac0246d0: Pulling fs layer 01:37:15 ec43610c2a17: Pulling fs layer 01:37:15 3a2ae6a8a46f: Pulling fs layer 01:37:15 33b1e0a273af: Pulling fs layer 01:37:15 5d3b04190fa2: Pulling fs layer 01:37:15 2f39f015ded8: Pulling fs layer 01:37:15 33b1e0a273af: Waiting 01:37:15 5d3b04190fa2: Waiting 01:37:15 2f39f015ded8: Waiting 01:37:15 3a2ae6a8a46f: Waiting 01:37:15 5c69ac0246d0: Verifying Checksum 01:37:15 5c69ac0246d0: Download complete 01:37:15 3a2ae6a8a46f: Download complete 01:37:15 33b1e0a273af: Verifying Checksum 01:37:15 33b1e0a273af: Download complete 01:37:15 5d3b04190fa2: Verifying Checksum 01:37:15 5d3b04190fa2: Download complete 01:37:15 ec43610c2a17: Verifying Checksum 01:37:15 ec43610c2a17: Download complete 01:37:15 5eb5b503b376: Verifying Checksum 01:37:15 5eb5b503b376: Download complete 01:37:16 2f39f015ded8: Download complete 01:37:16 5eb5b503b376: Pull complete 01:37:16 5c69ac0246d0: Pull complete 01:37:17 ec43610c2a17: Pull complete 01:37:17 3a2ae6a8a46f: Pull complete 01:37:17 33b1e0a273af: Pull complete 01:37:17 5d3b04190fa2: Pull complete 01:37:21 2f39f015ded8: Pull complete 01:37:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:22 prd-ubuntu20.04-docker-8c-8g-42588 does not seem to be running inside a container 01:37:22 $ 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 01:37:23 $ docker top 815c76f3573b50c256f5f71e136ac02514f4cb532a2fded10982767320ba229e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:24 ---> job-cost.sh 01:37:24 lf-activate-venv: SKIPPING 01:37:24 INFO: No Stack... 01:37:24 INFO: Retrieving Pricing Info for: v3-standard-8 01:37:24 INFO: Archiving Costs [Pipeline] sh 01:37:24 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives/cost.csv 01:37:24 + cut -d, -f6 [Pipeline] lock 01:37:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1711-4-stack-cost] 01:37:24 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1711-4-stack-cost] did not exist. Created. 01:37:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1711-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:37:25 + echo total: 0.2199999988079071 [Pipeline] stash 01:37:25 Stashed 1 file(s) [Pipeline] } 01:37:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1711-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:37:25 $ docker stop --time=1 815c76f3573b50c256f5f71e136ac02514f4cb532a2fded10982767320ba229e 01:37:26 $ docker rm -f --volumes 815c76f3573b50c256f5f71e136ac02514f4cb532a2fded10982767320ba229e [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 01:37:26 provisioning config files... 01:37:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/config1982516079023168903tmp [Pipeline] { [Pipeline] sh 01:37:27 + set +x 01:37:27 + curl -s https://codecov.io/bash 01:37:27 + bash -s -- 01:37:27 01:37:27 _____ _ 01:37:27 / ____| | | 01:37:27 | | ___ __| | ___ ___ _____ __ 01:37:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:37:27 | |___| (_) | (_| | __/ (_| (_) \ V / 01:37:27 \_____\___/ \__,_|\___|\___\___/ \_/ 01:37:27 Bash-1.0.6 01:37:27 01:37:27 01:37:27 ==> git version 2.25.1 found 01:37:27 ==> 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 01:37:27 Release-Date: 2020-01-08 01:37:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:37:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:37:27 ==> Jenkins CI detected. 01:37:27 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1711 01:37:27 project root: . 01:37:27 --> token set from env 01:37:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:37:27 ==> Running gcov in . (disable via -X gcov) 01:37:27 ==> Python coveragepy not found 01:37:27 ==> Searching for coverage reports in: 01:37:27 + . 01:37:27 -> Found 1 reports 01:37:27 ==> Detecting git/mercurial file structure 01:37:27 ==> Reading reports 01:37:27 + ./coverage.out bytes=497264 01:37:27 ==> Appending adjustments 01:37:27 https://docs.codecov.io/docs/fixing-reports 01:37:27 + Found adjustments 01:37:27 ==> Gzipping contents 01:37:27 48K /tmp/codecov.HfdbPs.gz 01:37:27 ==> Uploading reports 01:37:27 url: https://codecov.io 01:37:27 query: branch=PR-1711&commit=62c0bf8fa2462f2e93c009b6439d0323f44b55d2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1711%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1711&job=&cmd_args= 01:37:27 -> Pinging Codecov 01:37:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1711&commit=62c0bf8fa2462f2e93c009b6439d0323f44b55d2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1711%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1711&job=&cmd_args= 01:37:27 -> Uploading to 01:37:27 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-sdk-go/62c0bf8fa2462f2e93c009b6439d0323f44b55d2/399e9329-a981-4849-835e-a104ad88aecc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250402%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250402T013727Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=e23fc52afe45288c06c443f2da9d2c149c860e9ee0c491e0c8acd9e26a686dd1 01:37:27 % Total % Received % Xferd Average Speed Time Time Time Current 01:37:27 Dload Upload Total Spent Left Speed 01:37:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47494 0 0 100 47494 0 195k --:--:-- --:--:-- --:--:-- 195k 01:37:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/62c0bf8fa2462f2e93c009b6439d0323f44b55d2 [Pipeline] } 01:37:28 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 01:37:29 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives ] 01:37:29 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives 01:37:29 total 16 01:37:29 drwxr-xr-x 3 root root 4096 Apr 2 01:37 . 01:37:29 drwxrwxr-x 12 jenkins jenkins 4096 Apr 2 01:37 .. 01:37:29 drwxr-xr-x 2 root root 4096 Apr 2 01:37 cost 01:37:29 -rw-r--r-- 1 root root 86 Apr 2 01:37 cost.csv 01:37:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives 01:37:29 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives 01:37:29 total 16 01:37:29 drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 01:37 . 01:37:29 drwxrwxr-x 12 jenkins jenkins 4096 Apr 2 01:37 .. 01:37:29 drwxr-xr-x 2 jenkins jenkins 4096 Apr 2 01:37 cost 01:37:29 -rw-r--r-- 1 jenkins jenkins 86 Apr 2 01:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:37:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:37:30 ---> package-listing.sh 01:37:30 ++ facter osfamily 01:37:30 ++ tr '[:upper:]' '[:lower:]' 01:37:30 + OS_FAMILY=debian 01:37:30 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1711 01:37:30 + START_PACKAGES=/tmp/packages_start.txt 01:37:30 + END_PACKAGES=/tmp/packages_end.txt 01:37:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:37:30 + PACKAGES=/tmp/packages_start.txt 01:37:30 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1711 ']' 01:37:30 + PACKAGES=/tmp/packages_end.txt 01:37:30 + case "${OS_FAMILY}" in 01:37:30 + dpkg -l 01:37:30 + grep '^ii' 01:37:30 + '[' -f /tmp/packages_start.txt ']' 01:37:30 + '[' -f /tmp/packages_end.txt ']' 01:37:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:37:30 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1711 ']' 01:37:30 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1711/archives/ 01:37:30 + 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 01:37:30 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 01:37:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:31 prd-ubuntu20.04-docker-8c-8g-42588 does not seem to be running inside a container 01:37:31 $ 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 01:37:31 $ docker top e553d5e684742a299c8a28d824ec5743c12552530dc894b3957e4d793bc5502a -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:37:32 + mkdir -p /var/log/sysstat [Pipeline] sh 01:37:32 + ls /var/log/sa-host 01:37:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:37:32 provisioning config files... 01:37:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1711@tmp/config2024712787496036009tmp [Pipeline] { [Pipeline] echo 01:37:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:37:33 ---> create-netrc.sh [Pipeline] } 01:37:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:37:33 ---> python-tools-install.sh [Pipeline] echo 01:37:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:37:33 ---> sudo-logs.sh 01:37:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:37:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:37:34 ---> job-cost.sh 01:37:34 lf-activate-venv: SKIPPING 01:37:34 DEBUG: total: 0.2199999988079071 01:37:34 INFO: Retrieving Stack Cost... 01:37:34 INFO: Retrieving Pricing Info for: v3-standard-8 01:37:34 INFO: Archiving Costs [Pipeline] echo 01:37:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:37:34 ---> logs-deploy.sh 01:37:34 lf-activate-venv: SKIPPING 01:37:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1711/4 01:37:34 INFO: archiving workspace using pattern(s): 01:37:35 Archives upload complete. 01:37:35 INFO: archiving logs to Nexus 01:37:36 ---> uname -a: 01:37:36 Linux prd-ubuntu20-04-docker-8c-8g-42588 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:37:36 01:37:36 01:37:36 ---> lscpu: 01:37:36 Architecture: x86_64 01:37:36 CPU op-mode(s): 32-bit, 64-bit 01:37:36 Byte Order: Little Endian 01:37:36 Address sizes: 40 bits physical, 48 bits virtual 01:37:36 CPU(s): 8 01:37:36 On-line CPU(s) list: 0-7 01:37:36 Thread(s) per core: 1 01:37:36 Core(s) per socket: 1 01:37:36 Socket(s): 8 01:37:36 NUMA node(s): 1 01:37:36 Vendor ID: AuthenticAMD 01:37:36 CPU family: 23 01:37:36 Model: 49 01:37:36 Model name: AMD EPYC-Rome Processor 01:37:36 Stepping: 0 01:37:36 CPU MHz: 2799.998 01:37:36 BogoMIPS: 5599.99 01:37:36 Virtualization: AMD-V 01:37:36 Hypervisor vendor: KVM 01:37:36 Virtualization type: full 01:37:36 L1d cache: 256 KiB 01:37:36 L1i cache: 256 KiB 01:37:36 L2 cache: 4 MiB 01:37:36 L3 cache: 128 MiB 01:37:36 NUMA node0 CPU(s): 0-7 01:37:36 Vulnerability Itlb multihit: Not affected 01:37:36 Vulnerability L1tf: Not affected 01:37:36 Vulnerability Mds: Not affected 01:37:36 Vulnerability Meltdown: Not affected 01:37:36 Vulnerability Mmio stale data: Not affected 01:37:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:37:36 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:37:36 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:37:36 Vulnerability Srbds: Not affected 01:37:36 Vulnerability Tsx async abort: Not affected 01:37:36 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 01:37:36 01:37:36 01:37:36 ---> nproc: 01:37:36 8 01:37:36 01:37:36 01:37:36 ---> df -h: 01:37:36 Filesystem Size Used Avail Use% Mounted on 01:37:36 overlay 155G 12G 144G 8% / 01:37:36 tmpfs 64M 0 64M 0% /dev 01:37:36 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:37:36 shm 64M 0 64M 0% /dev/shm 01:37:36 /dev/vda1 155G 12G 144G 8% /facter-os 01:37:36 01:37:36 01:37:36 ---> sar -b -r -n DEV: 01:37:36 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-42588) 04/02/25 _x86_64_ (8 CPU) 01:37:36 01:37:36 01:33:02 LINUX RESTART (8 CPU) 01:37:36 01:37:36 01:34:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:37:36 01:35:01 312.70 1.98 310.71 0.00 16.53 97270.99 0.00 01:37:36 01:36:01 42.15 0.00 42.15 0.00 0.00 24450.53 0.00 01:37:36 01:37:01 87.94 0.18 87.75 0.00 6.93 23112.05 0.00 01:37:36 Average: 147.60 0.72 146.88 0.00 7.82 48277.78 0.00 01:37:36 01:37:36 01:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:37:36 01:35:01 28019796 31530204 775468 2.36 183416 3487424 1756644 5.18 1155296 3194848 92 01:37:36 01:36:01 27167488 31326860 969672 2.95 187652 4066364 2400508 7.07 1543880 3583840 216788 01:37:36 01:37:01 27065616 31466836 829416 2.52 191960 4289100 2036024 6.00 1753260 3463464 731964 01:37:36 Average: 27417633 31441300 858185 2.61 187676 3947629 2064392 6.08 1484145 3414051 316281 01:37:36 01:37:36 01:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:37:36 01:35:01 ens3 599.33 376.57 5802.07 43.29 0.00 0.00 0.00 0.00 01:37:36 01:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:37:36 01:35:01 docker0 320.36 490.43 26.53 2902.32 0.00 0.00 0.00 0.00 01:37:36 01:36:01 ens3 24.40 12.93 22.05 9.02 0.00 0.00 0.00 0.00 01:37:36 01:36:01 veth6288041 0.87 1.42 0.12 0.38 0.00 0.00 0.00 0.00 01:37:36 01:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:37:36 01:36:01 docker0 0.87 1.25 0.11 0.37 0.00 0.00 0.00 0.00 01:37:36 01:37:01 ens3 25.07 13.56 56.50 8.94 0.00 0.00 0.00 0.00 01:37:36 01:37:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 01:37:36 01:37:01 vethf91a790 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 01:37:36 01:37:01 docker0 1.90 4.18 0.11 38.18 0.00 0.00 0.00 0.00 01:37:36 Average: ens3 216.27 134.36 1960.21 20.41 0.00 0.00 0.00 0.00 01:37:36 Average: lo 0.16 0.16 0.01 0.01 0.00 0.00 0.00 0.00 01:37:36 Average: vethf91a790 0.00 0.06 0.00 0.00 0.00 0.00 0.00 0.00 01:37:36 Average: docker0 107.71 165.29 8.91 980.29 0.00 0.00 0.00 0.00 01:37:36 01:37:36 01:37:36 ---> sar -P ALL: 01:37:36 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-42588) 04/02/25 _x86_64_ (8 CPU) 01:37:36 01:37:36 01:33:02 LINUX RESTART (8 CPU) 01:37:36 01:37:36 01:34:01 CPU %user %nice %system %iowait %steal %idle 01:37:36 01:35:01 all 9.17 0.00 4.68 1.90 0.07 84.18 01:37:36 01:35:01 0 9.26 0.00 4.60 0.10 0.07 85.97 01:37:36 01:35:01 1 7.59 0.00 5.06 1.15 0.07 86.13 01:37:36 01:35:01 2 9.19 0.00 4.23 0.15 0.05 86.38 01:37:36 01:35:01 3 9.70 0.00 5.86 8.94 0.08 75.41 01:37:36 01:35:01 4 9.78 0.00 4.71 0.24 0.07 85.20 01:37:36 01:35:01 5 9.30 0.00 4.48 2.71 0.08 83.41 01:37:36 01:35:01 6 9.88 0.00 4.75 0.27 0.07 85.03 01:37:36 01:35:01 7 8.63 0.00 3.78 1.68 0.07 85.84 01:37:36 01:36:01 all 36.96 0.00 5.34 0.39 0.08 57.23 01:37:36 01:36:01 0 39.78 0.00 5.07 0.05 0.07 55.03 01:37:36 01:36:01 1 36.73 0.00 5.66 0.34 0.08 57.19 01:37:36 01:36:01 2 36.68 0.00 5.72 0.00 0.07 57.54 01:37:36 01:36:01 3 35.13 0.00 4.86 0.10 0.08 59.82 01:37:36 01:36:01 4 36.71 0.00 5.77 0.02 0.08 57.41 01:37:36 01:36:01 5 38.85 0.00 4.91 0.02 0.07 56.16 01:37:36 01:36:01 6 36.33 0.00 5.15 0.47 0.08 57.96 01:37:36 01:36:01 7 35.47 0.00 5.55 2.12 0.08 56.77 01:37:36 01:37:01 all 55.93 0.00 7.72 0.48 0.09 35.78 01:37:36 01:37:01 0 55.98 0.00 8.15 0.17 0.08 35.62 01:37:36 01:37:01 1 55.37 0.00 7.35 0.76 0.08 36.44 01:37:36 01:37:01 2 55.73 0.00 7.57 0.03 0.08 36.59 01:37:36 01:37:01 3 55.56 0.00 7.72 0.08 0.08 36.56 01:37:36 01:37:01 4 56.46 0.00 7.72 0.07 0.08 35.68 01:37:36 01:37:01 5 55.50 0.00 7.49 0.05 0.08 36.88 01:37:36 01:37:01 6 56.11 0.00 8.24 2.23 0.10 33.31 01:37:36 01:37:01 7 56.76 0.00 7.54 0.47 0.08 35.14 01:37:36 Average: all 34.07 0.00 5.92 0.92 0.08 59.02 01:37:36 Average: 0 35.07 0.00 5.94 0.11 0.07 58.81 01:37:36 Average: 1 33.26 0.00 6.02 0.75 0.08 59.89 01:37:36 Average: 2 33.86 0.00 5.84 0.06 0.07 60.17 01:37:36 Average: 3 33.53 0.00 6.15 3.03 0.08 57.21 01:37:36 Average: 4 34.38 0.00 6.07 0.11 0.08 59.36 01:37:36 Average: 5 34.58 0.00 5.63 0.92 0.08 58.79 01:37:36 Average: 6 34.16 0.00 6.05 0.99 0.08 58.71 01:37:36 Average: 7 33.67 0.00 5.63 1.42 0.08 59.20 01:37:36 01:37:36 01:37:36