Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 083c381ac4cc923d13d653dabf1097f47e3433f3 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-ssh8884815620692520162.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6246176473772222811.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh10441330582666096818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh15958668833961123637.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-ssh10246935955233297342.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-9255 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 083c381ac4cc923d13d653dabf1097f47e3433f3 (main) Commit message: "Merge pull request #1620 from jinlinGuan/issue-1612" > 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 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 > git rev-list --no-walk 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:14:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:14:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:14:41 ========================================================= 06:14:41 EdgeX Global Pipelines Version Info 06:14:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:14:42 ------------------- 06:14:42 stable info: 06:14:42 ------------------- 06:14:42 Commited By: Cherry Wang cherry@iotechsys.com 06:14:42 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 06:14:42 Message: update stable to v1.0.263 06:14:42 ------------------- 06:14:42 experimental info: 06:14:42 ------------------- 06:14:42 Commited By: Cherry Wang cherry@iotechsys.com 06:14:42 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 06:14:42 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 083c381ac4cc923d13d653dabf1097f47e3433f3 [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 083c381 [Pipeline] echo 06:14:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:43 provisioning config files... 06:14:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config140151710151274945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:43 ---> ****-login.sh 06:14:43 nexus3.edgexfoundry.org:10001 06:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 nexus3.edgexfoundry.org:10002 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 nexus3.edgexfoundry.org:10003 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 nexus3.edgexfoundry.org:10004 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 ****.io 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:45 Configure a credential helper to remove this warning. See 06:14:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:45 06:14:45 Login Succeeded 06:14:45 ---> ****-login.sh ends [Pipeline] } 06:14:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:14:45 + git rev-list -1 --merges 083c381ac4cc923d13d653dabf1097f47e3433f3~1..083c381ac4cc923d13d653dabf1097f47e3433f3 [Pipeline] echo 06:14:45 -----------> git rev-list -1 --merges 083c381ac4cc923d13d653dabf1097f47e3433f3~1..083c381ac4cc923d13d653dabf1097f47e3433f3 083c381ac4cc923d13d653dabf1097f47e3433f3 06:14:45 083c381ac4cc923d13d653dabf1097f47e3433f3 [false] [Pipeline] sh 06:14:45 + git log --format=format:%s -1 083c381ac4cc923d13d653dabf1097f47e3433f3 [Pipeline] echo 06:14:45 ========================================================= 06:14:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:14:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:46 + git log --format=format:%s -1 083c381ac4cc923d13d653dabf1097f47e3433f3 [Pipeline] echo 06:14:46 [semverPrep] GIT_COMMIT: 083c381ac4cc923d13d653dabf1097f47e3433f3, Commit Message: Merge pull request #1620 from jinlinGuan/issue-1612 [Pipeline] echo 06:14:46 [semverPrep] This is not a build commit. [Pipeline] sh 06:14:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:46 + grep -v github /etc/ssh/ssh_known_hosts 06:14:46 + [ -e /tmp/ssh_known_hosts ] 06:14:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:14:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:14:46 + sudo tee -a /etc/ssh/ssh_known_hosts 06:14:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:46 06:14:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:47 0.1.4: Pulling from edgex-devops/py-git-semver 06:14:47 b85a868b505f: Pulling fs layer 06:14:47 e2be974225ed: Pulling fs layer 06:14:47 339a4e72a1f5: Pulling fs layer 06:14:47 988bab9f4d93: Pulling fs layer 06:14:47 1469e6f7b9e6: Pulling fs layer 06:14:47 eaf3925da568: Pulling fs layer 06:14:47 988bab9f4d93: Waiting 06:14:47 bab4dde63d76: Pulling fs layer 06:14:47 bde34c3a00c8: Pulling fs layer 06:14:47 b352a97aabf1: Pulling fs layer 06:14:47 4872d77fe225: Pulling fs layer 06:14:47 5851b861e8e6: Pulling fs layer 06:14:47 1469e6f7b9e6: Waiting 06:14:47 4872d77fe225: Waiting 06:14:47 eaf3925da568: Waiting 06:14:47 5851b861e8e6: Waiting 06:14:47 bde34c3a00c8: Waiting 06:14:47 b352a97aabf1: Waiting 06:14:47 bab4dde63d76: Waiting 06:14:47 e2be974225ed: Download complete 06:14:47 988bab9f4d93: Verifying Checksum 06:14:47 988bab9f4d93: Download complete 06:14:47 1469e6f7b9e6: Verifying Checksum 06:14:47 1469e6f7b9e6: Download complete 06:14:47 eaf3925da568: Verifying Checksum 06:14:47 eaf3925da568: Download complete 06:14:47 339a4e72a1f5: Verifying Checksum 06:14:47 339a4e72a1f5: Download complete 06:14:47 bde34c3a00c8: Verifying Checksum 06:14:47 bde34c3a00c8: Download complete 06:14:47 b352a97aabf1: Verifying Checksum 06:14:47 b352a97aabf1: Download complete 06:14:47 4872d77fe225: Verifying Checksum 06:14:47 4872d77fe225: Download complete 06:14:47 5851b861e8e6: Verifying Checksum 06:14:47 5851b861e8e6: Download complete 06:14:47 b85a868b505f: Verifying Checksum 06:14:47 b85a868b505f: Download complete 06:14:47 bab4dde63d76: Download complete 06:14:48 b85a868b505f: Pull complete 06:14:49 e2be974225ed: Pull complete 06:14:49 339a4e72a1f5: Pull complete 06:14:49 988bab9f4d93: Pull complete 06:14:49 1469e6f7b9e6: Pull complete 06:14:49 eaf3925da568: Pull complete 06:14:51 bab4dde63d76: Pull complete 06:14:51 bde34c3a00c8: Pull complete 06:14:52 b352a97aabf1: Pull complete 06:14:52 4872d77fe225: Pull complete 06:14:52 5851b861e8e6: Pull complete 06:14:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:14:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:52 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:14:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:55 $ docker top deb759efa31c99391abccf74c3fc2f1d7ed4ffd4b2d97dcd9f1852c1e9c6137f -eo pid,comm 06:14:55 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). 06:14:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:55 [ssh-agent] Looking for ssh-agent implementation... 06:14:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:55 $ docker exec deb759efa31c99391abccf74c3fc2f1d7ed4ffd4b2d97dcd9f1852c1e9c6137f ssh-agent 06:14:55 SSH_AUTH_SOCK=/tmp/ssh-aKU8wltg0kzX/agent.33 06:14:55 SSH_AGENT_PID=39 06:14:55 Running ssh-add (command line suppressed) 06:14:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7767211110432292042.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7767211110432292042.key) 06:14:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:55 + git tag --points-at HEAD [Pipeline] } 06:14:55 $ docker exec --env ******** --env ******** deb759efa31c99391abccf74c3fc2f1d7ed4ffd4b2d97dcd9f1852c1e9c6137f ssh-agent -k 06:14:55 unset SSH_AUTH_SOCK; 06:14:55 unset SSH_AGENT_PID; 06:14:55 echo Agent pid 39 killed; 06:14:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:14:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:56 [ssh-agent] Looking for ssh-agent implementation... 06:14:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:56 $ docker exec deb759efa31c99391abccf74c3fc2f1d7ed4ffd4b2d97dcd9f1852c1e9c6137f ssh-agent 06:14:56 SSH_AUTH_SOCK=/tmp/ssh-DHCmlhiCiNMm/agent.72 06:14:56 SSH_AGENT_PID=78 06:14:56 Running ssh-add (command line suppressed) 06:14:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4324792480018473881.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4324792480018473881.key) 06:14:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:56 + git semver init 06:14:56 2024-09-03 06:14:56,865 [run_init] DEBUG init version:0.0.0 force:False 06:14:56 2024-09-03 06:14:56,866 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:14:56 2024-09-03 06:14:56,866 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:14:56 2024-09-03 06:14:56,867 [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) 06:14:58 2024-09-03 06:14:58,829 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:14:58 2024-09-03 06:14:58,829 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:14:58 2024-09-03 06:14:58,829 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:58 2024-09-03 06:14:58,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:58 3.2.0-dev.35 [Pipeline] } 06:14:58 $ docker exec --env ******** --env ******** deb759efa31c99391abccf74c3fc2f1d7ed4ffd4b2d97dcd9f1852c1e9c6137f ssh-agent -k 06:14:58 unset SSH_AUTH_SOCK; 06:14:58 unset SSH_AGENT_PID; 06:14:58 echo Agent pid 78 killed; 06:14:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:59 + git semver [Pipeline] } 06:14:59 $ docker stop --time=1 deb759efa31c99391abccf74c3fc2f1d7ed4ffd4b2d97dcd9f1852c1e9c6137f 06:15:00 $ docker rm -f --volumes deb759efa31c99391abccf74c3fc2f1d7ed4ffd4b2d97dcd9f1852c1e9c6137f [Pipeline] // withDockerContainer [Pipeline] sh 06:15:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:01 Stashed 1 file(s) [Pipeline] echo 06:15:01 [edgeXSemver]: initialized semver on version 3.2.0-dev.35 [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 06:15:01 provisioning config files... 06:15:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4297680709952341159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:02 ---> ****-login.sh 06:15:02 nexus3.edgexfoundry.org:10001 06:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:02 Configure a credential helper to remove this warning. See 06:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:02 06:15:02 Login Succeeded 06:15:02 nexus3.edgexfoundry.org:10002 06:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:02 Configure a credential helper to remove this warning. See 06:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:02 06:15:02 Login Succeeded 06:15:02 nexus3.edgexfoundry.org:10003 06:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:02 Configure a credential helper to remove this warning. See 06:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:02 06:15:02 Login Succeeded 06:15:02 nexus3.edgexfoundry.org:10004 06:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:02 Configure a credential helper to remove this warning. See 06:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:02 06:15:02 Login Succeeded 06:15:02 ****.io 06:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:02 Configure a credential helper to remove this warning. See 06:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:02 06:15:02 Login Succeeded 06:15:02 ---> ****-login.sh ends [Pipeline] } 06:15:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:15:02 ========================================================= 06:15:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:15:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:03 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:15:03 Sending build context to Docker daemon 25.29MB 06:15:03 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:15:03 Step 2/10 : FROM ${BASE} AS builder 06:15:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:03 619be1103602: Pulling fs layer 06:15:03 7862e08f4a3e: Pulling fs layer 06:15:03 5df492c9dc93: Pulling fs layer 06:15:03 7629e6793208: Pulling fs layer 06:15:03 4f4fb700ef54: Pulling fs layer 06:15:03 7629e6793208: Waiting 06:15:03 fb5054dd5b73: Pulling fs layer 06:15:03 eeca6798cff9: Pulling fs layer 06:15:03 aa269ceb94a6: Pulling fs layer 06:15:03 4f4fb700ef54: Waiting 06:15:03 eeca6798cff9: Waiting 06:15:03 fb5054dd5b73: Waiting 06:15:03 aa269ceb94a6: Waiting 06:15:03 ada007ff1a6a: Pulling fs layer 06:15:03 ada007ff1a6a: Waiting 06:15:03 7862e08f4a3e: Verifying Checksum 06:15:03 7862e08f4a3e: Download complete 06:15:03 7629e6793208: Verifying Checksum 06:15:03 7629e6793208: Download complete 06:15:03 4f4fb700ef54: Verifying Checksum 06:15:03 4f4fb700ef54: Download complete 06:15:03 fb5054dd5b73: Verifying Checksum 06:15:03 fb5054dd5b73: Download complete 06:15:03 619be1103602: Verifying Checksum 06:15:03 619be1103602: Download complete 06:15:03 eeca6798cff9: Verifying Checksum 06:15:03 eeca6798cff9: Download complete 06:15:03 619be1103602: Pull complete 06:15:03 ada007ff1a6a: Verifying Checksum 06:15:03 ada007ff1a6a: Download complete 06:15:03 7862e08f4a3e: Pull complete 06:15:03 5df492c9dc93: Verifying Checksum 06:15:03 5df492c9dc93: Download complete 06:15:04 aa269ceb94a6: Verifying Checksum 06:15:04 aa269ceb94a6: Download complete 06:15:07 5df492c9dc93: Pull complete 06:15:07 7629e6793208: Pull complete 06:15:07 4f4fb700ef54: Pull complete 06:15:07 fb5054dd5b73: Pull complete 06:15:07 eeca6798cff9: Pull complete 06:15:09 aa269ceb94a6: Pull complete 06:15:10 ada007ff1a6a: Pull complete 06:15:10 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:15:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:15:10 ---> f489d0715acc 06:15:10 Step 3/10 : ARG MAKE=make build 06:15:15 ---> Running in 93054cf6c4c2 06:15:15 Removing intermediate container 93054cf6c4c2 06:15:15 ---> 53b036ac41f6 06:15:15 Step 4/10 : WORKDIR /device-sdk-go 06:15:15 ---> Running in a8d6785953bd 06:15:15 Removing intermediate container a8d6785953bd 06:15:15 ---> a202c055b54e 06:15:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:15:15 ---> Running in 926391bd36fb 06:15:15 Removing intermediate container 926391bd36fb 06:15:15 ---> cadebbec2d0b 06:15:15 Step 6/10 : RUN apk add --update --no-cache make git 06:15:15 ---> Running in 49c916f493dd 06:15:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:15:16 OK: 264 MiB in 52 packages 06:15:16 Removing intermediate container 49c916f493dd 06:15:16 ---> fa79ee014d9d 06:15:16 Step 7/10 : COPY go.mod vendor* ./ 06:15:16 Still waiting to schedule task 06:15:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:15:16 ---> be07147c5124 06:15:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:16 ---> Running in 57ab4f06a0fb 06:16:24 Removing intermediate container 57ab4f06a0fb 06:16:24 ---> 85655352ad95 06:16:24 Step 9/10 : COPY . . 06:16:24 ---> 4984931c427e 06:16:24 Step 10/10 : RUN ${MAKE} 06:16:24 ---> Running in ea69af9dd00e 06:16:24 noop 06:16:24 Removing intermediate container ea69af9dd00e 06:16:24 ---> cfdc10e6514b 06:16:24 Successfully built cfdc10e6514b 06:16:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:24 + docker inspect -f . ci-base-image-x86_64 06:16:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:25 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:16:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:25 $ docker top 00730182ef0116d6decfa36b69a8d826960c020e97a9a45de2d1900a8b1112f0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:25 + go version 06:16:25 go version go1.21.9 linux/amd64 [Pipeline] } 06:16:25 $ docker stop --time=1 00730182ef0116d6decfa36b69a8d826960c020e97a9a45de2d1900a8b1112f0 06:16:27 $ docker rm -f --volumes 00730182ef0116d6decfa36b69a8d826960c020e97a9a45de2d1900a8b1112f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:27 + docker inspect -f . ci-base-image-x86_64 06:16:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:27 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:16:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:28 $ docker top 694f016645f33ad9ebb348457a628edea9c2aba41fa6152b4487bd3060913243 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:16:28 + make test 06:16:28 go test -race -coverprofile=coverage.out ./... 06:16:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:16:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9257 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:16:45 Running in /w/workspace/device-sdk-go/310 [Pipeline] { [Pipeline] checkout 06:16:49 The recommended git tool is: git 06:16:53 using credential edgex-jenkins-ssh 06:16:53 Cloning the remote Git repository 06:16:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:16:53 > git init /w/workspace/device-sdk-go/310 # timeout=10 06:16:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:53 > git --version # timeout=10 06:16:53 > git --version # 'git version 2.25.1' 06:16:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:58 Avoid second fetch 06:16:58 Checking out Revision 083c381ac4cc923d13d653dabf1097f47e3433f3 (main) 06:16:58 Commit message: "Merge pull request #1620 from jinlinGuan/issue-1612" 06:16:58 > git config core.sparsecheckout # timeout=10 06:16:58 > git checkout -f 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:17:03 % Total % Received % Xferd Average Speed Time Time Time Current 06:17:03 Dload Upload Total Spent Left Speed 06:17:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 76814 0 --:--:-- --:--:-- --:--:-- 77277 [Pipeline] sh 06:17:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:17:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:17:04 + sudo tee /etc/docker/daemon.new 06:17:04 { 06:17:04 "registry-mirrors": [ 06:17:04 "https://nexus3.edgexfoundry.org:10001" 06:17:04 ], 06:17:04 "bip": "10.250.0.254/24", 06:17:04 "hosts": [ 06:17:04 "tcp://0.0.0.0:5555", 06:17:04 "unix:///var/run/docker.sock" 06:17:04 ], 06:17:04 "mtu": 1458, 06:17:04 "selinux-enabled": true, 06:17:04 "seccomp-profile": "/etc/docker/seccomp.json" 06:17:04 } [Pipeline] sh 06:17:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:17:04 + sudo service docker restart 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:17:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 26.0% of statements 06:17:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.033s coverage: 79.4% of statements 06:17:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.046s coverage: 86.0% of statements 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:17:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 45.2% of statements 06:17:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:17:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.4% of statements 06:17:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.072s coverage: 44.6% of statements 06:17:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.062s coverage: 68.5% of statements 06:17:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.086s coverage: 89.2% of statements 06:17:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:23 provisioning config files... 06:17:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/310@tmp/config13930129739754065751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:23 ---> ****-login.sh 06:17:23 nexus3.edgexfoundry.org:10001 06:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:24 Configure a credential helper to remove this warning. See 06:17:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:24 06:17:24 Login Succeeded 06:17:24 nexus3.edgexfoundry.org:10002 06:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:24 Configure a credential helper to remove this warning. See 06:17:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:24 06:17:24 Login Succeeded 06:17:24 nexus3.edgexfoundry.org:10003 06:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:25 Configure a credential helper to remove this warning. See 06:17:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:25 06:17:25 Login Succeeded 06:17:25 nexus3.edgexfoundry.org:10004 06:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:25 Configure a credential helper to remove this warning. See 06:17:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:25 06:17:25 Login Succeeded 06:17:25 ****.io 06:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:25 Configure a credential helper to remove this warning. See 06:17:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:25 06:17:25 Login Succeeded 06:17:25 ---> ****-login.sh ends [Pipeline] } 06:17:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:17:26 ========================================================= 06:17:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:17:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:26 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:17:27 Sending build context to Docker daemon 13.1MB 06:17:27 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:17:27 Step 2/10 : FROM ${BASE} AS builder 06:17:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:17:27 c6b39de5b339: Pulling fs layer 06:17:27 a69c41024577: Pulling fs layer 06:17:27 d6de4b400683: Pulling fs layer 06:17:27 35cb2a7552d0: Pulling fs layer 06:17:27 4f4fb700ef54: Pulling fs layer 06:17:27 464afbd9ba4c: Pulling fs layer 06:17:27 35cb2a7552d0: Waiting 06:17:27 00f215d4a9da: Pulling fs layer 06:17:27 d496ad576159: Pulling fs layer 06:17:27 4f4fb700ef54: Waiting 06:17:27 464afbd9ba4c: Waiting 06:17:27 00f215d4a9da: Waiting 06:17:27 d496ad576159: Waiting 06:17:27 a69c41024577: Verifying Checksum 06:17:27 a69c41024577: Download complete 06:17:27 35cb2a7552d0: Verifying Checksum 06:17:27 35cb2a7552d0: Download complete 06:17:27 4f4fb700ef54: Verifying Checksum 06:17:27 4f4fb700ef54: Download complete 06:17:27 c6b39de5b339: Download complete 06:17:27 464afbd9ba4c: Verifying Checksum 06:17:28 d496ad576159: Verifying Checksum 06:17:28 d496ad576159: Download complete 06:17:28 c6b39de5b339: Pull complete 06:17:28 a69c41024577: Pull complete 06:17:29 d6de4b400683: Verifying Checksum 06:17:29 d6de4b400683: Download complete 06:17:30 00f215d4a9da: Verifying Checksum 06:17:30 00f215d4a9da: Download complete 06:17:42 d6de4b400683: Pull complete 06:17:42 35cb2a7552d0: Pull complete 06:17:42 4f4fb700ef54: Pull complete 06:17:42 464afbd9ba4c: Pull complete 06:17:48 GO111MODULE=on go vet ./... 06:17:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:17:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:17:50 ./bin/test-attribution-txt.sh [Pipeline] echo 06:17:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:17:50 $ docker stop --time=1 694f016645f33ad9ebb348457a628edea9c2aba41fa6152b4487bd3060913243 06:17:52 00f215d4a9da: Pull complete 06:17:52 d496ad576159: Pull complete 06:17:52 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:17:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:17:52 ---> f246e2811388 06:17:52 Step 3/10 : ARG MAKE=make build 06:17:53 $ docker rm -f --volumes 694f016645f33ad9ebb348457a628edea9c2aba41fa6152b4487bd3060913243 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:17:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:17:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:54 + ls -al . 06:17:54 total 384 06:17:54 drwxrwxr-x 11 jenkins jenkins 4096 Sep 3 06:16 . 06:17:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:14 .. 06:17:54 -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 06:14 .dockerignore 06:17:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 06:17 .git 06:17:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:14 .github 06:17:54 -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 06:14 .gitignore 06:17:54 -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 06:14 .golangci.yml 06:17:54 drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 06:14 .semver 06:17:54 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 06:14 CHANGELOG.md 06:17:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 06:14 GOVERNANCE.md 06:17:54 -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 06:14 Jenkinsfile 06:17:54 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 06:14 LICENSE 06:17:54 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 06:14 Makefile 06:17:54 -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 06:14 OWNERS.md 06:17:54 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 06:14 README.md 06:17:54 -rw-rw-r-- 1 jenkins jenkins 12 Sep 3 06:15 VERSION 06:17:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 06:14 bin 06:17:54 -rw-r--r-- 1 jenkins jenkins 127940 Sep 3 06:17 coverage.out 06:17:54 drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 06:14 example 06:17:54 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 06:14 go.mod 06:17:54 -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 06:14 go.sum 06:17:54 drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 06:14 internal 06:17:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:14 openapi 06:17:54 drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 06:14 pkg 06:17:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:14 snap 06:17:54 -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:54 ---> Running in 1dde01337197 06:17:55 + 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=083c381ac4cc923d13d653dabf1097f47e3433f3 --label arch=amd64 --label version=3.2.0-dev.35 . 06:17:55 Sending build context to Docker daemon 25.42MB 06:17:55 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:17:55 Step 2/24 : FROM ${BASE} AS builder 06:17:55 ---> cfdc10e6514b 06:17:55 Step 3/24 : ARG MAKE=make build 06:17:55 Removing intermediate container 1dde01337197 06:17:55 ---> a539265a704c 06:17:55 Step 4/10 : WORKDIR /device-sdk-go 06:17:55 ---> Running in ae3fae2796d1 06:17:55 ---> Running in dc99cff29486 06:17:55 Removing intermediate container dc99cff29486 06:17:55 ---> d94cce7050f2 06:17:55 Step 4/24 : WORKDIR /device-sdk-go 06:17:55 Removing intermediate container ae3fae2796d1 06:17:55 ---> 56b916ee1dec 06:17:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:17:55 ---> Running in 96cd92768a0d 06:17:55 ---> Running in 73b7f39ee236 06:17:55 Removing intermediate container 73b7f39ee236 06:17:55 ---> 88e735f20d98 06:17:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:17:55 ---> Running in f61b78f2cb36 06:17:55 Removing intermediate container f61b78f2cb36 06:17:55 ---> 5abff149d245 06:17:55 Step 6/24 : RUN apk add --update --no-cache make git 06:17:55 ---> Running in 63664fa0a19c 06:17:56 Removing intermediate container 96cd92768a0d 06:17:56 ---> 09febd05b877 06:17:56 Step 6/10 : RUN apk add --update --no-cache make git 06:17:56 ---> Running in 3e4a580d88b1 06:17:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:17:56 OK: 264 MiB in 52 packages 06:17:56 Removing intermediate container 63664fa0a19c 06:17:56 ---> c00e59e1cf92 06:17:56 Step 7/24 : COPY go.mod vendor* ./ 06:17:56 ---> 52b47c6456c5 06:17:56 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:56 ---> Running in b89146c33b34 06:17:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:17:57 Removing intermediate container b89146c33b34 06:17:57 ---> 3c26fd27d24a 06:17:57 Step 9/24 : COPY . . 06:17:58 ---> d87591283907 06:17:58 Step 10/24 : RUN ${MAKE} 06:17:58 ---> Running in 4fa5f0527067 06:17:58 OK: 266 MiB in 52 packages 06:17:58 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.35 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.35" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:17:59 Removing intermediate container 3e4a580d88b1 06:17:59 ---> 0006f8d79962 06:17:59 Step 7/10 : COPY go.mod vendor* ./ 06:17:59 ---> cab874369bf5 06:17:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:59 ---> Running in a516a758e0e4 06:18:30 Removing intermediate container 4fa5f0527067 06:18:30 ---> e463331661ed 06:18:30 Step 11/24 : FROM alpine:3.18 06:18:30 3.18: Pulling from library/alpine 06:18:30 930bdd4d222e: Pulling fs layer 06:18:30 930bdd4d222e: Download complete 06:18:30 930bdd4d222e: Pull complete 06:18:30 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:18:30 Status: Downloaded newer image for alpine:3.18 06:18:30 ---> 18f865063206 06:18:30 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:18:30 ---> Running in 70e999eeb2d2 06:18:30 Removing intermediate container 70e999eeb2d2 06:18:30 ---> 05ba117f5d9a 06:18:30 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:18:30 ---> Running in 98fda9876a10 06:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:18:30 (1/1) Installing dumb-init (1.2.5-r2) 06:18:30 Executing busybox-1.36.1-r7.trigger 06:18:30 OK: 7 MiB in 16 packages 06:18:30 Removing intermediate container 98fda9876a10 06:18:30 ---> 362741009ddd 06:18:30 Step 14/24 : RUN apk --no-cache upgrade 06:18:30 ---> Running in 2f8ea20129e6 06:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:18:30 OK: 7 MiB in 16 packages 06:18:31 Removing intermediate container 2f8ea20129e6 06:18:31 ---> 452fa4aa2541 06:18:31 Step 15/24 : WORKDIR / 06:18:31 ---> Running in f15b84df9d83 06:18:31 Removing intermediate container f15b84df9d83 06:18:31 ---> 50eda7c45182 06:18:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:18:31 ---> ef93dbd150ed 06:18:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:18:32 ---> 1c454ef7f530 06:18:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:18:32 ---> cba666df49aa 06:18:32 Step 19/24 : EXPOSE 59999 06:18:32 ---> Running in fb9f79048c73 06:18:32 Removing intermediate container fb9f79048c73 06:18:32 ---> 1340aa6f9094 06:18:32 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:18:32 ---> Running in f12af7ef5eef 06:18:33 Removing intermediate container f12af7ef5eef 06:18:33 ---> a35f9ad44060 06:18:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:18:33 ---> Running in a469a3024d08 06:18:33 Removing intermediate container a469a3024d08 06:18:33 ---> d60ccb545f09 06:18:33 Step 22/24 : LABEL arch=amd64 06:18:33 ---> Running in ebf66df12a74 06:18:33 Removing intermediate container ebf66df12a74 06:18:33 ---> 5ca95a40cb93 06:18:33 Step 23/24 : LABEL git_sha=083c381ac4cc923d13d653dabf1097f47e3433f3 06:18:33 ---> Running in 5c60bf25e440 06:18:33 Removing intermediate container 5c60bf25e440 06:18:33 ---> 713dc7d4a4d0 06:18:33 Step 24/24 : LABEL version=3.2.0-dev.35 06:18:33 ---> Running in 2c3a9a2b99a8 06:18:33 Removing intermediate container 2c3a9a2b99a8 06:18:33 ---> 720eede5c286 06:18:33 [Warning] One or more build-args [ARCH] were not consumed 06:18:33 Successfully built 720eede5c286 06:18:33 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 06:18:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:33 06:18:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:34 latest: Pulling from edgex-lftools-log-publisher 06:18:34 5eb5b503b376: Pulling fs layer 06:18:34 5c69ac0246d0: Pulling fs layer 06:18:34 ec43610c2a17: Pulling fs layer 06:18:34 3a2ae6a8a46f: Pulling fs layer 06:18:34 33b1e0a273af: Pulling fs layer 06:18:34 5d3b04190fa2: Pulling fs layer 06:18:34 2f39f015ded8: Pulling fs layer 06:18:34 3a2ae6a8a46f: Waiting 06:18:34 2f39f015ded8: Waiting 06:18:34 33b1e0a273af: Waiting 06:18:34 5d3b04190fa2: Waiting 06:18:34 5c69ac0246d0: Download complete 06:18:34 3a2ae6a8a46f: Verifying Checksum 06:18:34 3a2ae6a8a46f: Download complete 06:18:34 33b1e0a273af: Verifying Checksum 06:18:34 33b1e0a273af: Download complete 06:18:34 ec43610c2a17: Verifying Checksum 06:18:34 ec43610c2a17: Download complete 06:18:34 5d3b04190fa2: Verifying Checksum 06:18:34 5d3b04190fa2: Download complete 06:18:34 5eb5b503b376: Verifying Checksum 06:18:34 5eb5b503b376: Download complete 06:18:35 2f39f015ded8: Download complete 06:18:36 5eb5b503b376: Pull complete 06:18:36 5c69ac0246d0: Pull complete 06:18:36 ec43610c2a17: Pull complete 06:18:36 3a2ae6a8a46f: Pull complete 06:18:36 33b1e0a273af: Pull complete 06:18:36 5d3b04190fa2: Pull complete 06:18:41 2f39f015ded8: Pull complete 06:18:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:18:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:41 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:18:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:18:46 $ docker top 0599a5d15f437731535cc8a498d4c7a5eacafaff31560c60131cbf280c0987d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:46 ---> job-cost.sh 06:18:46 lf-activate-venv: SKIPPING 06:18:46 INFO: No Stack... 06:18:46 INFO: Retrieving Pricing Info for: v3-standard-8 06:18:46 INFO: Archiving Costs [Pipeline] sh 06:18:47 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:18:47 + cut -d, -f6 [Pipeline] lock 06:18:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-310-stack-cost] 06:18:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-310-stack-cost] did not exist. Created. 06:18:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-310-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:18:47 + echo total: 0.2199999988079071 [Pipeline] stash 06:18:47 Stashed 1 file(s) [Pipeline] } 06:18:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-310-stack-cost] [Pipeline] // lock [Pipeline] } 06:18:47 $ docker stop --time=1 0599a5d15f437731535cc8a498d4c7a5eacafaff31560c60131cbf280c0987d4 06:18:48 $ docker rm -f --volumes 0599a5d15f437731535cc8a498d4c7a5eacafaff31560c60131cbf280c0987d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:19:51 Removing intermediate container a516a758e0e4 06:19:51 ---> e2a2c01866b5 06:19:51 Step 9/10 : COPY . . 06:19:51 ---> 2da712db08df 06:19:51 Step 10/10 : RUN ${MAKE} 06:19:51 ---> Running in 3bceae3f504c 06:19:51 noop 06:19:51 Removing intermediate container 3bceae3f504c 06:19:51 ---> e9fc9237d268 06:19:51 Successfully built e9fc9237d268 06:19:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:51 + docker inspect -f . ci-base-image-arm64 06:19:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:52 prd-ubuntu20.04-docker-arm64-4c-16g-9257 does not seem to be running inside a container 06:19:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/310 -v /w/workspace/device-sdk-go/310:/w/workspace/device-sdk-go/310:rw,z -v /w/workspace/device-sdk-go/310@tmp:/w/workspace/device-sdk-go/310@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 06:19:53 $ docker top 52d2055e3c455290cd83fa14a9e7a1b8a5f34660acc86fa85d9bc3deacbd5b03 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:54 + go version 06:19:54 go version go1.21.9 linux/arm64 [Pipeline] } 06:19:54 $ docker stop --time=1 52d2055e3c455290cd83fa14a9e7a1b8a5f34660acc86fa85d9bc3deacbd5b03 06:19:55 $ docker rm -f --volumes 52d2055e3c455290cd83fa14a9e7a1b8a5f34660acc86fa85d9bc3deacbd5b03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:56 + docker inspect -f . ci-base-image-arm64 06:19:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:56 prd-ubuntu20.04-docker-arm64-4c-16g-9257 does not seem to be running inside a container 06:19:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/310 -v /w/workspace/device-sdk-go/310:/w/workspace/device-sdk-go/310:rw,z -v /w/workspace/device-sdk-go/310@tmp:/w/workspace/device-sdk-go/310@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 06:19:57 $ docker top 57808fa355fe624d30b6d42b9284fb618642b8d06daa6f5fa89488c5e5c451d1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:58 + git config --global --add safe.directory /w/workspace/device-sdk-go/310 [Pipeline] fileExists [Pipeline] sh 06:19:59 + make test 06:19:59 go test -race -coverprofile=coverage.out ./... 06:20:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:24:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:24:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:24:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:24:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:24:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:24:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.116s coverage: 26.0% of statements 06:24:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.173s coverage: 79.4% of statements 06:24:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:24:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:25:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.266s coverage: 86.0% of statements 06:25:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:25:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.436s coverage: 45.2% of statements 06:25:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.181s coverage: 14.4% of statements 06:25:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.058s coverage: 44.6% of statements 06:25:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 06:25:14 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:25:14 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:25:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.323s coverage: 68.5% of statements 06:25:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.371s coverage: 89.2% of statements 06:25:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:25:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.261s coverage: 5.3% of statements 06:25:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:25:26 GO111MODULE=on go vet ./... 06:29:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:29:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:29:33 ./bin/test-attribution-txt.sh [Pipeline] echo 06:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:29:33 $ docker stop --time=1 57808fa355fe624d30b6d42b9284fb618642b8d06daa6f5fa89488c5e5c451d1 06:29:35 $ docker rm -f --volumes 57808fa355fe624d30b6d42b9284fb618642b8d06daa6f5fa89488c5e5c451d1 [Pipeline] // withDockerContainer [Pipeline] sh 06:29:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:29:38 Warning: overwriting stash ‘coverage-report’ 06:29:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:29:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:29:39 + ls -al . 06:29:39 total 380 06:29:39 drwxrwxr-x 10 jenkins jenkins 4096 Sep 3 06:20 . 06:29:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:16 .. 06:29:39 -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 06:16 .dockerignore 06:29:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 06:17 .git 06:29:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:16 .github 06:29:39 -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 06:16 .gitignore 06:29:39 -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 06:16 .golangci.yml 06:29:39 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 06:16 CHANGELOG.md 06:29:39 -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 06:16 GOVERNANCE.md 06:29:39 -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 06:16 Jenkinsfile 06:29:39 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 06:16 LICENSE 06:29:39 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 06:16 Makefile 06:29:39 -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 06:16 OWNERS.md 06:29:39 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 06:16 README.md 06:29:39 -rw-rw-r-- 1 jenkins jenkins 12 Sep 3 06:15 VERSION 06:29:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 06:16 bin 06:29:39 -rw-r--r-- 1 jenkins jenkins 127940 Sep 3 06:25 coverage.out 06:29:39 drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 06:16 example 06:29:39 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 06:16 go.mod 06:29:39 -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 06:16 go.sum 06:29:39 drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 06:16 internal 06:29:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:16 openapi 06:29:39 drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 06:16 pkg 06:29:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:16 snap 06:29:39 -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 06:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:40 + 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=083c381ac4cc923d13d653dabf1097f47e3433f3 --label arch=arm64 --label version=3.2.0-dev.35 . 06:29:40 Sending build context to Docker daemon 13.23MB 06:29:40 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:29:40 Step 2/24 : FROM ${BASE} AS builder 06:29:40 ---> e9fc9237d268 06:29:40 Step 3/24 : ARG MAKE=make build 06:29:40 ---> Running in 19f9e0b9d2f1 06:29:41 Removing intermediate container 19f9e0b9d2f1 06:29:41 ---> 58404b8bc9d0 06:29:41 Step 4/24 : WORKDIR /device-sdk-go 06:29:41 ---> Running in 01af9427f201 06:29:41 Removing intermediate container 01af9427f201 06:29:41 ---> f1f9a515bc8c 06:29:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:29:41 ---> Running in f3c6746009dc 06:29:42 Removing intermediate container f3c6746009dc 06:29:42 ---> fb56afbfce89 06:29:42 Step 6/24 : RUN apk add --update --no-cache make git 06:29:42 ---> Running in 9b2340ac613e 06:29:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:29:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:29:44 OK: 266 MiB in 52 packages 06:29:45 Removing intermediate container 9b2340ac613e 06:29:45 ---> f72ae09d3e7d 06:29:45 Step 7/24 : COPY go.mod vendor* ./ 06:29:46 ---> 418162b372ad 06:29:46 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:29:46 ---> Running in 76bd951e6669 06:29:48 Removing intermediate container 76bd951e6669 06:29:48 ---> c0d81db74bb4 06:29:48 Step 9/24 : COPY . . 06:29:50 ---> b1124952b609 06:29:50 Step 10/24 : RUN ${MAKE} 06:29:50 ---> Running in e2a16e7b200a 06:29:51 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.35 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.35" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:33:46 Removing intermediate container e2a16e7b200a 06:33:46 ---> 452582567c46 06:33:46 Step 11/24 : FROM alpine:3.18 06:33:46 3.18: Pulling from library/alpine 06:33:46 4983c3fe2029: Pulling fs layer 06:33:46 4983c3fe2029: Verifying Checksum 06:33:46 4983c3fe2029: Download complete 06:33:46 4983c3fe2029: Pull complete 06:33:46 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:33:46 Status: Downloaded newer image for alpine:3.18 06:33:46 ---> a0237000ae83 06:33:46 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:33:46 ---> Running in b0172796e3c2 06:33:46 Removing intermediate container b0172796e3c2 06:33:46 ---> 6b94d5a91ef8 06:33:46 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:33:46 ---> Running in 814000ff6c40 06:33:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:33:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:33:46 (1/1) Installing dumb-init (1.2.5-r2) 06:33:46 Executing busybox-1.36.1-r7.trigger 06:33:46 OK: 8 MiB in 16 packages 06:33:46 Removing intermediate container 814000ff6c40 06:33:46 ---> 0a515cb8d983 06:33:46 Step 14/24 : RUN apk --no-cache upgrade 06:33:46 ---> Running in 88d4f39e01be 06:33:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:33:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:33:46 OK: 8 MiB in 16 packages 06:33:46 Removing intermediate container 88d4f39e01be 06:33:46 ---> c3cf7e9e2289 06:33:46 Step 15/24 : WORKDIR / 06:33:46 ---> Running in 0156dd2e37e6 06:33:46 Removing intermediate container 0156dd2e37e6 06:33:46 ---> 95d5fa92bed1 06:33:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:33:46 ---> c130c496f1e5 06:33:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:33:46 ---> 194f755b8534 06:33:46 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:33:46 ---> df333570f287 06:33:46 Step 19/24 : EXPOSE 59999 06:33:46 ---> Running in 748b57adf447 06:33:46 Removing intermediate container 748b57adf447 06:33:46 ---> 1df2f1de5455 06:33:46 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:33:46 ---> Running in 5f0f1ae7b36b 06:33:46 Removing intermediate container 5f0f1ae7b36b 06:33:46 ---> 17067e4c806e 06:33:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:33:46 ---> Running in 649d1514d574 06:33:46 Removing intermediate container 649d1514d574 06:33:46 ---> 3391cbd0c2cd 06:33:46 Step 22/24 : LABEL arch=arm64 06:33:46 ---> Running in 93f3b34be87b 06:33:46 Removing intermediate container 93f3b34be87b 06:33:46 ---> 40b2aaef1269 06:33:46 Step 23/24 : LABEL git_sha=083c381ac4cc923d13d653dabf1097f47e3433f3 06:33:46 ---> Running in 55d39f3c1df0 06:33:46 Removing intermediate container 55d39f3c1df0 06:33:46 ---> 9d7ad7ccd775 06:33:46 Step 24/24 : LABEL version=3.2.0-dev.35 06:33:46 ---> Running in 82eaadf76ae5 06:33:46 Removing intermediate container 82eaadf76ae5 06:33:46 ---> f8b2723faa71 06:33:46 [Warning] One or more build-args [ARCH] were not consumed 06:33:47 Successfully built f8b2723faa71 06:33:47 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 06:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:33:47 06:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:33:48 arm64: Pulling from edgex-lftools-log-publisher 06:33:48 8998bd30e6a1: Pulling fs layer 06:33:48 04944245beec: Pulling fs layer 06:33:48 699f458cf7ca: Pulling fs layer 06:33:48 765212b225bb: Pulling fs layer 06:33:48 f23df028b6ca: Pulling fs layer 06:33:48 d65c8cfc05b1: Pulling fs layer 06:33:48 2437ff75d9bd: Pulling fs layer 06:33:48 765212b225bb: Waiting 06:33:48 d65c8cfc05b1: Waiting 06:33:48 f23df028b6ca: Waiting 06:33:48 2437ff75d9bd: Waiting 06:33:48 04944245beec: Verifying Checksum 06:33:48 04944245beec: Download complete 06:33:48 765212b225bb: Verifying Checksum 06:33:48 765212b225bb: Download complete 06:33:48 f23df028b6ca: Verifying Checksum 06:33:48 f23df028b6ca: Download complete 06:33:48 d65c8cfc05b1: Verifying Checksum 06:33:48 d65c8cfc05b1: Download complete 06:33:48 699f458cf7ca: Verifying Checksum 06:33:48 699f458cf7ca: Download complete 06:33:49 8998bd30e6a1: Verifying Checksum 06:33:49 8998bd30e6a1: Download complete 06:33:51 2437ff75d9bd: Verifying Checksum 06:33:51 2437ff75d9bd: Download complete 06:33:53 8998bd30e6a1: Pull complete 06:33:53 04944245beec: Pull complete 06:33:55 699f458cf7ca: Pull complete 06:33:55 765212b225bb: Pull complete 06:33:56 f23df028b6ca: Pull complete 06:33:57 d65c8cfc05b1: Pull complete 06:34:15 2437ff75d9bd: Pull complete 06:34:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:34:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:15 prd-ubuntu20.04-docker-arm64-4c-16g-9257 does not seem to be running inside a container 06:34:15 $ 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/310 -v /w/workspace/device-sdk-go/310:/w/workspace/device-sdk-go/310:rw,z -v /w/workspace/device-sdk-go/310@tmp:/w/workspace/device-sdk-go/310@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 06:34:18 $ docker top d4dbcdcf70ef57b26a7b3d4b1ff09a9013f5eda7a10c079551d935331d2ab013 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:19 ---> job-cost.sh 06:34:19 lf-activate-venv: SKIPPING 06:34:19 INFO: No Stack... 06:34:19 INFO: Retrieving Pricing Info for: v3-standard-4 06:34:20 INFO: Archiving Costs [Pipeline] sh 06:34:21 + cut -d, -f6 06:34:21 + cat /w/workspace/device-sdk-go/310/archives/cost.csv [Pipeline] lock 06:34:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-310-stack-cost] 06:34:21 Resource [jenkins-edgexfoundry-device-sdk-go-main-310-stack-cost] did not exist. Created. 06:34:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-310-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:34:22 /w/workspace/device-sdk-go/310@tmp/durable-0bc17dd8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:34:22 + echo total: 0.10999999940395355 [Pipeline] stash 06:34:22 Warning: overwriting stash ‘stack-cost’ 06:34:22 Stashed 1 file(s) [Pipeline] } 06:34:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-310-stack-cost] [Pipeline] // lock [Pipeline] } 06:34:22 $ docker stop --time=1 d4dbcdcf70ef57b26a7b3d4b1ff09a9013f5eda7a10c079551d935331d2ab013 06:34:24 $ docker rm -f --volumes d4dbcdcf70ef57b26a7b3d4b1ff09a9013f5eda7a10c079551d935331d2ab013 [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 06:34:25 provisioning config files... 06:34:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17291711040582629052tmp [Pipeline] { [Pipeline] sh 06:34:25 + set +x 06:34:25 + curl -s https://codecov.io/bash 06:34:25 + bash -s -- 06:34:25 06:34:25 _____ _ 06:34:25 / ____| | | 06:34:25 | | ___ __| | ___ ___ _____ __ 06:34:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:34:25 | |___| (_) | (_| | __/ (_| (_) \ V / 06:34:25 \_____\___/ \__,_|\___|\___\___/ \_/ 06:34:25 Bash-1.0.6 06:34:25 06:34:25 06:34:25 ==> git version 2.25.1 found 06:34:25 ==> 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 06:34:25 Release-Date: 2020-01-08 06:34:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:34:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:34:25 ==> Jenkins CI detected. 06:34:25 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:34:25 project root: . 06:34:25 --> token set from env 06:34:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:34:25 ==> Running gcov in . (disable via -X gcov) 06:34:25 ==> Python coveragepy not found 06:34:25 ==> Searching for coverage reports in: 06:34:25 + . 06:34:25 -> Found 1 reports 06:34:25 ==> Detecting git/mercurial file structure 06:34:25 ==> Reading reports 06:34:25 + ./coverage.out bytes=127940 06:34:25 ==> Appending adjustments 06:34:25 https://docs.codecov.io/docs/fixing-reports 06:34:25 + Found adjustments 06:34:25 ==> Gzipping contents 06:34:25 20K /tmp/codecov.S1EKwx.gz 06:34:25 ==> Uploading reports 06:34:25 url: https://codecov.io 06:34:25 query: branch=main&commit=083c381ac4cc923d13d653dabf1097f47e3433f3&build=310&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F310%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:34:25 -> Pinging Codecov 06:34:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=083c381ac4cc923d13d653dabf1097f47e3433f3&build=310&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F310%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:34:26 -> Uploading to 06:34:26 https://storage.googleapis.com/codecov/v4/raw/2024-09-03/7E55EF52A471D76F132DFD9A03CDDE97/083c381ac4cc923d13d653dabf1097f47e3433f3/07e7dd68-8315-41be-a850-93817ff84ad0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240903%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240903T063425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9e87054f0cb3319a930a4cb049e46f86b9ab65cfa892da102fdefd31d6db142 06:34:26 % Total % Received % Xferd Average Speed Time Time Time Current 06:34:26 Dload Upload Total Spent Left Speed 06:34:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17667 0 0 100 17667 0 75824 --:--:-- --:--:-- --:--:-- 75500 100 17667 0 0 100 17667 0 75824 --:--:-- --:--:-- --:--:-- 75500 06:34:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/083c381ac4cc923d13d653dabf1097f47e3433f3 [Pipeline] } 06:34:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:34:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:34:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:34:26 06:34:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:34:27 latest: Pulling from edgex-devops/edgex-snyk-go 06:34:27 619be1103602: Already exists 06:34:27 f8ea3408117e: Pulling fs layer 06:34:27 91320369b822: Pulling fs layer 06:34:27 0406650e8295: Pulling fs layer 06:34:27 4f4fb700ef54: Pulling fs layer 06:34:27 96d80e3f36e1: Pulling fs layer 06:34:27 bcf3aedb951c: Pulling fs layer 06:34:27 4f4fb700ef54: Waiting 06:34:27 96d80e3f36e1: Waiting 06:34:27 bcf3aedb951c: Waiting 06:34:27 0406650e8295: Verifying Checksum 06:34:27 0406650e8295: Download complete 06:34:27 f8ea3408117e: Download complete 06:34:27 4f4fb700ef54: Verifying Checksum 06:34:27 4f4fb700ef54: Download complete 06:34:27 f8ea3408117e: Pull complete 06:34:27 96d80e3f36e1: Verifying Checksum 06:34:27 96d80e3f36e1: Download complete 06:34:27 91320369b822: Verifying Checksum 06:34:27 91320369b822: Download complete 06:34:28 bcf3aedb951c: Download complete 06:34:30 91320369b822: Pull complete 06:34:30 0406650e8295: Pull complete 06:34:30 4f4fb700ef54: Pull complete 06:34:31 96d80e3f36e1: Pull complete 06:34:34 bcf3aedb951c: Pull complete 06:34:34 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 06:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:34:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:34 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:34:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:34:36 $ docker top d76757135b8c4ff04cd41fa23acf4823a768b4938474679eb80ee344f8d4ee90 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 06:34:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:34:36 + set -o pipefail 06:34:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:34:43 06:34:43 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 06:34:43 06:34:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/ab56ecb8-9ad3-4ca1-b543-f1890131d89b 06:34:43 06:34:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:34:43 06:34:43 06:34:43 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:34:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:34:43 $ docker stop --time=1 d76757135b8c4ff04cd41fa23acf4823a768b4938474679eb80ee344f8d4ee90 06:34:45 $ docker rm -f --volumes d76757135b8c4ff04cd41fa23acf4823a768b4938474679eb80ee344f8d4ee90 [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 06:34:46 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:46 provisioning config files... 06:34:46 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5932493057822210628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:46 --> edgex-publish-swagger.sh 06:34:46 === Publish openapi/v3 API === 06:34:46 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 06:34:46 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 06:34:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:34:46 Dload Upload Total Spent Left Speed 06:34:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 281 67722 --:--:-- --:--:-- --:--:-- 68003 06:34:47 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 06:34:47 [Pipeline] } 06:34:47 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 06:34:47 + git log --format=format:%s -1 083c381ac4cc923d13d653dabf1097f47e3433f3 [Pipeline] sh 06:34:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:34:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:48 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:34:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:34:48 $ docker top 82abf5d6828c1ebf53826fb62a9322f6a5b7e7edde1973e4402266a3b01ff19b -eo pid,comm 06:34:48 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). 06:34:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:48 [ssh-agent] Looking for ssh-agent implementation... 06:34:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:48 $ docker exec 82abf5d6828c1ebf53826fb62a9322f6a5b7e7edde1973e4402266a3b01ff19b ssh-agent 06:34:48 SSH_AUTH_SOCK=/tmp/ssh-NVX8wxMGfwF5/agent.33 06:34:48 SSH_AGENT_PID=39 06:34:48 Running ssh-add (command line suppressed) 06:34:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10655968103984029249.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10655968103984029249.key) 06:34:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:49 + git semver tag 06:34:49 2024-09-03 06:34:49,543 [run_tag] DEBUG tag force:False 06:34:49 2024-09-03 06:34:49,543 [check_head_tag] DEBUG check head tag 06:34:49 2024-09-03 06:34:49,545 [execute] INFO git cat-file --batch-check 06:34:49 2024-09-03 06:34:49,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:34:49 2024-09-03 06:34:49,551 [execute] INFO git cat-file --batch 06:34:49 2024-09-03 06:34:49,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:34:49 2024-09-03 06:34:49,583 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:34:49 2024-09-03 06:34:49,583 [execute] INFO git tag -a v3.2.0-dev.35 -m v3.2.0-dev.35 06:34:49 2024-09-03 06:34:49,583 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.35', '-m', 'v3.2.0-dev.35'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:34:49 2024-09-03 06:34:49,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:34:49 3.2.0-dev.35 [Pipeline] } 06:34:49 $ docker exec --env ******** --env ******** 82abf5d6828c1ebf53826fb62a9322f6a5b7e7edde1973e4402266a3b01ff19b ssh-agent -k 06:34:49 unset SSH_AUTH_SOCK; 06:34:49 unset SSH_AGENT_PID; 06:34:49 echo Agent pid 39 killed; 06:34:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:50 + git semver [Pipeline] } 06:34:50 $ docker stop --time=1 82abf5d6828c1ebf53826fb62a9322f6a5b7e7edde1973e4402266a3b01ff19b 06:34:51 $ docker rm -f --volumes 82abf5d6828c1ebf53826fb62a9322f6a5b7e7edde1973e4402266a3b01ff19b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:34:52 06:34:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:34:52 0.23.1-centos7: Pulling from edgex-lftools 06:34:52 ab5ef0e58194: Pulling fs layer 06:34:52 9712f1f96733: Pulling fs layer 06:34:52 63f879dbbcfc: Pulling fs layer 06:34:52 0d9ebad4ef96: Pulling fs layer 06:34:52 e9a5061849ea: Pulling fs layer 06:34:52 d747dcd14b5f: Pulling fs layer 06:34:52 2de7ff778b66: Pulling fs layer 06:34:52 0d9ebad4ef96: Waiting 06:34:52 d747dcd14b5f: Waiting 06:34:52 e9a5061849ea: Waiting 06:34:52 9712f1f96733: Verifying Checksum 06:34:52 9712f1f96733: Download complete 06:34:52 63f879dbbcfc: Verifying Checksum 06:34:52 63f879dbbcfc: Download complete 06:34:52 e9a5061849ea: Verifying Checksum 06:34:52 e9a5061849ea: Download complete 06:34:52 d747dcd14b5f: Download complete 06:34:52 0d9ebad4ef96: Verifying Checksum 06:34:52 0d9ebad4ef96: Download complete 06:34:52 ab5ef0e58194: Verifying Checksum 06:34:52 ab5ef0e58194: Download complete 06:34:52 2de7ff778b66: Verifying Checksum 06:34:52 2de7ff778b66: Download complete 06:34:56 ab5ef0e58194: Pull complete 06:34:56 9712f1f96733: Pull complete 06:34:56 63f879dbbcfc: Pull complete 06:34:59 0d9ebad4ef96: Pull complete 06:34:59 e9a5061849ea: Pull complete 06:34:59 d747dcd14b5f: Pull complete 06:35:00 2de7ff778b66: Pull complete 06:35:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:35:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:35:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:35:00 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:35:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:35:11 $ docker top 7ec32b31f907c07096c9015ff8cc0525331329ac3e04f9e157ac9111ac90f862 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:35:11 provisioning config files... 06:35:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4802668648999623610tmp 06:35:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18286879239565445379tmp 06:35:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13028715924392431704tmp [Pipeline] { [Pipeline] echo 06:35:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:35:11 ---> sigul-configuration.sh 06:35:11 gpg: directory `/root/.gnupg' created 06:35:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:35:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:35:11 gpg: keyring `/root/.gnupg/secring.gpg' created 06:35:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:35:11 gpg: CAST5 encrypted data 06:35:11 gpg: encrypted with 1 passphrase 06:35:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:35:12 + mkdir /home/jenkins 06:35:12 + mkdir /home/jenkins/sigul [Pipeline] sh 06:35:12 + 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 06:35:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:35:12 ---> sigul-install.sh 06:35:12 Sigul already installed; skipping installation. [Pipeline] sh 06:35:13 + git tag --list 06:35:13 0.7.1 06:35:13 delhi-tag 06:35:13 v1.0.0 06:35:13 v1.1.0 06:35:13 v1.1.1 06:35:13 v1.1.2 06:35:13 v1.2.0 06:35:13 v1.2.1 06:35:13 v1.2.2 06:35:13 v1.2.3 06:35:13 v1.3.0 06:35:13 v1.4.0 06:35:13 v2.0.0 06:35:13 v2.1.0 06:35:13 v2.1.1 06:35:13 v2.2.0 06:35:13 v2.3.0 06:35:13 v2.3.1 06:35:13 v3.0 06:35:13 v3.0.0 06:35:13 v3.0.1-dev.1 06:35:13 v3.1 06:35:13 v3.1.0 06:35:13 v3.1.0-dev.1 06:35:13 v3.1.0-dev.10 06:35:13 v3.1.0-dev.11 06:35:13 v3.1.0-dev.12 06:35:13 v3.1.0-dev.13 06:35:13 v3.1.0-dev.14 06:35:13 v3.1.0-dev.15 06:35:13 v3.1.0-dev.16 06:35:13 v3.1.0-dev.17 06:35:13 v3.1.0-dev.18 06:35:13 v3.1.0-dev.19 06:35:13 v3.1.0-dev.2 06:35:13 v3.1.0-dev.20 06:35:13 v3.1.0-dev.21 06:35:13 v3.1.0-dev.22 06:35:13 v3.1.0-dev.23 06:35:13 v3.1.0-dev.24 06:35:13 v3.1.0-dev.25 06:35:13 v3.1.0-dev.26 06:35:13 v3.1.0-dev.27 06:35:13 v3.1.0-dev.28 06:35:13 v3.1.0-dev.29 06:35:13 v3.1.0-dev.3 06:35:13 v3.1.0-dev.30 06:35:13 v3.1.0-dev.31 06:35:13 v3.1.0-dev.32 06:35:13 v3.1.0-dev.33 06:35:13 v3.1.0-dev.34 06:35:13 v3.1.0-dev.35 06:35:13 v3.1.0-dev.36 06:35:13 v3.1.0-dev.37 06:35:13 v3.1.0-dev.38 06:35:13 v3.1.0-dev.39 06:35:13 v3.1.0-dev.4 06:35:13 v3.1.0-dev.40 06:35:13 v3.1.0-dev.41 06:35:13 v3.1.0-dev.5 06:35:13 v3.1.0-dev.6 06:35:13 v3.1.0-dev.7 06:35:13 v3.1.0-dev.8 06:35:13 v3.1.0-dev.9 06:35:13 v3.1.1 06:35:13 v3.1.1-dev.1 06:35:13 v3.2.0-dev.1 06:35:13 v3.2.0-dev.10 06:35:13 v3.2.0-dev.11 06:35:13 v3.2.0-dev.12 06:35:13 v3.2.0-dev.13 06:35:13 v3.2.0-dev.14 06:35:13 v3.2.0-dev.15 06:35:13 v3.2.0-dev.16 06:35:13 v3.2.0-dev.17 06:35:13 v3.2.0-dev.18 06:35:13 v3.2.0-dev.19 06:35:13 v3.2.0-dev.2 06:35:13 v3.2.0-dev.20 06:35:13 v3.2.0-dev.21 06:35:13 v3.2.0-dev.22 06:35:13 v3.2.0-dev.23 06:35:13 v3.2.0-dev.24 06:35:13 v3.2.0-dev.25 06:35:13 v3.2.0-dev.26 06:35:13 v3.2.0-dev.27 06:35:13 v3.2.0-dev.28 06:35:13 v3.2.0-dev.29 06:35:13 v3.2.0-dev.3 06:35:13 v3.2.0-dev.30 06:35:13 v3.2.0-dev.31 06:35:13 v3.2.0-dev.32 06:35:13 v3.2.0-dev.33 06:35:13 v3.2.0-dev.34 06:35:13 v3.2.0-dev.35 06:35:13 v3.2.0-dev.4 06:35:13 v3.2.0-dev.5 06:35:13 v3.2.0-dev.6 06:35:13 v3.2.0-dev.7 06:35:13 v3.2.0-dev.8 06:35:13 v3.2.0-dev.9 [Pipeline] sh 06:35:13 + lftools sign git-tag v3.2.0-dev.35 06:35:14 Signing Git tag with Sigul... 06:35:14 Signing v3.2.0-dev.35 [Pipeline] echo 06:35:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:35:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:35:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:35:14 $ docker stop --time=1 7ec32b31f907c07096c9015ff8cc0525331329ac3e04f9e157ac9111ac90f862 06:35:15 $ docker rm -f --volumes 7ec32b31f907c07096c9015ff8cc0525331329ac3e04f9e157ac9111ac90f862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:35:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:35:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:35:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:35:16 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:35:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:35:17 $ docker top a3a90a5db614c2fbfa87515be0cc81b282603ac56a6adf3223fd5aff34f9bd16 -eo pid,comm 06:35:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:35:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:35:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:35:17 [ssh-agent] Looking for ssh-agent implementation... 06:35:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:35:17 $ docker exec a3a90a5db614c2fbfa87515be0cc81b282603ac56a6adf3223fd5aff34f9bd16 ssh-agent 06:35:17 SSH_AUTH_SOCK=/tmp/ssh-s8nIMy4jJLvX/agent.32 06:35:17 SSH_AGENT_PID=38 06:35:17 Running ssh-add (command line suppressed) 06:35:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5188176377257671335.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5188176377257671335.key) 06:35:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:35:17 + git semver bump pre 06:35:18 2024-09-03 06:35:18,128 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:35:18 2024-09-03 06:35:18,129 [bump_version] DEBUG bumping version:3.2.0-dev.35 on axis:pre with prefix:dev 06:35:18 2024-09-03 06:35:18,129 [bump_version] DEBUG bumped version:3.2.0-dev.36 06:35:18 2024-09-03 06:35:18,129 [write_version] DEBUG write version:3.2.0-dev.36 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:35:18 2024-09-03 06:35:18,129 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:35:18 2024-09-03 06:35:18,129 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:35:18 2024-09-03 06:35:18,131 [execute] INFO git cat-file --batch-check 06:35:18 2024-09-03 06:35:18,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:35:18 2024-09-03 06:35:18,137 [execute] INFO git cat-file --batch 06:35:18 2024-09-03 06:35:18,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:35:18 2024-09-03 06:35:18,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:35:18 3.2.0-dev.36 [Pipeline] } 06:35:18 $ docker exec --env ******** --env ******** a3a90a5db614c2fbfa87515be0cc81b282603ac56a6adf3223fd5aff34f9bd16 ssh-agent -k 06:35:18 unset SSH_AUTH_SOCK; 06:35:18 unset SSH_AGENT_PID; 06:35:18 echo Agent pid 38 killed; 06:35:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:35:18 + git semver [Pipeline] } 06:35:18 $ docker stop --time=1 a3a90a5db614c2fbfa87515be0cc81b282603ac56a6adf3223fd5aff34f9bd16 06:35:20 $ docker rm -f --volumes a3a90a5db614c2fbfa87515be0cc81b282603ac56a6adf3223fd5aff34f9bd16 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:35:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:35:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:35:20 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:35:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:35:21 $ docker top 896942c55232901b632760b028e56412473939dd8ebf31a4172e00a6e635e7ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:35:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:35:21 [ssh-agent] Looking for ssh-agent implementation... 06:35:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:35:21 $ docker exec 896942c55232901b632760b028e56412473939dd8ebf31a4172e00a6e635e7ba ssh-agent 06:35:21 SSH_AUTH_SOCK=/tmp/ssh-OlF3ZJ6r7svR/agent.32 06:35:21 SSH_AGENT_PID=38 06:35:21 Running ssh-add (command line suppressed) 06:35:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17024340943857125412.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17024340943857125412.key) 06:35:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:35:22 + git semver push 06:35:22 2024-09-03 06:35:22,274 [run_push] DEBUG push 06:35:22 2024-09-03 06:35:22,275 [execute] INFO git cat-file --batch-check 06:35:22 2024-09-03 06:35:22,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:35:22 2024-09-03 06:35:22,279 [execute] INFO git rev-list f6aa596684e45604e17f17a7f8fdb8f9f2bd1dc7 -- 06:35:22 2024-09-03 06:35:22,279 [execute] DEBUG Popen(['git', 'rev-list', 'f6aa596684e45604e17f17a7f8fdb8f9f2bd1dc7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:35:22 2024-09-03 06:35:22,293 [execute] INFO git fetch -v origin 06:35:22 2024-09-03 06:35:22,293 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:35:22 2024-09-03 06:35:22,719 [run_push] DEBUG no remote changes detected 06:35:22 2024-09-03 06:35:22,719 [execute] INFO git push origin semver 06:35:22 2024-09-03 06:35:22,720 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:35:23 2024-09-03 06:35:23,430 [run_push] DEBUG push all version tags 06:35:23 2024-09-03 06:35:23,431 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:35:23 2024-09-03 06:35:23,431 [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) 06:35:24 2024-09-03 06:35:24,084 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:35:24 3.2.0-dev.36 [Pipeline] } 06:35:24 $ docker exec --env ******** --env ******** 896942c55232901b632760b028e56412473939dd8ebf31a4172e00a6e635e7ba ssh-agent -k 06:35:24 unset SSH_AUTH_SOCK; 06:35:24 unset SSH_AGENT_PID; 06:35:24 echo Agent pid 38 killed; 06:35:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:35:24 + git semver [Pipeline] } 06:35:25 $ docker stop --time=1 896942c55232901b632760b028e56412473939dd8ebf31a4172e00a6e635e7ba 06:35:26 $ docker rm -f --volumes 896942c55232901b632760b028e56412473939dd8ebf31a4172e00a6e635e7ba [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 06:35:27 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:35:27 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:35:27 total 16 06:35:27 drwxr-xr-x 3 root root 4096 Sep 3 06:18 . 06:35:27 drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 06:35 .. 06:35:27 drwxr-xr-x 2 root root 4096 Sep 3 06:18 cost 06:35:27 -rw-r--r-- 1 root root 85 Sep 3 06:18 cost.csv 06:35:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:35:27 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:35:27 total 16 06:35:27 drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 06:18 . 06:35:27 drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 06:35 .. 06:35:27 drwxr-xr-x 2 jenkins jenkins 4096 Sep 3 06:18 cost 06:35:27 -rw-r--r-- 1 jenkins jenkins 85 Sep 3 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:35:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:35:28 ---> package-listing.sh 06:35:28 ++ facter osfamily 06:35:28 ++ tr '[:upper:]' '[:lower:]' 06:35:28 + OS_FAMILY=debian 06:35:28 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:35:28 + START_PACKAGES=/tmp/packages_start.txt 06:35:28 + END_PACKAGES=/tmp/packages_end.txt 06:35:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:35:28 + PACKAGES=/tmp/packages_start.txt 06:35:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:35:28 + PACKAGES=/tmp/packages_end.txt 06:35:28 + case "${OS_FAMILY}" in 06:35:28 + dpkg -l 06:35:28 + grep '^ii' 06:35:28 + '[' -f /tmp/packages_start.txt ']' 06:35:28 + '[' -f /tmp/packages_end.txt ']' 06:35:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:35:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:35:28 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:35:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:35:28 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 06:35:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:35:31 prd-ubuntu20.04-docker-8c-8g-9255 does not seem to be running inside a container 06:35:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:35:31 $ docker top 368ff214f02d45e1c32bd257a28d25770ae4f342da2c8915796e2c9163c2384f -eo pid,comm [Pipeline] { [Pipeline] sh 06:35:32 + touch /tmp/pre-build-complete [Pipeline] sh 06:35:32 + mkdir -p /var/log/sysstat [Pipeline] sh 06:35:32 + ls /var/log/sa-host 06:35:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:32 provisioning config files... 06:35:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config617835584875934653tmp [Pipeline] { [Pipeline] echo 06:35:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:35:33 ---> create-netrc.sh [Pipeline] } 06:35:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:35:33 ---> python-tools-install.sh [Pipeline] echo 06:35:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:35:33 ---> sudo-logs.sh 06:35:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:35:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:35:34 ---> job-cost.sh 06:35:34 lf-activate-venv: SKIPPING 06:35:34 DEBUG: total: 0.2199999988079071 06:35:34 INFO: Retrieving Stack Cost... 06:35:34 INFO: Retrieving Pricing Info for: v3-standard-8 06:35:35 INFO: Archiving Costs [Pipeline] echo 06:35:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:35:35 ---> logs-deploy.sh 06:35:35 lf-activate-venv: SKIPPING 06:35:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/310 06:35:35 INFO: archiving workspace using pattern(s): 06:35:36 Archives upload complete. 06:35:36 INFO: archiving logs to Nexus