Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b 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-ssh11657781261587297795.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-ssh18090758313177013378.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-ssh5245176642620987381.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-ssh3912132513650064716.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-ssh5696035785664385623.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6737’ Running on prd-ubuntu20.04-docker-8c-8g-6740 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 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b (main) Commit message: "Merge pull request #1607 from cloudxxx8/issue-1606" > 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 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b # timeout=10 > git rev-list --no-walk 9af2c67acc1b0a717523512c26f369bc9793e2f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:28:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:28:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:28:34 ========================================================= 07:28:34 EdgeX Global Pipelines Version Info 07:28:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:28:35 ------------------- 07:28:35 stable info: 07:28:35 ------------------- 07:28:35 Commited By: Ginny Guan ginny@iotechsys.com 07:28:35 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:28:35 Message: update stable to v1.0.260 07:28:36 ------------------- 07:28:36 experimental info: 07:28:36 ------------------- 07:28:36 Commited By: Ginny Guan ginny@iotechsys.com 07:28:36 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:28:36 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b [Pipeline] echo 07:28:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c2a377 [Pipeline] echo 07:28:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:37 provisioning config files... 07:28:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18251607114545905991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:37 ---> ****-login.sh 07:28:37 nexus3.edgexfoundry.org:10001 07:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:37 Configure a credential helper to remove this warning. See 07:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:37 07:28:37 Login Succeeded 07:28:37 nexus3.edgexfoundry.org:10002 07:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:37 Configure a credential helper to remove this warning. See 07:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:37 07:28:37 Login Succeeded 07:28:37 nexus3.edgexfoundry.org:10003 07:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:37 Configure a credential helper to remove this warning. See 07:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:37 07:28:37 Login Succeeded 07:28:37 nexus3.edgexfoundry.org:10004 07:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:38 Configure a credential helper to remove this warning. See 07:28:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:38 07:28:38 Login Succeeded 07:28:38 ****.io 07:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:38 Configure a credential helper to remove this warning. See 07:28:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:38 07:28:38 Login Succeeded 07:28:38 ---> ****-login.sh ends [Pipeline] } 07:28:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:28:38 + git rev-list -1 --merges 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b~1..5c2a377d73b399f8f8c2d20a5426d9b5e769b74b [Pipeline] echo 07:28:38 -----------> git rev-list -1 --merges 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b~1..5c2a377d73b399f8f8c2d20a5426d9b5e769b74b 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b 07:28:38 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b [false] [Pipeline] sh 07:28:39 + git log --format=format:%s -1 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b [Pipeline] echo 07:28:39 ========================================================= 07:28:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:28:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:28:39 + git log --format=format:%s -1 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b [Pipeline] echo 07:28:39 [semverPrep] GIT_COMMIT: 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b, Commit Message: Merge pull request #1607 from cloudxxx8/issue-1606 [Pipeline] echo 07:28:39 [semverPrep] This is not a build commit. [Pipeline] sh 07:28:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:28:39 + grep -v github /etc/ssh/ssh_known_hosts 07:28:39 + [ -e /tmp/ssh_known_hosts ] 07:28:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:28:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:28:39 + sudo tee -a /etc/ssh/ssh_known_hosts 07:28:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:28:40 07:28:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:28:40 0.1.4: Pulling from edgex-devops/py-git-semver 07:28:40 b85a868b505f: Pulling fs layer 07:28:40 e2be974225ed: Pulling fs layer 07:28:40 339a4e72a1f5: Pulling fs layer 07:28:40 988bab9f4d93: Pulling fs layer 07:28:40 1469e6f7b9e6: Pulling fs layer 07:28:40 eaf3925da568: Pulling fs layer 07:28:40 bab4dde63d76: Pulling fs layer 07:28:40 bde34c3a00c8: Pulling fs layer 07:28:40 b352a97aabf1: Pulling fs layer 07:28:40 4872d77fe225: Pulling fs layer 07:28:40 5851b861e8e6: Pulling fs layer 07:28:40 1469e6f7b9e6: Waiting 07:28:40 5851b861e8e6: Waiting 07:28:40 4872d77fe225: Waiting 07:28:40 eaf3925da568: Waiting 07:28:40 988bab9f4d93: Waiting 07:28:40 bab4dde63d76: Waiting 07:28:40 b352a97aabf1: Waiting 07:28:40 bde34c3a00c8: Waiting 07:28:40 e2be974225ed: Download complete 07:28:40 988bab9f4d93: Verifying Checksum 07:28:40 988bab9f4d93: Download complete 07:28:40 1469e6f7b9e6: Verifying Checksum 07:28:40 1469e6f7b9e6: Download complete 07:28:40 eaf3925da568: Verifying Checksum 07:28:40 eaf3925da568: Download complete 07:28:40 339a4e72a1f5: Verifying Checksum 07:28:40 339a4e72a1f5: Download complete 07:28:40 bde34c3a00c8: Download complete 07:28:40 b352a97aabf1: Download complete 07:28:40 4872d77fe225: Verifying Checksum 07:28:40 4872d77fe225: Download complete 07:28:40 5851b861e8e6: Download complete 07:28:40 b85a868b505f: Verifying Checksum 07:28:40 b85a868b505f: Download complete 07:28:41 bab4dde63d76: Verifying Checksum 07:28:41 bab4dde63d76: Download complete 07:28:42 b85a868b505f: Pull complete 07:28:42 e2be974225ed: Pull complete 07:28:42 339a4e72a1f5: Pull complete 07:28:42 988bab9f4d93: Pull complete 07:28:42 1469e6f7b9e6: Pull complete 07:28:42 eaf3925da568: Pull complete 07:28:44 bab4dde63d76: Pull complete 07:28:44 bde34c3a00c8: Pull complete 07:28:44 b352a97aabf1: Pull complete 07:28:44 4872d77fe225: Pull complete 07:28:44 5851b861e8e6: Pull complete 07:28:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:28:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:28:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:44 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:28: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:28:48 $ docker top 1af6c52ee303f692d7310fcd8301224c84c8b57d0ccb79db297ab1e6123a31f5 -eo pid,comm 07:28:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:28:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:28:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:28:48 [ssh-agent] Looking for ssh-agent implementation... 07:28:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:28:48 $ docker exec 1af6c52ee303f692d7310fcd8301224c84c8b57d0ccb79db297ab1e6123a31f5 ssh-agent 07:28:48 SSH_AUTH_SOCK=/tmp/ssh-FGCbyg60tnqy/agent.33 07:28:48 SSH_AGENT_PID=39 07:28:48 Running ssh-add (command line suppressed) 07:28:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2442889557148380167.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2442889557148380167.key) 07:28:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:28:49 + git tag --points-at HEAD [Pipeline] } 07:28:49 $ docker exec --env ******** --env ******** 1af6c52ee303f692d7310fcd8301224c84c8b57d0ccb79db297ab1e6123a31f5 ssh-agent -k 07:28:49 unset SSH_AUTH_SOCK; 07:28:49 unset SSH_AGENT_PID; 07:28:49 echo Agent pid 39 killed; 07:28:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:28:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:28:49 [ssh-agent] Looking for ssh-agent implementation... 07:28:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:28:49 $ docker exec 1af6c52ee303f692d7310fcd8301224c84c8b57d0ccb79db297ab1e6123a31f5 ssh-agent 07:28:49 SSH_AUTH_SOCK=/tmp/ssh-SdADQJyLmqJY/agent.72 07:28:49 SSH_AGENT_PID=78 07:28:49 Running ssh-add (command line suppressed) 07:28:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14866296796994756844.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14866296796994756844.key) 07:28:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:28:50 + git semver init 07:28:50 2024-07-30 07:28:50,269 [run_init] DEBUG init version:0.0.0 force:False 07:28:50 2024-07-30 07:28:50,270 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:28:50 2024-07-30 07:28:50,271 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:28:50 2024-07-30 07:28:50,271 [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) 07:28:52 2024-07-30 07:28:52,437 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 07:28:52 2024-07-30 07:28:52,438 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 07:28:52 2024-07-30 07:28:52,438 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:28:52 2024-07-30 07:28:52,438 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:28:52 3.2.0-dev.29 [Pipeline] } 07:28:52 $ docker exec --env ******** --env ******** 1af6c52ee303f692d7310fcd8301224c84c8b57d0ccb79db297ab1e6123a31f5 ssh-agent -k 07:28:53 unset SSH_AUTH_SOCK; 07:28:53 unset SSH_AGENT_PID; 07:28:53 echo Agent pid 78 killed; 07:28:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:28:53 + git semver [Pipeline] } 07:28:53 $ docker stop --time=1 1af6c52ee303f692d7310fcd8301224c84c8b57d0ccb79db297ab1e6123a31f5 07:28:54 $ docker rm -f --volumes 1af6c52ee303f692d7310fcd8301224c84c8b57d0ccb79db297ab1e6123a31f5 [Pipeline] // withDockerContainer [Pipeline] sh 07:28:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:28:55 Stashed 1 file(s) [Pipeline] echo 07:28:55 [edgeXSemver]: initialized semver on version 3.2.0-dev.29 [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 07:28:55 provisioning config files... 07:28:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5362025378145320514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:55 ---> ****-login.sh 07:28:55 nexus3.edgexfoundry.org:10001 07:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:55 Configure a credential helper to remove this warning. See 07:28:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:55 07:28:55 Login Succeeded 07:28:55 nexus3.edgexfoundry.org:10002 07:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:55 Configure a credential helper to remove this warning. See 07:28:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:55 07:28:55 Login Succeeded 07:28:55 nexus3.edgexfoundry.org:10003 07:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:56 Configure a credential helper to remove this warning. See 07:28:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:56 07:28:56 Login Succeeded 07:28:56 nexus3.edgexfoundry.org:10004 07:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:56 Configure a credential helper to remove this warning. See 07:28:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:56 07:28:56 Login Succeeded 07:28:56 ****.io 07:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:56 Configure a credential helper to remove this warning. See 07:28:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:56 07:28:56 Login Succeeded 07:28:56 ---> ****-login.sh ends [Pipeline] } 07:28:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:28:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:28:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:28:56 ========================================================= 07:28:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:28:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:56 + 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 . 07:28:56 Sending build context to Docker daemon 25.14MB 07:28:56 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:28:56 Step 2/10 : FROM ${BASE} AS builder 07:28:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:28:57 619be1103602: Pulling fs layer 07:28:57 7862e08f4a3e: Pulling fs layer 07:28:57 5df492c9dc93: Pulling fs layer 07:28:57 7629e6793208: Pulling fs layer 07:28:57 4f4fb700ef54: Pulling fs layer 07:28:57 fb5054dd5b73: Pulling fs layer 07:28:57 eeca6798cff9: Pulling fs layer 07:28:57 aa269ceb94a6: Pulling fs layer 07:28:57 ada007ff1a6a: Pulling fs layer 07:28:57 eeca6798cff9: Waiting 07:28:57 7629e6793208: Waiting 07:28:57 4f4fb700ef54: Waiting 07:28:57 fb5054dd5b73: Waiting 07:28:57 aa269ceb94a6: Waiting 07:28:57 ada007ff1a6a: Waiting 07:28:57 7862e08f4a3e: Download complete 07:28:57 7629e6793208: Verifying Checksum 07:28:57 7629e6793208: Download complete 07:28:57 4f4fb700ef54: Verifying Checksum 07:28:57 4f4fb700ef54: Download complete 07:28:57 fb5054dd5b73: Download complete 07:28:57 619be1103602: Verifying Checksum 07:28:57 619be1103602: Download complete 07:28:57 eeca6798cff9: Verifying Checksum 07:28:57 eeca6798cff9: Download complete 07:28:57 619be1103602: Pull complete 07:28:57 ada007ff1a6a: Verifying Checksum 07:28:57 ada007ff1a6a: Download complete 07:28:57 7862e08f4a3e: Pull complete 07:28:57 5df492c9dc93: Verifying Checksum 07:28:57 5df492c9dc93: Download complete 07:28:58 aa269ceb94a6: Verifying Checksum 07:28:58 aa269ceb94a6: Download complete 07:29:00 5df492c9dc93: Pull complete 07:29:00 7629e6793208: Pull complete 07:29:00 4f4fb700ef54: Pull complete 07:29:00 fb5054dd5b73: Pull complete 07:29:00 eeca6798cff9: Pull complete 07:29:03 aa269ceb94a6: Pull complete 07:29:03 ada007ff1a6a: Pull complete 07:29:03 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:29:03 ---> f489d0715acc 07:29:03 Step 3/10 : ARG MAKE=make build 07:29:07 ---> Running in 92846fdc2e19 07:29:07 Removing intermediate container 92846fdc2e19 07:29:07 ---> 771c80dd7ca8 07:29:07 Step 4/10 : WORKDIR /device-sdk-go 07:29:07 ---> Running in 385df5020918 07:29:07 Removing intermediate container 385df5020918 07:29:07 ---> 75a7e21eb927 07:29:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:29:07 ---> Running in 1291543e45c3 07:29:07 Removing intermediate container 1291543e45c3 07:29:07 ---> a49ee7d3c002 07:29:07 Step 6/10 : RUN apk add --update --no-cache make git 07:29:07 ---> Running in a1d8f70164bc 07:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:29:08 OK: 264 MiB in 52 packages 07:29:08 Removing intermediate container a1d8f70164bc 07:29:08 ---> 8fda484122da 07:29:08 Step 7/10 : COPY go.mod vendor* ./ 07:29:09 ---> 0bd6424e315d 07:29:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:29:09 ---> Running in 5d241f639309 07:29:10 Still waiting to schedule task 07:29:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6738’ is offline 07:30:05 Removing intermediate container 5d241f639309 07:30:05 ---> c9b14e0c11c4 07:30:05 Step 9/10 : COPY . . 07:30:05 ---> a40e7eb78437 07:30:05 Step 10/10 : RUN ${MAKE} 07:30:05 ---> Running in 27c121467985 07:30:05 noop 07:30:05 Removing intermediate container 27c121467985 07:30:05 ---> 6eb23c804692 07:30:05 Successfully built 6eb23c804692 07:30:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:05 + docker inspect -f . ci-base-image-x86_64 07:30:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:05 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:30:05 $ 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 07:30:06 $ docker top 35f83e8c34b0d5ab1bcdc1ee484877e0aaf47edd2f4a7fbce39624bfca655bb9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:06 + go version 07:30:06 go version go1.21.9 linux/amd64 [Pipeline] } 07:30:06 $ docker stop --time=1 35f83e8c34b0d5ab1bcdc1ee484877e0aaf47edd2f4a7fbce39624bfca655bb9 07:30:07 $ docker rm -f --volumes 35f83e8c34b0d5ab1bcdc1ee484877e0aaf47edd2f4a7fbce39624bfca655bb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:08 + docker inspect -f . ci-base-image-x86_64 07:30:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:08 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:30:08 $ 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 07:30:08 $ docker top 5bb86bee81023640e4b62338123f8cf36496c2f52b9ec12dfc22fdd8f4ebfb5d -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 07:30:09 + make test 07:30:09 go test -race -coverprofile=coverage.out ./... 07:30:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:30:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.182s coverage: 27.0% of statements 07:30:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.182s coverage: 79.4% of statements 07:30:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.182s coverage: 86.0% of statements 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:30:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 52.2% of statements 07:30:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.039s coverage: 14.4% of statements 07:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.025s coverage: 44.6% of statements 07:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.075s coverage: 68.5% of statements 07:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.091s coverage: 89.2% of statements 07:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.4% of statements 07:31:17 GO111MODULE=on go vet ./... 07:31:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:31:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:31:19 ./bin/test-attribution-txt.sh [Pipeline] echo 07:31:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:31:19 $ docker stop --time=1 5bb86bee81023640e4b62338123f8cf36496c2f52b9ec12dfc22fdd8f4ebfb5d 07:31:23 $ docker rm -f --volumes 5bb86bee81023640e4b62338123f8cf36496c2f52b9ec12dfc22fdd8f4ebfb5d [Pipeline] // withDockerContainer [Pipeline] sh 07:31:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:31:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:31:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:31:25 + ls -al . 07:31:25 total 380 07:31:25 drwxrwxr-x 11 jenkins jenkins 4096 Jul 30 07:30 . 07:31:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 07:28 .. 07:31:25 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 07:28 .dockerignore 07:31:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 07:30 .git 07:31:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 07:28 .github 07:31:25 -rw-rw-r-- 1 jenkins jenkins 137 Jul 30 07:28 .gitignore 07:31:25 -rw-rw-r-- 1 jenkins jenkins 42 Jul 30 07:28 .golangci.yml 07:31:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 07:28 .semver 07:31:25 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 30 07:28 CHANGELOG.md 07:31:25 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 07:28 GOVERNANCE.md 07:31:25 -rw-rw-r-- 1 jenkins jenkins 885 Jul 30 07:28 Jenkinsfile 07:31:25 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 30 07:28 LICENSE 07:31:25 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 30 07:28 Makefile 07:31:25 -rw-rw-r-- 1 jenkins jenkins 619 Jul 30 07:28 OWNERS.md 07:31:25 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 30 07:28 README.md 07:31:25 -rw-rw-r-- 1 jenkins jenkins 12 Jul 30 07:28 VERSION 07:31:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 07:28 bin 07:31:25 -rw-r--r-- 1 jenkins jenkins 125703 Jul 30 07:30 coverage.out 07:31:25 drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 07:28 example 07:31:25 -rw-rw-r-- 1 jenkins jenkins 6996 Jul 30 07:28 go.mod 07:31:25 -rw-rw-r-- 1 jenkins jenkins 101460 Jul 30 07:28 go.sum 07:31:25 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 07:28 internal 07:31:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 07:28 openapi 07:31:25 drwxrwxr-x 6 jenkins jenkins 4096 Jul 30 07:28 pkg 07:31:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 07:28 snap 07:31:25 -rw-rw-r-- 1 jenkins jenkins 222 Jul 30 07:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:25 + 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=5c2a377d73b399f8f8c2d20a5426d9b5e769b74b --label arch=amd64 --label version=3.2.0-dev.29 . 07:31:25 Sending build context to Docker daemon 25.27MB 07:31:25 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 07:31:25 Step 2/24 : FROM ${BASE} AS builder 07:31:25 ---> 6eb23c804692 07:31:25 Step 3/24 : ARG MAKE=make build 07:31:26 ---> Running in 0248f0682828 07:31:26 Removing intermediate container 0248f0682828 07:31:26 ---> 5aea9341451b 07:31:26 Step 4/24 : WORKDIR /device-sdk-go 07:31:26 ---> Running in 10042cbf58a8 07:31:26 Removing intermediate container 10042cbf58a8 07:31:26 ---> 88a106355de3 07:31:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:31:26 ---> Running in 3674147d299e 07:31:26 Removing intermediate container 3674147d299e 07:31:26 ---> 492612c8e354 07:31:26 Step 6/24 : RUN apk add --update --no-cache make git 07:31:26 ---> Running in 1bc4569c4c9e 07:31:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:31:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:31:27 OK: 264 MiB in 52 packages 07:31:27 Removing intermediate container 1bc4569c4c9e 07:31:27 ---> c2c062245dea 07:31:27 Step 7/24 : COPY go.mod vendor* ./ 07:31:27 ---> 9be7f377c5cf 07:31:27 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:31:27 ---> Running in fe24e645e09c 07:31:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6743 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 07:31:27 Running in /w/workspace/device-sdk-go/304 [Pipeline] { [Pipeline] checkout 07:31:27 The recommended git tool is: git 07:31:28 Removing intermediate container fe24e645e09c 07:31:28 ---> 5ae33bbf9d2d 07:31:28 Step 9/24 : COPY . . 07:31:29 ---> adbe63596f74 07:31:29 Step 10/24 : RUN ${MAKE} 07:31:29 ---> Running in c810f0a12a90 07:31:29 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.29" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:31:32 using credential edgex-jenkins-ssh 07:31:32 Cloning the remote Git repository 07:31:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:31:33 > git init /w/workspace/device-sdk-go/304 # timeout=10 07:31:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:31:33 > git --version # timeout=10 07:31:33 > git --version # 'git version 2.25.1' 07:31:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:31:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:31:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:31:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:31:37 Avoid second fetch 07:31:37 Checking out Revision 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b (main) 07:31:38 Commit message: "Merge pull request #1607 from cloudxxx8/issue-1606" 07:31:37 > git config core.sparsecheckout # timeout=10 07:31:37 > git checkout -f 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:31:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:31:42 % Total % Received % Xferd Average Speed Time Time Time Current 07:31:42 Dload Upload Total Spent Left Speed 07:31:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 75017 0 --:--:-- --:--:-- --:--:-- 75458 [Pipeline] sh 07:31:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:31:43 + sudo tee /etc/docker/daemon.new 07:31:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:31:43 { 07:31:43 "registry-mirrors": [ 07:31:43 "https://nexus3.edgexfoundry.org:10001" 07:31:43 ], 07:31:43 "bip": "10.250.0.254/24", 07:31:43 "hosts": [ 07:31:43 "tcp://0.0.0.0:5555", 07:31:43 "unix:///var/run/docker.sock" 07:31:43 ], 07:31:43 "mtu": 1458, 07:31:43 "selinux-enabled": true, 07:31:43 "seccomp-profile": "/etc/docker/seccomp.json" 07:31:43 } [Pipeline] sh 07:31:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:31:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:32:02 provisioning config files... 07:32:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/304@tmp/config301387055214309799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:02 ---> ****-login.sh 07:32:02 nexus3.edgexfoundry.org:10001 07:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:03 Configure a credential helper to remove this warning. See 07:32:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:03 07:32:03 Login Succeeded 07:32:03 nexus3.edgexfoundry.org:10002 07:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:04 Configure a credential helper to remove this warning. See 07:32:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:04 07:32:04 Login Succeeded 07:32:04 nexus3.edgexfoundry.org:10003 07:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:04 Configure a credential helper to remove this warning. See 07:32:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:04 07:32:04 Login Succeeded 07:32:04 nexus3.edgexfoundry.org:10004 07:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:04 Configure a credential helper to remove this warning. See 07:32:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:04 07:32:04 Login Succeeded 07:32:04 ****.io 07:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:05 Configure a credential helper to remove this warning. See 07:32:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:05 07:32:05 Login Succeeded 07:32:05 ---> ****-login.sh ends [Pipeline] } 07:32:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:32:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:32:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:32:05 ========================================================= 07:32:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:32:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:05 + 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 . 07:32:06 Sending build context to Docker daemon 13.01MB 07:32:06 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:32:06 Step 2/10 : FROM ${BASE} AS builder 07:32:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:32:06 c6b39de5b339: Pulling fs layer 07:32:06 a69c41024577: Pulling fs layer 07:32:06 d6de4b400683: Pulling fs layer 07:32:06 35cb2a7552d0: Pulling fs layer 07:32:06 4f4fb700ef54: Pulling fs layer 07:32:06 464afbd9ba4c: Pulling fs layer 07:32:06 00f215d4a9da: Pulling fs layer 07:32:06 d496ad576159: Pulling fs layer 07:32:06 4f4fb700ef54: Waiting 07:32:06 464afbd9ba4c: Waiting 07:32:06 00f215d4a9da: Waiting 07:32:06 d496ad576159: Waiting 07:32:06 35cb2a7552d0: Waiting 07:32:06 a69c41024577: Download complete 07:32:06 35cb2a7552d0: Verifying Checksum 07:32:06 35cb2a7552d0: Download complete 07:32:06 4f4fb700ef54: Verifying Checksum 07:32:06 4f4fb700ef54: Download complete 07:32:06 464afbd9ba4c: Verifying Checksum 07:32:06 464afbd9ba4c: Download complete 07:32:06 c6b39de5b339: Verifying Checksum 07:32:06 c6b39de5b339: Download complete 07:32:06 d496ad576159: Verifying Checksum 07:32:06 d496ad576159: Download complete 07:32:07 c6b39de5b339: Pull complete 07:32:08 Removing intermediate container c810f0a12a90 07:32:08 ---> 202bfbbe6f48 07:32:08 Step 11/24 : FROM alpine:3.18 07:32:08 3.18: Pulling from library/alpine 07:32:08 930bdd4d222e: Pulling fs layer 07:32:08 930bdd4d222e: Verifying Checksum 07:32:08 930bdd4d222e: Download complete 07:32:08 930bdd4d222e: Pull complete 07:32:08 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 07:32:08 Status: Downloaded newer image for alpine:3.18 07:32:08 ---> 18f865063206 07:32:08 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:32:08 ---> Running in 93011b912e10 07:32:08 Removing intermediate container 93011b912e10 07:32:08 ---> 52ade4b6b241 07:32:08 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:32:08 ---> Running in fc9b78fac44b 07:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:32:08 (1/1) Installing dumb-init (1.2.5-r2) 07:32:08 Executing busybox-1.36.1-r7.trigger 07:32:08 OK: 7 MiB in 16 packages 07:32:08 Removing intermediate container fc9b78fac44b 07:32:08 ---> 692d7bdad607 07:32:08 Step 14/24 : RUN apk --no-cache upgrade 07:32:08 ---> Running in 08de81540ba7 07:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:32:08 OK: 7 MiB in 16 packages 07:32:08 Removing intermediate container 08de81540ba7 07:32:08 ---> 59e9e7ef50a4 07:32:08 Step 15/24 : WORKDIR / 07:32:08 ---> Running in c55b71b90edc 07:32:08 Removing intermediate container c55b71b90edc 07:32:08 ---> 3947c46ad952 07:32:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:32:08 ---> 66521bf90a77 07:32:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:32:08 a69c41024577: Pull complete 07:32:08 d6de4b400683: Download complete 07:32:09 00f215d4a9da: Verifying Checksum 07:32:09 00f215d4a9da: Download complete 07:32:09 ---> df8b1aa304ba 07:32:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:32:09 ---> 454e52350937 07:32:09 Step 19/24 : EXPOSE 59999 07:32:09 ---> Running in 3bbaebee0651 07:32:09 Removing intermediate container 3bbaebee0651 07:32:09 ---> 50fef53f6885 07:32:09 Step 20/24 : ENTRYPOINT ["/device-simple"] 07:32:09 ---> Running in e8d258fe14e7 07:32:09 Removing intermediate container e8d258fe14e7 07:32:09 ---> 418b6039f7b5 07:32:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:32:09 ---> Running in e3a58dbd597c 07:32:09 Removing intermediate container e3a58dbd597c 07:32:09 ---> 7d19ec089d73 07:32:09 Step 22/24 : LABEL arch=amd64 07:32:09 ---> Running in 9e378cbb11e4 07:32:09 Removing intermediate container 9e378cbb11e4 07:32:09 ---> 650acf90e68d 07:32:09 Step 23/24 : LABEL git_sha=5c2a377d73b399f8f8c2d20a5426d9b5e769b74b 07:32:09 ---> Running in 65c78b5f491b 07:32:09 Removing intermediate container 65c78b5f491b 07:32:09 ---> de4dabe4a761 07:32:09 Step 24/24 : LABEL version=3.2.0-dev.29 07:32:09 ---> Running in 3e5a4b25d637 07:32:09 Removing intermediate container 3e5a4b25d637 07:32:09 ---> d75024e57ac7 07:32:09 [Warning] One or more build-args [ARCH] were not consumed 07:32:10 Successfully built d75024e57ac7 07:32:10 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 07:32:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:32:10 07:32:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:32:10 latest: Pulling from edgex-lftools-log-publisher 07:32:10 5eb5b503b376: Pulling fs layer 07:32:10 5c69ac0246d0: Pulling fs layer 07:32:10 ec43610c2a17: Pulling fs layer 07:32:10 3a2ae6a8a46f: Pulling fs layer 07:32:10 33b1e0a273af: Pulling fs layer 07:32:10 5d3b04190fa2: Pulling fs layer 07:32:10 2f39f015ded8: Pulling fs layer 07:32:10 33b1e0a273af: Waiting 07:32:10 5d3b04190fa2: Waiting 07:32:10 3a2ae6a8a46f: Waiting 07:32:10 2f39f015ded8: Waiting 07:32:10 5c69ac0246d0: Verifying Checksum 07:32:10 5c69ac0246d0: Download complete 07:32:10 3a2ae6a8a46f: Verifying Checksum 07:32:10 3a2ae6a8a46f: Download complete 07:32:10 33b1e0a273af: Verifying Checksum 07:32:10 33b1e0a273af: Download complete 07:32:10 5d3b04190fa2: Verifying Checksum 07:32:10 5d3b04190fa2: Download complete 07:32:10 ec43610c2a17: Verifying Checksum 07:32:10 ec43610c2a17: Download complete 07:32:11 5eb5b503b376: Verifying Checksum 07:32:11 5eb5b503b376: Download complete 07:32:11 2f39f015ded8: Verifying Checksum 07:32:11 2f39f015ded8: Download complete 07:32:12 5eb5b503b376: Pull complete 07:32:12 5c69ac0246d0: Pull complete 07:32:12 ec43610c2a17: Pull complete 07:32:12 3a2ae6a8a46f: Pull complete 07:32:12 33b1e0a273af: Pull complete 07:32:13 5d3b04190fa2: Pull complete 07:32:17 2f39f015ded8: Pull complete 07:32:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:32:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:32:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:17 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:32:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 07:32:20 $ docker top 8090aeee4d1b7b3a9e891b8f0d060b43f8388973cb03be2e9e15518ffc7ad95e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:21 ---> job-cost.sh 07:32:21 lf-activate-venv: SKIPPING 07:32:21 INFO: No Stack... 07:32:21 INFO: Retrieving Pricing Info for: v3-standard-8 07:32:21 d6de4b400683: Pull complete 07:32:21 35cb2a7552d0: Pull complete 07:32:21 4f4fb700ef54: Pull complete 07:32:21 464afbd9ba4c: Pull complete 07:32:22 INFO: Archiving Costs [Pipeline] sh 07:32:22 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 07:32:22 + cut -d, -f6 [Pipeline] lock 07:32:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-304-stack-cost] 07:32:22 Resource [jenkins-edgexfoundry-device-sdk-go-main-304-stack-cost] did not exist. Created. 07:32:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-304-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:32:22 + echo total: 0.2199999988079071 [Pipeline] stash 07:32:22 Stashed 1 file(s) [Pipeline] } 07:32:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-304-stack-cost] [Pipeline] // lock [Pipeline] } 07:32:22 $ docker stop --time=1 8090aeee4d1b7b3a9e891b8f0d060b43f8388973cb03be2e9e15518ffc7ad95e 07:32:24 $ docker rm -f --volumes 8090aeee4d1b7b3a9e891b8f0d060b43f8388973cb03be2e9e15518ffc7ad95e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:32:29 00f215d4a9da: Pull complete 07:32:31 d496ad576159: Pull complete 07:32:31 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:32:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:32:31 ---> f246e2811388 07:32:31 Step 3/10 : ARG MAKE=make build 07:32:33 ---> Running in 9280cd50d3ea 07:32:33 Removing intermediate container 9280cd50d3ea 07:32:33 ---> c84cfaa423bc 07:32:33 Step 4/10 : WORKDIR /device-sdk-go 07:32:33 ---> Running in 0ff4211e9898 07:32:34 Removing intermediate container 0ff4211e9898 07:32:34 ---> 0faf173cefc8 07:32:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:32:34 ---> Running in fc48e9b9ba63 07:32:34 Removing intermediate container fc48e9b9ba63 07:32:34 ---> 6782af544b4d 07:32:34 Step 6/10 : RUN apk add --update --no-cache make git 07:32:34 ---> Running in d5bf4222ca15 07:32:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:32:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:32:37 OK: 266 MiB in 52 packages 07:32:38 Removing intermediate container d5bf4222ca15 07:32:38 ---> 7c45064d38b7 07:32:38 Step 7/10 : COPY go.mod vendor* ./ 07:32:38 ---> a71272e905d0 07:32:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:32:38 ---> Running in 41dd92b084a8 07:34:30 Removing intermediate container 41dd92b084a8 07:34:30 ---> d653174f5364 07:34:30 Step 9/10 : COPY . . 07:34:30 ---> 43ca1e3961e9 07:34:30 Step 10/10 : RUN ${MAKE} 07:34:30 ---> Running in ef7a3322904e 07:34:30 noop 07:34:30 Removing intermediate container ef7a3322904e 07:34:30 ---> 8f7b4287d9c8 07:34:30 Successfully built 8f7b4287d9c8 07:34:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:30 + docker inspect -f . ci-base-image-arm64 07:34:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:31 prd-ubuntu20.04-docker-arm64-4c-16g-6743 does not seem to be running inside a container 07:34:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/304 -v /w/workspace/device-sdk-go/304:/w/workspace/device-sdk-go/304:rw,z -v /w/workspace/device-sdk-go/304@tmp:/w/workspace/device-sdk-go/304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:34:32 $ docker top 0bd80e2f79eba6895f38f218866c2c0fd597d7bdbd8b06ced4381451b8c5571d -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:33 + go version 07:34:33 go version go1.21.9 linux/arm64 [Pipeline] } 07:34:33 $ docker stop --time=1 0bd80e2f79eba6895f38f218866c2c0fd597d7bdbd8b06ced4381451b8c5571d 07:34:34 $ docker rm -f --volumes 0bd80e2f79eba6895f38f218866c2c0fd597d7bdbd8b06ced4381451b8c5571d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:35 + docker inspect -f . ci-base-image-arm64 07:34:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:35 prd-ubuntu20.04-docker-arm64-4c-16g-6743 does not seem to be running inside a container 07:34:35 $ 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/304 -v /w/workspace/device-sdk-go/304:/w/workspace/device-sdk-go/304:rw,z -v /w/workspace/device-sdk-go/304@tmp:/w/workspace/device-sdk-go/304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:34:36 $ docker top 19a0251818b664c9d86c5e047f1a9989a34d6765f2f0188fd5f390cc7624de93 -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:37 + git config --global --add safe.directory /w/workspace/device-sdk-go/304 [Pipeline] fileExists [Pipeline] sh 07:34:37 + make test 07:34:37 go test -race -coverprofile=coverage.out ./... 07:35:16 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:38:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:38:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:38:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:38:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:38:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:39:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.110s coverage: 27.0% of statements 07:39:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.158s coverage: 79.4% of statements 07:39:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:39:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:39:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.281s coverage: 86.0% of statements 07:39:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:39:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.479s coverage: 52.2% of statements 07:39:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.139s coverage: 14.4% of statements 07:39:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.553s coverage: 44.6% of statements 07:39:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:39:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:39:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.297s coverage: 68.5% of statements 07:39:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.435s coverage: 89.2% of statements 07:39:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:39:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.236s coverage: 5.4% of statements 07:39:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:39:36 GO111MODULE=on go vet ./... 07:43:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:43:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:43:13 ./bin/test-attribution-txt.sh [Pipeline] echo 07:43:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:43:13 $ docker stop --time=1 19a0251818b664c9d86c5e047f1a9989a34d6765f2f0188fd5f390cc7624de93 07:43:15 $ docker rm -f --volumes 19a0251818b664c9d86c5e047f1a9989a34d6765f2f0188fd5f390cc7624de93 [Pipeline] // withDockerContainer [Pipeline] sh 07:43:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:43:17 Warning: overwriting stash ‘coverage-report’ 07:43:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:43:19 + ls -al . 07:43:19 total 376 07:43:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 07:34 . 07:43:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 07:31 .. 07:43:19 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 07:31 .dockerignore 07:43:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 07:31 .git 07:43:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 07:31 .github 07:43:19 -rw-rw-r-- 1 jenkins jenkins 137 Jul 30 07:31 .gitignore 07:43:19 -rw-rw-r-- 1 jenkins jenkins 42 Jul 30 07:31 .golangci.yml 07:43:19 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 30 07:31 CHANGELOG.md 07:43:19 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 07:31 GOVERNANCE.md 07:43:19 -rw-rw-r-- 1 jenkins jenkins 885 Jul 30 07:31 Jenkinsfile 07:43:19 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 30 07:31 LICENSE 07:43:19 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 30 07:31 Makefile 07:43:19 -rw-rw-r-- 1 jenkins jenkins 619 Jul 30 07:31 OWNERS.md 07:43:19 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 30 07:31 README.md 07:43:19 -rw-rw-r-- 1 jenkins jenkins 12 Jul 30 07:28 VERSION 07:43:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 07:31 bin 07:43:19 -rw-r--r-- 1 jenkins jenkins 125703 Jul 30 07:39 coverage.out 07:43:19 drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 07:31 example 07:43:19 -rw-rw-r-- 1 jenkins jenkins 6996 Jul 30 07:31 go.mod 07:43:19 -rw-rw-r-- 1 jenkins jenkins 101460 Jul 30 07:31 go.sum 07:43:19 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 07:31 internal 07:43:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 07:31 openapi 07:43:19 drwxrwxr-x 6 jenkins jenkins 4096 Jul 30 07:31 pkg 07:43:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 07:31 snap 07:43:19 -rw-rw-r-- 1 jenkins jenkins 222 Jul 30 07:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:19 + 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=5c2a377d73b399f8f8c2d20a5426d9b5e769b74b --label arch=arm64 --label version=3.2.0-dev.29 . 07:43:20 Sending build context to Docker daemon 13.13MB 07:43:20 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 07:43:20 Step 2/24 : FROM ${BASE} AS builder 07:43:20 ---> 8f7b4287d9c8 07:43:20 Step 3/24 : ARG MAKE=make build 07:43:20 ---> Running in e0d612741fd3 07:43:20 Removing intermediate container e0d612741fd3 07:43:20 ---> 6136f4de6382 07:43:20 Step 4/24 : WORKDIR /device-sdk-go 07:43:20 ---> Running in 49c3e890e877 07:43:20 Removing intermediate container 49c3e890e877 07:43:20 ---> bdd41f5d2df3 07:43:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:43:20 ---> Running in 97a42e9d786d 07:43:21 Removing intermediate container 97a42e9d786d 07:43:21 ---> 012fb4db5288 07:43:21 Step 6/24 : RUN apk add --update --no-cache make git 07:43:21 ---> Running in 44097d0540af 07:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:43:23 OK: 266 MiB in 52 packages 07:43:24 Removing intermediate container 44097d0540af 07:43:24 ---> 33d715e662e7 07:43:24 Step 7/24 : COPY go.mod vendor* ./ 07:43:24 ---> 8cd5f7d71f42 07:43:24 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:25 ---> Running in 0c599cf8d3a5 07:43:27 Removing intermediate container 0c599cf8d3a5 07:43:27 ---> 9121f56dd984 07:43:27 Step 9/24 : COPY . . 07:43:28 ---> e3c397b0763c 07:43:28 Step 10/24 : RUN ${MAKE} 07:43:28 ---> Running in 510e061a81f6 07:43:29 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.29" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:46:51 Removing intermediate container 510e061a81f6 07:46:51 ---> 11af2a3e84cb 07:46:51 Step 11/24 : FROM alpine:3.18 07:46:51 3.18: Pulling from library/alpine 07:46:51 4983c3fe2029: Pulling fs layer 07:46:51 4983c3fe2029: Verifying Checksum 07:46:51 4983c3fe2029: Download complete 07:46:51 4983c3fe2029: Pull complete 07:46:51 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 07:46:51 Status: Downloaded newer image for alpine:3.18 07:46:51 ---> a0237000ae83 07:46:51 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:46:51 ---> Running in c29f3376b6f1 07:46:51 Removing intermediate container c29f3376b6f1 07:46:51 ---> 6a0dbe7e188f 07:46:51 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:46:51 ---> Running in fd41dcd09854 07:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:46:51 (1/1) Installing dumb-init (1.2.5-r2) 07:46:51 Executing busybox-1.36.1-r7.trigger 07:46:51 OK: 8 MiB in 16 packages 07:46:52 Removing intermediate container fd41dcd09854 07:46:52 ---> d6366ee24369 07:46:52 Step 14/24 : RUN apk --no-cache upgrade 07:46:52 ---> Running in 305c33d50c6a 07:46:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:46:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:46:54 OK: 8 MiB in 16 packages 07:46:55 Removing intermediate container 305c33d50c6a 07:46:55 ---> c287b629f80c 07:46:55 Step 15/24 : WORKDIR / 07:46:55 ---> Running in 3a4dd8fb3d45 07:46:55 Removing intermediate container 3a4dd8fb3d45 07:46:55 ---> 7cae464f8ad4 07:46:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:46:56 ---> 5f82d1c456d8 07:46:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:46:58 ---> cce29939021c 07:46:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:46:59 ---> 383d2f93f340 07:46:59 Step 19/24 : EXPOSE 59999 07:46:59 ---> Running in f4ee18917fc6 07:46:59 Removing intermediate container f4ee18917fc6 07:46:59 ---> f2cde4df86e6 07:46:59 Step 20/24 : ENTRYPOINT ["/device-simple"] 07:46:59 ---> Running in 5ccd3eb467b3 07:46:59 Removing intermediate container 5ccd3eb467b3 07:46:59 ---> 78ef1db03834 07:46:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:46:59 ---> Running in 95f73cd5b415 07:47:00 Removing intermediate container 95f73cd5b415 07:47:00 ---> 08d4e2818ad5 07:47:00 Step 22/24 : LABEL arch=arm64 07:47:00 ---> Running in 646583f332bc 07:47:00 Removing intermediate container 646583f332bc 07:47:00 ---> 3f05e0763b29 07:47:00 Step 23/24 : LABEL git_sha=5c2a377d73b399f8f8c2d20a5426d9b5e769b74b 07:47:00 ---> Running in 9512efbdfa7c 07:47:00 Removing intermediate container 9512efbdfa7c 07:47:00 ---> b75e37d96f43 07:47:00 Step 24/24 : LABEL version=3.2.0-dev.29 07:47:00 ---> Running in 28ae099d6f97 07:47:01 Removing intermediate container 28ae099d6f97 07:47:01 ---> 9f06a52d4be4 07:47:01 [Warning] One or more build-args [ARCH] were not consumed 07:47:01 Successfully built 9f06a52d4be4 07:47:01 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:47:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:01 07:47:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:02 arm64: Pulling from edgex-lftools-log-publisher 07:47:02 8998bd30e6a1: Pulling fs layer 07:47:02 04944245beec: Pulling fs layer 07:47:02 699f458cf7ca: Pulling fs layer 07:47:02 765212b225bb: Pulling fs layer 07:47:02 f23df028b6ca: Pulling fs layer 07:47:02 d65c8cfc05b1: Pulling fs layer 07:47:02 2437ff75d9bd: Pulling fs layer 07:47:02 765212b225bb: Waiting 07:47:02 f23df028b6ca: Waiting 07:47:02 d65c8cfc05b1: Waiting 07:47:02 2437ff75d9bd: Waiting 07:47:02 04944245beec: Verifying Checksum 07:47:02 04944245beec: Download complete 07:47:02 765212b225bb: Verifying Checksum 07:47:02 765212b225bb: Download complete 07:47:02 f23df028b6ca: Verifying Checksum 07:47:02 f23df028b6ca: Download complete 07:47:02 d65c8cfc05b1: Verifying Checksum 07:47:02 d65c8cfc05b1: Download complete 07:47:02 699f458cf7ca: Verifying Checksum 07:47:02 699f458cf7ca: Download complete 07:47:02 8998bd30e6a1: Verifying Checksum 07:47:02 8998bd30e6a1: Download complete 07:47:05 2437ff75d9bd: Verifying Checksum 07:47:05 2437ff75d9bd: Download complete 07:47:07 8998bd30e6a1: Pull complete 07:47:07 04944245beec: Pull complete 07:47:09 699f458cf7ca: Pull complete 07:47:09 765212b225bb: Pull complete 07:47:10 f23df028b6ca: Pull complete 07:47:10 d65c8cfc05b1: Pull complete 07:47:29 2437ff75d9bd: Pull complete 07:47:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-6743 does not seem to be running inside a container 07:47:29 $ 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/304 -v /w/workspace/device-sdk-go/304:/w/workspace/device-sdk-go/304:rw,z -v /w/workspace/device-sdk-go/304@tmp:/w/workspace/device-sdk-go/304@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:arm64 cat 07:47:31 $ docker top e19c84008bc8c168aa518b2c0a31e182a79026bb49d12b3b25bf14a4b93cfe1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:32 ---> job-cost.sh 07:47:32 lf-activate-venv: SKIPPING 07:47:32 INFO: No Stack... 07:47:33 INFO: Retrieving Pricing Info for: v3-standard-4 07:47:33 INFO: Archiving Costs [Pipeline] sh 07:47:34 + cat /w/workspace/device-sdk-go/304/archives/cost.csv 07:47:34 + cut -d, -f6 [Pipeline] lock 07:47:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-304-stack-cost] 07:47:34 Resource [jenkins-edgexfoundry-device-sdk-go-main-304-stack-cost] did not exist. Created. 07:47:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-304-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:47:35 /w/workspace/device-sdk-go/304@tmp/durable-d378a859/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:47:35 + echo total: 0.10999999940395355 [Pipeline] stash 07:47:35 Warning: overwriting stash ‘stack-cost’ 07:47:35 Stashed 1 file(s) [Pipeline] } 07:47:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-304-stack-cost] [Pipeline] // lock [Pipeline] } 07:47:35 $ docker stop --time=1 e19c84008bc8c168aa518b2c0a31e182a79026bb49d12b3b25bf14a4b93cfe1a 07:47:37 $ docker rm -f --volumes e19c84008bc8c168aa518b2c0a31e182a79026bb49d12b3b25bf14a4b93cfe1a [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:47:37 provisioning config files... 07:47:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6611364456721377561tmp [Pipeline] { [Pipeline] sh 07:47:38 + set +x 07:47:38 + curl -s https://codecov.io/bash 07:47:38 + bash -s -- 07:47:38 07:47:38 _____ _ 07:47:38 / ____| | | 07:47:38 | | ___ __| | ___ ___ _____ __ 07:47:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:47:38 | |___| (_) | (_| | __/ (_| (_) \ V / 07:47:38 \_____\___/ \__,_|\___|\___\___/ \_/ 07:47:38 Bash-1.0.6 07:47:38 07:47:38 07:47:38 ==> git version 2.25.1 found 07:47:38 ==> 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:47:38 Release-Date: 2020-01-08 07:47:38 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:47:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:47:38 ==> Jenkins CI detected. 07:47:38 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:47:38 project root: . 07:47:38 --> token set from env 07:47:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:47:38 ==> Running gcov in . (disable via -X gcov) 07:47:38 ==> Python coveragepy not found 07:47:38 ==> Searching for coverage reports in: 07:47:38 + . 07:47:38 -> Found 1 reports 07:47:38 ==> Detecting git/mercurial file structure 07:47:38 ==> Reading reports 07:47:38 + ./coverage.out bytes=125703 07:47:38 ==> Appending adjustments 07:47:38 https://docs.codecov.io/docs/fixing-reports 07:47:38 + Found adjustments 07:47:38 ==> Gzipping contents 07:47:38 20K /tmp/codecov.qi1KYm.gz 07:47:38 ==> Uploading reports 07:47:38 url: https://codecov.io 07:47:38 query: branch=main&commit=5c2a377d73b399f8f8c2d20a5426d9b5e769b74b&build=304&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F304%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:47:38 -> Pinging Codecov 07:47:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=5c2a377d73b399f8f8c2d20a5426d9b5e769b74b&build=304&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F304%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:47:38 -> Uploading to 07:47:38 https://storage.googleapis.com/codecov/v4/raw/2024-07-30/7E55EF52A471D76F132DFD9A03CDDE97/5c2a377d73b399f8f8c2d20a5426d9b5e769b74b/8cde6603-8f7e-4d8b-bcd1-a3d747bad0c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T074738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d756886eae46385e23dccdd6ab2a5cc19348d0bbb177174a6e48798f76925c6 07:47:38 % Total % Received % Xferd Average Speed Time Time Time Current 07:47:38 Dload Upload Total Spent Left Speed 07:47:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17128 0 0 100 17128 0 67968 --:--:-- --:--:-- --:--:-- 67968 07:47:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5c2a377d73b399f8f8c2d20a5426d9b5e769b74b [Pipeline] } 07:47:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:47:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:47:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:47:39 07:47:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:47:39 latest: Pulling from edgex-devops/edgex-snyk-go 07:47:39 619be1103602: Already exists 07:47:39 f8ea3408117e: Pulling fs layer 07:47:39 91320369b822: Pulling fs layer 07:47:39 0406650e8295: Pulling fs layer 07:47:39 4f4fb700ef54: Pulling fs layer 07:47:39 96d80e3f36e1: Pulling fs layer 07:47:39 bcf3aedb951c: Pulling fs layer 07:47:39 4f4fb700ef54: Waiting 07:47:39 bcf3aedb951c: Waiting 07:47:39 0406650e8295: Download complete 07:47:39 f8ea3408117e: Verifying Checksum 07:47:39 f8ea3408117e: Download complete 07:47:39 4f4fb700ef54: Verifying Checksum 07:47:39 4f4fb700ef54: Download complete 07:47:39 f8ea3408117e: Pull complete 07:47:40 96d80e3f36e1: Verifying Checksum 07:47:40 96d80e3f36e1: Download complete 07:47:40 91320369b822: Verifying Checksum 07:47:40 91320369b822: Download complete 07:47:40 bcf3aedb951c: Verifying Checksum 07:47:40 bcf3aedb951c: Download complete 07:47:44 91320369b822: Pull complete 07:47:46 0406650e8295: Pull complete 07:47:58 4f4fb700ef54: Pull complete 07:47:58 96d80e3f36e1: Pull complete 07:48:01 bcf3aedb951c: Pull complete 07:48:01 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 07:48:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:48:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:01 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:48:01 $ 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:48:05 $ docker top c546da1e24d0a3056a2746e2f308be58afffab91759945ffcf06b9fcbc68e478 -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 07:48:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:48:06 + set -o pipefail 07:48:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:48:12 07:48:12 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 07:48:12 07:48:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/b754f7c9-87c3-414d-be74-c93dd135e87a 07:48:12 07:48:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:48:12 07:48:12 07:48:12 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:48:12 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:48:12 $ docker stop --time=1 c546da1e24d0a3056a2746e2f308be58afffab91759945ffcf06b9fcbc68e478 07:48:17 $ docker rm -f --volumes c546da1e24d0a3056a2746e2f308be58afffab91759945ffcf06b9fcbc68e478 [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:48:17 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:17 provisioning config files... 07:48:17 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14638663598558494056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:18 --> edgex-publish-swagger.sh 07:48:18 === Publish openapi/v3 API === 07:48:18 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 07:48:18 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 07:48:18 % Total % Received % Xferd Average Speed Time Time Time Current 07:48:18 Dload Upload Total Spent Left Speed 07:48:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28528 100 156 100 28372 267 48582 --:--:-- --:--:-- --:--:-- 48765 100 28528 100 156 100 28372 267 48582 --:--:-- --:--:-- --:--:-- 48765 07:48:18 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 07:48:18 [Pipeline] } 07:48:18 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:48:19 + git log --format=format:%s -1 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b [Pipeline] sh 07:48:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:48:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:19 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:48:19 $ 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:48:20 $ docker top 69b9510fb2116bf9a1c4203be0624cd4ece625d60033bce8c0d63d3052b0505a -eo pid,comm 07:48:20 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:48:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:48:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:20 [ssh-agent] Looking for ssh-agent implementation... 07:48:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:20 $ docker exec 69b9510fb2116bf9a1c4203be0624cd4ece625d60033bce8c0d63d3052b0505a ssh-agent 07:48:20 SSH_AUTH_SOCK=/tmp/ssh-QjZAjPVTnCbV/agent.32 07:48:20 SSH_AGENT_PID=38 07:48:20 Running ssh-add (command line suppressed) 07:48:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13801152926487224405.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13801152926487224405.key) 07:48:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:21 + git semver tag 07:48:21 2024-07-30 07:48:21,353 [run_tag] DEBUG tag force:False 07:48:21 2024-07-30 07:48:21,354 [check_head_tag] DEBUG check head tag 07:48:21 2024-07-30 07:48:21,356 [execute] INFO git cat-file --batch-check 07:48:21 2024-07-30 07:48:21,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:48:21 2024-07-30 07:48:21,359 [execute] INFO git cat-file --batch 07:48:21 2024-07-30 07:48:21,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:48:21 2024-07-30 07:48:21,387 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:48:21 2024-07-30 07:48:21,387 [execute] INFO git tag -a v3.2.0-dev.29 -m v3.2.0-dev.29 07:48:21 2024-07-30 07:48:21,387 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.29', '-m', 'v3.2.0-dev.29'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:48:21 2024-07-30 07:48:21,392 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:48:21 3.2.0-dev.29 [Pipeline] } 07:48:21 $ docker exec --env ******** --env ******** 69b9510fb2116bf9a1c4203be0624cd4ece625d60033bce8c0d63d3052b0505a ssh-agent -k 07:48:21 unset SSH_AUTH_SOCK; 07:48:21 unset SSH_AGENT_PID; 07:48:21 echo Agent pid 38 killed; 07:48:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:48:21 + git semver [Pipeline] } 07:48:22 $ docker stop --time=1 69b9510fb2116bf9a1c4203be0624cd4ece625d60033bce8c0d63d3052b0505a 07:48:23 $ docker rm -f --volumes 69b9510fb2116bf9a1c4203be0624cd4ece625d60033bce8c0d63d3052b0505a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:48:23 07:48:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:48:24 0.23.1-centos7: Pulling from edgex-lftools 07:48:24 ab5ef0e58194: Pulling fs layer 07:48:24 9712f1f96733: Pulling fs layer 07:48:24 63f879dbbcfc: Pulling fs layer 07:48:24 0d9ebad4ef96: Pulling fs layer 07:48:24 e9a5061849ea: Pulling fs layer 07:48:24 d747dcd14b5f: Pulling fs layer 07:48:24 2de7ff778b66: Pulling fs layer 07:48:24 e9a5061849ea: Waiting 07:48:24 d747dcd14b5f: Waiting 07:48:24 0d9ebad4ef96: Waiting 07:48:24 2de7ff778b66: Waiting 07:48:24 9712f1f96733: Verifying Checksum 07:48:24 9712f1f96733: Download complete 07:48:24 63f879dbbcfc: Verifying Checksum 07:48:24 63f879dbbcfc: Download complete 07:48:24 0d9ebad4ef96: Verifying Checksum 07:48:24 0d9ebad4ef96: Download complete 07:48:24 e9a5061849ea: Verifying Checksum 07:48:24 e9a5061849ea: Download complete 07:48:24 d747dcd14b5f: Download complete 07:48:24 ab5ef0e58194: Download complete 07:48:24 2de7ff778b66: Verifying Checksum 07:48:24 2de7ff778b66: Download complete 07:48:27 ab5ef0e58194: Pull complete 07:48:27 9712f1f96733: Pull complete 07:48:27 63f879dbbcfc: Pull complete 07:48:31 0d9ebad4ef96: Pull complete 07:48:31 e9a5061849ea: Pull complete 07:48:31 d747dcd14b5f: Pull complete 07:48:32 2de7ff778b66: Pull complete 07:48:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:48:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:32 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:48:32 $ 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:48:37 $ docker top 0f9a3e2430a9059255fc904549ede011b127b550130b464c0a758b6229964024 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:48:37 provisioning config files... 07:48:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1564286199664319009tmp 07:48:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4058146052385618354tmp 07:48:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5008099406193871462tmp [Pipeline] { [Pipeline] echo 07:48:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:48:38 ---> sigul-configuration.sh 07:48:38 gpg: directory `/root/.gnupg' created 07:48:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:48:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:48:38 gpg: keyring `/root/.gnupg/secring.gpg' created 07:48:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:48:38 gpg: CAST5 encrypted data 07:48:38 gpg: encrypted with 1 passphrase 07:48:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:48:38 + mkdir /home/jenkins 07:48:38 + mkdir /home/jenkins/sigul [Pipeline] sh 07:48:38 + 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:48:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:48:39 ---> sigul-install.sh 07:48:39 Sigul already installed; skipping installation. [Pipeline] sh 07:48:39 + git tag --list 07:48:39 0.7.1 07:48:39 delhi-tag 07:48:39 v1.0.0 07:48:39 v1.1.0 07:48:39 v1.1.1 07:48:39 v1.1.2 07:48:39 v1.2.0 07:48:39 v1.2.1 07:48:39 v1.2.2 07:48:39 v1.2.3 07:48:39 v1.3.0 07:48:39 v1.4.0 07:48:39 v2.0.0 07:48:39 v2.1.0 07:48:39 v2.1.1 07:48:39 v2.2.0 07:48:39 v2.3.0 07:48:39 v2.3.1 07:48:39 v3.0 07:48:39 v3.0.0 07:48:39 v3.0.1-dev.1 07:48:39 v3.1 07:48:39 v3.1.0 07:48:39 v3.1.0-dev.1 07:48:39 v3.1.0-dev.10 07:48:39 v3.1.0-dev.11 07:48:39 v3.1.0-dev.12 07:48:39 v3.1.0-dev.13 07:48:39 v3.1.0-dev.14 07:48:39 v3.1.0-dev.15 07:48:39 v3.1.0-dev.16 07:48:39 v3.1.0-dev.17 07:48:39 v3.1.0-dev.18 07:48:39 v3.1.0-dev.19 07:48:39 v3.1.0-dev.2 07:48:39 v3.1.0-dev.20 07:48:39 v3.1.0-dev.21 07:48:39 v3.1.0-dev.22 07:48:39 v3.1.0-dev.23 07:48:39 v3.1.0-dev.24 07:48:39 v3.1.0-dev.25 07:48:39 v3.1.0-dev.26 07:48:39 v3.1.0-dev.27 07:48:39 v3.1.0-dev.28 07:48:39 v3.1.0-dev.29 07:48:39 v3.1.0-dev.3 07:48:39 v3.1.0-dev.30 07:48:39 v3.1.0-dev.31 07:48:39 v3.1.0-dev.32 07:48:39 v3.1.0-dev.33 07:48:39 v3.1.0-dev.34 07:48:39 v3.1.0-dev.35 07:48:39 v3.1.0-dev.36 07:48:39 v3.1.0-dev.37 07:48:39 v3.1.0-dev.38 07:48:39 v3.1.0-dev.39 07:48:39 v3.1.0-dev.4 07:48:39 v3.1.0-dev.40 07:48:39 v3.1.0-dev.41 07:48:39 v3.1.0-dev.5 07:48:39 v3.1.0-dev.6 07:48:39 v3.1.0-dev.7 07:48:39 v3.1.0-dev.8 07:48:39 v3.1.0-dev.9 07:48:39 v3.1.1 07:48:39 v3.1.1-dev.1 07:48:39 v3.2.0-dev.1 07:48:39 v3.2.0-dev.10 07:48:39 v3.2.0-dev.11 07:48:39 v3.2.0-dev.12 07:48:39 v3.2.0-dev.13 07:48:39 v3.2.0-dev.14 07:48:39 v3.2.0-dev.15 07:48:39 v3.2.0-dev.16 07:48:39 v3.2.0-dev.17 07:48:39 v3.2.0-dev.18 07:48:39 v3.2.0-dev.19 07:48:39 v3.2.0-dev.2 07:48:39 v3.2.0-dev.20 07:48:39 v3.2.0-dev.21 07:48:39 v3.2.0-dev.22 07:48:39 v3.2.0-dev.23 07:48:39 v3.2.0-dev.24 07:48:39 v3.2.0-dev.25 07:48:39 v3.2.0-dev.26 07:48:39 v3.2.0-dev.27 07:48:39 v3.2.0-dev.28 07:48:39 v3.2.0-dev.29 07:48:39 v3.2.0-dev.3 07:48:39 v3.2.0-dev.4 07:48:39 v3.2.0-dev.5 07:48:39 v3.2.0-dev.6 07:48:39 v3.2.0-dev.7 07:48:39 v3.2.0-dev.8 07:48:39 v3.2.0-dev.9 [Pipeline] sh 07:48:39 + lftools sign git-tag v3.2.0-dev.29 07:48:40 Signing Git tag with Sigul... 07:48:40 Signing v3.2.0-dev.29 [Pipeline] echo 07:48:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:48:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:48:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:48:40 $ docker stop --time=1 0f9a3e2430a9059255fc904549ede011b127b550130b464c0a758b6229964024 07:48:42 $ docker rm -f --volumes 0f9a3e2430a9059255fc904549ede011b127b550130b464c0a758b6229964024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:48:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:48:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:43 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:48:43 $ 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:48:43 $ docker top de9531f9c727ae542e0f7eea7a192f016f7fa5eb6023f4580f31b60a5a227c8d -eo pid,comm 07:48:43 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:48:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:48:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:43 [ssh-agent] Looking for ssh-agent implementation... 07:48:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:43 $ docker exec de9531f9c727ae542e0f7eea7a192f016f7fa5eb6023f4580f31b60a5a227c8d ssh-agent 07:48:43 SSH_AUTH_SOCK=/tmp/ssh-Rz6O8Mg4JKvA/agent.32 07:48:43 SSH_AGENT_PID=38 07:48:43 Running ssh-add (command line suppressed) 07:48:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17069703419100968416.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17069703419100968416.key) 07:48:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:44 + git semver bump pre 07:48:44 2024-07-30 07:48:44,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:48:44 2024-07-30 07:48:44,262 [bump_version] DEBUG bumping version:3.2.0-dev.29 on axis:pre with prefix:dev 07:48:44 2024-07-30 07:48:44,262 [bump_version] DEBUG bumped version:3.2.0-dev.30 07:48:44 2024-07-30 07:48:44,262 [write_version] DEBUG write version:3.2.0-dev.30 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:48:44 2024-07-30 07:48:44,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:48:44 2024-07-30 07:48:44,262 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:48:44 2024-07-30 07:48:44,264 [execute] INFO git cat-file --batch-check 07:48:44 2024-07-30 07:48:44,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:48:44 2024-07-30 07:48:44,269 [execute] INFO git cat-file --batch 07:48:44 2024-07-30 07:48:44,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:48:44 2024-07-30 07:48:44,274 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:48:44 3.2.0-dev.30 [Pipeline] } 07:48:44 $ docker exec --env ******** --env ******** de9531f9c727ae542e0f7eea7a192f016f7fa5eb6023f4580f31b60a5a227c8d ssh-agent -k 07:48:44 unset SSH_AUTH_SOCK; 07:48:44 unset SSH_AGENT_PID; 07:48:44 echo Agent pid 38 killed; 07:48:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:48:44 + git semver [Pipeline] } 07:48:45 $ docker stop --time=1 de9531f9c727ae542e0f7eea7a192f016f7fa5eb6023f4580f31b60a5a227c8d 07:48:46 $ docker rm -f --volumes de9531f9c727ae542e0f7eea7a192f016f7fa5eb6023f4580f31b60a5a227c8d [Pipeline] // withDockerContainer [Pipeline] sh 07:48:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:48:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:47 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:48:47 $ 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:48:47 $ docker top 5ebd52d2cd02d9fbc0adf681f39fcc79a9062069f76f2d39b6c9bd0e98b20632 -eo pid,comm 07:48:47 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:48:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:48:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:47 [ssh-agent] Looking for ssh-agent implementation... 07:48:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:47 $ docker exec 5ebd52d2cd02d9fbc0adf681f39fcc79a9062069f76f2d39b6c9bd0e98b20632 ssh-agent 07:48:47 SSH_AUTH_SOCK=/tmp/ssh-TZBV4m3T28Qy/agent.33 07:48:47 SSH_AGENT_PID=39 07:48:47 Running ssh-add (command line suppressed) 07:48:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16776752607262035754.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16776752607262035754.key) 07:48:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:48 + git semver push 07:48:48 2024-07-30 07:48:48,315 [run_push] DEBUG push 07:48:48 2024-07-30 07:48:48,316 [execute] INFO git cat-file --batch-check 07:48:48 2024-07-30 07:48:48,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:48:48 2024-07-30 07:48:48,319 [execute] INFO git rev-list e067d4fb31303e588f6edceae7e1840e7d4e0769 -- 07:48:48 2024-07-30 07:48:48,320 [execute] DEBUG Popen(['git', 'rev-list', 'e067d4fb31303e588f6edceae7e1840e7d4e0769', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:48:48 2024-07-30 07:48:48,327 [execute] INFO git fetch -v origin 07:48:48 2024-07-30 07:48:48,327 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:48:48 2024-07-30 07:48:48,777 [run_push] DEBUG no remote changes detected 07:48:48 2024-07-30 07:48:48,778 [execute] INFO git push origin semver 07:48:48 2024-07-30 07:48:48,778 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:48:49 2024-07-30 07:48:49,462 [run_push] DEBUG push all version tags 07:48:49 2024-07-30 07:48:49,463 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:48:49 2024-07-30 07:48:49,463 [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:48:50 2024-07-30 07:48:50,194 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:48:50 3.2.0-dev.30 [Pipeline] } 07:48:50 $ docker exec --env ******** --env ******** 5ebd52d2cd02d9fbc0adf681f39fcc79a9062069f76f2d39b6c9bd0e98b20632 ssh-agent -k 07:48:50 unset SSH_AUTH_SOCK; 07:48:50 unset SSH_AGENT_PID; 07:48:50 echo Agent pid 39 killed; 07:48:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:48:50 + git semver [Pipeline] } 07:48:51 $ docker stop --time=1 5ebd52d2cd02d9fbc0adf681f39fcc79a9062069f76f2d39b6c9bd0e98b20632 07:48:52 $ docker rm -f --volumes 5ebd52d2cd02d9fbc0adf681f39fcc79a9062069f76f2d39b6c9bd0e98b20632 [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:48:53 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:48:53 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:48:53 total 16 07:48:53 drwxr-xr-x 3 root root 4096 Jul 30 07:32 . 07:48:53 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 07:48 .. 07:48:53 drwxr-xr-x 2 root root 4096 Jul 30 07:32 cost 07:48:53 -rw-r--r-- 1 root root 85 Jul 30 07:32 cost.csv 07:48:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:48:53 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:48:53 total 16 07:48:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 07:32 . 07:48:53 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 07:48 .. 07:48:53 drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 07:32 cost 07:48:53 -rw-r--r-- 1 jenkins jenkins 85 Jul 30 07:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:48:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:48:54 ---> package-listing.sh 07:48:54 ++ facter osfamily 07:48:54 ++ tr '[:upper:]' '[:lower:]' 07:48:54 + OS_FAMILY=debian 07:48:54 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:48:54 + START_PACKAGES=/tmp/packages_start.txt 07:48:54 + END_PACKAGES=/tmp/packages_end.txt 07:48:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:48:54 + PACKAGES=/tmp/packages_start.txt 07:48:54 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:48:54 + PACKAGES=/tmp/packages_end.txt 07:48:54 + case "${OS_FAMILY}" in 07:48:54 + dpkg -l 07:48:54 + grep '^ii' 07:48:54 + '[' -f /tmp/packages_start.txt ']' 07:48:54 + '[' -f /tmp/packages_end.txt ']' 07:48:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:48:54 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:48:54 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:48:54 + 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:48:54 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:48:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:55 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 07:48:55 $ 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:48:55 $ docker top ef74bb2e08a5d66f11d45095f4c1e90feddd205285c3ac83dfad8bdba7b734e4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:56 + touch /tmp/pre-build-complete [Pipeline] sh 07:48:56 + mkdir -p /var/log/sysstat [Pipeline] sh 07:48:56 + ls /var/log/sa-host 07:48:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:56 provisioning config files... 07:48:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1264893565878947782tmp [Pipeline] { [Pipeline] echo 07:48:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:48:57 ---> create-netrc.sh [Pipeline] } 07:48:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:48:57 ---> python-tools-install.sh [Pipeline] echo 07:48:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:48:57 ---> sudo-logs.sh 07:48:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:48:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:48:58 ---> job-cost.sh 07:48:58 lf-activate-venv: SKIPPING 07:48:58 DEBUG: total: 0.2199999988079071 07:48:58 INFO: Retrieving Stack Cost... 07:48:58 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:58 INFO: Archiving Costs [Pipeline] echo 07:48:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:48:59 ---> logs-deploy.sh 07:48:59 lf-activate-venv: SKIPPING 07:48:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/304 07:48:59 INFO: archiving workspace using pattern(s): 07:49:00 Archives upload complete. 07:49:00 INFO: archiving logs to Nexus