Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e95677e052f864a63c09cedad696e338d04e7b14 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-ssh9881454519502276914.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-ssh12463702405482894131.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5207723798582720701.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-ssh9903275927261190945.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8123239371572477870.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-42608 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision e95677e052f864a63c09cedad696e338d04e7b14 (main) Commit message: "fix: Fix cache concurrent read write error (#1711)" > git config core.sparsecheckout # timeout=10 > git checkout -f e95677e052f864a63c09cedad696e338d04e7b14 # timeout=10 > git rev-list --no-walk f939d930aaed3a368ea42010ee2f0f41f3ba61da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:42:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:42:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:42:56 ========================================================= 05:42:56 EdgeX Global Pipelines Version Info 05:42:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:42:56 ------------------- 05:42:56 stable info: 05:42:56 ------------------- 05:42:56 Commited By: Ginny Guan ginny@iotechsys.com 05:42:56 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 05:42:56 Message: update stable to v1.0.274 05:42:57 ------------------- 05:42:57 experimental info: 05:42:57 ------------------- 05:42:57 Commited By: Ginny Guan ginny@iotechsys.com 05:42:57 Commit SHA: e63c24b3e3d9a84dc1e69f593cedf07ec71d9018 05:42:57 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:42:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:42:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:42:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:42:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:42:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:42:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:42:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:42:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e95677e052f864a63c09cedad696e338d04e7b14 [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e95677e [Pipeline] echo 05:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:42:59 provisioning config files... 05:42:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10957282998557418227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:00 ---> ****-login.sh 05:43:00 nexus3.edgexfoundry.org:10001 05:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:00 Configure a credential helper to remove this warning. See 05:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:00 05:43:00 Login Succeeded 05:43:00 nexus3.edgexfoundry.org:10002 05:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:00 Configure a credential helper to remove this warning. See 05:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:00 05:43:00 Login Succeeded 05:43:00 nexus3.edgexfoundry.org:10003 05:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:00 Configure a credential helper to remove this warning. See 05:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:00 05:43:00 Login Succeeded 05:43:00 nexus3.edgexfoundry.org:10004 05:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:00 Configure a credential helper to remove this warning. See 05:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:00 05:43:00 Login Succeeded 05:43:00 ****.io 05:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:01 Configure a credential helper to remove this warning. See 05:43:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:01 05:43:01 Login Succeeded 05:43:01 ---> ****-login.sh ends [Pipeline] } 05:43:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:43:01 + git rev-list -1 --merges e95677e052f864a63c09cedad696e338d04e7b14~1..e95677e052f864a63c09cedad696e338d04e7b14 [Pipeline] echo 05:43:01 -----------> git rev-list -1 --merges e95677e052f864a63c09cedad696e338d04e7b14~1..e95677e052f864a63c09cedad696e338d04e7b14 e95677e052f864a63c09cedad696e338d04e7b14 [false] [Pipeline] sh 05:43:01 + git log --format=format:%s -1 e95677e052f864a63c09cedad696e338d04e7b14 [Pipeline] echo 05:43:01 ========================================================= 05:43:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:43:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:43:02 + git log --format=format:%s -1 e95677e052f864a63c09cedad696e338d04e7b14 [Pipeline] echo 05:43:02 [semverPrep] GIT_COMMIT: e95677e052f864a63c09cedad696e338d04e7b14, Commit Message: fix: Fix cache concurrent read write error (#1711) [Pipeline] echo 05:43:02 [semverPrep] This is not a build commit. [Pipeline] sh 05:43:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:43:02 + grep -v github /etc/ssh/ssh_known_hosts 05:43:02 + [ -e /tmp/ssh_known_hosts ] 05:43:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:43:02 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:43:02 sudo tee -a /etc/ssh/ssh_known_hosts 05:43:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:03 05:43:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:03 0.1.4: Pulling from edgex-devops/py-git-semver 05:43:03 b85a868b505f: Pulling fs layer 05:43:03 e2be974225ed: Pulling fs layer 05:43:03 339a4e72a1f5: Pulling fs layer 05:43:03 988bab9f4d93: Pulling fs layer 05:43:03 1469e6f7b9e6: Pulling fs layer 05:43:03 eaf3925da568: Pulling fs layer 05:43:03 bab4dde63d76: Pulling fs layer 05:43:03 bde34c3a00c8: Pulling fs layer 05:43:03 b352a97aabf1: Pulling fs layer 05:43:03 4872d77fe225: Pulling fs layer 05:43:03 5851b861e8e6: Pulling fs layer 05:43:03 bab4dde63d76: Waiting 05:43:03 bde34c3a00c8: Waiting 05:43:03 b352a97aabf1: Waiting 05:43:03 4872d77fe225: Waiting 05:43:03 5851b861e8e6: Waiting 05:43:03 1469e6f7b9e6: Waiting 05:43:03 988bab9f4d93: Waiting 05:43:03 eaf3925da568: Waiting 05:43:03 e2be974225ed: Verifying Checksum 05:43:03 e2be974225ed: Download complete 05:43:03 988bab9f4d93: Verifying Checksum 05:43:03 988bab9f4d93: Download complete 05:43:03 1469e6f7b9e6: Verifying Checksum 05:43:03 1469e6f7b9e6: Download complete 05:43:03 eaf3925da568: Verifying Checksum 05:43:03 eaf3925da568: Download complete 05:43:03 339a4e72a1f5: Verifying Checksum 05:43:03 339a4e72a1f5: Download complete 05:43:03 bde34c3a00c8: Verifying Checksum 05:43:03 bde34c3a00c8: Download complete 05:43:03 b352a97aabf1: Verifying Checksum 05:43:03 b352a97aabf1: Download complete 05:43:03 4872d77fe225: Verifying Checksum 05:43:03 4872d77fe225: Download complete 05:43:03 5851b861e8e6: Verifying Checksum 05:43:03 5851b861e8e6: Download complete 05:43:03 b85a868b505f: Verifying Checksum 05:43:03 b85a868b505f: Download complete 05:43:03 bab4dde63d76: Verifying Checksum 05:43:03 bab4dde63d76: Download complete 05:43:04 b85a868b505f: Pull complete 05:43:05 e2be974225ed: Pull complete 05:43:05 339a4e72a1f5: Pull complete 05:43:05 988bab9f4d93: Pull complete 05:43:05 1469e6f7b9e6: Pull complete 05:43:05 eaf3925da568: Pull complete 05:43:07 bab4dde63d76: Pull complete 05:43:07 bde34c3a00c8: Pull complete 05:43:07 b352a97aabf1: Pull complete 05:43:08 4872d77fe225: Pull complete 05:43:08 5851b861e8e6: Pull complete 05:43:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:43:08 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:43:09 $ docker top 3789e97b82991c8215b93e9b0f9be442410e2719a5bf0035f95175f3d409882a -eo pid,comm 05:43:09 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). 05:43:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:43:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:09 [ssh-agent] Looking for ssh-agent implementation... 05:43:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:10 $ docker exec 3789e97b82991c8215b93e9b0f9be442410e2719a5bf0035f95175f3d409882a ssh-agent 05:43:10 SSH_AUTH_SOCK=/tmp/ssh-2T2c9v5Ww4A6/agent.32 05:43:10 SSH_AGENT_PID=39 05:43:10 Running ssh-add (command line suppressed) 05:43:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14198782877030867628.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14198782877030867628.key) 05:43:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:10 + git tag --points-at HEAD [Pipeline] } 05:43:10 $ docker exec --env ******** --env ******** 3789e97b82991c8215b93e9b0f9be442410e2719a5bf0035f95175f3d409882a ssh-agent -k 05:43:10 unset SSH_AUTH_SOCK; 05:43:10 unset SSH_AGENT_PID; 05:43:10 echo Agent pid 39 killed; 05:43:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:43:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:10 [ssh-agent] Looking for ssh-agent implementation... 05:43:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:10 $ docker exec 3789e97b82991c8215b93e9b0f9be442410e2719a5bf0035f95175f3d409882a ssh-agent 05:43:10 SSH_AUTH_SOCK=/tmp/ssh-7QOwN67xSFED/agent.72 05:43:10 SSH_AGENT_PID=78 05:43:10 Running ssh-add (command line suppressed) 05:43:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7063312812108136908.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7063312812108136908.key) 05:43:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:11 + git semver init 05:43:11 2025-04-02 05:43:11,549 [run_init] DEBUG init version:0.0.0 force:False 05:43:11 2025-04-02 05:43:11,550 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:43:11 2025-04-02 05:43:11,551 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:43:11 2025-04-02 05:43:11,551 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:43:13 2025-04-02 05:43:12,822 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:43:13 2025-04-02 05:43:12,822 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:43:13 2025-04-02 05:43:12,822 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:43:13 2025-04-02 05:43:12,822 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:43:13 4.1.0-dev.2 [Pipeline] } 05:43:13 $ docker exec --env ******** --env ******** 3789e97b82991c8215b93e9b0f9be442410e2719a5bf0035f95175f3d409882a ssh-agent -k 05:43:13 unset SSH_AUTH_SOCK; 05:43:13 unset SSH_AGENT_PID; 05:43:13 echo Agent pid 78 killed; 05:43:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:13 + git semver [Pipeline] } 05:43:13 $ docker stop --time=1 3789e97b82991c8215b93e9b0f9be442410e2719a5bf0035f95175f3d409882a 05:43:15 $ docker rm -f --volumes 3789e97b82991c8215b93e9b0f9be442410e2719a5bf0035f95175f3d409882a [Pipeline] // withDockerContainer [Pipeline] sh 05:43:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:43:15 Stashed 1 file(s) [Pipeline] echo 05:43:15 [edgeXSemver]: initialized semver on version 4.1.0-dev.2 [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] { (Prep) [Pipeline] // stage [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 05:43:15 provisioning config files... 05:43:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18263330972305771301tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:43:16 ---> ****-login.sh 05:43:16 nexus3.edgexfoundry.org:10001 05:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:16 Configure a credential helper to remove this warning. See 05:43:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:16 05:43:16 Login Succeeded 05:43:16 nexus3.edgexfoundry.org:10002 05:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:16 Configure a credential helper to remove this warning. See 05:43:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:16 05:43:16 Login Succeeded 05:43:16 nexus3.edgexfoundry.org:10003 05:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:16 Configure a credential helper to remove this warning. See 05:43:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:16 05:43:16 Login Succeeded 05:43:16 nexus3.edgexfoundry.org:10004 05:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:16 Configure a credential helper to remove this warning. See 05:43:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:16 05:43:16 Login Succeeded 05:43:16 ****.io 05:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:16 Configure a credential helper to remove this warning. See 05:43:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:16 05:43:16 Login Succeeded 05:43:16 ---> ****-login.sh ends [Pipeline] } 05:43:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:43:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:43:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:43:17 ========================================================= 05:43:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:43:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:17 + 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 . 05:43:17 Sending build context to Docker daemon 35.89MB 05:43:17 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:43:17 Step 2/10 : FROM ${BASE} AS builder 05:43:17 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:17 da9db072f522: Pulling fs layer 05:43:17 6ef4a4ee8ca5: Pulling fs layer 05:43:17 06f05ace1117: Pulling fs layer 05:43:17 5fe327b54edc: Pulling fs layer 05:43:17 4f4fb700ef54: Pulling fs layer 05:43:17 92a5565b7b96: Pulling fs layer 05:43:17 ff9bb7016b71: Pulling fs layer 05:43:17 5fe327b54edc: Waiting 05:43:17 4f4fb700ef54: Waiting 05:43:17 b67dba6c2c7d: Pulling fs layer 05:43:17 a813b0c90790: Pulling fs layer 05:43:17 b67dba6c2c7d: Waiting 05:43:17 a813b0c90790: Waiting 05:43:17 6ef4a4ee8ca5: Verifying Checksum 05:43:17 6ef4a4ee8ca5: Download complete 05:43:17 5fe327b54edc: Download complete 05:43:17 4f4fb700ef54: Verifying Checksum 05:43:17 4f4fb700ef54: Download complete 05:43:17 da9db072f522: Download complete 05:43:17 92a5565b7b96: Verifying Checksum 05:43:17 92a5565b7b96: Download complete 05:43:17 ff9bb7016b71: Verifying Checksum 05:43:17 ff9bb7016b71: Download complete 05:43:17 da9db072f522: Pull complete 05:43:17 a813b0c90790: Verifying Checksum 05:43:17 a813b0c90790: Download complete 05:43:17 6ef4a4ee8ca5: Pull complete 05:43:18 06f05ace1117: Download complete 05:43:18 b67dba6c2c7d: Verifying Checksum 05:43:18 b67dba6c2c7d: Download complete 05:43:21 06f05ace1117: Pull complete 05:43:21 5fe327b54edc: Pull complete 05:43:21 4f4fb700ef54: Pull complete 05:43:21 92a5565b7b96: Pull complete 05:43:21 ff9bb7016b71: Pull complete 05:43:23 b67dba6c2c7d: Pull complete 05:43:24 a813b0c90790: Pull complete 05:43:24 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:43:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:43:24 ---> 3ba60ce46760 05:43:24 Step 3/10 : ARG MAKE=make build 05:43:26 ---> Running in 67f5076ed654 05:43:26 Removing intermediate container 67f5076ed654 05:43:26 ---> 83c5a1e1a2d1 05:43:26 Step 4/10 : WORKDIR /device-sdk-go 05:43:26 ---> Running in d288d7179e99 05:43:26 Removing intermediate container d288d7179e99 05:43:26 ---> fd91f2b32f8f 05:43:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:43:26 ---> Running in 18327fc3d290 05:43:26 Removing intermediate container 18327fc3d290 05:43:26 ---> 76ec61d640e6 05:43:26 Step 6/10 : RUN apk add --update --no-cache make git 05:43:26 ---> Running in c8f1853aa032 05:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:43:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:43:30 OK: 248 MiB in 58 packages 05:43:30 Removing intermediate container c8f1853aa032 05:43:30 ---> da15eff3bf19 05:43:30 Step 7/10 : COPY go.mod vendor* ./ 05:43:30 ---> 70dc56edadae 05:43:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:43:30 ---> Running in 8697dfd57c3c 05:44:17 Removing intermediate container 8697dfd57c3c 05:44:17 ---> 81ece636ac33 05:44:17 Step 9/10 : COPY . . 05:44:17 ---> 6c6a33a5be34 05:44:17 Step 10/10 : RUN ${MAKE} 05:44:17 ---> Running in 574cd8cc3ef1 05:44:17 noop 05:44:17 Removing intermediate container 574cd8cc3ef1 05:44:17 ---> b9a4abb7af3b 05:44:17 Successfully built b9a4abb7af3b 05:44:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:17 + docker inspect -f . ci-base-image-x86_64 05:44:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:17 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:44:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 05:44:18 $ docker top aac4e5c452432906b3794b6fe5dac2868ddeafad1b8db526be1840a9a7c73289 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:18 + go version 05:44:18 go version go1.23.4 linux/amd64 [Pipeline] } 05:44:18 $ docker stop --time=1 aac4e5c452432906b3794b6fe5dac2868ddeafad1b8db526be1840a9a7c73289 05:44:19 $ docker rm -f --volumes aac4e5c452432906b3794b6fe5dac2868ddeafad1b8db526be1840a9a7c73289 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:20 + docker inspect -f . ci-base-image-x86_64 05:44:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:20 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:44:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 05:44:20 $ docker top 28365e3cf81859a04353e2853d878a8a45c03350dd9051013e4118558124c3de -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:44:21 + make test 05:44:21 go test -race -coverprofile=coverage.out ./... 05:44:29 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 05:45:08 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.027s coverage: 28.2% of statements 05:45:08 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.032s coverage: 79.3% of statements 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 05:45:08 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.035s coverage: 90.4% of statements 05:45:08 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 05:45:08 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 05:45:08 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.088s coverage: 45.0% of statements 05:45:09 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 05:45:14 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 7.054s coverage: 14.3% of statements 05:45:14 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.521s coverage: 44.6% of statements 05:45:14 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.055s coverage: 68.4% of statements 05:45:14 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.086s coverage: 88.3% of statements 05:45:14 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.051s coverage: 5.0% of statements 05:45:46 GO111MODULE=on go vet ./... 05:45:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:45:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:45:50 ./bin/test-attribution-txt.sh [Pipeline] echo 05:45:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:45:51 $ docker stop --time=1 28365e3cf81859a04353e2853d878a8a45c03350dd9051013e4118558124c3de 05:45:54 $ docker rm -f --volumes 28365e3cf81859a04353e2853d878a8a45c03350dd9051013e4118558124c3de [Pipeline] // withDockerContainer [Pipeline] sh 05:45:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:45:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:55 + ls -al . 05:45:55 total 740 05:45:55 drwxrwxr-x 11 jenkins jenkins 4096 Apr 2 05:44 . 05:45:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:42 .. 05:45:55 -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 05:42 .dockerignore 05:45:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 05:45 .git 05:45:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 05:42 .github 05:45:55 -rw-rw-r-- 1 jenkins jenkins 137 Apr 2 05:42 .gitignore 05:45:55 -rw-rw-r-- 1 jenkins jenkins 199 Apr 2 05:42 .golangci.yml 05:45:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 05:43 .semver 05:45:55 -rw-rw-r-- 1 jenkins jenkins 53715 Apr 2 05:42 CHANGELOG.md 05:45:55 -rw-rw-r-- 1 jenkins jenkins 677 Apr 2 05:42 GOVERNANCE.md 05:45:55 -rw-rw-r-- 1 jenkins jenkins 882 Apr 2 05:42 Jenkinsfile 05:45:55 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 2 05:42 LICENSE 05:45:55 -rw-rw-r-- 1 jenkins jenkins 2424 Apr 2 05:42 Makefile 05:45:55 -rw-rw-r-- 1 jenkins jenkins 619 Apr 2 05:42 OWNERS.md 05:45:55 -rw-rw-r-- 1 jenkins jenkins 4937 Apr 2 05:42 README.md 05:45:55 -rw-rw-r-- 1 jenkins jenkins 11 Apr 2 05:43 VERSION 05:45:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 05:42 bin 05:45:55 -rw-r--r-- 1 jenkins jenkins 497264 Apr 2 05:45 coverage.out 05:45:55 drwxrwxr-x 5 jenkins jenkins 4096 Apr 2 05:42 example 05:45:55 -rw-rw-r-- 1 jenkins jenkins 6127 Apr 2 05:42 go.mod 05:45:55 -rw-rw-r-- 1 jenkins jenkins 86405 Apr 2 05:42 go.sum 05:45:55 drwxrwxr-x 13 jenkins jenkins 4096 Apr 2 05:42 internal 05:45:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 05:42 openapi 05:45:55 drwxrwxr-x 6 jenkins jenkins 4096 Apr 2 05:42 pkg 05:45:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:42 snap 05:45:55 -rw-rw-r-- 1 jenkins jenkins 222 Apr 2 05:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:56 + 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=e95677e052f864a63c09cedad696e338d04e7b14 --label arch=amd64 --label version=4.1.0-dev.2 . 05:45:56 Sending build context to Docker daemon 36.39MB 05:45:56 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 05:45:56 Step 2/24 : FROM ${BASE} AS builder 05:45:56 ---> b9a4abb7af3b 05:45:56 Step 3/24 : ARG MAKE=make build 05:45:56 ---> Running in 9caa40fe7ed1 05:45:56 Removing intermediate container 9caa40fe7ed1 05:45:56 ---> d37110c8b60d 05:45:56 Step 4/24 : WORKDIR /device-sdk-go 05:45:56 ---> Running in ea5b7acdeadb 05:45:56 Removing intermediate container ea5b7acdeadb 05:45:56 ---> bedb65bea84d 05:45:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:45:56 ---> Running in 5cdccfbc6477 05:45:56 Removing intermediate container 5cdccfbc6477 05:45:56 ---> b01ecde3ca4a 05:45:56 Step 6/24 : RUN apk add --update --no-cache make git 05:45:56 ---> Running in a27225d8600c 05:45:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:45:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:45:57 OK: 248 MiB in 58 packages 05:45:58 Removing intermediate container a27225d8600c 05:45:58 ---> d80679bb871c 05:45:58 Step 7/24 : COPY go.mod vendor* ./ 05:45:58 ---> b38478c45cfa 05:45:58 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:58 ---> Running in 2f500a943b7f 05:45:58 Removing intermediate container 2f500a943b7f 05:45:58 ---> fc0cd324e418 05:45:58 Step 9/24 : COPY . . 05:45:59 ---> e7e65a41a894 05:45:59 Step 10/24 : RUN ${MAKE} 05:45:59 ---> Running in a7988408a2e0 05:45:59 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.1.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.1.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:46:31 Removing intermediate container a7988408a2e0 05:46:31 ---> 8e8483d16c0d 05:46:31 Step 11/24 : FROM alpine:3.20 05:46:31 3.20: Pulling from library/alpine 05:46:31 0a9a5dfd008f: Pulling fs layer 05:46:31 0a9a5dfd008f: Verifying Checksum 05:46:31 0a9a5dfd008f: Download complete 05:46:31 0a9a5dfd008f: Pull complete 05:46:31 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:46:31 Status: Downloaded newer image for alpine:3.20 05:46:31 ---> ff221270b9fb 05:46:31 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:46:31 ---> Running in b018eb49e15e 05:46:31 Removing intermediate container b018eb49e15e 05:46:31 ---> 9bc6e10d16d6 05:46:31 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:46:31 ---> Running in fd0644d01e32 05:46:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:46:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:46:31 (1/1) Installing dumb-init (1.2.5-r3) 05:46:31 Executing busybox-1.36.1-r29.trigger 05:46:31 OK: 8 MiB in 15 packages 05:46:31 Removing intermediate container fd0644d01e32 05:46:31 ---> 0445c890b2e7 05:46:31 Step 14/24 : RUN apk --no-cache upgrade 05:46:31 ---> Running in 8b9680d04378 05:46:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:46:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:46:31 OK: 8 MiB in 15 packages 05:46:32 Removing intermediate container 8b9680d04378 05:46:32 ---> d8b68b8a7562 05:46:32 Step 15/24 : WORKDIR / 05:46:32 ---> Running in e20491ce3646 05:46:32 Removing intermediate container e20491ce3646 05:46:32 ---> f4c3f03a73e2 05:46:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:46:32 ---> 78631643982f 05:46:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:46:33 ---> b6f6c9e760f2 05:46:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:46:33 ---> 1a6d359bfd88 05:46:33 Step 19/24 : EXPOSE 59999 05:46:33 ---> Running in 8bec6f7db9e8 05:46:33 Removing intermediate container 8bec6f7db9e8 05:46:33 ---> 37c89ea5bdfa 05:46:33 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:46:33 ---> Running in ef205b14aa31 05:46:33 Removing intermediate container ef205b14aa31 05:46:33 ---> 0d6b28358949 05:46:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:46:33 ---> Running in 3940981d72d7 05:46:33 Removing intermediate container 3940981d72d7 05:46:33 ---> 69f16639c7af 05:46:33 Step 22/24 : LABEL arch=amd64 05:46:33 ---> Running in 73e71f81dcad 05:46:33 Removing intermediate container 73e71f81dcad 05:46:33 ---> 76fa00ff7a57 05:46:33 Step 23/24 : LABEL git_sha=e95677e052f864a63c09cedad696e338d04e7b14 05:46:33 ---> Running in c3f1f0b615ae 05:46:33 Removing intermediate container c3f1f0b615ae 05:46:33 ---> 3714a2c480ba 05:46:33 Step 24/24 : LABEL version=4.1.0-dev.2 05:46:33 ---> Running in eca18d8edef8 05:46:34 Removing intermediate container eca18d8edef8 05:46:34 ---> d0e4c089674d 05:46:34 [Warning] One or more build-args [ARCH] were not consumed 05:46:34 Successfully built d0e4c089674d 05:46:34 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 05:46:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:34 05:46:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:35 latest: Pulling from edgex-lftools-log-publisher 05:46:35 5eb5b503b376: Pulling fs layer 05:46:35 5c69ac0246d0: Pulling fs layer 05:46:35 ec43610c2a17: Pulling fs layer 05:46:35 3a2ae6a8a46f: Pulling fs layer 05:46:35 33b1e0a273af: Pulling fs layer 05:46:35 5d3b04190fa2: Pulling fs layer 05:46:35 2f39f015ded8: Pulling fs layer 05:46:35 5d3b04190fa2: Waiting 05:46:35 3a2ae6a8a46f: Waiting 05:46:35 5c69ac0246d0: Download complete 05:46:35 3a2ae6a8a46f: Verifying Checksum 05:46:35 3a2ae6a8a46f: Download complete 05:46:35 ec43610c2a17: Verifying Checksum 05:46:35 ec43610c2a17: Download complete 05:46:35 33b1e0a273af: Verifying Checksum 05:46:35 33b1e0a273af: Download complete 05:46:35 5d3b04190fa2: Verifying Checksum 05:46:35 5d3b04190fa2: Download complete 05:46:35 5eb5b503b376: Verifying Checksum 05:46:35 5eb5b503b376: Download complete 05:46:35 2f39f015ded8: Verifying Checksum 05:46:35 2f39f015ded8: Download complete 05:46:36 5eb5b503b376: Pull complete 05:46:36 5c69ac0246d0: Pull complete 05:46:36 ec43610c2a17: Pull complete 05:46:36 3a2ae6a8a46f: Pull complete 05:46:36 33b1e0a273af: Pull complete 05:46:37 5d3b04190fa2: Pull complete 05:46:41 2f39f015ded8: Pull complete 05:46:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:41 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:46:41 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:46:44 $ docker top fea940fbbc8182c729d41eb1e7ab9ee4c3b52c08724daf279ff9e960f917dde5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:44 ---> job-cost.sh 05:46:44 lf-activate-venv: SKIPPING 05:46:44 INFO: No Stack... 05:46:44 INFO: Retrieving Pricing Info for: v3-standard-8 05:46:45 INFO: Archiving Costs [Pipeline] sh 05:46:45 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:46:45 + cut -d, -f6 [Pipeline] lock 05:46:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-357-stack-cost] 05:46:45 Resource [jenkins-edgexfoundry-device-sdk-go-main-357-stack-cost] did not exist. Created. 05:46:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-357-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:46:45 + echo total: 0.2199999988079071 [Pipeline] stash 05:46:45 Stashed 1 file(s) [Pipeline] } 05:46:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-357-stack-cost] [Pipeline] // lock [Pipeline] } 05:46:46 $ docker stop --time=1 fea940fbbc8182c729d41eb1e7ab9ee4c3b52c08724daf279ff9e960f917dde5 05:46:47 $ docker rm -f --volumes fea940fbbc8182c729d41eb1e7ab9ee4c3b52c08724daf279ff9e960f917dde5 [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 05:46:47 provisioning config files... 05:46:47 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5109413202375012494tmp [Pipeline] { [Pipeline] sh 05:46:47 + set +x 05:46:47 + curl -s https://codecov.io/bash 05:46:47 + bash -s -- 05:46:47 05:46:47 _____ _ 05:46:47 / ____| | | 05:46:47 | | ___ __| | ___ ___ _____ __ 05:46:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:46:47 | |___| (_) | (_| | __/ (_| (_) \ V / 05:46:47 \_____\___/ \__,_|\___|\___\___/ \_/ 05:46:47 Bash-1.0.6 05:46:47 05:46:47 05:46:47 ==> git version 2.25.1 found 05:46:47 ==> 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 05:46:47 Release-Date: 2020-01-08 05:46:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:46:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:46:47 ==> Jenkins CI detected. 05:46:47 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:46:47 project root: . 05:46:47 --> token set from env 05:46:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:46:47 ==> Running gcov in . (disable via -X gcov) 05:46:47 ==> Python coveragepy not found 05:46:47 ==> Searching for coverage reports in: 05:46:47 + . 05:46:47 -> Found 1 reports 05:46:48 ==> Detecting git/mercurial file structure 05:46:48 ==> Reading reports 05:46:48 + ./coverage.out bytes=497264 05:46:48 ==> Appending adjustments 05:46:48 https://docs.codecov.io/docs/fixing-reports 05:46:48 + Found adjustments 05:46:48 ==> Gzipping contents 05:46:48 48K /tmp/codecov.tbgueO.gz 05:46:48 ==> Uploading reports 05:46:48 url: https://codecov.io 05:46:48 query: branch=main&commit=e95677e052f864a63c09cedad696e338d04e7b14&build=357&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F357%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:46:48 -> Pinging Codecov 05:46:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e95677e052f864a63c09cedad696e338d04e7b14&build=357&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F357%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:46:48 -> Uploading to 05:46:48 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-sdk-go/e95677e052f864a63c09cedad696e338d04e7b14/767a877d-0cc0-4034-8367-5ce1448007f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250402%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250402T054648Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=ef0d00a3366a042e73529e045d73a9336df58dcd042697f1510e5e0e63fe90ed 05:46:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:48 Dload Upload Total Spent Left Speed 05:46:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47136 0 0 100 47136 0 230k --:--:-- --:--:-- --:--:-- 229k 100 47136 0 0 100 47136 0 230k --:--:-- --:--:-- --:--:-- 229k 05:46:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e95677e052f864a63c09cedad696e338d04e7b14 [Pipeline] } 05:46:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:46:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:46:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:46:49 05:46:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:46:49 latest: Pulling from edgex-devops/edgex-snyk-go 05:46:49 43c4264eed91: Pulling fs layer 05:46:49 4cc291be95ef: Pulling fs layer 05:46:49 2ac1f1163629: Pulling fs layer 05:46:49 5c3c966382ef: Pulling fs layer 05:46:49 4f4fb700ef54: Pulling fs layer 05:46:49 d9c7d2e4e75e: Pulling fs layer 05:46:49 9c3e1370e548: Pulling fs layer 05:46:49 5c3c966382ef: Waiting 05:46:49 4f4fb700ef54: Waiting 05:46:49 d9c7d2e4e75e: Waiting 05:46:49 9c3e1370e548: Waiting 05:46:49 4cc291be95ef: Download complete 05:46:49 5c3c966382ef: Verifying Checksum 05:46:49 5c3c966382ef: Download complete 05:46:49 4f4fb700ef54: Verifying Checksum 05:46:49 4f4fb700ef54: Download complete 05:46:49 43c4264eed91: Download complete 05:46:49 43c4264eed91: Pull complete 05:46:49 d9c7d2e4e75e: Verifying Checksum 05:46:49 d9c7d2e4e75e: Download complete 05:46:49 4cc291be95ef: Pull complete 05:46:50 2ac1f1163629: Verifying Checksum 05:46:50 2ac1f1163629: Download complete 05:46:50 9c3e1370e548: Verifying Checksum 05:46:50 9c3e1370e548: Download complete 05:46:53 2ac1f1163629: Pull complete 05:46:53 5c3c966382ef: Pull complete 05:46:53 4f4fb700ef54: Pull complete 05:46:53 d9c7d2e4e75e: Pull complete 05:46:56 9c3e1370e548: Pull complete 05:46:56 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 05:46:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:46:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:56 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:46:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:47:00 $ docker top c203a2276d21ed1c8a4c39e66fc9e751a27213f0063ad79d36ab5ad67b56b476 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 05:47:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:47:00 + set -o pipefail 05:47:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:47:07 05:47:07 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v4)... 05:47:07 05:47:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/721dd61c-888c-4a68-9208-f05d51a232e0 05:47:07 05:47:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:47:07 05:47:07 05:47:07 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 05:47:07 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:47:07 $ docker stop --time=1 c203a2276d21ed1c8a4c39e66fc9e751a27213f0063ad79d36ab5ad67b56b476 05:47:10 $ docker rm -f --volumes c203a2276d21ed1c8a4c39e66fc9e751a27213f0063ad79d36ab5ad67b56b476 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] echo 05:47:10 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:10 provisioning config files... 05:47:10 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10378272031016340078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:11 --> edgex-publish-swagger.sh 05:47:11 === Publish openapi API === 05:47:11 [publishToSwagger] Publishing the API Docs [openapi] to Swagger 05:47:11 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/device-sdk.yaml] 05:47:11 % Total % Received % Xferd Average Speed Time Time Time Current 05:47:11 Dload Upload Total Spent Left Speed 05:47:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 327 78819 --:--:-- --:--:-- --:--:-- 79147 05:47:11 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 05:47:11 [Pipeline] } 05:47:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:47:11 + git log --format=format:%s -1 e95677e052f864a63c09cedad696e338d04e7b14 [Pipeline] sh 05:47:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:47:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:47:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:12 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:47:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:47:12 $ docker top 1ecc6d7c9ecca80a5e75871ed36949aaf12ed671ddfcd9c4bca77185bd62c7f8 -eo pid,comm 05:47:12 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). 05:47:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:12 [ssh-agent] Looking for ssh-agent implementation... 05:47:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:13 $ docker exec 1ecc6d7c9ecca80a5e75871ed36949aaf12ed671ddfcd9c4bca77185bd62c7f8 ssh-agent 05:47:13 SSH_AUTH_SOCK=/tmp/ssh-b6s93sSJmhGb/agent.33 05:47:13 SSH_AGENT_PID=39 05:47:13 Running ssh-add (command line suppressed) 05:47:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16753847561328385799.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16753847561328385799.key) 05:47:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:13 + git semver tag 05:47:13 2025-04-02 05:47:13,826 [run_tag] DEBUG tag force:False 05:47:13 2025-04-02 05:47:13,827 [check_head_tag] DEBUG check head tag 05:47:13 2025-04-02 05:47:13,827 [execute] INFO git cat-file --batch-check 05:47:13 2025-04-02 05:47:13,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:47:13 2025-04-02 05:47:13,830 [execute] INFO git cat-file --batch 05:47:13 2025-04-02 05:47:13,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:47:13 2025-04-02 05:47:13,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:47:13 2025-04-02 05:47:13,841 [execute] INFO git tag -a v4.1.0-dev.2 -m v4.1.0-dev.2 05:47:13 2025-04-02 05:47:13,841 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.2', '-m', 'v4.1.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:47:13 2025-04-02 05:47:13,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:47:13 4.1.0-dev.2 [Pipeline] } 05:47:13 $ docker exec --env ******** --env ******** 1ecc6d7c9ecca80a5e75871ed36949aaf12ed671ddfcd9c4bca77185bd62c7f8 ssh-agent -k 05:47:14 unset SSH_AUTH_SOCK; 05:47:14 unset SSH_AGENT_PID; 05:47:14 echo Agent pid 39 killed; 05:47:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:14 + git semver [Pipeline] } 05:47:14 $ docker stop --time=1 1ecc6d7c9ecca80a5e75871ed36949aaf12ed671ddfcd9c4bca77185bd62c7f8 05:47:15 $ docker rm -f --volumes 1ecc6d7c9ecca80a5e75871ed36949aaf12ed671ddfcd9c4bca77185bd62c7f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:47:16 05:47:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:47:16 0.23.1-centos7: Pulling from edgex-lftools 05:47:16 ab5ef0e58194: Pulling fs layer 05:47:16 9712f1f96733: Pulling fs layer 05:47:16 63f879dbbcfc: Pulling fs layer 05:47:16 0d9ebad4ef96: Pulling fs layer 05:47:16 e9a5061849ea: Pulling fs layer 05:47:16 d747dcd14b5f: Pulling fs layer 05:47:16 2de7ff778b66: Pulling fs layer 05:47:16 2de7ff778b66: Waiting 05:47:16 d747dcd14b5f: Waiting 05:47:16 0d9ebad4ef96: Waiting 05:47:16 e9a5061849ea: Waiting 05:47:16 9712f1f96733: Download complete 05:47:16 63f879dbbcfc: Verifying Checksum 05:47:16 63f879dbbcfc: Download complete 05:47:17 e9a5061849ea: Verifying Checksum 05:47:17 e9a5061849ea: Download complete 05:47:17 d747dcd14b5f: Download complete 05:47:17 ab5ef0e58194: Verifying Checksum 05:47:17 ab5ef0e58194: Download complete 05:47:17 0d9ebad4ef96: Verifying Checksum 05:47:17 0d9ebad4ef96: Download complete 05:47:17 2de7ff778b66: Verifying Checksum 05:47:17 2de7ff778b66: Download complete 05:47:19 ab5ef0e58194: Pull complete 05:47:19 9712f1f96733: Pull complete 05:47:20 63f879dbbcfc: Pull complete 05:47:23 0d9ebad4ef96: Pull complete 05:47:23 e9a5061849ea: Pull complete 05:47:23 d747dcd14b5f: Pull complete 05:47:24 2de7ff778b66: Pull complete 05:47:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:47:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:47:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:24 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:47:28 $ docker top 1906544aa0f71809acd46ccda60028852df844f15aa3b48351a8b635821bace7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:47:28 provisioning config files... 05:47:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3724374372336527102tmp 05:47:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14486096295161087309tmp 05:47:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12050162972783446129tmp [Pipeline] { [Pipeline] echo 05:47:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:47:28 ---> sigul-configuration.sh 05:47:28 gpg: directory `/root/.gnupg' created 05:47:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:47:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:47:28 gpg: keyring `/root/.gnupg/secring.gpg' created 05:47:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:47:28 gpg: CAST5 encrypted data 05:47:28 gpg: encrypted with 1 passphrase 05:47:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:47:29 + mkdir /home/jenkins 05:47:29 + mkdir /home/jenkins/sigul [Pipeline] sh 05:47:29 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:47:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:47:29 ---> sigul-install.sh 05:47:29 Sigul already installed; skipping installation. [Pipeline] sh 05:47:30 + git tag --list 05:47:30 0.7.1 05:47:30 delhi-tag 05:47:30 v1.0.0 05:47:30 v1.1.0 05:47:30 v1.1.1 05:47:30 v1.1.2 05:47:30 v1.2.0 05:47:30 v1.2.1 05:47:30 v1.2.2 05:47:30 v1.2.3 05:47:30 v1.3.0 05:47:30 v1.4.0 05:47:30 v2.0.0 05:47:30 v2.1.0 05:47:30 v2.1.1 05:47:30 v2.2.0 05:47:30 v2.3.0 05:47:30 v2.3.1 05:47:30 v3.0 05:47:30 v3.0.0 05:47:30 v3.1 05:47:30 v3.1.0 05:47:30 v3.1.1 05:47:30 v4.0 05:47:30 v4.0.0 05:47:30 v4.1.0-dev.1 05:47:30 v4.1.0-dev.2 [Pipeline] sh 05:47:30 + lftools sign git-tag v4.1.0-dev.2 05:47:30 Signing Git tag with Sigul... 05:47:30 Signing v4.1.0-dev.2 [Pipeline] echo 05:47:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:47:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:47:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:47:31 $ docker stop --time=1 1906544aa0f71809acd46ccda60028852df844f15aa3b48351a8b635821bace7 05:47:32 $ docker rm -f --volumes 1906544aa0f71809acd46ccda60028852df844f15aa3b48351a8b635821bace7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:47:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:47:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:47:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:33 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:47:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:47:33 $ docker top 285d31c4ca1bb28d616843b0dd633bb63811c15f67128427eed838a0ff7b5d1a -eo pid,comm 05:47:34 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). 05:47:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:34 [ssh-agent] Looking for ssh-agent implementation... 05:47:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:34 $ docker exec 285d31c4ca1bb28d616843b0dd633bb63811c15f67128427eed838a0ff7b5d1a ssh-agent 05:47:34 SSH_AUTH_SOCK=/tmp/ssh-kA5b2XW0257U/agent.32 05:47:34 SSH_AGENT_PID=38 05:47:34 Running ssh-add (command line suppressed) 05:47:34 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1285226341541301603.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1285226341541301603.key) 05:47:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:34 + git semver bump pre 05:47:34 2025-04-02 05:47:34,845 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:47:34 2025-04-02 05:47:34,845 [bump_version] DEBUG bumping version:4.1.0-dev.2 on axis:pre with prefix:dev 05:47:34 2025-04-02 05:47:34,846 [bump_version] DEBUG bumped version:4.1.0-dev.3 05:47:34 2025-04-02 05:47:34,846 [write_version] DEBUG write version:4.1.0-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:47:34 2025-04-02 05:47:34,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:47:34 2025-04-02 05:47:34,846 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:47:34 2025-04-02 05:47:34,847 [execute] INFO git cat-file --batch-check 05:47:34 2025-04-02 05:47:34,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:47:34 2025-04-02 05:47:34,852 [execute] INFO git cat-file --batch 05:47:34 2025-04-02 05:47:34,852 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:47:34 2025-04-02 05:47:34,856 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:47:34 4.1.0-dev.3 [Pipeline] } 05:47:34 $ docker exec --env ******** --env ******** 285d31c4ca1bb28d616843b0dd633bb63811c15f67128427eed838a0ff7b5d1a ssh-agent -k 05:47:35 unset SSH_AUTH_SOCK; 05:47:35 unset SSH_AGENT_PID; 05:47:35 echo Agent pid 38 killed; 05:47:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:35 + git semver [Pipeline] } 05:47:35 $ docker stop --time=1 285d31c4ca1bb28d616843b0dd633bb63811c15f67128427eed838a0ff7b5d1a 05:47:37 $ docker rm -f --volumes 285d31c4ca1bb28d616843b0dd633bb63811c15f67128427eed838a0ff7b5d1a [Pipeline] // withDockerContainer [Pipeline] sh 05:47:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:47:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:47:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:37 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:47:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:47:38 $ docker top e6ea6923c2f0597729a94799fd34a5cfaa3be8fc8408b350257c51ef8f41ccee -eo pid,comm 05:47:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:47:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:38 [ssh-agent] Looking for ssh-agent implementation... 05:47:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:38 $ docker exec e6ea6923c2f0597729a94799fd34a5cfaa3be8fc8408b350257c51ef8f41ccee ssh-agent 05:47:38 SSH_AUTH_SOCK=/tmp/ssh-BJLP9inmXoWh/agent.32 05:47:38 SSH_AGENT_PID=38 05:47:38 Running ssh-add (command line suppressed) 05:47:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9636312975644707983.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9636312975644707983.key) 05:47:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:38 + git semver push 05:47:39 2025-04-02 05:47:38,983 [run_push] DEBUG push 05:47:39 2025-04-02 05:47:38,984 [execute] INFO git cat-file --batch-check 05:47:39 2025-04-02 05:47:38,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:47:39 2025-04-02 05:47:38,987 [execute] INFO git rev-list 848f01a1fadf71a8b3c72252c49b6bc03212deda -- 05:47:39 2025-04-02 05:47:38,988 [execute] DEBUG Popen(['git', 'rev-list', '848f01a1fadf71a8b3c72252c49b6bc03212deda', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:47:39 2025-04-02 05:47:39,002 [execute] INFO git fetch -v origin 05:47:39 2025-04-02 05:47:39,002 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:47:39 2025-04-02 05:47:39,448 [run_push] DEBUG no remote changes detected 05:47:39 2025-04-02 05:47:39,449 [execute] INFO git push origin semver 05:47:39 2025-04-02 05:47:39,449 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:47:40 2025-04-02 05:47:40,168 [run_push] DEBUG push all version tags 05:47:40 2025-04-02 05:47:40,169 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:47:40 2025-04-02 05:47:40,169 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:47:41 2025-04-02 05:47:40,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:47:41 4.1.0-dev.3 [Pipeline] } 05:47:41 $ docker exec --env ******** --env ******** e6ea6923c2f0597729a94799fd34a5cfaa3be8fc8408b350257c51ef8f41ccee ssh-agent -k 05:47:41 unset SSH_AUTH_SOCK; 05:47:41 unset SSH_AGENT_PID; 05:47:41 echo Agent pid 38 killed; 05:47:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:41 + git semver [Pipeline] } 05:47:41 $ docker stop --time=1 e6ea6923c2f0597729a94799fd34a5cfaa3be8fc8408b350257c51ef8f41ccee 05:47:43 $ docker rm -f --volumes e6ea6923c2f0597729a94799fd34a5cfaa3be8fc8408b350257c51ef8f41ccee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 05:47:43 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:47:43 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:47:43 total 16 05:47:43 drwxr-xr-x 3 root root 4096 Apr 2 05:46 . 05:47:43 drwxrwxr-x 12 jenkins jenkins 4096 Apr 2 05:47 .. 05:47:43 drwxr-xr-x 2 root root 4096 Apr 2 05:46 cost 05:47:43 -rw-r--r-- 1 root root 85 Apr 2 05:46 cost.csv 05:47:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:47:43 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:47:43 total 16 05:47:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 05:46 . 05:47:43 drwxrwxr-x 12 jenkins jenkins 4096 Apr 2 05:47 .. 05:47:43 drwxr-xr-x 2 jenkins jenkins 4096 Apr 2 05:46 cost 05:47:43 -rw-r--r-- 1 jenkins jenkins 85 Apr 2 05:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:47:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:47:45 ---> package-listing.sh 05:47:45 ++ facter osfamily 05:47:45 ++ tr '[:upper:]' '[:lower:]' 05:47:45 + OS_FAMILY=debian 05:47:45 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:47:45 + START_PACKAGES=/tmp/packages_start.txt 05:47:45 + END_PACKAGES=/tmp/packages_end.txt 05:47:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:47:45 + PACKAGES=/tmp/packages_start.txt 05:47:45 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:47:45 + PACKAGES=/tmp/packages_end.txt 05:47:45 + case "${OS_FAMILY}" in 05:47:45 + dpkg -l 05:47:45 + grep '^ii' 05:47:45 + '[' -f /tmp/packages_start.txt ']' 05:47:45 + '[' -f /tmp/packages_end.txt ']' 05:47:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:47:45 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:47:45 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:47:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:47:45 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:47:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:46 prd-ubuntu20.04-docker-8c-8g-42608 does not seem to be running inside a container 05:47:46 $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:47:46 $ docker top ecb69da0acd1e9b24fc13b8695bfc15b9dd569900d4a6da6003fb1a03d212a10 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:46 + touch /tmp/pre-build-complete [Pipeline] sh 05:47:47 + mkdir -p /var/log/sysstat [Pipeline] sh 05:47:47 + ls /var/log/sa-host 05:47:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:47 provisioning config files... 05:47:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5727956027925790939tmp [Pipeline] { [Pipeline] echo 05:47:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:47:47 ---> create-netrc.sh [Pipeline] } 05:47:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:47:48 ---> python-tools-install.sh [Pipeline] echo 05:47:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:47:48 ---> sudo-logs.sh 05:47:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:47:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:47:48 ---> job-cost.sh 05:47:48 lf-activate-venv: SKIPPING 05:47:48 DEBUG: total: 0.2199999988079071 05:47:48 INFO: Retrieving Stack Cost... 05:47:49 INFO: Retrieving Pricing Info for: v3-standard-8 05:47:49 INFO: Archiving Costs [Pipeline] echo 05:47:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:47:49 ---> logs-deploy.sh 05:47:49 lf-activate-venv: SKIPPING 05:47:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/357 05:47:49 INFO: archiving workspace using pattern(s): 05:47:50 Archives upload complete. 05:47:50 INFO: archiving logs to Nexus