Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 473fc5204b06f8a03d3e358a646b11d6e900bdaa 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-ssh3274179192868943277.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-ssh16478596178504574948.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-ssh10984959980079764450.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-ssh16681063609958842733.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-ssh5032430016828944682.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12620 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 473fc5204b06f8a03d3e358a646b11d6e900bdaa (main) Commit message: "Merge pull request #1630 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.60" > 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 473fc5204b06f8a03d3e358a646b11d6e900bdaa # timeout=10 > git rev-list --no-walk 63adea828cf4ed1d876d09a9d3feb5428c04fd58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:28:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:28:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:28:05 ========================================================= 06:28:05 EdgeX Global Pipelines Version Info 06:28:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:28:05 ------------------- 06:28:05 stable info: 06:28:05 ------------------- 06:28:05 Commited By: Cherry Wang cherry@iotechsys.com 06:28:05 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:28:05 Message: update stable to v1.0.264 06:28:06 ------------------- 06:28:06 experimental info: 06:28:06 ------------------- 06:28:06 Commited By: Cherry Wang cherry@iotechsys.com 06:28:06 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:28:06 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 473fc5204b06f8a03d3e358a646b11d6e900bdaa [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 473fc52 [Pipeline] echo 06:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:07 provisioning config files... 06:28:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1024608307851546126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:07 ---> ****-login.sh 06:28:07 nexus3.edgexfoundry.org:10001 06:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:07 Configure a credential helper to remove this warning. See 06:28:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:07 06:28:07 Login Succeeded 06:28:07 nexus3.edgexfoundry.org:10002 06:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:08 Configure a credential helper to remove this warning. See 06:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:08 06:28:08 Login Succeeded 06:28:08 nexus3.edgexfoundry.org:10003 06:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:08 Configure a credential helper to remove this warning. See 06:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:08 06:28:08 Login Succeeded 06:28:08 nexus3.edgexfoundry.org:10004 06:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:08 Configure a credential helper to remove this warning. See 06:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:08 06:28:08 Login Succeeded 06:28:08 ****.io 06:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:08 Configure a credential helper to remove this warning. See 06:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:08 06:28:08 Login Succeeded 06:28:08 ---> ****-login.sh ends [Pipeline] } 06:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:28:09 + git rev-list -1 --merges 473fc5204b06f8a03d3e358a646b11d6e900bdaa~1..473fc5204b06f8a03d3e358a646b11d6e900bdaa [Pipeline] echo 06:28:09 -----------> git rev-list -1 --merges 473fc5204b06f8a03d3e358a646b11d6e900bdaa~1..473fc5204b06f8a03d3e358a646b11d6e900bdaa 473fc5204b06f8a03d3e358a646b11d6e900bdaa 06:28:09 473fc5204b06f8a03d3e358a646b11d6e900bdaa [false] [Pipeline] sh 06:28:09 + git log --format=format:%s -1 473fc5204b06f8a03d3e358a646b11d6e900bdaa [Pipeline] echo 06:28:09 ========================================================= 06:28:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:28:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:09 + git log --format=format:%s -1 473fc5204b06f8a03d3e358a646b11d6e900bdaa [Pipeline] echo 06:28:09 [semverPrep] GIT_COMMIT: 473fc5204b06f8a03d3e358a646b11d6e900bdaa, Commit Message: Merge pull request #1630 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.60 [Pipeline] echo 06:28:09 [semverPrep] This is not a build commit. [Pipeline] sh 06:28:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:10 + grep -v github /etc/ssh/ssh_known_hosts 06:28:10 + [ -e /tmp/ssh_known_hosts ] 06:28:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:28:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:28:10 + sudo tee -a /etc/ssh/ssh_known_hosts 06:28:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:10 06:28:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:10 0.1.4: Pulling from edgex-devops/py-git-semver 06:28:10 b85a868b505f: Pulling fs layer 06:28:10 e2be974225ed: Pulling fs layer 06:28:10 339a4e72a1f5: Pulling fs layer 06:28:10 988bab9f4d93: Pulling fs layer 06:28:10 1469e6f7b9e6: Pulling fs layer 06:28:10 eaf3925da568: Pulling fs layer 06:28:10 bab4dde63d76: Pulling fs layer 06:28:10 bde34c3a00c8: Pulling fs layer 06:28:10 b352a97aabf1: Pulling fs layer 06:28:10 4872d77fe225: Pulling fs layer 06:28:10 5851b861e8e6: Pulling fs layer 06:28:10 1469e6f7b9e6: Waiting 06:28:10 eaf3925da568: Waiting 06:28:10 bab4dde63d76: Waiting 06:28:10 4872d77fe225: Waiting 06:28:10 5851b861e8e6: Waiting 06:28:10 bde34c3a00c8: Waiting 06:28:10 b352a97aabf1: Waiting 06:28:10 988bab9f4d93: Waiting 06:28:10 e2be974225ed: Verifying Checksum 06:28:10 e2be974225ed: Download complete 06:28:10 988bab9f4d93: Verifying Checksum 06:28:10 988bab9f4d93: Download complete 06:28:10 1469e6f7b9e6: Verifying Checksum 06:28:10 1469e6f7b9e6: Download complete 06:28:10 339a4e72a1f5: Verifying Checksum 06:28:10 339a4e72a1f5: Download complete 06:28:10 eaf3925da568: Verifying Checksum 06:28:10 eaf3925da568: Download complete 06:28:11 bde34c3a00c8: Verifying Checksum 06:28:11 bde34c3a00c8: Download complete 06:28:11 b352a97aabf1: Verifying Checksum 06:28:11 b352a97aabf1: Download complete 06:28:11 4872d77fe225: Download complete 06:28:11 5851b861e8e6: Verifying Checksum 06:28:11 5851b861e8e6: Download complete 06:28:11 b85a868b505f: Download complete 06:28:11 bab4dde63d76: Verifying Checksum 06:28:12 b85a868b505f: Pull complete 06:28:12 e2be974225ed: Pull complete 06:28:12 339a4e72a1f5: Pull complete 06:28:13 988bab9f4d93: Pull complete 06:28:13 1469e6f7b9e6: Pull complete 06:28:13 eaf3925da568: Pull complete 06:28:14 bab4dde63d76: Pull complete 06:28:15 bde34c3a00c8: Pull complete 06:28:15 b352a97aabf1: Pull complete 06:28:15 4872d77fe225: Pull complete 06:28:15 5851b861e8e6: Pull complete 06:28:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:15 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:28:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:28:17 $ docker top e06205e91828af20fac0cf9b1138d00279868913b95d03a31c3efd23a98b2819 -eo pid,comm 06:28:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:28:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:18 [ssh-agent] Looking for ssh-agent implementation... 06:28:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:18 $ docker exec e06205e91828af20fac0cf9b1138d00279868913b95d03a31c3efd23a98b2819 ssh-agent 06:28:18 SSH_AUTH_SOCK=/tmp/ssh-akMV3AuClfPb/agent.31 06:28:18 SSH_AGENT_PID=38 06:28:18 Running ssh-add (command line suppressed) 06:28:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13609496333004734302.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13609496333004734302.key) 06:28:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:18 + git tag --points-at HEAD [Pipeline] } 06:28:18 $ docker exec --env ******** --env ******** e06205e91828af20fac0cf9b1138d00279868913b95d03a31c3efd23a98b2819 ssh-agent -k 06:28:18 unset SSH_AUTH_SOCK; 06:28:18 unset SSH_AGENT_PID; 06:28:18 echo Agent pid 38 killed; 06:28:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:28:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:18 [ssh-agent] Looking for ssh-agent implementation... 06:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:19 $ docker exec e06205e91828af20fac0cf9b1138d00279868913b95d03a31c3efd23a98b2819 ssh-agent 06:28:19 SSH_AUTH_SOCK=/tmp/ssh-UZVTTWGXAZDa/agent.70 06:28:19 SSH_AGENT_PID=77 06:28:19 Running ssh-add (command line suppressed) 06:28:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9236987783420788935.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9236987783420788935.key) 06:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:19 + git semver init 06:28:19 2024-10-02 06:28:19,734 [run_init] DEBUG init version:0.0.0 force:False 06:28:19 2024-10-02 06:28:19,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:28:19 2024-10-02 06:28:19,736 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:28:19 2024-10-02 06:28:19,736 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:28:21 2024-10-02 06:28:21,710 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:28:21 2024-10-02 06:28:21,710 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:28:21 2024-10-02 06:28:21,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:21 2024-10-02 06:28:21,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:21 3.2.0-dev.40 [Pipeline] } 06:28:21 $ docker exec --env ******** --env ******** e06205e91828af20fac0cf9b1138d00279868913b95d03a31c3efd23a98b2819 ssh-agent -k 06:28:21 unset SSH_AUTH_SOCK; 06:28:21 unset SSH_AGENT_PID; 06:28:21 echo Agent pid 77 killed; 06:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:22 + git semver [Pipeline] } 06:28:22 $ docker stop --time=1 e06205e91828af20fac0cf9b1138d00279868913b95d03a31c3efd23a98b2819 06:28:23 $ docker rm -f --volumes e06205e91828af20fac0cf9b1138d00279868913b95d03a31c3efd23a98b2819 [Pipeline] // withDockerContainer [Pipeline] sh 06:28:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:28:24 Stashed 1 file(s) [Pipeline] echo 06:28:24 [edgeXSemver]: initialized semver on version 3.2.0-dev.40 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:24 provisioning config files... 06:28:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2181674166914101958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:24 ---> ****-login.sh 06:28:24 nexus3.edgexfoundry.org:10001 06:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:24 Configure a credential helper to remove this warning. See 06:28:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:24 06:28:24 Login Succeeded 06:28:24 nexus3.edgexfoundry.org:10002 06:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:24 Configure a credential helper to remove this warning. See 06:28:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:24 06:28:24 Login Succeeded 06:28:24 nexus3.edgexfoundry.org:10003 06:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:25 Configure a credential helper to remove this warning. See 06:28:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:25 06:28:25 Login Succeeded 06:28:25 nexus3.edgexfoundry.org:10004 06:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:25 Configure a credential helper to remove this warning. See 06:28:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:25 06:28:25 Login Succeeded 06:28:25 ****.io 06:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:25 Configure a credential helper to remove this warning. See 06:28:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:25 06:28:25 Login Succeeded 06:28:25 ---> ****-login.sh ends [Pipeline] } 06:28:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:28:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:28:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:28:25 ========================================================= 06:28:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:28:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:25 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:28:25 Sending build context to Docker daemon 25.38MB 06:28:25 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:28:25 Step 2/10 : FROM ${BASE} AS builder 06:28:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:28:26 619be1103602: Pulling fs layer 06:28:26 7862e08f4a3e: Pulling fs layer 06:28:26 5df492c9dc93: Pulling fs layer 06:28:26 7629e6793208: Pulling fs layer 06:28:26 4f4fb700ef54: Pulling fs layer 06:28:26 fb5054dd5b73: Pulling fs layer 06:28:26 eeca6798cff9: Pulling fs layer 06:28:26 7629e6793208: Waiting 06:28:26 4f4fb700ef54: Waiting 06:28:26 fb5054dd5b73: Waiting 06:28:26 aa269ceb94a6: Pulling fs layer 06:28:26 ada007ff1a6a: Pulling fs layer 06:28:26 eeca6798cff9: Waiting 06:28:26 aa269ceb94a6: Waiting 06:28:26 ada007ff1a6a: Waiting 06:28:26 7862e08f4a3e: Verifying Checksum 06:28:26 7862e08f4a3e: Download complete 06:28:26 7629e6793208: Download complete 06:28:26 4f4fb700ef54: Verifying Checksum 06:28:26 4f4fb700ef54: Download complete 06:28:26 fb5054dd5b73: Verifying Checksum 06:28:26 fb5054dd5b73: Download complete 06:28:26 619be1103602: Verifying Checksum 06:28:26 619be1103602: Download complete 06:28:26 eeca6798cff9: Verifying Checksum 06:28:26 eeca6798cff9: Download complete 06:28:26 619be1103602: Pull complete 06:28:26 ada007ff1a6a: Verifying Checksum 06:28:26 ada007ff1a6a: Download complete 06:28:26 7862e08f4a3e: Pull complete 06:28:26 5df492c9dc93: Verifying Checksum 06:28:26 5df492c9dc93: Download complete 06:28:26 aa269ceb94a6: Verifying Checksum 06:28:26 aa269ceb94a6: Download complete 06:28:29 5df492c9dc93: Pull complete 06:28:29 7629e6793208: Pull complete 06:28:29 4f4fb700ef54: Pull complete 06:28:29 fb5054dd5b73: Pull complete 06:28:29 eeca6798cff9: Pull complete 06:28:32 aa269ceb94a6: Pull complete 06:28:32 ada007ff1a6a: Pull complete 06:28:32 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:28:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:28:32 ---> f489d0715acc 06:28:32 Step 3/10 : ARG MAKE=make build 06:28:36 ---> Running in 3db983d8750e 06:28:36 Removing intermediate container 3db983d8750e 06:28:36 ---> 160e205d4b4b 06:28:36 Step 4/10 : WORKDIR /device-sdk-go 06:28:36 ---> Running in cc75ba7e7317 06:28:36 Removing intermediate container cc75ba7e7317 06:28:36 ---> 494399757ace 06:28:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:28:36 ---> Running in 36af373322f4 06:28:36 Removing intermediate container 36af373322f4 06:28:36 ---> ced40c061085 06:28:36 Step 6/10 : RUN apk add --update --no-cache make git 06:28:36 ---> Running in 16d1423de55e 06:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:28:36 OK: 264 MiB in 52 packages 06:28:36 Removing intermediate container 16d1423de55e 06:28:36 ---> 68ce2d5ce080 06:28:36 Step 7/10 : COPY go.mod vendor* ./ 06:28:37 ---> 4938e3b02318 06:28:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:28:37 ---> Running in a8e2e288e9a1 06:28:39 Still waiting to schedule task 06:28:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:29:23 Removing intermediate container a8e2e288e9a1 06:29:23 ---> ced01fc5c839 06:29:23 Step 9/10 : COPY . . 06:29:23 ---> 8bea1ed854f0 06:29:23 Step 10/10 : RUN ${MAKE} 06:29:23 ---> Running in 91fbc0f7ad79 06:29:23 noop 06:29:23 Removing intermediate container 91fbc0f7ad79 06:29:23 ---> ad57cf80762d 06:29:23 Successfully built ad57cf80762d 06:29:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:24 + docker inspect -f . ci-base-image-x86_64 06:29:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:24 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:29:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:29:24 $ docker top 98f56c57a4e87f12d337d11fe4579df91680c917aea6025ebfd786a2a62db327 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:24 + go version 06:29:24 go version go1.21.9 linux/amd64 [Pipeline] } 06:29:24 $ docker stop --time=1 98f56c57a4e87f12d337d11fe4579df91680c917aea6025ebfd786a2a62db327 06:29:26 $ docker rm -f --volumes 98f56c57a4e87f12d337d11fe4579df91680c917aea6025ebfd786a2a62db327 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:26 + docker inspect -f . ci-base-image-x86_64 06:29:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:26 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:29:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:29:27 $ docker top 0242dc1150e2b014c2199b76bb844d32e7817a67139c97079cf27c11f6acd366 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:29:27 + make test 06:29:27 go test -race -coverprofile=coverage.out ./... 06:29:34 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:30:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:30:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:30:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:30:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:30:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:30:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 26.0% of statements 06:30:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.034s coverage: 79.4% of statements 06:30:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:30:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:30:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:30:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements 06:30:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 06:30:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:30:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:30:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 45.2% of statements 06:30:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:30:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.035s coverage: 14.1% of statements 06:30:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.098s coverage: 44.6% of statements 06:30:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.5% of statements 06:30:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.085s coverage: 89.2% of statements 06:30:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.3% of statements 06:30:45 GO111MODULE=on go vet ./... 06:30:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:30:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:30:49 ./bin/test-attribution-txt.sh 06:30:49 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 06:30:49 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 06:30:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:30:49 $ docker stop --time=1 0242dc1150e2b014c2199b76bb844d32e7817a67139c97079cf27c11f6acd366 06:30:53 $ docker rm -f --volumes 0242dc1150e2b014c2199b76bb844d32e7817a67139c97079cf27c11f6acd366 [Pipeline] // withDockerContainer [Pipeline] sh 06:30:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:30:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:30:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:30:58 + ls -al . 06:30:58 total 384 06:30:58 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 06:29 . 06:30:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 06:27 .. 06:30:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 06:28 .dockerignore 06:30:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 06:30 .git 06:30:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 06:28 .github 06:30:58 -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 06:28 .gitignore 06:30:58 -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 06:28 .golangci.yml 06:30:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 06:28 .semver 06:30:58 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 06:28 CHANGELOG.md 06:30:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 06:28 GOVERNANCE.md 06:30:58 -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 06:28 Jenkinsfile 06:30:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 06:28 LICENSE 06:30:58 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 06:28 Makefile 06:30:58 -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 06:28 OWNERS.md 06:30:58 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 06:28 README.md 06:30:58 -rw-rw-r-- 1 jenkins jenkins 12 Oct 2 06:28 VERSION 06:30:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 06:28 bin 06:30:58 -rw-r--r-- 1 jenkins jenkins 128347 Oct 2 06:30 coverage.out 06:30:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 06:28 example 06:30:58 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 2 06:28 go.mod 06:30:58 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 2 06:28 go.sum 06:30:58 drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 06:28 internal 06:30:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 06:28 openapi 06:30:58 drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 06:28 pkg 06:30:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 06:28 snap 06:30:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 06:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:58 + 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=473fc5204b06f8a03d3e358a646b11d6e900bdaa --label arch=amd64 --label version=3.2.0-dev.40 . 06:30:58 Sending build context to Docker daemon 25.5MB 06:30:58 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:30:58 Step 2/24 : FROM ${BASE} AS builder 06:30:58 ---> ad57cf80762d 06:30:58 Step 3/24 : ARG MAKE=make build 06:30:58 ---> Running in 09fdfe483ea0 06:30:58 Removing intermediate container 09fdfe483ea0 06:30:58 ---> 5f4619a6455d 06:30:58 Step 4/24 : WORKDIR /device-sdk-go 06:30:59 ---> Running in d52fd79554d6 06:30:59 Removing intermediate container d52fd79554d6 06:30:59 ---> f91563b9c94b 06:30:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:30:59 ---> Running in f8d3fc872937 06:30:59 Removing intermediate container f8d3fc872937 06:30:59 ---> 77d9e899088a 06:30:59 Step 6/24 : RUN apk add --update --no-cache make git 06:30:59 ---> Running in c4712facdc06 06:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:30:59 OK: 264 MiB in 52 packages 06:30:59 Removing intermediate container c4712facdc06 06:30:59 ---> 856ec0767258 06:30:59 Step 7/24 : COPY go.mod vendor* ./ 06:31:00 ---> 138ca7332606 06:31:00 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:00 ---> Running in aa5243aba291 06:31:00 Removing intermediate container aa5243aba291 06:31:00 ---> 8f01bfb9e1cb 06:31:00 Step 9/24 : COPY . . 06:31:01 ---> 4475de166d85 06:31:01 Step 10/24 : RUN ${MAKE} 06:31:01 ---> Running in 6903ca90a730 06:31:01 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.40 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.40" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:31:33 Removing intermediate container 6903ca90a730 06:31:33 ---> 685e74f1fcbd 06:31:33 Step 11/24 : FROM alpine:3.18 06:31:33 3.18: Pulling from library/alpine 06:31:33 1cc3d825d8b2: Pulling fs layer 06:31:33 1cc3d825d8b2: Verifying Checksum 06:31:33 1cc3d825d8b2: Download complete 06:31:33 1cc3d825d8b2: Pull complete 06:31:33 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 06:31:33 Status: Downloaded newer image for alpine:3.18 06:31:33 ---> 2c64cf60f6f0 06:31:33 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:31:33 ---> Running in 18d5bdd94916 06:31:33 Removing intermediate container 18d5bdd94916 06:31:33 ---> 9ebfbafacc60 06:31:33 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:31:33 ---> Running in 6ae5f3c97716 06:31:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:31:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:31:33 (1/1) Installing dumb-init (1.2.5-r2) 06:31:33 Executing busybox-1.36.1-r7.trigger 06:31:33 OK: 7 MiB in 16 packages 06:31:33 Removing intermediate container 6ae5f3c97716 06:31:33 ---> 0c68e60f33e2 06:31:33 Step 14/24 : RUN apk --no-cache upgrade 06:31:33 ---> Running in 69681089dbda 06:31:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:31:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:31:33 OK: 7 MiB in 16 packages 06:31:33 Removing intermediate container 69681089dbda 06:31:33 ---> e2c7a8e80239 06:31:33 Step 15/24 : WORKDIR / 06:31:33 ---> Running in 41f733db1adc 06:31:33 Removing intermediate container 41f733db1adc 06:31:33 ---> 39b8b9bf7ed4 06:31:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:31:33 ---> 23fee0b89fee 06:31:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:31:33 ---> 33a0c99d9c62 06:31:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:31:34 ---> e12dc2ba623a 06:31:34 Step 19/24 : EXPOSE 59999 06:31:34 ---> Running in 3c558d7ff7cd 06:31:34 Removing intermediate container 3c558d7ff7cd 06:31:34 ---> 1b4cc6a952c1 06:31:34 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:31:34 ---> Running in 128bb1dd12ca 06:31:34 Removing intermediate container 128bb1dd12ca 06:31:34 ---> 5f8903ac0e74 06:31:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:31:34 ---> Running in 6bede409a151 06:31:34 Removing intermediate container 6bede409a151 06:31:34 ---> 4b93455b3c31 06:31:34 Step 22/24 : LABEL arch=amd64 06:31:34 ---> Running in 18c105d6ea67 06:31:34 Removing intermediate container 18c105d6ea67 06:31:34 ---> fb5376d43234 06:31:34 Step 23/24 : LABEL git_sha=473fc5204b06f8a03d3e358a646b11d6e900bdaa 06:31:34 ---> Running in 8a87398fcd0a 06:31:34 Removing intermediate container 8a87398fcd0a 06:31:34 ---> 74c74e4add5a 06:31:34 Step 24/24 : LABEL version=3.2.0-dev.40 06:31:34 ---> Running in 87b996800b0a 06:31:34 Removing intermediate container 87b996800b0a 06:31:34 ---> 76088aa9667b 06:31:34 [Warning] One or more build-args [ARCH] were not consumed 06:31:34 Successfully built 76088aa9667b 06:31:34 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:31:35 06:31:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:31:35 latest: Pulling from edgex-lftools-log-publisher 06:31:35 5eb5b503b376: Pulling fs layer 06:31:35 5c69ac0246d0: Pulling fs layer 06:31:35 ec43610c2a17: Pulling fs layer 06:31:35 3a2ae6a8a46f: Pulling fs layer 06:31:35 33b1e0a273af: Pulling fs layer 06:31:35 5d3b04190fa2: Pulling fs layer 06:31:35 2f39f015ded8: Pulling fs layer 06:31:35 33b1e0a273af: Waiting 06:31:35 5d3b04190fa2: Waiting 06:31:35 2f39f015ded8: Waiting 06:31:35 3a2ae6a8a46f: Waiting 06:31:35 5c69ac0246d0: Verifying Checksum 06:31:35 5c69ac0246d0: Download complete 06:31:35 3a2ae6a8a46f: Verifying Checksum 06:31:35 3a2ae6a8a46f: Download complete 06:31:35 33b1e0a273af: Verifying Checksum 06:31:35 33b1e0a273af: Download complete 06:31:35 5d3b04190fa2: Verifying Checksum 06:31:35 5d3b04190fa2: Download complete 06:31:35 ec43610c2a17: Verifying Checksum 06:31:35 ec43610c2a17: Download complete 06:31:35 5eb5b503b376: Verifying Checksum 06:31:35 5eb5b503b376: Download complete 06:31:36 2f39f015ded8: Download complete 06:31:36 5eb5b503b376: Pull complete 06:31:37 5c69ac0246d0: Pull complete 06:31:37 ec43610c2a17: Pull complete 06:31:37 3a2ae6a8a46f: Pull complete 06:31:37 33b1e0a273af: Pull complete 06:31:37 5d3b04190fa2: Pull complete 06:31:42 2f39f015ded8: Pull complete 06:31:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:31:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:31:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:42 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:31:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:31:45 $ docker top 0d23464fcaefee437c4b12ed389c29026f3d641342bc6d2ce4392b22fc8688bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:45 ---> job-cost.sh 06:31:45 lf-activate-venv: SKIPPING 06:31:45 INFO: No Stack... 06:31:45 INFO: Retrieving Pricing Info for: v3-standard-8 06:31:46 INFO: Archiving Costs [Pipeline] sh 06:31:46 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:31:46 + cut -d, -f6 [Pipeline] lock 06:31:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-315-stack-cost] 06:31:46 Resource [jenkins-edgexfoundry-device-sdk-go-main-315-stack-cost] did not exist. Created. 06:31:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-315-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:31:46 + echo total: 0.2199999988079071 [Pipeline] stash 06:31:46 Stashed 1 file(s) [Pipeline] } 06:31:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-315-stack-cost] [Pipeline] // lock [Pipeline] } 06:31:46 $ docker stop --time=1 0d23464fcaefee437c4b12ed389c29026f3d641342bc6d2ce4392b22fc8688bf 06:31:47 $ docker rm -f --volumes 0d23464fcaefee437c4b12ed389c29026f3d641342bc6d2ce4392b22fc8688bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:34:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12642 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:34:09 Running in /w/workspace/device-sdk-go/315 [Pipeline] { [Pipeline] checkout 06:34:12 The recommended git tool is: git 06:34:18 using credential edgex-jenkins-ssh 06:34:18 Cloning the remote Git repository 06:34:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:34:18 > git init /w/workspace/device-sdk-go/315 # timeout=10 06:34:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:34:19 > git --version # timeout=10 06:34:19 > git --version # 'git version 2.25.1' 06:34:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:34:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:34:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:34:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:34:24 Avoid second fetch 06:34:24 Checking out Revision 473fc5204b06f8a03d3e358a646b11d6e900bdaa (main) 06:34:25 Commit message: "Merge pull request #1630 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.60" 06:34:24 > git config core.sparsecheckout # timeout=10 06:34:24 > git checkout -f 473fc5204b06f8a03d3e358a646b11d6e900bdaa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:34:30 % Total % Received % Xferd Average Speed Time Time Time Current 06:34:30 Dload Upload Total Spent Left Speed 06:34:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh 06:34:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:34:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:34:31 + sudo tee /etc/docker/daemon.new 06:34:31 { 06:34:31 "registry-mirrors": [ 06:34:31 "https://nexus3.edgexfoundry.org:10001" 06:34:31 ], 06:34:31 "bip": "10.250.0.254/24", 06:34:31 "hosts": [ 06:34:31 "tcp://0.0.0.0:5555", 06:34:31 "unix:///var/run/docker.sock" 06:34:31 ], 06:34:31 "mtu": 1458, 06:34:31 "selinux-enabled": true, 06:34:31 "seccomp-profile": "/etc/docker/seccomp.json" 06:34:31 } [Pipeline] sh 06:34:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:34:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:50 provisioning config files... 06:34:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/315@tmp/config6018906542030063068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:50 ---> ****-login.sh 06:34:50 nexus3.edgexfoundry.org:10001 06:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:51 Configure a credential helper to remove this warning. See 06:34:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:51 06:34:51 Login Succeeded 06:34:51 nexus3.edgexfoundry.org:10002 06:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:51 Configure a credential helper to remove this warning. See 06:34:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:51 06:34:51 Login Succeeded 06:34:51 nexus3.edgexfoundry.org:10003 06:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:52 Configure a credential helper to remove this warning. See 06:34:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:52 06:34:52 Login Succeeded 06:34:52 nexus3.edgexfoundry.org:10004 06:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:52 Configure a credential helper to remove this warning. See 06:34:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:52 06:34:52 Login Succeeded 06:34:52 ****.io 06:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:53 Configure a credential helper to remove this warning. See 06:34:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:53 06:34:53 Login Succeeded 06:34:53 ---> ****-login.sh ends [Pipeline] } 06:34:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:34:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:34:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:34:53 ========================================================= 06:34:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:34:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:54 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:34:54 Sending build context to Docker daemon 13.14MB 06:34:54 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:34:54 Step 2/10 : FROM ${BASE} AS builder 06:34:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:34:55 c6b39de5b339: Pulling fs layer 06:34:55 a69c41024577: Pulling fs layer 06:34:55 d6de4b400683: Pulling fs layer 06:34:55 35cb2a7552d0: Pulling fs layer 06:34:55 4f4fb700ef54: Pulling fs layer 06:34:55 464afbd9ba4c: Pulling fs layer 06:34:55 00f215d4a9da: Pulling fs layer 06:34:55 d496ad576159: Pulling fs layer 06:34:55 464afbd9ba4c: Waiting 06:34:55 00f215d4a9da: Waiting 06:34:55 d496ad576159: Waiting 06:34:55 35cb2a7552d0: Waiting 06:34:55 4f4fb700ef54: Waiting 06:34:55 a69c41024577: Verifying Checksum 06:34:55 a69c41024577: Download complete 06:34:55 35cb2a7552d0: Verifying Checksum 06:34:55 35cb2a7552d0: Download complete 06:34:55 4f4fb700ef54: Verifying Checksum 06:34:55 4f4fb700ef54: Download complete 06:34:55 c6b39de5b339: Download complete 06:34:55 464afbd9ba4c: Verifying Checksum 06:34:55 464afbd9ba4c: Download complete 06:34:55 d496ad576159: Verifying Checksum 06:34:55 d496ad576159: Download complete 06:34:56 c6b39de5b339: Pull complete 06:34:57 a69c41024577: Pull complete 06:34:57 d6de4b400683: Verifying Checksum 06:34:59 00f215d4a9da: Verifying Checksum 06:34:59 00f215d4a9da: Download complete 06:35:11 d6de4b400683: Pull complete 06:35:11 35cb2a7552d0: Pull complete 06:35:11 4f4fb700ef54: Pull complete 06:35:12 464afbd9ba4c: Pull complete 06:35:22 00f215d4a9da: Pull complete 06:35:22 d496ad576159: Pull complete 06:35:23 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:35:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:35:23 ---> f246e2811388 06:35:23 Step 3/10 : ARG MAKE=make build 06:35:24 ---> Running in 825f50aad6a7 06:35:24 Removing intermediate container 825f50aad6a7 06:35:24 ---> be1b7bd5bd37 06:35:24 Step 4/10 : WORKDIR /device-sdk-go 06:35:24 ---> Running in 2f01700ddc64 06:35:24 Removing intermediate container 2f01700ddc64 06:35:24 ---> df3bb58c6d32 06:35:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:35:24 ---> Running in 0eb97db35ec7 06:35:25 Removing intermediate container 0eb97db35ec7 06:35:25 ---> cb335134c094 06:35:25 Step 6/10 : RUN apk add --update --no-cache make git 06:35:25 ---> Running in 5ad7d2dfa9de 06:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:35:27 OK: 266 MiB in 52 packages 06:35:28 Removing intermediate container 5ad7d2dfa9de 06:35:28 ---> a8a70f8e42d6 06:35:28 Step 7/10 : COPY go.mod vendor* ./ 06:35:29 ---> dc52958ad95e 06:35:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:29 ---> Running in a74ca58e4654 06:37:21 Removing intermediate container a74ca58e4654 06:37:21 ---> 2a3ee35ce6d9 06:37:21 Step 9/10 : COPY . . 06:37:21 ---> 45f8bb35d45d 06:37:21 Step 10/10 : RUN ${MAKE} 06:37:21 ---> Running in 92c65898d515 06:37:22 noop 06:37:23 Removing intermediate container 92c65898d515 06:37:23 ---> 42c8b9dc7248 06:37:23 Successfully built 42c8b9dc7248 06:37:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:23 + docker inspect -f . ci-base-image-arm64 06:37:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:24 prd-ubuntu20.04-docker-arm64-4c-16g-12642 does not seem to be running inside a container 06:37:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/315 -v /w/workspace/device-sdk-go/315:/w/workspace/device-sdk-go/315:rw,z -v /w/workspace/device-sdk-go/315@tmp:/w/workspace/device-sdk-go/315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:37:25 $ docker top 02c70fdd324ed0143ab26ff2fc573be1858876ef9a7452cb16458491ae95ae04 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:26 + go version 06:37:26 go version go1.21.9 linux/arm64 [Pipeline] } 06:37:26 $ docker stop --time=1 02c70fdd324ed0143ab26ff2fc573be1858876ef9a7452cb16458491ae95ae04 06:37:28 $ docker rm -f --volumes 02c70fdd324ed0143ab26ff2fc573be1858876ef9a7452cb16458491ae95ae04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:28 + docker inspect -f . ci-base-image-arm64 06:37:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:29 prd-ubuntu20.04-docker-arm64-4c-16g-12642 does not seem to be running inside a container 06:37:29 $ 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/315 -v /w/workspace/device-sdk-go/315:/w/workspace/device-sdk-go/315:rw,z -v /w/workspace/device-sdk-go/315@tmp:/w/workspace/device-sdk-go/315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:37:30 $ docker top f8d1cfa6a464f5f53cebfcbcf8e4683c3a017955312e168e5ff4b3e987dfef69 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:31 + git config --global --add safe.directory /w/workspace/device-sdk-go/315 [Pipeline] fileExists [Pipeline] sh 06:37:32 + make test 06:37:32 go test -race -coverprofile=coverage.out ./... 06:38:19 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:42:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.137s coverage: 26.0% of statements 06:42:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.196s coverage: 79.4% of statements 06:43:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:43:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:43:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.324s coverage: 86.0% of statements 06:43:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:43:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.502s coverage: 45.2% of statements 06:43:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.185s coverage: 14.1% of statements 06:43:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.975s coverage: 44.6% of statements 06:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 06:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:43:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.405s coverage: 68.5% of statements 06:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.428s coverage: 89.2% of statements 06:43:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:43:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.305s coverage: 5.3% of statements 06:43:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:43:39 GO111MODULE=on go vet ./... 06:48:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:48:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:48:31 ./bin/test-attribution-txt.sh 06:48:31 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 06:48:31 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 06:48:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:48:31 $ docker stop --time=1 f8d1cfa6a464f5f53cebfcbcf8e4683c3a017955312e168e5ff4b3e987dfef69 06:48:33 $ docker rm -f --volumes f8d1cfa6a464f5f53cebfcbcf8e4683c3a017955312e168e5ff4b3e987dfef69 [Pipeline] // withDockerContainer [Pipeline] sh 06:48:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:48:35 Warning: overwriting stash ‘coverage-report’ 06:48:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:48:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:48:37 + ls -al . 06:48:37 total 380 06:48:37 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 06:37 . 06:48:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 06:34 .. 06:48:37 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 06:34 .dockerignore 06:48:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 06:34 .git 06:48:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 06:34 .github 06:48:37 -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 06:34 .gitignore 06:48:37 -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 06:34 .golangci.yml 06:48:37 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 06:34 CHANGELOG.md 06:48:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 06:34 GOVERNANCE.md 06:48:37 -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 06:34 Jenkinsfile 06:48:37 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 06:34 LICENSE 06:48:37 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 06:34 Makefile 06:48:37 -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 06:34 OWNERS.md 06:48:37 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 06:34 README.md 06:48:37 -rw-rw-r-- 1 jenkins jenkins 12 Oct 2 06:28 VERSION 06:48:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 06:34 bin 06:48:37 -rw-r--r-- 1 jenkins jenkins 128347 Oct 2 06:43 coverage.out 06:48:37 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 06:34 example 06:48:37 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 2 06:34 go.mod 06:48:37 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 2 06:34 go.sum 06:48:37 drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 06:34 internal 06:48:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 06:34 openapi 06:48:37 drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 06:34 pkg 06:48:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 06:34 snap 06:48:37 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 06:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:37 + 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=473fc5204b06f8a03d3e358a646b11d6e900bdaa --label arch=arm64 --label version=3.2.0-dev.40 . 06:48:38 Sending build context to Docker daemon 13.27MB 06:48:38 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:48:38 Step 2/24 : FROM ${BASE} AS builder 06:48:38 ---> 42c8b9dc7248 06:48:38 Step 3/24 : ARG MAKE=make build 06:48:38 ---> Running in 341bfc8249e1 06:48:38 Removing intermediate container 341bfc8249e1 06:48:38 ---> 1ffde7b2fc20 06:48:38 Step 4/24 : WORKDIR /device-sdk-go 06:48:38 ---> Running in 4f5d945f788e 06:48:39 Removing intermediate container 4f5d945f788e 06:48:39 ---> 1c3d5ceb7419 06:48:39 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:48:39 ---> Running in a946712dfeb2 06:48:39 Removing intermediate container a946712dfeb2 06:48:39 ---> 1020f0063cdc 06:48:39 Step 6/24 : RUN apk add --update --no-cache make git 06:48:39 ---> Running in cc4edcd0711f 06:48:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:48:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:48:42 OK: 266 MiB in 52 packages 06:48:42 Removing intermediate container cc4edcd0711f 06:48:42 ---> ef7e845902ea 06:48:42 Step 7/24 : COPY go.mod vendor* ./ 06:48:43 ---> 0d92139f56ee 06:48:43 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:48:43 ---> Running in d49d3a7a9338 06:48:45 Removing intermediate container d49d3a7a9338 06:48:45 ---> 562f6f2c66ae 06:48:45 Step 9/24 : COPY . . 06:48:47 ---> ad78c0002568 06:48:47 Step 10/24 : RUN ${MAKE} 06:48:47 ---> Running in 81fda6773b37 06:48:48 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.40 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.40" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:52:40 Removing intermediate container 81fda6773b37 06:52:40 ---> df98a9799582 06:52:40 Step 11/24 : FROM alpine:3.18 06:52:40 3.18: Pulling from library/alpine 06:52:40 720f3032cd11: Pulling fs layer 06:52:40 720f3032cd11: Verifying Checksum 06:52:40 720f3032cd11: Download complete 06:52:40 720f3032cd11: Pull complete 06:52:40 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 06:52:40 Status: Downloaded newer image for alpine:3.18 06:52:40 ---> 3e834921e367 06:52:40 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:52:40 ---> Running in 084d36ee4d97 06:52:40 Removing intermediate container 084d36ee4d97 06:52:40 ---> 10dd76fbc406 06:52:40 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:52:40 ---> Running in d02b1985d902 06:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:52:40 (1/1) Installing dumb-init (1.2.5-r2) 06:52:40 Executing busybox-1.36.1-r7.trigger 06:52:40 OK: 8 MiB in 16 packages 06:52:40 Removing intermediate container d02b1985d902 06:52:40 ---> 24607d6a7234 06:52:40 Step 14/24 : RUN apk --no-cache upgrade 06:52:40 ---> Running in d42b584e03e3 06:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:52:40 OK: 8 MiB in 16 packages 06:52:40 Removing intermediate container d42b584e03e3 06:52:40 ---> ad27e18e87e1 06:52:40 Step 15/24 : WORKDIR / 06:52:40 ---> Running in 79da872484ce 06:52:40 Removing intermediate container 79da872484ce 06:52:40 ---> b6fa05730ab3 06:52:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:52:40 ---> cffd9f1ac32a 06:52:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:52:42 ---> 13df1ce0e957 06:52:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:52:42 ---> f15ed0ae3b99 06:52:42 Step 19/24 : EXPOSE 59999 06:52:42 ---> Running in 5666825502b0 06:52:43 Removing intermediate container 5666825502b0 06:52:43 ---> f22daf819144 06:52:43 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:52:43 ---> Running in 7dfe1d6d3efa 06:52:43 Removing intermediate container 7dfe1d6d3efa 06:52:43 ---> 6d1a49649b1d 06:52:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:52:43 ---> Running in d9bb0acfaa01 06:52:44 Removing intermediate container d9bb0acfaa01 06:52:44 ---> d5a75b9a7172 06:52:44 Step 22/24 : LABEL arch=arm64 06:52:44 ---> Running in ea014bc0f99a 06:52:44 Removing intermediate container ea014bc0f99a 06:52:44 ---> 4aeb5e6f146d 06:52:44 Step 23/24 : LABEL git_sha=473fc5204b06f8a03d3e358a646b11d6e900bdaa 06:52:44 ---> Running in 0acb4d049724 06:52:44 Removing intermediate container 0acb4d049724 06:52:44 ---> e2af790d4273 06:52:44 Step 24/24 : LABEL version=3.2.0-dev.40 06:52:45 ---> Running in bb6b4d02d0b6 06:52:45 Removing intermediate container bb6b4d02d0b6 06:52:45 ---> 100fcdd3610c 06:52:45 [Warning] One or more build-args [ARCH] were not consumed 06:52:45 Successfully built 100fcdd3610c 06:52:45 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:45 06:52:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:46 arm64: Pulling from edgex-lftools-log-publisher 06:52:46 8998bd30e6a1: Pulling fs layer 06:52:46 04944245beec: Pulling fs layer 06:52:46 699f458cf7ca: Pulling fs layer 06:52:46 765212b225bb: Pulling fs layer 06:52:46 f23df028b6ca: Pulling fs layer 06:52:46 d65c8cfc05b1: Pulling fs layer 06:52:46 2437ff75d9bd: Pulling fs layer 06:52:46 765212b225bb: Waiting 06:52:46 f23df028b6ca: Waiting 06:52:46 d65c8cfc05b1: Waiting 06:52:46 2437ff75d9bd: Waiting 06:52:46 04944245beec: Verifying Checksum 06:52:46 04944245beec: Download complete 06:52:46 765212b225bb: Verifying Checksum 06:52:46 765212b225bb: Download complete 06:52:46 f23df028b6ca: Verifying Checksum 06:52:46 f23df028b6ca: Download complete 06:52:46 d65c8cfc05b1: Verifying Checksum 06:52:46 d65c8cfc05b1: Download complete 06:52:46 699f458cf7ca: Verifying Checksum 06:52:46 699f458cf7ca: Download complete 06:52:47 8998bd30e6a1: Verifying Checksum 06:52:47 8998bd30e6a1: Download complete 06:52:49 2437ff75d9bd: Verifying Checksum 06:52:49 2437ff75d9bd: Download complete 06:52:51 8998bd30e6a1: Pull complete 06:52:52 04944245beec: Pull complete 06:52:54 699f458cf7ca: Pull complete 06:52:54 765212b225bb: Pull complete 06:52:55 f23df028b6ca: Pull complete 06:52:55 d65c8cfc05b1: Pull complete 06:53:13 2437ff75d9bd: Pull complete 06:53:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:53:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:13 prd-ubuntu20.04-docker-arm64-4c-16g-12642 does not seem to be running inside a container 06:53:14 $ 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/315 -v /w/workspace/device-sdk-go/315:/w/workspace/device-sdk-go/315:rw,z -v /w/workspace/device-sdk-go/315@tmp:/w/workspace/device-sdk-go/315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:53:17 $ docker top 41a9f37ab519b6ef724ee4f4d5b5ec43942332b6672f7f1d025e58a006a84784 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:18 ---> job-cost.sh 06:53:18 lf-activate-venv: SKIPPING 06:53:18 INFO: No Stack... 06:53:18 INFO: Retrieving Pricing Info for: v3-standard-4 06:53:19 INFO: Archiving Costs [Pipeline] sh 06:53:20 + cat /w/workspace/device-sdk-go/315/archives/cost.csv 06:53:20 + cut -d, -f6 [Pipeline] lock 06:53:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-315-stack-cost] 06:53:20 Resource [jenkins-edgexfoundry-device-sdk-go-main-315-stack-cost] did not exist. Created. 06:53:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-315-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:21 /w/workspace/device-sdk-go/315@tmp/durable-fb05a7ec/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:53:21 + echo total: 0.10999999940395355 [Pipeline] stash 06:53:21 Warning: overwriting stash ‘stack-cost’ 06:53:22 Stashed 1 file(s) [Pipeline] } 06:53:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-315-stack-cost] [Pipeline] // lock [Pipeline] } 06:53:22 $ docker stop --time=1 41a9f37ab519b6ef724ee4f4d5b5ec43942332b6672f7f1d025e58a006a84784 06:53:23 $ docker rm -f --volumes 41a9f37ab519b6ef724ee4f4d5b5ec43942332b6672f7f1d025e58a006a84784 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:53:24 provisioning config files... 06:53:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5884526492142305414tmp [Pipeline] { [Pipeline] sh 06:53:24 + set +x 06:53:24 + curl -s https://codecov.io/bash 06:53:24 + bash -s -- 06:53:24 06:53:24 _____ _ 06:53:24 / ____| | | 06:53:24 | | ___ __| | ___ ___ _____ __ 06:53:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:53:24 | |___| (_) | (_| | __/ (_| (_) \ V / 06:53:24 \_____\___/ \__,_|\___|\___\___/ \_/ 06:53:24 Bash-1.0.6 06:53:24 06:53:24 06:53:24 ==> git version 2.25.1 found 06:53:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:53:24 Release-Date: 2020-01-08 06:53:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:53:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:53:24 ==> Jenkins CI detected. 06:53:24 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:53:24 project root: . 06:53:24 --> token set from env 06:53:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:53:24 ==> Running gcov in . (disable via -X gcov) 06:53:24 ==> Python coveragepy not found 06:53:24 ==> Searching for coverage reports in: 06:53:24 + . 06:53:24 -> Found 1 reports 06:53:24 ==> Detecting git/mercurial file structure 06:53:24 ==> Reading reports 06:53:24 + ./coverage.out bytes=128347 06:53:24 ==> Appending adjustments 06:53:24 https://docs.codecov.io/docs/fixing-reports 06:53:24 + Found adjustments 06:53:24 ==> Gzipping contents 06:53:24 20K /tmp/codecov.qbuTG8.gz 06:53:24 ==> Uploading reports 06:53:24 url: https://codecov.io 06:53:24 query: branch=main&commit=473fc5204b06f8a03d3e358a646b11d6e900bdaa&build=315&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F315%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:53:24 -> Pinging Codecov 06:53:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=473fc5204b06f8a03d3e358a646b11d6e900bdaa&build=315&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F315%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:53:25 -> Uploading to 06:53:25 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/473fc5204b06f8a03d3e358a646b11d6e900bdaa/9f18a5ec-6c62-4abc-af69-bfc2d967786b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T065324Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d975da227462a512c222a132db99d81571673cc0dbfc15c83120519cb3f1c22f 06:53:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:53:25 Dload Upload Total Spent Left Speed 06:53:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17704 0 0 100 17704 0 73157 --:--:-- --:--:-- --:--:-- 73157 06:53:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/473fc5204b06f8a03d3e358a646b11d6e900bdaa [Pipeline] } 06:53:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:53:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:53:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:53:25 06:53:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:53:26 latest: Pulling from edgex-devops/edgex-snyk-go 06:53:26 619be1103602: Already exists 06:53:26 f8ea3408117e: Pulling fs layer 06:53:26 91320369b822: Pulling fs layer 06:53:26 0406650e8295: Pulling fs layer 06:53:26 4f4fb700ef54: Pulling fs layer 06:53:26 96d80e3f36e1: Pulling fs layer 06:53:26 bcf3aedb951c: Pulling fs layer 06:53:26 96d80e3f36e1: Waiting 06:53:26 bcf3aedb951c: Waiting 06:53:26 0406650e8295: Download complete 06:53:26 f8ea3408117e: Verifying Checksum 06:53:26 f8ea3408117e: Download complete 06:53:26 4f4fb700ef54: Download complete 06:53:26 f8ea3408117e: Pull complete 06:53:26 96d80e3f36e1: Verifying Checksum 06:53:26 96d80e3f36e1: Download complete 06:53:26 91320369b822: Verifying Checksum 06:53:26 91320369b822: Download complete 06:53:26 bcf3aedb951c: Verifying Checksum 06:53:26 bcf3aedb951c: Download complete 06:53:30 91320369b822: Pull complete 06:53:30 0406650e8295: Pull complete 06:53:30 4f4fb700ef54: Pull complete 06:53:30 96d80e3f36e1: Pull complete 06:53:32 bcf3aedb951c: Pull complete 06:53:32 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 06:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:53:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:32 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:53:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:53:37 $ docker top 43c5918575cf068ad389f2516451da1464db8def5e48b199629183e3cb23e5fb -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 06:53:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:53:37 + set -o pipefail 06:53:37 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:53:44 06:53:44 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 06:53:44 06:53:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/11e36586-1a24-4137-b56d-eca8cf50c3e1 06:53:44 06:53:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:53:44 06:53:44 06:53:44 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:53:44 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:53:44 $ docker stop --time=1 43c5918575cf068ad389f2516451da1464db8def5e48b199629183e3cb23e5fb 06:53:49 $ docker rm -f --volumes 43c5918575cf068ad389f2516451da1464db8def5e48b199629183e3cb23e5fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 06:53:50 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:50 provisioning config files... 06:53:50 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12192496583641790060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:50 --> edgex-publish-swagger.sh 06:53:50 === Publish openapi/v3 API === 06:53:50 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 06:53:50 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 06:53:50 % Total % Received % Xferd Average Speed Time Time Time Current 06:53:50 Dload Upload Total Spent Left Speed 06:53:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 448 105k --:--:-- --:--:-- --:--:-- 105k 100 37674 100 156 100 37518 448 105k --:--:-- --:--:-- --:--:-- 105k 06:53:50 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 06:53:50 [Pipeline] } 06:53:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:51 + git log --format=format:%s -1 473fc5204b06f8a03d3e358a646b11d6e900bdaa [Pipeline] sh 06:53:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:53:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:53:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:52 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:53:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:53:52 $ docker top 782c4a4758209dfb96cea9cba57fd94747979a1cca562175aa90b2aba9e2b3c1 -eo pid,comm 06:53:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:53:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:53:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:52 [ssh-agent] Looking for ssh-agent implementation... 06:53:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:52 $ docker exec 782c4a4758209dfb96cea9cba57fd94747979a1cca562175aa90b2aba9e2b3c1 ssh-agent 06:53:52 SSH_AUTH_SOCK=/tmp/ssh-FXPvSk9ipXG5/agent.32 06:53:52 SSH_AGENT_PID=38 06:53:52 Running ssh-add (command line suppressed) 06:53:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13543344590002810479.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13543344590002810479.key) 06:53:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:53 + git semver tag 06:53:53 2024-10-02 06:53:53,358 [run_tag] DEBUG tag force:False 06:53:53 2024-10-02 06:53:53,358 [check_head_tag] DEBUG check head tag 06:53:53 2024-10-02 06:53:53,361 [execute] INFO git cat-file --batch-check 06:53:53 2024-10-02 06:53:53,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:53:53 2024-10-02 06:53:53,366 [execute] INFO git cat-file --batch 06:53:53 2024-10-02 06:53:53,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:53:53 2024-10-02 06:53:53,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:53:53 2024-10-02 06:53:53,394 [execute] INFO git tag -a v3.2.0-dev.40 -m v3.2.0-dev.40 06:53:53 2024-10-02 06:53:53,394 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.40', '-m', 'v3.2.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:53:53 2024-10-02 06:53:53,399 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:53:53 3.2.0-dev.40 [Pipeline] } 06:53:53 $ docker exec --env ******** --env ******** 782c4a4758209dfb96cea9cba57fd94747979a1cca562175aa90b2aba9e2b3c1 ssh-agent -k 06:53:53 unset SSH_AUTH_SOCK; 06:53:53 unset SSH_AGENT_PID; 06:53:53 echo Agent pid 38 killed; 06:53:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:53:53 + git semver [Pipeline] } 06:53:54 $ docker stop --time=1 782c4a4758209dfb96cea9cba57fd94747979a1cca562175aa90b2aba9e2b3c1 06:53:55 $ docker rm -f --volumes 782c4a4758209dfb96cea9cba57fd94747979a1cca562175aa90b2aba9e2b3c1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:53:55 06:53:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:53:56 0.23.1-centos7: Pulling from edgex-lftools 06:53:56 ab5ef0e58194: Pulling fs layer 06:53:56 9712f1f96733: Pulling fs layer 06:53:56 63f879dbbcfc: Pulling fs layer 06:53:56 0d9ebad4ef96: Pulling fs layer 06:53:56 e9a5061849ea: Pulling fs layer 06:53:56 d747dcd14b5f: Pulling fs layer 06:53:56 2de7ff778b66: Pulling fs layer 06:53:56 0d9ebad4ef96: Waiting 06:53:56 2de7ff778b66: Waiting 06:53:56 e9a5061849ea: Waiting 06:53:56 9712f1f96733: Download complete 06:53:56 63f879dbbcfc: Verifying Checksum 06:53:56 63f879dbbcfc: Download complete 06:53:56 e9a5061849ea: Verifying Checksum 06:53:56 e9a5061849ea: Download complete 06:53:56 d747dcd14b5f: Verifying Checksum 06:53:56 d747dcd14b5f: Download complete 06:53:56 0d9ebad4ef96: Verifying Checksum 06:53:56 0d9ebad4ef96: Download complete 06:53:56 ab5ef0e58194: Verifying Checksum 06:53:56 ab5ef0e58194: Download complete 06:53:56 2de7ff778b66: Download complete 06:53:59 ab5ef0e58194: Pull complete 06:53:59 9712f1f96733: Pull complete 06:54:00 63f879dbbcfc: Pull complete 06:54:03 0d9ebad4ef96: Pull complete 06:54:03 e9a5061849ea: Pull complete 06:54:03 d747dcd14b5f: Pull complete 06:54:04 2de7ff778b66: Pull complete 06:54:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:54:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:54:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:04 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:54:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:54:09 $ docker top a3cfa635ea7d644ef9fa8213518f588b59ba0b6e7565ea28291256467a64f537 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:54:09 provisioning config files... 06:54:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17715891836961390753tmp 06:54:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3605550500608696992tmp 06:54:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17595845131795909982tmp [Pipeline] { [Pipeline] echo 06:54:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:54:10 ---> sigul-configuration.sh 06:54:10 gpg: directory `/root/.gnupg' created 06:54:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:54:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:54:10 gpg: keyring `/root/.gnupg/secring.gpg' created 06:54:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:54:10 gpg: CAST5 encrypted data 06:54:10 gpg: encrypted with 1 passphrase 06:54:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:54:10 + mkdir /home/jenkins 06:54:10 + mkdir /home/jenkins/sigul [Pipeline] sh 06:54:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:54:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:54:11 ---> sigul-install.sh 06:54:11 Sigul already installed; skipping installation. [Pipeline] sh 06:54:11 + git tag --list 06:54:11 0.7.1 06:54:11 delhi-tag 06:54:11 v1.0.0 06:54:11 v1.1.0 06:54:11 v1.1.1 06:54:11 v1.1.2 06:54:11 v1.2.0 06:54:11 v1.2.1 06:54:11 v1.2.2 06:54:11 v1.2.3 06:54:11 v1.3.0 06:54:11 v1.4.0 06:54:11 v2.0.0 06:54:11 v2.1.0 06:54:11 v2.1.1 06:54:11 v2.2.0 06:54:11 v2.3.0 06:54:11 v2.3.1 06:54:11 v3.0 06:54:11 v3.0.0 06:54:11 v3.0.1-dev.1 06:54:11 v3.1 06:54:11 v3.1.0 06:54:11 v3.1.0-dev.1 06:54:11 v3.1.0-dev.10 06:54:11 v3.1.0-dev.11 06:54:11 v3.1.0-dev.12 06:54:11 v3.1.0-dev.13 06:54:11 v3.1.0-dev.14 06:54:11 v3.1.0-dev.15 06:54:11 v3.1.0-dev.16 06:54:11 v3.1.0-dev.17 06:54:11 v3.1.0-dev.18 06:54:11 v3.1.0-dev.19 06:54:11 v3.1.0-dev.2 06:54:11 v3.1.0-dev.20 06:54:11 v3.1.0-dev.21 06:54:11 v3.1.0-dev.22 06:54:11 v3.1.0-dev.23 06:54:11 v3.1.0-dev.24 06:54:11 v3.1.0-dev.25 06:54:11 v3.1.0-dev.26 06:54:11 v3.1.0-dev.27 06:54:11 v3.1.0-dev.28 06:54:11 v3.1.0-dev.29 06:54:11 v3.1.0-dev.3 06:54:11 v3.1.0-dev.30 06:54:11 v3.1.0-dev.31 06:54:11 v3.1.0-dev.32 06:54:11 v3.1.0-dev.33 06:54:11 v3.1.0-dev.34 06:54:11 v3.1.0-dev.35 06:54:11 v3.1.0-dev.36 06:54:11 v3.1.0-dev.37 06:54:11 v3.1.0-dev.38 06:54:11 v3.1.0-dev.39 06:54:11 v3.1.0-dev.4 06:54:11 v3.1.0-dev.40 06:54:11 v3.1.0-dev.41 06:54:11 v3.1.0-dev.5 06:54:11 v3.1.0-dev.6 06:54:11 v3.1.0-dev.7 06:54:11 v3.1.0-dev.8 06:54:11 v3.1.0-dev.9 06:54:11 v3.1.1 06:54:11 v3.1.1-dev.1 06:54:11 v3.2.0-dev.1 06:54:11 v3.2.0-dev.10 06:54:11 v3.2.0-dev.11 06:54:11 v3.2.0-dev.12 06:54:11 v3.2.0-dev.13 06:54:11 v3.2.0-dev.14 06:54:11 v3.2.0-dev.15 06:54:11 v3.2.0-dev.16 06:54:11 v3.2.0-dev.17 06:54:11 v3.2.0-dev.18 06:54:11 v3.2.0-dev.19 06:54:11 v3.2.0-dev.2 06:54:11 v3.2.0-dev.20 06:54:11 v3.2.0-dev.21 06:54:11 v3.2.0-dev.22 06:54:11 v3.2.0-dev.23 06:54:11 v3.2.0-dev.24 06:54:11 v3.2.0-dev.25 06:54:11 v3.2.0-dev.26 06:54:11 v3.2.0-dev.27 06:54:11 v3.2.0-dev.28 06:54:11 v3.2.0-dev.29 06:54:11 v3.2.0-dev.3 06:54:11 v3.2.0-dev.30 06:54:11 v3.2.0-dev.31 06:54:11 v3.2.0-dev.32 06:54:11 v3.2.0-dev.33 06:54:11 v3.2.0-dev.34 06:54:11 v3.2.0-dev.35 06:54:11 v3.2.0-dev.36 06:54:11 v3.2.0-dev.37 06:54:11 v3.2.0-dev.38 06:54:11 v3.2.0-dev.39 06:54:11 v3.2.0-dev.4 06:54:11 v3.2.0-dev.40 06:54:11 v3.2.0-dev.5 06:54:11 v3.2.0-dev.6 06:54:11 v3.2.0-dev.7 06:54:11 v3.2.0-dev.8 06:54:11 v3.2.0-dev.9 [Pipeline] sh 06:54:11 + lftools sign git-tag v3.2.0-dev.40 06:54:12 Signing Git tag with Sigul... 06:54:12 Signing v3.2.0-dev.40 [Pipeline] echo 06:54:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:54:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:54:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:54:12 $ docker stop --time=1 a3cfa635ea7d644ef9fa8213518f588b59ba0b6e7565ea28291256467a64f537 06:54:14 $ docker rm -f --volumes a3cfa635ea7d644ef9fa8213518f588b59ba0b6e7565ea28291256467a64f537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:54:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:54:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:54:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:14 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:54:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:54:15 $ docker top 014ae189970dadacf67485b4266c1096fad9508e63d58e2355ecacdf393a36d3 -eo pid,comm 06:54:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:54:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:54:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:15 [ssh-agent] Looking for ssh-agent implementation... 06:54:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:15 $ docker exec 014ae189970dadacf67485b4266c1096fad9508e63d58e2355ecacdf393a36d3 ssh-agent 06:54:15 SSH_AUTH_SOCK=/tmp/ssh-Da9zrJG9qVPI/agent.32 06:54:15 SSH_AGENT_PID=38 06:54:15 Running ssh-add (command line suppressed) 06:54:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7405518183934629408.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7405518183934629408.key) 06:54:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:16 + git semver bump pre 06:54:16 2024-10-02 06:54:16,177 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:16 2024-10-02 06:54:16,177 [bump_version] DEBUG bumping version:3.2.0-dev.40 on axis:pre with prefix:dev 06:54:16 2024-10-02 06:54:16,178 [bump_version] DEBUG bumped version:3.2.0-dev.41 06:54:16 2024-10-02 06:54:16,178 [write_version] DEBUG write version:3.2.0-dev.41 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:54:16 2024-10-02 06:54:16,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:16 2024-10-02 06:54:16,178 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:16 2024-10-02 06:54:16,179 [execute] INFO git cat-file --batch-check 06:54:16 2024-10-02 06:54:16,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:54:16 2024-10-02 06:54:16,184 [execute] INFO git cat-file --batch 06:54:16 2024-10-02 06:54:16,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:54:16 2024-10-02 06:54:16,189 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:16 3.2.0-dev.41 [Pipeline] } 06:54:16 $ docker exec --env ******** --env ******** 014ae189970dadacf67485b4266c1096fad9508e63d58e2355ecacdf393a36d3 ssh-agent -k 06:54:16 unset SSH_AUTH_SOCK; 06:54:16 unset SSH_AGENT_PID; 06:54:16 echo Agent pid 38 killed; 06:54:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:54:16 + git semver [Pipeline] } 06:54:16 $ docker stop --time=1 014ae189970dadacf67485b4266c1096fad9508e63d58e2355ecacdf393a36d3 06:54:18 $ docker rm -f --volumes 014ae189970dadacf67485b4266c1096fad9508e63d58e2355ecacdf393a36d3 [Pipeline] // withDockerContainer [Pipeline] sh 06:54:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:54:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:19 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:54:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:54:19 $ docker top 5f166b2ca62e1a32530d709629a3913ff7f37f67912878ac37d6ba2ca58598a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:54:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:19 [ssh-agent] Looking for ssh-agent implementation... 06:54:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:19 $ docker exec 5f166b2ca62e1a32530d709629a3913ff7f37f67912878ac37d6ba2ca58598a7 ssh-agent 06:54:19 SSH_AUTH_SOCK=/tmp/ssh-n8aSvbi5iv5x/agent.33 06:54:19 SSH_AGENT_PID=39 06:54:19 Running ssh-add (command line suppressed) 06:54:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1592387550479936824.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1592387550479936824.key) 06:54:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:20 + git semver push 06:54:20 2024-10-02 06:54:20,240 [run_push] DEBUG push 06:54:20 2024-10-02 06:54:20,241 [execute] INFO git cat-file --batch-check 06:54:20 2024-10-02 06:54:20,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:54:20 2024-10-02 06:54:20,244 [execute] INFO git rev-list bc983ec6d920fac1beec7359ce802033e68c1d73 -- 06:54:20 2024-10-02 06:54:20,245 [execute] DEBUG Popen(['git', 'rev-list', 'bc983ec6d920fac1beec7359ce802033e68c1d73', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:54:20 2024-10-02 06:54:20,258 [execute] INFO git fetch -v origin 06:54:20 2024-10-02 06:54:20,258 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:54:20 2024-10-02 06:54:20,725 [run_push] DEBUG no remote changes detected 06:54:20 2024-10-02 06:54:20,725 [execute] INFO git push origin semver 06:54:20 2024-10-02 06:54:20,726 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:54:21 2024-10-02 06:54:21,391 [run_push] DEBUG push all version tags 06:54:21 2024-10-02 06:54:21,391 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:54:21 2024-10-02 06:54:21,392 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:54:22 2024-10-02 06:54:22,046 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:22 3.2.0-dev.41 [Pipeline] } 06:54:22 $ docker exec --env ******** --env ******** 5f166b2ca62e1a32530d709629a3913ff7f37f67912878ac37d6ba2ca58598a7 ssh-agent -k 06:54:22 unset SSH_AUTH_SOCK; 06:54:22 unset SSH_AGENT_PID; 06:54:22 echo Agent pid 39 killed; 06:54:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:54:22 + git semver [Pipeline] } 06:54:23 $ docker stop --time=1 5f166b2ca62e1a32530d709629a3913ff7f37f67912878ac37d6ba2ca58598a7 06:54:24 $ docker rm -f --volumes 5f166b2ca62e1a32530d709629a3913ff7f37f67912878ac37d6ba2ca58598a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:54:25 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:54:25 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:54:25 total 16 06:54:25 drwxr-xr-x 3 root root 4096 Oct 2 06:31 . 06:54:25 drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 06:54 .. 06:54:25 drwxr-xr-x 2 root root 4096 Oct 2 06:31 cost 06:54:25 -rw-r--r-- 1 root root 85 Oct 2 06:31 cost.csv 06:54:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:54:25 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:54:25 total 16 06:54:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 06:31 . 06:54:25 drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 06:54 .. 06:54:25 drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 06:31 cost 06:54:25 -rw-r--r-- 1 jenkins jenkins 85 Oct 2 06:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:54:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:54:26 ---> package-listing.sh 06:54:26 ++ tr '[:upper:]' '[:lower:]' 06:54:26 ++ facter osfamily 06:54:26 + OS_FAMILY=debian 06:54:26 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:54:26 + START_PACKAGES=/tmp/packages_start.txt 06:54:26 + END_PACKAGES=/tmp/packages_end.txt 06:54:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:54:26 + PACKAGES=/tmp/packages_start.txt 06:54:26 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:54:26 + PACKAGES=/tmp/packages_end.txt 06:54:26 + case "${OS_FAMILY}" in 06:54:26 + dpkg -l 06:54:26 + grep '^ii' 06:54:26 + '[' -f /tmp/packages_start.txt ']' 06:54:26 + '[' -f /tmp/packages_end.txt ']' 06:54:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:54:26 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:54:26 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:54:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:54:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:54:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:54:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:27 prd-ubuntu20.04-docker-8c-8g-12620 does not seem to be running inside a container 06:54:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:54:27 $ docker top 25209ca06c024bbe15e0bcea0b5f5a0b0b57c15acf396e46cb57a523889b3f64 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:27 + touch /tmp/pre-build-complete [Pipeline] sh 06:54:28 + mkdir -p /var/log/sysstat [Pipeline] sh 06:54:28 + ls /var/log/sa-host 06:54:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:54:28 provisioning config files... 06:54:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6675205719145157800tmp [Pipeline] { [Pipeline] echo 06:54:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:54:28 ---> create-netrc.sh [Pipeline] } 06:54:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:54:29 ---> python-tools-install.sh [Pipeline] echo 06:54:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:54:29 ---> sudo-logs.sh 06:54:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:54:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:54:29 ---> job-cost.sh 06:54:29 lf-activate-venv: SKIPPING 06:54:29 DEBUG: total: 0.2199999988079071 06:54:29 INFO: Retrieving Stack Cost... 06:54:30 INFO: Retrieving Pricing Info for: v3-standard-8 06:54:30 INFO: Archiving Costs [Pipeline] echo 06:54:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:54:30 ---> logs-deploy.sh 06:54:30 lf-activate-venv: SKIPPING 06:54:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/315 06:54:30 INFO: archiving workspace using pattern(s): 06:54:31 Archives upload complete. 06:54:31 INFO: archiving logs to Nexus