Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd 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-ssh9082845153537225092.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh7761930499543675539.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh469994907208887042.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh8733120706724048212.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-ssh5119572359058939383.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12184 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 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 Commit message: "Merge pull request #1628 from jinlinGuan/issue-1599" > git rev-list --no-walk 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:18:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:18:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:18:09 ========================================================= 02:18:09 EdgeX Global Pipelines Version Info 02:18:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:18:10 ------------------- 02:18:10 stable info: 02:18:10 ------------------- 02:18:10 Commited By: Cherry Wang cherry@iotechsys.com 02:18:10 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:18:10 Message: update stable to v1.0.264 02:18:10 ------------------- 02:18:10 experimental info: 02:18:10 ------------------- 02:18:10 Commited By: Cherry Wang cherry@iotechsys.com 02:18:10 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:18:10 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:18:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f2c62f [Pipeline] echo 02:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:18:11 provisioning config files... 02:18:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3943965328660544000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:18:11 ---> ****-login.sh 02:18:11 nexus3.edgexfoundry.org:10001 02:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:12 Configure a credential helper to remove this warning. See 02:18:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:12 02:18:12 Login Succeeded 02:18:12 nexus3.edgexfoundry.org:10002 02:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:12 Configure a credential helper to remove this warning. See 02:18:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:12 02:18:12 Login Succeeded 02:18:12 nexus3.edgexfoundry.org:10003 02:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:12 Configure a credential helper to remove this warning. See 02:18:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:12 02:18:12 Login Succeeded 02:18:12 nexus3.edgexfoundry.org:10004 02:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:12 Configure a credential helper to remove this warning. See 02:18:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:12 02:18:12 Login Succeeded 02:18:12 ****.io 02:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:12 Configure a credential helper to remove this warning. See 02:18:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:12 02:18:12 Login Succeeded 02:18:12 ---> ****-login.sh ends [Pipeline] } 02:18:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:18:13 + git rev-list -1 --merges 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd~1..0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd [Pipeline] echo 02:18:13 -----------> git rev-list -1 --merges 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd~1..0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd 02:18:13 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd [false] [Pipeline] sh 02:18:13 + git log --format=format:%s -1 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd [Pipeline] echo 02:18:13 ========================================================= 02:18:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:18:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:18:13 + git log --format=format:%s -1 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd [Pipeline] echo 02:18:13 [semverPrep] GIT_COMMIT: 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd, Commit Message: Merge pull request #1628 from jinlinGuan/issue-1599 [Pipeline] echo 02:18:13 [semverPrep] This is not a build commit. [Pipeline] sh 02:18:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:18:14 + grep -v github /etc/ssh/ssh_known_hosts 02:18:14 + [ -e /tmp/ssh_known_hosts ] 02:18:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:18:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:18:14 + sudo tee -a /etc/ssh/ssh_known_hosts 02:18:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:18:14 02:18:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:18:15 0.1.4: Pulling from edgex-devops/py-git-semver 02:18:15 b85a868b505f: Pulling fs layer 02:18:15 e2be974225ed: Pulling fs layer 02:18:15 339a4e72a1f5: Pulling fs layer 02:18:15 988bab9f4d93: Pulling fs layer 02:18:15 1469e6f7b9e6: Pulling fs layer 02:18:15 eaf3925da568: Pulling fs layer 02:18:15 988bab9f4d93: Waiting 02:18:15 1469e6f7b9e6: Waiting 02:18:15 bab4dde63d76: Pulling fs layer 02:18:15 bde34c3a00c8: Pulling fs layer 02:18:15 b352a97aabf1: Pulling fs layer 02:18:15 4872d77fe225: Pulling fs layer 02:18:15 5851b861e8e6: Pulling fs layer 02:18:15 eaf3925da568: Waiting 02:18:15 b352a97aabf1: Waiting 02:18:15 4872d77fe225: Waiting 02:18:15 5851b861e8e6: Waiting 02:18:15 bab4dde63d76: Waiting 02:18:15 bde34c3a00c8: Waiting 02:18:15 e2be974225ed: Verifying Checksum 02:18:15 e2be974225ed: Download complete 02:18:15 988bab9f4d93: Verifying Checksum 02:18:15 988bab9f4d93: Download complete 02:18:15 1469e6f7b9e6: Verifying Checksum 02:18:15 1469e6f7b9e6: Download complete 02:18:15 eaf3925da568: Download complete 02:18:15 339a4e72a1f5: Verifying Checksum 02:18:15 339a4e72a1f5: Download complete 02:18:15 bde34c3a00c8: Verifying Checksum 02:18:15 bde34c3a00c8: Download complete 02:18:15 b352a97aabf1: Verifying Checksum 02:18:15 b352a97aabf1: Download complete 02:18:15 4872d77fe225: Download complete 02:18:15 5851b861e8e6: Verifying Checksum 02:18:15 5851b861e8e6: Download complete 02:18:15 b85a868b505f: Download complete 02:18:15 bab4dde63d76: Verifying Checksum 02:18:15 bab4dde63d76: Download complete 02:18:16 b85a868b505f: Pull complete 02:18:16 e2be974225ed: Pull complete 02:18:17 339a4e72a1f5: Pull complete 02:18:17 988bab9f4d93: Pull complete 02:18:17 1469e6f7b9e6: Pull complete 02:18:17 eaf3925da568: Pull complete 02:18:19 bab4dde63d76: Pull complete 02:18:19 bde34c3a00c8: Pull complete 02:18:19 b352a97aabf1: Pull complete 02:18:19 4872d77fe225: Pull complete 02:18:19 5851b861e8e6: Pull complete 02:18:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:18:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:18:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:18:19 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:18: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:18:23 $ docker top aba5ea019316b695e89b79c2f72c690aa4fc667955680d861f26db512af0059b -eo pid,comm 02:18:23 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). 02:18:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:18:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:18:23 [ssh-agent] Looking for ssh-agent implementation... 02:18:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:18:23 $ docker exec aba5ea019316b695e89b79c2f72c690aa4fc667955680d861f26db512af0059b ssh-agent 02:18:23 SSH_AUTH_SOCK=/tmp/ssh-LOUqEHEaAIWP/agent.33 02:18:23 SSH_AGENT_PID=39 02:18:23 Running ssh-add (command line suppressed) 02:18:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6315036309215740.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6315036309215740.key) 02:18:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:18:24 + git tag --points-at HEAD [Pipeline] } 02:18:24 $ docker exec --env ******** --env ******** aba5ea019316b695e89b79c2f72c690aa4fc667955680d861f26db512af0059b ssh-agent -k 02:18:24 unset SSH_AUTH_SOCK; 02:18:24 unset SSH_AGENT_PID; 02:18:24 echo Agent pid 39 killed; 02:18:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:18:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:18:24 [ssh-agent] Looking for ssh-agent implementation... 02:18:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:18:24 $ docker exec aba5ea019316b695e89b79c2f72c690aa4fc667955680d861f26db512af0059b ssh-agent 02:18:24 SSH_AUTH_SOCK=/tmp/ssh-z7HKeipF2MUw/agent.72 02:18:24 SSH_AGENT_PID=78 02:18:24 Running ssh-add (command line suppressed) 02:18:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2569508222654125673.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2569508222654125673.key) 02:18:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:18:24 + git semver init 02:18:25 2024-10-01 02:18:25,060 [run_init] DEBUG init version:0.0.0 force:False 02:18:25 2024-10-01 02:18:25,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 02:18:25 2024-10-01 02:18:25,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 02:18:25 2024-10-01 02:18:25,061 [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) 02:18:27 2024-10-01 02:18:27,530 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 02:18:27 2024-10-01 02:18:27,530 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 02:18:27 2024-10-01 02:18:27,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:18:27 2024-10-01 02:18:27,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:18:27 3.2.0-dev.38 [Pipeline] } 02:18:27 $ docker exec --env ******** --env ******** aba5ea019316b695e89b79c2f72c690aa4fc667955680d861f26db512af0059b ssh-agent -k 02:18:27 unset SSH_AUTH_SOCK; 02:18:27 unset SSH_AGENT_PID; 02:18:27 echo Agent pid 78 killed; 02:18:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:18:28 + git semver [Pipeline] } 02:18:28 $ docker stop --time=1 aba5ea019316b695e89b79c2f72c690aa4fc667955680d861f26db512af0059b 02:18:30 $ docker rm -f --volumes aba5ea019316b695e89b79c2f72c690aa4fc667955680d861f26db512af0059b [Pipeline] // withDockerContainer [Pipeline] sh 02:18:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:18:31 Stashed 1 file(s) [Pipeline] echo 02:18:31 [edgeXSemver]: initialized semver on version 3.2.0-dev.38 [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 02:18:32 provisioning config files... 02:18:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9987402062369838692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:18:32 ---> ****-login.sh 02:18:32 nexus3.edgexfoundry.org:10001 02:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:32 Configure a credential helper to remove this warning. See 02:18:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:32 02:18:32 Login Succeeded 02:18:32 nexus3.edgexfoundry.org:10002 02:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:32 Configure a credential helper to remove this warning. See 02:18:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:32 02:18:32 Login Succeeded 02:18:32 nexus3.edgexfoundry.org:10003 02:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:32 Configure a credential helper to remove this warning. See 02:18:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:32 02:18:32 Login Succeeded 02:18:32 nexus3.edgexfoundry.org:10004 02:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:32 Configure a credential helper to remove this warning. See 02:18:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:32 02:18:32 Login Succeeded 02:18:32 ****.io 02:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:18:33 Configure a credential helper to remove this warning. See 02:18:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:18:33 02:18:33 Login Succeeded 02:18:33 ---> ****-login.sh ends [Pipeline] } 02:18:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:18:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:18:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:18:33 ========================================================= 02:18:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:18:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:33 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:18:33 Sending build context to Docker daemon 25.31MB 02:18:33 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:18:33 Step 2/10 : FROM ${BASE} AS builder 02:18:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:18:34 619be1103602: Pulling fs layer 02:18:34 7862e08f4a3e: Pulling fs layer 02:18:34 5df492c9dc93: Pulling fs layer 02:18:34 7629e6793208: Pulling fs layer 02:18:34 4f4fb700ef54: Pulling fs layer 02:18:34 fb5054dd5b73: Pulling fs layer 02:18:34 eeca6798cff9: Pulling fs layer 02:18:34 aa269ceb94a6: Pulling fs layer 02:18:34 ada007ff1a6a: Pulling fs layer 02:18:34 4f4fb700ef54: Waiting 02:18:34 fb5054dd5b73: Waiting 02:18:34 eeca6798cff9: Waiting 02:18:34 aa269ceb94a6: Waiting 02:18:34 ada007ff1a6a: Waiting 02:18:34 7629e6793208: Waiting 02:18:34 7862e08f4a3e: Verifying Checksum 02:18:34 7862e08f4a3e: Download complete 02:18:34 7629e6793208: Download complete 02:18:34 4f4fb700ef54: Verifying Checksum 02:18:34 4f4fb700ef54: Download complete 02:18:34 619be1103602: Verifying Checksum 02:18:34 619be1103602: Download complete 02:18:34 fb5054dd5b73: Download complete 02:18:34 eeca6798cff9: Verifying Checksum 02:18:34 eeca6798cff9: Download complete 02:18:34 ada007ff1a6a: Verifying Checksum 02:18:34 ada007ff1a6a: Download complete 02:18:35 5df492c9dc93: Verifying Checksum 02:18:35 5df492c9dc93: Download complete 02:18:35 619be1103602: Pull complete 02:18:35 aa269ceb94a6: Verifying Checksum 02:18:35 aa269ceb94a6: Download complete 02:18:35 7862e08f4a3e: Pull complete 02:18:39 5df492c9dc93: Pull complete 02:18:39 7629e6793208: Pull complete 02:18:39 4f4fb700ef54: Pull complete 02:18:39 fb5054dd5b73: Pull complete 02:18:39 eeca6798cff9: Pull complete 02:18:41 aa269ceb94a6: Pull complete 02:18:41 ada007ff1a6a: Pull complete 02:18:41 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:18:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:18:41 ---> f489d0715acc 02:18:41 Step 3/10 : ARG MAKE=make build 02:18:47 Still waiting to schedule task 02:18:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12179’ 02:18:51 ---> Running in 715ad70a05e8 02:18:51 Removing intermediate container 715ad70a05e8 02:18:51 ---> 6d2bffcc1012 02:18:51 Step 4/10 : WORKDIR /device-sdk-go 02:18:51 ---> Running in e6f432ef476f 02:18:51 Removing intermediate container e6f432ef476f 02:18:51 ---> 1ed475036fd6 02:18:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:18:51 ---> Running in d98e841d74ea 02:18:51 Removing intermediate container d98e841d74ea 02:18:51 ---> c12a666eec41 02:18:51 Step 6/10 : RUN apk add --update --no-cache make git 02:18:51 ---> Running in 7568ca9f2f9d 02:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:18:51 OK: 264 MiB in 52 packages 02:18:51 Removing intermediate container 7568ca9f2f9d 02:18:51 ---> d9e6899d7a54 02:18:51 Step 7/10 : COPY go.mod vendor* ./ 02:18:51 ---> 6f9ad2eafccb 02:18:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:18:51 ---> Running in 48764a0adfb9 02:19:48 Removing intermediate container 48764a0adfb9 02:19:48 ---> 75adc03d9626 02:19:48 Step 9/10 : COPY . . 02:19:48 ---> 53617c77d6bb 02:19:48 Step 10/10 : RUN ${MAKE} 02:19:48 ---> Running in f631e9f7a643 02:19:48 noop 02:19:48 Removing intermediate container f631e9f7a643 02:19:48 ---> baa68e70fcac 02:19:48 Successfully built baa68e70fcac 02:19:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:48 + docker inspect -f . ci-base-image-x86_64 02:19:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:48 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:19:48 $ 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 02:19:48 $ docker top b4f4b732903599cf872e03d3c96c62de087cdf48cf5d03469afbd50e78b0d665 -eo pid,comm [Pipeline] { [Pipeline] sh 02:19:49 + go version 02:19:49 go version go1.21.9 linux/amd64 [Pipeline] } 02:19:49 $ docker stop --time=1 b4f4b732903599cf872e03d3c96c62de087cdf48cf5d03469afbd50e78b0d665 02:19:50 $ docker rm -f --volumes b4f4b732903599cf872e03d3c96c62de087cdf48cf5d03469afbd50e78b0d665 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:51 + docker inspect -f . ci-base-image-x86_64 02:19:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:51 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:19:51 $ 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 02:19:51 $ docker top cc07d0e6c70a74b17cd3f74fa93e236879854320cfe7676f69cc639043352a0e -eo pid,comm [Pipeline] { [Pipeline] sh 02:19:52 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 02:19:52 + make test 02:19:52 go test -race -coverprofile=coverage.out ./... 02:19:59 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:20:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 26.0% of statements 02:20:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.037s coverage: 79.4% of statements 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:20:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.048s coverage: 86.0% of statements 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:20:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.129s coverage: 45.2% of statements 02:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:20:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.035s coverage: 14.1% of statements 02:20:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.142s coverage: 44.6% of statements 02:20:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.052s coverage: 68.5% of statements 02:20:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.168s coverage: 89.2% of statements 02:20:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.058s coverage: 5.3% of statements 02:21:17 GO111MODULE=on go vet ./... 02:21:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:21:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:21:17 ./bin/test-attribution-txt.sh [Pipeline] echo 02:21:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:21:18 $ docker stop --time=1 cc07d0e6c70a74b17cd3f74fa93e236879854320cfe7676f69cc639043352a0e 02:21:24 $ docker rm -f --volumes cc07d0e6c70a74b17cd3f74fa93e236879854320cfe7676f69cc639043352a0e [Pipeline] // withDockerContainer [Pipeline] sh 02:21:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:21:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:21:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:21:26 + ls -al . 02:21:26 total 384 02:21:26 drwxrwxr-x 11 jenkins jenkins 4096 Oct 1 02:19 . 02:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 02:18 .. 02:21:26 -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 02:18 .dockerignore 02:21:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 02:20 .git 02:21:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 02:18 .github 02:21:26 -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 02:18 .gitignore 02:21:26 -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 02:18 .golangci.yml 02:21:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 02:18 .semver 02:21:26 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 02:18 CHANGELOG.md 02:21:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 02:18 GOVERNANCE.md 02:21:26 -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 02:18 Jenkinsfile 02:21:26 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 02:18 LICENSE 02:21:26 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 02:18 Makefile 02:21:26 -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 02:18 OWNERS.md 02:21:26 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 02:18 README.md 02:21:26 -rw-rw-r-- 1 jenkins jenkins 12 Oct 1 02:18 VERSION 02:21:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 02:18 bin 02:21:26 -rw-r--r-- 1 jenkins jenkins 128349 Oct 1 02:20 coverage.out 02:21:26 drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 02:18 example 02:21:26 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 1 02:18 go.mod 02:21:26 -rw-rw-r-- 1 jenkins jenkins 101462 Oct 1 02:18 go.sum 02:21:26 drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 02:18 internal 02:21:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 02:18 openapi 02:21:26 drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 02:18 pkg 02:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 02:18 snap 02:21:26 -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 02:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:21:26 + 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=0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd --label arch=amd64 --label version=3.2.0-dev.38 . 02:21:26 Sending build context to Docker daemon 25.44MB 02:21:26 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:21:26 Step 2/24 : FROM ${BASE} AS builder 02:21:26 ---> baa68e70fcac 02:21:26 Step 3/24 : ARG MAKE=make build 02:21:27 ---> Running in 1e202df37925 02:21:27 Removing intermediate container 1e202df37925 02:21:27 ---> 9a827dece6f2 02:21:27 Step 4/24 : WORKDIR /device-sdk-go 02:21:27 ---> Running in 4517f573482a 02:21:27 Removing intermediate container 4517f573482a 02:21:27 ---> 86cce79c7e17 02:21:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:21:27 ---> Running in 2fb44d1e3b26 02:21:27 Removing intermediate container 2fb44d1e3b26 02:21:27 ---> 73fc0b6284bd 02:21:27 Step 6/24 : RUN apk add --update --no-cache make git 02:21:27 ---> Running in 814f866374b7 02:21:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:21:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:21:28 OK: 264 MiB in 52 packages 02:21:28 Removing intermediate container 814f866374b7 02:21:28 ---> 29be16d7c987 02:21:28 Step 7/24 : COPY go.mod vendor* ./ 02:21:28 ---> e6b1a6131a62 02:21:28 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:21:28 ---> Running in a16855d36534 02:21:29 Removing intermediate container a16855d36534 02:21:29 ---> c51fcb25d4bc 02:21:29 Step 9/24 : COPY . . 02:21:30 ---> 8108af556050 02:21:30 Step 10/24 : RUN ${MAKE} 02:21:30 ---> Running in d6e826563f56 02:21:30 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.38" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:22:02 Removing intermediate container d6e826563f56 02:22:02 ---> 43c7ec723d2d 02:22:02 Step 11/24 : FROM alpine:3.18 02:22:02 3.18: Pulling from library/alpine 02:22:02 1cc3d825d8b2: Pulling fs layer 02:22:02 1cc3d825d8b2: Verifying Checksum 02:22:02 1cc3d825d8b2: Download complete 02:22:02 1cc3d825d8b2: Pull complete 02:22:02 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 02:22:02 Status: Downloaded newer image for alpine:3.18 02:22:02 ---> 2c64cf60f6f0 02:22:02 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:22:02 ---> Running in d171e867d24b 02:22:03 Removing intermediate container d171e867d24b 02:22:03 ---> 10827eec2e20 02:22:03 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:22:03 ---> Running in 9c6f2da41459 02:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:22:04 (1/1) Installing dumb-init (1.2.5-r2) 02:22:04 Executing busybox-1.36.1-r7.trigger 02:22:04 OK: 7 MiB in 16 packages 02:22:04 Removing intermediate container 9c6f2da41459 02:22:04 ---> 074d856dc1f2 02:22:04 Step 14/24 : RUN apk --no-cache upgrade 02:22:04 ---> Running in 7b0cc1e561c5 02:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:22:05 OK: 7 MiB in 16 packages 02:22:05 Removing intermediate container 7b0cc1e561c5 02:22:05 ---> 0acb99b5fda4 02:22:05 Step 15/24 : WORKDIR / 02:22:05 ---> Running in 3f08414af7aa 02:22:05 Removing intermediate container 3f08414af7aa 02:22:05 ---> 8c7f259a8e21 02:22:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:22:05 ---> 0e16b8f80927 02:22:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:22:08 ---> bc76ca02d359 02:22:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:22:08 ---> b7b6a7aead61 02:22:08 Step 19/24 : EXPOSE 59999 02:22:08 ---> Running in 27766d50834c 02:22:08 Removing intermediate container 27766d50834c 02:22:08 ---> 733fdff793c9 02:22:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:22:08 ---> Running in 7d55fed4d74c 02:22:08 Removing intermediate container 7d55fed4d74c 02:22:08 ---> 5734b77b73d9 02:22:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:22:08 ---> Running in 8d06ab4de90f 02:22:08 Removing intermediate container 8d06ab4de90f 02:22:08 ---> 0daa39c0fe76 02:22:08 Step 22/24 : LABEL arch=amd64 02:22:08 ---> Running in a2b80e06068a 02:22:08 Removing intermediate container a2b80e06068a 02:22:08 ---> 717201c12bd3 02:22:08 Step 23/24 : LABEL git_sha=0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd 02:22:08 ---> Running in 3c4c53dce01c 02:22:08 Removing intermediate container 3c4c53dce01c 02:22:08 ---> b591f10039b3 02:22:08 Step 24/24 : LABEL version=3.2.0-dev.38 02:22:08 ---> Running in 17a7be9e3234 02:22:08 Removing intermediate container 17a7be9e3234 02:22:08 ---> 8caf679dd147 02:22:08 [Warning] One or more build-args [ARCH] were not consumed 02:22:08 Successfully built 8caf679dd147 02:22:08 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 02:22:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:09 02:22:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:09 latest: Pulling from edgex-lftools-log-publisher 02:22:09 5eb5b503b376: Pulling fs layer 02:22:09 5c69ac0246d0: Pulling fs layer 02:22:09 ec43610c2a17: Pulling fs layer 02:22:09 3a2ae6a8a46f: Pulling fs layer 02:22:09 33b1e0a273af: Pulling fs layer 02:22:09 5d3b04190fa2: Pulling fs layer 02:22:09 33b1e0a273af: Waiting 02:22:09 5d3b04190fa2: Waiting 02:22:09 3a2ae6a8a46f: Waiting 02:22:09 2f39f015ded8: Pulling fs layer 02:22:09 5c69ac0246d0: Download complete 02:22:09 3a2ae6a8a46f: Download complete 02:22:09 33b1e0a273af: Download complete 02:22:09 ec43610c2a17: Verifying Checksum 02:22:09 ec43610c2a17: Download complete 02:22:09 5d3b04190fa2: Download complete 02:22:09 5eb5b503b376: Verifying Checksum 02:22:09 5eb5b503b376: Download complete 02:22:10 2f39f015ded8: Download complete 02:22:10 5eb5b503b376: Pull complete 02:22:10 5c69ac0246d0: Pull complete 02:22:11 ec43610c2a17: Pull complete 02:22:11 3a2ae6a8a46f: Pull complete 02:22:11 33b1e0a273af: Pull complete 02:22:11 5d3b04190fa2: Pull complete 02:22:15 2f39f015ded8: Pull complete 02:22:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:22:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:16 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:22:16 $ 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 02:22:20 $ docker top fd2d7c2cfbc1c870bd0159bd73e8d7d3fae1bc5df206571f78c8585f55507b2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:20 ---> job-cost.sh 02:22:20 lf-activate-venv: SKIPPING 02:22:20 INFO: No Stack... 02:22:21 INFO: Retrieving Pricing Info for: v3-standard-8 02:22:21 INFO: Archiving Costs [Pipeline] sh 02:22:21 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 02:22:21 + cut -d, -f6 [Pipeline] lock 02:22:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-313-stack-cost] 02:22:21 Resource [jenkins-edgexfoundry-device-sdk-go-main-313-stack-cost] did not exist. Created. 02:22:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-313-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:22:22 + echo total: 0.2199999988079071 [Pipeline] stash 02:22:22 Stashed 1 file(s) [Pipeline] } 02:22:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-313-stack-cost] [Pipeline] // lock [Pipeline] } 02:22:22 $ docker stop --time=1 fd2d7c2cfbc1c870bd0159bd73e8d7d3fae1bc5df206571f78c8585f55507b2d 02:22:23 $ docker rm -f --volumes fd2d7c2cfbc1c870bd0159bd73e8d7d3fae1bc5df206571f78c8585f55507b2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:22:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12185 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 02:22:23 Running in /w/workspace/device-sdk-go/313 [Pipeline] { [Pipeline] checkout 02:22:26 The recommended git tool is: git 02:22:35 using credential edgex-jenkins-ssh 02:22:35 Cloning the remote Git repository 02:22:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:22:35 > git init /w/workspace/device-sdk-go/313 # timeout=10 02:22:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:22:35 > git --version # timeout=10 02:22:35 > git --version # 'git version 2.25.1' 02:22:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:22:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:22:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:22:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:22:40 Avoid second fetch 02:22:40 Checking out Revision 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd (main) 02:22:41 Commit message: "Merge pull request #1628 from jinlinGuan/issue-1599" 02:22:40 > git config core.sparsecheckout # timeout=10 02:22:40 > git checkout -f 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:22:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:22:46 % Total % Received % Xferd Average Speed Time Time Time Current 02:22:46 Dload Upload Total Spent Left Speed 02:22:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 69717 0 --:--:-- --:--:-- --:--:-- 69717 [Pipeline] sh 02:22:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:22:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:22:47 + sudo tee /etc/docker/daemon.new 02:22:47 { 02:22:47 "registry-mirrors": [ 02:22:47 "https://nexus3.edgexfoundry.org:10001" 02:22:47 ], 02:22:47 "bip": "10.250.0.254/24", 02:22:47 "hosts": [ 02:22:47 "tcp://0.0.0.0:5555", 02:22:47 "unix:///var/run/docker.sock" 02:22:47 ], 02:22:47 "mtu": 1458, 02:22:47 "selinux-enabled": true, 02:22:47 "seccomp-profile": "/etc/docker/seccomp.json" 02:22:47 } [Pipeline] sh 02:22:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:22:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:05 provisioning config files... 02:23:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/313@tmp/config8312831013108144052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:06 ---> ****-login.sh 02:23:06 nexus3.edgexfoundry.org:10001 02:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:23:07 Configure a credential helper to remove this warning. See 02:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:23:07 02:23:07 Login Succeeded 02:23:07 nexus3.edgexfoundry.org:10002 02:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:23:07 Configure a credential helper to remove this warning. See 02:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:23:07 02:23:07 Login Succeeded 02:23:07 nexus3.edgexfoundry.org:10003 02:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:23:07 Configure a credential helper to remove this warning. See 02:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:23:07 02:23:07 Login Succeeded 02:23:07 nexus3.edgexfoundry.org:10004 02:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:23:08 Configure a credential helper to remove this warning. See 02:23:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:23:08 02:23:08 Login Succeeded 02:23:08 ****.io 02:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:23:08 Configure a credential helper to remove this warning. See 02:23:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:23:08 02:23:08 Login Succeeded 02:23:08 ---> ****-login.sh ends [Pipeline] } 02:23:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:23:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:23:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:23:09 ========================================================= 02:23:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:23:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:09 + 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 . 02:23:10 Sending build context to Docker daemon 13.11MB 02:23:10 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:23:10 Step 2/10 : FROM ${BASE} AS builder 02:23:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:23:10 c6b39de5b339: Pulling fs layer 02:23:10 a69c41024577: Pulling fs layer 02:23:10 d6de4b400683: Pulling fs layer 02:23:10 35cb2a7552d0: Pulling fs layer 02:23:10 4f4fb700ef54: Pulling fs layer 02:23:10 464afbd9ba4c: Pulling fs layer 02:23:10 00f215d4a9da: Pulling fs layer 02:23:10 d496ad576159: Pulling fs layer 02:23:10 35cb2a7552d0: Waiting 02:23:10 4f4fb700ef54: Waiting 02:23:10 00f215d4a9da: Waiting 02:23:10 d496ad576159: Waiting 02:23:10 464afbd9ba4c: Waiting 02:23:10 a69c41024577: Verifying Checksum 02:23:10 a69c41024577: Download complete 02:23:10 35cb2a7552d0: Verifying Checksum 02:23:10 35cb2a7552d0: Download complete 02:23:10 4f4fb700ef54: Verifying Checksum 02:23:10 4f4fb700ef54: Download complete 02:23:10 464afbd9ba4c: Verifying Checksum 02:23:10 464afbd9ba4c: Download complete 02:23:10 c6b39de5b339: Download complete 02:23:10 d496ad576159: Verifying Checksum 02:23:10 d496ad576159: Download complete 02:23:11 c6b39de5b339: Pull complete 02:23:11 a69c41024577: Pull complete 02:23:12 d6de4b400683: Download complete 02:23:13 00f215d4a9da: Verifying Checksum 02:23:13 00f215d4a9da: Download complete 02:23:25 d6de4b400683: Pull complete 02:23:25 35cb2a7552d0: Pull complete 02:23:25 4f4fb700ef54: Pull complete 02:23:25 464afbd9ba4c: Pull complete 02:23:35 00f215d4a9da: Pull complete 02:23:36 d496ad576159: Pull complete 02:23:36 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:23:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:23:36 ---> f246e2811388 02:23:36 Step 3/10 : ARG MAKE=make build 02:23:37 ---> Running in 2bb9d560b55d 02:23:37 Removing intermediate container 2bb9d560b55d 02:23:37 ---> efcc18f9b5d5 02:23:37 Step 4/10 : WORKDIR /device-sdk-go 02:23:37 ---> Running in 2513ba88a29e 02:23:37 Removing intermediate container 2513ba88a29e 02:23:37 ---> 593b3ce861be 02:23:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:23:37 ---> Running in f540b16da935 02:23:38 Removing intermediate container f540b16da935 02:23:38 ---> 647e4bef164c 02:23:38 Step 6/10 : RUN apk add --update --no-cache make git 02:23:38 ---> Running in 851b4221a171 02:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:23:40 OK: 266 MiB in 52 packages 02:23:41 Removing intermediate container 851b4221a171 02:23:41 ---> e5657995e511 02:23:41 Step 7/10 : COPY go.mod vendor* ./ 02:23:43 ---> acc7be70e9b4 02:23:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:23:43 ---> Running in 3490f445bf4c 02:25:35 Removing intermediate container 3490f445bf4c 02:25:35 ---> 73a6f0f9f6e4 02:25:35 Step 9/10 : COPY . . 02:25:35 ---> f3f7fdd02615 02:25:35 Step 10/10 : RUN ${MAKE} 02:25:35 ---> Running in 501ab7f59d3c 02:25:35 noop 02:25:35 Removing intermediate container 501ab7f59d3c 02:25:35 ---> a65be4021b20 02:25:35 Successfully built a65be4021b20 02:25:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:35 + docker inspect -f . ci-base-image-arm64 02:25:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:25:35 prd-ubuntu20.04-docker-arm64-4c-16g-12185 does not seem to be running inside a container 02:25:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/313 -v /w/workspace/device-sdk-go/313:/w/workspace/device-sdk-go/313:rw,z -v /w/workspace/device-sdk-go/313@tmp:/w/workspace/device-sdk-go/313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:25:36 $ docker top 0af1d26facb4924bc908352bf2d6074a57ef5a1d75ac6d163e8236075aab5796 -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:37 + go version 02:25:37 go version go1.21.9 linux/arm64 [Pipeline] } 02:25:37 $ docker stop --time=1 0af1d26facb4924bc908352bf2d6074a57ef5a1d75ac6d163e8236075aab5796 02:25:39 $ docker rm -f --volumes 0af1d26facb4924bc908352bf2d6074a57ef5a1d75ac6d163e8236075aab5796 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:39 + docker inspect -f . ci-base-image-arm64 02:25:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:25:40 prd-ubuntu20.04-docker-arm64-4c-16g-12185 does not seem to be running inside a container 02:25:40 $ 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/313 -v /w/workspace/device-sdk-go/313:/w/workspace/device-sdk-go/313:rw,z -v /w/workspace/device-sdk-go/313@tmp:/w/workspace/device-sdk-go/313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:25:42 $ docker top adbc81da7c894b18fa5f2e1cdcdd7e7927ca247f9951b871bbe2c13b760f71ba -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:43 + git config --global --add safe.directory /w/workspace/device-sdk-go/313 [Pipeline] fileExists [Pipeline] sh 02:25:43 + make test 02:25:43 go test -race -coverprofile=coverage.out ./... 02:26:30 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:29:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:29:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:29:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:29:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:29:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:30:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.113s coverage: 26.0% of statements 02:30:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.185s coverage: 79.4% of statements 02:30:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:30:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:30:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.261s coverage: 86.0% of statements 02:30:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:30:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.500s coverage: 45.2% of statements 02:30:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.175s coverage: 14.1% of statements 02:30:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.711s coverage: 44.6% of statements 02:30:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 02:30:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:30:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:30:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.387s coverage: 68.5% of statements 02:30:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.356s coverage: 89.2% of statements 02:30:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:30:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.235s coverage: 5.3% of statements 02:30:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:30:41 GO111MODULE=on go vet ./... 02:34:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:34:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:34:33 ./bin/test-attribution-txt.sh [Pipeline] echo 02:34:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:34:33 $ docker stop --time=1 adbc81da7c894b18fa5f2e1cdcdd7e7927ca247f9951b871bbe2c13b760f71ba 02:34:35 $ docker rm -f --volumes adbc81da7c894b18fa5f2e1cdcdd7e7927ca247f9951b871bbe2c13b760f71ba [Pipeline] // withDockerContainer [Pipeline] sh 02:34:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:34:38 Warning: overwriting stash ‘coverage-report’ 02:34:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:34:39 + ls -al . 02:34:39 total 380 02:34:39 drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 02:25 . 02:34:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 02:22 .. 02:34:39 -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 02:22 .dockerignore 02:34:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 02:22 .git 02:34:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 02:22 .github 02:34:39 -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 02:22 .gitignore 02:34:39 -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 02:22 .golangci.yml 02:34:39 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 02:22 CHANGELOG.md 02:34:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 02:22 GOVERNANCE.md 02:34:39 -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 02:22 Jenkinsfile 02:34:39 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 02:22 LICENSE 02:34:39 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 02:22 Makefile 02:34:39 -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 02:22 OWNERS.md 02:34:39 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 02:22 README.md 02:34:39 -rw-rw-r-- 1 jenkins jenkins 12 Oct 1 02:18 VERSION 02:34:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 02:22 bin 02:34:39 -rw-r--r-- 1 jenkins jenkins 128349 Oct 1 02:30 coverage.out 02:34:39 drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 02:22 example 02:34:39 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 1 02:22 go.mod 02:34:39 -rw-rw-r-- 1 jenkins jenkins 101462 Oct 1 02:22 go.sum 02:34:39 drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 02:22 internal 02:34:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 02:22 openapi 02:34:39 drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 02:22 pkg 02:34:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 02:22 snap 02:34:39 -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 02:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:39 + 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=0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd --label arch=arm64 --label version=3.2.0-dev.38 . 02:34:40 Sending build context to Docker daemon 13.24MB 02:34:40 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:34:40 Step 2/24 : FROM ${BASE} AS builder 02:34:40 ---> a65be4021b20 02:34:40 Step 3/24 : ARG MAKE=make build 02:34:40 ---> Running in ba51214fc14d 02:34:40 Removing intermediate container ba51214fc14d 02:34:40 ---> abf74b7565d2 02:34:40 Step 4/24 : WORKDIR /device-sdk-go 02:34:41 ---> Running in d0c1be80f502 02:34:41 Removing intermediate container d0c1be80f502 02:34:41 ---> bf34e82fe31c 02:34:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:34:41 ---> Running in 88c0074c988a 02:34:41 Removing intermediate container 88c0074c988a 02:34:41 ---> e39827dab3e9 02:34:41 Step 6/24 : RUN apk add --update --no-cache make git 02:34:41 ---> Running in 83ee69df31ee 02:34:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:34:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:34:44 OK: 266 MiB in 52 packages 02:34:45 Removing intermediate container 83ee69df31ee 02:34:45 ---> 1453e7f008bd 02:34:45 Step 7/24 : COPY go.mod vendor* ./ 02:34:45 ---> 5e198c39712c 02:34:45 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:45 ---> Running in 9ada40c5d850 02:34:49 Removing intermediate container 9ada40c5d850 02:34:49 ---> 3d0482d350f7 02:34:49 Step 9/24 : COPY . . 02:34:49 ---> 112c6b8f6952 02:34:49 Step 10/24 : RUN ${MAKE} 02:34:49 ---> Running in 7795168dca48 02:34:50 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.38" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:38:27 Removing intermediate container 7795168dca48 02:38:27 ---> dac6a39f34eb 02:38:27 Step 11/24 : FROM alpine:3.18 02:38:27 3.18: Pulling from library/alpine 02:38:27 720f3032cd11: Pulling fs layer 02:38:27 720f3032cd11: Download complete 02:38:27 720f3032cd11: Pull complete 02:38:27 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 02:38:27 Status: Downloaded newer image for alpine:3.18 02:38:27 ---> 3e834921e367 02:38:27 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:38:27 ---> Running in 1f101a0c5d6e 02:38:27 Removing intermediate container 1f101a0c5d6e 02:38:27 ---> 82bd7522561a 02:38:27 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:38:27 ---> Running in 78f411203ee4 02:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:38:27 (1/1) Installing dumb-init (1.2.5-r2) 02:38:27 Executing busybox-1.36.1-r7.trigger 02:38:27 OK: 8 MiB in 16 packages 02:38:27 Removing intermediate container 78f411203ee4 02:38:27 ---> 42665c9096fb 02:38:27 Step 14/24 : RUN apk --no-cache upgrade 02:38:27 ---> Running in bc733b57fb65 02:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:38:27 OK: 8 MiB in 16 packages 02:38:28 Removing intermediate container bc733b57fb65 02:38:28 ---> f794a11982a4 02:38:28 Step 15/24 : WORKDIR / 02:38:28 ---> Running in 8e69842ba491 02:38:28 Removing intermediate container 8e69842ba491 02:38:28 ---> 7ca54e227819 02:38:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:38:29 ---> d69046055ddf 02:38:29 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:38:31 ---> 7ce55a0251ad 02:38:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:38:32 ---> a944157b631a 02:38:32 Step 19/24 : EXPOSE 59999 02:38:32 ---> Running in c1aca654eadc 02:38:32 Removing intermediate container c1aca654eadc 02:38:32 ---> 0cf0264dba87 02:38:32 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:38:32 ---> Running in 21df0b79a3b7 02:38:32 Removing intermediate container 21df0b79a3b7 02:38:32 ---> a15da107aef1 02:38:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:38:32 ---> Running in 43ba02c9df90 02:38:33 Removing intermediate container 43ba02c9df90 02:38:33 ---> 9dd0ef7a7f12 02:38:33 Step 22/24 : LABEL arch=arm64 02:38:33 ---> Running in 50598b6e7782 02:38:33 Removing intermediate container 50598b6e7782 02:38:33 ---> 0370482c6b47 02:38:33 Step 23/24 : LABEL git_sha=0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd 02:38:33 ---> Running in ebb639f8df24 02:38:33 Removing intermediate container ebb639f8df24 02:38:33 ---> 06e8672c6fad 02:38:33 Step 24/24 : LABEL version=3.2.0-dev.38 02:38:33 ---> Running in 8888737a7733 02:38:34 Removing intermediate container 8888737a7733 02:38:34 ---> 19f3d19ca67b 02:38:34 [Warning] One or more build-args [ARCH] were not consumed 02:38:34 Successfully built 19f3d19ca67b 02:38:34 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 02:38:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:34 02:38:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:35 arm64: Pulling from edgex-lftools-log-publisher 02:38:35 8998bd30e6a1: Pulling fs layer 02:38:35 04944245beec: Pulling fs layer 02:38:35 699f458cf7ca: Pulling fs layer 02:38:35 765212b225bb: Pulling fs layer 02:38:35 f23df028b6ca: Pulling fs layer 02:38:35 d65c8cfc05b1: Pulling fs layer 02:38:35 2437ff75d9bd: Pulling fs layer 02:38:35 f23df028b6ca: Waiting 02:38:35 d65c8cfc05b1: Waiting 02:38:35 765212b225bb: Waiting 02:38:35 2437ff75d9bd: Waiting 02:38:35 04944245beec: Verifying Checksum 02:38:35 04944245beec: Download complete 02:38:35 765212b225bb: Download complete 02:38:35 f23df028b6ca: Download complete 02:38:35 d65c8cfc05b1: Verifying Checksum 02:38:35 d65c8cfc05b1: Download complete 02:38:35 699f458cf7ca: Verifying Checksum 02:38:35 699f458cf7ca: Download complete 02:38:36 8998bd30e6a1: Verifying Checksum 02:38:36 8998bd30e6a1: Download complete 02:38:38 2437ff75d9bd: Verifying Checksum 02:38:38 2437ff75d9bd: Download complete 02:38:41 8998bd30e6a1: Pull complete 02:38:41 04944245beec: Pull complete 02:38:42 699f458cf7ca: Pull complete 02:38:43 765212b225bb: Pull complete 02:38:44 f23df028b6ca: Pull complete 02:38:44 d65c8cfc05b1: Pull complete 02:39:02 2437ff75d9bd: Pull complete 02:39:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:02 prd-ubuntu20.04-docker-arm64-4c-16g-12185 does not seem to be running inside a container 02:39:02 $ 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/313 -v /w/workspace/device-sdk-go/313:/w/workspace/device-sdk-go/313:rw,z -v /w/workspace/device-sdk-go/313@tmp:/w/workspace/device-sdk-go/313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:39:05 $ docker top 51ab506f449d7f6b9cc60c07f85e43e8aa8dd7739cfd39377d63d0c74979e2bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:06 ---> job-cost.sh 02:39:06 lf-activate-venv: SKIPPING 02:39:06 INFO: No Stack... 02:39:06 INFO: Retrieving Pricing Info for: v3-standard-4 02:39:07 INFO: Archiving Costs [Pipeline] sh 02:39:08 + cat /w/workspace/device-sdk-go/313/archives/cost.csv 02:39:08 + cut -d, -f6 [Pipeline] lock 02:39:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-313-stack-cost] 02:39:08 Resource [jenkins-edgexfoundry-device-sdk-go-main-313-stack-cost] did not exist. Created. 02:39:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-313-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:39:08 /w/workspace/device-sdk-go/313@tmp/durable-370908c4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:39:09 + echo total: 0.10999999940395355 [Pipeline] stash 02:39:09 Warning: overwriting stash ‘stack-cost’ 02:39:09 Stashed 1 file(s) [Pipeline] } 02:39:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-313-stack-cost] [Pipeline] // lock [Pipeline] } 02:39:09 $ docker stop --time=1 51ab506f449d7f6b9cc60c07f85e43e8aa8dd7739cfd39377d63d0c74979e2bb 02:39:11 $ docker rm -f --volumes 51ab506f449d7f6b9cc60c07f85e43e8aa8dd7739cfd39377d63d0c74979e2bb [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 02:39:12 provisioning config files... 02:39:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8239554146913182094tmp [Pipeline] { [Pipeline] sh 02:39:12 + set +x 02:39:12 + + curl -s https://codecov.io/bashbash 02:39:12 -s -- 02:39:12 02:39:12 _____ _ 02:39:12 / ____| | | 02:39:12 | | ___ __| | ___ ___ _____ __ 02:39:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:39:12 | |___| (_) | (_| | __/ (_| (_) \ V / 02:39:12 \_____\___/ \__,_|\___|\___\___/ \_/ 02:39:12 Bash-1.0.6 02:39:12 02:39:12 02:39:12 ==> git version 2.25.1 found 02:39:12 ==> 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 02:39:12 Release-Date: 2020-01-08 02:39:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:39:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:39:12 ==> Jenkins CI detected. 02:39:12 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 02:39:12 project root: . 02:39:12 --> token set from env 02:39:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:39:12 ==> Running gcov in . (disable via -X gcov) 02:39:12 ==> Python coveragepy not found 02:39:12 ==> Searching for coverage reports in: 02:39:12 + . 02:39:12 -> Found 1 reports 02:39:12 ==> Detecting git/mercurial file structure 02:39:12 ==> Reading reports 02:39:12 + ./coverage.out bytes=128349 02:39:12 ==> Appending adjustments 02:39:12 https://docs.codecov.io/docs/fixing-reports 02:39:12 + Found adjustments 02:39:12 ==> Gzipping contents 02:39:12 20K /tmp/codecov.irPrpJ.gz 02:39:12 ==> Uploading reports 02:39:12 url: https://codecov.io 02:39:12 query: branch=main&commit=0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd&build=313&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F313%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:39:12 -> Pinging Codecov 02:39:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd&build=313&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F313%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:39:15 -> Uploading to 02:39:15 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd/451c7352-8c56-46c2-8875-d59e02e53a98.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241001%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241001T023914Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=3428eba8795c6f0c926e7488ffb9d0c7a6334ad6a34a576c1ee8d75bb44a9a9b 02:39:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:39:15 Dload Upload Total Spent Left Speed 02:39:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17705 0 0 100 17705 0 76978 --:--:-- --:--:-- --:--:-- 76978 02:39:15 -> Reports have been successfully queued for processing at upstream connect error or disconnect/reset before headers. reset reason: connection terminationhttps://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd [Pipeline] } 02:39:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:39:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:39:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:39:16 02:39:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:39:16 latest: Pulling from edgex-devops/edgex-snyk-go 02:39:16 619be1103602: Already exists 02:39:16 f8ea3408117e: Pulling fs layer 02:39:16 91320369b822: Pulling fs layer 02:39:16 0406650e8295: Pulling fs layer 02:39:16 4f4fb700ef54: Pulling fs layer 02:39:16 96d80e3f36e1: Pulling fs layer 02:39:16 bcf3aedb951c: Pulling fs layer 02:39:16 4f4fb700ef54: Waiting 02:39:16 bcf3aedb951c: Waiting 02:39:16 96d80e3f36e1: Waiting 02:39:16 0406650e8295: Verifying Checksum 02:39:16 0406650e8295: Download complete 02:39:16 f8ea3408117e: Verifying Checksum 02:39:16 f8ea3408117e: Download complete 02:39:16 4f4fb700ef54: Verifying Checksum 02:39:16 4f4fb700ef54: Download complete 02:39:16 f8ea3408117e: Pull complete 02:39:16 96d80e3f36e1: Verifying Checksum 02:39:16 96d80e3f36e1: Download complete 02:39:16 91320369b822: Verifying Checksum 02:39:16 91320369b822: Download complete 02:39:17 bcf3aedb951c: Verifying Checksum 02:39:17 bcf3aedb951c: Download complete 02:39:20 91320369b822: Pull complete 02:39:20 0406650e8295: Pull complete 02:39:20 4f4fb700ef54: Pull complete 02:39:20 96d80e3f36e1: Pull complete 02:39:23 bcf3aedb951c: Pull complete 02:39:23 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 02:39:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:39:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:23 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:39:23 $ 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 02:39:28 $ docker top dee3ed5e70c32b5ac7a67bb6953a42335270d5f97afbac0fc983a2849c1c4680 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 02:39:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 02:39:29 + set -o pipefail 02:39:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 02:39:37 02:39:37 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 02:39:37 02:39:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/7df8bcf4-42b5-494f-a81f-d0eed9513552 02:39:37 02:39:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:39:37 02:39:37 02:39:37 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:39:37 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:39:37 $ docker stop --time=1 dee3ed5e70c32b5ac7a67bb6953a42335270d5f97afbac0fc983a2849c1c4680 02:39:42 $ docker rm -f --volumes dee3ed5e70c32b5ac7a67bb6953a42335270d5f97afbac0fc983a2849c1c4680 [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 02:39:42 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:42 provisioning config files... 02:39:42 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16125501006333797130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:43 --> edgex-publish-swagger.sh 02:39:43 === Publish openapi/v3 API === 02:39:43 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 02:39:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 02:39:43 % Total % Received % Xferd Average Speed Time Time Time Current 02:39:43 Dload Upload Total Spent Left Speed 02:39:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 281 67722 --:--:-- --:--:-- --:--:-- 68003 02:39:43 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 02:39:43 [Pipeline] } 02:39:43 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 02:39:43 + git log --format=format:%s -1 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd [Pipeline] sh 02:39:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:44 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:39:44 $ 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 02:39:45 $ docker top 284f201144bb7cdadbf6912d904e1fdcfefd4be4d1443b0615b864efcdfedd21 -eo pid,comm 02:39:45 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). 02:39:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:45 [ssh-agent] Looking for ssh-agent implementation... 02:39:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:45 $ docker exec 284f201144bb7cdadbf6912d904e1fdcfefd4be4d1443b0615b864efcdfedd21 ssh-agent 02:39:45 SSH_AUTH_SOCK=/tmp/ssh-U9SdJJcE84bY/agent.32 02:39:45 SSH_AGENT_PID=38 02:39:45 Running ssh-add (command line suppressed) 02:39:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1244626398461557963.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1244626398461557963.key) 02:39:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:46 + git semver tag 02:39:46 2024-10-01 02:39:46,211 [run_tag] DEBUG tag force:False 02:39:46 2024-10-01 02:39:46,211 [check_head_tag] DEBUG check head tag 02:39:46 2024-10-01 02:39:46,212 [execute] INFO git cat-file --batch-check 02:39:46 2024-10-01 02:39:46,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:39:46 2024-10-01 02:39:46,214 [execute] INFO git cat-file --batch 02:39:46 2024-10-01 02:39:46,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:39:46 2024-10-01 02:39:46,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:39:46 2024-10-01 02:39:46,244 [execute] INFO git tag -a v3.2.0-dev.38 -m v3.2.0-dev.38 02:39:46 2024-10-01 02:39:46,244 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.38', '-m', 'v3.2.0-dev.38'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 02:39:46 2024-10-01 02:39:46,248 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:39:46 3.2.0-dev.38 [Pipeline] } 02:39:46 $ docker exec --env ******** --env ******** 284f201144bb7cdadbf6912d904e1fdcfefd4be4d1443b0615b864efcdfedd21 ssh-agent -k 02:39:46 unset SSH_AUTH_SOCK; 02:39:46 unset SSH_AGENT_PID; 02:39:46 echo Agent pid 38 killed; 02:39:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:46 + git semver [Pipeline] } 02:39:47 $ docker stop --time=1 284f201144bb7cdadbf6912d904e1fdcfefd4be4d1443b0615b864efcdfedd21 02:39:48 $ docker rm -f --volumes 284f201144bb7cdadbf6912d904e1fdcfefd4be4d1443b0615b864efcdfedd21 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:48 02:39:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:49 0.23.1-centos7: Pulling from edgex-lftools 02:39:49 ab5ef0e58194: Pulling fs layer 02:39:49 9712f1f96733: Pulling fs layer 02:39:49 63f879dbbcfc: Pulling fs layer 02:39:49 0d9ebad4ef96: Pulling fs layer 02:39:49 e9a5061849ea: Pulling fs layer 02:39:49 d747dcd14b5f: Pulling fs layer 02:39:49 2de7ff778b66: Pulling fs layer 02:39:49 0d9ebad4ef96: Waiting 02:39:49 e9a5061849ea: Waiting 02:39:49 9712f1f96733: Verifying Checksum 02:39:49 9712f1f96733: Download complete 02:39:49 63f879dbbcfc: Verifying Checksum 02:39:49 63f879dbbcfc: Download complete 02:39:49 e9a5061849ea: Download complete 02:39:49 d747dcd14b5f: Verifying Checksum 02:39:49 d747dcd14b5f: Download complete 02:39:49 0d9ebad4ef96: Verifying Checksum 02:39:49 0d9ebad4ef96: Download complete 02:39:49 ab5ef0e58194: Verifying Checksum 02:39:49 ab5ef0e58194: Download complete 02:39:49 2de7ff778b66: Download complete 02:39:52 ab5ef0e58194: Pull complete 02:39:52 9712f1f96733: Pull complete 02:39:53 63f879dbbcfc: Pull complete 02:39:56 0d9ebad4ef96: Pull complete 02:39:56 e9a5061849ea: Pull complete 02:39:56 d747dcd14b5f: Pull complete 02:39:57 2de7ff778b66: Pull complete 02:39:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:39:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:57 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:39:57 $ 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 02:40:02 $ docker top 3ed330f76baadb8d5859e7c66b927637bd1b188d7b9fac76cc2c066ab23192b8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:40:02 provisioning config files... 02:40:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3522792808561456238tmp 02:40:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1159654315085594421tmp 02:40:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7899950743515119635tmp [Pipeline] { [Pipeline] echo 02:40:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:40:03 ---> sigul-configuration.sh 02:40:03 gpg: directory `/root/.gnupg' created 02:40:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:40:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:40:03 gpg: keyring `/root/.gnupg/secring.gpg' created 02:40:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:40:03 gpg: CAST5 encrypted data 02:40:03 gpg: encrypted with 1 passphrase 02:40:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:40:03 + mkdir /home/jenkins 02:40:03 + mkdir /home/jenkins/sigul [Pipeline] sh 02:40:03 + 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 02:40:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:40:04 ---> sigul-install.sh 02:40:04 Sigul already installed; skipping installation. [Pipeline] sh 02:40:04 + git tag --list 02:40:04 0.7.1 02:40:04 delhi-tag 02:40:04 v1.0.0 02:40:04 v1.1.0 02:40:04 v1.1.1 02:40:04 v1.1.2 02:40:04 v1.2.0 02:40:04 v1.2.1 02:40:04 v1.2.2 02:40:04 v1.2.3 02:40:04 v1.3.0 02:40:04 v1.4.0 02:40:04 v2.0.0 02:40:04 v2.1.0 02:40:04 v2.1.1 02:40:04 v2.2.0 02:40:04 v2.3.0 02:40:04 v2.3.1 02:40:04 v3.0 02:40:04 v3.0.0 02:40:04 v3.0.1-dev.1 02:40:04 v3.1 02:40:04 v3.1.0 02:40:04 v3.1.0-dev.1 02:40:04 v3.1.0-dev.10 02:40:04 v3.1.0-dev.11 02:40:04 v3.1.0-dev.12 02:40:04 v3.1.0-dev.13 02:40:04 v3.1.0-dev.14 02:40:04 v3.1.0-dev.15 02:40:04 v3.1.0-dev.16 02:40:04 v3.1.0-dev.17 02:40:04 v3.1.0-dev.18 02:40:04 v3.1.0-dev.19 02:40:04 v3.1.0-dev.2 02:40:04 v3.1.0-dev.20 02:40:04 v3.1.0-dev.21 02:40:04 v3.1.0-dev.22 02:40:04 v3.1.0-dev.23 02:40:04 v3.1.0-dev.24 02:40:04 v3.1.0-dev.25 02:40:04 v3.1.0-dev.26 02:40:04 v3.1.0-dev.27 02:40:04 v3.1.0-dev.28 02:40:04 v3.1.0-dev.29 02:40:04 v3.1.0-dev.3 02:40:04 v3.1.0-dev.30 02:40:04 v3.1.0-dev.31 02:40:04 v3.1.0-dev.32 02:40:04 v3.1.0-dev.33 02:40:04 v3.1.0-dev.34 02:40:04 v3.1.0-dev.35 02:40:04 v3.1.0-dev.36 02:40:04 v3.1.0-dev.37 02:40:04 v3.1.0-dev.38 02:40:04 v3.1.0-dev.39 02:40:04 v3.1.0-dev.4 02:40:04 v3.1.0-dev.40 02:40:04 v3.1.0-dev.41 02:40:04 v3.1.0-dev.5 02:40:04 v3.1.0-dev.6 02:40:04 v3.1.0-dev.7 02:40:04 v3.1.0-dev.8 02:40:04 v3.1.0-dev.9 02:40:04 v3.1.1 02:40:04 v3.1.1-dev.1 02:40:04 v3.2.0-dev.1 02:40:04 v3.2.0-dev.10 02:40:04 v3.2.0-dev.11 02:40:04 v3.2.0-dev.12 02:40:04 v3.2.0-dev.13 02:40:04 v3.2.0-dev.14 02:40:04 v3.2.0-dev.15 02:40:04 v3.2.0-dev.16 02:40:04 v3.2.0-dev.17 02:40:04 v3.2.0-dev.18 02:40:04 v3.2.0-dev.19 02:40:04 v3.2.0-dev.2 02:40:04 v3.2.0-dev.20 02:40:04 v3.2.0-dev.21 02:40:04 v3.2.0-dev.22 02:40:04 v3.2.0-dev.23 02:40:04 v3.2.0-dev.24 02:40:04 v3.2.0-dev.25 02:40:04 v3.2.0-dev.26 02:40:04 v3.2.0-dev.27 02:40:04 v3.2.0-dev.28 02:40:04 v3.2.0-dev.29 02:40:04 v3.2.0-dev.3 02:40:04 v3.2.0-dev.30 02:40:04 v3.2.0-dev.31 02:40:04 v3.2.0-dev.32 02:40:04 v3.2.0-dev.33 02:40:04 v3.2.0-dev.34 02:40:04 v3.2.0-dev.35 02:40:04 v3.2.0-dev.36 02:40:04 v3.2.0-dev.37 02:40:04 v3.2.0-dev.38 02:40:04 v3.2.0-dev.4 02:40:04 v3.2.0-dev.5 02:40:04 v3.2.0-dev.6 02:40:04 v3.2.0-dev.7 02:40:04 v3.2.0-dev.8 02:40:04 v3.2.0-dev.9 [Pipeline] sh 02:40:04 + lftools sign git-tag v3.2.0-dev.38 02:40:05 Signing Git tag with Sigul... 02:40:05 Signing v3.2.0-dev.38 [Pipeline] echo 02:40:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:40:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:40:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:40:05 $ docker stop --time=1 3ed330f76baadb8d5859e7c66b927637bd1b188d7b9fac76cc2c066ab23192b8 02:40:07 $ docker rm -f --volumes 3ed330f76baadb8d5859e7c66b927637bd1b188d7b9fac76cc2c066ab23192b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:40:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:08 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:40:08 $ 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 02:40:08 $ docker top 54d25541872e6661ea94089d4c3b75e4ddede7141b8d16dbf4be40b905a9cd34 -eo pid,comm 02:40:08 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). 02:40:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:08 [ssh-agent] Looking for ssh-agent implementation... 02:40:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:08 $ docker exec 54d25541872e6661ea94089d4c3b75e4ddede7141b8d16dbf4be40b905a9cd34 ssh-agent 02:40:08 SSH_AUTH_SOCK=/tmp/ssh-6Cmz3HLgrmre/agent.32 02:40:08 SSH_AGENT_PID=38 02:40:08 Running ssh-add (command line suppressed) 02:40:08 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5635668924445348046.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5635668924445348046.key) 02:40:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:09 + git semver bump pre 02:40:09 2024-10-01 02:40:09,376 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:40:09 2024-10-01 02:40:09,376 [bump_version] DEBUG bumping version:3.2.0-dev.38 on axis:pre with prefix:dev 02:40:09 2024-10-01 02:40:09,377 [bump_version] DEBUG bumped version:3.2.0-dev.39 02:40:09 2024-10-01 02:40:09,377 [write_version] DEBUG write version:3.2.0-dev.39 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 02:40:09 2024-10-01 02:40:09,377 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:40:09 2024-10-01 02:40:09,377 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:40:09 2024-10-01 02:40:09,379 [execute] INFO git cat-file --batch-check 02:40:09 2024-10-01 02:40:09,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:40:09 2024-10-01 02:40:09,385 [execute] INFO git cat-file --batch 02:40:09 2024-10-01 02:40:09,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:40:09 2024-10-01 02:40:09,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:40:09 3.2.0-dev.39 [Pipeline] } 02:40:09 $ docker exec --env ******** --env ******** 54d25541872e6661ea94089d4c3b75e4ddede7141b8d16dbf4be40b905a9cd34 ssh-agent -k 02:40:09 unset SSH_AUTH_SOCK; 02:40:09 unset SSH_AGENT_PID; 02:40:09 echo Agent pid 38 killed; 02:40:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:10 + git semver [Pipeline] } 02:40:10 $ docker stop --time=1 54d25541872e6661ea94089d4c3b75e4ddede7141b8d16dbf4be40b905a9cd34 02:40:11 $ docker rm -f --volumes 54d25541872e6661ea94089d4c3b75e4ddede7141b8d16dbf4be40b905a9cd34 [Pipeline] // withDockerContainer [Pipeline] sh 02:40:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:12 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:40:12 $ 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 02:40:12 $ docker top 3bb5b686ff25b5524ff734dc16af04de1c191c4b7a817275d306a6d7ca3c6f48 -eo pid,comm 02:40:12 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). 02:40:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:12 [ssh-agent] Looking for ssh-agent implementation... 02:40:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:13 $ docker exec 3bb5b686ff25b5524ff734dc16af04de1c191c4b7a817275d306a6d7ca3c6f48 ssh-agent 02:40:13 SSH_AUTH_SOCK=/tmp/ssh-1viuWqF5CETa/agent.32 02:40:13 SSH_AGENT_PID=38 02:40:13 Running ssh-add (command line suppressed) 02:40:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14530781928406569868.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14530781928406569868.key) 02:40:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:13 + git semver push 02:40:13 2024-10-01 02:40:13,709 [run_push] DEBUG push 02:40:13 2024-10-01 02:40:13,710 [execute] INFO git cat-file --batch-check 02:40:13 2024-10-01 02:40:13,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:40:13 2024-10-01 02:40:13,713 [execute] INFO git rev-list 1247ad6fb947eb54f894368f1be76840d248b72c -- 02:40:13 2024-10-01 02:40:13,713 [execute] DEBUG Popen(['git', 'rev-list', '1247ad6fb947eb54f894368f1be76840d248b72c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:40:13 2024-10-01 02:40:13,727 [execute] INFO git fetch -v origin 02:40:13 2024-10-01 02:40:13,727 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:40:14 2024-10-01 02:40:14,179 [run_push] DEBUG no remote changes detected 02:40:14 2024-10-01 02:40:14,179 [execute] INFO git push origin semver 02:40:14 2024-10-01 02:40:14,180 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:40:15 2024-10-01 02:40:14,999 [run_push] DEBUG push all version tags 02:40:15 2024-10-01 02:40:14,999 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:40:15 2024-10-01 02:40:15,000 [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) 02:40:15 2024-10-01 02:40:15,737 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:40:15 3.2.0-dev.39 [Pipeline] } 02:40:15 $ docker exec --env ******** --env ******** 3bb5b686ff25b5524ff734dc16af04de1c191c4b7a817275d306a6d7ca3c6f48 ssh-agent -k 02:40:15 unset SSH_AUTH_SOCK; 02:40:15 unset SSH_AGENT_PID; 02:40:15 echo Agent pid 38 killed; 02:40:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:16 + git semver [Pipeline] } 02:40:16 $ docker stop --time=1 3bb5b686ff25b5524ff734dc16af04de1c191c4b7a817275d306a6d7ca3c6f48 02:40:17 $ docker rm -f --volumes 3bb5b686ff25b5524ff734dc16af04de1c191c4b7a817275d306a6d7ca3c6f48 [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 02:40:18 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 02:40:18 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:40:18 total 16 02:40:18 drwxr-xr-x 3 root root 4096 Oct 1 02:22 . 02:40:18 drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 02:40 .. 02:40:18 drwxr-xr-x 2 root root 4096 Oct 1 02:22 cost 02:40:18 -rw-r--r-- 1 root root 85 Oct 1 02:22 cost.csv 02:40:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:40:18 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:40:18 total 16 02:40:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 02:22 . 02:40:18 drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 02:40 .. 02:40:18 drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 02:22 cost 02:40:18 -rw-r--r-- 1 jenkins jenkins 85 Oct 1 02:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:40:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:40:19 ---> package-listing.sh 02:40:19 ++ facter osfamily 02:40:19 ++ tr '[:upper:]' '[:lower:]' 02:40:19 + OS_FAMILY=debian 02:40:19 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 02:40:19 + START_PACKAGES=/tmp/packages_start.txt 02:40:19 + END_PACKAGES=/tmp/packages_end.txt 02:40:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:40:19 + PACKAGES=/tmp/packages_start.txt 02:40:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:40:19 + PACKAGES=/tmp/packages_end.txt 02:40:19 + case "${OS_FAMILY}" in 02:40:19 + dpkg -l 02:40:19 + grep '^ii' 02:40:19 + '[' -f /tmp/packages_start.txt ']' 02:40:19 + '[' -f /tmp/packages_end.txt ']' 02:40:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:40:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:40:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 02:40:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 02:40:20 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 02:40:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:40:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:20 prd-ubuntu20.04-docker-8c-8g-12184 does not seem to be running inside a container 02:40:20 $ 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 02:40:21 $ docker top e40ef1f608e5804eaa14b1121705da74d878b2384e517bad10c321c9e24ae8f6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:21 + touch /tmp/pre-build-complete [Pipeline] sh 02:40:22 + mkdir -p /var/log/sysstat [Pipeline] sh 02:40:22 + ls /var/log/sa-host 02:40:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:22 provisioning config files... 02:40:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18149523164059627362tmp [Pipeline] { [Pipeline] echo 02:40:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:40:22 ---> create-netrc.sh [Pipeline] } 02:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:40:23 ---> python-tools-install.sh [Pipeline] echo 02:40:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:40:23 ---> sudo-logs.sh 02:40:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:40:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:40:23 ---> job-cost.sh 02:40:23 lf-activate-venv: SKIPPING 02:40:23 DEBUG: total: 0.2199999988079071 02:40:23 INFO: Retrieving Stack Cost... 02:40:24 INFO: Retrieving Pricing Info for: v3-standard-8 02:40:24 INFO: Archiving Costs [Pipeline] echo 02:40:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:40:24 ---> logs-deploy.sh 02:40:24 lf-activate-venv: SKIPPING 02:40:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/313 02:40:24 INFO: archiving workspace using pattern(s): 02:40:25 Archives upload complete. 02:40:25 INFO: archiving logs to Nexus