Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55ceb93b68ddd1fabddb6a346a0921fb81c17045 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-ssh1723329108371473944.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh9056767719936351691.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh17845674299224285878.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh7881528249492720666.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-ssh11063888142987990906.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 on ‘prd-ubuntu20.04-docker-8c-8g-7925’ Running on prd-ubuntu20.04-docker-8c-8g-7929 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 55ceb93b68ddd1fabddb6a346a0921fb81c17045 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 Commit message: "Merge pull request #1614 from cloudxxx8/issue-1613" > git rev-list --no-walk 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:31:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:31:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:31:44 ========================================================= 03:31:44 EdgeX Global Pipelines Version Info 03:31:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:31:44 ------------------- 03:31:44 stable info: 03:31:44 ------------------- 03:31:44 Commited By: Ginny Guan ginny@iotechsys.com 03:31:44 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:31:44 Message: update stable to v1.0.260 03:31:45 ------------------- 03:31:45 experimental info: 03:31:45 ------------------- 03:31:45 Commited By: Ginny Guan ginny@iotechsys.com 03:31:45 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:31:45 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:31:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55ceb93b68ddd1fabddb6a346a0921fb81c17045 [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55ceb93 [Pipeline] echo 03:31:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:31:46 provisioning config files... 03:31:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5833675545321112914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:31:46 ---> ****-login.sh 03:31:46 nexus3.edgexfoundry.org:10001 03:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:31:46 Configure a credential helper to remove this warning. See 03:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:31:46 03:31:46 Login Succeeded 03:31:46 nexus3.edgexfoundry.org:10002 03:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:31:47 Configure a credential helper to remove this warning. See 03:31:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:31:47 03:31:47 Login Succeeded 03:31:47 nexus3.edgexfoundry.org:10003 03:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:31:47 Configure a credential helper to remove this warning. See 03:31:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:31:47 03:31:47 Login Succeeded 03:31:47 nexus3.edgexfoundry.org:10004 03:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:31:47 Configure a credential helper to remove this warning. See 03:31:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:31:47 03:31:47 Login Succeeded 03:31:47 ****.io 03:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:31:47 Configure a credential helper to remove this warning. See 03:31:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:31:47 03:31:47 Login Succeeded 03:31:47 ---> ****-login.sh ends [Pipeline] } 03:31:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:31:48 + git rev-list -1 --merges 55ceb93b68ddd1fabddb6a346a0921fb81c17045~1..55ceb93b68ddd1fabddb6a346a0921fb81c17045 [Pipeline] echo 03:31:48 -----------> git rev-list -1 --merges 55ceb93b68ddd1fabddb6a346a0921fb81c17045~1..55ceb93b68ddd1fabddb6a346a0921fb81c17045 55ceb93b68ddd1fabddb6a346a0921fb81c17045 03:31:48 55ceb93b68ddd1fabddb6a346a0921fb81c17045 [false] [Pipeline] sh 03:31:48 + git log --format=format:%s -1 55ceb93b68ddd1fabddb6a346a0921fb81c17045 [Pipeline] echo 03:31:48 ========================================================= 03:31:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:31:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:31:48 + git log --format=format:%s -1 55ceb93b68ddd1fabddb6a346a0921fb81c17045 [Pipeline] echo 03:31:48 [semverPrep] GIT_COMMIT: 55ceb93b68ddd1fabddb6a346a0921fb81c17045, Commit Message: Merge pull request #1614 from cloudxxx8/issue-1613 [Pipeline] echo 03:31:48 [semverPrep] This is not a build commit. [Pipeline] sh 03:31:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:31:49 + grep -v github /etc/ssh/ssh_known_hosts 03:31:49 + [ -e /tmp/ssh_known_hosts ] 03:31:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:31:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:31:49 + sudo tee -a /etc/ssh/ssh_known_hosts 03:31:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:31:49 03:31:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:31:50 0.1.4: Pulling from edgex-devops/py-git-semver 03:31:50 b85a868b505f: Pulling fs layer 03:31:50 e2be974225ed: Pulling fs layer 03:31:50 339a4e72a1f5: Pulling fs layer 03:31:50 988bab9f4d93: Pulling fs layer 03:31:50 1469e6f7b9e6: Pulling fs layer 03:31:50 eaf3925da568: Pulling fs layer 03:31:50 bab4dde63d76: Pulling fs layer 03:31:50 bde34c3a00c8: Pulling fs layer 03:31:50 b352a97aabf1: Pulling fs layer 03:31:50 4872d77fe225: Pulling fs layer 03:31:50 5851b861e8e6: Pulling fs layer 03:31:50 bde34c3a00c8: Waiting 03:31:50 988bab9f4d93: Waiting 03:31:50 b352a97aabf1: Waiting 03:31:50 1469e6f7b9e6: Waiting 03:31:50 4872d77fe225: Waiting 03:31:50 eaf3925da568: Waiting 03:31:50 5851b861e8e6: Waiting 03:31:50 bab4dde63d76: Waiting 03:31:50 e2be974225ed: Verifying Checksum 03:31:50 e2be974225ed: Download complete 03:31:50 988bab9f4d93: Verifying Checksum 03:31:50 988bab9f4d93: Download complete 03:31:50 1469e6f7b9e6: Verifying Checksum 03:31:50 1469e6f7b9e6: Download complete 03:31:50 eaf3925da568: Verifying Checksum 03:31:50 eaf3925da568: Download complete 03:31:50 339a4e72a1f5: Verifying Checksum 03:31:50 339a4e72a1f5: Download complete 03:31:50 bde34c3a00c8: Download complete 03:31:50 b352a97aabf1: Download complete 03:31:50 4872d77fe225: Download complete 03:31:50 5851b861e8e6: Verifying Checksum 03:31:50 5851b861e8e6: Download complete 03:31:50 b85a868b505f: Verifying Checksum 03:31:50 b85a868b505f: Download complete 03:31:50 bab4dde63d76: Verifying Checksum 03:31:50 bab4dde63d76: Download complete 03:31:51 b85a868b505f: Pull complete 03:31:51 e2be974225ed: Pull complete 03:31:52 339a4e72a1f5: Pull complete 03:31:52 988bab9f4d93: Pull complete 03:31:52 1469e6f7b9e6: Pull complete 03:31:52 eaf3925da568: Pull complete 03:31:54 bab4dde63d76: Pull complete 03:31:54 bde34c3a00c8: Pull complete 03:31:54 b352a97aabf1: Pull complete 03:31:54 4872d77fe225: Pull complete 03:31:54 5851b861e8e6: Pull complete 03:31:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:31:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:31:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:54 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:31:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:31:58 $ docker top 56bbc6ee8732c0ff83bffefda3420230473de2c8d2f6f4978a03959f7c200b6c -eo pid,comm 03:31:58 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). 03:31:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:31:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:31:58 [ssh-agent] Looking for ssh-agent implementation... 03:31:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:31:58 $ docker exec 56bbc6ee8732c0ff83bffefda3420230473de2c8d2f6f4978a03959f7c200b6c ssh-agent 03:31:58 SSH_AUTH_SOCK=/tmp/ssh-GVGHGzLMzBCS/agent.33 03:31:58 SSH_AGENT_PID=39 03:31:58 Running ssh-add (command line suppressed) 03:31:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10603522818479173687.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10603522818479173687.key) 03:31:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:31:58 + git tag --points-at HEAD [Pipeline] } 03:31:58 $ docker exec --env ******** --env ******** 56bbc6ee8732c0ff83bffefda3420230473de2c8d2f6f4978a03959f7c200b6c ssh-agent -k 03:31:59 unset SSH_AUTH_SOCK; 03:31:59 unset SSH_AGENT_PID; 03:31:59 echo Agent pid 39 killed; 03:31:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:31:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:31:59 [ssh-agent] Looking for ssh-agent implementation... 03:31:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:31:59 $ docker exec 56bbc6ee8732c0ff83bffefda3420230473de2c8d2f6f4978a03959f7c200b6c ssh-agent 03:31:59 SSH_AUTH_SOCK=/tmp/ssh-JrQK66sioEb9/agent.72 03:31:59 SSH_AGENT_PID=78 03:31:59 Running ssh-add (command line suppressed) 03:31:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3508998834321243011.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3508998834321243011.key) 03:31:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:31:59 + git semver init 03:32:00 2024-08-19 03:31:59,953 [run_init] DEBUG init version:0.0.0 force:False 03:32:00 2024-08-19 03:31:59,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:32:00 2024-08-19 03:31:59,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:32:00 2024-08-19 03:31:59,955 [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) 03:32:02 2024-08-19 03:32:02,089 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 03:32:02 2024-08-19 03:32:02,090 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 03:32:02 2024-08-19 03:32:02,090 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:32:02 2024-08-19 03:32:02,090 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:32:02 3.2.0-dev.31 [Pipeline] } 03:32:02 $ docker exec --env ******** --env ******** 56bbc6ee8732c0ff83bffefda3420230473de2c8d2f6f4978a03959f7c200b6c ssh-agent -k 03:32:02 unset SSH_AUTH_SOCK; 03:32:02 unset SSH_AGENT_PID; 03:32:02 echo Agent pid 78 killed; 03:32:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:32:03 + git semver [Pipeline] } 03:32:03 $ docker stop --time=1 56bbc6ee8732c0ff83bffefda3420230473de2c8d2f6f4978a03959f7c200b6c 03:32:05 $ docker rm -f --volumes 56bbc6ee8732c0ff83bffefda3420230473de2c8d2f6f4978a03959f7c200b6c [Pipeline] // withDockerContainer [Pipeline] sh 03:32:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:32:05 Stashed 1 file(s) [Pipeline] echo 03:32:05 [edgeXSemver]: initialized semver on version 3.2.0-dev.31 [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 03:32:05 provisioning config files... 03:32:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12603680054360168454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:32:06 ---> ****-login.sh 03:32:06 nexus3.edgexfoundry.org:10001 03:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:06 Configure a credential helper to remove this warning. See 03:32:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:06 03:32:06 Login Succeeded 03:32:06 nexus3.edgexfoundry.org:10002 03:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:06 Configure a credential helper to remove this warning. See 03:32:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:06 03:32:06 Login Succeeded 03:32:06 nexus3.edgexfoundry.org:10003 03:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:06 Configure a credential helper to remove this warning. See 03:32:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:06 03:32:06 Login Succeeded 03:32:06 nexus3.edgexfoundry.org:10004 03:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:06 Configure a credential helper to remove this warning. See 03:32:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:06 03:32:06 Login Succeeded 03:32:06 ****.io 03:32:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:32:06 Configure a credential helper to remove this warning. See 03:32:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:32:06 03:32:06 Login Succeeded 03:32:06 ---> ****-login.sh ends [Pipeline] } 03:32:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:32:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:32:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:32:06 ========================================================= 03:32:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:32:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:07 + 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 . 03:32:07 Sending build context to Docker daemon 25.17MB 03:32:07 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:32:07 Step 2/10 : FROM ${BASE} AS builder 03:32:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:32:07 619be1103602: Pulling fs layer 03:32:07 7862e08f4a3e: Pulling fs layer 03:32:07 5df492c9dc93: Pulling fs layer 03:32:07 7629e6793208: Pulling fs layer 03:32:07 4f4fb700ef54: Pulling fs layer 03:32:07 fb5054dd5b73: Pulling fs layer 03:32:07 eeca6798cff9: Pulling fs layer 03:32:07 aa269ceb94a6: Pulling fs layer 03:32:07 ada007ff1a6a: Pulling fs layer 03:32:07 4f4fb700ef54: Waiting 03:32:07 aa269ceb94a6: Waiting 03:32:07 fb5054dd5b73: Waiting 03:32:07 7629e6793208: Waiting 03:32:07 eeca6798cff9: Waiting 03:32:07 7862e08f4a3e: Verifying Checksum 03:32:07 7862e08f4a3e: Download complete 03:32:07 7629e6793208: Verifying Checksum 03:32:07 7629e6793208: Download complete 03:32:07 4f4fb700ef54: Verifying Checksum 03:32:07 4f4fb700ef54: Download complete 03:32:07 619be1103602: Verifying Checksum 03:32:07 619be1103602: Download complete 03:32:07 fb5054dd5b73: Verifying Checksum 03:32:07 fb5054dd5b73: Download complete 03:32:07 eeca6798cff9: Verifying Checksum 03:32:07 eeca6798cff9: Download complete 03:32:07 619be1103602: Pull complete 03:32:07 7862e08f4a3e: Pull complete 03:32:07 ada007ff1a6a: Download complete 03:32:07 5df492c9dc93: Verifying Checksum 03:32:07 5df492c9dc93: Download complete 03:32:08 aa269ceb94a6: Verifying Checksum 03:32:08 aa269ceb94a6: Download complete 03:32:11 5df492c9dc93: Pull complete 03:32:11 7629e6793208: Pull complete 03:32:11 4f4fb700ef54: Pull complete 03:32:11 fb5054dd5b73: Pull complete 03:32:11 eeca6798cff9: Pull complete 03:32:14 aa269ceb94a6: Pull complete 03:32:14 ada007ff1a6a: Pull complete 03:32:14 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:32:14 ---> f489d0715acc 03:32:14 Step 3/10 : ARG MAKE=make build 03:32:20 Still waiting to schedule task 03:32:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7926’ 03:32:22 ---> Running in be8321c19086 03:32:22 Removing intermediate container be8321c19086 03:32:22 ---> 4e6ee094f76b 03:32:22 Step 4/10 : WORKDIR /device-sdk-go 03:32:22 ---> Running in 499c65cca19b 03:32:22 Removing intermediate container 499c65cca19b 03:32:22 ---> 2fd9a3d2ea0b 03:32:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:32:22 ---> Running in 930846764a80 03:32:22 Removing intermediate container 930846764a80 03:32:22 ---> 984bc5827548 03:32:22 Step 6/10 : RUN apk add --update --no-cache make git 03:32:22 ---> Running in 333d225dff22 03:32:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:32:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:32:22 OK: 264 MiB in 52 packages 03:32:22 Removing intermediate container 333d225dff22 03:32:22 ---> d8d071b6b956 03:32:22 Step 7/10 : COPY go.mod vendor* ./ 03:32:22 ---> 56ccc845b086 03:32:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:32:22 ---> Running in 21b0630a12d9 03:33:30 Removing intermediate container 21b0630a12d9 03:33:30 ---> b447104cf89e 03:33:30 Step 9/10 : COPY . . 03:33:30 ---> e81fda7bb98e 03:33:30 Step 10/10 : RUN ${MAKE} 03:33:30 ---> Running in 95ea1f83b443 03:33:30 noop 03:33:30 Removing intermediate container 95ea1f83b443 03:33:30 ---> 8457398261bc 03:33:30 Successfully built 8457398261bc 03:33:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:31 + docker inspect -f . ci-base-image-x86_64 03:33:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:31 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:33:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:33:31 $ docker top a8b006a59abd188e592cfb94cdd600264477442ed915271b0313f06c964143a4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:31 + go version 03:33:31 go version go1.21.9 linux/amd64 [Pipeline] } 03:33:31 $ docker stop --time=1 a8b006a59abd188e592cfb94cdd600264477442ed915271b0313f06c964143a4 03:33:33 $ docker rm -f --volumes a8b006a59abd188e592cfb94cdd600264477442ed915271b0313f06c964143a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:33 + docker inspect -f . ci-base-image-x86_64 03:33:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:33 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:33:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:33:34 $ docker top 5bb80a38478e7af658573f3a0beab8760d059099019fd62fad77967693338603 -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 03:33:34 + make test 03:33:34 go test -race -coverprofile=coverage.out ./... 03:33:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:34:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 26.0% of statements 03:34:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 79.4% of statements 03:34:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:34:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.104s coverage: 52.2% of statements 03:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.040s coverage: 14.4% of statements 03:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.996s coverage: 44.6% of statements 03:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.043s coverage: 68.5% of statements 03:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.091s coverage: 89.2% of statements 03:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.4% of statements 03:35:00 GO111MODULE=on go vet ./... 03:35:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:35:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:35:02 ./bin/test-attribution-txt.sh [Pipeline] echo 03:35:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:35:02 $ docker stop --time=1 5bb80a38478e7af658573f3a0beab8760d059099019fd62fad77967693338603 03:35:08 $ docker rm -f --volumes 5bb80a38478e7af658573f3a0beab8760d059099019fd62fad77967693338603 [Pipeline] // withDockerContainer [Pipeline] sh 03:35:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:35:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:35:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:35:09 + ls -al . 03:35:09 total 380 03:35:09 drwxrwxr-x 11 jenkins jenkins 4096 Aug 19 03:33 . 03:35:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 03:31 .. 03:35:09 -rw-rw-r-- 1 jenkins jenkins 140 Aug 19 03:31 .dockerignore 03:35:09 drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 03:34 .git 03:35:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 03:31 .github 03:35:09 -rw-rw-r-- 1 jenkins jenkins 137 Aug 19 03:31 .gitignore 03:35:09 -rw-rw-r-- 1 jenkins jenkins 42 Aug 19 03:31 .golangci.yml 03:35:09 drwxr-xr-x 3 jenkins jenkins 4096 Aug 19 03:32 .semver 03:35:09 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 19 03:31 CHANGELOG.md 03:35:09 -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 03:31 GOVERNANCE.md 03:35:09 -rw-rw-r-- 1 jenkins jenkins 885 Aug 19 03:31 Jenkinsfile 03:35:09 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 19 03:31 LICENSE 03:35:09 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 19 03:31 Makefile 03:35:09 -rw-rw-r-- 1 jenkins jenkins 619 Aug 19 03:31 OWNERS.md 03:35:09 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 19 03:31 README.md 03:35:09 -rw-rw-r-- 1 jenkins jenkins 12 Aug 19 03:32 VERSION 03:35:09 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 03:31 bin 03:35:09 -rw-r--r-- 1 jenkins jenkins 126053 Aug 19 03:34 coverage.out 03:35:09 drwxrwxr-x 5 jenkins jenkins 4096 Aug 19 03:31 example 03:35:09 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 19 03:31 go.mod 03:35:09 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 19 03:31 go.sum 03:35:09 drwxrwxr-x 12 jenkins jenkins 4096 Aug 19 03:31 internal 03:35:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 03:31 openapi 03:35:09 drwxrwxr-x 6 jenkins jenkins 4096 Aug 19 03:31 pkg 03:35:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 03:31 snap 03:35:09 -rw-rw-r-- 1 jenkins jenkins 222 Aug 19 03:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:10 + 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=55ceb93b68ddd1fabddb6a346a0921fb81c17045 --label arch=amd64 --label version=3.2.0-dev.31 . 03:35:10 Sending build context to Docker daemon 25.3MB 03:35:10 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 03:35:10 Step 2/24 : FROM ${BASE} AS builder 03:35:10 ---> 8457398261bc 03:35:10 Step 3/24 : ARG MAKE=make build 03:35:10 ---> Running in 9ef7d4e028e3 03:35:10 Removing intermediate container 9ef7d4e028e3 03:35:10 ---> 2450d43589de 03:35:10 Step 4/24 : WORKDIR /device-sdk-go 03:35:10 ---> Running in 4f7ceda5119f 03:35:10 Removing intermediate container 4f7ceda5119f 03:35:10 ---> 67075e2cb332 03:35:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:35:10 ---> Running in 485c63a4ef0c 03:35:10 Removing intermediate container 485c63a4ef0c 03:35:10 ---> 0d0c13c9eebf 03:35:10 Step 6/24 : RUN apk add --update --no-cache make git 03:35:10 ---> Running in 43547e173473 03:35:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:35:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:35:11 OK: 264 MiB in 52 packages 03:35:11 Removing intermediate container 43547e173473 03:35:11 ---> ede5c0ed1a09 03:35:11 Step 7/24 : COPY go.mod vendor* ./ 03:35:12 ---> 2a11f8b79801 03:35:12 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:35:12 ---> Running in 31979b4b7821 03:35:12 Removing intermediate container 31979b4b7821 03:35:12 ---> c256c8c7262f 03:35:12 Step 9/24 : COPY . . 03:35:14 ---> 5189f8d70bf7 03:35:14 Step 10/24 : RUN ${MAKE} 03:35:14 ---> Running in 8afd22804d46 03:35:14 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.31 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.31" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:35:52 Removing intermediate container 8afd22804d46 03:35:52 ---> 5851c84c5d14 03:35:52 Step 11/24 : FROM alpine:3.18 03:35:52 3.18: Pulling from library/alpine 03:35:52 930bdd4d222e: Pulling fs layer 03:35:52 930bdd4d222e: Verifying Checksum 03:35:52 930bdd4d222e: Download complete 03:35:52 930bdd4d222e: Pull complete 03:35:52 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:35:52 Status: Downloaded newer image for alpine:3.18 03:35:52 ---> 18f865063206 03:35:52 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:35:52 ---> Running in a7e1caceab09 03:35:52 Removing intermediate container a7e1caceab09 03:35:52 ---> 484486e36c20 03:35:52 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:35:52 ---> Running in c08b4ad36357 03:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:35:52 (1/1) Installing dumb-init (1.2.5-r2) 03:35:52 Executing busybox-1.36.1-r7.trigger 03:35:52 OK: 7 MiB in 16 packages 03:35:52 Removing intermediate container c08b4ad36357 03:35:52 ---> 92d66fa0776b 03:35:52 Step 14/24 : RUN apk --no-cache upgrade 03:35:52 ---> Running in fd3b64729a0c 03:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:35:52 OK: 7 MiB in 16 packages 03:35:52 Removing intermediate container fd3b64729a0c 03:35:52 ---> 54649f2e4a0c 03:35:52 Step 15/24 : WORKDIR / 03:35:52 ---> Running in ab9d9bd61279 03:35:52 Removing intermediate container ab9d9bd61279 03:35:52 ---> bbf79147916c 03:35:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:35:52 ---> 5b7ab8c8ea31 03:35:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:35:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7930 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 03:35:53 Running in /w/workspace/device-sdk-go/306 [Pipeline] { 03:35:53 ---> 1fc1f37d6d01 03:35:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:35:53 ---> b82de9f4a7cd 03:35:53 Step 19/24 : EXPOSE 59999 03:35:53 ---> Running in 3c85ba3a4e78 [Pipeline] checkout 03:35:54 Removing intermediate container 3c85ba3a4e78 03:35:54 ---> 1c9a11c47324 03:35:54 Step 20/24 : ENTRYPOINT ["/device-simple"] 03:35:54 ---> Running in d6374619285b 03:35:54 Removing intermediate container d6374619285b 03:35:54 ---> a0e612549622 03:35:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:35:54 ---> Running in 83724e2bbaa2 03:35:54 Removing intermediate container 83724e2bbaa2 03:35:54 ---> 9e80a3951cf1 03:35:54 Step 22/24 : LABEL arch=amd64 03:35:54 ---> Running in 481a42f72ad0 03:35:54 Removing intermediate container 481a42f72ad0 03:35:54 ---> 27fd0cfacc97 03:35:54 Step 23/24 : LABEL git_sha=55ceb93b68ddd1fabddb6a346a0921fb81c17045 03:35:54 ---> Running in eccdaff03640 03:35:54 Removing intermediate container eccdaff03640 03:35:54 ---> 871ebc19a494 03:35:54 Step 24/24 : LABEL version=3.2.0-dev.31 03:35:54 ---> Running in 1a0a223eb176 03:35:54 Removing intermediate container 1a0a223eb176 03:35:54 ---> abecd51877f4 03:35:54 [Warning] One or more build-args [ARCH] were not consumed 03:35:54 Successfully built abecd51877f4 03:35:54 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv 03:35:56 The recommended git tool is: git [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 03:35:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:57 03:35:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:57 latest: Pulling from edgex-lftools-log-publisher 03:35:57 5eb5b503b376: Pulling fs layer 03:35:57 5c69ac0246d0: Pulling fs layer 03:35:57 ec43610c2a17: Pulling fs layer 03:35:57 3a2ae6a8a46f: Pulling fs layer 03:35:57 33b1e0a273af: Pulling fs layer 03:35:57 5d3b04190fa2: Pulling fs layer 03:35:57 2f39f015ded8: Pulling fs layer 03:35:57 33b1e0a273af: Waiting 03:35:57 5d3b04190fa2: Waiting 03:35:57 3a2ae6a8a46f: Waiting 03:35:57 2f39f015ded8: Waiting 03:35:57 5c69ac0246d0: Verifying Checksum 03:35:57 5c69ac0246d0: Download complete 03:35:57 3a2ae6a8a46f: Verifying Checksum 03:35:57 3a2ae6a8a46f: Download complete 03:35:57 33b1e0a273af: Verifying Checksum 03:35:57 33b1e0a273af: Download complete 03:35:57 5d3b04190fa2: Download complete 03:35:57 ec43610c2a17: Verifying Checksum 03:35:57 ec43610c2a17: Download complete 03:35:57 5eb5b503b376: Verifying Checksum 03:35:57 5eb5b503b376: Download complete 03:35:58 2f39f015ded8: Download complete 03:35:59 5eb5b503b376: Pull complete 03:35:59 5c69ac0246d0: Pull complete 03:35:59 ec43610c2a17: Pull complete 03:35:59 3a2ae6a8a46f: Pull complete 03:35:59 33b1e0a273af: Pull complete 03:35:59 5d3b04190fa2: Pull complete 03:36:05 2f39f015ded8: Pull complete 03:36:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:36:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:36:05 using credential edgex-jenkins-ssh [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:05 Cloning the remote Git repository 03:36:05 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:36:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 03:36:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:36:05 > git init /w/workspace/device-sdk-go/306 # timeout=10 03:36:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:36:05 > git --version # timeout=10 03:36:05 > git --version # 'git version 2.25.1' 03:36:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:36:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:36:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:36:10 $ docker top 25bedaa05820129a07a9441fb1ec3bc9be4a1e4644218de24a292a5c87eaef68 -eo pid,comm [Pipeline] { 03:36:10 Avoid second fetch 03:36:10 Checking out Revision 55ceb93b68ddd1fabddb6a346a0921fb81c17045 (main) [Pipeline] libraryResource [Pipeline] sh 03:36:11 ---> job-cost.sh 03:36:11 lf-activate-venv: SKIPPING 03:36:11 INFO: No Stack... 03:36:11 INFO: Retrieving Pricing Info for: v3-standard-8 03:36:11 INFO: Archiving Costs [Pipeline] sh 03:36:11 Commit message: "Merge pull request #1614 from cloudxxx8/issue-1613" 03:36:11 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 03:36:11 + cut -d, -f6 [Pipeline] lock 03:36:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-306-stack-cost] 03:36:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-306-stack-cost] did not exist. Created. 03:36:11 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-306-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:36:10 > git config core.sparsecheckout # timeout=10 03:36:10 > git checkout -f 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 03:36:12 + echo total: 0.2199999988079071 [Pipeline] stash 03:36:12 Stashed 1 file(s) [Pipeline] } 03:36:12 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-306-stack-cost] [Pipeline] // lock [Pipeline] } 03:36:12 $ docker stop --time=1 25bedaa05820129a07a9441fb1ec3bc9be4a1e4644218de24a292a5c87eaef68 03:36:13 $ docker rm -f --volumes 25bedaa05820129a07a9441fb1ec3bc9be4a1e4644218de24a292a5c87eaef68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:36:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:36:16 % Total % Received % Xferd Average Speed Time Time Time Current 03:36:16 Dload Upload Total Spent Left Speed 03:36:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 03:36:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:36:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:36:17 + sudo tee /etc/docker/daemon.new 03:36:17 { 03:36:17 "registry-mirrors": [ 03:36:17 "https://nexus3.edgexfoundry.org:10001" 03:36:17 ], 03:36:17 "bip": "10.250.0.254/24", 03:36:17 "hosts": [ 03:36:17 "tcp://0.0.0.0:5555", 03:36:17 "unix:///var/run/docker.sock" 03:36:17 ], 03:36:17 "mtu": 1458, 03:36:17 "selinux-enabled": true, 03:36:17 "seccomp-profile": "/etc/docker/seccomp.json" 03:36:17 } [Pipeline] sh 03:36:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:36:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:36:36 provisioning config files... 03:36:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/306@tmp/config8174629278987194235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:36 ---> ****-login.sh 03:36:36 nexus3.edgexfoundry.org:10001 03:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:37 Configure a credential helper to remove this warning. See 03:36:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:37 03:36:37 Login Succeeded 03:36:37 nexus3.edgexfoundry.org:10002 03:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:37 Configure a credential helper to remove this warning. See 03:36:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:37 03:36:37 Login Succeeded 03:36:37 nexus3.edgexfoundry.org:10003 03:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:38 Configure a credential helper to remove this warning. See 03:36:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:38 03:36:38 Login Succeeded 03:36:38 nexus3.edgexfoundry.org:10004 03:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:38 Configure a credential helper to remove this warning. See 03:36:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:38 03:36:38 Login Succeeded 03:36:38 ****.io 03:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:38 Configure a credential helper to remove this warning. See 03:36:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:38 03:36:38 Login Succeeded 03:36:38 ---> ****-login.sh ends [Pipeline] } 03:36:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:36:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:36:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:36:39 ========================================================= 03:36:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:36:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:39 + 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 . 03:36:40 Sending build context to Docker daemon 13.02MB 03:36:40 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:36:40 Step 2/10 : FROM ${BASE} AS builder 03:36:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:36:42 c6b39de5b339: Pulling fs layer 03:36:42 a69c41024577: Pulling fs layer 03:36:42 d6de4b400683: Pulling fs layer 03:36:42 35cb2a7552d0: Pulling fs layer 03:36:42 4f4fb700ef54: Pulling fs layer 03:36:42 464afbd9ba4c: Pulling fs layer 03:36:42 00f215d4a9da: Pulling fs layer 03:36:42 d496ad576159: Pulling fs layer 03:36:42 35cb2a7552d0: Waiting 03:36:42 4f4fb700ef54: Waiting 03:36:42 464afbd9ba4c: Waiting 03:36:42 00f215d4a9da: Waiting 03:36:42 d496ad576159: Waiting 03:36:42 a69c41024577: Verifying Checksum 03:36:42 a69c41024577: Download complete 03:36:42 35cb2a7552d0: Verifying Checksum 03:36:42 35cb2a7552d0: Download complete 03:36:42 4f4fb700ef54: Verifying Checksum 03:36:42 4f4fb700ef54: Download complete 03:36:42 464afbd9ba4c: Verifying Checksum 03:36:42 464afbd9ba4c: Download complete 03:36:42 c6b39de5b339: Download complete 03:36:42 d496ad576159: Verifying Checksum 03:36:42 d496ad576159: Download complete 03:36:42 c6b39de5b339: Pull complete 03:36:43 a69c41024577: Pull complete 03:36:43 d6de4b400683: Verifying Checksum 03:36:43 d6de4b400683: Download complete 03:36:44 00f215d4a9da: Verifying Checksum 03:36:44 00f215d4a9da: Download complete 03:36:57 d6de4b400683: Pull complete 03:36:57 35cb2a7552d0: Pull complete 03:36:57 4f4fb700ef54: Pull complete 03:36:57 464afbd9ba4c: Pull complete 03:37:07 00f215d4a9da: Pull complete 03:37:07 d496ad576159: Pull complete 03:37:07 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:37:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:37:07 ---> f246e2811388 03:37:07 Step 3/10 : ARG MAKE=make build 03:37:08 ---> Running in ac96fc9364fe 03:37:08 Removing intermediate container ac96fc9364fe 03:37:08 ---> 322634225692 03:37:08 Step 4/10 : WORKDIR /device-sdk-go 03:37:08 ---> Running in 9ba81097bcee 03:37:09 Removing intermediate container 9ba81097bcee 03:37:09 ---> 18cb3f2d4ec8 03:37:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:37:09 ---> Running in 302c92dd3fa9 03:37:09 Removing intermediate container 302c92dd3fa9 03:37:09 ---> 4a5f4919dc4f 03:37:09 Step 6/10 : RUN apk add --update --no-cache make git 03:37:09 ---> Running in f5517f25caa4 03:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:37:12 OK: 266 MiB in 52 packages 03:37:14 Removing intermediate container f5517f25caa4 03:37:14 ---> 371d535c7d54 03:37:14 Step 7/10 : COPY go.mod vendor* ./ 03:37:14 ---> 040a6c31b1a3 03:37:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:37:14 ---> Running in ad56e5c468aa 03:39:06 Removing intermediate container ad56e5c468aa 03:39:06 ---> e58182aa695a 03:39:06 Step 9/10 : COPY . . 03:39:06 ---> 96409671a109 03:39:06 Step 10/10 : RUN ${MAKE} 03:39:06 ---> Running in ea9efefd2375 03:39:06 noop 03:39:06 Removing intermediate container ea9efefd2375 03:39:06 ---> cf2ffbf0be3e 03:39:06 Successfully built cf2ffbf0be3e 03:39:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:06 + docker inspect -f . ci-base-image-arm64 03:39:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:06 prd-ubuntu20.04-docker-arm64-4c-16g-7930 does not seem to be running inside a container 03:39:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/306 -v /w/workspace/device-sdk-go/306:/w/workspace/device-sdk-go/306:rw,z -v /w/workspace/device-sdk-go/306@tmp:/w/workspace/device-sdk-go/306@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 03:39:08 $ docker top 3bfa1e263b483c0b7e55239cbcfc7a92a0ed44b395a0c6b55ce1308cd4fe8001 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:08 + go version 03:39:08 go version go1.21.9 linux/arm64 [Pipeline] } 03:39:08 $ docker stop --time=1 3bfa1e263b483c0b7e55239cbcfc7a92a0ed44b395a0c6b55ce1308cd4fe8001 03:39:10 $ docker rm -f --volumes 3bfa1e263b483c0b7e55239cbcfc7a92a0ed44b395a0c6b55ce1308cd4fe8001 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:11 + docker inspect -f . ci-base-image-arm64 03:39:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:11 prd-ubuntu20.04-docker-arm64-4c-16g-7930 does not seem to be running inside a container 03:39:11 $ 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/306 -v /w/workspace/device-sdk-go/306:/w/workspace/device-sdk-go/306:rw,z -v /w/workspace/device-sdk-go/306@tmp:/w/workspace/device-sdk-go/306@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 03:39:12 $ docker top 8a20753726c1d4f121d012af99c371b106576aae25876ede8292e5c3a90904f0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:13 + git config --global --add safe.directory /w/workspace/device-sdk-go/306 [Pipeline] fileExists [Pipeline] sh 03:39:13 + make test 03:39:13 go test -race -coverprofile=coverage.out ./... 03:40:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:43:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.115s coverage: 26.0% of statements 03:43:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.164s coverage: 79.4% of statements 03:43:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:43:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:43:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.250s coverage: 86.0% of statements 03:43:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:43:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.439s coverage: 52.2% of statements 03:43:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.163s coverage: 14.4% of statements 03:43:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.849s coverage: 44.6% of statements 03:43:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:43:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:43:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.282s coverage: 68.5% of statements 03:43:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.389s coverage: 89.2% of statements 03:43:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:43:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.247s coverage: 5.4% of statements 03:43:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:43:51 GO111MODULE=on go vet ./... 03:47:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:47:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:47:28 ./bin/test-attribution-txt.sh [Pipeline] echo 03:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:47:28 $ docker stop --time=1 8a20753726c1d4f121d012af99c371b106576aae25876ede8292e5c3a90904f0 03:47:30 $ docker rm -f --volumes 8a20753726c1d4f121d012af99c371b106576aae25876ede8292e5c3a90904f0 [Pipeline] // withDockerContainer [Pipeline] sh 03:47:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:47:33 Warning: overwriting stash ‘coverage-report’ 03:47:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:47:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:47:34 + ls -al . 03:47:34 total 376 03:47:34 drwxrwxr-x 10 jenkins jenkins 4096 Aug 19 03:39 . 03:47:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 03:36 .. 03:47:34 -rw-rw-r-- 1 jenkins jenkins 140 Aug 19 03:36 .dockerignore 03:47:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 03:36 .git 03:47:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 03:36 .github 03:47:34 -rw-rw-r-- 1 jenkins jenkins 137 Aug 19 03:36 .gitignore 03:47:34 -rw-rw-r-- 1 jenkins jenkins 42 Aug 19 03:36 .golangci.yml 03:47:34 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 19 03:36 CHANGELOG.md 03:47:34 -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 03:36 GOVERNANCE.md 03:47:34 -rw-rw-r-- 1 jenkins jenkins 885 Aug 19 03:36 Jenkinsfile 03:47:34 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 19 03:36 LICENSE 03:47:34 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 19 03:36 Makefile 03:47:34 -rw-rw-r-- 1 jenkins jenkins 619 Aug 19 03:36 OWNERS.md 03:47:34 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 19 03:36 README.md 03:47:34 -rw-rw-r-- 1 jenkins jenkins 12 Aug 19 03:32 VERSION 03:47:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 03:36 bin 03:47:34 -rw-r--r-- 1 jenkins jenkins 126053 Aug 19 03:43 coverage.out 03:47:34 drwxrwxr-x 5 jenkins jenkins 4096 Aug 19 03:36 example 03:47:34 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 19 03:36 go.mod 03:47:34 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 19 03:36 go.sum 03:47:34 drwxrwxr-x 12 jenkins jenkins 4096 Aug 19 03:36 internal 03:47:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 03:36 openapi 03:47:34 drwxrwxr-x 6 jenkins jenkins 4096 Aug 19 03:36 pkg 03:47:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 03:36 snap 03:47:34 -rw-rw-r-- 1 jenkins jenkins 222 Aug 19 03:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:34 + 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=55ceb93b68ddd1fabddb6a346a0921fb81c17045 --label arch=arm64 --label version=3.2.0-dev.31 . 03:47:35 Sending build context to Docker daemon 13.15MB 03:47:35 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 03:47:35 Step 2/24 : FROM ${BASE} AS builder 03:47:35 ---> cf2ffbf0be3e 03:47:35 Step 3/24 : ARG MAKE=make build 03:47:35 ---> Running in 084891c7dca0 03:47:35 Removing intermediate container 084891c7dca0 03:47:35 ---> 8b16fef55bd7 03:47:35 Step 4/24 : WORKDIR /device-sdk-go 03:47:35 ---> Running in d9ed64155c82 03:47:36 Removing intermediate container d9ed64155c82 03:47:36 ---> 2d025e3b1c54 03:47:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:47:36 ---> Running in eb8e5fc5f86d 03:47:36 Removing intermediate container eb8e5fc5f86d 03:47:36 ---> 917477767521 03:47:36 Step 6/24 : RUN apk add --update --no-cache make git 03:47:36 ---> Running in 9c0b8c66f0f7 03:47:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:47:39 OK: 266 MiB in 52 packages 03:47:39 Removing intermediate container 9c0b8c66f0f7 03:47:39 ---> dac3e9ec5217 03:47:39 Step 7/24 : COPY go.mod vendor* ./ 03:47:40 ---> bc1ca8a1ad24 03:47:40 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:47:40 ---> Running in 7b0d2de59760 03:47:42 Removing intermediate container 7b0d2de59760 03:47:42 ---> bacfdcd4468d 03:47:42 Step 9/24 : COPY . . 03:47:44 ---> 43af05ffaa07 03:47:44 Step 10/24 : RUN ${MAKE} 03:47:44 ---> Running in c72c10f381f7 03:47:45 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.31 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.31" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:51:06 Removing intermediate container c72c10f381f7 03:51:06 ---> 7a1764219dbd 03:51:06 Step 11/24 : FROM alpine:3.18 03:51:06 3.18: Pulling from library/alpine 03:51:06 4983c3fe2029: Pulling fs layer 03:51:06 4983c3fe2029: Download complete 03:51:06 4983c3fe2029: Pull complete 03:51:06 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:51:06 Status: Downloaded newer image for alpine:3.18 03:51:06 ---> a0237000ae83 03:51:06 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:51:06 ---> Running in 3adb5f1170e6 03:51:06 Removing intermediate container 3adb5f1170e6 03:51:06 ---> 8fe60e364a4e 03:51:06 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:51:06 ---> Running in a4ed70b1f114 03:51:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:51:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:51:06 (1/1) Installing dumb-init (1.2.5-r2) 03:51:06 Executing busybox-1.36.1-r7.trigger 03:51:06 OK: 8 MiB in 16 packages 03:51:06 Removing intermediate container a4ed70b1f114 03:51:06 ---> 9a8563c3876f 03:51:06 Step 14/24 : RUN apk --no-cache upgrade 03:51:06 ---> Running in 9ba02a3c67bd 03:51:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:51:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:51:08 OK: 8 MiB in 16 packages 03:51:09 Removing intermediate container 9ba02a3c67bd 03:51:09 ---> 57183949c0fb 03:51:09 Step 15/24 : WORKDIR / 03:51:09 ---> Running in ad64d7a97a30 03:51:09 Removing intermediate container ad64d7a97a30 03:51:09 ---> 6db1ce832eea 03:51:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:51:10 ---> a0bbea7f5c02 03:51:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:51:12 ---> ba906516a4ae 03:51:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:51:12 ---> 39cca2d19fb7 03:51:12 Step 19/24 : EXPOSE 59999 03:51:12 ---> Running in 43d75c43303d 03:51:13 Removing intermediate container 43d75c43303d 03:51:13 ---> ec6dfd56e0ce 03:51:13 Step 20/24 : ENTRYPOINT ["/device-simple"] 03:51:13 ---> Running in e76487df9746 03:51:13 Removing intermediate container e76487df9746 03:51:13 ---> e47f75a847dc 03:51:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:51:13 ---> Running in cf958f723e51 03:51:14 Removing intermediate container cf958f723e51 03:51:14 ---> 534189960c3e 03:51:14 Step 22/24 : LABEL arch=arm64 03:51:14 ---> Running in f5ad1ba21e8f 03:51:14 Removing intermediate container f5ad1ba21e8f 03:51:14 ---> fb0c84425f22 03:51:14 Step 23/24 : LABEL git_sha=55ceb93b68ddd1fabddb6a346a0921fb81c17045 03:51:14 ---> Running in 36e8bbcad7ef 03:51:14 Removing intermediate container 36e8bbcad7ef 03:51:14 ---> 37291031eb08 03:51:14 Step 24/24 : LABEL version=3.2.0-dev.31 03:51:14 ---> Running in 2479558c65f8 03:51:15 Removing intermediate container 2479558c65f8 03:51:15 ---> a6b46a5294ee 03:51:15 [Warning] One or more build-args [ARCH] were not consumed 03:51:15 Successfully built a6b46a5294ee 03:51:15 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 03:51:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:51:15 03:51:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:51:15 arm64: Pulling from edgex-lftools-log-publisher 03:51:15 8998bd30e6a1: Pulling fs layer 03:51:15 04944245beec: Pulling fs layer 03:51:15 699f458cf7ca: Pulling fs layer 03:51:15 765212b225bb: Pulling fs layer 03:51:15 f23df028b6ca: Pulling fs layer 03:51:15 d65c8cfc05b1: Pulling fs layer 03:51:15 2437ff75d9bd: Pulling fs layer 03:51:15 f23df028b6ca: Waiting 03:51:15 2437ff75d9bd: Waiting 03:51:15 d65c8cfc05b1: Waiting 03:51:16 04944245beec: Download complete 03:51:16 765212b225bb: Verifying Checksum 03:51:16 765212b225bb: Download complete 03:51:16 f23df028b6ca: Download complete 03:51:16 d65c8cfc05b1: Verifying Checksum 03:51:16 d65c8cfc05b1: Download complete 03:51:16 699f458cf7ca: Verifying Checksum 03:51:16 699f458cf7ca: Download complete 03:51:16 8998bd30e6a1: Verifying Checksum 03:51:16 8998bd30e6a1: Download complete 03:51:19 2437ff75d9bd: Verifying Checksum 03:51:19 2437ff75d9bd: Download complete 03:51:21 8998bd30e6a1: Pull complete 03:51:21 04944245beec: Pull complete 03:51:23 699f458cf7ca: Pull complete 03:51:23 765212b225bb: Pull complete 03:51:24 f23df028b6ca: Pull complete 03:51:24 d65c8cfc05b1: Pull complete 03:51:42 2437ff75d9bd: Pull complete 03:51:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:51:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:51:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:51:43 prd-ubuntu20.04-docker-arm64-4c-16g-7930 does not seem to be running inside a container 03:51:43 $ 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/306 -v /w/workspace/device-sdk-go/306:/w/workspace/device-sdk-go/306:rw,z -v /w/workspace/device-sdk-go/306@tmp:/w/workspace/device-sdk-go/306@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 03:51:45 $ docker top d1ac9fcb648ed17dcc7d443d27952a1e4cf78280663ea542a7326ff0c8769837 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:51:46 ---> job-cost.sh 03:51:46 lf-activate-venv: SKIPPING 03:51:46 INFO: No Stack... 03:51:46 INFO: Retrieving Pricing Info for: v3-standard-4 03:51:47 INFO: Archiving Costs [Pipeline] sh 03:51:48 + cut -d, -f6 03:51:48 + cat /w/workspace/device-sdk-go/306/archives/cost.csv [Pipeline] lock 03:51:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-306-stack-cost] 03:51:48 Resource [jenkins-edgexfoundry-device-sdk-go-main-306-stack-cost] did not exist. Created. 03:51:48 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-306-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:51:49 /w/workspace/device-sdk-go/306@tmp/durable-492bb556/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:51:49 + echo total: 0.10999999940395355 [Pipeline] stash 03:51:49 Warning: overwriting stash ‘stack-cost’ 03:51:49 Stashed 1 file(s) [Pipeline] } 03:51:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-306-stack-cost] [Pipeline] // lock [Pipeline] } 03:51:49 $ docker stop --time=1 d1ac9fcb648ed17dcc7d443d27952a1e4cf78280663ea542a7326ff0c8769837 03:51:51 $ docker rm -f --volumes d1ac9fcb648ed17dcc7d443d27952a1e4cf78280663ea542a7326ff0c8769837 [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 03:51:51 provisioning config files... 03:51:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config117866561662620376tmp [Pipeline] { [Pipeline] sh 03:51:52 + set +x 03:51:52 + curl -s https://codecov.io/bash 03:51:52 + bash -s -- 03:51:52 03:51:52 _____ _ 03:51:52 / ____| | | 03:51:52 | | ___ __| | ___ ___ _____ __ 03:51:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:51:52 | |___| (_) | (_| | __/ (_| (_) \ V / 03:51:52 \_____\___/ \__,_|\___|\___\___/ \_/ 03:51:52 Bash-1.0.6 03:51:52 03:51:52 03:51:52 ==> git version 2.25.1 found 03:51:52 ==> 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 03:51:52 Release-Date: 2020-01-08 03:51:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:51:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:51:52 ==> Jenkins CI detected. 03:51:52 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 03:51:52 project root: . 03:51:52 --> token set from env 03:51:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:51:52 ==> Running gcov in . (disable via -X gcov) 03:51:52 ==> Python coveragepy not found 03:51:52 ==> Searching for coverage reports in: 03:51:52 + . 03:51:52 -> Found 1 reports 03:51:52 ==> Detecting git/mercurial file structure 03:51:52 ==> Reading reports 03:51:52 + ./coverage.out bytes=126053 03:51:52 ==> Appending adjustments 03:51:52 https://docs.codecov.io/docs/fixing-reports 03:51:52 + Found adjustments 03:51:52 ==> Gzipping contents 03:51:52 20K /tmp/codecov.t2oMJx.gz 03:51:52 ==> Uploading reports 03:51:52 url: https://codecov.io 03:51:52 query: branch=main&commit=55ceb93b68ddd1fabddb6a346a0921fb81c17045&build=306&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F306%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:51:52 -> Pinging Codecov 03:51:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=55ceb93b68ddd1fabddb6a346a0921fb81c17045&build=306&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F306%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:51:52 -> Uploading to 03:51:52 https://storage.googleapis.com/codecov/v4/raw/2024-08-19/7E55EF52A471D76F132DFD9A03CDDE97/55ceb93b68ddd1fabddb6a346a0921fb81c17045/86fb8a85-d9ff-44c7-a399-b9ea437da4d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240819%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240819T035152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aab602bc67fd8662b02998dcd6ef1ca62881fe3e9cfcee3f4c923a02b721500d 03:51:52 % Total % Received % Xferd Average Speed Time Time Time Current 03:51:52 Dload Upload Total Spent Left Speed 03:51:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17150 0 0 100 17150 0 74242 --:--:-- --:--:-- --:--:-- 74242 03:51:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/55ceb93b68ddd1fabddb6a346a0921fb81c17045 [Pipeline] } 03:51:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:51:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:51:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:51:53 03:51:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:51:54 latest: Pulling from edgex-devops/edgex-snyk-go 03:51:54 619be1103602: Already exists 03:51:54 f8ea3408117e: Pulling fs layer 03:51:54 91320369b822: Pulling fs layer 03:51:54 0406650e8295: Pulling fs layer 03:51:54 4f4fb700ef54: Pulling fs layer 03:51:54 96d80e3f36e1: Pulling fs layer 03:51:54 bcf3aedb951c: Pulling fs layer 03:51:54 96d80e3f36e1: Waiting 03:51:54 bcf3aedb951c: Waiting 03:51:54 4f4fb700ef54: Waiting 03:51:54 0406650e8295: Download complete 03:51:54 4f4fb700ef54: Download complete 03:51:54 f8ea3408117e: Download complete 03:51:54 f8ea3408117e: Pull complete 03:51:54 96d80e3f36e1: Verifying Checksum 03:51:54 96d80e3f36e1: Download complete 03:51:54 91320369b822: Download complete 03:51:55 bcf3aedb951c: Verifying Checksum 03:51:55 bcf3aedb951c: Download complete 03:51:58 91320369b822: Pull complete 03:51:58 0406650e8295: Pull complete 03:51:58 4f4fb700ef54: Pull complete 03:51:58 96d80e3f36e1: Pull complete 03:52:01 bcf3aedb951c: Pull complete 03:52:01 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 03:52:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:52:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:02 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:52:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 03:52:07 $ docker top fe71a0668381a753f4aabc21c2ac58280229f99776a639698a98e6ffa39d0d33 -eo pid,comm [Pipeline] { [Pipeline] sh 03:52:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 03:52:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 03:52:08 + set -o pipefail 03:52:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 03:52:23 03:52:23 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 03:52:23 03:52:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/7bfccecd-b8da-46cf-a873-71c8db733fb0 03:52:23 03:52:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:52:23 [Pipeline] } 03:52:23 $ docker stop --time=1 fe71a0668381a753f4aabc21c2ac58280229f99776a639698a98e6ffa39d0d33 03:52:28 $ docker rm -f --volumes fe71a0668381a753f4aabc21c2ac58280229f99776a639698a98e6ffa39d0d33 [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 03:52:29 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:29 provisioning config files... 03:52:29 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15331345001231796630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:29 --> edgex-publish-swagger.sh 03:52:29 === Publish openapi/v3 API === 03:52:29 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 03:52:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 03:52:29 % Total % Received % Xferd Average Speed Time Time Time Current 03:52:29 Dload Upload Total Spent Left Speed 03:52:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28528 100 156 100 28372 274 49950 --:--:-- --:--:-- --:--:-- 50313 03:52:30 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 03:52:30 [Pipeline] } 03:52:30 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 03:52:30 + git log --format=format:%s -1 55ceb93b68ddd1fabddb6a346a0921fb81c17045 [Pipeline] sh 03:52:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:52:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:52:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:31 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:52:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:52:31 $ docker top 12239dbfe8f812caeef5859d24acf2d8237de06d1326eeffe822ef3a6eeda4c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:52:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:52:32 [ssh-agent] Looking for ssh-agent implementation... 03:52:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:52:32 $ docker exec 12239dbfe8f812caeef5859d24acf2d8237de06d1326eeffe822ef3a6eeda4c8 ssh-agent 03:52:32 SSH_AUTH_SOCK=/tmp/ssh-ELMKqmZqW9cd/agent.32 03:52:32 SSH_AGENT_PID=38 03:52:32 Running ssh-add (command line suppressed) 03:52:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12860618608078684394.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12860618608078684394.key) 03:52:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:52:32 + git semver tag 03:52:32 2024-08-19 03:52:32,869 [run_tag] DEBUG tag force:False 03:52:32 2024-08-19 03:52:32,869 [check_head_tag] DEBUG check head tag 03:52:32 2024-08-19 03:52:32,870 [execute] INFO git cat-file --batch-check 03:52:32 2024-08-19 03:52:32,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 03:52:32 2024-08-19 03:52:32,874 [execute] INFO git cat-file --batch 03:52:32 2024-08-19 03:52:32,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 03:52:32 2024-08-19 03:52:32,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:52:32 2024-08-19 03:52:32,896 [execute] INFO git tag -a v3.2.0-dev.31 -m v3.2.0-dev.31 03:52:32 2024-08-19 03:52:32,896 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.31', '-m', 'v3.2.0-dev.31'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 03:52:32 2024-08-19 03:52:32,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:52:32 3.2.0-dev.31 [Pipeline] } 03:52:32 $ docker exec --env ******** --env ******** 12239dbfe8f812caeef5859d24acf2d8237de06d1326eeffe822ef3a6eeda4c8 ssh-agent -k 03:52:33 unset SSH_AUTH_SOCK; 03:52:33 unset SSH_AGENT_PID; 03:52:33 echo Agent pid 38 killed; 03:52:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:52:33 + git semver [Pipeline] } 03:52:33 $ docker stop --time=1 12239dbfe8f812caeef5859d24acf2d8237de06d1326eeffe822ef3a6eeda4c8 03:52:35 $ docker rm -f --volumes 12239dbfe8f812caeef5859d24acf2d8237de06d1326eeffe822ef3a6eeda4c8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:52:35 03:52:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:52:35 0.23.1-centos7: Pulling from edgex-lftools 03:52:35 ab5ef0e58194: Pulling fs layer 03:52:35 9712f1f96733: Pulling fs layer 03:52:35 63f879dbbcfc: Pulling fs layer 03:52:35 0d9ebad4ef96: Pulling fs layer 03:52:35 e9a5061849ea: Pulling fs layer 03:52:35 d747dcd14b5f: Pulling fs layer 03:52:35 2de7ff778b66: Pulling fs layer 03:52:35 0d9ebad4ef96: Waiting 03:52:35 d747dcd14b5f: Waiting 03:52:35 e9a5061849ea: Waiting 03:52:35 9712f1f96733: Verifying Checksum 03:52:35 9712f1f96733: Download complete 03:52:36 63f879dbbcfc: Verifying Checksum 03:52:36 63f879dbbcfc: Download complete 03:52:36 ab5ef0e58194: Verifying Checksum 03:52:36 ab5ef0e58194: Download complete 03:52:36 e9a5061849ea: Verifying Checksum 03:52:36 e9a5061849ea: Download complete 03:52:36 d747dcd14b5f: Verifying Checksum 03:52:36 d747dcd14b5f: Download complete 03:52:36 0d9ebad4ef96: Verifying Checksum 03:52:36 0d9ebad4ef96: Download complete 03:52:36 2de7ff778b66: Verifying Checksum 03:52:36 2de7ff778b66: Download complete 03:52:39 ab5ef0e58194: Pull complete 03:52:39 9712f1f96733: Pull complete 03:52:39 63f879dbbcfc: Pull complete 03:52:42 0d9ebad4ef96: Pull complete 03:52:43 e9a5061849ea: Pull complete 03:52:43 d747dcd14b5f: Pull complete 03:52:44 2de7ff778b66: Pull complete 03:52:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:52:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:52:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:44 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:52:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:52:50 $ docker top ec62170d723774e7e9e1c5324ac27065d7da5c244393f10504bd7cc2fde30d92 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:52:50 provisioning config files... 03:52:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13342521889036283429tmp 03:52:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8400408469517446366tmp 03:52:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13689401535525701033tmp [Pipeline] { [Pipeline] echo 03:52:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:52:51 ---> sigul-configuration.sh 03:52:51 gpg: directory `/root/.gnupg' created 03:52:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:52:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:52:51 gpg: keyring `/root/.gnupg/secring.gpg' created 03:52:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:52:51 gpg: CAST5 encrypted data 03:52:51 gpg: encrypted with 1 passphrase 03:52:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:52:51 + mkdir /home/jenkins 03:52:51 + mkdir /home/jenkins/sigul [Pipeline] sh 03:52:51 + 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 03:52:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:52:52 ---> sigul-install.sh 03:52:52 Sigul already installed; skipping installation. [Pipeline] sh 03:52:52 + git tag --list 03:52:52 0.7.1 03:52:52 delhi-tag 03:52:52 v1.0.0 03:52:52 v1.1.0 03:52:52 v1.1.1 03:52:52 v1.1.2 03:52:52 v1.2.0 03:52:52 v1.2.1 03:52:52 v1.2.2 03:52:52 v1.2.3 03:52:52 v1.3.0 03:52:52 v1.4.0 03:52:52 v2.0.0 03:52:52 v2.1.0 03:52:52 v2.1.1 03:52:52 v2.2.0 03:52:52 v2.3.0 03:52:52 v2.3.1 03:52:52 v3.0 03:52:52 v3.0.0 03:52:52 v3.0.1-dev.1 03:52:52 v3.1 03:52:52 v3.1.0 03:52:52 v3.1.0-dev.1 03:52:52 v3.1.0-dev.10 03:52:52 v3.1.0-dev.11 03:52:52 v3.1.0-dev.12 03:52:52 v3.1.0-dev.13 03:52:52 v3.1.0-dev.14 03:52:52 v3.1.0-dev.15 03:52:52 v3.1.0-dev.16 03:52:52 v3.1.0-dev.17 03:52:52 v3.1.0-dev.18 03:52:52 v3.1.0-dev.19 03:52:52 v3.1.0-dev.2 03:52:52 v3.1.0-dev.20 03:52:52 v3.1.0-dev.21 03:52:52 v3.1.0-dev.22 03:52:52 v3.1.0-dev.23 03:52:52 v3.1.0-dev.24 03:52:52 v3.1.0-dev.25 03:52:52 v3.1.0-dev.26 03:52:52 v3.1.0-dev.27 03:52:52 v3.1.0-dev.28 03:52:52 v3.1.0-dev.29 03:52:52 v3.1.0-dev.3 03:52:52 v3.1.0-dev.30 03:52:52 v3.1.0-dev.31 03:52:52 v3.1.0-dev.32 03:52:52 v3.1.0-dev.33 03:52:52 v3.1.0-dev.34 03:52:52 v3.1.0-dev.35 03:52:52 v3.1.0-dev.36 03:52:52 v3.1.0-dev.37 03:52:52 v3.1.0-dev.38 03:52:52 v3.1.0-dev.39 03:52:52 v3.1.0-dev.4 03:52:52 v3.1.0-dev.40 03:52:52 v3.1.0-dev.41 03:52:52 v3.1.0-dev.5 03:52:52 v3.1.0-dev.6 03:52:52 v3.1.0-dev.7 03:52:52 v3.1.0-dev.8 03:52:52 v3.1.0-dev.9 03:52:52 v3.1.1 03:52:52 v3.1.1-dev.1 03:52:52 v3.2.0-dev.1 03:52:52 v3.2.0-dev.10 03:52:52 v3.2.0-dev.11 03:52:52 v3.2.0-dev.12 03:52:52 v3.2.0-dev.13 03:52:52 v3.2.0-dev.14 03:52:52 v3.2.0-dev.15 03:52:52 v3.2.0-dev.16 03:52:52 v3.2.0-dev.17 03:52:52 v3.2.0-dev.18 03:52:52 v3.2.0-dev.19 03:52:52 v3.2.0-dev.2 03:52:52 v3.2.0-dev.20 03:52:52 v3.2.0-dev.21 03:52:52 v3.2.0-dev.22 03:52:52 v3.2.0-dev.23 03:52:52 v3.2.0-dev.24 03:52:52 v3.2.0-dev.25 03:52:52 v3.2.0-dev.26 03:52:52 v3.2.0-dev.27 03:52:52 v3.2.0-dev.28 03:52:52 v3.2.0-dev.29 03:52:52 v3.2.0-dev.3 03:52:52 v3.2.0-dev.30 03:52:52 v3.2.0-dev.31 03:52:52 v3.2.0-dev.4 03:52:52 v3.2.0-dev.5 03:52:52 v3.2.0-dev.6 03:52:52 v3.2.0-dev.7 03:52:52 v3.2.0-dev.8 03:52:52 v3.2.0-dev.9 [Pipeline] sh 03:52:52 + lftools sign git-tag v3.2.0-dev.31 03:52:53 Signing Git tag with Sigul... 03:52:53 Signing v3.2.0-dev.31 [Pipeline] echo 03:52:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:52:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:52:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:52:53 $ docker stop --time=1 ec62170d723774e7e9e1c5324ac27065d7da5c244393f10504bd7cc2fde30d92 03:52:55 $ docker rm -f --volumes ec62170d723774e7e9e1c5324ac27065d7da5c244393f10504bd7cc2fde30d92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:52:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:52:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:52:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:56 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:52:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:52:56 $ docker top 7e66c09d6ea9083f466a947b2bf7bec2ec6e314cc456bb96525af0fc338a1c27 -eo pid,comm 03:52:56 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). 03:52:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:52:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:52:56 [ssh-agent] Looking for ssh-agent implementation... 03:52:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:52:56 $ docker exec 7e66c09d6ea9083f466a947b2bf7bec2ec6e314cc456bb96525af0fc338a1c27 ssh-agent 03:52:56 SSH_AUTH_SOCK=/tmp/ssh-6asz5kdG9mJG/agent.33 03:52:56 SSH_AGENT_PID=39 03:52:56 Running ssh-add (command line suppressed) 03:52:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_114006447917278280.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_114006447917278280.key) 03:52:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:52:57 + git semver bump pre 03:52:57 2024-08-19 03:52:57,389 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:52:57 2024-08-19 03:52:57,390 [bump_version] DEBUG bumping version:3.2.0-dev.31 on axis:pre with prefix:dev 03:52:57 2024-08-19 03:52:57,390 [bump_version] DEBUG bumped version:3.2.0-dev.32 03:52:57 2024-08-19 03:52:57,390 [write_version] DEBUG write version:3.2.0-dev.32 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 03:52:57 2024-08-19 03:52:57,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:52:57 2024-08-19 03:52:57,390 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:52:57 2024-08-19 03:52:57,392 [execute] INFO git cat-file --batch-check 03:52:57 2024-08-19 03:52:57,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:52:57 2024-08-19 03:52:57,397 [execute] INFO git cat-file --batch 03:52:57 2024-08-19 03:52:57,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:52:57 2024-08-19 03:52:57,402 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:52:57 3.2.0-dev.32 [Pipeline] } 03:52:57 $ docker exec --env ******** --env ******** 7e66c09d6ea9083f466a947b2bf7bec2ec6e314cc456bb96525af0fc338a1c27 ssh-agent -k 03:52:57 unset SSH_AUTH_SOCK; 03:52:57 unset SSH_AGENT_PID; 03:52:57 echo Agent pid 39 killed; 03:52:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:52:57 + git semver [Pipeline] } 03:52:58 $ docker stop --time=1 7e66c09d6ea9083f466a947b2bf7bec2ec6e314cc456bb96525af0fc338a1c27 03:52:59 $ docker rm -f --volumes 7e66c09d6ea9083f466a947b2bf7bec2ec6e314cc456bb96525af0fc338a1c27 [Pipeline] // withDockerContainer [Pipeline] sh 03:52:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:52:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:00 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:53:00 $ docker top ad8f56c924b265ccc879641de00da4d8e01788f797d5c704c640652e4c9ab2af -eo pid,comm 03:53:00 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). 03:53:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:53:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:00 [ssh-agent] Looking for ssh-agent implementation... 03:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:00 $ docker exec ad8f56c924b265ccc879641de00da4d8e01788f797d5c704c640652e4c9ab2af ssh-agent 03:53:00 SSH_AUTH_SOCK=/tmp/ssh-39RJGRLomZGU/agent.32 03:53:00 SSH_AGENT_PID=38 03:53:00 Running ssh-add (command line suppressed) 03:53:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4052284575242077856.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4052284575242077856.key) 03:53:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:01 + git semver push 03:53:01 2024-08-19 03:53:01,473 [run_push] DEBUG push 03:53:01 2024-08-19 03:53:01,473 [execute] INFO git cat-file --batch-check 03:53:01 2024-08-19 03:53:01,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:53:01 2024-08-19 03:53:01,476 [execute] INFO git rev-list 279e8404dea648e2971b117e52b3f4f2462b6e0c -- 03:53:01 2024-08-19 03:53:01,476 [execute] DEBUG Popen(['git', 'rev-list', '279e8404dea648e2971b117e52b3f4f2462b6e0c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:53:01 2024-08-19 03:53:01,489 [execute] INFO git fetch -v origin 03:53:01 2024-08-19 03:53:01,490 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:53:02 2024-08-19 03:53:01,945 [run_push] DEBUG no remote changes detected 03:53:02 2024-08-19 03:53:01,945 [execute] INFO git push origin semver 03:53:02 2024-08-19 03:53:01,946 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:53:03 2024-08-19 03:53:02,718 [run_push] DEBUG push all version tags 03:53:03 2024-08-19 03:53:02,719 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:53:03 2024-08-19 03:53:02,719 [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) 03:53:03 2024-08-19 03:53:03,399 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:53:03 3.2.0-dev.32 [Pipeline] } 03:53:03 $ docker exec --env ******** --env ******** ad8f56c924b265ccc879641de00da4d8e01788f797d5c704c640652e4c9ab2af ssh-agent -k 03:53:03 unset SSH_AUTH_SOCK; 03:53:03 unset SSH_AGENT_PID; 03:53:03 echo Agent pid 38 killed; 03:53:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:53:04 + git semver [Pipeline] } 03:53:04 $ docker stop --time=1 ad8f56c924b265ccc879641de00da4d8e01788f797d5c704c640652e4c9ab2af 03:53:05 $ docker rm -f --volumes ad8f56c924b265ccc879641de00da4d8e01788f797d5c704c640652e4c9ab2af [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 03:53:06 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 03:53:06 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:53:06 total 16 03:53:06 drwxr-xr-x 3 root root 4096 Aug 19 03:36 . 03:53:06 drwxrwxr-x 12 jenkins jenkins 4096 Aug 19 03:52 .. 03:53:06 drwxr-xr-x 2 root root 4096 Aug 19 03:36 cost 03:53:06 -rw-r--r-- 1 root root 85 Aug 19 03:36 cost.csv 03:53:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:53:06 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:53:06 total 16 03:53:06 drwxr-xr-x 3 jenkins jenkins 4096 Aug 19 03:36 . 03:53:06 drwxrwxr-x 12 jenkins jenkins 4096 Aug 19 03:52 .. 03:53:06 drwxr-xr-x 2 jenkins jenkins 4096 Aug 19 03:36 cost 03:53:06 -rw-r--r-- 1 jenkins jenkins 85 Aug 19 03:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:53:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:53:07 ---> package-listing.sh 03:53:07 ++ facter osfamily 03:53:07 ++ tr '[:upper:]' '[:lower:]' 03:53:07 + OS_FAMILY=debian 03:53:07 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 03:53:07 + START_PACKAGES=/tmp/packages_start.txt 03:53:07 + END_PACKAGES=/tmp/packages_end.txt 03:53:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:53:07 + PACKAGES=/tmp/packages_start.txt 03:53:07 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 03:53:07 + PACKAGES=/tmp/packages_end.txt 03:53:07 + case "${OS_FAMILY}" in 03:53:07 + dpkg -l 03:53:07 + grep '^ii' 03:53:07 + '[' -f /tmp/packages_start.txt ']' 03:53:07 + '[' -f /tmp/packages_end.txt ']' 03:53:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:53:07 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 03:53:07 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 03:53:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 03:53:07 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 03:53:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:08 prd-ubuntu20.04-docker-8c-8g-7929 does not seem to be running inside a container 03:53:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:53:09 $ docker top c37d0b1b2a0d782c362c81c4dadb0684a655219ae4d9d5105a484ee78ca39d94 -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:09 + touch /tmp/pre-build-complete [Pipeline] sh 03:53:09 + mkdir -p /var/log/sysstat [Pipeline] sh 03:53:10 + ls /var/log/sa-host 03:53:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:10 provisioning config files... 03:53:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11158167921230420392tmp [Pipeline] { [Pipeline] echo 03:53:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:53:10 ---> create-netrc.sh [Pipeline] } 03:53:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:53:10 ---> python-tools-install.sh [Pipeline] echo 03:53:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:53:11 ---> sudo-logs.sh 03:53:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:53:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:53:11 ---> job-cost.sh 03:53:11 lf-activate-venv: SKIPPING 03:53:11 DEBUG: total: 0.2199999988079071 03:53:11 INFO: Retrieving Stack Cost... 03:53:11 INFO: Retrieving Pricing Info for: v3-standard-8 03:53:12 INFO: Archiving Costs [Pipeline] echo 03:53:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:53:12 ---> logs-deploy.sh 03:53:12 lf-activate-venv: SKIPPING 03:53:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/306 03:53:12 INFO: archiving workspace using pattern(s): 03:53:13 Archives upload complete. 03:53:13 INFO: archiving logs to Nexus