Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 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-ssh11761960834160627652.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh14919227320709357374.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh8965276574332800780.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh4593313809563615214.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-ssh6594891090821522926.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.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22039 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 (main) Commit message: "Merge pull request #1635 from weichou1229/issue-931" > git config core.sparsecheckout # timeout=10 > git checkout -f e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 > git rev-list --no-walk 0ef7f81e2a588ab6c564a89cd743b8af47c7a923 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:40:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:40:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:40:27 ========================================================= 09:40:27 EdgeX Global Pipelines Version Info 09:40:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:40:27 ------------------- 09:40:27 stable info: 09:40:27 ------------------- 09:40:27 Commited By: Ginny Guan ginny@iotechsys.com 09:40:27 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:40:27 Message: update stable to v1.0.265 09:40:28 ------------------- 09:40:28 experimental info: 09:40:28 ------------------- 09:40:28 Commited By: Cherry Wang cherry@iotechsys.com 09:40:28 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:40:28 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:40:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e658506 [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:29 provisioning config files... 09:40:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5574198427794595302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:30 ---> ****-login.sh 09:40:30 nexus3.edgexfoundry.org:10001 09:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:30 Configure a credential helper to remove this warning. See 09:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:30 09:40:30 Login Succeeded 09:40:30 nexus3.edgexfoundry.org:10002 09:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:30 Configure a credential helper to remove this warning. See 09:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:30 09:40:30 Login Succeeded 09:40:30 nexus3.edgexfoundry.org:10003 09:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:30 Configure a credential helper to remove this warning. See 09:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:30 09:40:30 Login Succeeded 09:40:30 nexus3.edgexfoundry.org:10004 09:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:30 Configure a credential helper to remove this warning. See 09:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:30 09:40:30 Login Succeeded 09:40:30 ****.io 09:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:31 Configure a credential helper to remove this warning. See 09:40:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:31 09:40:31 Login Succeeded 09:40:31 ---> ****-login.sh ends [Pipeline] } 09:40:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:40:31 + git rev-list -1 --merges e658506bf7b56e90d0b690dd2c104c6ce7f51ac9~1..e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 [Pipeline] echo 09:40:31 -----------> git rev-list -1 --merges e658506bf7b56e90d0b690dd2c104c6ce7f51ac9~1..e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 09:40:31 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 [false] [Pipeline] sh 09:40:31 + git log --format=format:%s -1 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 [Pipeline] echo 09:40:32 ========================================================= 09:40:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:40:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:32 + git log --format=format:%s -1 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 [Pipeline] echo 09:40:32 [semverPrep] GIT_COMMIT: e658506bf7b56e90d0b690dd2c104c6ce7f51ac9, Commit Message: Merge pull request #1635 from weichou1229/issue-931 [Pipeline] echo 09:40:32 [semverPrep] This is not a build commit. [Pipeline] sh 09:40:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:40:32 + grep -v github /etc/ssh/ssh_known_hosts 09:40:32 + [ -e /tmp/ssh_known_hosts ] 09:40:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:40:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:40:32 + sudo tee -a /etc/ssh/ssh_known_hosts 09:40:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:33 09:40:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:33 0.1.4: Pulling from edgex-devops/py-git-semver 09:40:33 b85a868b505f: Pulling fs layer 09:40:33 e2be974225ed: Pulling fs layer 09:40:33 339a4e72a1f5: Pulling fs layer 09:40:33 988bab9f4d93: Pulling fs layer 09:40:33 1469e6f7b9e6: Pulling fs layer 09:40:33 eaf3925da568: Pulling fs layer 09:40:33 bab4dde63d76: Pulling fs layer 09:40:33 bde34c3a00c8: Pulling fs layer 09:40:33 b352a97aabf1: Pulling fs layer 09:40:33 4872d77fe225: Pulling fs layer 09:40:33 5851b861e8e6: Pulling fs layer 09:40:33 1469e6f7b9e6: Waiting 09:40:33 eaf3925da568: Waiting 09:40:33 bab4dde63d76: Waiting 09:40:33 b352a97aabf1: Waiting 09:40:33 4872d77fe225: Waiting 09:40:33 bde34c3a00c8: Waiting 09:40:33 5851b861e8e6: Waiting 09:40:33 988bab9f4d93: Waiting 09:40:33 e2be974225ed: Download complete 09:40:33 988bab9f4d93: Download complete 09:40:33 339a4e72a1f5: Verifying Checksum 09:40:33 339a4e72a1f5: Download complete 09:40:33 1469e6f7b9e6: Verifying Checksum 09:40:33 1469e6f7b9e6: Download complete 09:40:33 eaf3925da568: Verifying Checksum 09:40:33 eaf3925da568: Download complete 09:40:33 b352a97aabf1: Download complete 09:40:33 4872d77fe225: Download complete 09:40:33 5851b861e8e6: Verifying Checksum 09:40:33 5851b861e8e6: Download complete 09:40:33 b85a868b505f: Verifying Checksum 09:40:33 b85a868b505f: Download complete 09:40:33 bab4dde63d76: Verifying Checksum 09:40:33 bab4dde63d76: Download complete 09:40:34 b85a868b505f: Pull complete 09:40:35 e2be974225ed: Pull complete 09:40:35 339a4e72a1f5: Pull complete 09:40:35 988bab9f4d93: Pull complete 09:40:35 1469e6f7b9e6: Pull complete 09:40:35 eaf3925da568: Pull complete 09:40:37 bab4dde63d76: Pull complete 09:40:37 bde34c3a00c8: Pull complete 09:40:38 b352a97aabf1: Pull complete 09:40:38 4872d77fe225: Pull complete 09:40:38 5851b861e8e6: Pull complete 09:40:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:38 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 09:40:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:40:41 $ docker top 81d82ea6dd4dbdf178af1bb9576c65bf794472ca59d3b0501ec1b24d1fedadcc -eo pid,comm 09:40:41 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). 09:40:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:40:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:41 [ssh-agent] Looking for ssh-agent implementation... 09:40:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:41 $ docker exec 81d82ea6dd4dbdf178af1bb9576c65bf794472ca59d3b0501ec1b24d1fedadcc ssh-agent 09:40:41 SSH_AUTH_SOCK=/tmp/ssh-rWAGcBAreA6P/agent.31 09:40:41 SSH_AGENT_PID=37 09:40:41 Running ssh-add (command line suppressed) 09:40:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13115009391405647953.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13115009391405647953.key) 09:40:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:42 + git tag --points-at HEAD [Pipeline] } 09:40:42 $ docker exec --env ******** --env ******** 81d82ea6dd4dbdf178af1bb9576c65bf794472ca59d3b0501ec1b24d1fedadcc ssh-agent -k 09:40:42 unset SSH_AUTH_SOCK; 09:40:42 unset SSH_AGENT_PID; 09:40:42 echo Agent pid 37 killed; 09:40:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:40:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:42 [ssh-agent] Looking for ssh-agent implementation... 09:40:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:42 $ docker exec 81d82ea6dd4dbdf178af1bb9576c65bf794472ca59d3b0501ec1b24d1fedadcc ssh-agent 09:40:42 SSH_AUTH_SOCK=/tmp/ssh-w59epnPqszW6/agent.71 09:40:42 SSH_AGENT_PID=77 09:40:42 Running ssh-add (command line suppressed) 09:40:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_596233300969350987.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_596233300969350987.key) 09:40:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:43 + git semver init 09:40:43 2024-10-07 09:40:43,431 [run_init] DEBUG init version:0.0.0 force:False 09:40:43 2024-10-07 09:40:43,432 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:40:43 2024-10-07 09:40:43,433 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:40:43 2024-10-07 09:40:43,433 [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) 09:40:46 2024-10-07 09:40:45,843 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 09:40:46 2024-10-07 09:40:45,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 09:40:46 2024-10-07 09:40:45,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:40:46 2024-10-07 09:40:45,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:40:46 3.2.0-dev.44 [Pipeline] } 09:40:46 $ docker exec --env ******** --env ******** 81d82ea6dd4dbdf178af1bb9576c65bf794472ca59d3b0501ec1b24d1fedadcc ssh-agent -k 09:40:46 unset SSH_AUTH_SOCK; 09:40:46 unset SSH_AGENT_PID; 09:40:46 echo Agent pid 77 killed; 09:40:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:40:46 + git semver [Pipeline] } 09:40:47 $ docker stop --time=1 81d82ea6dd4dbdf178af1bb9576c65bf794472ca59d3b0501ec1b24d1fedadcc 09:40:48 $ docker rm -f --volumes 81d82ea6dd4dbdf178af1bb9576c65bf794472ca59d3b0501ec1b24d1fedadcc [Pipeline] // withDockerContainer [Pipeline] sh 09:40:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:40:49 Stashed 1 file(s) [Pipeline] echo 09:40:49 [edgeXSemver]: initialized semver on version 3.2.0-dev.44 [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 09:40:49 provisioning config files... 09:40:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9464506584175968190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:49 ---> ****-login.sh 09:40:49 nexus3.edgexfoundry.org:10001 09:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:49 Configure a credential helper to remove this warning. See 09:40:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:49 09:40:49 Login Succeeded 09:40:49 nexus3.edgexfoundry.org:10002 09:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:49 Configure a credential helper to remove this warning. See 09:40:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:49 09:40:49 Login Succeeded 09:40:49 nexus3.edgexfoundry.org:10003 09:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:49 Configure a credential helper to remove this warning. See 09:40:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:49 09:40:49 Login Succeeded 09:40:49 nexus3.edgexfoundry.org:10004 09:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:49 Configure a credential helper to remove this warning. See 09:40:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:49 09:40:49 Login Succeeded 09:40:49 ****.io 09:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:50 Configure a credential helper to remove this warning. See 09:40:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:50 09:40:50 Login Succeeded 09:40:50 ---> ****-login.sh ends [Pipeline] } 09:40:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:40:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:40:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:40:50 ========================================================= 09:40:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:40:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:50 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 09:40:50 Sending build context to Docker daemon 25.43MB 09:40:50 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:40:50 Step 2/10 : FROM ${BASE} AS builder 09:40:50 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:40:50 43c4264eed91: Pulling fs layer 09:40:50 4cc291be95ef: Pulling fs layer 09:40:50 2ac1f1163629: Pulling fs layer 09:40:50 5c3c966382ef: Pulling fs layer 09:40:50 4f4fb700ef54: Pulling fs layer 09:40:50 5d5c8e513c77: Pulling fs layer 09:40:50 9f66e0745190: Pulling fs layer 09:40:50 f49a43e4bbc0: Pulling fs layer 09:40:50 561ebcabdf7f: Pulling fs layer 09:40:50 5d5c8e513c77: Waiting 09:40:50 9f66e0745190: Waiting 09:40:50 5c3c966382ef: Waiting 09:40:50 f49a43e4bbc0: Waiting 09:40:50 4f4fb700ef54: Waiting 09:40:50 561ebcabdf7f: Waiting 09:40:50 4cc291be95ef: Verifying Checksum 09:40:50 4cc291be95ef: Download complete 09:40:50 5c3c966382ef: Verifying Checksum 09:40:50 5c3c966382ef: Download complete 09:40:50 4f4fb700ef54: Download complete 09:40:50 5d5c8e513c77: Verifying Checksum 09:40:50 5d5c8e513c77: Download complete 09:40:50 43c4264eed91: Download complete 09:40:50 9f66e0745190: Verifying Checksum 09:40:50 9f66e0745190: Download complete 09:40:51 561ebcabdf7f: Download complete 09:40:51 43c4264eed91: Pull complete 09:40:51 4cc291be95ef: Pull complete 09:40:51 2ac1f1163629: Verifying Checksum 09:40:51 2ac1f1163629: Download complete 09:40:51 f49a43e4bbc0: Verifying Checksum 09:40:51 f49a43e4bbc0: Download complete 09:40:55 2ac1f1163629: Pull complete 09:40:55 5c3c966382ef: Pull complete 09:40:55 4f4fb700ef54: Pull complete 09:40:56 5d5c8e513c77: Pull complete 09:40:56 9f66e0745190: Pull complete 09:40:58 f49a43e4bbc0: Pull complete 09:40:59 561ebcabdf7f: Pull complete 09:40:59 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:40:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:40:59 ---> 3a752c3f9dda 09:40:59 Step 3/10 : ARG MAKE=make build 09:41:04 Still waiting to schedule task 09:41:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:41:05 ---> Running in 319d72b07510 09:41:05 Removing intermediate container 319d72b07510 09:41:05 ---> ae4bfe3075b2 09:41:05 Step 4/10 : WORKDIR /device-sdk-go 09:41:05 ---> Running in 7e1625bc8f65 09:41:05 Removing intermediate container 7e1625bc8f65 09:41:05 ---> 1639738e918e 09:41:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:41:05 ---> Running in 20c3962cfdcd 09:41:06 Removing intermediate container 20c3962cfdcd 09:41:06 ---> c0fdbe224a86 09:41:06 Step 6/10 : RUN apk add --update --no-cache make git 09:41:06 ---> Running in e79188e3984d 09:41:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:41:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:41:07 OK: 246 MiB in 54 packages 09:41:07 Removing intermediate container e79188e3984d 09:41:07 ---> 635ef0790fae 09:41:07 Step 7/10 : COPY go.mod vendor* ./ 09:41:07 ---> e915963f6340 09:41:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:07 ---> Running in 15549b00579e 09:42:15 Removing intermediate container 15549b00579e 09:42:15 ---> 3c254aef582a 09:42:15 Step 9/10 : COPY . . 09:42:15 ---> da62b1a9f0c1 09:42:15 Step 10/10 : RUN ${MAKE} 09:42:15 ---> Running in ca4b5d05701b 09:42:15 noop 09:42:15 Removing intermediate container ca4b5d05701b 09:42:15 ---> 97ed714d131c 09:42:15 Successfully built 97ed714d131c 09:42:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:15 + docker inspect -f . ci-base-image-x86_64 09:42:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:15 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 09:42:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:42:16 $ docker top 4760caa0fd019f740e53561bf9ce5271c66546b7c10b5c3ae4b07a1990994ab4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:16 + go version 09:42:16 go version go1.23.2 linux/amd64 [Pipeline] } 09:42:16 $ docker stop --time=1 4760caa0fd019f740e53561bf9ce5271c66546b7c10b5c3ae4b07a1990994ab4 09:42:18 $ docker rm -f --volumes 4760caa0fd019f740e53561bf9ce5271c66546b7c10b5c3ae4b07a1990994ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:18 + docker inspect -f . ci-base-image-x86_64 09:42:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:18 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 09:42:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:42:19 $ docker top 98874ff9c8793612ce056c705ab6bf5881345751cbc171bbf8e37f5088540d8f -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 09:42:19 + make test 09:42:19 go test -race -coverprofile=coverage.out ./... 09:42:27 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:42:54 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 09:42:54 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 09:42:54 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 09:42:54 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 09:42:54 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 09:42:54 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 09:42:54 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 09:42:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 26.0% of statements 09:42:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements 09:42:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.059s coverage: 86.0% of statements 09:42:56 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 09:42:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:42:56 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 09:42:56 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 09:42:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.091s coverage: 45.2% of statements 09:42:59 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 09:43:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.102s coverage: 14.1% of statements 09:43:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.104s coverage: 44.6% of statements 09:43:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.055s coverage: 68.3% of statements 09:43:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.099s coverage: 88.3% of statements 09:43:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.3% of statements 09:43:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22042 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 09:43:45 Running in /w/workspace/device-sdk-go/319 [Pipeline] { [Pipeline] checkout 09:43:45 The recommended git tool is: git 09:43:48 GO111MODULE=on go vet ./... 09:43:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:43:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:43:51 ./bin/test-attribution-txt.sh [Pipeline] echo 09:43:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:43:52 $ docker stop --time=1 98874ff9c8793612ce056c705ab6bf5881345751cbc171bbf8e37f5088540d8f 09:43:55 using credential edgex-jenkins-ssh 09:43:55 Cloning the remote Git repository 09:43:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:43:55 > git init /w/workspace/device-sdk-go/319 # timeout=10 09:43:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:43:56 > git --version # timeout=10 09:43:56 > git --version # 'git version 2.25.1' 09:43:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:58 $ docker rm -f --volumes 98874ff9c8793612ce056c705ab6bf5881345751cbc171bbf8e37f5088540d8f [Pipeline] // withDockerContainer [Pipeline] sh 09:43:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:43:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:43:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:44:00 + ls -al . 09:44:00 total 712 09:44:00 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 09:42 . 09:44:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:40 .. 09:44:00 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:40 .dockerignore 09:44:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:43 .git 09:44:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:40 .github 09:44:00 -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:40 .gitignore 09:44:00 -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:40 .golangci.yml 09:44:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:40 .semver 09:44:00 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:40 CHANGELOG.md 09:44:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:40 GOVERNANCE.md 09:44:00 -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:40 Jenkinsfile 09:44:00 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:40 LICENSE 09:44:00 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:40 Makefile 09:44:00 -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:40 OWNERS.md 09:44:00 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:40 README.md 09:44:00 -rw-rw-r-- 1 jenkins jenkins 12 Oct 7 09:40 VERSION 09:44:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:40 bin 09:44:00 -rw-r--r-- 1 jenkins jenkins 466605 Oct 7 09:43 coverage.out 09:44:00 drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:40 example 09:44:00 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:40 go.mod 09:44:00 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:40 go.sum 09:44:00 drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:40 internal 09:44:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:40 openapi 09:44:00 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:40 pkg 09:44:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:40 snap 09:44:00 -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:00 + 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=e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 --label arch=amd64 --label version=3.2.0-dev.44 . 09:44:00 Sending build context to Docker daemon 25.89MB 09:44:00 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:44:00 Step 2/24 : FROM ${BASE} AS builder 09:44:00 ---> 97ed714d131c 09:44:00 Step 3/24 : ARG MAKE=make build 09:44:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:44:01 ---> Running in a4996381a999 09:44:01 Removing intermediate container a4996381a999 09:44:01 ---> 01e9fef00993 09:44:01 Step 4/24 : WORKDIR /device-sdk-go 09:44:01 ---> Running in c36a5c57c28f 09:44:01 Removing intermediate container c36a5c57c28f 09:44:01 ---> 3856aeac5f5d 09:44:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:44:01 ---> Running in 04e74bd82cec 09:44:01 Removing intermediate container 04e74bd82cec 09:44:01 ---> 87989e29647f 09:44:01 Step 6/24 : RUN apk add --update --no-cache make git 09:44:01 ---> Running in 57aa7ae291a3 09:44:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:44:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:44:02 OK: 246 MiB in 54 packages 09:44:02 Removing intermediate container 57aa7ae291a3 09:44:02 ---> f255191107ea 09:44:02 Step 7/24 : COPY go.mod vendor* ./ 09:44:02 Avoid second fetch 09:44:02 Checking out Revision e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 (main) 09:44:02 ---> 3bb024764025 09:44:02 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:02 ---> Running in 0eb94fab861f 09:44:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:02 > git config core.sparsecheckout # timeout=10 09:44:02 > git checkout -f e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 09:44:03 Removing intermediate container 0eb94fab861f 09:44:03 ---> a149545f354e 09:44:03 Step 9/24 : COPY . . 09:44:03 Commit message: "Merge pull request #1635 from weichou1229/issue-931" 09:44:04 ---> e290874bc01a 09:44:04 Step 10/24 : RUN ${MAKE} 09:44:04 ---> Running in b6ed0d4b2ffb 09:44:04 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.44 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.44" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:44:08 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:08 Dload Upload Total Spent Left Speed 09:44:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 09:44:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:44:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:44:09 + sudo tee /etc/docker/daemon.new 09:44:09 { 09:44:09 "registry-mirrors": [ 09:44:09 "https://nexus3.edgexfoundry.org:10001" 09:44:09 ], 09:44:09 "bip": "10.250.0.254/24", 09:44:09 "hosts": [ 09:44:09 "tcp://0.0.0.0:5555", 09:44:09 "unix:///var/run/docker.sock" 09:44:09 ], 09:44:09 "mtu": 1458, 09:44:09 "selinux-enabled": true, 09:44:09 "seccomp-profile": "/etc/docker/seccomp.json" 09:44:09 } [Pipeline] sh 09:44:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:44:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:28 provisioning config files... 09:44:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/319@tmp/config1643063857761900453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:28 ---> ****-login.sh 09:44:28 nexus3.edgexfoundry.org:10001 09:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:29 Configure a credential helper to remove this warning. See 09:44:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:29 09:44:29 Login Succeeded 09:44:29 nexus3.edgexfoundry.org:10002 09:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:30 Configure a credential helper to remove this warning. See 09:44:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:30 09:44:30 Login Succeeded 09:44:30 nexus3.edgexfoundry.org:10003 09:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:30 Configure a credential helper to remove this warning. See 09:44:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:30 09:44:30 Login Succeeded 09:44:30 nexus3.edgexfoundry.org:10004 09:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:30 Configure a credential helper to remove this warning. See 09:44:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:30 09:44:30 Login Succeeded 09:44:30 ****.io 09:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:31 Configure a credential helper to remove this warning. See 09:44:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:31 09:44:31 Login Succeeded 09:44:31 ---> ****-login.sh ends [Pipeline] } 09:44:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:44:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:31 ========================================================= 09:44:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:44:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:32 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 09:44:32 Sending build context to Docker daemon 13.17MB 09:44:32 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:44:32 Step 2/10 : FROM ${BASE} AS builder 09:44:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:44:33 cf04c63912e1: Pulling fs layer 09:44:33 55b35a11ae5e: Pulling fs layer 09:44:33 a37a00ec5f00: Pulling fs layer 09:44:33 50b3750afda1: Pulling fs layer 09:44:33 4f4fb700ef54: Pulling fs layer 09:44:33 80978eb59214: Pulling fs layer 09:44:33 c9f46d7d2bd2: Pulling fs layer 09:44:33 c5a475d317c9: Pulling fs layer 09:44:33 4f4fb700ef54: Waiting 09:44:33 c9f46d7d2bd2: Waiting 09:44:33 80978eb59214: Waiting 09:44:33 c5a475d317c9: Waiting 09:44:33 50b3750afda1: Waiting 09:44:33 55b35a11ae5e: Verifying Checksum 09:44:33 55b35a11ae5e: Download complete 09:44:33 50b3750afda1: Verifying Checksum 09:44:33 50b3750afda1: Download complete 09:44:33 4f4fb700ef54: Download complete 09:44:33 80978eb59214: Download complete 09:44:33 cf04c63912e1: Verifying Checksum 09:44:33 cf04c63912e1: Download complete 09:44:33 c5a475d317c9: Verifying Checksum 09:44:33 c5a475d317c9: Download complete 09:44:34 cf04c63912e1: Pull complete 09:44:35 55b35a11ae5e: Pull complete 09:44:35 a37a00ec5f00: Verifying Checksum 09:44:35 a37a00ec5f00: Download complete 09:44:36 c9f46d7d2bd2: Verifying Checksum 09:44:36 c9f46d7d2bd2: Download complete 09:44:43 Removing intermediate container b6ed0d4b2ffb 09:44:43 ---> 10afce90f437 09:44:43 Step 11/24 : FROM alpine:3.20 09:44:43 3.20: Pulling from library/alpine 09:44:43 43c4264eed91: Already exists 09:44:43 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:44:43 Status: Downloaded newer image for alpine:3.20 09:44:43 ---> 91ef0af61f39 09:44:43 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:44:43 ---> Running in 5e818a3994d0 09:44:43 Removing intermediate container 5e818a3994d0 09:44:43 ---> 2abb3606a39b 09:44:43 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:44:43 ---> Running in 6c6c8c1a0b6d 09:44:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:44:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:44:44 (1/1) Installing dumb-init (1.2.5-r3) 09:44:44 Executing busybox-1.36.1-r29.trigger 09:44:44 OK: 8 MiB in 15 packages 09:44:45 Removing intermediate container 6c6c8c1a0b6d 09:44:45 ---> 0ddce7eedbec 09:44:45 Step 14/24 : RUN apk --no-cache upgrade 09:44:45 ---> Running in 6aaf6146c8e3 09:44:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:44:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:44:46 Upgrading critical system libraries and apk-tools: 09:44:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:44:46 Executing busybox-1.36.1-r29.trigger 09:44:46 Continuing the upgrade transaction with new apk-tools: 09:44:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:44:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:44:46 OK: 8 MiB in 15 packages 09:44:47 Removing intermediate container 6aaf6146c8e3 09:44:47 ---> 6331573df090 09:44:47 Step 15/24 : WORKDIR / 09:44:47 ---> Running in f44dc43222e6 09:44:47 Removing intermediate container f44dc43222e6 09:44:47 ---> 62f1a4534971 09:44:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:44:47 ---> 85f0760f3c9b 09:44:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:44:48 ---> 5255c80ffd6e 09:44:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:44:48 ---> 3245c797d1fc 09:44:48 Step 19/24 : EXPOSE 59999 09:44:48 ---> Running in f492feba2d27 09:44:49 Removing intermediate container f492feba2d27 09:44:49 ---> 216e84d58829 09:44:49 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:44:49 ---> Running in 7ebc1a95d331 09:44:49 Removing intermediate container 7ebc1a95d331 09:44:49 ---> c1bac15e24ee 09:44:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:44:49 ---> Running in 1c36f71b5852 09:44:49 Removing intermediate container 1c36f71b5852 09:44:49 ---> 72ad27454bbd 09:44:49 Step 22/24 : LABEL arch=amd64 09:44:50 ---> Running in d5bd7d572bdc 09:44:50 Removing intermediate container d5bd7d572bdc 09:44:50 ---> 08544728fbeb 09:44:50 Step 23/24 : LABEL git_sha=e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 09:44:50 ---> Running in 0bfd17972233 09:44:50 Removing intermediate container 0bfd17972233 09:44:50 ---> 17e4031ec097 09:44:50 Step 24/24 : LABEL version=3.2.0-dev.44 09:44:50 ---> Running in 723dec3290fc 09:44:50 Removing intermediate container 723dec3290fc 09:44:50 ---> 6b796a2aedba 09:44:50 [Warning] One or more build-args [ARCH] were not consumed 09:44:50 Successfully built 6b796a2aedba 09:44:50 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:51 09:44:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:51 a37a00ec5f00: Pull complete 09:44:51 50b3750afda1: Pull complete 09:44:51 4f4fb700ef54: Pull complete 09:44:51 80978eb59214: Pull complete 09:44:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:51 latest: Pulling from edgex-lftools-log-publisher 09:44:51 5eb5b503b376: Pulling fs layer 09:44:51 5c69ac0246d0: Pulling fs layer 09:44:51 ec43610c2a17: Pulling fs layer 09:44:51 3a2ae6a8a46f: Pulling fs layer 09:44:51 33b1e0a273af: Pulling fs layer 09:44:51 5d3b04190fa2: Pulling fs layer 09:44:51 2f39f015ded8: Pulling fs layer 09:44:51 3a2ae6a8a46f: Waiting 09:44:51 33b1e0a273af: Waiting 09:44:51 2f39f015ded8: Waiting 09:44:51 5d3b04190fa2: Waiting 09:44:51 5c69ac0246d0: Download complete 09:44:51 3a2ae6a8a46f: Download complete 09:44:51 33b1e0a273af: Verifying Checksum 09:44:51 33b1e0a273af: Download complete 09:44:51 5d3b04190fa2: Download complete 09:44:51 ec43610c2a17: Verifying Checksum 09:44:51 ec43610c2a17: Download complete 09:44:51 5eb5b503b376: Verifying Checksum 09:44:51 5eb5b503b376: Download complete 09:44:52 2f39f015ded8: Download complete 09:44:53 5eb5b503b376: Pull complete 09:44:53 5c69ac0246d0: Pull complete 09:44:54 ec43610c2a17: Pull complete 09:44:54 3a2ae6a8a46f: Pull complete 09:44:54 33b1e0a273af: Pull complete 09:44:54 5d3b04190fa2: Pull complete 09:44:58 c9f46d7d2bd2: Pull complete 09:45:00 c5a475d317c9: Pull complete 09:45:00 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:45:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:45:00 ---> be29e6b0f0d4 09:45:00 Step 3/10 : ARG MAKE=make build 09:45:01 ---> Running in 84f94bd3ce78 09:45:01 2f39f015ded8: Pull complete 09:45:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:45:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:01 Removing intermediate container 84f94bd3ce78 09:45:01 ---> bf277fe5acf4 09:45:01 Step 4/10 : WORKDIR /device-sdk-go 09:45:01 ---> Running in 329608e66ae6 09:45:01 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 09:45:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:45:02 Removing intermediate container 329608e66ae6 09:45:02 ---> c3b9b9042bae 09:45:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:45:02 ---> Running in b7e63b9e28db 09:45:02 Removing intermediate container b7e63b9e28db 09:45:02 ---> 4b989ba6059c 09:45:02 Step 6/10 : RUN apk add --update --no-cache make git 09:45:02 ---> Running in dbec02d35bf9 09:45:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:45:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:45:06 OK: 238 MiB in 54 packages 09:45:06 $ docker top b0f19926ed73478cdb258e01bc3ad93c7e7f2a271cd460af4321cd9e79c0d579 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:06 ---> job-cost.sh 09:45:06 lf-activate-venv: SKIPPING 09:45:06 INFO: No Stack... 09:45:07 Removing intermediate container dbec02d35bf9 09:45:07 ---> 3ffab9e78566 09:45:07 Step 7/10 : COPY go.mod vendor* ./ 09:45:07 INFO: Retrieving Pricing Info for: v3-standard-8 09:45:07 INFO: Archiving Costs [Pipeline] sh 09:45:07 ---> f4f65162510b 09:45:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:07 ---> Running in 2f8476d957ce 09:45:07 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 09:45:07 + cut -d, -f6 [Pipeline] lock 09:45:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-319-stack-cost] 09:45:07 Resource [jenkins-edgexfoundry-device-sdk-go-main-319-stack-cost] did not exist. Created. 09:45:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-319-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:45:08 + echo total: 0.2199999988079071 [Pipeline] stash 09:45:08 Stashed 1 file(s) [Pipeline] } 09:45:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-319-stack-cost] [Pipeline] // lock [Pipeline] } 09:45:08 $ docker stop --time=1 b0f19926ed73478cdb258e01bc3ad93c7e7f2a271cd460af4321cd9e79c0d579 09:45:09 $ docker rm -f --volumes b0f19926ed73478cdb258e01bc3ad93c7e7f2a271cd460af4321cd9e79c0d579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:46:59 Removing intermediate container 2f8476d957ce 09:46:59 ---> a96eb62cc638 09:46:59 Step 9/10 : COPY . . 09:46:59 ---> bba1bdf8ee1c 09:46:59 Step 10/10 : RUN ${MAKE} 09:46:59 ---> Running in ad41289a90c1 09:46:59 noop 09:46:59 Removing intermediate container ad41289a90c1 09:46:59 ---> faf1afddffca 09:46:59 Successfully built faf1afddffca 09:46:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:59 + docker inspect -f . ci-base-image-arm64 09:46:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:00 prd-ubuntu20.04-docker-arm64-4c-16g-22042 does not seem to be running inside a container 09:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/319 -v /w/workspace/device-sdk-go/319:/w/workspace/device-sdk-go/319:rw,z -v /w/workspace/device-sdk-go/319@tmp:/w/workspace/device-sdk-go/319@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 09:47:01 $ docker top a5cf46ebcb6c0895773b42388df45baceb64dcb0666a5e5ad7aaf7f2d595f22a -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:02 + go version 09:47:02 go version go1.23.2 linux/arm64 [Pipeline] } 09:47:02 $ docker stop --time=1 a5cf46ebcb6c0895773b42388df45baceb64dcb0666a5e5ad7aaf7f2d595f22a 09:47:03 $ docker rm -f --volumes a5cf46ebcb6c0895773b42388df45baceb64dcb0666a5e5ad7aaf7f2d595f22a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:04 + docker inspect -f . ci-base-image-arm64 09:47:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:04 prd-ubuntu20.04-docker-arm64-4c-16g-22042 does not seem to be running inside a container 09:47:04 $ 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/319 -v /w/workspace/device-sdk-go/319:/w/workspace/device-sdk-go/319:rw,z -v /w/workspace/device-sdk-go/319@tmp:/w/workspace/device-sdk-go/319@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 09:47:06 $ docker top 31cb5476d80eff1457705ae396b3a9b23a58dc24262f9b0a241025b18ae68375 -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:06 + git config --global --add safe.directory /w/workspace/device-sdk-go/319 [Pipeline] fileExists [Pipeline] sh 09:47:07 + make test 09:47:07 go test -race -coverprofile=coverage.out ./... 09:48:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:51:55 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 09:51:55 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 09:51:55 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 09:51:55 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 09:51:55 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 09:52:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.163s coverage: 26.0% of statements 09:52:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.200s coverage: 79.4% of statements 09:52:23 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 09:52:23 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 09:52:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.301s coverage: 86.0% of statements 09:52:35 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 09:52:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.628s coverage: 45.2% of statements 09:52:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.273s coverage: 14.1% of statements 09:52:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.109s coverage: 44.6% of statements 09:52:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:52:44 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 09:52:44 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 09:52:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.404s coverage: 68.3% of statements 09:52:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.411s coverage: 88.3% of statements 09:52:58 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 09:52:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.311s coverage: 5.3% of statements 09:53:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:53:00 GO111MODULE=on go vet ./... 09:57:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:57:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:57:07 ./bin/test-attribution-txt.sh [Pipeline] echo 09:57:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:57:07 $ docker stop --time=1 31cb5476d80eff1457705ae396b3a9b23a58dc24262f9b0a241025b18ae68375 09:57:09 $ docker rm -f --volumes 31cb5476d80eff1457705ae396b3a9b23a58dc24262f9b0a241025b18ae68375 [Pipeline] // withDockerContainer [Pipeline] sh 09:57:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:57:12 Warning: overwriting stash ‘coverage-report’ 09:57:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:57:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:57:14 + ls -al . 09:57:14 total 708 09:57:14 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 09:47 . 09:57:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:43 .. 09:57:14 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:44 .dockerignore 09:57:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:44 .git 09:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:44 .github 09:57:14 -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:44 .gitignore 09:57:14 -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:44 .golangci.yml 09:57:14 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:44 CHANGELOG.md 09:57:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:44 GOVERNANCE.md 09:57:14 -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:44 Jenkinsfile 09:57:14 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:44 LICENSE 09:57:14 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:44 Makefile 09:57:14 -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:44 OWNERS.md 09:57:14 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:44 README.md 09:57:14 -rw-rw-r-- 1 jenkins jenkins 12 Oct 7 09:40 VERSION 09:57:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:44 bin 09:57:14 -rw-r--r-- 1 jenkins jenkins 466603 Oct 7 09:52 coverage.out 09:57:14 drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:44 example 09:57:14 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:44 go.mod 09:57:14 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:44 go.sum 09:57:14 drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:44 internal 09:57:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:44 openapi 09:57:14 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:44 pkg 09:57:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:44 snap 09:57:14 -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:14 + 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=e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 --label arch=arm64 --label version=3.2.0-dev.44 . 09:57:15 Sending build context to Docker daemon 13.64MB 09:57:15 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:57:15 Step 2/24 : FROM ${BASE} AS builder 09:57:15 ---> faf1afddffca 09:57:15 Step 3/24 : ARG MAKE=make build 09:57:15 ---> Running in fd65bcbf724b 09:57:15 Removing intermediate container fd65bcbf724b 09:57:15 ---> b48d8ccff550 09:57:15 Step 4/24 : WORKDIR /device-sdk-go 09:57:15 ---> Running in 37fd32c51db7 09:57:16 Removing intermediate container 37fd32c51db7 09:57:16 ---> ab47047a1d77 09:57:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:57:16 ---> Running in b5ecc84c8781 09:57:16 Removing intermediate container b5ecc84c8781 09:57:16 ---> 9535add190c6 09:57:16 Step 6/24 : RUN apk add --update --no-cache make git 09:57:16 ---> Running in f294c0780d44 09:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:57:20 OK: 238 MiB in 54 packages 09:57:20 Removing intermediate container f294c0780d44 09:57:20 ---> ced20c403945 09:57:20 Step 7/24 : COPY go.mod vendor* ./ 09:57:21 ---> dd8d280c48fe 09:57:21 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:57:21 ---> Running in c9ccc1a457b9 09:57:24 Removing intermediate container c9ccc1a457b9 09:57:24 ---> d7a22b5e2aa7 09:57:24 Step 9/24 : COPY . . 09:57:25 ---> 3897f8f0fb5b 09:57:25 Step 10/24 : RUN ${MAKE} 09:57:25 ---> Running in 977dda4ac402 09:57:26 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.44 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.44" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:01:33 Removing intermediate container 977dda4ac402 10:01:33 ---> b7137907c0dc 10:01:33 Step 11/24 : FROM alpine:3.20 10:01:33 3.20: Pulling from library/alpine 10:01:33 cf04c63912e1: Already exists 10:01:33 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:01:33 Status: Downloaded newer image for alpine:3.20 10:01:33 ---> c157a85ed455 10:01:33 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:01:33 ---> Running in e7eb6f02dfc9 10:01:33 Removing intermediate container e7eb6f02dfc9 10:01:33 ---> a21913274d9c 10:01:33 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:01:33 ---> Running in aa11af3f280f 10:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:01:33 (1/1) Installing dumb-init (1.2.5-r3) 10:01:33 Executing busybox-1.36.1-r29.trigger 10:01:33 OK: 9 MiB in 15 packages 10:01:33 Removing intermediate container aa11af3f280f 10:01:33 ---> 171969bb4942 10:01:33 Step 14/24 : RUN apk --no-cache upgrade 10:01:33 ---> Running in ee86d42ebb3b 10:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:01:33 Upgrading critical system libraries and apk-tools: 10:01:33 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:01:33 Executing busybox-1.36.1-r29.trigger 10:01:33 Continuing the upgrade transaction with new apk-tools: 10:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:01:33 OK: 9 MiB in 15 packages 10:01:33 Removing intermediate container ee86d42ebb3b 10:01:33 ---> 452700594e2f 10:01:33 Step 15/24 : WORKDIR / 10:01:33 ---> Running in 5beb2636ab92 10:01:33 Removing intermediate container 5beb2636ab92 10:01:33 ---> 88ab979b7580 10:01:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:01:33 ---> 916c28875c85 10:01:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:01:36 ---> a3d70d87a47a 10:01:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:01:36 ---> 2b84c922c4f7 10:01:36 Step 19/24 : EXPOSE 59999 10:01:36 ---> Running in bbbcf0a7fe70 10:01:37 Removing intermediate container bbbcf0a7fe70 10:01:37 ---> 2c4e4ccbb677 10:01:37 Step 20/24 : ENTRYPOINT ["/device-simple"] 10:01:37 ---> Running in 354bb879099f 10:01:37 Removing intermediate container 354bb879099f 10:01:37 ---> 16e25dbc3108 10:01:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:01:37 ---> Running in def8fc31fc50 10:01:37 Removing intermediate container def8fc31fc50 10:01:37 ---> e4ab0138943d 10:01:37 Step 22/24 : LABEL arch=arm64 10:01:37 ---> Running in 909e7ac08f74 10:01:38 Removing intermediate container 909e7ac08f74 10:01:38 ---> 04797b812f96 10:01:38 Step 23/24 : LABEL git_sha=e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 10:01:38 ---> Running in 914794aa6c67 10:01:38 Removing intermediate container 914794aa6c67 10:01:38 ---> 581891d6090d 10:01:38 Step 24/24 : LABEL version=3.2.0-dev.44 10:01:38 ---> Running in 99e1eaff3ef1 10:01:38 Removing intermediate container 99e1eaff3ef1 10:01:38 ---> 335b066012a8 10:01:38 [Warning] One or more build-args [ARCH] were not consumed 10:01:39 Successfully built 335b066012a8 10:01:39 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:01:39 10:01:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:01:40 arm64: Pulling from edgex-lftools-log-publisher 10:01:40 8998bd30e6a1: Pulling fs layer 10:01:40 04944245beec: Pulling fs layer 10:01:40 699f458cf7ca: Pulling fs layer 10:01:40 765212b225bb: Pulling fs layer 10:01:40 f23df028b6ca: Pulling fs layer 10:01:40 d65c8cfc05b1: Pulling fs layer 10:01:40 2437ff75d9bd: Pulling fs layer 10:01:40 d65c8cfc05b1: Waiting 10:01:40 765212b225bb: Waiting 10:01:40 f23df028b6ca: Waiting 10:01:40 2437ff75d9bd: Waiting 10:01:40 04944245beec: Verifying Checksum 10:01:40 04944245beec: Download complete 10:01:40 765212b225bb: Verifying Checksum 10:01:40 765212b225bb: Download complete 10:01:40 f23df028b6ca: Verifying Checksum 10:01:40 f23df028b6ca: Download complete 10:01:40 d65c8cfc05b1: Verifying Checksum 10:01:40 d65c8cfc05b1: Download complete 10:01:40 699f458cf7ca: Verifying Checksum 10:01:40 699f458cf7ca: Download complete 10:01:41 8998bd30e6a1: Verifying Checksum 10:01:41 8998bd30e6a1: Download complete 10:01:43 2437ff75d9bd: Verifying Checksum 10:01:43 2437ff75d9bd: Download complete 10:01:45 8998bd30e6a1: Pull complete 10:01:46 04944245beec: Pull complete 10:01:47 699f458cf7ca: Pull complete 10:01:47 765212b225bb: Pull complete 10:01:48 f23df028b6ca: Pull complete 10:01:49 d65c8cfc05b1: Pull complete 10:02:07 2437ff75d9bd: Pull complete 10:02:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:02:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:02:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:07 prd-ubuntu20.04-docker-arm64-4c-16g-22042 does not seem to be running inside a container 10:02:07 $ 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/319 -v /w/workspace/device-sdk-go/319:/w/workspace/device-sdk-go/319:rw,z -v /w/workspace/device-sdk-go/319@tmp:/w/workspace/device-sdk-go/319@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 10:02:10 $ docker top b55f97618c8fadd5f6290944e97327342aa9a4fccc56d9067ea7df7ab7e6d496 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:11 ---> job-cost.sh 10:02:11 lf-activate-venv: SKIPPING 10:02:11 INFO: No Stack... 10:02:12 INFO: Retrieving Pricing Info for: v3-standard-4 10:02:12 INFO: Archiving Costs [Pipeline] sh 10:02:13 + cat /w/workspace/device-sdk-go/319/archives/cost.csv 10:02:13 + cut -d, -f6 [Pipeline] lock 10:02:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-319-stack-cost] 10:02:13 Resource [jenkins-edgexfoundry-device-sdk-go-main-319-stack-cost] did not exist. Created. 10:02:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-319-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:14 /w/workspace/device-sdk-go/319@tmp/durable-e141f64c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:02:15 + echo total: 0.10999999940395355 [Pipeline] stash 10:02:15 Warning: overwriting stash ‘stack-cost’ 10:02:15 Stashed 1 file(s) [Pipeline] } 10:02:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-319-stack-cost] [Pipeline] // lock [Pipeline] } 10:02:15 $ docker stop --time=1 b55f97618c8fadd5f6290944e97327342aa9a4fccc56d9067ea7df7ab7e6d496 10:02:16 $ docker rm -f --volumes b55f97618c8fadd5f6290944e97327342aa9a4fccc56d9067ea7df7ab7e6d496 [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 10:02:17 provisioning config files... 10:02:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17069221751630393794tmp [Pipeline] { [Pipeline] sh 10:02:17 + set +x 10:02:17 + curl -s https://codecov.io/bash 10:02:17 + bash -s -- 10:02:17 10:02:17 _____ _ 10:02:17 / ____| | | 10:02:17 | | ___ __| | ___ ___ _____ __ 10:02:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:02:17 | |___| (_) | (_| | __/ (_| (_) \ V / 10:02:17 \_____\___/ \__,_|\___|\___\___/ \_/ 10:02:17 Bash-1.0.6 10:02:17 10:02:17 10:02:17 ==> git version 2.25.1 found 10:02:17 ==> 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 10:02:17 Release-Date: 2020-01-08 10:02:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:02:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:02:17 ==> Jenkins CI detected. 10:02:17 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 10:02:17 project root: . 10:02:17 --> token set from env 10:02:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:02:17 ==> Running gcov in . (disable via -X gcov) 10:02:17 ==> Python coveragepy not found 10:02:17 ==> Searching for coverage reports in: 10:02:17 + . 10:02:17 -> Found 1 reports 10:02:17 ==> Detecting git/mercurial file structure 10:02:18 ==> Reading reports 10:02:18 + ./coverage.out bytes=466603 10:02:18 ==> Appending adjustments 10:02:18 https://docs.codecov.io/docs/fixing-reports 10:02:18 + Found adjustments 10:02:18 ==> Gzipping contents 10:02:18 44K /tmp/codecov.xTRltA.gz 10:02:18 ==> Uploading reports 10:02:18 url: https://codecov.io 10:02:18 query: branch=main&commit=e658506bf7b56e90d0b690dd2c104c6ce7f51ac9&build=319&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F319%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:02:18 -> Pinging Codecov 10:02:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e658506bf7b56e90d0b690dd2c104c6ce7f51ac9&build=319&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F319%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:02:18 -> Uploading to 10:02:18 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/e658506bf7b56e90d0b690dd2c104c6ce7f51ac9/4af536ad-8e98-4810-b624-d8432e2e2adf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T100218Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=c3424e33477ed49d92fb0fb63765500523b861acb0522a2debe7f1adce9be40d 10:02:18 % Total % Received % Xferd Average Speed Time Time Time Current 10:02:18 Dload Upload Total Spent Left Speed 10:02:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 42479 0 0 100 42479 0 175k --:--:-- --:--:-- --:--:-- 175k 10:02:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 [Pipeline] } 10:02:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:02:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:02:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:02:19 10:02:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:02:19 latest: Pulling from edgex-devops/edgex-snyk-go 10:02:19 43c4264eed91: Already exists 10:02:19 4cc291be95ef: Already exists 10:02:19 2ac1f1163629: Already exists 10:02:19 5c3c966382ef: Already exists 10:02:19 4f4fb700ef54: Already exists 10:02:19 d9c7d2e4e75e: Pulling fs layer 10:02:19 9c3e1370e548: Pulling fs layer 10:02:19 d9c7d2e4e75e: Verifying Checksum 10:02:19 d9c7d2e4e75e: Download complete 10:02:19 d9c7d2e4e75e: Pull complete 10:02:20 9c3e1370e548: Verifying Checksum 10:02:20 9c3e1370e548: Download complete 10:02:23 9c3e1370e548: Pull complete 10:02:23 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 10:02:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:02:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:23 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 10:02:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 10:02:26 $ docker top 8d11cdba000e4b6babdaed879e16c66f0cf9cac6ac132c47ba997b6458e835d5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 10:02:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 10:02:27 + set -o pipefail 10:02:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 10:02:35 10:02:35 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 10:02:35 10:02:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/3939ae95-b628-45f9-811e-cc53810bff3b 10:02:35 10:02:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:02:35 10:02:35 10:02:35 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 10:02:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:02:35 $ docker stop --time=1 8d11cdba000e4b6babdaed879e16c66f0cf9cac6ac132c47ba997b6458e835d5 10:02:41 $ docker rm -f --volumes 8d11cdba000e4b6babdaed879e16c66f0cf9cac6ac132c47ba997b6458e835d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 10:02:42 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:42 provisioning config files... 10:02:42 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11786056025521129321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:42 --> edgex-publish-swagger.sh 10:02:42 === Publish openapi/v3 API === 10:02:42 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 10:02:42 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 10:02:42 % Total % Received % Xferd Average Speed Time Time Time Current 10:02:42 Dload Upload Total Spent Left Speed 10:02:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 261 62844 --:--:-- --:--:-- --:--:-- 63105 10:02:43 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 10:02:43 [Pipeline] } 10:02:43 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 10:02:43 + git log --format=format:%s -1 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 [Pipeline] sh 10:02:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:02:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:44 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 10:02:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:02:44 $ docker top 4e77af5044f3399644027fd10586f75955f3c241dcb0ce47c249a20243d9e8d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:45 [ssh-agent] Looking for ssh-agent implementation... 10:02:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:45 $ docker exec 4e77af5044f3399644027fd10586f75955f3c241dcb0ce47c249a20243d9e8d1 ssh-agent 10:02:45 SSH_AUTH_SOCK=/tmp/ssh-xgqRrYWdmJjM/agent.31 10:02:45 SSH_AGENT_PID=37 10:02:45 Running ssh-add (command line suppressed) 10:02:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_434232874246285134.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_434232874246285134.key) 10:02:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:45 + git semver tag 10:02:45 2024-10-07 10:02:45,834 [run_tag] DEBUG tag force:False 10:02:45 2024-10-07 10:02:45,834 [check_head_tag] DEBUG check head tag 10:02:45 2024-10-07 10:02:45,836 [execute] INFO git cat-file --batch-check 10:02:45 2024-10-07 10:02:45,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:02:45 2024-10-07 10:02:45,841 [execute] INFO git cat-file --batch 10:02:45 2024-10-07 10:02:45,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:02:45 2024-10-07 10:02:45,873 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:02:45 2024-10-07 10:02:45,873 [execute] INFO git tag -a v3.2.0-dev.44 -m v3.2.0-dev.44 10:02:45 2024-10-07 10:02:45,874 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.44', '-m', 'v3.2.0-dev.44'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 10:02:45 2024-10-07 10:02:45,879 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:02:45 3.2.0-dev.44 [Pipeline] } 10:02:45 $ docker exec --env ******** --env ******** 4e77af5044f3399644027fd10586f75955f3c241dcb0ce47c249a20243d9e8d1 ssh-agent -k 10:02:46 unset SSH_AUTH_SOCK; 10:02:46 unset SSH_AGENT_PID; 10:02:46 echo Agent pid 37 killed; 10:02:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:46 + git semver [Pipeline] } 10:02:46 $ docker stop --time=1 4e77af5044f3399644027fd10586f75955f3c241dcb0ce47c249a20243d9e8d1 10:02:47 $ docker rm -f --volumes 4e77af5044f3399644027fd10586f75955f3c241dcb0ce47c249a20243d9e8d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:02:48 10:02:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:02:48 0.23.1-centos7: Pulling from edgex-lftools 10:02:48 ab5ef0e58194: Pulling fs layer 10:02:48 9712f1f96733: Pulling fs layer 10:02:48 63f879dbbcfc: Pulling fs layer 10:02:48 0d9ebad4ef96: Pulling fs layer 10:02:48 e9a5061849ea: Pulling fs layer 10:02:48 d747dcd14b5f: Pulling fs layer 10:02:48 2de7ff778b66: Pulling fs layer 10:02:48 0d9ebad4ef96: Waiting 10:02:48 e9a5061849ea: Waiting 10:02:48 d747dcd14b5f: Waiting 10:02:48 2de7ff778b66: Waiting 10:02:48 9712f1f96733: Verifying Checksum 10:02:48 9712f1f96733: Download complete 10:02:49 63f879dbbcfc: Verifying Checksum 10:02:49 63f879dbbcfc: Download complete 10:02:49 e9a5061849ea: Verifying Checksum 10:02:49 e9a5061849ea: Download complete 10:02:49 d747dcd14b5f: Download complete 10:02:49 ab5ef0e58194: Verifying Checksum 10:02:49 ab5ef0e58194: Download complete 10:02:49 0d9ebad4ef96: Verifying Checksum 10:02:49 0d9ebad4ef96: Download complete 10:02:49 2de7ff778b66: Verifying Checksum 10:02:49 2de7ff778b66: Download complete 10:02:52 ab5ef0e58194: Pull complete 10:02:52 9712f1f96733: Pull complete 10:02:53 63f879dbbcfc: Pull complete 10:02:57 0d9ebad4ef96: Pull complete 10:02:57 e9a5061849ea: Pull complete 10:02:57 d747dcd14b5f: Pull complete 10:02:58 2de7ff778b66: Pull complete 10:02:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:02:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:02:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:59 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 10:02: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:03:05 $ docker top 1570f84d27aaec589ead1915c35c9e88c080b003f4fd1d9bc53bfc70b4d9765b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:03:06 provisioning config files... 10:03:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4717766355706059279tmp 10:03:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8404444956974839825tmp 10:03:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14859868428934633807tmp [Pipeline] { [Pipeline] echo 10:03:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:03:06 ---> sigul-configuration.sh 10:03:06 gpg: directory `/root/.gnupg' created 10:03:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:03:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:03:06 gpg: keyring `/root/.gnupg/secring.gpg' created 10:03:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:03:06 gpg: CAST5 encrypted data 10:03:06 gpg: encrypted with 1 passphrase 10:03:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:03:06 + mkdir /home/jenkins 10:03:06 + mkdir /home/jenkins/sigul [Pipeline] sh 10:03: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 10:03:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:03:07 ---> sigul-install.sh 10:03:07 Sigul already installed; skipping installation. [Pipeline] sh 10:03:07 + git tag --list 10:03:07 0.7.1 10:03:07 delhi-tag 10:03:07 v1.0.0 10:03:07 v1.1.0 10:03:07 v1.1.1 10:03:07 v1.1.2 10:03:07 v1.2.0 10:03:07 v1.2.1 10:03:07 v1.2.2 10:03:07 v1.2.3 10:03:07 v1.3.0 10:03:07 v1.4.0 10:03:07 v2.0.0 10:03:07 v2.1.0 10:03:07 v2.1.1 10:03:07 v2.2.0 10:03:07 v2.3.0 10:03:07 v2.3.1 10:03:07 v3.0 10:03:07 v3.0.0 10:03:07 v3.0.1-dev.1 10:03:07 v3.1 10:03:07 v3.1.0 10:03:07 v3.1.0-dev.1 10:03:07 v3.1.0-dev.10 10:03:07 v3.1.0-dev.11 10:03:07 v3.1.0-dev.12 10:03:07 v3.1.0-dev.13 10:03:07 v3.1.0-dev.14 10:03:07 v3.1.0-dev.15 10:03:07 v3.1.0-dev.16 10:03:07 v3.1.0-dev.17 10:03:07 v3.1.0-dev.18 10:03:07 v3.1.0-dev.19 10:03:07 v3.1.0-dev.2 10:03:07 v3.1.0-dev.20 10:03:07 v3.1.0-dev.21 10:03:07 v3.1.0-dev.22 10:03:07 v3.1.0-dev.23 10:03:07 v3.1.0-dev.24 10:03:07 v3.1.0-dev.25 10:03:07 v3.1.0-dev.26 10:03:07 v3.1.0-dev.27 10:03:07 v3.1.0-dev.28 10:03:07 v3.1.0-dev.29 10:03:07 v3.1.0-dev.3 10:03:07 v3.1.0-dev.30 10:03:07 v3.1.0-dev.31 10:03:07 v3.1.0-dev.32 10:03:07 v3.1.0-dev.33 10:03:07 v3.1.0-dev.34 10:03:07 v3.1.0-dev.35 10:03:07 v3.1.0-dev.36 10:03:07 v3.1.0-dev.37 10:03:07 v3.1.0-dev.38 10:03:07 v3.1.0-dev.39 10:03:07 v3.1.0-dev.4 10:03:07 v3.1.0-dev.40 10:03:07 v3.1.0-dev.41 10:03:07 v3.1.0-dev.5 10:03:07 v3.1.0-dev.6 10:03:07 v3.1.0-dev.7 10:03:07 v3.1.0-dev.8 10:03:07 v3.1.0-dev.9 10:03:07 v3.1.1 10:03:07 v3.1.1-dev.1 10:03:07 v3.2.0-dev.1 10:03:07 v3.2.0-dev.10 10:03:07 v3.2.0-dev.11 10:03:07 v3.2.0-dev.12 10:03:07 v3.2.0-dev.13 10:03:07 v3.2.0-dev.14 10:03:07 v3.2.0-dev.15 10:03:07 v3.2.0-dev.16 10:03:07 v3.2.0-dev.17 10:03:07 v3.2.0-dev.18 10:03:07 v3.2.0-dev.19 10:03:07 v3.2.0-dev.2 10:03:07 v3.2.0-dev.20 10:03:07 v3.2.0-dev.21 10:03:07 v3.2.0-dev.22 10:03:07 v3.2.0-dev.23 10:03:07 v3.2.0-dev.24 10:03:07 v3.2.0-dev.25 10:03:07 v3.2.0-dev.26 10:03:07 v3.2.0-dev.27 10:03:07 v3.2.0-dev.28 10:03:07 v3.2.0-dev.29 10:03:07 v3.2.0-dev.3 10:03:07 v3.2.0-dev.30 10:03:07 v3.2.0-dev.31 10:03:07 v3.2.0-dev.32 10:03:07 v3.2.0-dev.33 10:03:07 v3.2.0-dev.34 10:03:07 v3.2.0-dev.35 10:03:07 v3.2.0-dev.36 10:03:07 v3.2.0-dev.37 10:03:07 v3.2.0-dev.38 10:03:07 v3.2.0-dev.39 10:03:07 v3.2.0-dev.4 10:03:07 v3.2.0-dev.40 10:03:07 v3.2.0-dev.41 10:03:07 v3.2.0-dev.42 10:03:07 v3.2.0-dev.43 10:03:07 v3.2.0-dev.44 10:03:07 v3.2.0-dev.5 10:03:07 v3.2.0-dev.6 10:03:07 v3.2.0-dev.7 10:03:07 v3.2.0-dev.8 10:03:07 v3.2.0-dev.9 [Pipeline] sh 10:03:08 + lftools sign git-tag v3.2.0-dev.44 10:03:08 Signing Git tag with Sigul... 10:03:08 Signing v3.2.0-dev.44 [Pipeline] echo 10:03:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:03:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:03:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:03:09 $ docker stop --time=1 1570f84d27aaec589ead1915c35c9e88c080b003f4fd1d9bc53bfc70b4d9765b 10:03:10 $ docker rm -f --volumes 1570f84d27aaec589ead1915c35c9e88c080b003f4fd1d9bc53bfc70b4d9765b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:03:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:03:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:11 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 10:03: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:03:11 $ docker top 247914286fedcf7fa4fecbe8e6fbbca6e45314329682bc9ba97bd3bcef68f399 -eo pid,comm 10:03: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). 10:03:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:03:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:03:12 [ssh-agent] Looking for ssh-agent implementation... 10:03:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:03:12 $ docker exec 247914286fedcf7fa4fecbe8e6fbbca6e45314329682bc9ba97bd3bcef68f399 ssh-agent 10:03:12 SSH_AUTH_SOCK=/tmp/ssh-KmYYFsWPjK4G/agent.32 10:03:12 SSH_AGENT_PID=38 10:03:12 Running ssh-add (command line suppressed) 10:03:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12109196250884536670.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12109196250884536670.key) 10:03:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:03:12 + git semver bump pre 10:03:13 2024-10-07 10:03:12,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:03:13 2024-10-07 10:03:12,935 [bump_version] DEBUG bumping version:3.2.0-dev.44 on axis:pre with prefix:dev 10:03:13 2024-10-07 10:03:12,935 [bump_version] DEBUG bumped version:3.2.0-dev.45 10:03:13 2024-10-07 10:03:12,935 [write_version] DEBUG write version:3.2.0-dev.45 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 10:03:13 2024-10-07 10:03:12,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:03:13 2024-10-07 10:03:12,935 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:03:13 2024-10-07 10:03:12,937 [execute] INFO git cat-file --batch-check 10:03:13 2024-10-07 10:03:12,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:03:13 2024-10-07 10:03:12,943 [execute] INFO git cat-file --batch 10:03:13 2024-10-07 10:03:12,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:03:13 2024-10-07 10:03:12,949 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:03:13 3.2.0-dev.45 [Pipeline] } 10:03:13 $ docker exec --env ******** --env ******** 247914286fedcf7fa4fecbe8e6fbbca6e45314329682bc9ba97bd3bcef68f399 ssh-agent -k 10:03:13 unset SSH_AUTH_SOCK; 10:03:13 unset SSH_AGENT_PID; 10:03:13 echo Agent pid 38 killed; 10:03:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:03:13 + git semver [Pipeline] } 10:03:13 $ docker stop --time=1 247914286fedcf7fa4fecbe8e6fbbca6e45314329682bc9ba97bd3bcef68f399 10:03:15 $ docker rm -f --volumes 247914286fedcf7fa4fecbe8e6fbbca6e45314329682bc9ba97bd3bcef68f399 [Pipeline] // withDockerContainer [Pipeline] sh 10:03:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:03:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:03:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:15 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 10:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:03:16 $ docker top 36af2dfa124b8c2e41395906c9cbb12efd6d43a77d550961b9656328c6edf5ff -eo pid,comm 10:03:16 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). 10:03:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:03:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:03:16 [ssh-agent] Looking for ssh-agent implementation... 10:03:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:03:16 $ docker exec 36af2dfa124b8c2e41395906c9cbb12efd6d43a77d550961b9656328c6edf5ff ssh-agent 10:03:16 SSH_AUTH_SOCK=/tmp/ssh-ghGIW0nFAt8U/agent.32 10:03:16 SSH_AGENT_PID=38 10:03:16 Running ssh-add (command line suppressed) 10:03:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15768142720756288565.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15768142720756288565.key) 10:03:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:03:16 + git semver push 10:03:17 2024-10-07 10:03:17,146 [run_push] DEBUG push 10:03:17 2024-10-07 10:03:17,147 [execute] INFO git cat-file --batch-check 10:03:17 2024-10-07 10:03:17,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:03:17 2024-10-07 10:03:17,152 [execute] INFO git rev-list 8927f79243df1bc1170b3a0e06bb1c645ba438aa -- 10:03:17 2024-10-07 10:03:17,152 [execute] DEBUG Popen(['git', 'rev-list', '8927f79243df1bc1170b3a0e06bb1c645ba438aa', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:03:17 2024-10-07 10:03:17,166 [execute] INFO git fetch -v origin 10:03:17 2024-10-07 10:03:17,167 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:03:17 2024-10-07 10:03:17,620 [run_push] DEBUG no remote changes detected 10:03:17 2024-10-07 10:03:17,621 [execute] INFO git push origin semver 10:03:17 2024-10-07 10:03:17,621 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:03:18 2024-10-07 10:03:18,412 [run_push] DEBUG push all version tags 10:03:18 2024-10-07 10:03:18,413 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:03:18 2024-10-07 10:03:18,413 [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) 10:03:19 2024-10-07 10:03:19,132 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:03:19 3.2.0-dev.45 [Pipeline] } 10:03:19 $ docker exec --env ******** --env ******** 36af2dfa124b8c2e41395906c9cbb12efd6d43a77d550961b9656328c6edf5ff ssh-agent -k 10:03:19 unset SSH_AUTH_SOCK; 10:03:19 unset SSH_AGENT_PID; 10:03:19 echo Agent pid 38 killed; 10:03:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:03:19 + git semver [Pipeline] } 10:03:20 $ docker stop --time=1 36af2dfa124b8c2e41395906c9cbb12efd6d43a77d550961b9656328c6edf5ff 10:03:21 $ docker rm -f --volumes 36af2dfa124b8c2e41395906c9cbb12efd6d43a77d550961b9656328c6edf5ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:03:22 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 10:03:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:03:22 total 16 10:03:22 drwxr-xr-x 3 root root 4096 Oct 7 09:45 . 10:03:22 drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 10:03 .. 10:03:22 drwxr-xr-x 2 root root 4096 Oct 7 09:45 cost 10:03:22 -rw-r--r-- 1 root root 85 Oct 7 09:45 cost.csv 10:03:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:03:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:03:22 total 16 10:03:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:45 . 10:03:22 drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 10:03 .. 10:03:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 09:45 cost 10:03:22 -rw-r--r-- 1 jenkins jenkins 85 Oct 7 09:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:03:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:03:23 ---> package-listing.sh 10:03:23 ++ facter osfamily 10:03:23 ++ tr '[:upper:]' '[:lower:]' 10:03:23 + OS_FAMILY=debian 10:03:23 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 10:03:23 + START_PACKAGES=/tmp/packages_start.txt 10:03:23 + END_PACKAGES=/tmp/packages_end.txt 10:03:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:03:23 + PACKAGES=/tmp/packages_start.txt 10:03:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:03:23 + PACKAGES=/tmp/packages_end.txt 10:03:23 + case "${OS_FAMILY}" in 10:03:23 + dpkg -l 10:03:23 + grep '^ii' 10:03:23 + '[' -f /tmp/packages_start.txt ']' 10:03:23 + '[' -f /tmp/packages_end.txt ']' 10:03:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:03:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:03:23 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 10:03:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 10:03:23 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 10:03:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:24 prd-ubuntu20.04-docker-8c-8g-22039 does not seem to be running inside a container 10:03:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:03:24 $ docker top d8e1d3105917b0c567c0538626306dcad3cca11a87368683ee7a9768aa12fd12 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:25 + touch /tmp/pre-build-complete [Pipeline] sh 10:03:25 + mkdir -p /var/log/sysstat [Pipeline] sh 10:03:25 + ls /var/log/sa-host 10:03:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:03:25 provisioning config files... 10:03:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1947603187088590073tmp [Pipeline] { [Pipeline] echo 10:03:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:03:25 ---> create-netrc.sh [Pipeline] } 10:03:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:03:26 ---> python-tools-install.sh [Pipeline] echo 10:03:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:03:26 ---> sudo-logs.sh 10:03:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:03:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:03:26 ---> job-cost.sh 10:03:26 lf-activate-venv: SKIPPING 10:03:26 DEBUG: total: 0.2199999988079071 10:03:26 INFO: Retrieving Stack Cost... 10:03:27 INFO: Retrieving Pricing Info for: v3-standard-8 10:03:27 INFO: Archiving Costs [Pipeline] echo 10:03:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:03:28 ---> logs-deploy.sh 10:03:28 lf-activate-venv: SKIPPING 10:03:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/319 10:03:28 INFO: archiving workspace using pattern(s): 10:03:29 Archives upload complete. 10:03:29 INFO: archiving logs to Nexus