Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 50dd63d392f370c86a33393d79501a04f0565adc 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-ssh15450218525481752044.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14389907623511224602.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13210884387444753622.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1176478827358153532.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-ssh16735066655144537296.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-216 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 Avoid second fetch Checking out Revision 50dd63d392f370c86a33393d79501a04f0565adc (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 Commit message: "refactor: Remove the version number in Init logs (#1541)" > git rev-list --no-walk 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:36:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:36:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:36:00 ========================================================= 08:36:00 EdgeX Global Pipelines Version Info 08:36:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:36:01 ------------------- 08:36:01 stable info: 08:36:01 ------------------- 08:36:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:36:01 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:36:01 Message: update stable to v1.0.258 08:36:01 ------------------- 08:36:01 experimental info: 08:36:01 ------------------- 08:36:01 Commited By: **** collab-it+edgex@linuxfoundation.org 08:36:01 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:36:01 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:36:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:36:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:36:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:36:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:36:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:36:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:36:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50dd63d [Pipeline] echo 08:36:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:02 provisioning config files... 08:36:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5148202424249258484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:03 ---> ****-login.sh 08:36:03 nexus3.edgexfoundry.org:10001 08:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:03 Configure a credential helper to remove this warning. See 08:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:03 08:36:03 Login Succeeded 08:36:03 nexus3.edgexfoundry.org:10002 08:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:03 Configure a credential helper to remove this warning. See 08:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:03 08:36:03 Login Succeeded 08:36:03 nexus3.edgexfoundry.org:10003 08:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:03 Configure a credential helper to remove this warning. See 08:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:03 08:36:03 Login Succeeded 08:36:03 nexus3.edgexfoundry.org:10004 08:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:03 Configure a credential helper to remove this warning. See 08:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:03 08:36:03 Login Succeeded 08:36:04 ****.io 08:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:04 Configure a credential helper to remove this warning. See 08:36:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:04 08:36:04 Login Succeeded 08:36:04 ---> ****-login.sh ends [Pipeline] } 08:36:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:36:04 + git rev-list -1 --merges 50dd63d392f370c86a33393d79501a04f0565adc~1..50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] echo 08:36:04 -----------> git rev-list -1 --merges 50dd63d392f370c86a33393d79501a04f0565adc~1..50dd63d392f370c86a33393d79501a04f0565adc 50dd63d392f370c86a33393d79501a04f0565adc [false] [Pipeline] sh 08:36:05 + git log --format=format:%s -1 50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] echo 08:36:05 ========================================================= 08:36:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:36:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:36:05 + git log --format=format:%s -1 50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] echo 08:36:05 [semverPrep] GIT_COMMIT: 50dd63d392f370c86a33393d79501a04f0565adc, Commit Message: refactor: Remove the version number in Init logs (#1541) [Pipeline] echo 08:36:05 [semverPrep] This is not a build commit. [Pipeline] sh 08:36:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:36:06 + grep -v github /etc/ssh/ssh_known_hosts 08:36:06 + [ -e /tmp/ssh_known_hosts ] 08:36:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:36:06 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:36:06 sudo tee -a /etc/ssh/ssh_known_hosts 08:36:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:36:06 08:36:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:36:06 0.1.4: Pulling from edgex-devops/py-git-semver 08:36:06 b85a868b505f: Pulling fs layer 08:36:06 e2be974225ed: Pulling fs layer 08:36:06 339a4e72a1f5: Pulling fs layer 08:36:06 988bab9f4d93: Pulling fs layer 08:36:06 1469e6f7b9e6: Pulling fs layer 08:36:06 eaf3925da568: Pulling fs layer 08:36:06 bab4dde63d76: Pulling fs layer 08:36:06 bde34c3a00c8: Pulling fs layer 08:36:06 b352a97aabf1: Pulling fs layer 08:36:06 4872d77fe225: Pulling fs layer 08:36:06 5851b861e8e6: Pulling fs layer 08:36:06 eaf3925da568: Waiting 08:36:06 bde34c3a00c8: Waiting 08:36:06 bab4dde63d76: Waiting 08:36:06 b352a97aabf1: Waiting 08:36:06 988bab9f4d93: Waiting 08:36:06 1469e6f7b9e6: Waiting 08:36:06 4872d77fe225: Waiting 08:36:06 5851b861e8e6: Waiting 08:36:06 e2be974225ed: Verifying Checksum 08:36:06 e2be974225ed: Download complete 08:36:06 988bab9f4d93: Verifying Checksum 08:36:06 988bab9f4d93: Download complete 08:36:07 1469e6f7b9e6: Verifying Checksum 08:36:07 1469e6f7b9e6: Download complete 08:36:07 eaf3925da568: Download complete 08:36:07 339a4e72a1f5: Verifying Checksum 08:36:07 339a4e72a1f5: Download complete 08:36:07 bde34c3a00c8: Download complete 08:36:07 b352a97aabf1: Verifying Checksum 08:36:07 b352a97aabf1: Download complete 08:36:07 4872d77fe225: Download complete 08:36:07 5851b861e8e6: Verifying Checksum 08:36:07 5851b861e8e6: Download complete 08:36:07 b85a868b505f: Download complete 08:36:07 bab4dde63d76: Verifying Checksum 08:36:07 bab4dde63d76: Download complete 08:36:08 b85a868b505f: Pull complete 08:36:08 e2be974225ed: Pull complete 08:36:08 339a4e72a1f5: Pull complete 08:36:09 988bab9f4d93: Pull complete 08:36:09 1469e6f7b9e6: Pull complete 08:36:09 eaf3925da568: Pull complete 08:36:10 bab4dde63d76: Pull complete 08:36:10 bde34c3a00c8: Pull complete 08:36:10 b352a97aabf1: Pull complete 08:36:10 4872d77fe225: Pull complete 08:36:11 5851b861e8e6: Pull complete 08:36:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:36:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:36:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:11 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:36:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:36:14 $ docker top 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 -eo pid,comm 08:36:14 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). 08:36:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:36:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:36:14 [ssh-agent] Looking for ssh-agent implementation... 08:36:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:36:15 $ docker exec 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 ssh-agent 08:36:15 SSH_AUTH_SOCK=/tmp/ssh-IftDQUCJPtzr/agent.32 08:36:15 SSH_AGENT_PID=38 08:36:15 Running ssh-add (command line suppressed) 08:36:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2182010779234368207.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2182010779234368207.key) 08:36:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:36:15 + git tag --points-at HEAD [Pipeline] } 08:36:15 $ docker exec --env ******** --env ******** 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 ssh-agent -k 08:36:15 unset SSH_AUTH_SOCK; 08:36:15 unset SSH_AGENT_PID; 08:36:15 echo Agent pid 38 killed; 08:36:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:36:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:36:15 [ssh-agent] Looking for ssh-agent implementation... 08:36:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:36:15 $ docker exec 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 ssh-agent 08:36:16 SSH_AUTH_SOCK=/tmp/ssh-lDIEpdoMDjSh/agent.71 08:36:16 SSH_AGENT_PID=77 08:36:16 Running ssh-add (command line suppressed) 08:36:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8199871045839793857.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8199871045839793857.key) 08:36:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:36:16 + git semver init 08:36:16 2023-11-19 08:36:16,633 [run_init] DEBUG init version:0.0.0 force:False 08:36:16 2023-11-19 08:36:16,634 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:36:16 2023-11-19 08:36:16,634 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:36:16 2023-11-19 08:36:16,635 [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) 08:36:18 2023-11-19 08:36:17,815 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 08:36:18 2023-11-19 08:36:17,816 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 08:36:18 2023-11-19 08:36:17,816 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:36:18 2023-11-19 08:36:17,816 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:36:18 3.1.0-dev.41 [Pipeline] } 08:36:18 $ docker exec --env ******** --env ******** 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 ssh-agent -k 08:36:18 unset SSH_AUTH_SOCK; 08:36:18 unset SSH_AGENT_PID; 08:36:18 echo Agent pid 77 killed; 08:36:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:36:18 + git semver [Pipeline] } 08:36:18 $ docker stop --time=1 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 08:36:20 $ docker rm -f --volumes 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 [Pipeline] // withDockerContainer [Pipeline] sh 08:36:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:36:20 Stashed 1 file(s) [Pipeline] echo 08:36:20 [edgeXSemver]: initialized semver on version 3.1.0-dev.41 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:21 provisioning config files... 08:36:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8536790224664849495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:21 ---> ****-login.sh 08:36:21 nexus3.edgexfoundry.org:10001 08:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:21 Configure a credential helper to remove this warning. See 08:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:21 08:36:21 Login Succeeded 08:36:21 nexus3.edgexfoundry.org:10002 08:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:21 Configure a credential helper to remove this warning. See 08:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:21 08:36:21 Login Succeeded 08:36:21 nexus3.edgexfoundry.org:10003 08:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:21 Configure a credential helper to remove this warning. See 08:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:21 08:36:21 Login Succeeded 08:36:21 nexus3.edgexfoundry.org:10004 08:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:21 Configure a credential helper to remove this warning. See 08:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:21 08:36:21 Login Succeeded 08:36:21 ****.io 08:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:22 Configure a credential helper to remove this warning. See 08:36:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:22 08:36:22 Login Succeeded 08:36:22 ---> ****-login.sh ends [Pipeline] } 08:36:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:36:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:36:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:36:22 ========================================================= 08:36:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:36:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:22 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 08:36:22 Sending build context to Docker daemon 21.93MB 08:36:22 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 08:36:22 Step 2/10 : FROM ${BASE} AS builder 08:36:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:36:22 7264a8db6415: Pulling fs layer 08:36:22 c4d48a809fc2: Pulling fs layer 08:36:22 4f1c88b9dad5: Pulling fs layer 08:36:22 ad3a456e5733: Pulling fs layer 08:36:22 69c7f0334f64: Pulling fs layer 08:36:22 1f1c1a5573a3: Pulling fs layer 08:36:22 ce7588e14bc9: Pulling fs layer 08:36:22 b5e4710f87ac: Pulling fs layer 08:36:22 ad3a456e5733: Waiting 08:36:22 69c7f0334f64: Waiting 08:36:22 1f1c1a5573a3: Waiting 08:36:22 ce7588e14bc9: Waiting 08:36:22 b5e4710f87ac: Waiting 08:36:22 c4d48a809fc2: Download complete 08:36:22 ad3a456e5733: Download complete 08:36:22 69c7f0334f64: Verifying Checksum 08:36:22 69c7f0334f64: Download complete 08:36:22 7264a8db6415: Verifying Checksum 08:36:22 7264a8db6415: Download complete 08:36:22 1f1c1a5573a3: Verifying Checksum 08:36:22 1f1c1a5573a3: Download complete 08:36:23 7264a8db6415: Pull complete 08:36:23 b5e4710f87ac: Verifying Checksum 08:36:23 b5e4710f87ac: Download complete 08:36:23 c4d48a809fc2: Pull complete 08:36:23 4f1c88b9dad5: Verifying Checksum 08:36:23 4f1c88b9dad5: Download complete 08:36:23 ce7588e14bc9: Verifying Checksum 08:36:23 ce7588e14bc9: Download complete 08:36:26 4f1c88b9dad5: Pull complete 08:36:26 ad3a456e5733: Pull complete 08:36:26 69c7f0334f64: Pull complete 08:36:26 1f1c1a5573a3: Pull complete 08:36:28 ce7588e14bc9: Pull complete 08:36:28 b5e4710f87ac: Pull complete 08:36:28 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 08:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:36:28 ---> 88b5674ff536 08:36:28 Step 3/10 : ARG MAKE=make build 08:36:33 ---> Running in f92cc430e503 08:36:33 Removing intermediate container f92cc430e503 08:36:33 ---> d9f31dc51483 08:36:33 Step 4/10 : WORKDIR /device-sdk-go 08:36:33 ---> Running in 0949e14e7d97 08:36:33 Removing intermediate container 0949e14e7d97 08:36:33 ---> 0948be202e40 08:36:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:36:33 ---> Running in 08eed99f95b1 08:36:33 Removing intermediate container 08eed99f95b1 08:36:33 ---> 3c5b591ef3bd 08:36:33 Step 6/10 : RUN apk add --update --no-cache make git 08:36:33 ---> Running in 37869dedc1b1 08:36:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:36:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:36:34 OK: 264 MiB in 52 packages 08:36:34 Removing intermediate container 37869dedc1b1 08:36:34 ---> eedd3bc2c7e3 08:36:34 Step 7/10 : COPY go.mod vendor* ./ 08:36:34 ---> 7ad7a0c5ab78 08:36:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:36:34 ---> Running in 123c45c37fe1 08:36:36 Still waiting to schedule task 08:36:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:37:21 Removing intermediate container 123c45c37fe1 08:37:21 ---> 5e8d6f3cc3b6 08:37:21 Step 9/10 : COPY . . 08:37:22 ---> 9b99714f59a1 08:37:22 Step 10/10 : RUN ${MAKE} 08:37:22 ---> Running in 60937d7401c4 08:37:22 noop 08:37:22 Removing intermediate container 60937d7401c4 08:37:22 ---> 374ec66d6bbe 08:37:22 Successfully built 374ec66d6bbe 08:37:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:23 + docker inspect -f . ci-base-image-x86_64 08:37:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:23 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:37:23 $ 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 ******** -e ******** ci-base-image-x86_64 cat 08:37:23 $ docker top 8e944515387e0e503871ce19d663cfd7dd77ceed055ebbbfb8680fe3f7d40d42 -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:23 + go version 08:37:23 go version go1.21.0 linux/amd64 [Pipeline] } 08:37:23 $ docker stop --time=1 8e944515387e0e503871ce19d663cfd7dd77ceed055ebbbfb8680fe3f7d40d42 08:37:25 $ docker rm -f --volumes 8e944515387e0e503871ce19d663cfd7dd77ceed055ebbbfb8680fe3f7d40d42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:25 + docker inspect -f . ci-base-image-x86_64 08:37:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:25 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:37:25 $ 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 ******** -e ******** ci-base-image-x86_64 cat 08:37:26 $ docker top 63731226c820b3dba9c61a251378f78f7948457e15600a232b5871b5f7a86cad -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 08:37:27 + make test 08:37:27 go test -race -coverprofile=coverage.out ./... 08:37:33 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:37:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 08:37:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 08:37:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 08:37:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 08:37:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 08:37:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 08:37:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 08:37:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements 08:37:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 08:37:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.045s coverage: 81.5% of statements 08:37:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.056s coverage: 86.0% of statements 08:37:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:37:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 08:37:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 71.8% of statements 08:37:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 08:37:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements 08:37:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.923s coverage: 45.9% of statements 08:37:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements 08:37:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.116s coverage: 89.2% of statements 08:37:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.037s coverage: 5.5% of statements 08:38:06 GO111MODULE=on go vet ./... 08:38:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:38:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:38:10 ./bin/test-attribution-txt.sh [Pipeline] echo 08:38:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:38:10 $ docker stop --time=1 63731226c820b3dba9c61a251378f78f7948457e15600a232b5871b5f7a86cad 08:38:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-217 in /w/workspace/edgexfoundry_device-sdk-go_main 08:38:15 $ docker rm -f --volumes 63731226c820b3dba9c61a251378f78f7948457e15600a232b5871b5f7a86cad [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 08:38:15 Running in /w/workspace/device-sdk-go/270 [Pipeline] { [Pipeline] checkout 08:38:15 + sudo chown -R jenkins:jenkins . 08:38:18 The recommended git tool is: git [Pipeline] stash 08:38:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:38:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:38:19 + ls -al . 08:38:19 total 308 08:38:19 drwxrwxr-x 11 jenkins jenkins 4096 Nov 19 08:37 . 08:38:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:35 .. 08:38:19 -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 08:35 .dockerignore 08:38:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 08:37 .git 08:38:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:35 .github 08:38:19 -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 08:35 .gitignore 08:38:19 -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 08:35 .golangci.yml 08:38:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 08:36 .semver 08:38:19 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 08:35 CHANGELOG.md 08:38:19 -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 08:35 GOVERNANCE.md 08:38:19 -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 08:35 Jenkinsfile 08:38:19 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 08:35 LICENSE 08:38:19 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 08:35 Makefile 08:38:19 -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 08:35 OWNERS.md 08:38:19 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 08:35 README.md 08:38:19 -rw-rw-r-- 1 jenkins jenkins 12 Nov 19 08:36 VERSION 08:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 08:35 bin 08:38:19 -rw-r--r-- 1 jenkins jenkins 122153 Nov 19 08:37 coverage.out 08:38:19 drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 08:35 example 08:38:19 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 08:35 go.mod 08:38:19 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 08:35 go.sum 08:38:19 drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 08:35 internal 08:38:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:35 openapi 08:38:19 drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 08:35 pkg 08:38:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:35 snap 08:38:19 -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 08:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:19 + 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=50dd63d392f370c86a33393d79501a04f0565adc --label arch=amd64 --label version=3.1.0-dev.41 . 08:38:19 Sending build context to Docker daemon 22.05MB 08:38:19 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 08:38:19 Step 2/23 : FROM ${BASE} AS builder 08:38:19 ---> 374ec66d6bbe 08:38:19 Step 3/23 : ARG MAKE=make build 08:38:20 ---> Running in 3830241aeb3d 08:38:20 Removing intermediate container 3830241aeb3d 08:38:20 ---> cb4e82bd4944 08:38:20 Step 4/23 : WORKDIR /device-sdk-go 08:38:20 ---> Running in 9b3398720092 08:38:20 Removing intermediate container 9b3398720092 08:38:20 ---> f1ad301b48dd 08:38:20 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:38:20 ---> Running in 05d5fea2a314 08:38:20 Removing intermediate container 05d5fea2a314 08:38:20 ---> 490063455235 08:38:20 Step 6/23 : RUN apk add --update --no-cache make git 08:38:20 ---> Running in 9ad2f95ec021 08:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:38:21 OK: 264 MiB in 52 packages 08:38:22 Removing intermediate container 9ad2f95ec021 08:38:22 ---> 2dabf14eef32 08:38:22 Step 7/23 : COPY go.mod vendor* ./ 08:38:22 ---> 73671da7240e 08:38:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:38:22 ---> Running in 52b1c1596f5d 08:38:22 Removing intermediate container 52b1c1596f5d 08:38:22 ---> 98a2e8dfc214 08:38:22 Step 9/23 : COPY . . 08:38:23 ---> b4931e77e2fe 08:38:23 Step 10/23 : RUN ${MAKE} 08:38:23 using credential edgex-jenkins-ssh 08:38:23 Cloning the remote Git repository 08:38:23 ---> Running in 1aa42f3dbaac 08:38:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:38:23 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.41 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.41" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:38:23 > git init /w/workspace/device-sdk-go/270 # timeout=10 08:38:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:38:23 > git --version # timeout=10 08:38:23 > git --version # 'git version 2.25.1' 08:38:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:38:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:38:27 Avoid second fetch 08:38:27 Checking out Revision 50dd63d392f370c86a33393d79501a04f0565adc (main) 08:38:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:38:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:38:27 > git config core.sparsecheckout # timeout=10 08:38:27 > git checkout -f 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 08:38:27 Commit message: "refactor: Remove the version number in Init logs (#1541)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:38:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:38:28 % Total % Received % Xferd Average Speed Time Time Time Current 08:38:28 Dload Upload Total Spent Left Speed 08:38:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 08:38:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:38:29 + sudo tee /etc/docker/daemon.new 08:38:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:38:29 { 08:38:29 "registry-mirrors": [ 08:38:29 "https://nexus3.edgexfoundry.org:10001" 08:38:29 ], 08:38:29 "bip": "10.250.0.254/24", 08:38:29 "hosts": [ 08:38:29 "tcp://0.0.0.0:5555", 08:38:29 "unix:///var/run/docker.sock" 08:38:29 ], 08:38:29 "mtu": 1458, 08:38:29 "selinux-enabled": true, 08:38:29 "seccomp-profile": "/etc/docker/seccomp.json" 08:38:29 } [Pipeline] sh 08:38:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:38:30 + sudo service docker restart 08:38:45 Removing intermediate container 1aa42f3dbaac 08:38:45 ---> 3d0cb41c988f 08:38:45 Step 11/23 : FROM alpine:3.18 08:38:45 3.18: Pulling from library/alpine 08:38:45 96526aa774ef: Pulling fs layer 08:38:45 96526aa774ef: Verifying Checksum 08:38:45 96526aa774ef: Download complete 08:38:45 96526aa774ef: Pull complete 08:38:45 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 08:38:45 Status: Downloaded newer image for alpine:3.18 08:38:45 ---> 8ca4688f4f35 08:38:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:38:45 ---> Running in bdf6a954a4f2 08:38:45 Removing intermediate container bdf6a954a4f2 08:38:45 ---> 912bed00b305 08:38:45 Step 13/23 : RUN apk add --update --no-cache 08:38:45 ---> Running in 6662518b01e9 08:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:38:45 OK: 7 MiB in 15 packages 08:38:45 Removing intermediate container 6662518b01e9 08:38:45 ---> a73147aa9eb8 08:38:45 Step 14/23 : WORKDIR / 08:38:45 ---> Running in 6b515d91c337 08:38:45 Removing intermediate container 6b515d91c337 08:38:45 ---> afebbe702096 08:38:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:38:45 ---> 5495815ded54 08:38:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:38:45 ---> 547541b41134 08:38:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:38:46 ---> 389b6a088a6c 08:38:46 Step 18/23 : EXPOSE 59999 08:38:46 ---> Running in 85b2c9720dd6 08:38:46 Removing intermediate container 85b2c9720dd6 08:38:46 ---> 12c0ca1e7c47 08:38:46 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:38:46 ---> Running in ebcbf95b1d1d 08:38:46 Removing intermediate container ebcbf95b1d1d 08:38:46 ---> b25d1ff86033 08:38:46 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:38:46 ---> Running in 804c706134fc 08:38:46 Removing intermediate container 804c706134fc 08:38:46 ---> 4ce90866ff86 08:38:46 Step 21/23 : LABEL arch=amd64 08:38:46 ---> Running in cec17cf0dca2 08:38:46 Removing intermediate container cec17cf0dca2 08:38:46 ---> 63c97e357770 08:38:46 Step 22/23 : LABEL git_sha=50dd63d392f370c86a33393d79501a04f0565adc 08:38:46 ---> Running in 5471900e0fae 08:38:46 Removing intermediate container 5471900e0fae 08:38:46 ---> d56a6fac208b 08:38:46 Step 23/23 : LABEL version=3.1.0-dev.41 08:38:46 ---> Running in bfc113feff86 08:38:46 Removing intermediate container bfc113feff86 08:38:46 ---> edceb25dcea7 08:38:46 [Warning] One or more build-args [ARCH] were not consumed 08:38:46 Successfully built edceb25dcea7 08:38:46 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:47 08:38:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:47 latest: Pulling from edgex-lftools-log-publisher 08:38:47 5eb5b503b376: Pulling fs layer 08:38:47 5c69ac0246d0: Pulling fs layer 08:38:47 ec43610c2a17: Pulling fs layer 08:38:47 3a2ae6a8a46f: Pulling fs layer 08:38:47 33b1e0a273af: Pulling fs layer 08:38:47 5d3b04190fa2: Pulling fs layer 08:38:47 2f39f015ded8: Pulling fs layer 08:38:47 33b1e0a273af: Waiting 08:38:47 5d3b04190fa2: Waiting 08:38:47 2f39f015ded8: Waiting 08:38:47 3a2ae6a8a46f: Waiting 08:38:47 5c69ac0246d0: Verifying Checksum 08:38:47 5c69ac0246d0: Download complete 08:38:47 3a2ae6a8a46f: Verifying Checksum 08:38:47 3a2ae6a8a46f: Download complete 08:38:47 33b1e0a273af: Verifying Checksum 08:38:47 33b1e0a273af: Download complete 08:38:47 5d3b04190fa2: Verifying Checksum 08:38:47 5d3b04190fa2: Download complete 08:38:47 ec43610c2a17: Verifying Checksum 08:38:47 ec43610c2a17: Download complete 08:38:48 5eb5b503b376: Verifying Checksum 08:38:48 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:48 provisioning config files... 08:38:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/270@tmp/config7429374858640834244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:48 2f39f015ded8: Download complete 08:38:48 ---> ****-login.sh 08:38:48 nexus3.edgexfoundry.org:10001 08:38:49 5eb5b503b376: Pull complete 08:38:49 5c69ac0246d0: Pull complete 08:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:49 Configure a credential helper to remove this warning. See 08:38:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:49 08:38:49 Login Succeeded 08:38:49 nexus3.edgexfoundry.org:10002 08:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:49 Configure a credential helper to remove this warning. See 08:38:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:49 08:38:49 Login Succeeded 08:38:49 ec43610c2a17: Pull complete 08:38:49 3a2ae6a8a46f: Pull complete 08:38:49 33b1e0a273af: Pull complete 08:38:49 5d3b04190fa2: Pull complete 08:38:49 nexus3.edgexfoundry.org:10003 08:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:50 Configure a credential helper to remove this warning. See 08:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:50 08:38:50 Login Succeeded 08:38:50 nexus3.edgexfoundry.org:10004 08:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:50 Configure a credential helper to remove this warning. See 08:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:50 08:38:50 Login Succeeded 08:38:50 ****.io 08:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:51 Configure a credential helper to remove this warning. See 08:38:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:51 08:38:51 Login Succeeded 08:38:51 ---> ****-login.sh ends [Pipeline] } 08:38:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:38:51 ========================================================= 08:38:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:38:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:51 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 08:38:52 Sending build context to Docker daemon 11.37MB 08:38:52 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 08:38:52 Step 2/10 : FROM ${BASE} AS builder 08:38:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:38:52 9fda8d8052c6: Pulling fs layer 08:38:52 5d54e960e981: Pulling fs layer 08:38:52 c4a7e357bf2a: Pulling fs layer 08:38:52 f0e02332f6b5: Pulling fs layer 08:38:52 872ee5b61b7b: Pulling fs layer 08:38:52 0c6a40ed1a82: Pulling fs layer 08:38:52 94ae7d8d031c: Pulling fs layer 08:38:52 94ae7d8d031c: Waiting 08:38:52 f0e02332f6b5: Waiting 08:38:52 0c6a40ed1a82: Waiting 08:38:52 872ee5b61b7b: Waiting 08:38:52 5d54e960e981: Download complete 08:38:52 f0e02332f6b5: Verifying Checksum 08:38:52 f0e02332f6b5: Download complete 08:38:52 872ee5b61b7b: Verifying Checksum 08:38:52 872ee5b61b7b: Download complete 08:38:52 9fda8d8052c6: Verifying Checksum 08:38:52 9fda8d8052c6: Download complete 08:38:53 94ae7d8d031c: Verifying Checksum 08:38:53 94ae7d8d031c: Download complete 08:38:53 9fda8d8052c6: Pull complete 08:38:54 2f39f015ded8: Pull complete 08:38:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:38:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:54 5d54e960e981: Pull complete 08:38:54 c4a7e357bf2a: Verifying Checksum 08:38:54 c4a7e357bf2a: Download complete 08:38:54 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:38:54 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:38:55 0c6a40ed1a82: Verifying Checksum 08:38:55 0c6a40ed1a82: Download complete 08:39:00 $ docker top 349de6b023a3740d02935b222561268d4567e4113b4ceca36af841f893d6eafe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:39:00 ---> job-cost.sh 08:39:00 lf-activate-venv: SKIPPING 08:39:00 INFO: No Stack... 08:39:01 INFO: Retrieving Pricing Info for: v3-standard-8 08:39:01 INFO: Archiving Costs [Pipeline] sh 08:39:01 + + catcut -d, -f6 08:39:01 /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock 08:39:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] 08:39:01 Resource [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] did not exist. Created. 08:39:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:39:02 + echo total: 0.2199999988079071 [Pipeline] stash 08:39:02 Stashed 1 file(s) [Pipeline] } 08:39:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [Pipeline] // lock [Pipeline] } 08:39:02 $ docker stop --time=1 349de6b023a3740d02935b222561268d4567e4113b4ceca36af841f893d6eafe 08:39:03 $ docker rm -f --volumes 349de6b023a3740d02935b222561268d4567e4113b4ceca36af841f893d6eafe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:39:08 c4a7e357bf2a: Pull complete 08:39:08 f0e02332f6b5: Pull complete 08:39:08 872ee5b61b7b: Pull complete 08:39:16 0c6a40ed1a82: Pull complete 08:39:19 94ae7d8d031c: Pull complete 08:39:19 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 08:39:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:39:19 ---> 86de565de09d 08:39:19 Step 3/10 : ARG MAKE=make build 08:39:21 ---> Running in 63613c12c20a 08:39:21 Removing intermediate container 63613c12c20a 08:39:21 ---> e87f5b9be064 08:39:21 Step 4/10 : WORKDIR /device-sdk-go 08:39:21 ---> Running in a7f8f58b58af 08:39:21 Removing intermediate container a7f8f58b58af 08:39:21 ---> e62e1881ae75 08:39:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:39:21 ---> Running in c0570e6cf77f 08:39:22 Removing intermediate container c0570e6cf77f 08:39:22 ---> edf742fe8af0 08:39:22 Step 6/10 : RUN apk add --update --no-cache make git 08:39:22 ---> Running in 7ba542db1b27 08:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:39:24 OK: 266 MiB in 52 packages 08:39:25 Removing intermediate container 7ba542db1b27 08:39:25 ---> dae0bc3ef535 08:39:25 Step 7/10 : COPY go.mod vendor* ./ 08:39:26 ---> 65744922cb2b 08:39:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:39:26 ---> Running in 19c7d0e14d9b 08:40:49 Removing intermediate container 19c7d0e14d9b 08:40:49 ---> 287e377ab471 08:40:49 Step 9/10 : COPY . . 08:40:49 ---> 541bdc206cd7 08:40:49 Step 10/10 : RUN ${MAKE} 08:40:49 ---> Running in 48fc2d8e4ba6 08:40:50 noop 08:40:50 Removing intermediate container 48fc2d8e4ba6 08:40:50 ---> 552c8b4df2b9 08:40:50 Successfully built 552c8b4df2b9 08:40:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:51 + docker inspect -f . ci-base-image-arm64 08:40:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:51 prd-ubuntu20.04-docker-arm64-4c-16g-217 does not seem to be running inside a container 08:40:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/270 -v /w/workspace/device-sdk-go/270:/w/workspace/device-sdk-go/270:rw,z -v /w/workspace/device-sdk-go/270@tmp:/w/workspace/device-sdk-go/270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:40:52 $ docker top b64e311c4f3981aad565283675807e5c82b66ed109ff8ed8a06ee0d281f5095e -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:53 + go version 08:40:53 go version go1.21.0 linux/arm64 [Pipeline] } 08:40:53 $ docker stop --time=1 b64e311c4f3981aad565283675807e5c82b66ed109ff8ed8a06ee0d281f5095e 08:40:55 $ docker rm -f --volumes b64e311c4f3981aad565283675807e5c82b66ed109ff8ed8a06ee0d281f5095e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:56 + docker inspect -f . ci-base-image-arm64 08:40:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:56 prd-ubuntu20.04-docker-arm64-4c-16g-217 does not seem to be running inside a container 08:40:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/270 -v /w/workspace/device-sdk-go/270:/w/workspace/device-sdk-go/270:rw,z -v /w/workspace/device-sdk-go/270@tmp:/w/workspace/device-sdk-go/270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:40:57 $ docker top 9cdf3e39c6ee6674acb242ebb4bb4c4aa3219595d0a26c475676ca9268cbbee6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:58 + git config --global --add safe.directory /w/workspace/device-sdk-go/270 [Pipeline] fileExists [Pipeline] sh 08:40:58 + make test 08:40:59 go test -race -coverprofile=coverage.out ./... 08:41:37 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:43:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 08:43:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 08:43:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 08:43:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 08:43:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 08:43:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.213s coverage: 27.6% of statements 08:43:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.245s coverage: 81.5% of statements 08:43:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 08:43:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 08:43:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.297s coverage: 86.0% of statements 08:43:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 08:43:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.398s coverage: 71.8% of statements 08:43:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.256s coverage: 14.4% of statements 08:43:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:43:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 08:43:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.684s coverage: 45.9% of statements 08:43:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.380s coverage: 68.5% of statements 08:43:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.410s coverage: 89.2% of statements 08:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 08:43:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.227s coverage: 5.5% of statements 08:43:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:43:47 GO111MODULE=on go vet ./... 08:45:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:45:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:45:24 ./bin/test-attribution-txt.sh [Pipeline] echo 08:45:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:45:24 $ docker stop --time=1 9cdf3e39c6ee6674acb242ebb4bb4c4aa3219595d0a26c475676ca9268cbbee6 08:45:26 $ docker rm -f --volumes 9cdf3e39c6ee6674acb242ebb4bb4c4aa3219595d0a26c475676ca9268cbbee6 [Pipeline] // withDockerContainer [Pipeline] sh 08:45:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:45:27 Warning: overwriting stash ‘coverage-report’ 08:45:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:45:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:45:29 + ls -al . 08:45:29 total 304 08:45:29 drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 08:41 . 08:45:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:38 .. 08:45:29 -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 08:38 .dockerignore 08:45:29 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 08:38 .git 08:45:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:38 .github 08:45:29 -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 08:38 .gitignore 08:45:29 -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 08:38 .golangci.yml 08:45:29 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 08:38 CHANGELOG.md 08:45:29 -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 08:38 GOVERNANCE.md 08:45:29 -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 08:38 Jenkinsfile 08:45:29 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 08:38 LICENSE 08:45:29 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 08:38 Makefile 08:45:29 -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 08:38 OWNERS.md 08:45:29 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 08:38 README.md 08:45:29 -rw-rw-r-- 1 jenkins jenkins 12 Nov 19 08:36 VERSION 08:45:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 08:38 bin 08:45:29 -rw-r--r-- 1 jenkins jenkins 122154 Nov 19 08:43 coverage.out 08:45:29 drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 08:38 example 08:45:29 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 08:38 go.mod 08:45:29 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 08:38 go.sum 08:45:29 drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 08:38 internal 08:45:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:38 openapi 08:45:29 drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 08:38 pkg 08:45:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:38 snap 08:45:29 -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 08:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:29 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=50dd63d392f370c86a33393d79501a04f0565adc --label arch=arm64 --label version=3.1.0-dev.41 . 08:45:30 Sending build context to Docker daemon 11.49MB 08:45:30 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 08:45:30 Step 2/23 : FROM ${BASE} AS builder 08:45:30 ---> 552c8b4df2b9 08:45:30 Step 3/23 : ARG MAKE=make build 08:45:30 ---> Running in edaffd2083c4 08:45:30 Removing intermediate container edaffd2083c4 08:45:30 ---> ff39ef93afd3 08:45:30 Step 4/23 : WORKDIR /device-sdk-go 08:45:30 ---> Running in 7c98956920ed 08:45:31 Removing intermediate container 7c98956920ed 08:45:31 ---> a16b76446ff3 08:45:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:45:31 ---> Running in 933e4b214ab3 08:45:31 Removing intermediate container 933e4b214ab3 08:45:31 ---> 0356f6a6d48b 08:45:31 Step 6/23 : RUN apk add --update --no-cache make git 08:45:31 ---> Running in 7fe8284ecfed 08:45:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:45:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:45:34 OK: 266 MiB in 52 packages 08:45:34 Removing intermediate container 7fe8284ecfed 08:45:34 ---> 12eaa3a5f8e9 08:45:34 Step 7/23 : COPY go.mod vendor* ./ 08:45:38 ---> e2a87f9639e1 08:45:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:45:38 ---> Running in fc948956bac3 08:45:40 Removing intermediate container fc948956bac3 08:45:40 ---> 53fec43ffb67 08:45:40 Step 9/23 : COPY . . 08:45:42 ---> 82029da84aaf 08:45:42 Step 10/23 : RUN ${MAKE} 08:45:42 ---> Running in cde410429606 08:45:42 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.41 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.41" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:47:34 Removing intermediate container cde410429606 08:47:34 ---> 3b7496eafae5 08:47:34 Step 11/23 : FROM alpine:3.18 08:47:34 3.18: Pulling from library/alpine 08:47:34 579b34f0a95b: Pulling fs layer 08:47:34 579b34f0a95b: Verifying Checksum 08:47:34 579b34f0a95b: Download complete 08:47:34 579b34f0a95b: Pull complete 08:47:34 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 08:47:34 Status: Downloaded newer image for alpine:3.18 08:47:34 ---> 3cc203321400 08:47:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:47:34 ---> Running in 16a86b17bcea 08:47:34 Removing intermediate container 16a86b17bcea 08:47:34 ---> bda0491d3d52 08:47:34 Step 13/23 : RUN apk add --update --no-cache 08:47:34 ---> Running in 3e808dd58f23 08:47:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:47:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:47:34 OK: 8 MiB in 15 packages 08:47:34 Removing intermediate container 3e808dd58f23 08:47:34 ---> b1792e3ebab1 08:47:34 Step 14/23 : WORKDIR / 08:47:34 ---> Running in ac25148f4786 08:47:34 Removing intermediate container ac25148f4786 08:47:34 ---> 0745ecae1800 08:47:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:47:34 ---> c9eb85bba671 08:47:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:47:34 ---> 11450ec185c9 08:47:34 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:47:34 ---> e3c2c154fb49 08:47:34 Step 18/23 : EXPOSE 59999 08:47:34 ---> Running in 5d30ce9b2192 08:47:34 Removing intermediate container 5d30ce9b2192 08:47:34 ---> c9cb23337203 08:47:34 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:47:34 ---> Running in f26672201992 08:47:34 Removing intermediate container f26672201992 08:47:34 ---> 645cd2a12b6d 08:47:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:47:34 ---> Running in 7b781025ec07 08:47:34 Removing intermediate container 7b781025ec07 08:47:34 ---> 54e5c3e79ac5 08:47:34 Step 21/23 : LABEL arch=arm64 08:47:34 ---> Running in 6915753d5ce8 08:47:34 Removing intermediate container 6915753d5ce8 08:47:34 ---> 407b189a678a 08:47:34 Step 22/23 : LABEL git_sha=50dd63d392f370c86a33393d79501a04f0565adc 08:47:34 ---> Running in 0736add0f75e 08:47:35 Removing intermediate container 0736add0f75e 08:47:35 ---> 8faa7b6996ca 08:47:35 Step 23/23 : LABEL version=3.1.0-dev.41 08:47:35 ---> Running in 12c8ea0a7b6c 08:47:35 Removing intermediate container 12c8ea0a7b6c 08:47:35 ---> 8cdec09470c5 08:47:35 [Warning] One or more build-args [ARCH] were not consumed 08:47:35 Successfully built 8cdec09470c5 08:47:35 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:47:36 08:47:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:47:36 arm64: Pulling from edgex-lftools-log-publisher 08:47:36 8998bd30e6a1: Pulling fs layer 08:47:36 04944245beec: Pulling fs layer 08:47:36 699f458cf7ca: Pulling fs layer 08:47:36 765212b225bb: Pulling fs layer 08:47:36 f23df028b6ca: Pulling fs layer 08:47:36 765212b225bb: Waiting 08:47:36 d65c8cfc05b1: Pulling fs layer 08:47:36 f23df028b6ca: Waiting 08:47:36 d65c8cfc05b1: Waiting 08:47:36 2437ff75d9bd: Pulling fs layer 08:47:36 2437ff75d9bd: Waiting 08:47:37 04944245beec: Verifying Checksum 08:47:37 04944245beec: Download complete 08:47:37 765212b225bb: Verifying Checksum 08:47:37 765212b225bb: Download complete 08:47:37 f23df028b6ca: Verifying Checksum 08:47:37 f23df028b6ca: Download complete 08:47:37 d65c8cfc05b1: Verifying Checksum 08:47:37 d65c8cfc05b1: Download complete 08:47:37 699f458cf7ca: Verifying Checksum 08:47:37 699f458cf7ca: Download complete 08:47:37 8998bd30e6a1: Verifying Checksum 08:47:37 8998bd30e6a1: Download complete 08:47:40 2437ff75d9bd: Verifying Checksum 08:47:40 2437ff75d9bd: Download complete 08:47:42 8998bd30e6a1: Pull complete 08:47:44 04944245beec: Pull complete 08:47:45 699f458cf7ca: Pull complete 08:47:45 765212b225bb: Pull complete 08:47:46 f23df028b6ca: Pull complete 08:47:46 d65c8cfc05b1: Pull complete 08:48:04 2437ff75d9bd: Pull complete 08:48:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:48:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:48:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:05 prd-ubuntu20.04-docker-arm64-4c-16g-217 does not seem to be running inside a container 08:48:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/270 -v /w/workspace/device-sdk-go/270:/w/workspace/device-sdk-go/270:rw,z -v /w/workspace/device-sdk-go/270@tmp:/w/workspace/device-sdk-go/270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:48:07 $ docker top 068725e3a04e670ce55960c3e3b12bd761befcee9e9caddcba69b15951eb29d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:08 ---> job-cost.sh 08:48:08 lf-activate-venv: SKIPPING 08:48:08 INFO: No Stack... 08:48:09 INFO: Retrieving Pricing Info for: v3-standard-4 08:48:09 INFO: Archiving Costs [Pipeline] sh 08:48:10 + cat /w/workspace/device-sdk-go/270/archives/cost.csv 08:48:10 + cut -d, -f6 [Pipeline] lock 08:48:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] 08:48:10 Resource [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] did not exist. Created. 08:48:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:48:11 /w/workspace/device-sdk-go/270@tmp/durable-72af9d27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:48:11 + echo total: 0.10999999940395355 [Pipeline] stash 08:48:11 Warning: overwriting stash ‘stack-cost’ 08:48:12 Stashed 1 file(s) [Pipeline] } 08:48:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [Pipeline] // lock [Pipeline] } 08:48:12 $ docker stop --time=1 068725e3a04e670ce55960c3e3b12bd761befcee9e9caddcba69b15951eb29d6 08:48:13 $ docker rm -f --volumes 068725e3a04e670ce55960c3e3b12bd761befcee9e9caddcba69b15951eb29d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:48:14 provisioning config files... 08:48:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6681142185113744137tmp [Pipeline] { [Pipeline] sh 08:48:15 + set +x 08:48:15 + curl -s https://codecov.io/bash 08:48:15 + bash -s -- 08:48:15 08:48:15 _____ _ 08:48:15 / ____| | | 08:48:15 | | ___ __| | ___ ___ _____ __ 08:48:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:48:15 | |___| (_) | (_| | __/ (_| (_) \ V / 08:48:15 \_____\___/ \__,_|\___|\___\___/ \_/ 08:48:15 Bash-1.0.6 08:48:15 08:48:15 08:48:15 ==> git version 2.25.1 found 08:48:15 ==> 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 08:48:15 Release-Date: 2020-01-08 08:48:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:48:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:48:15 ==> Jenkins CI detected. 08:48:15 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 08:48:15 project root: . 08:48:15 --> token set from env 08:48:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:48:15 ==> Running gcov in . (disable via -X gcov) 08:48:15 ==> Python coveragepy not found 08:48:15 ==> Searching for coverage reports in: 08:48:15 + . 08:48:15 -> Found 1 reports 08:48:15 ==> Detecting git/mercurial file structure 08:48:15 ==> Reading reports 08:48:15 + ./coverage.out bytes=122154 08:48:15 ==> Appending adjustments 08:48:15 https://docs.codecov.io/docs/fixing-reports 08:48:15 + Found adjustments 08:48:15 ==> Gzipping contents 08:48:15 20K /tmp/codecov.JPesCY.gz 08:48:15 ==> Uploading reports 08:48:15 url: https://codecov.io 08:48:15 query: branch=main&commit=50dd63d392f370c86a33393d79501a04f0565adc&build=270&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F270%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:48:15 -> Pinging Codecov 08:48:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=50dd63d392f370c86a33393d79501a04f0565adc&build=270&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F270%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:48:15 -> Uploading to 08:48:15 https://storage.googleapis.com/codecov/v4/raw/2023-11-19/7E55EF52A471D76F132DFD9A03CDDE97/50dd63d392f370c86a33393d79501a04f0565adc/609dfdf0-bca1-4698-b84c-6048f2e7e8ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231119T084815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e09328fa8601407536505fdda30c7949e78281086637d1401f213b5ced1b4c91 08:48:16 % Total % Received % Xferd Average Speed Time Time Time Current 08:48:16 Dload Upload Total Spent Left Speed 08:48:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16720 0 0 100 16720 0 49910 --:--:-- --:--:-- --:--:-- 50059 08:48:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] } 08:48:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:48:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:48:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:48:17 08:48:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:48:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:48:18 df9b9388f04a: Pulling fs layer 08:48:18 52dc419b0ee2: Pulling fs layer 08:48:18 25bc292e5bac: Pulling fs layer 08:48:18 114826534d7a: Pulling fs layer 08:48:18 4657fd5d0bcf: Pulling fs layer 08:48:18 6ad1cebc031e: Pulling fs layer 08:48:18 8a3aa393b2d8: Pulling fs layer 08:48:18 114826534d7a: Waiting 08:48:18 4657fd5d0bcf: Waiting 08:48:18 6ad1cebc031e: Waiting 08:48:18 8a3aa393b2d8: Waiting 08:48:18 52dc419b0ee2: Verifying Checksum 08:48:18 52dc419b0ee2: Download complete 08:48:18 25bc292e5bac: Verifying Checksum 08:48:18 25bc292e5bac: Download complete 08:48:18 4657fd5d0bcf: Verifying Checksum 08:48:18 4657fd5d0bcf: Download complete 08:48:18 df9b9388f04a: Download complete 08:48:18 df9b9388f04a: Pull complete 08:48:18 6ad1cebc031e: Download complete 08:48:18 52dc419b0ee2: Pull complete 08:48:18 25bc292e5bac: Pull complete 08:48:18 114826534d7a: Verifying Checksum 08:48:18 114826534d7a: Download complete 08:48:19 8a3aa393b2d8: Verifying Checksum 08:48:19 8a3aa393b2d8: Download complete 08:48:22 114826534d7a: Pull complete 08:48:22 4657fd5d0bcf: Pull complete 08:48:22 6ad1cebc031e: Pull complete 08:48:25 8a3aa393b2d8: Pull complete 08:48:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:48:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:48:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:25 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:48:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 08:48:31 $ docker top cc3b343637e440994c2732d0479ff896a9bf380be742a06021c158270482d3a2 -eo pid,comm [Pipeline] { [Pipeline] echo 08:48:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 08:48:31 + set -o pipefail 08:48:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 08:48:37 08:48:37 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 08:48:37 08:48:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/accf3b46-1dbe-4468-af3e-764f97917436 08:48:37 08:48:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:48:37 08:48:37 08:48:37 A medium severity vulnerability was found in the Snyk CLI versions you are using. 08:48:37 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 08:48:37 More details here: https://snyk.co/ue1NS [Pipeline] } 08:48:37 $ docker stop --time=1 cc3b343637e440994c2732d0479ff896a9bf380be742a06021c158270482d3a2 08:48:42 $ docker rm -f --volumes cc3b343637e440994c2732d0479ff896a9bf380be742a06021c158270482d3a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 08:48:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:48:43 provisioning config files... 08:48:43 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13508282531908151735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:43 --> edgex-publish-swagger.sh 08:48:43 === Publish openapi/v3 API === 08:48:43 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 08:48:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 08:48:43 % Total % Received % Xferd Average Speed Time Time Time Current 08:48:43 Dload Upload Total Spent Left Speed 08:48:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 38683 --:--:-- --:--:-- --:--:-- 38619 100 23674 0 0 100 23674 0 38683 --:--:-- --:--:-- --:--:-- 38619 08:48:44 08:48:44 [Pipeline] } 08:48:44 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 08:48:44 + git log --format=format:%s -1 50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] sh 08:48:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:48:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:48:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:45 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:48:45 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:48:46 $ docker top ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c -eo pid,comm 08:48:46 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). 08:48:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:46 [ssh-agent] Looking for ssh-agent implementation... 08:48:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:46 $ docker exec ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c ssh-agent 08:48:46 SSH_AUTH_SOCK=/tmp/ssh-n16BZGbS3M9P/agent.31 08:48:46 SSH_AGENT_PID=37 08:48:46 Running ssh-add (command line suppressed) 08:48:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10558238436434102775.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10558238436434102775.key) 08:48:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:47 + git semver tag 08:48:47 2023-11-19 08:48:47,216 [run_tag] DEBUG tag force:False 08:48:47 2023-11-19 08:48:47,216 [check_head_tag] DEBUG check head tag 08:48:47 2023-11-19 08:48:47,218 [execute] INFO git cat-file --batch-check 08:48:47 2023-11-19 08:48:47,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 08:48:47 2023-11-19 08:48:47,222 [execute] INFO git cat-file --batch 08:48:47 2023-11-19 08:48:47,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 08:48:47 2023-11-19 08:48:47,241 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:48:47 2023-11-19 08:48:47,241 [execute] INFO git tag -a v3.1.0-dev.41 -m v3.1.0-dev.41 08:48:47 2023-11-19 08:48:47,241 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.41', '-m', 'v3.1.0-dev.41'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 08:48:47 2023-11-19 08:48:47,245 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:48:47 3.1.0-dev.41 [Pipeline] } 08:48:47 $ docker exec --env ******** --env ******** ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c ssh-agent -k 08:48:47 unset SSH_AUTH_SOCK; 08:48:47 unset SSH_AGENT_PID; 08:48:47 echo Agent pid 37 killed; 08:48:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:48:47 + git semver [Pipeline] } 08:48:48 $ docker stop --time=1 ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c 08:48:49 $ docker rm -f --volumes ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:48:50 08:48:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:48:50 0.23.1-centos7: Pulling from edgex-lftools 08:48:50 ab5ef0e58194: Pulling fs layer 08:48:50 9712f1f96733: Pulling fs layer 08:48:50 63f879dbbcfc: Pulling fs layer 08:48:50 0d9ebad4ef96: Pulling fs layer 08:48:50 e9a5061849ea: Pulling fs layer 08:48:50 d747dcd14b5f: Pulling fs layer 08:48:50 2de7ff778b66: Pulling fs layer 08:48:50 0d9ebad4ef96: Waiting 08:48:50 e9a5061849ea: Waiting 08:48:50 d747dcd14b5f: Waiting 08:48:50 2de7ff778b66: Waiting 08:48:50 9712f1f96733: Verifying Checksum 08:48:50 9712f1f96733: Download complete 08:48:51 63f879dbbcfc: Verifying Checksum 08:48:51 63f879dbbcfc: Download complete 08:48:51 e9a5061849ea: Verifying Checksum 08:48:51 e9a5061849ea: Download complete 08:48:51 ab5ef0e58194: Verifying Checksum 08:48:51 ab5ef0e58194: Download complete 08:48:51 d747dcd14b5f: Download complete 08:48:51 0d9ebad4ef96: Verifying Checksum 08:48:51 0d9ebad4ef96: Download complete 08:48:51 2de7ff778b66: Verifying Checksum 08:48:51 2de7ff778b66: Download complete 08:48:53 ab5ef0e58194: Pull complete 08:48:53 9712f1f96733: Pull complete 08:48:54 63f879dbbcfc: Pull complete 08:48:58 0d9ebad4ef96: Pull complete 08:48:58 e9a5061849ea: Pull complete 08:48:58 d747dcd14b5f: Pull complete 08:48:59 2de7ff778b66: Pull complete 08:48:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:48:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:59 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:48:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:49:06 $ docker top 33db25a30f98fb91a015fc697906492f2ab2bc8dde81f5e5aafd0af507f17310 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:49:06 provisioning config files... 08:49:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17948443905212403101tmp 08:49:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1139335918851878689tmp 08:49:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config801647590503576592tmp [Pipeline] { [Pipeline] echo 08:49:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:49:07 ---> sigul-configuration.sh 08:49:07 gpg: directory `/root/.gnupg' created 08:49:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:49:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:49:07 gpg: keyring `/root/.gnupg/secring.gpg' created 08:49:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:49:07 gpg: CAST5 encrypted data 08:49:07 gpg: encrypted with 1 passphrase 08:49:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:49:07 + mkdir /home/jenkins 08:49:07 + mkdir /home/jenkins/sigul [Pipeline] sh 08:49:07 + 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 08:49:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:49:08 ---> sigul-install.sh 08:49:08 Sigul already installed; skipping installation. [Pipeline] sh 08:49:08 + git tag --list 08:49:08 0.7.1 08:49:08 delhi-tag 08:49:08 v1.0.0 08:49:08 v1.1.0 08:49:08 v1.1.1 08:49:08 v1.1.2 08:49:08 v1.2.0 08:49:08 v1.2.1 08:49:08 v1.2.2 08:49:08 v1.2.3 08:49:08 v1.3.0 08:49:08 v1.4.0 08:49:08 v2.0.0 08:49:08 v2.1.0 08:49:08 v2.1.1 08:49:08 v2.2.0 08:49:08 v2.3.0 08:49:08 v2.3.1 08:49:08 v3.0 08:49:08 v3.0.0 08:49:08 v3.0.1-dev.1 08:49:08 v3.1 08:49:08 v3.1.0 08:49:08 v3.1.0-dev.1 08:49:08 v3.1.0-dev.10 08:49:08 v3.1.0-dev.11 08:49:08 v3.1.0-dev.12 08:49:08 v3.1.0-dev.13 08:49:08 v3.1.0-dev.14 08:49:08 v3.1.0-dev.15 08:49:08 v3.1.0-dev.16 08:49:08 v3.1.0-dev.17 08:49:08 v3.1.0-dev.18 08:49:08 v3.1.0-dev.19 08:49:08 v3.1.0-dev.2 08:49:08 v3.1.0-dev.20 08:49:08 v3.1.0-dev.21 08:49:08 v3.1.0-dev.22 08:49:08 v3.1.0-dev.23 08:49:08 v3.1.0-dev.24 08:49:08 v3.1.0-dev.25 08:49:08 v3.1.0-dev.26 08:49:08 v3.1.0-dev.27 08:49:08 v3.1.0-dev.28 08:49:08 v3.1.0-dev.29 08:49:08 v3.1.0-dev.3 08:49:08 v3.1.0-dev.30 08:49:08 v3.1.0-dev.31 08:49:08 v3.1.0-dev.32 08:49:08 v3.1.0-dev.33 08:49:08 v3.1.0-dev.34 08:49:08 v3.1.0-dev.35 08:49:08 v3.1.0-dev.36 08:49:08 v3.1.0-dev.37 08:49:08 v3.1.0-dev.38 08:49:08 v3.1.0-dev.39 08:49:08 v3.1.0-dev.4 08:49:08 v3.1.0-dev.40 08:49:08 v3.1.0-dev.41 08:49:08 v3.1.0-dev.5 08:49:08 v3.1.0-dev.6 08:49:08 v3.1.0-dev.7 08:49:08 v3.1.0-dev.8 08:49:08 v3.1.0-dev.9 [Pipeline] sh 08:49:08 + lftools sign git-tag v3.1.0-dev.41 08:49:09 Signing Git tag with Sigul... 08:49:09 Signing v3.1.0-dev.41 [Pipeline] echo 08:49:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:49:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:49:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:49:09 $ docker stop --time=1 33db25a30f98fb91a015fc697906492f2ab2bc8dde81f5e5aafd0af507f17310 08:49:11 $ docker rm -f --volumes 33db25a30f98fb91a015fc697906492f2ab2bc8dde81f5e5aafd0af507f17310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:49:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:49:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:12 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:49: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:49:12 $ docker top 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 -eo pid,comm 08:49: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). 08:49:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:49:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:49:13 [ssh-agent] Looking for ssh-agent implementation... 08:49:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:49:13 $ docker exec 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 ssh-agent 08:49:13 SSH_AUTH_SOCK=/tmp/ssh-06X0T4BeGk6p/agent.32 08:49:13 SSH_AGENT_PID=38 08:49:13 Running ssh-add (command line suppressed) 08:49:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1120902143977165802.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1120902143977165802.key) 08:49:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:49:13 + git semver bump pre 08:49:13 2023-11-19 08:49:13,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:49:13 2023-11-19 08:49:13,878 [bump_version] DEBUG bumping version:3.1.0-dev.41 on axis:pre with prefix:dev 08:49:13 2023-11-19 08:49:13,878 [bump_version] DEBUG bumped version:3.1.0-dev.42 08:49:13 2023-11-19 08:49:13,878 [write_version] DEBUG write version:3.1.0-dev.42 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 08:49:13 2023-11-19 08:49:13,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:49:13 2023-11-19 08:49:13,878 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:49:13 2023-11-19 08:49:13,880 [execute] INFO git cat-file --batch-check 08:49:13 2023-11-19 08:49:13,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:49:13 2023-11-19 08:49:13,885 [execute] INFO git cat-file --batch 08:49:13 2023-11-19 08:49:13,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:49:13 2023-11-19 08:49:13,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:49:13 3.1.0-dev.42 [Pipeline] } 08:49:13 $ docker exec --env ******** --env ******** 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 ssh-agent -k 08:49:14 unset SSH_AUTH_SOCK; 08:49:14 unset SSH_AGENT_PID; 08:49:14 echo Agent pid 38 killed; 08:49:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:49:14 + git semver [Pipeline] } 08:49:14 $ docker stop --time=1 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 08:49:16 $ docker rm -f --volumes 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 [Pipeline] // withDockerContainer [Pipeline] sh 08:49:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:49:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:49:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:17 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:49:17 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:49:17 $ docker top b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a -eo pid,comm 08:49:17 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). 08:49:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:49:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:49:17 [ssh-agent] Looking for ssh-agent implementation... 08:49:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:49:18 $ docker exec b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a ssh-agent 08:49:18 SSH_AUTH_SOCK=/tmp/ssh-ow0Fa5w26G9g/agent.33 08:49:18 SSH_AGENT_PID=39 08:49:18 Running ssh-add (command line suppressed) 08:49:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9160090787882983140.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9160090787882983140.key) 08:49:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:49:18 + git semver push 08:49:18 2023-11-19 08:49:18,787 [run_push] DEBUG push 08:49:18 2023-11-19 08:49:18,788 [execute] INFO git cat-file --batch-check 08:49:18 2023-11-19 08:49:18,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:49:18 2023-11-19 08:49:18,791 [execute] INFO git rev-list a1f730fa2a5b6eb0c47cf8e2f9473c93448c2a6b -- 08:49:18 2023-11-19 08:49:18,791 [execute] DEBUG Popen(['git', 'rev-list', 'a1f730fa2a5b6eb0c47cf8e2f9473c93448c2a6b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:49:18 2023-11-19 08:49:18,802 [execute] INFO git fetch -v origin 08:49:18 2023-11-19 08:49:18,803 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:49:19 2023-11-19 08:49:19,284 [run_push] DEBUG no remote changes detected 08:49:19 2023-11-19 08:49:19,285 [execute] INFO git push origin semver 08:49:19 2023-11-19 08:49:19,285 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:49:20 2023-11-19 08:49:20,104 [run_push] DEBUG push all version tags 08:49:20 2023-11-19 08:49:20,105 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:49:20 2023-11-19 08:49:20,105 [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) 08:49:20 2023-11-19 08:49:20,785 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:49:20 3.1.0-dev.42 [Pipeline] } 08:49:20 $ docker exec --env ******** --env ******** b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a ssh-agent -k 08:49:21 unset SSH_AUTH_SOCK; 08:49:21 unset SSH_AGENT_PID; 08:49:21 echo Agent pid 39 killed; 08:49:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:49:21 + git semver [Pipeline] } 08:49:21 $ docker stop --time=1 b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a 08:49:23 $ docker rm -f --volumes b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:49:24 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 08:49:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:49:24 total 16 08:49:24 drwxr-xr-x 3 root root 4096 Nov 19 08:39 . 08:49:24 drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 08:49 .. 08:49:24 drwxr-xr-x 2 root root 4096 Nov 19 08:39 cost 08:49:24 -rw-r--r-- 1 root root 85 Nov 19 08:39 cost.csv 08:49:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:49:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:49:24 total 16 08:49:24 drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 08:39 . 08:49:24 drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 08:49 .. 08:49:24 drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 08:39 cost 08:49:24 -rw-r--r-- 1 jenkins jenkins 85 Nov 19 08:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:49:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:49:25 ---> package-listing.sh 08:49:25 ++ facter osfamily 08:49:25 ++ tr '[:upper:]' '[:lower:]' 08:49:25 + OS_FAMILY=debian 08:49:25 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 08:49:25 + START_PACKAGES=/tmp/packages_start.txt 08:49:25 + END_PACKAGES=/tmp/packages_end.txt 08:49:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:49:25 + PACKAGES=/tmp/packages_start.txt 08:49:25 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 08:49:25 + PACKAGES=/tmp/packages_end.txt 08:49:25 + case "${OS_FAMILY}" in 08:49:25 + dpkg -l 08:49:25 + grep '^ii' 08:49:25 + '[' -f /tmp/packages_start.txt ']' 08:49:25 + '[' -f /tmp/packages_end.txt ']' 08:49:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:49:25 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 08:49:25 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 08:49:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 08:49:25 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 08:49:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:49:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:27 prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container 08:49:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:49:27 $ docker top 1c48f876a9007735246f809dfbb70c46bfb174f6d2cc6872421919c84fcf0497 -eo pid,comm [Pipeline] { [Pipeline] sh 08:49:27 + touch /tmp/pre-build-complete [Pipeline] sh 08:49:27 + mkdir -p /var/log/sysstat [Pipeline] sh 08:49:28 + ls /var/log/sa-host 08:49:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:49:28 provisioning config files... 08:49:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15536933328060590680tmp [Pipeline] { [Pipeline] echo 08:49:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:49:28 ---> create-netrc.sh [Pipeline] } 08:49:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:49:29 ---> python-tools-install.sh [Pipeline] echo 08:49:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:49:29 ---> sudo-logs.sh 08:49:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:49:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:49:29 ---> job-cost.sh 08:49:29 lf-activate-venv: SKIPPING 08:49:29 DEBUG: total: 0.2199999988079071 08:49:29 INFO: Retrieving Stack Cost... 08:49:30 INFO: Retrieving Pricing Info for: v3-standard-8 08:49:30 INFO: Archiving Costs [Pipeline] echo 08:49:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:49:31 ---> logs-deploy.sh 08:49:31 lf-activate-venv: SKIPPING 08:49:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/270 08:49:31 INFO: archiving workspace using pattern(s): 08:49:31 Archives upload complete. 08:49:31 INFO: archiving logs to Nexus