Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53be42878d98bd81d8f19abe7357388c82439207 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-ssh14236225026834898989.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-ssh3905026692243687201.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-ssh11407310802447966301.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-ssh2671752057369544598.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-ssh9033618780560188143.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7272 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 53be42878d98bd81d8f19abe7357388c82439207 (main) Commit message: "Merge pull request #1609 from cloudxxx8/issue-1608" > 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 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 > git rev-list --no-walk 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:43:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:43:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:43:28 ========================================================= 06:43:28 EdgeX Global Pipelines Version Info 06:43:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:43:29 ------------------- 06:43:29 stable info: 06:43:29 ------------------- 06:43:29 Commited By: Ginny Guan ginny@iotechsys.com 06:43:29 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:43:29 Message: update stable to v1.0.260 06:43:30 ------------------- 06:43:30 experimental info: 06:43:30 ------------------- 06:43:30 Commited By: Ginny Guan ginny@iotechsys.com 06:43:30 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:43:30 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53be42878d98bd81d8f19abe7357388c82439207 [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53be428 [Pipeline] echo 06:43:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:30 provisioning config files... 06:43:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13680038167235371768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:31 ---> ****-login.sh 06:43:31 nexus3.edgexfoundry.org:10001 06:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:31 Configure a credential helper to remove this warning. See 06:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:31 06:43:31 Login Succeeded 06:43:31 nexus3.edgexfoundry.org:10002 06:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:31 Configure a credential helper to remove this warning. See 06:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:31 06:43:31 Login Succeeded 06:43:31 nexus3.edgexfoundry.org:10003 06:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:31 Configure a credential helper to remove this warning. See 06:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:31 06:43:31 Login Succeeded 06:43:31 nexus3.edgexfoundry.org:10004 06:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:31 Configure a credential helper to remove this warning. See 06:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:31 06:43:31 Login Succeeded 06:43:31 ****.io 06:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:32 Configure a credential helper to remove this warning. See 06:43:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:32 06:43:32 Login Succeeded 06:43:32 ---> ****-login.sh ends [Pipeline] } 06:43:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:43:32 + git rev-list -1 --merges 53be42878d98bd81d8f19abe7357388c82439207~1..53be42878d98bd81d8f19abe7357388c82439207 [Pipeline] echo 06:43:32 -----------> git rev-list -1 --merges 53be42878d98bd81d8f19abe7357388c82439207~1..53be42878d98bd81d8f19abe7357388c82439207 53be42878d98bd81d8f19abe7357388c82439207 06:43:32 53be42878d98bd81d8f19abe7357388c82439207 [false] [Pipeline] sh 06:43:33 + git log --format=format:%s -1 53be42878d98bd81d8f19abe7357388c82439207 [Pipeline] echo 06:43:33 ========================================================= 06:43:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:43:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:33 + git log --format=format:%s -1 53be42878d98bd81d8f19abe7357388c82439207 [Pipeline] echo 06:43:33 [semverPrep] GIT_COMMIT: 53be42878d98bd81d8f19abe7357388c82439207, Commit Message: Merge pull request #1609 from cloudxxx8/issue-1608 [Pipeline] echo 06:43:33 [semverPrep] This is not a build commit. [Pipeline] sh 06:43:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:43:33 + grep -v github /etc/ssh/ssh_known_hosts 06:43:33 + [ -e /tmp/ssh_known_hosts ] 06:43:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:43:33 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:43:33 sudo tee -a /etc/ssh/ssh_known_hosts 06:43:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:34 06:43:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:34 0.1.4: Pulling from edgex-devops/py-git-semver 06:43:34 b85a868b505f: Pulling fs layer 06:43:34 e2be974225ed: Pulling fs layer 06:43:34 339a4e72a1f5: Pulling fs layer 06:43:34 988bab9f4d93: Pulling fs layer 06:43:34 1469e6f7b9e6: Pulling fs layer 06:43:34 eaf3925da568: Pulling fs layer 06:43:34 bab4dde63d76: Pulling fs layer 06:43:34 bde34c3a00c8: Pulling fs layer 06:43:34 b352a97aabf1: Pulling fs layer 06:43:34 4872d77fe225: Pulling fs layer 06:43:34 5851b861e8e6: Pulling fs layer 06:43:34 988bab9f4d93: Waiting 06:43:34 1469e6f7b9e6: Waiting 06:43:34 4872d77fe225: Waiting 06:43:34 eaf3925da568: Waiting 06:43:34 bab4dde63d76: Waiting 06:43:34 bde34c3a00c8: Waiting 06:43:34 5851b861e8e6: Waiting 06:43:34 b352a97aabf1: Waiting 06:43:34 e2be974225ed: Verifying Checksum 06:43:34 e2be974225ed: Download complete 06:43:34 988bab9f4d93: Verifying Checksum 06:43:34 988bab9f4d93: Download complete 06:43:34 1469e6f7b9e6: Verifying Checksum 06:43:34 1469e6f7b9e6: Download complete 06:43:34 eaf3925da568: Download complete 06:43:34 339a4e72a1f5: Verifying Checksum 06:43:34 339a4e72a1f5: Download complete 06:43:34 bde34c3a00c8: Verifying Checksum 06:43:34 bde34c3a00c8: Download complete 06:43:34 b352a97aabf1: Download complete 06:43:34 4872d77fe225: Verifying Checksum 06:43:34 4872d77fe225: Download complete 06:43:34 5851b861e8e6: Download complete 06:43:34 b85a868b505f: Verifying Checksum 06:43:34 b85a868b505f: Download complete 06:43:35 bab4dde63d76: Verifying Checksum 06:43:35 bab4dde63d76: Download complete 06:43:36 b85a868b505f: Pull complete 06:43:36 e2be974225ed: Pull complete 06:43:36 339a4e72a1f5: Pull complete 06:43:36 988bab9f4d93: Pull complete 06:43:36 1469e6f7b9e6: Pull complete 06:43:36 eaf3925da568: Pull complete 06:43:38 bab4dde63d76: Pull complete 06:43:38 bde34c3a00c8: Pull complete 06:43:38 b352a97aabf1: Pull complete 06:43:39 4872d77fe225: Pull complete 06:43:39 5851b861e8e6: Pull complete 06:43:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:43:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:39 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 06:43:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:43:41 $ docker top 0458cedba46ddb5d5d1ec8d520bdc354fb80cf76c364ee8053de4cdd45f8e86f -eo pid,comm 06:43:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:43:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:43:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:42 [ssh-agent] Looking for ssh-agent implementation... 06:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:42 $ docker exec 0458cedba46ddb5d5d1ec8d520bdc354fb80cf76c364ee8053de4cdd45f8e86f ssh-agent 06:43:42 SSH_AUTH_SOCK=/tmp/ssh-dB46ADjJYUFi/agent.32 06:43:42 SSH_AGENT_PID=38 06:43:42 Running ssh-add (command line suppressed) 06:43:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16709438082596911301.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16709438082596911301.key) 06:43:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:42 + git tag --points-at HEAD [Pipeline] } 06:43:42 $ docker exec --env ******** --env ******** 0458cedba46ddb5d5d1ec8d520bdc354fb80cf76c364ee8053de4cdd45f8e86f ssh-agent -k 06:43:42 unset SSH_AUTH_SOCK; 06:43:42 unset SSH_AGENT_PID; 06:43:42 echo Agent pid 38 killed; 06:43:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:43:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:42 [ssh-agent] Looking for ssh-agent implementation... 06:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:42 $ docker exec 0458cedba46ddb5d5d1ec8d520bdc354fb80cf76c364ee8053de4cdd45f8e86f ssh-agent 06:43:43 SSH_AUTH_SOCK=/tmp/ssh-cdZvgZXDIJgY/agent.71 06:43:43 SSH_AGENT_PID=77 06:43:43 Running ssh-add (command line suppressed) 06:43:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_704321533820473121.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_704321533820473121.key) 06:43:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:43 + git semver init 06:43:43 2024-08-07 06:43:43,616 [run_init] DEBUG init version:0.0.0 force:False 06:43:43 2024-08-07 06:43:43,617 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:43:43 2024-08-07 06:43:43,617 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:43:43 2024-08-07 06:43:43,617 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:43:46 2024-08-07 06:43:45,737 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:43:46 2024-08-07 06:43:45,738 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:43:46 2024-08-07 06:43:45,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:43:46 2024-08-07 06:43:45,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:43:46 3.2.0-dev.30 [Pipeline] } 06:43:46 $ docker exec --env ******** --env ******** 0458cedba46ddb5d5d1ec8d520bdc354fb80cf76c364ee8053de4cdd45f8e86f ssh-agent -k 06:43:46 unset SSH_AUTH_SOCK; 06:43:46 unset SSH_AGENT_PID; 06:43:46 echo Agent pid 77 killed; 06:43:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:43:46 + git semver [Pipeline] } 06:43:46 $ docker stop --time=1 0458cedba46ddb5d5d1ec8d520bdc354fb80cf76c364ee8053de4cdd45f8e86f 06:43:48 $ docker rm -f --volumes 0458cedba46ddb5d5d1ec8d520bdc354fb80cf76c364ee8053de4cdd45f8e86f [Pipeline] // withDockerContainer [Pipeline] sh 06:43:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:43:48 Stashed 1 file(s) [Pipeline] echo 06:43:48 [edgeXSemver]: initialized semver on version 3.2.0-dev.30 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:49 provisioning config files... 06:43:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3729397227507492770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:49 ---> ****-login.sh 06:43:49 nexus3.edgexfoundry.org:10001 06:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:49 Configure a credential helper to remove this warning. See 06:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:49 06:43:49 Login Succeeded 06:43:49 nexus3.edgexfoundry.org:10002 06:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:49 Configure a credential helper to remove this warning. See 06:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:49 06:43:49 Login Succeeded 06:43:49 nexus3.edgexfoundry.org:10003 06:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:49 Configure a credential helper to remove this warning. See 06:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:49 06:43:49 Login Succeeded 06:43:49 nexus3.edgexfoundry.org:10004 06:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:49 Configure a credential helper to remove this warning. See 06:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:49 06:43:49 Login Succeeded 06:43:49 ****.io 06:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:43:49 Configure a credential helper to remove this warning. See 06:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:43:49 06:43:49 Login Succeeded 06:43:49 ---> ****-login.sh ends [Pipeline] } 06:43:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:43:50 ========================================================= 06:43:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:43:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:50 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:43:50 Sending build context to Docker daemon 25.16MB 06:43:50 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:43:50 Step 2/10 : FROM ${BASE} AS builder 06:43:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:43:50 619be1103602: Pulling fs layer 06:43:50 7862e08f4a3e: Pulling fs layer 06:43:50 5df492c9dc93: Pulling fs layer 06:43:50 7629e6793208: Pulling fs layer 06:43:50 4f4fb700ef54: Pulling fs layer 06:43:50 fb5054dd5b73: Pulling fs layer 06:43:50 eeca6798cff9: Pulling fs layer 06:43:50 aa269ceb94a6: Pulling fs layer 06:43:50 ada007ff1a6a: Pulling fs layer 06:43:50 4f4fb700ef54: Waiting 06:43:50 fb5054dd5b73: Waiting 06:43:50 eeca6798cff9: Waiting 06:43:50 aa269ceb94a6: Waiting 06:43:50 7629e6793208: Waiting 06:43:50 7862e08f4a3e: Download complete 06:43:50 7629e6793208: Download complete 06:43:50 4f4fb700ef54: Verifying Checksum 06:43:50 4f4fb700ef54: Download complete 06:43:50 fb5054dd5b73: Download complete 06:43:50 619be1103602: Verifying Checksum 06:43:50 619be1103602: Download complete 06:43:50 eeca6798cff9: Verifying Checksum 06:43:50 eeca6798cff9: Download complete 06:43:50 619be1103602: Pull complete 06:43:50 ada007ff1a6a: Verifying Checksum 06:43:50 ada007ff1a6a: Download complete 06:43:50 7862e08f4a3e: Pull complete 06:43:51 5df492c9dc93: Verifying Checksum 06:43:51 5df492c9dc93: Download complete 06:43:51 aa269ceb94a6: Verifying Checksum 06:43:51 aa269ceb94a6: Download complete 06:43:54 5df492c9dc93: Pull complete 06:43:54 7629e6793208: Pull complete 06:43:54 4f4fb700ef54: Pull complete 06:43:54 fb5054dd5b73: Pull complete 06:43:54 eeca6798cff9: Pull complete 06:43:57 aa269ceb94a6: Pull complete 06:43:57 ada007ff1a6a: Pull complete 06:43:57 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:43:57 ---> f489d0715acc 06:43:57 Step 3/10 : ARG MAKE=make build 06:44:01 ---> Running in e3c6f788bad3 06:44:01 Removing intermediate container e3c6f788bad3 06:44:01 ---> bac9478cd047 06:44:01 Step 4/10 : WORKDIR /device-sdk-go 06:44:01 ---> Running in b14b6ee7a690 06:44:01 Removing intermediate container b14b6ee7a690 06:44:01 ---> 05180d83fc9b 06:44:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:44:01 ---> Running in 91b0c0d48f85 06:44:01 Removing intermediate container 91b0c0d48f85 06:44:01 ---> 575e17fae14b 06:44:01 Step 6/10 : RUN apk add --update --no-cache make git 06:44:01 ---> Running in fefb94ee2bb8 06:44:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:44:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:44:01 OK: 264 MiB in 52 packages 06:44:02 Removing intermediate container fefb94ee2bb8 06:44:02 ---> 7283b6ca61f3 06:44:02 Step 7/10 : COPY go.mod vendor* ./ 06:44:02 ---> dc67f48a96a0 06:44:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:02 ---> Running in 14de56bfb4fe 06:44:04 Still waiting to schedule task 06:44:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7271’ 06:44:49 Removing intermediate container 14de56bfb4fe 06:44:49 ---> 9d7cee332709 06:44:49 Step 9/10 : COPY . . 06:44:49 ---> 9fd5fc10777b 06:44:49 Step 10/10 : RUN ${MAKE} 06:44:49 ---> Running in b02b610aa90f 06:44:49 noop 06:44:49 Removing intermediate container b02b610aa90f 06:44:49 ---> 37bcc885c186 06:44:49 Successfully built 37bcc885c186 06:44:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:49 + docker inspect -f . ci-base-image-x86_64 06:44:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:49 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 06:44:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:50 $ docker top 3e69523b533db57bf30c1c0d45762e4bc79fa568fc134168c8ad1c4822ccc1a3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:50 + go version 06:44:50 go version go1.21.9 linux/amd64 [Pipeline] } 06:44:50 $ docker stop --time=1 3e69523b533db57bf30c1c0d45762e4bc79fa568fc134168c8ad1c4822ccc1a3 06:44:51 $ docker rm -f --volumes 3e69523b533db57bf30c1c0d45762e4bc79fa568fc134168c8ad1c4822ccc1a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:52 + docker inspect -f . ci-base-image-x86_64 06:44:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:52 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 06:44:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:52 $ docker top cd0c633a73c36389ae9037bd376852375e4484cf6cfbb52906c744f8d0331866 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:44:53 + make test 06:44:53 go test -race -coverprofile=coverage.out ./... 06:45:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:45:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:45:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:45:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:45:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:45:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:45:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:45:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:45:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 27.0% of statements 06:45:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.028s coverage: 79.4% of statements 06:45:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.046s coverage: 86.0% of statements 06:45:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:45:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:45:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:45:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.086s coverage: 52.2% of statements 06:45:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:45:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements 06:45:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.037s coverage: 44.6% of statements 06:45:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.043s coverage: 68.5% of statements 06:45:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.092s coverage: 89.2% of statements 06:45:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.4% of statements 06:45:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7273 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:45:57 Running in /w/workspace/device-sdk-go/305 [Pipeline] { [Pipeline] checkout 06:46:00 The recommended git tool is: git 06:46:09 using credential edgex-jenkins-ssh 06:46:09 Cloning the remote Git repository 06:46:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:46:09 > git init /w/workspace/device-sdk-go/305 # timeout=10 06:46:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:46:09 > git --version # timeout=10 06:46:10 GO111MODULE=on go vet ./... 06:46:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:46:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:46:10 ./bin/test-attribution-txt.sh [Pipeline] echo 06:46:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:46:11 $ docker stop --time=1 cd0c633a73c36389ae9037bd376852375e4484cf6cfbb52906c744f8d0331866 06:46:09 > git --version # 'git version 2.25.1' 06:46:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:46:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:14 $ docker rm -f --volumes cd0c633a73c36389ae9037bd376852375e4484cf6cfbb52906c744f8d0331866 [Pipeline] // withDockerContainer 06:46:15 Avoid second fetch 06:46:15 Checking out Revision 53be42878d98bd81d8f19abe7357388c82439207 (main) [Pipeline] sh 06:46:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:46:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:46:15 > git config core.sparsecheckout # timeout=10 06:46:15 > git checkout -f 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 06:46:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:46:16 Commit message: "Merge pull request #1609 from cloudxxx8/issue-1608" 06:46:16 + ls -al . 06:46:16 total 380 06:46:16 drwxrwxr-x 11 jenkins jenkins 4096 Aug 7 06:44 . 06:46:16 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 06:43 .. 06:46:16 -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 06:43 .dockerignore 06:46:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 06:45 .git 06:46:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:43 .github 06:46:16 -rw-rw-r-- 1 jenkins jenkins 137 Aug 7 06:43 .gitignore 06:46:16 -rw-rw-r-- 1 jenkins jenkins 42 Aug 7 06:43 .golangci.yml 06:46:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 06:43 .semver 06:46:16 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 7 06:43 CHANGELOG.md 06:46:16 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 06:43 GOVERNANCE.md 06:46:16 -rw-rw-r-- 1 jenkins jenkins 885 Aug 7 06:43 Jenkinsfile 06:46:16 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 7 06:43 LICENSE 06:46:16 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 7 06:43 Makefile 06:46:16 -rw-rw-r-- 1 jenkins jenkins 619 Aug 7 06:43 OWNERS.md 06:46:16 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 7 06:43 README.md 06:46:16 -rw-rw-r-- 1 jenkins jenkins 12 Aug 7 06:43 VERSION 06:46:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 06:43 bin 06:46:16 -rw-r--r-- 1 jenkins jenkins 125704 Aug 7 06:45 coverage.out 06:46:16 drwxrwxr-x 5 jenkins jenkins 4096 Aug 7 06:43 example 06:46:16 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 7 06:43 go.mod 06:46:16 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 7 06:43 go.sum 06:46:16 drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 06:43 internal 06:46:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:43 openapi 06:46:16 drwxrwxr-x 6 jenkins jenkins 4096 Aug 7 06:43 pkg 06:46:16 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 06:43 snap 06:46:16 -rw-rw-r-- 1 jenkins jenkins 222 Aug 7 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:16 + 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=53be42878d98bd81d8f19abe7357388c82439207 --label arch=amd64 --label version=3.2.0-dev.30 . 06:46:16 Sending build context to Docker daemon 25.29MB 06:46:16 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:46:16 Step 2/24 : FROM ${BASE} AS builder 06:46:16 ---> 37bcc885c186 06:46:16 Step 3/24 : ARG MAKE=make build 06:46:17 ---> Running in e6662712219f 06:46:17 Removing intermediate container e6662712219f 06:46:17 ---> caf218d7157b 06:46:17 Step 4/24 : WORKDIR /device-sdk-go 06:46:17 ---> Running in 2d9565bd2fd9 06:46:17 Removing intermediate container 2d9565bd2fd9 06:46:17 ---> e605a092ff7b 06:46:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:46:17 ---> Running in 708546bebef2 06:46:17 Removing intermediate container 708546bebef2 06:46:17 ---> f3ebad4747ea 06:46:17 Step 6/24 : RUN apk add --update --no-cache make git 06:46:17 ---> Running in 26d778eb4eb0 06:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:46:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:46:18 OK: 264 MiB in 52 packages 06:46:18 Removing intermediate container 26d778eb4eb0 06:46:18 ---> f33ea029ce6e 06:46:18 Step 7/24 : COPY go.mod vendor* ./ 06:46:18 ---> db43c8c8ab12 06:46:18 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:46:18 ---> Running in 05b0cda109cc 06:46:19 Removing intermediate container 05b0cda109cc 06:46:19 ---> c9d5e7512bf8 06:46:19 Step 9/24 : COPY . . 06:46:20 ---> 6b566d5fb980 06:46:20 Step 10/24 : RUN ${MAKE} 06:46:20 ---> Running in 3bb1360013af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:20 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.30" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:46:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:46:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:46:21 Dload Upload Total Spent Left Speed 06:46:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 06:46:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:46:21 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 06:46:21 /etc/docker/daemon.json 06:46:21 { 06:46:21 "registry-mirrors": [ 06:46:21 "https://nexus3.edgexfoundry.org:10001" 06:46:21 ], 06:46:21 "bip": "10.250.0.254/24", 06:46:21 "hosts": [ 06:46:21 "tcp://0.0.0.0:5555", 06:46:21 "unix:///var/run/docker.sock" 06:46:21 ], 06:46:21 "mtu": 1458, 06:46:21 "selinux-enabled": true, 06:46:21 "seccomp-profile": "/etc/docker/seccomp.json" 06:46:21 } [Pipeline] sh 06:46:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:46:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:40 provisioning config files... 06:46:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/305@tmp/config17172227220300073642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:41 ---> ****-login.sh 06:46:41 nexus3.edgexfoundry.org:10001 06:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:41 Configure a credential helper to remove this warning. See 06:46:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:41 06:46:41 Login Succeeded 06:46:41 nexus3.edgexfoundry.org:10002 06:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:42 Configure a credential helper to remove this warning. See 06:46:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:42 06:46:42 Login Succeeded 06:46:42 nexus3.edgexfoundry.org:10003 06:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:42 Configure a credential helper to remove this warning. See 06:46:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:42 06:46:42 Login Succeeded 06:46:42 nexus3.edgexfoundry.org:10004 06:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:42 Configure a credential helper to remove this warning. See 06:46:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:42 06:46:42 Login Succeeded 06:46:42 ****.io 06:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:43 Configure a credential helper to remove this warning. See 06:46:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:43 06:46:43 Login Succeeded 06:46:43 ---> ****-login.sh ends [Pipeline] } 06:46:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:46:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:46:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:46:43 ========================================================= 06:46:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:46:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:44 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:46:44 Sending build context to Docker daemon 13.02MB 06:46:44 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:46:44 Step 2/10 : FROM ${BASE} AS builder 06:46:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:46:45 c6b39de5b339: Pulling fs layer 06:46:45 a69c41024577: Pulling fs layer 06:46:45 d6de4b400683: Pulling fs layer 06:46:45 35cb2a7552d0: Pulling fs layer 06:46:45 4f4fb700ef54: Pulling fs layer 06:46:45 464afbd9ba4c: Pulling fs layer 06:46:45 00f215d4a9da: Pulling fs layer 06:46:45 d496ad576159: Pulling fs layer 06:46:45 35cb2a7552d0: Waiting 06:46:45 4f4fb700ef54: Waiting 06:46:45 464afbd9ba4c: Waiting 06:46:45 00f215d4a9da: Waiting 06:46:45 a69c41024577: Download complete 06:46:45 35cb2a7552d0: Verifying Checksum 06:46:45 35cb2a7552d0: Download complete 06:46:45 4f4fb700ef54: Verifying Checksum 06:46:45 4f4fb700ef54: Download complete 06:46:45 464afbd9ba4c: Download complete 06:46:45 c6b39de5b339: Download complete 06:46:45 d496ad576159: Verifying Checksum 06:46:45 d496ad576159: Download complete 06:46:46 c6b39de5b339: Pull complete 06:46:46 a69c41024577: Pull complete 06:46:47 d6de4b400683: Verifying Checksum 06:46:47 d6de4b400683: Download complete 06:46:48 00f215d4a9da: Verifying Checksum 06:46:48 00f215d4a9da: Download complete 06:46:52 Removing intermediate container 3bb1360013af 06:46:52 ---> bb3704a33a41 06:46:52 Step 11/24 : FROM alpine:3.18 06:46:52 3.18: Pulling from library/alpine 06:46:52 930bdd4d222e: Pulling fs layer 06:46:52 930bdd4d222e: Verifying Checksum 06:46:52 930bdd4d222e: Download complete 06:46:52 930bdd4d222e: Pull complete 06:46:52 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:46:52 Status: Downloaded newer image for alpine:3.18 06:46:52 ---> 18f865063206 06:46:52 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:46:52 ---> Running in 3fe473cdbf02 06:46:52 Removing intermediate container 3fe473cdbf02 06:46:52 ---> e7072443543f 06:46:52 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:46:52 ---> Running in 4a0d2c5a23fb 06:46:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:46:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:46:53 (1/1) Installing dumb-init (1.2.5-r2) 06:46:53 Executing busybox-1.36.1-r7.trigger 06:46:53 OK: 7 MiB in 16 packages 06:46:54 Removing intermediate container 4a0d2c5a23fb 06:46:54 ---> 3d3ed1574021 06:46:54 Step 14/24 : RUN apk --no-cache upgrade 06:46:54 ---> Running in c52165e7137b 06:46:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:46:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:46:54 OK: 7 MiB in 16 packages 06:46:54 Removing intermediate container c52165e7137b 06:46:54 ---> ff0083752d50 06:46:54 Step 15/24 : WORKDIR / 06:46:54 ---> Running in fb77b2e552d4 06:46:54 Removing intermediate container fb77b2e552d4 06:46:54 ---> 368c7a1053bf 06:46:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:46:55 ---> 61e6de36bd34 06:46:55 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:46:56 ---> f2bffb93d559 06:46:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:46:56 ---> 3b030900c02a 06:46:56 Step 19/24 : EXPOSE 59999 06:46:56 ---> Running in 1558989014ca 06:46:56 Removing intermediate container 1558989014ca 06:46:56 ---> b943b88e6f9f 06:46:56 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:46:56 ---> Running in 97470c4a2883 06:46:56 Removing intermediate container 97470c4a2883 06:46:56 ---> 36928a3c7491 06:46:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:46:56 ---> Running in 43fa409826ca 06:46:56 Removing intermediate container 43fa409826ca 06:46:56 ---> a46eb5db7e4a 06:46:56 Step 22/24 : LABEL arch=amd64 06:46:56 ---> Running in bed39d46a930 06:46:56 Removing intermediate container bed39d46a930 06:46:56 ---> d34b109a6017 06:46:56 Step 23/24 : LABEL git_sha=53be42878d98bd81d8f19abe7357388c82439207 06:46:56 ---> Running in 5979b6fea5c4 06:46:57 Removing intermediate container 5979b6fea5c4 06:46:57 ---> ae2a1909a58b 06:46:57 Step 24/24 : LABEL version=3.2.0-dev.30 06:46:57 ---> Running in b92f60dfc4e6 06:46:57 Removing intermediate container b92f60dfc4e6 06:46:57 ---> 4bbe5f95698f 06:46:57 [Warning] One or more build-args [ARCH] were not consumed 06:46:57 Successfully built 4bbe5f95698f 06:46:57 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:57 06:46:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:57 latest: Pulling from edgex-lftools-log-publisher 06:46:57 5eb5b503b376: Pulling fs layer 06:46:57 5c69ac0246d0: Pulling fs layer 06:46:57 ec43610c2a17: Pulling fs layer 06:46:57 3a2ae6a8a46f: Pulling fs layer 06:46:57 33b1e0a273af: Pulling fs layer 06:46:57 5d3b04190fa2: Pulling fs layer 06:46:57 2f39f015ded8: Pulling fs layer 06:46:57 3a2ae6a8a46f: Waiting 06:46:57 33b1e0a273af: Waiting 06:46:57 5d3b04190fa2: Waiting 06:46:57 5c69ac0246d0: Download complete 06:46:57 3a2ae6a8a46f: Verifying Checksum 06:46:57 3a2ae6a8a46f: Download complete 06:46:57 33b1e0a273af: Verifying Checksum 06:46:57 33b1e0a273af: Download complete 06:46:57 ec43610c2a17: Verifying Checksum 06:46:57 ec43610c2a17: Download complete 06:46:57 5d3b04190fa2: Verifying Checksum 06:46:57 5d3b04190fa2: Download complete 06:46:58 5eb5b503b376: Verifying Checksum 06:46:58 5eb5b503b376: Download complete 06:46:58 2f39f015ded8: Download complete 06:46:59 5eb5b503b376: Pull complete 06:46:59 5c69ac0246d0: Pull complete 06:46:59 ec43610c2a17: Pull complete 06:47:00 3a2ae6a8a46f: Pull complete 06:47:00 33b1e0a273af: Pull complete 06:47:00 5d3b04190fa2: Pull complete 06:47:00 d6de4b400683: Pull complete 06:47:00 35cb2a7552d0: Pull complete 06:47:00 4f4fb700ef54: Pull complete 06:47:00 464afbd9ba4c: Pull complete 06:47:04 2f39f015ded8: Pull complete 06:47:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:47:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:47:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:04 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 06:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:47:07 $ docker top 7ff21d339614445f8e6bfa45042924db455ce221a07653f71ba0621cdd0086fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:47:08 ---> job-cost.sh 06:47:08 lf-activate-venv: SKIPPING 06:47:08 INFO: No Stack... 06:47:08 INFO: Retrieving Pricing Info for: v3-standard-8 06:47:08 INFO: Archiving Costs [Pipeline] sh 06:47:09 00f215d4a9da: Pull complete 06:47:09 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:47:09 + cut -d, -f6 [Pipeline] lock 06:47:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-305-stack-cost] 06:47:09 Resource [jenkins-edgexfoundry-device-sdk-go-main-305-stack-cost] did not exist. Created. 06:47:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-305-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:47:09 + echo total: 0.2199999988079071 [Pipeline] stash 06:47:09 Stashed 1 file(s) [Pipeline] } 06:47:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-305-stack-cost] [Pipeline] // lock [Pipeline] } 06:47:09 $ docker stop --time=1 7ff21d339614445f8e6bfa45042924db455ce221a07653f71ba0621cdd0086fd 06:47:10 d496ad576159: Pull complete 06:47:10 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:47:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:47:10 ---> f246e2811388 06:47:10 Step 3/10 : ARG MAKE=make build 06:47:10 $ docker rm -f --volumes 7ff21d339614445f8e6bfa45042924db455ce221a07653f71ba0621cdd0086fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:47:12 ---> Running in 4180e1b34bbe 06:47:12 Removing intermediate container 4180e1b34bbe 06:47:12 ---> 743ed54f7bd9 06:47:12 Step 4/10 : WORKDIR /device-sdk-go 06:47:12 ---> Running in ae65dfd94c54 06:47:12 Removing intermediate container ae65dfd94c54 06:47:12 ---> ae71f74899bb 06:47:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:47:12 ---> Running in 8a4f9ef52af9 06:47:12 Removing intermediate container 8a4f9ef52af9 06:47:12 ---> 5e1fbd664f8f 06:47:12 Step 6/10 : RUN apk add --update --no-cache make git 06:47:13 ---> Running in dcc8c3ec7e28 06:47:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:47:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:47:15 OK: 266 MiB in 52 packages 06:47:16 Removing intermediate container dcc8c3ec7e28 06:47:16 ---> 362e19cfe285 06:47:16 Step 7/10 : COPY go.mod vendor* ./ 06:47:16 ---> 5adf6aa3edc5 06:47:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:47:16 ---> Running in bbad123734d8 06:49:08 Removing intermediate container bbad123734d8 06:49:08 ---> 5be5310c9fde 06:49:08 Step 9/10 : COPY . . 06:49:08 ---> cfedf53625d2 06:49:08 Step 10/10 : RUN ${MAKE} 06:49:08 ---> Running in 4f9637467380 06:49:08 noop 06:49:08 Removing intermediate container 4f9637467380 06:49:08 ---> caf47e084c6f 06:49:08 Successfully built caf47e084c6f 06:49:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:08 + docker inspect -f . ci-base-image-arm64 06:49:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:09 prd-ubuntu20.04-docker-arm64-4c-16g-7273 does not seem to be running inside a container 06:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/305 -v /w/workspace/device-sdk-go/305:/w/workspace/device-sdk-go/305:rw,z -v /w/workspace/device-sdk-go/305@tmp:/w/workspace/device-sdk-go/305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:49:10 $ docker top cbf6a4e2ea3494a73c7112225cac840a6154979bd7126b51f3890809111a37cd -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:11 + go version 06:49:11 go version go1.21.9 linux/arm64 [Pipeline] } 06:49:11 $ docker stop --time=1 cbf6a4e2ea3494a73c7112225cac840a6154979bd7126b51f3890809111a37cd 06:49:13 $ docker rm -f --volumes cbf6a4e2ea3494a73c7112225cac840a6154979bd7126b51f3890809111a37cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:13 + docker inspect -f . ci-base-image-arm64 06:49:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:13 prd-ubuntu20.04-docker-arm64-4c-16g-7273 does not seem to be running inside a container 06:49:13 $ 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/305 -v /w/workspace/device-sdk-go/305:/w/workspace/device-sdk-go/305:rw,z -v /w/workspace/device-sdk-go/305@tmp:/w/workspace/device-sdk-go/305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:49:15 $ docker top 7356c65b0506b936bb4b899935737420629dc11682478ce7394df4404fb00fc6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:15 + git config --global --add safe.directory /w/workspace/device-sdk-go/305 [Pipeline] fileExists [Pipeline] sh 06:49:16 + make test 06:49:16 go test -race -coverprofile=coverage.out ./... 06:49:57 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:53:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:53:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:53:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:53:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:53:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:53:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.118s coverage: 27.0% of statements 06:53:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.155s coverage: 79.4% of statements 06:53:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:53:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:53:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.241s coverage: 86.0% of statements 06:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:53:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.426s coverage: 52.2% of statements 06:53:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.157s coverage: 14.4% of statements 06:53:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.682s coverage: 44.6% of statements 06:53:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:53:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:53:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.294s coverage: 68.5% of statements 06:53:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.357s coverage: 89.2% of statements 06:53:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:53:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.240s coverage: 5.4% of statements 06:53:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:53:48 GO111MODULE=on go vet ./... 06:57:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:57:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:57:24 ./bin/test-attribution-txt.sh [Pipeline] echo 06:57:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:57:24 $ docker stop --time=1 7356c65b0506b936bb4b899935737420629dc11682478ce7394df4404fb00fc6 06:57:26 $ docker rm -f --volumes 7356c65b0506b936bb4b899935737420629dc11682478ce7394df4404fb00fc6 [Pipeline] // withDockerContainer [Pipeline] sh 06:57:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:57:28 Warning: overwriting stash ‘coverage-report’ 06:57:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:57:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:57:30 + ls -al . 06:57:30 total 376 06:57:30 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 06:49 . 06:57:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 06:46 .. 06:57:30 -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 06:46 .dockerignore 06:57:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 06:46 .git 06:57:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:46 .github 06:57:30 -rw-rw-r-- 1 jenkins jenkins 137 Aug 7 06:46 .gitignore 06:57:30 -rw-rw-r-- 1 jenkins jenkins 42 Aug 7 06:46 .golangci.yml 06:57:30 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 7 06:46 CHANGELOG.md 06:57:30 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 06:46 GOVERNANCE.md 06:57:30 -rw-rw-r-- 1 jenkins jenkins 885 Aug 7 06:46 Jenkinsfile 06:57:30 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 7 06:46 LICENSE 06:57:30 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 7 06:46 Makefile 06:57:30 -rw-rw-r-- 1 jenkins jenkins 619 Aug 7 06:46 OWNERS.md 06:57:30 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 7 06:46 README.md 06:57:30 -rw-rw-r-- 1 jenkins jenkins 12 Aug 7 06:43 VERSION 06:57:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 06:46 bin 06:57:30 -rw-r--r-- 1 jenkins jenkins 125703 Aug 7 06:53 coverage.out 06:57:30 drwxrwxr-x 5 jenkins jenkins 4096 Aug 7 06:46 example 06:57:30 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 7 06:46 go.mod 06:57:30 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 7 06:46 go.sum 06:57:30 drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 06:46 internal 06:57:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:46 openapi 06:57:30 drwxrwxr-x 6 jenkins jenkins 4096 Aug 7 06:46 pkg 06:57:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 06:46 snap 06:57:30 -rw-rw-r-- 1 jenkins jenkins 222 Aug 7 06:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:30 + 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=53be42878d98bd81d8f19abe7357388c82439207 --label arch=arm64 --label version=3.2.0-dev.30 . 06:57:31 Sending build context to Docker daemon 13.14MB 06:57:31 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:57:31 Step 2/24 : FROM ${BASE} AS builder 06:57:31 ---> caf47e084c6f 06:57:31 Step 3/24 : ARG MAKE=make build 06:57:31 ---> Running in 941b3bc9a6cb 06:57:32 Removing intermediate container 941b3bc9a6cb 06:57:32 ---> 22167ae291a7 06:57:32 Step 4/24 : WORKDIR /device-sdk-go 06:57:32 ---> Running in bc812cd342f2 06:57:32 Removing intermediate container bc812cd342f2 06:57:32 ---> a7ac23d13162 06:57:32 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:57:32 ---> Running in 53d524e9c3a7 06:57:32 Removing intermediate container 53d524e9c3a7 06:57:32 ---> 12f3477e076e 06:57:32 Step 6/24 : RUN apk add --update --no-cache make git 06:57:32 ---> Running in 7e1b1bdbf7dc 06:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:57:34 OK: 266 MiB in 52 packages 06:57:35 Removing intermediate container 7e1b1bdbf7dc 06:57:35 ---> 0053d576b00b 06:57:35 Step 7/24 : COPY go.mod vendor* ./ 06:57:36 ---> a792ed7c569c 06:57:36 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:37 ---> Running in 9f7d93d465bc 06:57:38 Removing intermediate container 9f7d93d465bc 06:57:38 ---> e7644e6079ab 06:57:38 Step 9/24 : COPY . . 06:57:40 ---> 7d20ac4e764b 06:57:40 Step 10/24 : RUN ${MAKE} 06:57:40 ---> Running in 4085cd4f2177 06:57:41 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.30" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:01:05 Removing intermediate container 4085cd4f2177 07:01:05 ---> d983316cd15b 07:01:05 Step 11/24 : FROM alpine:3.18 07:01:05 3.18: Pulling from library/alpine 07:01:05 4983c3fe2029: Pulling fs layer 07:01:05 4983c3fe2029: Verifying Checksum 07:01:05 4983c3fe2029: Download complete 07:01:05 4983c3fe2029: Pull complete 07:01:05 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 07:01:05 Status: Downloaded newer image for alpine:3.18 07:01:05 ---> a0237000ae83 07:01:05 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:01:05 ---> Running in 742b5722e241 07:01:05 Removing intermediate container 742b5722e241 07:01:05 ---> 70fdc12f08db 07:01:05 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:01:05 ---> Running in 2fc0b6388f12 07:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:01:05 (1/1) Installing dumb-init (1.2.5-r2) 07:01:05 Executing busybox-1.36.1-r7.trigger 07:01:05 OK: 8 MiB in 16 packages 07:01:05 Removing intermediate container 2fc0b6388f12 07:01:05 ---> 54c1d9ab2646 07:01:05 Step 14/24 : RUN apk --no-cache upgrade 07:01:05 ---> Running in ca89710d7b5c 07:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:01:05 OK: 8 MiB in 16 packages 07:01:06 Removing intermediate container ca89710d7b5c 07:01:06 ---> 6e7d252d79d9 07:01:06 Step 15/24 : WORKDIR / 07:01:06 ---> Running in db13dc4504ea 07:01:06 Removing intermediate container db13dc4504ea 07:01:06 ---> dd6260377a6b 07:01:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:01:07 ---> 7ae4612a68e6 07:01:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:01:09 ---> 07e09f2b4955 07:01:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:01:10 ---> 18df40cd0536 07:01:10 Step 19/24 : EXPOSE 59999 07:01:10 ---> Running in 34434bdab07c 07:01:10 Removing intermediate container 34434bdab07c 07:01:10 ---> 1435b3d60342 07:01:10 Step 20/24 : ENTRYPOINT ["/device-simple"] 07:01:10 ---> Running in 7a747895142d 07:01:10 Removing intermediate container 7a747895142d 07:01:10 ---> 26956d6be96b 07:01:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:01:10 ---> Running in 0b15e9d670bb 07:01:11 Removing intermediate container 0b15e9d670bb 07:01:11 ---> e79801bcf3e0 07:01:11 Step 22/24 : LABEL arch=arm64 07:01:11 ---> Running in 3302ec0c06b1 07:01:11 Removing intermediate container 3302ec0c06b1 07:01:11 ---> 8b79e645ead7 07:01:11 Step 23/24 : LABEL git_sha=53be42878d98bd81d8f19abe7357388c82439207 07:01:11 ---> Running in 9ed87123b424 07:01:11 Removing intermediate container 9ed87123b424 07:01:11 ---> 003eef3f0871 07:01:11 Step 24/24 : LABEL version=3.2.0-dev.30 07:01:12 ---> Running in 36e8434c92d6 07:01:12 Removing intermediate container 36e8434c92d6 07:01:12 ---> 266f19a1a4c0 07:01:12 [Warning] One or more build-args [ARCH] were not consumed 07:01:12 Successfully built 266f19a1a4c0 07:01:12 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 07:01:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:01:12 07:01:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:01:13 arm64: Pulling from edgex-lftools-log-publisher 07:01:13 8998bd30e6a1: Pulling fs layer 07:01:13 04944245beec: Pulling fs layer 07:01:13 699f458cf7ca: Pulling fs layer 07:01:13 765212b225bb: Pulling fs layer 07:01:13 f23df028b6ca: Pulling fs layer 07:01:13 765212b225bb: Waiting 07:01:13 d65c8cfc05b1: Pulling fs layer 07:01:13 2437ff75d9bd: Pulling fs layer 07:01:13 f23df028b6ca: Waiting 07:01:13 d65c8cfc05b1: Waiting 07:01:13 2437ff75d9bd: Waiting 07:01:13 04944245beec: Verifying Checksum 07:01:13 04944245beec: Download complete 07:01:13 765212b225bb: Verifying Checksum 07:01:13 765212b225bb: Download complete 07:01:13 f23df028b6ca: Verifying Checksum 07:01:13 f23df028b6ca: Download complete 07:01:13 d65c8cfc05b1: Verifying Checksum 07:01:13 d65c8cfc05b1: Download complete 07:01:13 699f458cf7ca: Verifying Checksum 07:01:13 699f458cf7ca: Download complete 07:01:14 8998bd30e6a1: Verifying Checksum 07:01:14 8998bd30e6a1: Download complete 07:01:16 2437ff75d9bd: Verifying Checksum 07:01:16 2437ff75d9bd: Download complete 07:01:18 8998bd30e6a1: Pull complete 07:01:19 04944245beec: Pull complete 07:01:20 699f458cf7ca: Pull complete 07:01:20 765212b225bb: Pull complete 07:01:21 f23df028b6ca: Pull complete 07:01:21 d65c8cfc05b1: Pull complete 07:01:40 2437ff75d9bd: Pull complete 07:01:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:01:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:01:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:40 prd-ubuntu20.04-docker-arm64-4c-16g-7273 does not seem to be running inside a container 07:01:40 $ 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/305 -v /w/workspace/device-sdk-go/305:/w/workspace/device-sdk-go/305:rw,z -v /w/workspace/device-sdk-go/305@tmp:/w/workspace/device-sdk-go/305@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 07:01:42 $ docker top d1ae4e448b387ad48a2d8dad83f83686754d1d7655607e5135c2c49efc98f0bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:43 ---> job-cost.sh 07:01:43 lf-activate-venv: SKIPPING 07:01:43 INFO: No Stack... 07:01:44 INFO: Retrieving Pricing Info for: v3-standard-4 07:01:44 INFO: Archiving Costs [Pipeline] sh 07:01:45 + cat /w/workspace/device-sdk-go/305/archives/cost.csv 07:01:45 + cut -d, -f6 [Pipeline] lock 07:01:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-305-stack-cost] 07:01:45 Resource [jenkins-edgexfoundry-device-sdk-go-main-305-stack-cost] did not exist. Created. 07:01:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-305-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:01:46 /w/workspace/device-sdk-go/305@tmp/durable-228eeda0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:01:46 + echo total: 0.10999999940395355 [Pipeline] stash 07:01:46 Warning: overwriting stash ‘stack-cost’ 07:01:47 Stashed 1 file(s) [Pipeline] } 07:01:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-305-stack-cost] [Pipeline] // lock [Pipeline] } 07:01:47 $ docker stop --time=1 d1ae4e448b387ad48a2d8dad83f83686754d1d7655607e5135c2c49efc98f0bc 07:01:48 $ docker rm -f --volumes d1ae4e448b387ad48a2d8dad83f83686754d1d7655607e5135c2c49efc98f0bc [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 07:01:49 provisioning config files... 07:01:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5953594555219221004tmp [Pipeline] { [Pipeline] sh 07:01:49 + set +x 07:01:49 + curl -s https://codecov.io/bash 07:01:49 + bash -s -- 07:01:49 07:01:49 _____ _ 07:01:49 / ____| | | 07:01:49 | | ___ __| | ___ ___ _____ __ 07:01:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:01:49 | |___| (_) | (_| | __/ (_| (_) \ V / 07:01:49 \_____\___/ \__,_|\___|\___\___/ \_/ 07:01:49 Bash-1.0.6 07:01:49 07:01:49 07:01:49 ==> git version 2.25.1 found 07:01:49 ==> 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 07:01:49 Release-Date: 2020-01-08 07:01:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:01:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:01:49 ==> Jenkins CI detected. 07:01:49 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:01:49 project root: . 07:01:49 --> token set from env 07:01:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:01:49 ==> Running gcov in . (disable via -X gcov) 07:01:49 ==> Python coveragepy not found 07:01:49 ==> Searching for coverage reports in: 07:01:49 + . 07:01:49 -> Found 1 reports 07:01:49 ==> Detecting git/mercurial file structure 07:01:49 ==> Reading reports 07:01:49 + ./coverage.out bytes=125703 07:01:49 ==> Appending adjustments 07:01:49 https://docs.codecov.io/docs/fixing-reports 07:01:49 + Found adjustments 07:01:49 ==> Gzipping contents 07:01:49 20K /tmp/codecov.sFYkNe.gz 07:01:49 ==> Uploading reports 07:01:49 url: https://codecov.io 07:01:49 query: branch=main&commit=53be42878d98bd81d8f19abe7357388c82439207&build=305&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F305%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:01:49 -> Pinging Codecov 07:01:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=53be42878d98bd81d8f19abe7357388c82439207&build=305&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F305%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:01:49 -> Uploading to 07:01:49 https://storage.googleapis.com/codecov/v4/raw/2024-08-07/7E55EF52A471D76F132DFD9A03CDDE97/53be42878d98bd81d8f19abe7357388c82439207/b05742cd-cc0c-49d0-a028-ea8816d955c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T070149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb28bee9e09bdd08fd1c413d336991c9a4d03d8e0d2ce82d72a574ab698daa3d 07:01:50 % Total % Received % Xferd Average Speed Time Time Time Current 07:01:50 Dload Upload Total Spent Left Speed 07:01:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17121 0 0 100 17121 0 69881 --:--:-- --:--:-- --:--:-- 69881 07:01:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/53be42878d98bd81d8f19abe7357388c82439207 [Pipeline] } 07:01:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:01:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:01:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:01:50 07:01:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:01:51 latest: Pulling from edgex-devops/edgex-snyk-go 07:01:51 619be1103602: Already exists 07:01:51 f8ea3408117e: Pulling fs layer 07:01:51 91320369b822: Pulling fs layer 07:01:51 0406650e8295: Pulling fs layer 07:01:51 4f4fb700ef54: Pulling fs layer 07:01:51 96d80e3f36e1: Pulling fs layer 07:01:51 bcf3aedb951c: Pulling fs layer 07:01:51 96d80e3f36e1: Waiting 07:01:51 0406650e8295: Verifying Checksum 07:01:51 0406650e8295: Download complete 07:01:51 f8ea3408117e: Verifying Checksum 07:01:51 f8ea3408117e: Download complete 07:01:51 4f4fb700ef54: Verifying Checksum 07:01:51 4f4fb700ef54: Download complete 07:01:51 f8ea3408117e: Pull complete 07:01:51 96d80e3f36e1: Download complete 07:01:51 91320369b822: Verifying Checksum 07:01:51 91320369b822: Download complete 07:01:51 bcf3aedb951c: Verifying Checksum 07:01:51 bcf3aedb951c: Download complete 07:01:55 91320369b822: Pull complete 07:01:55 0406650e8295: Pull complete 07:01:55 4f4fb700ef54: Pull complete 07:01:55 96d80e3f36e1: Pull complete 07:01:58 bcf3aedb951c: Pull complete 07:01:58 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 07:01:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:01:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:58 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 07:01:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:02:02 $ docker top 0c34f35bd69b769a0c11b13ea4bfeebe67ff76c7b5caa26c5778e4836da235ed -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 07:02:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:02:03 + set -o pipefail 07:02:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:02:09 07:02:09 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 07:02:09 07:02:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/94adf9f3-5549-4af4-894e-e0164107ee41 07:02:09 07:02:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:02:09 07:02:09 07:02:09 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:02:09 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:02:10 $ docker stop --time=1 0c34f35bd69b769a0c11b13ea4bfeebe67ff76c7b5caa26c5778e4836da235ed 07:02:14 $ docker rm -f --volumes 0c34f35bd69b769a0c11b13ea4bfeebe67ff76c7b5caa26c5778e4836da235ed [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 07:02:15 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:02:15 provisioning config files... 07:02:15 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13511805878959876579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:02:15 --> edgex-publish-swagger.sh 07:02:15 === Publish openapi/v3 API === 07:02:15 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 07:02:15 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 07:02:15 % Total % Received % Xferd Average Speed Time Time Time Current 07:02:15 Dload Upload Total Spent Left Speed 07:02:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28528 100 156 100 28372 300 54561 --:--:-- --:--:-- --:--:-- 54756 100 28528 100 156 100 28372 300 54561 --:--:-- --:--:-- --:--:-- 54756 07:02:16 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 07:02:16 [Pipeline] } 07:02:16 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 07:02:16 + git log --format=format:%s -1 53be42878d98bd81d8f19abe7357388c82439207 [Pipeline] sh 07:02:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:02:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:02:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:17 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 07:02:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:02:17 $ docker top f1528bf83689cf4030330d9fcc4a59c45cf80c65ae52eb01c2574457e4623408 -eo pid,comm 07:02:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:02:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:02:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:02:17 [ssh-agent] Looking for ssh-agent implementation... 07:02:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:02:18 $ docker exec f1528bf83689cf4030330d9fcc4a59c45cf80c65ae52eb01c2574457e4623408 ssh-agent 07:02:18 SSH_AUTH_SOCK=/tmp/ssh-oMRtzhP8Rt34/agent.32 07:02:18 SSH_AGENT_PID=38 07:02:18 Running ssh-add (command line suppressed) 07:02:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4320146771913870325.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4320146771913870325.key) 07:02:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:02:18 + git semver tag 07:02:18 2024-08-07 07:02:18,761 [run_tag] DEBUG tag force:False 07:02:18 2024-08-07 07:02:18,762 [check_head_tag] DEBUG check head tag 07:02:18 2024-08-07 07:02:18,763 [execute] INFO git cat-file --batch-check 07:02:18 2024-08-07 07:02:18,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:02:18 2024-08-07 07:02:18,768 [execute] INFO git cat-file --batch 07:02:18 2024-08-07 07:02:18,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:02:18 2024-08-07 07:02:18,796 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:02:18 2024-08-07 07:02:18,797 [execute] INFO git tag -a v3.2.0-dev.30 -m v3.2.0-dev.30 07:02:18 2024-08-07 07:02:18,797 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.30', '-m', 'v3.2.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:02:18 2024-08-07 07:02:18,802 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:02:18 3.2.0-dev.30 [Pipeline] } 07:02:18 $ docker exec --env ******** --env ******** f1528bf83689cf4030330d9fcc4a59c45cf80c65ae52eb01c2574457e4623408 ssh-agent -k 07:02:19 unset SSH_AUTH_SOCK; 07:02:19 unset SSH_AGENT_PID; 07:02:19 echo Agent pid 38 killed; 07:02:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:02:19 + git semver [Pipeline] } 07:02:19 $ docker stop --time=1 f1528bf83689cf4030330d9fcc4a59c45cf80c65ae52eb01c2574457e4623408 07:02:20 $ docker rm -f --volumes f1528bf83689cf4030330d9fcc4a59c45cf80c65ae52eb01c2574457e4623408 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:02:21 07:02:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:02:21 0.23.1-centos7: Pulling from edgex-lftools 07:02:21 ab5ef0e58194: Pulling fs layer 07:02:21 9712f1f96733: Pulling fs layer 07:02:21 63f879dbbcfc: Pulling fs layer 07:02:21 0d9ebad4ef96: Pulling fs layer 07:02:21 e9a5061849ea: Pulling fs layer 07:02:21 0d9ebad4ef96: Waiting 07:02:21 d747dcd14b5f: Pulling fs layer 07:02:21 2de7ff778b66: Pulling fs layer 07:02:21 e9a5061849ea: Waiting 07:02:21 d747dcd14b5f: Waiting 07:02:21 9712f1f96733: Verifying Checksum 07:02:21 9712f1f96733: Download complete 07:02:22 63f879dbbcfc: Verifying Checksum 07:02:22 63f879dbbcfc: Download complete 07:02:22 0d9ebad4ef96: Verifying Checksum 07:02:22 0d9ebad4ef96: Download complete 07:02:22 d747dcd14b5f: Verifying Checksum 07:02:22 d747dcd14b5f: Download complete 07:02:22 e9a5061849ea: Verifying Checksum 07:02:22 e9a5061849ea: Download complete 07:02:22 ab5ef0e58194: Verifying Checksum 07:02:22 ab5ef0e58194: Download complete 07:02:22 2de7ff778b66: Verifying Checksum 07:02:22 2de7ff778b66: Download complete 07:02:25 ab5ef0e58194: Pull complete 07:02:25 9712f1f96733: Pull complete 07:02:25 63f879dbbcfc: Pull complete 07:02:30 0d9ebad4ef96: Pull complete 07:02:30 e9a5061849ea: Pull complete 07:02:30 d747dcd14b5f: Pull complete 07:02:30 2de7ff778b66: Pull complete 07:02:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:02:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:02:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:31 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 07:02: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:02:36 $ docker top 484ad2cd2db088369b1a22627b128b716a7c0d7728c1b37eba430b61c84bccd0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:02:36 provisioning config files... 07:02:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2361551227764681323tmp 07:02:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1044396225917718683tmp 07:02:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3754184471852167482tmp [Pipeline] { [Pipeline] echo 07:02:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:02:36 ---> sigul-configuration.sh 07:02:36 gpg: directory `/root/.gnupg' created 07:02:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:02:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:02:36 gpg: keyring `/root/.gnupg/secring.gpg' created 07:02:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:02:36 gpg: CAST5 encrypted data 07:02:36 gpg: encrypted with 1 passphrase 07:02:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:02:36 + mkdir /home/jenkins 07:02:36 + mkdir /home/jenkins/sigul [Pipeline] sh 07:02:37 + 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 07:02:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:02:37 ---> sigul-install.sh 07:02:37 Sigul already installed; skipping installation. [Pipeline] sh 07:02:37 + git tag --list 07:02:37 0.7.1 07:02:37 delhi-tag 07:02:37 v1.0.0 07:02:37 v1.1.0 07:02:37 v1.1.1 07:02:37 v1.1.2 07:02:37 v1.2.0 07:02:37 v1.2.1 07:02:37 v1.2.2 07:02:37 v1.2.3 07:02:37 v1.3.0 07:02:37 v1.4.0 07:02:37 v2.0.0 07:02:37 v2.1.0 07:02:37 v2.1.1 07:02:37 v2.2.0 07:02:37 v2.3.0 07:02:37 v2.3.1 07:02:37 v3.0 07:02:37 v3.0.0 07:02:37 v3.0.1-dev.1 07:02:37 v3.1 07:02:37 v3.1.0 07:02:37 v3.1.0-dev.1 07:02:37 v3.1.0-dev.10 07:02:37 v3.1.0-dev.11 07:02:37 v3.1.0-dev.12 07:02:37 v3.1.0-dev.13 07:02:37 v3.1.0-dev.14 07:02:37 v3.1.0-dev.15 07:02:37 v3.1.0-dev.16 07:02:37 v3.1.0-dev.17 07:02:37 v3.1.0-dev.18 07:02:37 v3.1.0-dev.19 07:02:37 v3.1.0-dev.2 07:02:37 v3.1.0-dev.20 07:02:37 v3.1.0-dev.21 07:02:37 v3.1.0-dev.22 07:02:37 v3.1.0-dev.23 07:02:37 v3.1.0-dev.24 07:02:37 v3.1.0-dev.25 07:02:37 v3.1.0-dev.26 07:02:37 v3.1.0-dev.27 07:02:37 v3.1.0-dev.28 07:02:37 v3.1.0-dev.29 07:02:37 v3.1.0-dev.3 07:02:37 v3.1.0-dev.30 07:02:37 v3.1.0-dev.31 07:02:37 v3.1.0-dev.32 07:02:37 v3.1.0-dev.33 07:02:37 v3.1.0-dev.34 07:02:37 v3.1.0-dev.35 07:02:37 v3.1.0-dev.36 07:02:37 v3.1.0-dev.37 07:02:37 v3.1.0-dev.38 07:02:37 v3.1.0-dev.39 07:02:37 v3.1.0-dev.4 07:02:37 v3.1.0-dev.40 07:02:37 v3.1.0-dev.41 07:02:37 v3.1.0-dev.5 07:02:37 v3.1.0-dev.6 07:02:37 v3.1.0-dev.7 07:02:37 v3.1.0-dev.8 07:02:37 v3.1.0-dev.9 07:02:37 v3.1.1 07:02:37 v3.1.1-dev.1 07:02:37 v3.2.0-dev.1 07:02:37 v3.2.0-dev.10 07:02:37 v3.2.0-dev.11 07:02:37 v3.2.0-dev.12 07:02:37 v3.2.0-dev.13 07:02:37 v3.2.0-dev.14 07:02:37 v3.2.0-dev.15 07:02:37 v3.2.0-dev.16 07:02:37 v3.2.0-dev.17 07:02:37 v3.2.0-dev.18 07:02:37 v3.2.0-dev.19 07:02:37 v3.2.0-dev.2 07:02:37 v3.2.0-dev.20 07:02:37 v3.2.0-dev.21 07:02:37 v3.2.0-dev.22 07:02:37 v3.2.0-dev.23 07:02:37 v3.2.0-dev.24 07:02:37 v3.2.0-dev.25 07:02:37 v3.2.0-dev.26 07:02:37 v3.2.0-dev.27 07:02:37 v3.2.0-dev.28 07:02:37 v3.2.0-dev.29 07:02:37 v3.2.0-dev.3 07:02:37 v3.2.0-dev.30 07:02:37 v3.2.0-dev.4 07:02:37 v3.2.0-dev.5 07:02:37 v3.2.0-dev.6 07:02:37 v3.2.0-dev.7 07:02:37 v3.2.0-dev.8 07:02:37 v3.2.0-dev.9 [Pipeline] sh 07:02:38 + lftools sign git-tag v3.2.0-dev.30 07:02:38 Signing Git tag with Sigul... 07:02:38 Signing v3.2.0-dev.30 [Pipeline] echo 07:02:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:02:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:02:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:02:39 $ docker stop --time=1 484ad2cd2db088369b1a22627b128b716a7c0d7728c1b37eba430b61c84bccd0 07:02:40 $ docker rm -f --volumes 484ad2cd2db088369b1a22627b128b716a7c0d7728c1b37eba430b61c84bccd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:02:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:02:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:02:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:41 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 07:02:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:02:41 $ docker top 3260d6441a0c936f9bbd76ea57791c6686ec69f3bd2f55f3e41bd62e4b22f273 -eo pid,comm 07:02:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:02:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:02:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:02:41 [ssh-agent] Looking for ssh-agent implementation... 07:02:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:02:41 $ docker exec 3260d6441a0c936f9bbd76ea57791c6686ec69f3bd2f55f3e41bd62e4b22f273 ssh-agent 07:02:42 SSH_AUTH_SOCK=/tmp/ssh-Xf7saAhgkej6/agent.33 07:02:42 SSH_AGENT_PID=39 07:02:42 Running ssh-add (command line suppressed) 07:02:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15281158225208797019.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15281158225208797019.key) 07:02:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:02:42 + git semver bump pre 07:02:42 2024-08-07 07:02:42,673 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:02:42 2024-08-07 07:02:42,673 [bump_version] DEBUG bumping version:3.2.0-dev.30 on axis:pre with prefix:dev 07:02:42 2024-08-07 07:02:42,673 [bump_version] DEBUG bumped version:3.2.0-dev.31 07:02:42 2024-08-07 07:02:42,673 [write_version] DEBUG write version:3.2.0-dev.31 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:02:42 2024-08-07 07:02:42,673 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:02:42 2024-08-07 07:02:42,673 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:02:42 2024-08-07 07:02:42,676 [execute] INFO git cat-file --batch-check 07:02:42 2024-08-07 07:02:42,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:02:42 2024-08-07 07:02:42,682 [execute] INFO git cat-file --batch 07:02:42 2024-08-07 07:02:42,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:02:42 2024-08-07 07:02:42,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:02:42 3.2.0-dev.31 [Pipeline] } 07:02:42 $ docker exec --env ******** --env ******** 3260d6441a0c936f9bbd76ea57791c6686ec69f3bd2f55f3e41bd62e4b22f273 ssh-agent -k 07:02:42 unset SSH_AUTH_SOCK; 07:02:42 unset SSH_AGENT_PID; 07:02:42 echo Agent pid 39 killed; 07:02:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:02:43 + git semver [Pipeline] } 07:02:43 $ docker stop --time=1 3260d6441a0c936f9bbd76ea57791c6686ec69f3bd2f55f3e41bd62e4b22f273 07:02:44 $ docker rm -f --volumes 3260d6441a0c936f9bbd76ea57791c6686ec69f3bd2f55f3e41bd62e4b22f273 [Pipeline] // withDockerContainer [Pipeline] sh 07:02:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:02:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:02:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:45 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 07:02:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:02:45 $ docker top c877b59348cf2a42ee7c76bc40607e9a02e45b1baa5d8b885fcacdfd32c557ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:02:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:02:45 [ssh-agent] Looking for ssh-agent implementation... 07:02:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:02:46 $ docker exec c877b59348cf2a42ee7c76bc40607e9a02e45b1baa5d8b885fcacdfd32c557ca ssh-agent 07:02:46 SSH_AUTH_SOCK=/tmp/ssh-OaRDzxdlGj4L/agent.32 07:02:46 SSH_AGENT_PID=39 07:02:46 Running ssh-add (command line suppressed) 07:02:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15282151566622983125.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15282151566622983125.key) 07:02:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:02:46 + git semver push 07:02:46 2024-08-07 07:02:46,733 [run_push] DEBUG push 07:02:46 2024-08-07 07:02:46,734 [execute] INFO git cat-file --batch-check 07:02:46 2024-08-07 07:02:46,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:02:46 2024-08-07 07:02:46,738 [execute] INFO git rev-list fd5029ca89eb7dbd8175cf6d8e6f0e378a2a99f6 -- 07:02:46 2024-08-07 07:02:46,738 [execute] DEBUG Popen(['git', 'rev-list', 'fd5029ca89eb7dbd8175cf6d8e6f0e378a2a99f6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:02:46 2024-08-07 07:02:46,750 [execute] INFO git fetch -v origin 07:02:46 2024-08-07 07:02:46,750 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:02:47 2024-08-07 07:02:47,263 [run_push] DEBUG no remote changes detected 07:02:47 2024-08-07 07:02:47,264 [execute] INFO git push origin semver 07:02:47 2024-08-07 07:02:47,264 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:02:48 2024-08-07 07:02:48,113 [run_push] DEBUG push all version tags 07:02:48 2024-08-07 07:02:48,114 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:02:48 2024-08-07 07:02:48,114 [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) 07:02:49 2024-08-07 07:02:48,919 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:02:49 3.2.0-dev.31 [Pipeline] } 07:02:49 $ docker exec --env ******** --env ******** c877b59348cf2a42ee7c76bc40607e9a02e45b1baa5d8b885fcacdfd32c557ca ssh-agent -k 07:02:49 unset SSH_AUTH_SOCK; 07:02:49 unset SSH_AGENT_PID; 07:02:49 echo Agent pid 39 killed; 07:02:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:02:49 + git semver [Pipeline] } 07:02:49 $ docker stop --time=1 c877b59348cf2a42ee7c76bc40607e9a02e45b1baa5d8b885fcacdfd32c557ca 07:02:51 $ docker rm -f --volumes c877b59348cf2a42ee7c76bc40607e9a02e45b1baa5d8b885fcacdfd32c557ca [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 07:02:52 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:02:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:02:52 total 16 07:02:52 drwxr-xr-x 3 root root 4096 Aug 7 06:47 . 07:02:52 drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 07:02 .. 07:02:52 drwxr-xr-x 2 root root 4096 Aug 7 06:47 cost 07:02:52 -rw-r--r-- 1 root root 85 Aug 7 06:47 cost.csv 07:02:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:02:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:02:52 total 16 07:02:52 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 06:47 . 07:02:52 drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 07:02 .. 07:02:52 drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 06:47 cost 07:02:52 -rw-r--r-- 1 jenkins jenkins 85 Aug 7 06:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:02:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:02:53 ---> package-listing.sh 07:02:53 ++ facter osfamily 07:02:53 ++ tr '[:upper:]' '[:lower:]' 07:02:53 + OS_FAMILY=debian 07:02:53 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:02:53 + START_PACKAGES=/tmp/packages_start.txt 07:02:53 + END_PACKAGES=/tmp/packages_end.txt 07:02:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:02:53 + PACKAGES=/tmp/packages_start.txt 07:02:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:02:53 + PACKAGES=/tmp/packages_end.txt 07:02:53 + case "${OS_FAMILY}" in 07:02:53 + dpkg -l 07:02:53 + grep '^ii' 07:02:53 + '[' -f /tmp/packages_start.txt ']' 07:02:53 + '[' -f /tmp/packages_end.txt ']' 07:02:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:02:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:02:53 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:02:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:02:53 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 07:02:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:02:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:54 prd-ubuntu20.04-docker-8c-8g-7272 does not seem to be running inside a container 07:02:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:02:54 $ docker top 88e6ed2fc93fb573cd77a3902b112425d7cc7ef3c405f6155a926137a88a9e65 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:02:55 + mkdir -p /var/log/sysstat [Pipeline] sh 07:02:55 + ls /var/log/sa-host 07:02:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:02:56 provisioning config files... 07:02:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9668176807659446121tmp [Pipeline] { [Pipeline] echo 07:02:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:02:56 ---> create-netrc.sh [Pipeline] } 07:02:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:02:56 ---> python-tools-install.sh [Pipeline] echo 07:02:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:02:56 ---> sudo-logs.sh 07:02:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:02:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:02:57 ---> job-cost.sh 07:02:57 lf-activate-venv: SKIPPING 07:02:57 DEBUG: total: 0.2199999988079071 07:02:57 INFO: Retrieving Stack Cost... 07:02:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:02:58 INFO: Archiving Costs [Pipeline] echo 07:02:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:02:59 ---> logs-deploy.sh 07:02:59 lf-activate-venv: SKIPPING 07:02:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/305 07:02:59 INFO: archiving workspace using pattern(s): 07:03:00 Archives upload complete. 07:03:00 INFO: archiving logs to Nexus