Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a2adfdc09e477498866130aea83da6ea448c3108 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-ssh4824451230885620555.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-ssh4305089653258764790.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-ssh12492583577130321940.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-ssh6871385978975601834.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-ssh14157517011059996704.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24299’ Running on prd-ubuntu20.04-docker-8c-8g-24302 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a2adfdc09e477498866130aea83da6ea448c3108 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2adfdc09e477498866130aea83da6ea448c3108 # timeout=10 Commit message: "Merge pull request #1644 from weichou1229/on-change-threshold" > git rev-list --no-walk a0938cd2ac4963db8301e48aca9045440aa630af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:43:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:43:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:43:04 ========================================================= 08:43:04 EdgeX Global Pipelines Version Info 08:43:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:43:05 ------------------- 08:43:05 stable info: 08:43:05 ------------------- 08:43:05 Commited By: Ginny Guan ginny@iotechsys.com 08:43:05 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:43:05 Message: update stable to v1.0.265 08:43:06 ------------------- 08:43:06 experimental info: 08:43:06 ------------------- 08:43:06 Commited By: Cherry Wang cherry@iotechsys.com 08:43:06 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:43:06 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:43:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2adfdc09e477498866130aea83da6ea448c3108 [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2adfdc [Pipeline] echo 08:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:07 provisioning config files... 08:43:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17551971735446274287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:07 ---> ****-login.sh 08:43:07 nexus3.edgexfoundry.org:10001 08:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:07 Configure a credential helper to remove this warning. See 08:43:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:07 08:43:07 Login Succeeded 08:43:07 nexus3.edgexfoundry.org:10002 08:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:07 Configure a credential helper to remove this warning. See 08:43:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:07 08:43:07 Login Succeeded 08:43:07 nexus3.edgexfoundry.org:10003 08:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:08 Configure a credential helper to remove this warning. See 08:43:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:08 08:43:08 Login Succeeded 08:43:08 nexus3.edgexfoundry.org:10004 08:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:08 Configure a credential helper to remove this warning. See 08:43:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:08 08:43:08 Login Succeeded 08:43:08 ****.io 08:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:14 Configure a credential helper to remove this warning. See 08:43:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:14 08:43:14 Login Succeeded 08:43:14 ---> ****-login.sh ends [Pipeline] } 08:43:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:43:15 + git rev-list -1 --merges a2adfdc09e477498866130aea83da6ea448c3108~1..a2adfdc09e477498866130aea83da6ea448c3108 [Pipeline] echo 08:43:15 -----------> git rev-list -1 --merges a2adfdc09e477498866130aea83da6ea448c3108~1..a2adfdc09e477498866130aea83da6ea448c3108 a2adfdc09e477498866130aea83da6ea448c3108 08:43:15 a2adfdc09e477498866130aea83da6ea448c3108 [false] [Pipeline] sh 08:43:15 + git log --format=format:%s -1 a2adfdc09e477498866130aea83da6ea448c3108 [Pipeline] echo 08:43:15 ========================================================= 08:43:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:43:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:16 + git log --format=format:%s -1 a2adfdc09e477498866130aea83da6ea448c3108 [Pipeline] echo 08:43:16 [semverPrep] GIT_COMMIT: a2adfdc09e477498866130aea83da6ea448c3108, Commit Message: Merge pull request #1644 from weichou1229/on-change-threshold [Pipeline] echo 08:43:16 [semverPrep] This is not a build commit. [Pipeline] sh 08:43:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:43:16 + grep -v github /etc/ssh/ssh_known_hosts 08:43:16 + [ -e /tmp/ssh_known_hosts ] 08:43:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:43:16 + + sudo tee -a /etc/ssh/ssh_known_hosts 08:43:16 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:43:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:43:16 08:43:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:43:17 0.1.4: Pulling from edgex-devops/py-git-semver 08:43:17 b85a868b505f: Pulling fs layer 08:43:17 e2be974225ed: Pulling fs layer 08:43:17 339a4e72a1f5: Pulling fs layer 08:43:17 988bab9f4d93: Pulling fs layer 08:43:17 1469e6f7b9e6: Pulling fs layer 08:43:17 eaf3925da568: Pulling fs layer 08:43:17 bab4dde63d76: Pulling fs layer 08:43:17 bde34c3a00c8: Pulling fs layer 08:43:17 b352a97aabf1: Pulling fs layer 08:43:17 4872d77fe225: Pulling fs layer 08:43:17 5851b861e8e6: Pulling fs layer 08:43:17 eaf3925da568: Waiting 08:43:17 1469e6f7b9e6: Waiting 08:43:17 bab4dde63d76: Waiting 08:43:17 5851b861e8e6: Waiting 08:43:17 4872d77fe225: Waiting 08:43:17 988bab9f4d93: Waiting 08:43:17 bde34c3a00c8: Waiting 08:43:17 b352a97aabf1: Waiting 08:43:17 e2be974225ed: Verifying Checksum 08:43:17 e2be974225ed: Download complete 08:43:17 988bab9f4d93: Verifying Checksum 08:43:17 988bab9f4d93: Download complete 08:43:17 1469e6f7b9e6: Verifying Checksum 08:43:17 1469e6f7b9e6: Download complete 08:43:17 339a4e72a1f5: Verifying Checksum 08:43:17 339a4e72a1f5: Download complete 08:43:17 eaf3925da568: Verifying Checksum 08:43:17 eaf3925da568: Download complete 08:43:17 bde34c3a00c8: Verifying Checksum 08:43:17 bde34c3a00c8: Download complete 08:43:17 b352a97aabf1: Download complete 08:43:17 4872d77fe225: Download complete 08:43:17 5851b861e8e6: Verifying Checksum 08:43:17 5851b861e8e6: Download complete 08:43:17 b85a868b505f: Download complete 08:43:18 bab4dde63d76: Verifying Checksum 08:43:18 bab4dde63d76: Download complete 08:43:18 b85a868b505f: Pull complete 08:43:18 e2be974225ed: Pull complete 08:43:19 339a4e72a1f5: Pull complete 08:43:19 988bab9f4d93: Pull complete 08:43:19 1469e6f7b9e6: Pull complete 08:43:19 eaf3925da568: Pull complete 08:43:21 bab4dde63d76: Pull complete 08:43:21 bde34c3a00c8: Pull complete 08:43:21 b352a97aabf1: Pull complete 08:43:21 4872d77fe225: Pull complete 08:43:21 5851b861e8e6: Pull complete 08:43:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:43:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:43:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:43:21 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 08:43:21 $ 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 08:43:24 $ docker top 0493f002c1fcb711db226c8829d63de4f20301c836d2fd28fa96be1aa864c08a -eo pid,comm 08:43:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:43:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:43:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:24 [ssh-agent] Looking for ssh-agent implementation... 08:43:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:24 $ docker exec 0493f002c1fcb711db226c8829d63de4f20301c836d2fd28fa96be1aa864c08a ssh-agent 08:43:24 SSH_AUTH_SOCK=/tmp/ssh-XkruMNgJ1a6V/agent.32 08:43:24 SSH_AGENT_PID=38 08:43:24 Running ssh-add (command line suppressed) 08:43:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12266235245383567174.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12266235245383567174.key) 08:43:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:25 + git tag --points-at HEAD [Pipeline] } 08:43:25 $ docker exec --env ******** --env ******** 0493f002c1fcb711db226c8829d63de4f20301c836d2fd28fa96be1aa864c08a ssh-agent -k 08:43:25 unset SSH_AUTH_SOCK; 08:43:25 unset SSH_AGENT_PID; 08:43:25 echo Agent pid 38 killed; 08:43:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:43:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:25 [ssh-agent] Looking for ssh-agent implementation... 08:43:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:25 $ docker exec 0493f002c1fcb711db226c8829d63de4f20301c836d2fd28fa96be1aa864c08a ssh-agent 08:43:25 SSH_AUTH_SOCK=/tmp/ssh-YhEoeGhfPPgW/agent.71 08:43:25 SSH_AGENT_PID=77 08:43:25 Running ssh-add (command line suppressed) 08:43:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8195022077738027263.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8195022077738027263.key) 08:43:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:25 + git semver init 08:43:26 2024-11-01 08:43:26,089 [run_init] DEBUG init version:0.0.0 force:False 08:43:26 2024-11-01 08:43:26,090 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:43:26 2024-11-01 08:43:26,090 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:43:26 2024-11-01 08:43:26,090 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 08:43:28 2024-11-01 08:43:28,124 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 08:43:28 2024-11-01 08:43:28,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 08:43:28 2024-11-01 08:43:28,125 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:43:28 2024-11-01 08:43:28,125 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:43:28 4.0.0-dev.3 [Pipeline] } 08:43:28 $ docker exec --env ******** --env ******** 0493f002c1fcb711db226c8829d63de4f20301c836d2fd28fa96be1aa864c08a ssh-agent -k 08:43:28 unset SSH_AUTH_SOCK; 08:43:28 unset SSH_AGENT_PID; 08:43:28 echo Agent pid 77 killed; 08:43:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:43:29 + git semver [Pipeline] } 08:43:29 $ docker stop --time=1 0493f002c1fcb711db226c8829d63de4f20301c836d2fd28fa96be1aa864c08a 08:43:30 $ docker rm -f --volumes 0493f002c1fcb711db226c8829d63de4f20301c836d2fd28fa96be1aa864c08a [Pipeline] // withDockerContainer [Pipeline] sh 08:43:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:43:31 Stashed 1 file(s) [Pipeline] echo 08:43:31 [edgeXSemver]: initialized semver on version 4.0.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:31 provisioning config files... 08:43:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8360889899042351652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:31 ---> ****-login.sh 08:43:31 nexus3.edgexfoundry.org:10001 08:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:31 Configure a credential helper to remove this warning. See 08:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:31 08:43:31 Login Succeeded 08:43:31 nexus3.edgexfoundry.org:10002 08:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:31 Configure a credential helper to remove this warning. See 08:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:31 08:43:31 Login Succeeded 08:43:31 nexus3.edgexfoundry.org:10003 08:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:32 Configure a credential helper to remove this warning. See 08:43:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:32 08:43:32 Login Succeeded 08:43:32 nexus3.edgexfoundry.org:10004 08:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:32 Configure a credential helper to remove this warning. See 08:43:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:32 08:43:32 Login Succeeded 08:43:32 ****.io 08:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:33 Configure a credential helper to remove this warning. See 08:43:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:33 08:43:33 Login Succeeded 08:43:33 ---> ****-login.sh ends [Pipeline] } 08:43:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:43:33 ========================================================= 08:43:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:43:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:33 + 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 . 08:43:33 Sending build context to Docker daemon 25.57MB 08:43:33 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:43:33 Step 2/10 : FROM ${BASE} AS builder 08:43:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:43:33 43c4264eed91: Pulling fs layer 08:43:33 4cc291be95ef: Pulling fs layer 08:43:33 2ac1f1163629: Pulling fs layer 08:43:33 5c3c966382ef: Pulling fs layer 08:43:33 4f4fb700ef54: Pulling fs layer 08:43:33 5d5c8e513c77: Pulling fs layer 08:43:33 9f66e0745190: Pulling fs layer 08:43:33 f49a43e4bbc0: Pulling fs layer 08:43:33 561ebcabdf7f: Pulling fs layer 08:43:33 5c3c966382ef: Waiting 08:43:33 4f4fb700ef54: Waiting 08:43:33 f49a43e4bbc0: Waiting 08:43:33 561ebcabdf7f: Waiting 08:43:33 5d5c8e513c77: Waiting 08:43:33 4cc291be95ef: Download complete 08:43:33 5c3c966382ef: Verifying Checksum 08:43:33 5c3c966382ef: Download complete 08:43:33 4f4fb700ef54: Verifying Checksum 08:43:33 4f4fb700ef54: Download complete 08:43:33 5d5c8e513c77: Verifying Checksum 08:43:33 5d5c8e513c77: Download complete 08:43:33 43c4264eed91: Download complete 08:43:33 9f66e0745190: Verifying Checksum 08:43:33 9f66e0745190: Download complete 08:43:34 43c4264eed91: Pull complete 08:43:34 4cc291be95ef: Pull complete 08:43:34 561ebcabdf7f: Download complete 08:43:34 2ac1f1163629: Verifying Checksum 08:43:34 2ac1f1163629: Download complete 08:43:34 f49a43e4bbc0: Verifying Checksum 08:43:34 f49a43e4bbc0: Download complete 08:43:37 2ac1f1163629: Pull complete 08:43:37 5c3c966382ef: Pull complete 08:43:37 4f4fb700ef54: Pull complete 08:43:37 5d5c8e513c77: Pull complete 08:43:38 9f66e0745190: Pull complete 08:43:40 f49a43e4bbc0: Pull complete 08:43:40 561ebcabdf7f: Pull complete 08:43:40 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:43:40 ---> 3a752c3f9dda 08:43:40 Step 3/10 : ARG MAKE=make build 08:43:46 Still waiting to schedule task 08:43:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24300’ 08:43:47 ---> Running in 69abb866de2f 08:43:47 Removing intermediate container 69abb866de2f 08:43:47 ---> 3648cae20cfc 08:43:47 Step 4/10 : WORKDIR /device-sdk-go 08:43:47 ---> Running in bc55c4307070 08:43:47 Removing intermediate container bc55c4307070 08:43:47 ---> 540e24a26a37 08:43:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:43:48 ---> Running in 860706a3b42b 08:43:48 Removing intermediate container 860706a3b42b 08:43:48 ---> c6306f2ae524 08:43:48 Step 6/10 : RUN apk add --update --no-cache make git 08:43:48 ---> Running in 2190b29ae21c 08:43:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:43:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:43:49 OK: 246 MiB in 54 packages 08:43:50 Removing intermediate container 2190b29ae21c 08:43:50 ---> 162c68234fe4 08:43:50 Step 7/10 : COPY go.mod vendor* ./ 08:43:50 ---> ccfeb4c4bae8 08:43:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:43:50 ---> Running in 91ce67b59a25 08:44:46 Removing intermediate container 91ce67b59a25 08:44:46 ---> a9477938e5c2 08:44:46 Step 9/10 : COPY . . 08:44:46 ---> c84845fe7b7b 08:44:46 Step 10/10 : RUN ${MAKE} 08:44:46 ---> Running in 246010c6f9b6 08:44:46 noop 08:44:46 Removing intermediate container 246010c6f9b6 08:44:46 ---> e8ae917225de 08:44:46 Successfully built e8ae917225de 08:44:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:47 + docker inspect -f . ci-base-image-x86_64 08:44:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:47 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 08:44:47 $ 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 08:44:47 $ docker top f04095eb76f18d04cfb2b71bb340913032ae1bb1519604794dd0ad9dd676e8e8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:47 + go version 08:44:47 go version go1.23.2 linux/amd64 [Pipeline] } 08:44:47 $ docker stop --time=1 f04095eb76f18d04cfb2b71bb340913032ae1bb1519604794dd0ad9dd676e8e8 08:44:49 $ docker rm -f --volumes f04095eb76f18d04cfb2b71bb340913032ae1bb1519604794dd0ad9dd676e8e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:49 + docker inspect -f . ci-base-image-x86_64 08:44:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:49 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 08:44:49 $ 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 08:44:50 $ docker top a89e2b67ed15c29c97e1141c31cbd022231a61c2567325222cb96e0c74ed1921 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 08:44:50 + make test 08:44:50 go test -race -coverprofile=coverage.out ./... 08:44:58 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 08:45:31 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.038s coverage: 28.7% of statements 08:45:31 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.038s coverage: 79.4% of statements 08:45:31 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.055s coverage: 86.0% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 08:45:31 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 08:45:31 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.106s coverage: 45.2% of statements 08:45:31 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 08:45:32 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.049s coverage: 14.1% of statements 08:45:32 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.952s coverage: 44.6% of statements 08:45:32 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.056s coverage: 68.4% of statements 08:45:32 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.114s coverage: 88.3% of statements 08:45:32 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.053s coverage: 5.3% of statements 08:46:11 GO111MODULE=on go vet ./... 08:46:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:46:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:46:11 ./bin/test-attribution-txt.sh [Pipeline] echo 08:46:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:46:11 $ docker stop --time=1 a89e2b67ed15c29c97e1141c31cbd022231a61c2567325222cb96e0c74ed1921 08:46:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24305 in /w/workspace/edgexfoundry_device-sdk-go_main 08:46:18 $ docker rm -f --volumes a89e2b67ed15c29c97e1141c31cbd022231a61c2567325222cb96e0c74ed1921 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 08:46:18 Running in /w/workspace/device-sdk-go/326 [Pipeline] { [Pipeline] checkout 08:46:18 The recommended git tool is: git 08:46:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:46:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:46:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:46:19 + ls -al . 08:46:19 total 704 08:46:19 drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 08:44 . 08:46:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 08:42 .. 08:46:19 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 08:43 .dockerignore 08:46:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 08:45 .git 08:46:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 08:43 .github 08:46:19 -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 08:43 .gitignore 08:46:19 -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 08:43 .golangci.yml 08:46:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 08:43 .semver 08:46:19 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 08:43 CHANGELOG.md 08:46:19 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 08:43 GOVERNANCE.md 08:46:19 -rw-rw-r-- 1 jenkins jenkins 882 Nov 1 08:43 Jenkinsfile 08:46:19 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 08:43 LICENSE 08:46:19 -rw-rw-r-- 1 jenkins jenkins 2379 Nov 1 08:43 Makefile 08:46:19 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 08:43 OWNERS.md 08:46:19 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 1 08:43 README.md 08:46:19 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 08:43 VERSION 08:46:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 08:43 bin 08:46:19 -rw-r--r-- 1 jenkins jenkins 468087 Nov 1 08:45 coverage.out 08:46:19 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 08:43 example 08:46:19 -rw-rw-r-- 1 jenkins jenkins 6278 Nov 1 08:43 go.mod 08:46:19 -rw-rw-r-- 1 jenkins jenkins 87873 Nov 1 08:43 go.sum 08:46:19 drwxrwxr-x 13 jenkins jenkins 4096 Nov 1 08:43 internal 08:46:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 08:43 openapi 08:46:19 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 08:43 pkg 08:46:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 08:43 snap 08:46:19 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 08:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:20 + 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=a2adfdc09e477498866130aea83da6ea448c3108 --label arch=amd64 --label version=4.0.0-dev.3 . 08:46:20 Sending build context to Docker daemon 26.04MB 08:46:20 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 08:46:20 Step 2/24 : FROM ${BASE} AS builder 08:46:20 ---> e8ae917225de 08:46:20 Step 3/24 : ARG MAKE=make build 08:46:21 ---> Running in 6051b6eb852a 08:46:21 Removing intermediate container 6051b6eb852a 08:46:21 ---> 1ee4b8365faa 08:46:21 Step 4/24 : WORKDIR /device-sdk-go 08:46:21 ---> Running in 827dd800c280 08:46:21 Removing intermediate container 827dd800c280 08:46:21 ---> ea085710d894 08:46:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:46:21 ---> Running in 211e7ab80448 08:46:22 Removing intermediate container 211e7ab80448 08:46:22 ---> 3c852b0a8d7a 08:46:22 Step 6/24 : RUN apk add --update --no-cache make git 08:46:22 ---> Running in 4463d63daa6e 08:46:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:46:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:46:23 OK: 246 MiB in 54 packages 08:46:23 Removing intermediate container 4463d63daa6e 08:46:23 ---> 7b13b5fb9c33 08:46:23 Step 7/24 : COPY go.mod vendor* ./ 08:46:23 ---> 065fdaa51fcc 08:46:23 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:46:24 ---> Running in 314b83caa3ce 08:46:24 using credential edgex-jenkins-ssh 08:46:24 Cloning the remote Git repository 08:46:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:46:24 > git init /w/workspace/device-sdk-go/326 # timeout=10 08:46:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:24 > git --version # timeout=10 08:46:24 > git --version # 'git version 2.25.1' 08:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:25 Removing intermediate container 314b83caa3ce 08:46:25 ---> e175a3a6ea14 08:46:25 Step 9/24 : COPY . . 08:46:26 ---> 0bf2147868b2 08:46:26 Step 10/24 : RUN ${MAKE} 08:46:26 ---> Running in 8eddc380e1d5 08:46:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:26 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.0.0-dev.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:46:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:29 Avoid second fetch 08:46:29 Checking out Revision a2adfdc09e477498866130aea83da6ea448c3108 (main) 08:46:30 Commit message: "Merge pull request #1644 from weichou1229/on-change-threshold" 08:46:29 > git config core.sparsecheckout # timeout=10 08:46:29 > git checkout -f a2adfdc09e477498866130aea83da6ea448c3108 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:46:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:46:35 % Total % Received % Xferd Average Speed Time Time Time Current 08:46:35 Dload Upload Total Spent Left Speed 08:46:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 08:46:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:46:35 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 08:46:35 08:46:35 { 08:46:35 "registry-mirrors": [ 08:46:35 "https://nexus3.edgexfoundry.org:10001" 08:46:35 ], 08:46:35 "bip": "10.250.0.254/24", 08:46:35 "hosts": [ 08:46:35 "tcp://0.0.0.0:5555", 08:46:35 "unix:///var/run/docker.sock" 08:46:35 ], 08:46:35 "mtu": 1458, 08:46:35 "selinux-enabled": true, 08:46:35 "seccomp-profile": "/etc/docker/seccomp.json" 08:46:35 } [Pipeline] sh 08:46:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:46:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:54 provisioning config files... 08:46:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/326@tmp/config13226140385488263076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:55 ---> ****-login.sh 08:46:55 nexus3.edgexfoundry.org:10001 08:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:56 Configure a credential helper to remove this warning. See 08:46:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:56 08:46:56 Login Succeeded 08:46:56 nexus3.edgexfoundry.org:10002 08:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:56 Configure a credential helper to remove this warning. See 08:46:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:56 08:46:56 Login Succeeded 08:46:56 nexus3.edgexfoundry.org:10003 08:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:56 Configure a credential helper to remove this warning. See 08:46:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:56 08:46:56 Login Succeeded 08:46:56 nexus3.edgexfoundry.org:10004 08:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:57 Configure a credential helper to remove this warning. See 08:46:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:57 08:46:57 Login Succeeded 08:46:57 ****.io 08:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:57 Configure a credential helper to remove this warning. See 08:46:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:57 08:46:57 Login Succeeded 08:46:57 ---> ****-login.sh ends [Pipeline] } 08:46:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:46:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:46:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:46:58 ========================================================= 08:46:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:46:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix 08:46:58 Removing intermediate container 8eddc380e1d5 08:46:58 ---> 039251cef3f6 08:46:58 Step 11/24 : FROM alpine:3.20 08:46:58 3.20: Pulling from library/alpine 08:46:58 43c4264eed91: Already exists 08:46:58 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:46:58 Status: Downloaded newer image for alpine:3.20 08:46:58 ---> 91ef0af61f39 08:46:58 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:46:58 ---> Running in 003898ef6c4e 08:46:58 Removing intermediate container 003898ef6c4e 08:46:58 ---> 29238e7cdb1c 08:46:58 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:46:58 ---> Running in 7325f8a6dd4d 08:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:46:58 (1/1) Installing dumb-init (1.2.5-r3) 08:46:58 Executing busybox-1.36.1-r29.trigger 08:46:58 OK: 8 MiB in 15 packages 08:46:58 Removing intermediate container 7325f8a6dd4d 08:46:58 ---> 4d5080d18379 08:46:58 Step 14/24 : RUN apk --no-cache upgrade 08:46:58 ---> Running in bd98f276b6f7 08:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:46:58 Upgrading critical system libraries and apk-tools: 08:46:58 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:46:58 Executing busybox-1.36.1-r29.trigger 08:46:58 Continuing the upgrade transaction with new apk-tools: 08:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:58 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 08:46:58 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 08:46:58 OK: 8 MiB in 15 packages 08:46:58 + 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 . 08:46:59 Removing intermediate container bd98f276b6f7 08:46:59 ---> ffff70bede96 08:46:59 Step 15/24 : WORKDIR / 08:46:59 ---> Running in 49f5f1b73e71 08:46:59 Removing intermediate container 49f5f1b73e71 08:46:59 ---> c03155381b8c 08:46:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:46:59 ---> bb383e2c30e4 08:46:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:46:59 Sending build context to Docker daemon 13.24MB 08:46:59 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:46:59 Step 2/10 : FROM ${BASE} AS builder 08:46:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:46:59 cf04c63912e1: Pulling fs layer 08:46:59 55b35a11ae5e: Pulling fs layer 08:46:59 a37a00ec5f00: Pulling fs layer 08:46:59 50b3750afda1: Pulling fs layer 08:46:59 4f4fb700ef54: Pulling fs layer 08:46:59 80978eb59214: Pulling fs layer 08:46:59 c9f46d7d2bd2: Pulling fs layer 08:46:59 c5a475d317c9: Pulling fs layer 08:46:59 4f4fb700ef54: Waiting 08:46:59 80978eb59214: Waiting 08:46:59 c9f46d7d2bd2: Waiting 08:46:59 50b3750afda1: Waiting 08:46:59 c5a475d317c9: Waiting 08:46:59 55b35a11ae5e: Verifying Checksum 08:46:59 55b35a11ae5e: Download complete 08:46:59 50b3750afda1: Verifying Checksum 08:46:59 50b3750afda1: Download complete 08:46:59 4f4fb700ef54: Verifying Checksum 08:46:59 4f4fb700ef54: Download complete 08:46:59 80978eb59214: Verifying Checksum 08:46:59 80978eb59214: Download complete 08:46:59 cf04c63912e1: Verifying Checksum 08:46:59 cf04c63912e1: Download complete 08:47:00 c5a475d317c9: Verifying Checksum 08:47:00 c5a475d317c9: Download complete 08:47:01 cf04c63912e1: Pull complete 08:47:01 ---> f454c62dd961 08:47:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:47:01 ---> 4aa2fe12466d 08:47:01 Step 19/24 : EXPOSE 59999 08:47:01 ---> Running in 8566465aafe6 08:47:01 Removing intermediate container 8566465aafe6 08:47:01 ---> d09faf9b324a 08:47:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:47:01 ---> Running in 146e34f27c06 08:47:01 Removing intermediate container 146e34f27c06 08:47:01 ---> 67284eb493cf 08:47:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:47:01 ---> Running in bc93c53cd381 08:47:01 Removing intermediate container bc93c53cd381 08:47:01 ---> d9cd97e0695f 08:47:01 Step 22/24 : LABEL arch=amd64 08:47:01 ---> Running in de8292276749 08:47:01 Removing intermediate container de8292276749 08:47:01 ---> 49085f1ffa9d 08:47:01 Step 23/24 : LABEL git_sha=a2adfdc09e477498866130aea83da6ea448c3108 08:47:01 ---> Running in 1935e6cbe62d 08:47:01 Removing intermediate container 1935e6cbe62d 08:47:01 ---> 3c1e137e8198 08:47:01 Step 24/24 : LABEL version=4.0.0-dev.3 08:47:01 ---> Running in b32d09937a60 08:47:01 Removing intermediate container b32d09937a60 08:47:01 ---> 9a3ace6a8fd3 08:47:01 [Warning] One or more build-args [ARCH] were not consumed 08:47:01 Successfully built 9a3ace6a8fd3 08:47:01 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 08:47:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:47:01 08:47:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:02 55b35a11ae5e: Pull complete 08:47:02 a37a00ec5f00: Verifying Checksum 08:47:02 a37a00ec5f00: Download complete 08:47:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:47:02 latest: Pulling from edgex-lftools-log-publisher 08:47:02 5eb5b503b376: Pulling fs layer 08:47:02 5c69ac0246d0: Pulling fs layer 08:47:02 ec43610c2a17: Pulling fs layer 08:47:02 3a2ae6a8a46f: Pulling fs layer 08:47:02 33b1e0a273af: Pulling fs layer 08:47:02 5d3b04190fa2: Pulling fs layer 08:47:02 2f39f015ded8: Pulling fs layer 08:47:02 33b1e0a273af: Waiting 08:47:02 5d3b04190fa2: Waiting 08:47:02 2f39f015ded8: Waiting 08:47:02 3a2ae6a8a46f: Waiting 08:47:02 5c69ac0246d0: Download complete 08:47:02 3a2ae6a8a46f: Verifying Checksum 08:47:02 3a2ae6a8a46f: Download complete 08:47:02 33b1e0a273af: Verifying Checksum 08:47:02 33b1e0a273af: Download complete 08:47:02 5d3b04190fa2: Verifying Checksum 08:47:02 5d3b04190fa2: Download complete 08:47:02 ec43610c2a17: Verifying Checksum 08:47:02 ec43610c2a17: Download complete 08:47:02 5eb5b503b376: Verifying Checksum 08:47:02 5eb5b503b376: Download complete 08:47:02 c9f46d7d2bd2: Verifying Checksum 08:47:02 c9f46d7d2bd2: Download complete 08:47:02 2f39f015ded8: Verifying Checksum 08:47:02 2f39f015ded8: Download complete 08:47:03 5eb5b503b376: Pull complete 08:47:03 5c69ac0246d0: Pull complete 08:47:04 ec43610c2a17: Pull complete 08:47:04 3a2ae6a8a46f: Pull complete 08:47:04 33b1e0a273af: Pull complete 08:47:04 5d3b04190fa2: Pull complete 08:47:08 2f39f015ded8: Pull complete 08:47:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:47:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:47:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:47:08 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 08:47:08 $ 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 08:47:13 $ docker top 4f1c5a1b85256edf3f6562337cca9c42f1e914f97f31e19915ccd84dcbf9d3cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:13 ---> job-cost.sh 08:47:13 lf-activate-venv: SKIPPING 08:47:13 INFO: No Stack... 08:47:14 INFO: Retrieving Pricing Info for: v3-standard-8 08:47:14 INFO: Archiving Costs [Pipeline] sh 08:47:14 + cut+ -d, -f6 08:47:14 cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock 08:47:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-326-stack-cost] 08:47:14 Resource [jenkins-edgexfoundry-device-sdk-go-main-326-stack-cost] did not exist. Created. 08:47:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-326-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:47:14 + echo total: 0.2199999988079071 [Pipeline] stash 08:47:14 Stashed 1 file(s) [Pipeline] } 08:47:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-326-stack-cost] [Pipeline] // lock [Pipeline] } 08:47:15 $ docker stop --time=1 4f1c5a1b85256edf3f6562337cca9c42f1e914f97f31e19915ccd84dcbf9d3cb 08:47:16 $ docker rm -f --volumes 4f1c5a1b85256edf3f6562337cca9c42f1e914f97f31e19915ccd84dcbf9d3cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:47:17 a37a00ec5f00: Pull complete 08:47:17 50b3750afda1: Pull complete 08:47:17 4f4fb700ef54: Pull complete 08:47:17 80978eb59214: Pull complete 08:47:26 c9f46d7d2bd2: Pull complete 08:47:27 c5a475d317c9: Pull complete 08:47:27 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 08:47:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:47:27 ---> be29e6b0f0d4 08:47:27 Step 3/10 : ARG MAKE=make build 08:47:28 ---> Running in e86279a7ad25 08:47:28 Removing intermediate container e86279a7ad25 08:47:28 ---> 6bb92242f0f3 08:47:28 Step 4/10 : WORKDIR /device-sdk-go 08:47:28 ---> Running in 9ef30c0ab028 08:47:28 Removing intermediate container 9ef30c0ab028 08:47:28 ---> 55b608be2565 08:47:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:47:29 ---> Running in 1a086c5c92d1 08:47:29 Removing intermediate container 1a086c5c92d1 08:47:29 ---> d49dd471e630 08:47:29 Step 6/10 : RUN apk add --update --no-cache make git 08:47:29 ---> Running in f23e7fccbb52 08:47:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:47:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:47:32 OK: 238 MiB in 54 packages 08:47:33 Removing intermediate container f23e7fccbb52 08:47:33 ---> b52fd4f42219 08:47:33 Step 7/10 : COPY go.mod vendor* ./ 08:47:34 ---> ff1f3f3ab43e 08:47:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:47:34 ---> Running in dbb7c6f30d8d 08:49:26 Removing intermediate container dbb7c6f30d8d 08:49:26 ---> 0e1088f891ef 08:49:26 Step 9/10 : COPY . . 08:49:26 ---> 432b6050b2a8 08:49:26 Step 10/10 : RUN ${MAKE} 08:49:26 ---> Running in 4d6e39cb881f 08:49:26 noop 08:49:26 Removing intermediate container 4d6e39cb881f 08:49:26 ---> ae683afc6cb2 08:49:26 Successfully built ae683afc6cb2 08:49:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:26 + docker inspect -f . ci-base-image-arm64 08:49:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:26 prd-ubuntu20.04-docker-arm64-4c-16g-24305 does not seem to be running inside a container 08:49:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/326 -v /w/workspace/device-sdk-go/326:/w/workspace/device-sdk-go/326:rw,z -v /w/workspace/device-sdk-go/326@tmp:/w/workspace/device-sdk-go/326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:49:28 $ docker top a2c08b72e1b465a66ddeb6c998ea3a389da8f4f76f226bb1c72667c12066a789 -eo pid,comm [Pipeline] { [Pipeline] sh 08:49:28 + go version 08:49:28 go version go1.23.2 linux/arm64 [Pipeline] } 08:49:28 $ docker stop --time=1 a2c08b72e1b465a66ddeb6c998ea3a389da8f4f76f226bb1c72667c12066a789 08:49:30 $ docker rm -f --volumes a2c08b72e1b465a66ddeb6c998ea3a389da8f4f76f226bb1c72667c12066a789 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:32 + docker inspect -f . ci-base-image-arm64 08:49:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:32 prd-ubuntu20.04-docker-arm64-4c-16g-24305 does not seem to be running inside a container 08:49:32 $ 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/326 -v /w/workspace/device-sdk-go/326:/w/workspace/device-sdk-go/326:rw,z -v /w/workspace/device-sdk-go/326@tmp:/w/workspace/device-sdk-go/326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:49:33 $ docker top 6ec28f2433e07bb06a7abeb75521fffca7622a150385737acdb971ef2c4f9872 -eo pid,comm [Pipeline] { [Pipeline] sh 08:49:34 + git config --global --add safe.directory /w/workspace/device-sdk-go/326 [Pipeline] fileExists [Pipeline] sh 08:49:36 + make test 08:49:36 go test -race -coverprofile=coverage.out ./... 08:50:23 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 08:54:15 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 08:54:15 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 08:54:15 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 08:54:15 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 08:54:15 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 08:54:27 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.169s coverage: 28.7% of statements 08:54:29 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.173s coverage: 79.4% of statements 08:54:41 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 08:54:41 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 08:54:41 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.271s coverage: 86.0% of statements 08:54:51 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 08:54:52 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.550s coverage: 45.2% of statements 08:54:55 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.233s coverage: 14.1% of statements 08:54:55 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.811s coverage: 44.6% of statements 08:54:59 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 08:54:59 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 08:54:59 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 08:55:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.386s coverage: 68.4% of statements 08:55:06 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.358s coverage: 88.3% of statements 08:55:12 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 08:55:12 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.323s coverage: 5.3% of statements 08:55:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:55:13 GO111MODULE=on go vet ./... 08:59:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:59:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:59:05 ./bin/test-attribution-txt.sh [Pipeline] echo 08:59:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:59:05 $ docker stop --time=1 6ec28f2433e07bb06a7abeb75521fffca7622a150385737acdb971ef2c4f9872 08:59:07 $ docker rm -f --volumes 6ec28f2433e07bb06a7abeb75521fffca7622a150385737acdb971ef2c4f9872 [Pipeline] // withDockerContainer [Pipeline] sh 08:59:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:59:09 Warning: overwriting stash ‘coverage-report’ 08:59:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:59:11 + ls -al . 08:59:11 total 700 08:59:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 08:49 . 08:59:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 08:46 .. 08:59:11 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 08:46 .dockerignore 08:59:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 08:46 .git 08:59:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 08:46 .github 08:59:11 -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 08:46 .gitignore 08:59:11 -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 08:46 .golangci.yml 08:59:11 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 08:46 CHANGELOG.md 08:59:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 08:46 GOVERNANCE.md 08:59:11 -rw-rw-r-- 1 jenkins jenkins 882 Nov 1 08:46 Jenkinsfile 08:59:11 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 08:46 LICENSE 08:59:11 -rw-rw-r-- 1 jenkins jenkins 2379 Nov 1 08:46 Makefile 08:59:11 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 08:46 OWNERS.md 08:59:11 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 1 08:46 README.md 08:59:11 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 08:43 VERSION 08:59:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 08:46 bin 08:59:11 -rw-r--r-- 1 jenkins jenkins 468087 Nov 1 08:55 coverage.out 08:59:11 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 08:46 example 08:59:11 -rw-rw-r-- 1 jenkins jenkins 6278 Nov 1 08:46 go.mod 08:59:11 -rw-rw-r-- 1 jenkins jenkins 87873 Nov 1 08:46 go.sum 08:59:11 drwxrwxr-x 13 jenkins jenkins 4096 Nov 1 08:46 internal 08:59:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 08:46 openapi 08:59:11 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 08:46 pkg 08:59:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 08:46 snap 08:59:11 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 08:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:11 + 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=a2adfdc09e477498866130aea83da6ea448c3108 --label arch=arm64 --label version=4.0.0-dev.3 . 08:59:11 Sending build context to Docker daemon 13.71MB 08:59:11 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 08:59:11 Step 2/24 : FROM ${BASE} AS builder 08:59:11 ---> ae683afc6cb2 08:59:11 Step 3/24 : ARG MAKE=make build 08:59:12 ---> Running in 694614dddea7 08:59:12 Removing intermediate container 694614dddea7 08:59:12 ---> 6555723db932 08:59:12 Step 4/24 : WORKDIR /device-sdk-go 08:59:12 ---> Running in 0c53d0baf0e7 08:59:12 Removing intermediate container 0c53d0baf0e7 08:59:12 ---> 494d277c0cd6 08:59:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:59:13 ---> Running in 6b1d98eb4744 08:59:13 Removing intermediate container 6b1d98eb4744 08:59:13 ---> c6ba750ac9ef 08:59:13 Step 6/24 : RUN apk add --update --no-cache make git 08:59:13 ---> Running in 6dc482fe9c7b 08:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:59:15 OK: 238 MiB in 54 packages 08:59:16 Removing intermediate container 6dc482fe9c7b 08:59:16 ---> a92dbed78a98 08:59:16 Step 7/24 : COPY go.mod vendor* ./ 08:59:17 ---> 107838decfe5 08:59:17 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:59:17 ---> Running in bb270bd991d4 08:59:19 Removing intermediate container bb270bd991d4 08:59:19 ---> d1b670e75162 08:59:19 Step 9/24 : COPY . . 08:59:20 ---> ddb4ba4f777d 08:59:20 Step 10/24 : RUN ${MAKE} 08:59:20 ---> Running in b2fe1148e9eb 08:59:21 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.0.0-dev.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:02:43 Removing intermediate container b2fe1148e9eb 09:02:43 ---> e86241eb6e90 09:02:43 Step 11/24 : FROM alpine:3.20 09:02:43 3.20: Pulling from library/alpine 09:02:43 cf04c63912e1: Already exists 09:02:43 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:02:43 Status: Downloaded newer image for alpine:3.20 09:02:43 ---> c157a85ed455 09:02:43 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:02:43 ---> Running in 9e7e2d9173e3 09:02:43 Removing intermediate container 9e7e2d9173e3 09:02:43 ---> 2e2b5377bce8 09:02:43 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:02:43 ---> Running in 3d9c5836f23a 09:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:02:43 (1/1) Installing dumb-init (1.2.5-r3) 09:02:43 Executing busybox-1.36.1-r29.trigger 09:02:43 OK: 9 MiB in 15 packages 09:02:43 Removing intermediate container 3d9c5836f23a 09:02:43 ---> cad1b0289b00 09:02:43 Step 14/24 : RUN apk --no-cache upgrade 09:02:43 ---> Running in 886567889e76 09:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:02:43 Upgrading critical system libraries and apk-tools: 09:02:43 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:02:43 Executing busybox-1.36.1-r29.trigger 09:02:43 Continuing the upgrade transaction with new apk-tools: 09:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:02:45 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:02:45 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:02:45 OK: 9 MiB in 15 packages 09:02:46 Removing intermediate container 886567889e76 09:02:46 ---> 495512c75027 09:02:46 Step 15/24 : WORKDIR / 09:02:46 ---> Running in 79ab7bf8a04b 09:02:47 Removing intermediate container 79ab7bf8a04b 09:02:47 ---> 454aac73cddd 09:02:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:02:47 ---> 33ee12830fc6 09:02:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:02:50 ---> 8e3a6c96eb0e 09:02:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:02:50 ---> b910e73bf7f1 09:02:50 Step 19/24 : EXPOSE 59999 09:02:50 ---> Running in bbda0fff901e 09:02:50 Removing intermediate container bbda0fff901e 09:02:50 ---> 3516d636c909 09:02:50 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:02:50 ---> Running in d8d7c9417883 09:02:50 Removing intermediate container d8d7c9417883 09:02:50 ---> 7d9fcf03e1a8 09:02:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:02:51 ---> Running in fe6a0ea88fbf 09:02:51 Removing intermediate container fe6a0ea88fbf 09:02:51 ---> 4f439b094ff7 09:02:51 Step 22/24 : LABEL arch=arm64 09:02:51 ---> Running in eef1e84e2abd 09:02:51 Removing intermediate container eef1e84e2abd 09:02:51 ---> 3f4a09c9e90e 09:02:51 Step 23/24 : LABEL git_sha=a2adfdc09e477498866130aea83da6ea448c3108 09:02:51 ---> Running in 6d7f8b2c0f31 09:02:52 Removing intermediate container 6d7f8b2c0f31 09:02:52 ---> 84bac45180a8 09:02:52 Step 24/24 : LABEL version=4.0.0-dev.3 09:02:52 ---> Running in 7ef36de2c5b1 09:02:52 Removing intermediate container 7ef36de2c5b1 09:02:52 ---> acf76d1b3eae 09:02:52 [Warning] One or more build-args [ARCH] were not consumed 09:02:52 Successfully built acf76d1b3eae 09:02:52 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 09:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:02:52 09:02:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:02:53 arm64: Pulling from edgex-lftools-log-publisher 09:02:53 8998bd30e6a1: Pulling fs layer 09:02:53 04944245beec: Pulling fs layer 09:02:53 699f458cf7ca: Pulling fs layer 09:02:53 765212b225bb: Pulling fs layer 09:02:53 f23df028b6ca: Pulling fs layer 09:02:53 d65c8cfc05b1: Pulling fs layer 09:02:53 2437ff75d9bd: Pulling fs layer 09:02:53 f23df028b6ca: Waiting 09:02:53 765212b225bb: Waiting 09:02:53 d65c8cfc05b1: Waiting 09:02:53 2437ff75d9bd: Waiting 09:02:53 04944245beec: Verifying Checksum 09:02:53 04944245beec: Download complete 09:02:53 765212b225bb: Verifying Checksum 09:02:53 765212b225bb: Download complete 09:02:53 f23df028b6ca: Verifying Checksum 09:02:53 f23df028b6ca: Download complete 09:02:53 d65c8cfc05b1: Verifying Checksum 09:02:53 d65c8cfc05b1: Download complete 09:02:53 699f458cf7ca: Verifying Checksum 09:02:53 699f458cf7ca: Download complete 09:02:54 8998bd30e6a1: Verifying Checksum 09:02:54 8998bd30e6a1: Download complete 09:02:56 2437ff75d9bd: Verifying Checksum 09:02:56 2437ff75d9bd: Download complete 09:02:58 8998bd30e6a1: Pull complete 09:02:59 04944245beec: Pull complete 09:03:00 699f458cf7ca: Pull complete 09:03:00 765212b225bb: Pull complete 09:03:01 f23df028b6ca: Pull complete 09:03:01 d65c8cfc05b1: Pull complete 09:03:17 2437ff75d9bd: Pull complete 09:03:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:03:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:03:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:17 prd-ubuntu20.04-docker-arm64-4c-16g-24305 does not seem to be running inside a container 09:03:17 $ 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/326 -v /w/workspace/device-sdk-go/326:/w/workspace/device-sdk-go/326:rw,z -v /w/workspace/device-sdk-go/326@tmp:/w/workspace/device-sdk-go/326@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 09:03:20 $ docker top bf7c9a3a7b4009ed04853b3df859e0be11843d8dfa23e2cdf73d735f41b20df5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:21 ---> job-cost.sh 09:03:21 lf-activate-venv: SKIPPING 09:03:21 INFO: No Stack... 09:03:21 INFO: Retrieving Pricing Info for: v3-standard-4 09:03:22 INFO: Archiving Costs [Pipeline] sh 09:03:23 + cat /w/workspace/device-sdk-go/326/archives/cost.csv 09:03:23 + cut -d, -f6 [Pipeline] lock 09:03:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-326-stack-cost] 09:03:23 Resource [jenkins-edgexfoundry-device-sdk-go-main-326-stack-cost] did not exist. Created. 09:03:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-326-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:03:23 /w/workspace/device-sdk-go/326@tmp/durable-0525707a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:03:24 + echo total: 0.10999999940395355 [Pipeline] stash 09:03:24 Warning: overwriting stash ‘stack-cost’ 09:03:24 Stashed 1 file(s) [Pipeline] } 09:03:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-326-stack-cost] [Pipeline] // lock [Pipeline] } 09:03:24 $ docker stop --time=1 bf7c9a3a7b4009ed04853b3df859e0be11843d8dfa23e2cdf73d735f41b20df5 09:03:26 $ docker rm -f --volumes bf7c9a3a7b4009ed04853b3df859e0be11843d8dfa23e2cdf73d735f41b20df5 [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 09:03:26 provisioning config files... 09:03:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5540876026820830965tmp [Pipeline] { [Pipeline] sh 09:03:27 + set +x 09:03:27 + bash -s -- 09:03:27 + curl -s https://codecov.io/bash 09:03:27 09:03:27 _____ _ 09:03:27 / ____| | | 09:03:27 | | ___ __| | ___ ___ _____ __ 09:03:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:03:27 | |___| (_) | (_| | __/ (_| (_) \ V / 09:03:27 \_____\___/ \__,_|\___|\___\___/ \_/ 09:03:27 Bash-1.0.6 09:03:27 09:03:27 09:03:27 ==> git version 2.25.1 found 09:03:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:03:27 Release-Date: 2020-01-08 09:03:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:03:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:03:27 ==> Jenkins CI detected. 09:03:27 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 09:03:27 project root: . 09:03:27 --> token set from env 09:03:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:03:27 ==> Running gcov in . (disable via -X gcov) 09:03:27 ==> Python coveragepy not found 09:03:27 ==> Searching for coverage reports in: 09:03:27 + . 09:03:27 -> Found 1 reports 09:03:27 ==> Detecting git/mercurial file structure 09:03:27 ==> Reading reports 09:03:27 + ./coverage.out bytes=468087 09:03:27 ==> Appending adjustments 09:03:27 https://docs.codecov.io/docs/fixing-reports 09:03:27 + Found adjustments 09:03:27 ==> Gzipping contents 09:03:27 44K /tmp/codecov.aqM1dv.gz 09:03:27 ==> Uploading reports 09:03:27 url: https://codecov.io 09:03:27 query: branch=main&commit=a2adfdc09e477498866130aea83da6ea448c3108&build=326&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F326%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:03:27 -> Pinging Codecov 09:03:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a2adfdc09e477498866130aea83da6ea448c3108&build=326&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F326%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:03:27 -> Uploading to 09:03:27 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/a2adfdc09e477498866130aea83da6ea448c3108/267f164f-1a0e-4612-9d59-84ca1b3c1cd1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T090327Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=55792f7a297cc6fbde686beadd1bfd62c69cd905748d448b1004e308d05a18ab 09:03:27 % Total % Received % Xferd Average Speed Time Time Time Current 09:03:27 Dload Upload Total Spent Left Speed 09:03:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 42646 0 0 100 42646 0 156k --:--:-- --:--:-- --:--:-- 156k 09:03:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a2adfdc09e477498866130aea83da6ea448c3108 [Pipeline] } 09:03:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:03:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:03:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:03:28 09:03:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:03:28 latest: Pulling from edgex-devops/edgex-snyk-go 09:03:28 43c4264eed91: Already exists 09:03:28 4cc291be95ef: Already exists 09:03:28 2ac1f1163629: Already exists 09:03:28 5c3c966382ef: Already exists 09:03:28 4f4fb700ef54: Already exists 09:03:28 d9c7d2e4e75e: Pulling fs layer 09:03:28 9c3e1370e548: Pulling fs layer 09:03:29 d9c7d2e4e75e: Download complete 09:03:29 d9c7d2e4e75e: Pull complete 09:03:30 9c3e1370e548: Verifying Checksum 09:03:30 9c3e1370e548: Download complete 09:03:33 9c3e1370e548: Pull complete 09:03:33 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 09:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:03:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:33 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 09:03:33 $ 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 09:03:37 $ docker top 26a3b63a58ea7d3de8c4207898767345a08332e06a39e2f3f307d1ed767be960 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 09:03:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 09:03:37 + set -o pipefail 09:03:37 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 09:03:48 09:03:48 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v4)... 09:03:48 09:03:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/a787d310-57d6-49af-a98b-2f7c03cf8624 09:03:48 09:03:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:03:48 [Pipeline] } 09:03:48 $ docker stop --time=1 26a3b63a58ea7d3de8c4207898767345a08332e06a39e2f3f307d1ed767be960 09:03:54 $ docker rm -f --volumes 26a3b63a58ea7d3de8c4207898767345a08332e06a39e2f3f307d1ed767be960 [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 09:03:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:03:55 provisioning config files... 09:03:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14721166657455888892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:55 --> edgex-publish-swagger.sh 09:03:55 === Publish openapi API === 09:03:55 [publishToSwagger] Publishing the API Docs [openapi] to Swagger 09:03:55 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/device-sdk.yaml] 09:03:55 % Total % Received % Xferd Average Speed Time Time Time Current 09:03:55 Dload Upload Total Spent Left Speed 09:03:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 395 95223 --:--:-- --:--:-- --:--:-- 95619 09:03:55 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 09:03:55 [Pipeline] } 09:03:55 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 09:03:56 + git log --format=format:%s -1 a2adfdc09e477498866130aea83da6ea448c3108 [Pipeline] sh 09:03:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:03:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:56 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 09:03:57 $ 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 09:03:57 $ docker top fbe657603fed52d1460694dc58eda1d5d68c77a34540c20eda216f73beb802f8 -eo pid,comm 09:03:57 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:03:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:03:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:57 [ssh-agent] Looking for ssh-agent implementation... 09:03:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:57 $ docker exec fbe657603fed52d1460694dc58eda1d5d68c77a34540c20eda216f73beb802f8 ssh-agent 09:03:57 SSH_AUTH_SOCK=/tmp/ssh-Rh7FjHgXXiAs/agent.33 09:03:57 SSH_AGENT_PID=39 09:03:57 Running ssh-add (command line suppressed) 09:03:57 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13545519531802014066.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13545519531802014066.key) 09:03:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:58 + git semver tag 09:03:58 2024-11-01 09:03:58,469 [run_tag] DEBUG tag force:False 09:03:58 2024-11-01 09:03:58,469 [check_head_tag] DEBUG check head tag 09:03:58 2024-11-01 09:03:58,471 [execute] INFO git cat-file --batch-check 09:03:58 2024-11-01 09:03:58,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:03:58 2024-11-01 09:03:58,474 [execute] INFO git cat-file --batch 09:03:58 2024-11-01 09:03:58,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:03:58 2024-11-01 09:03:58,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:03:58 2024-11-01 09:03:58,502 [execute] INFO git tag -a v4.0.0-dev.3 -m v4.0.0-dev.3 09:03:58 2024-11-01 09:03:58,502 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.3', '-m', 'v4.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 09:03:58 2024-11-01 09:03:58,507 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:03:58 4.0.0-dev.3 [Pipeline] } 09:03:58 $ docker exec --env ******** --env ******** fbe657603fed52d1460694dc58eda1d5d68c77a34540c20eda216f73beb802f8 ssh-agent -k 09:03:58 unset SSH_AUTH_SOCK; 09:03:58 unset SSH_AGENT_PID; 09:03:58 echo Agent pid 39 killed; 09:03:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:03:59 + git semver [Pipeline] } 09:03:59 $ docker stop --time=1 fbe657603fed52d1460694dc58eda1d5d68c77a34540c20eda216f73beb802f8 09:04:00 $ docker rm -f --volumes fbe657603fed52d1460694dc58eda1d5d68c77a34540c20eda216f73beb802f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:04:00 09:04:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:04:01 0.23.1-centos7: Pulling from edgex-lftools 09:04:01 ab5ef0e58194: Pulling fs layer 09:04:01 9712f1f96733: Pulling fs layer 09:04:01 63f879dbbcfc: Pulling fs layer 09:04:01 0d9ebad4ef96: Pulling fs layer 09:04:01 e9a5061849ea: Pulling fs layer 09:04:01 d747dcd14b5f: Pulling fs layer 09:04:01 2de7ff778b66: Pulling fs layer 09:04:01 0d9ebad4ef96: Waiting 09:04:01 2de7ff778b66: Waiting 09:04:01 d747dcd14b5f: Waiting 09:04:01 9712f1f96733: Verifying Checksum 09:04:01 9712f1f96733: Download complete 09:04:01 63f879dbbcfc: Verifying Checksum 09:04:01 63f879dbbcfc: Download complete 09:04:01 e9a5061849ea: Verifying Checksum 09:04:01 e9a5061849ea: Download complete 09:04:01 d747dcd14b5f: Download complete 09:04:01 ab5ef0e58194: Download complete 09:04:01 0d9ebad4ef96: Verifying Checksum 09:04:01 0d9ebad4ef96: Download complete 09:04:02 2de7ff778b66: Verifying Checksum 09:04:02 2de7ff778b66: Download complete 09:04:04 ab5ef0e58194: Pull complete 09:04:04 9712f1f96733: Pull complete 09:04:05 63f879dbbcfc: Pull complete 09:04:09 0d9ebad4ef96: Pull complete 09:04:09 e9a5061849ea: Pull complete 09:04:09 d747dcd14b5f: Pull complete 09:04:10 2de7ff778b66: Pull complete 09:04:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:04:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:10 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 09:04:10 $ 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 09:04:18 $ docker top fdc84266050d149bfef338a72f0b74a7ec813c6af581eac7bad8b5c44b3f7004 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:04:19 provisioning config files... 09:04:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11888094707783317063tmp 09:04:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1128288014561521607tmp 09:04:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9956372745315331946tmp [Pipeline] { [Pipeline] echo 09:04:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:04:19 ---> sigul-configuration.sh 09:04:19 gpg: directory `/root/.gnupg' created 09:04:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:04:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:04:19 gpg: keyring `/root/.gnupg/secring.gpg' created 09:04:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:04:19 gpg: CAST5 encrypted data 09:04:19 gpg: encrypted with 1 passphrase 09:04:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:04:19 + mkdir /home/jenkins 09:04:19 + mkdir /home/jenkins/sigul [Pipeline] sh 09:04:19 + 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 09:04:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:04:20 ---> sigul-install.sh 09:04:20 Sigul already installed; skipping installation. [Pipeline] sh 09:04:20 + git tag --list 09:04:20 0.7.1 09:04:20 delhi-tag 09:04:20 v1.0.0 09:04:20 v1.1.0 09:04:20 v1.1.1 09:04:20 v1.1.2 09:04:20 v1.2.0 09:04:20 v1.2.1 09:04:20 v1.2.2 09:04:20 v1.2.3 09:04:20 v1.3.0 09:04:20 v1.4.0 09:04:20 v2.0.0 09:04:20 v2.1.0 09:04:20 v2.1.1 09:04:20 v2.2.0 09:04:20 v2.3.0 09:04:20 v2.3.1 09:04:20 v3.0 09:04:20 v3.0.0 09:04:20 v3.0.1-dev.1 09:04:20 v3.1 09:04:20 v3.1.0 09:04:20 v3.1.0-dev.1 09:04:20 v3.1.0-dev.10 09:04:20 v3.1.0-dev.11 09:04:20 v3.1.0-dev.12 09:04:20 v3.1.0-dev.13 09:04:20 v3.1.0-dev.14 09:04:20 v3.1.0-dev.15 09:04:20 v3.1.0-dev.16 09:04:20 v3.1.0-dev.17 09:04:20 v3.1.0-dev.18 09:04:20 v3.1.0-dev.19 09:04:20 v3.1.0-dev.2 09:04:20 v3.1.0-dev.20 09:04:20 v3.1.0-dev.21 09:04:20 v3.1.0-dev.22 09:04:20 v3.1.0-dev.23 09:04:20 v3.1.0-dev.24 09:04:20 v3.1.0-dev.25 09:04:20 v3.1.0-dev.26 09:04:20 v3.1.0-dev.27 09:04:20 v3.1.0-dev.28 09:04:20 v3.1.0-dev.29 09:04:20 v3.1.0-dev.3 09:04:20 v3.1.0-dev.30 09:04:20 v3.1.0-dev.31 09:04:20 v3.1.0-dev.32 09:04:20 v3.1.0-dev.33 09:04:20 v3.1.0-dev.34 09:04:20 v3.1.0-dev.35 09:04:20 v3.1.0-dev.36 09:04:20 v3.1.0-dev.37 09:04:20 v3.1.0-dev.38 09:04:20 v3.1.0-dev.39 09:04:20 v3.1.0-dev.4 09:04:20 v3.1.0-dev.40 09:04:20 v3.1.0-dev.41 09:04:20 v3.1.0-dev.5 09:04:20 v3.1.0-dev.6 09:04:20 v3.1.0-dev.7 09:04:20 v3.1.0-dev.8 09:04:20 v3.1.0-dev.9 09:04:20 v3.1.1 09:04:20 v3.1.1-dev.1 09:04:20 v3.2.0-dev.1 09:04:20 v3.2.0-dev.10 09:04:20 v3.2.0-dev.11 09:04:20 v3.2.0-dev.12 09:04:20 v3.2.0-dev.13 09:04:20 v3.2.0-dev.14 09:04:20 v3.2.0-dev.15 09:04:20 v3.2.0-dev.16 09:04:20 v3.2.0-dev.17 09:04:20 v3.2.0-dev.18 09:04:20 v3.2.0-dev.19 09:04:20 v3.2.0-dev.2 09:04:20 v3.2.0-dev.20 09:04:20 v3.2.0-dev.21 09:04:20 v3.2.0-dev.22 09:04:20 v3.2.0-dev.23 09:04:20 v3.2.0-dev.24 09:04:20 v3.2.0-dev.25 09:04:20 v3.2.0-dev.26 09:04:20 v3.2.0-dev.27 09:04:20 v3.2.0-dev.28 09:04:20 v3.2.0-dev.29 09:04:20 v3.2.0-dev.3 09:04:20 v3.2.0-dev.30 09:04:20 v3.2.0-dev.31 09:04:20 v3.2.0-dev.32 09:04:20 v3.2.0-dev.33 09:04:20 v3.2.0-dev.34 09:04:20 v3.2.0-dev.35 09:04:20 v3.2.0-dev.36 09:04:20 v3.2.0-dev.37 09:04:20 v3.2.0-dev.38 09:04:20 v3.2.0-dev.39 09:04:20 v3.2.0-dev.4 09:04:20 v3.2.0-dev.40 09:04:20 v3.2.0-dev.41 09:04:20 v3.2.0-dev.42 09:04:20 v3.2.0-dev.43 09:04:20 v3.2.0-dev.44 09:04:20 v3.2.0-dev.45 09:04:20 v3.2.0-dev.46 09:04:20 v3.2.0-dev.47 09:04:20 v3.2.0-dev.48 09:04:20 v3.2.0-dev.5 09:04:20 v3.2.0-dev.6 09:04:20 v3.2.0-dev.7 09:04:20 v3.2.0-dev.8 09:04:20 v3.2.0-dev.9 09:04:20 v4.0.0-dev.1 09:04:20 v4.0.0-dev.2 09:04:20 v4.0.0-dev.3 [Pipeline] sh 09:04:20 + lftools sign git-tag v4.0.0-dev.3 09:04:21 Signing Git tag with Sigul... 09:04:21 Signing v4.0.0-dev.3 [Pipeline] echo 09:04:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:04:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:04:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:04:21 $ docker stop --time=1 fdc84266050d149bfef338a72f0b74a7ec813c6af581eac7bad8b5c44b3f7004 09:04:23 $ docker rm -f --volumes fdc84266050d149bfef338a72f0b74a7ec813c6af581eac7bad8b5c44b3f7004 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:04:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:04:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:04:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:24 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 09:04:24 $ 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 09:04:24 $ docker top 1da40b53c4e63366adfbb904c7c96f200a8a25e8ed11f966cc185e54aa948d05 -eo pid,comm 09:04:24 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:04:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:04:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:04:24 [ssh-agent] Looking for ssh-agent implementation... 09:04:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:04:24 $ docker exec 1da40b53c4e63366adfbb904c7c96f200a8a25e8ed11f966cc185e54aa948d05 ssh-agent 09:04:24 SSH_AUTH_SOCK=/tmp/ssh-J55qf0dPW6cq/agent.32 09:04:24 SSH_AGENT_PID=38 09:04:24 Running ssh-add (command line suppressed) 09:04:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_618181245189266192.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_618181245189266192.key) 09:04:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:04:25 + git semver bump pre 09:04:25 2024-11-01 09:04:25,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:04:25 2024-11-01 09:04:25,350 [bump_version] DEBUG bumping version:4.0.0-dev.3 on axis:pre with prefix:dev 09:04:25 2024-11-01 09:04:25,350 [bump_version] DEBUG bumped version:4.0.0-dev.4 09:04:25 2024-11-01 09:04:25,350 [write_version] DEBUG write version:4.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 09:04:25 2024-11-01 09:04:25,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:04:25 2024-11-01 09:04:25,350 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:04:25 2024-11-01 09:04:25,352 [execute] INFO git cat-file --batch-check 09:04:25 2024-11-01 09:04:25,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:25 2024-11-01 09:04:25,358 [execute] INFO git cat-file --batch 09:04:25 2024-11-01 09:04:25,358 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:25 2024-11-01 09:04:25,364 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:04:25 4.0.0-dev.4 [Pipeline] } 09:04:25 $ docker exec --env ******** --env ******** 1da40b53c4e63366adfbb904c7c96f200a8a25e8ed11f966cc185e54aa948d05 ssh-agent -k 09:04:25 unset SSH_AUTH_SOCK; 09:04:25 unset SSH_AGENT_PID; 09:04:25 echo Agent pid 38 killed; 09:04:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:04:25 + git semver [Pipeline] } 09:04:26 $ docker stop --time=1 1da40b53c4e63366adfbb904c7c96f200a8a25e8ed11f966cc185e54aa948d05 09:04:27 $ docker rm -f --volumes 1da40b53c4e63366adfbb904c7c96f200a8a25e8ed11f966cc185e54aa948d05 [Pipeline] // withDockerContainer [Pipeline] sh 09:04:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:04:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:04:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:28 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 09:04:28 $ 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 09:04:28 $ docker top 3d84c94bd816a3d6500e6365db6215c14e53ed3f51e4143c4a32ff760351ffb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:04:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:04:28 [ssh-agent] Looking for ssh-agent implementation... 09:04:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:04:28 $ docker exec 3d84c94bd816a3d6500e6365db6215c14e53ed3f51e4143c4a32ff760351ffb8 ssh-agent 09:04:28 SSH_AUTH_SOCK=/tmp/ssh-BsQ1D4G2grTL/agent.33 09:04:28 SSH_AGENT_PID=40 09:04:28 Running ssh-add (command line suppressed) 09:04:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8566361886284462624.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8566361886284462624.key) 09:04:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:04:29 + git semver push 09:04:29 2024-11-01 09:04:29,529 [run_push] DEBUG push 09:04:29 2024-11-01 09:04:29,530 [execute] INFO git cat-file --batch-check 09:04:29 2024-11-01 09:04:29,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:29 2024-11-01 09:04:29,534 [execute] INFO git rev-list 37b7011316848f16a8a031cc6f2498a3147d4589 -- 09:04:29 2024-11-01 09:04:29,534 [execute] DEBUG Popen(['git', 'rev-list', '37b7011316848f16a8a031cc6f2498a3147d4589', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:04:29 2024-11-01 09:04:29,546 [execute] INFO git fetch -v origin 09:04:29 2024-11-01 09:04:29,546 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:04:30 2024-11-01 09:04:30,003 [run_push] DEBUG no remote changes detected 09:04:30 2024-11-01 09:04:30,004 [execute] INFO git push origin semver 09:04:30 2024-11-01 09:04:30,004 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:04:30 2024-11-01 09:04:30,658 [run_push] DEBUG push all version tags 09:04:30 2024-11-01 09:04:30,659 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:04:30 2024-11-01 09:04:30,659 [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) 09:04:31 2024-11-01 09:04:31,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:04:31 4.0.0-dev.4 [Pipeline] } 09:04:31 $ docker exec --env ******** --env ******** 3d84c94bd816a3d6500e6365db6215c14e53ed3f51e4143c4a32ff760351ffb8 ssh-agent -k 09:04:31 unset SSH_AUTH_SOCK; 09:04:31 unset SSH_AGENT_PID; 09:04:31 echo Agent pid 40 killed; 09:04:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:04:31 + git semver [Pipeline] } 09:04:32 $ docker stop --time=1 3d84c94bd816a3d6500e6365db6215c14e53ed3f51e4143c4a32ff760351ffb8 09:04:33 $ docker rm -f --volumes 3d84c94bd816a3d6500e6365db6215c14e53ed3f51e4143c4a32ff760351ffb8 [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 09:04:34 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 09:04:34 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:04:34 total 16 09:04:34 drwxr-xr-x 3 root root 4096 Nov 1 08:47 . 09:04:34 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 09:04 .. 09:04:34 drwxr-xr-x 2 root root 4096 Nov 1 08:47 cost 09:04:34 -rw-r--r-- 1 root root 85 Nov 1 08:47 cost.csv 09:04:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:04:34 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:04:34 total 16 09:04:34 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 08:47 . 09:04:34 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 09:04 .. 09:04:34 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 08:47 cost 09:04:34 -rw-r--r-- 1 jenkins jenkins 85 Nov 1 08:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:04:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:04:35 ---> package-listing.sh 09:04:35 ++ facter osfamily 09:04:35 ++ tr '[:upper:]' '[:lower:]' 09:04:35 + OS_FAMILY=debian 09:04:35 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 09:04:35 + START_PACKAGES=/tmp/packages_start.txt 09:04:35 + END_PACKAGES=/tmp/packages_end.txt 09:04:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:04:35 + PACKAGES=/tmp/packages_start.txt 09:04:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:04:35 + PACKAGES=/tmp/packages_end.txt 09:04:35 + case "${OS_FAMILY}" in 09:04:35 + dpkg -l 09:04:35 + grep '^ii' 09:04:35 + '[' -f /tmp/packages_start.txt ']' 09:04:35 + '[' -f /tmp/packages_end.txt ']' 09:04:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:04:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:04:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 09:04:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 09:04:35 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 09:04:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:36 prd-ubuntu20.04-docker-8c-8g-24302 does not seem to be running inside a container 09:04:36 $ 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 09:04:39 $ docker top 4364452f517677111f5a2c4db9842af4c10c2ff89188f6ac6e6ae53ea0c0a3a4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:39 + touch /tmp/pre-build-complete [Pipeline] sh 09:04:39 + mkdir -p /var/log/sysstat [Pipeline] sh 09:04:40 + ls /var/log/sa-host 09:04:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:04:40 provisioning config files... 09:04:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3167683189550810432tmp [Pipeline] { [Pipeline] echo 09:04:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:04:40 ---> create-netrc.sh [Pipeline] } 09:04:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:04:40 ---> python-tools-install.sh [Pipeline] echo 09:04:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:04:41 ---> sudo-logs.sh 09:04:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:04:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:04:41 ---> job-cost.sh 09:04:41 lf-activate-venv: SKIPPING 09:04:41 DEBUG: total: 0.2199999988079071 09:04:41 INFO: Retrieving Stack Cost... 09:04:43 INFO: Retrieving Pricing Info for: v3-standard-8 09:04:43 INFO: Archiving Costs [Pipeline] echo 09:04:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:04:44 ---> logs-deploy.sh 09:04:44 lf-activate-venv: SKIPPING 09:04:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/326 09:04:44 INFO: archiving workspace using pattern(s): 09:04:45 Archives upload complete. 09:04:45 INFO: archiving logs to Nexus