Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b793a3688da34e58dd262b7c625cecc3c5a754be+5b8160bf0cd47f93c4f2f3c9532d24621928066a (5fb77fa6a6c3e3015caef87e85da90c41b33c6ac) 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-ssh12869793806412343284.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh12320268129485977521.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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/PR-1772/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/PR-1772/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16444318092293064937.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh18183494593784941137.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/PR-1772/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/PR-1772/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh78208628350270414.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], goVersion:1.23] ========================================================= [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.23 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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-772257 in /w/workspace/gexfoundry_device-sdk-go_PR-1772 [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/gexfoundry_device-sdk-go_PR-1772 # 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 > 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 Merging remotes/origin/main commit 5b8160bf0cd47f93c4f2f3c9532d24621928066a into PR head commit b793a3688da34e58dd262b7c625cecc3c5a754be Merge succeeded, producing 1ca910ff47443f16ee85b8dc4830d49dd114fe86 Checking out Revision 1ca910ff47443f16ee85b8dc4830d49dd114fe86 (PR-1772) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1772/head:refs/remotes/origin/PR-1772 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b793a3688da34e58dd262b7c625cecc3c5a754be # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5b8160bf0cd47f93c4f2f3c9532d24621928066a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ca910ff47443f16ee85b8dc4830d49dd114fe86 # timeout=10 Commit message: "Merge commit '5b8160bf0cd47f93c4f2f3c9532d24621928066a' into HEAD" > git rev-list --no-walk b793a3688da34e58dd262b7c625cecc3c5a754be # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:51 ========================================================= 18:42:51 EdgeX Global Pipelines Version Info 18:42:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:52 ------------------- 18:42:52 stable info: 18:42:52 ------------------- 18:42:52 Commited By: Cherry Wang cherry@iotechsys.com 18:42:52 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 18:42:52 Message: update stable to v1.0.278 18:42:53 ------------------- 18:42:53 experimental info: 18:42:53 ------------------- 18:42:53 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:53 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 18:42:53 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1772 [Pipeline] echo 18:42:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1772 [Pipeline] echo 18:42:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1772 [Pipeline] echo 18:42:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ca910ff47443f16ee85b8dc4830d49dd114fe86 [Pipeline] echo 18:42:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ca910f [Pipeline] echo 18:42:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:54 provisioning config files... 18:42:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp/config5635591734351359424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:54 ---> ****-login.sh 18:42:54 nexus3.edgexfoundry.org:10001 18:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:54 18:42:54 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 18:42:54 Configure a credential helper to remove this warning. See 18:42:54 https://docs.****.com/go/credential-store/ 18:42:54 18:42:54 Login Succeeded 18:42:54 nexus3.edgexfoundry.org:10002 18:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:54 18:42:54 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 18:42:54 Configure a credential helper to remove this warning. See 18:42:54 https://docs.****.com/go/credential-store/ 18:42:54 18:42:54 Login Succeeded 18:42:54 nexus3.edgexfoundry.org:10003 18:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:55 18:42:55 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 18:42:55 Configure a credential helper to remove this warning. See 18:42:55 https://docs.****.com/go/credential-store/ 18:42:55 18:42:55 Login Succeeded 18:42:55 nexus3.edgexfoundry.org:10004 18:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:55 18:42:55 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 18:42:55 Configure a credential helper to remove this warning. See 18:42:55 https://docs.****.com/go/credential-store/ 18:42:55 18:42:55 Login Succeeded 18:42:55 ****.io 18:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:55 18:42:55 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 18:42:55 Configure a credential helper to remove this warning. See 18:42:55 https://docs.****.com/go/credential-store/ 18:42:55 18:42:55 Login Succeeded 18:42:55 ---> ****-login.sh ends [Pipeline] } 18:42:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:55 + git rev-list -1 --merges 1ca910ff47443f16ee85b8dc4830d49dd114fe86~1..1ca910ff47443f16ee85b8dc4830d49dd114fe86 [Pipeline] echo 18:42:55 -----------> git rev-list -1 --merges 1ca910ff47443f16ee85b8dc4830d49dd114fe86~1..1ca910ff47443f16ee85b8dc4830d49dd114fe86 1ca910ff47443f16ee85b8dc4830d49dd114fe86 18:42:55 1ca910ff47443f16ee85b8dc4830d49dd114fe86 [false] [Pipeline] sh 18:42:56 + git log --format=format:%s -1 1ca910ff47443f16ee85b8dc4830d49dd114fe86 [Pipeline] echo 18:42:56 ========================================================= 18:42:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:56 + git log --format=format:%s -1 1ca910ff47443f16ee85b8dc4830d49dd114fe86 [Pipeline] echo 18:42:56 [semverPrep] GIT_COMMIT: 1ca910ff47443f16ee85b8dc4830d49dd114fe86, Commit Message: Merge commit '5b8160bf0cd47f93c4f2f3c9532d24621928066a' into HEAD [Pipeline] echo 18:42:56 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:56 + grep -v github /etc/ssh/ssh_known_hosts 18:42:56 + [ -e /tmp/ssh_known_hosts ] 18:42:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:56 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:56 sudo tee -a /etc/ssh/ssh_known_hosts 18:42:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:57 18:42:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:57 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:57 3dae71ba6b94: Pulling fs layer 18:42:57 6bf1a483ea7c: Pulling fs layer 18:42:57 f5dfc541a4d3: Pulling fs layer 18:42:57 461d9e800cba: Pulling fs layer 18:42:57 80192f66455f: Pulling fs layer 18:42:57 2e8e34ca0e6c: Pulling fs layer 18:42:57 a29436f7fd5d: Pulling fs layer 18:42:57 923cac83aea3: Pulling fs layer 18:42:57 25ad8b0a4227: Pulling fs layer 18:42:57 461d9e800cba: Waiting 18:42:57 db01528c6b51: Pulling fs layer 18:42:57 80192f66455f: Waiting 18:42:57 28988de357af: Pulling fs layer 18:42:57 2e8e34ca0e6c: Waiting 18:42:57 a29436f7fd5d: Waiting 18:42:57 923cac83aea3: Waiting 18:42:57 25ad8b0a4227: Waiting 18:42:57 28988de357af: Waiting 18:42:57 db01528c6b51: Waiting 18:42:57 6bf1a483ea7c: Verifying Checksum 18:42:57 6bf1a483ea7c: Download complete 18:42:57 461d9e800cba: Verifying Checksum 18:42:57 461d9e800cba: Download complete 18:42:57 80192f66455f: Verifying Checksum 18:42:57 80192f66455f: Download complete 18:42:57 f5dfc541a4d3: Verifying Checksum 18:42:57 f5dfc541a4d3: Download complete 18:42:57 3dae71ba6b94: Verifying Checksum 18:42:57 3dae71ba6b94: Download complete 18:42:57 923cac83aea3: Verifying Checksum 18:42:57 923cac83aea3: Download complete 18:42:58 25ad8b0a4227: Download complete 18:42:58 db01528c6b51: Verifying Checksum 18:42:58 db01528c6b51: Download complete 18:42:58 28988de357af: Verifying Checksum 18:42:58 28988de357af: Download complete 18:42:58 a29436f7fd5d: Verifying Checksum 18:42:58 a29436f7fd5d: Download complete 18:42:58 2e8e34ca0e6c: Verifying Checksum 18:42:58 2e8e34ca0e6c: Download complete 18:42:59 3dae71ba6b94: Pull complete 18:42:59 6bf1a483ea7c: Pull complete 18:43:00 f5dfc541a4d3: Pull complete 18:43:00 461d9e800cba: Pull complete 18:43:00 80192f66455f: Pull complete 18:43:04 2e8e34ca0e6c: Pull complete 18:43:05 a29436f7fd5d: Pull complete 18:43:05 923cac83aea3: Pull complete 18:43:05 25ad8b0a4227: Pull complete 18:43:05 db01528c6b51: Pull complete 18:43:05 28988de357af: Pull complete 18:43:05 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 18:43:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:05 prd-ubuntu20.04-docker-8c-8g-772257 does not seem to be running inside a container 18:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1772 -v /w/workspace/gexfoundry_device-sdk-go_PR-1772:/w/workspace/gexfoundry_device-sdk-go_PR-1772:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1772@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/py-git-semver:0.1.4 cat 18:43:07 $ docker top 40e4ca84f8253bd3d1c6474935d0fa2e49dd59454859b215665c7b24ea1e5c7e -eo pid,comm 18:43:07 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). 18:43:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:08 [ssh-agent] Looking for ssh-agent implementation... 18:43:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:08 $ docker exec 40e4ca84f8253bd3d1c6474935d0fa2e49dd59454859b215665c7b24ea1e5c7e ssh-agent 18:43:08 SSH_AUTH_SOCK=/tmp/ssh-zUHv2B0t3KnV/agent.32 18:43:08 SSH_AGENT_PID=39 18:43:08 Running ssh-add (command line suppressed) 18:43:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp/private_key_1887889017635867372.key (/w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp/private_key_1887889017635867372.key) 18:43:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1772 [Pipeline] sh 18:43:08 + git tag --points-at HEAD [Pipeline] } 18:43:08 $ docker exec --env ******** --env ******** 40e4ca84f8253bd3d1c6474935d0fa2e49dd59454859b215665c7b24ea1e5c7e ssh-agent -k 18:43:09 unset SSH_AUTH_SOCK; 18:43:09 unset SSH_AGENT_PID; 18:43:09 echo Agent pid 39 killed; 18:43:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:43:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:09 [ssh-agent] Looking for ssh-agent implementation... 18:43:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:09 $ docker exec 40e4ca84f8253bd3d1c6474935d0fa2e49dd59454859b215665c7b24ea1e5c7e ssh-agent 18:43:09 SSH_AUTH_SOCK=/tmp/ssh-kRWnAYuJHKgc/agent.86 18:43:09 SSH_AGENT_PID=92 18:43:09 Running ssh-add (command line suppressed) 18:43:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp/private_key_5906699277045130413.key (/w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp/private_key_5906699277045130413.key) 18:43:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:09 + git semver init 18:43:09 2025-10-31 18:43:09,933 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 18:43:09 2025-10-31 18:43:09,937 [run_init] DEBUG init version:0.0.0 force:False 18:43:09 2025-10-31 18:43:09,938 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1772/.semver 18:43:09 2025-10-31 18:43:09,938 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1772/.semver 18:43:09 2025-10-31 18:43:09,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1772/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1772, stdin=None, shell=False, universal_newlines=False) 18:43:11 2025-10-31 18:43:11,325 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1772/.git/info/exclude 18:43:11 2025-10-31 18:43:11,325 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1772/.semver/PR-1772 with force:False 18:43:11 2025-10-31 18:43:11,325 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1772/.semver/PR-1772 18:43:11 2025-10-31 18:43:11,328 [execute] INFO git cat-file --batch-check 18:43:11 2025-10-31 18:43:11,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1772/.semver, stdin=, shell=False, universal_newlines=False) 18:43:11 2025-10-31 18:43:11,331 [execute] INFO git cat-file --batch 18:43:11 2025-10-31 18:43:11,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1772/.semver, stdin=, shell=False, universal_newlines=False) 18:43:11 2025-10-31 18:43:11,334 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1772/.semver/PR-1772 18:43:11 0.0.0 [Pipeline] } 18:43:11 $ docker exec --env ******** --env ******** 40e4ca84f8253bd3d1c6474935d0fa2e49dd59454859b215665c7b24ea1e5c7e ssh-agent -k 18:43:11 unset SSH_AUTH_SOCK; 18:43:11 unset SSH_AGENT_PID; 18:43:11 echo Agent pid 92 killed; 18:43:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:11 + git semver [Pipeline] } 18:43:12 $ docker stop --time=1 40e4ca84f8253bd3d1c6474935d0fa2e49dd59454859b215665c7b24ea1e5c7e 18:43:13 $ docker rm -f --volumes 40e4ca84f8253bd3d1c6474935d0fa2e49dd59454859b215665c7b24ea1e5c7e [Pipeline] // withDockerContainer [Pipeline] sh 18:43:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:43:14 Stashed 1 file(s) [Pipeline] echo 18:43:14 [edgeXSemver]: initialized semver on version 0.0.0 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:14 provisioning config files... [Pipeline] // stage [Pipeline] } [Pipeline] // stage 18:43:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp/config6747929130912989778tmp [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:14 ---> ****-login.sh 18:43:14 nexus3.edgexfoundry.org:10001 18:43:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:14 Login Succeeded 18:43:14 nexus3.edgexfoundry.org:10002 18:43:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:14 Login Succeeded 18:43:14 nexus3.edgexfoundry.org:10003 18:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:15 Login Succeeded 18:43:15 nexus3.edgexfoundry.org:10004 18:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:15 Login Succeeded 18:43:15 ****.io 18:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:15 Login Succeeded 18:43:15 ---> ****-login.sh ends [Pipeline] } 18:43:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:43:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 18:43:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 18:43:15 ========================================================= 18:43:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 18:43:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:15 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 18:43:16 #0 building with "default" instance using docker driver 18:43:16 18:43:16 #1 [internal] load build definition from Dockerfile 18:43:16 #1 transferring dockerfile: 1.69kB done 18:43:16 #1 DONE 0.0s 18:43:16 18:43:16 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 18:43:16 #2 DONE 0.1s 18:43:16 18:43:16 #3 [internal] load .dockerignore 18:43:16 #3 transferring context: 182B done 18:43:16 #3 DONE 0.0s 18:43:16 18:43:16 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 18:43:16 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 0.0s done 18:43:16 #4 sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 685B / 685B done 18:43:16 #4 sha256:e9f2598a937cac3435c96fcb14b1e3d8b17fea31e22d96e7608136a0e552f374 2.08kB / 2.08kB done 18:43:16 #4 sha256:9824c27679d3b27c5e1cb00a73adb6f4f8d556994111c12db3c5d61a0c843df8 3.80MB / 3.80MB 0.1s 18:43:16 #4 sha256:e619c034af25ffb08a59e3d21d0a7192d7f81c386b9b29c1cddcb8a08924c0fc 4.10kB / 4.10kB done 18:43:16 #4 sha256:8371a51cbc44c1323f96695eaeaeeb1c44b2d30d138a279b348af5c18b2c5e24 282.45kB / 282.45kB 0.1s done 18:43:16 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 3.15MB / 74.07MB 0.1s 18:43:16 #4 sha256:9824c27679d3b27c5e1cb00a73adb6f4f8d556994111c12db3c5d61a0c843df8 3.80MB / 3.80MB 0.1s done 18:43:16 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 12.58MB / 74.07MB 0.2s 18:43:16 #4 extracting sha256:9824c27679d3b27c5e1cb00a73adb6f4f8d556994111c12db3c5d61a0c843df8 18:43:16 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 18:43:16 #4 sha256:063b4f904bf53f94bbc1d3ba0507ed296dadd679ec1b747dff8dfbd06e245cce 440B / 440B 0.1s done 18:43:16 #4 sha256:066ecc4928496579b600f45fdf06fc05af87c75f75ddfe05b9a1e311f59659a0 1.05MB / 2.38MB 0.2s 18:43:16 #4 sha256:d3178a7b27090e22bc2464346d1cdc8f59d0fd7a241452e8148342edf3d0b1e9 126B / 126B 0.1s done 18:43:16 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 0B / 113.25MB 0.2s 18:43:17 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 24.12MB / 74.07MB 0.3s 18:43:17 #4 extracting sha256:9824c27679d3b27c5e1cb00a73adb6f4f8d556994111c12db3c5d61a0c843df8 0.2s done 18:43:17 #4 sha256:066ecc4928496579b600f45fdf06fc05af87c75f75ddfe05b9a1e311f59659a0 2.38MB / 2.38MB 0.2s done 18:43:17 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 6.29MB / 113.25MB 0.3s 18:43:17 #4 sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 0B / 13.30MB 0.3s 18:43:17 #4 ... 18:43:17 18:43:17 #5 [internal] load build context 18:43:17 #5 transferring context: 36.11MB 0.3s done 18:43:17 #5 DONE 0.3s 18:43:17 18:43:17 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 18:43:17 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 57.67MB / 74.07MB 0.5s 18:43:17 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 27.26MB / 113.25MB 0.5s 18:43:17 #4 sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 13.30MB / 13.30MB 0.5s 18:43:17 #4 extracting sha256:8371a51cbc44c1323f96695eaeaeeb1c44b2d30d138a279b348af5c18b2c5e24 0.0s done 18:43:17 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 74.07MB / 74.07MB 0.7s 18:43:17 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 61.87MB / 113.25MB 0.7s 18:43:17 #4 sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 13.30MB / 13.30MB 0.5s done 18:43:17 #4 sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 74.07MB / 74.07MB 0.8s done 18:43:17 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 84.93MB / 113.25MB 0.8s 18:43:17 #4 extracting sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 18:43:17 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 113.25MB / 113.25MB 0.9s 18:43:18 #4 sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 113.25MB / 113.25MB 1.3s done 18:43:23 #4 extracting sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 5.1s 18:43:23 #4 extracting sha256:d5791340ef181f05ef1e99760e4be81cb2008d99b2bc1e56b2faa9b6295d0ac3 5.1s done 18:43:23 #4 extracting sha256:d3178a7b27090e22bc2464346d1cdc8f59d0fd7a241452e8148342edf3d0b1e9 18:43:23 #4 extracting sha256:d3178a7b27090e22bc2464346d1cdc8f59d0fd7a241452e8148342edf3d0b1e9 done 18:43:23 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 18:43:23 #4 extracting sha256:063b4f904bf53f94bbc1d3ba0507ed296dadd679ec1b747dff8dfbd06e245cce done 18:43:23 #4 extracting sha256:066ecc4928496579b600f45fdf06fc05af87c75f75ddfe05b9a1e311f59659a0 18:43:23 #4 extracting sha256:066ecc4928496579b600f45fdf06fc05af87c75f75ddfe05b9a1e311f59659a0 0.0s done 18:43:23 #4 extracting sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 0.1s 18:43:26 #4 extracting sha256:50a4da29d65471dd6c8e3170315ea50152d168c8428948700fcd49be70620bf6 3.0s done 18:43:26 #4 extracting sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 0.1s 18:43:26 #4 extracting sha256:417dd178857cca03e7fa4592e5c77ebb44453326ad041c38340d5088b2e045c1 0.7s done 18:43:26 #4 DONE 10.3s 18:43:26 18:43:26 #6 [builder 2/7] WORKDIR /device-sdk-go 18:43:28 #6 DONE 2.0s 18:43:29 18:43:29 #7 [builder 3/7] RUN apk add --update --no-cache make git 18:43:29 #7 0.220 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 18:43:29 #7 0.290 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 18:43:29 #7 0.646 OK: 265 MiB in 60 packages 18:43:29 #7 DONE 0.8s 18:43:29 18:43:29 #8 [builder 4/7] COPY go.mod vendor* ./ 18:43:29 #8 DONE 0.0s 18:43:29 18:43:29 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:29 #9 0.254 go: go.mod requires go >= 1.24.0 (running go 1.23.12; GOTOOLCHAIN=local) 18:43:30 #9 0.255 skipping... 18:43:30 #9 DONE 0.3s 18:43:30 18:43:30 #10 [builder 6/7] COPY . . 18:43:30 #10 DONE 0.2s 18:43:30 18:43:30 #11 [builder 7/7] RUN echo noop 18:43:30 #11 0.203 noop 18:43:30 #11 DONE 0.3s 18:43:30 18:43:30 #12 exporting to image 18:43:30 #12 exporting layers 18:43:30 #12 exporting layers 0.2s done 18:43:30 #12 writing image sha256:a3632821e195937303e67a9345fc32cee3d03877cdffce1188038d4343e4cb30 done 18:43:30 #12 naming to docker.io/library/ci-base-image-x86_64 done 18:43:30 #12 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:31 + docker inspect -f . ci-base-image-x86_64 18:43:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:31 prd-ubuntu20.04-docker-8c-8g-772257 does not seem to be running inside a container 18:43:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1772 -v /w/workspace/gexfoundry_device-sdk-go_PR-1772:/w/workspace/gexfoundry_device-sdk-go_PR-1772:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1772@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:31 $ docker top 19589eb7c51ecfe2628e215e4e25fd6d5f28a46cfa778f160c96f16b154c03bd -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:31 + go version 18:43:31 go version go1.23.12 linux/amd64 [Pipeline] } 18:43:31 $ docker stop --time=1 19589eb7c51ecfe2628e215e4e25fd6d5f28a46cfa778f160c96f16b154c03bd 18:43:33 $ docker rm -f --volumes 19589eb7c51ecfe2628e215e4e25fd6d5f28a46cfa778f160c96f16b154c03bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:33 + docker inspect -f . ci-base-image-x86_64 18:43:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:33 prd-ubuntu20.04-docker-8c-8g-772257 does not seem to be running inside a container 18:43:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1772 -v /w/workspace/gexfoundry_device-sdk-go_PR-1772:/w/workspace/gexfoundry_device-sdk-go_PR-1772:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1772@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:33 $ docker top b18a7952697cfde599ca5048567cf25596d78340c7b814c1d84d33a5d5ac239c -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1772 [Pipeline] fileExists [Pipeline] sh 18:43:34 + make test 18:43:34 go test -race -coverprofile=coverage.out ./... 18:43:34 go: go.mod requires go >= 1.24.0 (running go 1.23.12; GOTOOLCHAIN=local) 18:43:34 make: *** [Makefile:52: unittest] Error 1 [Pipeline] } 18:43:34 $ docker stop --time=1 b18a7952697cfde599ca5048567cf25596d78340c7b814c1d84d33a5d5ac239c 18:43:35 $ docker rm -f --volumes b18a7952697cfde599ca5048567cf25596d78340c7b814c1d84d33a5d5ac239c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:36 18:43:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:36 latest: Pulling from edgex-lftools-log-publisher 18:43:36 5eb5b503b376: Pulling fs layer 18:43:36 5c69ac0246d0: Pulling fs layer 18:43:36 ec43610c2a17: Pulling fs layer 18:43:36 3a2ae6a8a46f: Pulling fs layer 18:43:36 33b1e0a273af: Pulling fs layer 18:43:36 5d3b04190fa2: Pulling fs layer 18:43:36 2f39f015ded8: Pulling fs layer 18:43:36 5d3b04190fa2: Waiting 18:43:36 3a2ae6a8a46f: Waiting 18:43:36 33b1e0a273af: Waiting 18:43:36 2f39f015ded8: Waiting 18:43:36 5c69ac0246d0: Verifying Checksum 18:43:36 5c69ac0246d0: Download complete 18:43:36 3a2ae6a8a46f: Verifying Checksum 18:43:36 3a2ae6a8a46f: Download complete 18:43:36 33b1e0a273af: Download complete 18:43:36 ec43610c2a17: Verifying Checksum 18:43:36 ec43610c2a17: Download complete 18:43:36 5d3b04190fa2: Verifying Checksum 18:43:36 5d3b04190fa2: Download complete 18:43:36 5eb5b503b376: Verifying Checksum 18:43:36 5eb5b503b376: Download complete 18:43:37 2f39f015ded8: Download complete 18:43:38 5eb5b503b376: Pull complete 18:43:38 5c69ac0246d0: Pull complete 18:43:39 ec43610c2a17: Pull complete 18:43:39 3a2ae6a8a46f: Pull complete 18:43:39 33b1e0a273af: Pull complete 18:43:39 5d3b04190fa2: Pull complete 18:43:46 2f39f015ded8: Pull complete 18:43:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:43:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:46 prd-ubuntu20.04-docker-8c-8g-772257 does not seem to be running inside a container 18:43:46 $ 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/gexfoundry_device-sdk-go_PR-1772 -v /w/workspace/gexfoundry_device-sdk-go_PR-1772:/w/workspace/gexfoundry_device-sdk-go_PR-1772:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1772@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:43:48 $ docker top c0f7999663ae496a310d617a252ac5af41f2080f1b6fd989bfad81b44f443f89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:48 ---> job-cost.sh 18:43:48 lf-activate-venv: SKIPPING 18:43:48 INFO: No Stack... 18:43:48 INFO: Retrieving Pricing Info for: v3-standard-8 18:43:48 INFO: Archiving Costs [Pipeline] sh 18:43:49 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1772/archives/cost.csv 18:43:49 + cut -d, -f6 [Pipeline] lock 18:43:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1772-2-stack-cost] 18:43:49 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1772-2-stack-cost] did not exist. Created. 18:43:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1772-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:43:49 + echo total: 0.2199999988079071 [Pipeline] stash 18:43:49 Stashed 1 file(s) [Pipeline] } 18:43:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1772-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:43:49 $ docker stop --time=1 c0f7999663ae496a310d617a252ac5af41f2080f1b6fd989bfad81b44f443f89 18:43:50 $ docker rm -f --volumes c0f7999663ae496a310d617a252ac5af41f2080f1b6fd989bfad81b44f443f89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:43:50 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 18:43:51 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1772/archives ] 18:43:51 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1772/archives 18:43:51 total 16 18:43:51 drwxr-xr-x 3 root root 4096 Oct 31 18:43 . 18:43:51 drwxrwxr-x 12 jenkins jenkins 4096 Oct 31 18:43 .. 18:43:51 drwxr-xr-x 2 root root 4096 Oct 31 18:43 cost 18:43:51 -rw-r--r-- 1 root root 86 Oct 31 18:43 cost.csv 18:43:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1772/archives 18:43:51 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1772/archives 18:43:51 total 16 18:43:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 18:43 . 18:43:51 drwxrwxr-x 12 jenkins jenkins 4096 Oct 31 18:43 .. 18:43:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 18:43 cost 18:43:51 -rw-r--r-- 1 jenkins jenkins 86 Oct 31 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:43:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:43:52 ---> package-listing.sh 18:43:52 ++ tr '[:upper:]' '[:lower:]' 18:43:52 ++ facter osfamily 18:43:53 + OS_FAMILY=debian 18:43:53 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1772 18:43:53 + START_PACKAGES=/tmp/packages_start.txt 18:43:53 + END_PACKAGES=/tmp/packages_end.txt 18:43:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:43:53 + PACKAGES=/tmp/packages_start.txt 18:43:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1772 ']' 18:43:53 + PACKAGES=/tmp/packages_end.txt 18:43:53 + case "${OS_FAMILY}" in 18:43:53 + dpkg -l 18:43:53 + grep '^ii' 18:43:53 + '[' -f /tmp/packages_start.txt ']' 18:43:53 + '[' -f /tmp/packages_end.txt ']' 18:43:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:43:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1772 ']' 18:43:53 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1772/archives/ 18:43:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1772/archives/ [Pipeline] echo 18:43:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1772/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:43:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:54 prd-ubuntu20.04-docker-8c-8g-772257 does not seem to be running inside a container 18:43:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1772/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1772 -v /w/workspace/gexfoundry_device-sdk-go_PR-1772:/w/workspace/gexfoundry_device-sdk-go_PR-1772:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1772@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:43:54 $ docker top 36efb25fc96a394b08a69cf50ea676641d32de6c32010b75d2ceff768d07720d -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:54 + touch /tmp/pre-build-complete [Pipeline] sh 18:43:55 + mkdir -p /var/log/sysstat [Pipeline] sh 18:43:55 + ls /var/log/sa-host 18:43:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:55 provisioning config files... 18:43:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1772@tmp/config545271479658851498tmp [Pipeline] { [Pipeline] echo 18:43:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:43:55 ---> create-netrc.sh [Pipeline] } 18:43:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:43:56 ---> python-tools-install.sh [Pipeline] echo 18:43:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:43:56 ---> sudo-logs.sh 18:43:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:43:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:43:56 ---> job-cost.sh 18:43:56 lf-activate-venv: SKIPPING 18:43:56 DEBUG: total: 0.2199999988079071 18:43:56 INFO: Retrieving Stack Cost... 18:43:56 INFO: Retrieving Pricing Info for: v3-standard-8 18:43:57 INFO: Archiving Costs [Pipeline] echo 18:43:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:43:57 ---> logs-deploy.sh 18:43:57 lf-activate-venv: SKIPPING 18:43:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1772/2 18:43:57 INFO: archiving workspace using pattern(s): 18:43:58 Archives upload complete. 18:43:58 INFO: archiving logs to Nexus