Pull request #1773 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 8116094ce09d365b8ca2364416dc1268738bf486+5620c6441011fe8cee1f5036a61585a7dbe23843 (f754262e81d4c0200b721487d92688d391f8e753) 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-ssh2902309813009655509.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aadae98dfa9261c10a4d8d2eaf62c80ad04c1fbe 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-ssh16456235161404585157.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 aadae98dfa9261c10a4d8d2eaf62c80ad04c1fbe The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1773/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1773/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh995709348250670383.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1773/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh425963239189985205.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aadae98dfa9261c10a4d8d2eaf62c80ad04c1fbe (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aadae98dfa9261c10a4d8d2eaf62c80ad04c1fbe # timeout=10 Commit message: "Merge pull request #474 from cherrycl/support-golang-1.25" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh6851060392224886809.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1773/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1773/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14435940034195545551.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aadae98dfa9261c10a4d8d2eaf62c80ad04c1fbe 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-332069 in /w/workspace/gexfoundry_device-sdk-go_PR-1773 [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-1773 # 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 Merging remotes/origin/odessa commit 5620c6441011fe8cee1f5036a61585a7dbe23843 into PR head commit 8116094ce09d365b8ca2364416dc1268738bf486 > 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 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/1773/head:refs/remotes/origin/PR-1773 +refs/heads/odessa:refs/remotes/origin/odessa # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8116094ce09d365b8ca2364416dc1268738bf486 # timeout=10 Merge succeeded, producing 8116094ce09d365b8ca2364416dc1268738bf486 Checking out Revision 8116094ce09d365b8ca2364416dc1268738bf486 (PR-1773) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5620c6441011fe8cee1f5036a61585a7dbe23843 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8116094ce09d365b8ca2364416dc1268738bf486 # timeout=10 Commit message: "build: Set goVersion to 1.23" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object aadae98dfa9261c10a4d8d2eaf62c80ad04c1fbe [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:16:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:16:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:16:09 ========================================================= 13:16:09 EdgeX Global Pipelines Version Info 13:16:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:16:11 ------------------- 13:16:11 stable info: 13:16:11 ------------------- 13:16:11 Commited By: Cherry Wang cherry@iotechsys.com 13:16:11 Commit SHA: aadae98dfa9261c10a4d8d2eaf62c80ad04c1fbe 13:16:11 Message: update stable to v1.0.277 13:16:11 ------------------- 13:16:11 experimental info: 13:16:11 ------------------- 13:16:11 Commited By: **** collab-it+edgex@linuxfoundation.org 13:16:11 Commit SHA: aadae98dfa9261c10a4d8d2eaf62c80ad04c1fbe 13:16:11 Message: update experimental to v1.0.277 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:16:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:16:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:16:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:16:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1773 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1773 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1773 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8116094ce09d365b8ca2364416dc1268738bf486 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8116094 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:13 provisioning config files... 13:16:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp/config5693216975711389235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:14 ---> ****-login.sh 13:16:14 nexus3.edgexfoundry.org:10001 13:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:14 13:16:14 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:16:14 Configure a credential helper to remove this warning. See 13:16:14 https://docs.****.com/go/credential-store/ 13:16:14 13:16:14 Login Succeeded 13:16:14 nexus3.edgexfoundry.org:10002 13:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:14 13:16:14 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:16:14 Configure a credential helper to remove this warning. See 13:16:14 https://docs.****.com/go/credential-store/ 13:16:14 13:16:14 Login Succeeded 13:16:14 nexus3.edgexfoundry.org:10003 13:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:14 13:16:14 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:16:14 Configure a credential helper to remove this warning. See 13:16:14 https://docs.****.com/go/credential-store/ 13:16:14 13:16:14 Login Succeeded 13:16:14 nexus3.edgexfoundry.org:10004 13:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:15 13:16:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:16:15 Configure a credential helper to remove this warning. See 13:16:15 https://docs.****.com/go/credential-store/ 13:16:15 13:16:15 Login Succeeded 13:16:15 ****.io 13:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:15 13:16:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 13:16:15 Configure a credential helper to remove this warning. See 13:16:15 https://docs.****.com/go/credential-store/ 13:16:15 13:16:15 Login Succeeded 13:16:15 ---> ****-login.sh ends [Pipeline] } 13:16:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:16:16 + git rev-list -1 --merges 8116094ce09d365b8ca2364416dc1268738bf486~1..8116094ce09d365b8ca2364416dc1268738bf486 [Pipeline] echo 13:16:16 -----------> git rev-list -1 --merges 8116094ce09d365b8ca2364416dc1268738bf486~1..8116094ce09d365b8ca2364416dc1268738bf486 8116094ce09d365b8ca2364416dc1268738bf486 [false] [Pipeline] sh 13:16:16 + git log --format=format:%s -1 8116094ce09d365b8ca2364416dc1268738bf486 [Pipeline] echo 13:16:16 ========================================================= 13:16:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:16:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:17 + git log --format=format:%s -1 8116094ce09d365b8ca2364416dc1268738bf486 [Pipeline] echo 13:16:17 [semverPrep] GIT_COMMIT: 8116094ce09d365b8ca2364416dc1268738bf486, Commit Message: build: Set goVersion to 1.23 [Pipeline] echo 13:16:17 [semverPrep] This is not a build commit. [Pipeline] sh 13:16:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:16:17 + grep -v github /etc/ssh/ssh_known_hosts 13:16:17 + [ -e /tmp/ssh_known_hosts ] 13:16:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:16:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:16:17 + sudo tee -a /etc/ssh/ssh_known_hosts 13:16:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:18 13:16:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:18 0.1.4: Pulling from edgex-devops/py-git-semver 13:16:18 3dae71ba6b94: Pulling fs layer 13:16:18 6bf1a483ea7c: Pulling fs layer 13:16:18 f5dfc541a4d3: Pulling fs layer 13:16:18 461d9e800cba: Pulling fs layer 13:16:18 80192f66455f: Pulling fs layer 13:16:18 2e8e34ca0e6c: Pulling fs layer 13:16:18 a29436f7fd5d: Pulling fs layer 13:16:18 923cac83aea3: Pulling fs layer 13:16:18 25ad8b0a4227: Pulling fs layer 13:16:18 db01528c6b51: Pulling fs layer 13:16:18 2e8e34ca0e6c: Waiting 13:16:18 80192f66455f: Waiting 13:16:18 461d9e800cba: Waiting 13:16:18 a29436f7fd5d: Waiting 13:16:18 923cac83aea3: Waiting 13:16:18 25ad8b0a4227: Waiting 13:16:18 28988de357af: Pulling fs layer 13:16:18 db01528c6b51: Waiting 13:16:18 28988de357af: Waiting 13:16:18 6bf1a483ea7c: Verifying Checksum 13:16:18 6bf1a483ea7c: Download complete 13:16:18 461d9e800cba: Verifying Checksum 13:16:18 461d9e800cba: Download complete 13:16:18 80192f66455f: Download complete 13:16:18 f5dfc541a4d3: Verifying Checksum 13:16:18 f5dfc541a4d3: Download complete 13:16:18 3dae71ba6b94: Verifying Checksum 13:16:18 3dae71ba6b94: Download complete 13:16:18 923cac83aea3: Verifying Checksum 13:16:18 923cac83aea3: Download complete 13:16:19 25ad8b0a4227: Verifying Checksum 13:16:19 25ad8b0a4227: Download complete 13:16:19 db01528c6b51: Download complete 13:16:19 28988de357af: Download complete 13:16:19 a29436f7fd5d: Verifying Checksum 13:16:19 a29436f7fd5d: Download complete 13:16:19 2e8e34ca0e6c: Download complete 13:16:20 3dae71ba6b94: Pull complete 13:16:20 6bf1a483ea7c: Pull complete 13:16:21 f5dfc541a4d3: Pull complete 13:16:21 461d9e800cba: Pull complete 13:16:21 80192f66455f: Pull complete 13:16:25 2e8e34ca0e6c: Pull complete 13:16:26 a29436f7fd5d: Pull complete 13:16:26 923cac83aea3: Pull complete 13:16:26 25ad8b0a4227: Pull complete 13:16:26 db01528c6b51: Pull complete 13:16:26 28988de357af: Pull complete 13:16:26 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 13:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:26 prd-ubuntu20.04-docker-8c-8g-332069 does not seem to be running inside a container 13:16:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1773 -v /w/workspace/gexfoundry_device-sdk-go_PR-1773:/w/workspace/gexfoundry_device-sdk-go_PR-1773:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1773@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 13:16:31 $ docker top eb7ef0bd8a5fc94fe14cce99733f6c08381d2d8fe222816338e0bb3f63ef978b -eo pid,comm 13:16:31 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). 13:16:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:31 [ssh-agent] Looking for ssh-agent implementation... 13:16:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:32 $ docker exec eb7ef0bd8a5fc94fe14cce99733f6c08381d2d8fe222816338e0bb3f63ef978b ssh-agent 13:16:32 SSH_AUTH_SOCK=/tmp/ssh-cgxlPIGU6Weu/agent.32 13:16:32 SSH_AGENT_PID=38 13:16:32 Running ssh-add (command line suppressed) 13:16:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp/private_key_6632396979233715673.key (/w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp/private_key_6632396979233715673.key) 13:16:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1773 [Pipeline] sh 13:16:32 + git tag --points-at HEAD [Pipeline] } 13:16:32 $ docker exec --env ******** --env ******** eb7ef0bd8a5fc94fe14cce99733f6c08381d2d8fe222816338e0bb3f63ef978b ssh-agent -k 13:16:33 unset SSH_AUTH_SOCK; 13:16:33 unset SSH_AGENT_PID; 13:16:33 echo Agent pid 38 killed; 13:16:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:16:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:33 [ssh-agent] Looking for ssh-agent implementation... 13:16:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:33 $ docker exec eb7ef0bd8a5fc94fe14cce99733f6c08381d2d8fe222816338e0bb3f63ef978b ssh-agent 13:16:33 SSH_AUTH_SOCK=/tmp/ssh-sPeUJzMWavc7/agent.85 13:16:33 SSH_AGENT_PID=91 13:16:33 Running ssh-add (command line suppressed) 13:16:33 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp/private_key_2557602836257405245.key (/w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp/private_key_2557602836257405245.key) 13:16:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:33 + git semver init 13:16:34 2025-10-16 13:16:34,029 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 13:16:34 2025-10-16 13:16:34,033 [run_init] DEBUG init version:0.0.0 force:False 13:16:34 2025-10-16 13:16:34,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1773/.semver 13:16:34 2025-10-16 13:16:34,035 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1773/.semver 13:16:34 2025-10-16 13:16:34,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1773/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1773, stdin=None, shell=False, universal_newlines=False) 13:16:36 2025-10-16 13:16:35,552 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1773/.git/info/exclude 13:16:36 2025-10-16 13:16:35,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1773/.semver/PR-1773 with force:False 13:16:36 2025-10-16 13:16:35,553 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1773/.semver/PR-1773 13:16:36 2025-10-16 13:16:35,555 [execute] INFO git cat-file --batch-check 13:16:36 2025-10-16 13:16:35,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1773/.semver, stdin=, shell=False, universal_newlines=False) 13:16:36 2025-10-16 13:16:35,559 [execute] INFO git cat-file --batch 13:16:36 2025-10-16 13:16:35,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1773/.semver, stdin=, shell=False, universal_newlines=False) 13:16:36 2025-10-16 13:16:35,563 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1773/.semver/PR-1773 13:16:36 0.0.0 [Pipeline] } 13:16:36 $ docker exec --env ******** --env ******** eb7ef0bd8a5fc94fe14cce99733f6c08381d2d8fe222816338e0bb3f63ef978b ssh-agent -k 13:16:36 unset SSH_AUTH_SOCK; 13:16:36 unset SSH_AGENT_PID; 13:16:36 echo Agent pid 91 killed; 13:16:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:36 + git semver [Pipeline] } 13:16:36 $ docker stop --time=1 eb7ef0bd8a5fc94fe14cce99733f6c08381d2d8fe222816338e0bb3f63ef978b 13:16:38 $ docker rm -f --volumes eb7ef0bd8a5fc94fe14cce99733f6c08381d2d8fe222816338e0bb3f63ef978b [Pipeline] // withDockerContainer [Pipeline] sh 13:16:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:16:38 Stashed 1 file(s) [Pipeline] echo 13:16:38 [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 13:16:40 provisioning config files... 13:16:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp/config12946269396937127364tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 13:16:40 ---> ****-login.sh 13:16:40 nexus3.edgexfoundry.org:10001 13:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:40 Login Succeeded 13:16:40 nexus3.edgexfoundry.org:10002 13:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:40 Login Succeeded 13:16:40 nexus3.edgexfoundry.org:10003 13:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:40 Login Succeeded 13:16:40 nexus3.edgexfoundry.org:10004 13:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:40 Login Succeeded 13:16:40 ****.io 13:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:41 Login Succeeded 13:16:41 ---> ****-login.sh ends [Pipeline] } 13:16:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:16:41 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 13:16:41 + grep ^go [0-9].[0-9]* go.mod 13:16:41 + cut -d -f 2 [Pipeline] echo 13:16:41 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 13:16:41 ========================================================= 13:16:41 [edgeXBuildGoApp] Building Code With image [golang:1.23.0-alpine] 13:16:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:42 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=golang:1.23.0-alpine --build-arg MAKE=echo noop --target=builder . 13:16:43 #0 building with "default" instance using docker driver 13:16:43 13:16:43 #1 [internal] load build definition from Dockerfile 13:16:43 #1 transferring dockerfile: 1.69kB done 13:16:43 #1 DONE 0.1s 13:16:43 13:16:43 #2 [internal] load metadata for docker.io/library/golang:1.23.0-alpine 13:16:43 #2 DONE 0.8s 13:16:43 13:16:43 #3 [internal] load .dockerignore 13:16:43 #3 transferring context: 182B done 13:16:43 #3 DONE 0.0s 13:16:43 13:16:43 #4 [builder 1/7] FROM docker.io/library/golang:1.23.0-alpine@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 13:16:43 #4 resolve docker.io/library/golang:1.23.0-alpine@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 0.0s done 13:16:43 #4 sha256:d0c638dc5c33aa3a79896e3bb834515c99fe06396be96b7ecfeacbdb0560f165 2.09kB / 2.09kB done 13:16:43 #4 sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 2.10MB / 3.62MB 0.1s 13:16:43 #4 sha256:5c27f9ec405fa049808e1419841775d2c973614041a03a8f3e6a2e85a297bde3 0B / 290.88kB 0.1s 13:16:43 #4 sha256:c4b14fb4020d7e427735797bf663a02a5a028e40fae0f8993ed5dfe75f15417a 0B / 73.97MB 0.1s 13:16:43 #4 sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 10.29kB / 10.29kB done 13:16:43 #4 sha256:ce1e987ea7759217351b74977a384cea8f44631f1c1add04d1703f13dd3ee850 1.92kB / 1.92kB done 13:16:43 #4 sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 3.62MB / 3.62MB 0.1s done 13:16:43 #4 extracting sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 13:16:43 #4 sha256:5af28e06659b9d44e2f2f8b0e08b6a6bf1314d49a058037ffed2228ceaa8f10e 0B / 126B 0.2s 13:16:43 #4 sha256:5c27f9ec405fa049808e1419841775d2c973614041a03a8f3e6a2e85a297bde3 290.88kB / 290.88kB 0.3s 13:16:43 #4 extracting sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 0.1s done 13:16:44 #4 sha256:5c27f9ec405fa049808e1419841775d2c973614041a03a8f3e6a2e85a297bde3 290.88kB / 290.88kB 0.3s done 13:16:44 #4 sha256:5af28e06659b9d44e2f2f8b0e08b6a6bf1314d49a058037ffed2228ceaa8f10e 126B / 126B 0.4s 13:16:44 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.3s done 13:16:44 #4 extracting sha256:5c27f9ec405fa049808e1419841775d2c973614041a03a8f3e6a2e85a297bde3 0.1s done 13:16:44 #4 sha256:5af28e06659b9d44e2f2f8b0e08b6a6bf1314d49a058037ffed2228ceaa8f10e 126B / 126B 0.4s done 13:16:44 #4 ... 13:16:44 13:16:44 #5 [internal] load build context 13:16:44 #5 transferring context: 73.75MB 0.8s done 13:16:44 #5 DONE 0.9s 13:16:44 13:16:44 #4 [builder 1/7] FROM docker.io/library/golang:1.23.0-alpine@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 13:16:47 #4 sha256:c4b14fb4020d7e427735797bf663a02a5a028e40fae0f8993ed5dfe75f15417a 17.83MB / 73.97MB 3.6s 13:16:47 #4 sha256:c4b14fb4020d7e427735797bf663a02a5a028e40fae0f8993ed5dfe75f15417a 53.48MB / 73.97MB 3.8s 13:16:47 #4 sha256:c4b14fb4020d7e427735797bf663a02a5a028e40fae0f8993ed5dfe75f15417a 73.97MB / 73.97MB 4.0s 13:16:47 #4 sha256:c4b14fb4020d7e427735797bf663a02a5a028e40fae0f8993ed5dfe75f15417a 73.97MB / 73.97MB 4.2s done 13:16:48 #4 extracting sha256:c4b14fb4020d7e427735797bf663a02a5a028e40fae0f8993ed5dfe75f15417a 0.1s 13:16:53 #4 extracting sha256:c4b14fb4020d7e427735797bf663a02a5a028e40fae0f8993ed5dfe75f15417a 4.5s done 13:16:53 #4 extracting sha256:5af28e06659b9d44e2f2f8b0e08b6a6bf1314d49a058037ffed2228ceaa8f10e 13:16:53 #4 extracting sha256:5af28e06659b9d44e2f2f8b0e08b6a6bf1314d49a058037ffed2228ceaa8f10e done 13:16:53 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 13:16:53 #4 DONE 9.2s 13:16:53 13:16:53 #6 [builder 2/7] WORKDIR /device-sdk-go 13:16:55 #6 DONE 3.0s 13:16:55 13:16:55 #7 [builder 3/7] RUN apk add --update --no-cache make git 13:16:56 #7 0.230 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:16:57 #7 1.131 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:16:57 #7 1.413 (1/13) Installing brotli-libs (1.1.0-r2) 13:16:57 #7 1.427 (2/13) Installing c-ares (1.33.1-r0) 13:16:57 #7 1.432 (3/13) Installing libunistring (1.2-r0) 13:16:57 #7 1.449 (4/13) Installing libidn2 (2.3.7-r0) 13:16:57 #7 1.455 (5/13) Installing nghttp2-libs (1.62.1-r0) 13:16:57 #7 1.460 (6/13) Installing libpsl (0.21.5-r1) 13:16:57 #7 1.464 (7/13) Installing zstd-libs (1.5.6-r0) 13:16:57 #7 1.477 (8/13) Installing libcurl (8.14.1-r2) 13:16:57 #7 1.487 (9/13) Installing libexpat (2.7.3-r0) 13:16:57 #7 1.492 (10/13) Installing pcre2 (10.43-r0) 13:16:57 #7 1.503 (11/13) Installing git (2.45.4-r0) 13:16:57 #7 1.562 (12/13) Installing git-init-template (2.45.4-r0) 13:16:57 #7 1.566 (13/13) Installing make (4.4.1-r2) 13:16:57 #7 1.578 Executing busybox-1.36.1-r29.trigger 13:16:57 #7 1.584 OK: 20 MiB in 28 packages 13:16:57 #7 DONE 1.8s 13:16:57 13:16:57 #8 [builder 4/7] COPY go.mod vendor* ./ 13:16:58 #8 DONE 0.8s 13:16:58 13:16:58 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:45 #9 DONE 42.7s 13:17:45 13:17:45 #10 [builder 6/7] COPY . . 13:17:45 #10 DONE 1.1s 13:17:45 13:17:45 #11 [builder 7/7] RUN echo noop 13:17:45 #11 0.195 noop 13:17:45 #11 DONE 0.2s 13:17:45 13:17:45 #12 exporting to image 13:17:45 #12 exporting layers 13:17:49 #12 exporting layers 6.8s done 13:17:49 #12 writing image sha256:dff08dcbae07fd9daf42339616a7682b5852eec135636ba6543bae381916c57b done 13:17:49 #12 naming to docker.io/library/ci-base-image-x86_64 done 13:17:49 #12 DONE 6.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:49 + docker inspect -f . ci-base-image-x86_64 13:17:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:50 prd-ubuntu20.04-docker-8c-8g-332069 does not seem to be running inside a container 13:17:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1773 -v /w/workspace/gexfoundry_device-sdk-go_PR-1773:/w/workspace/gexfoundry_device-sdk-go_PR-1773:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1773@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 13:17:50 $ docker top fa03f93b12d9b25f8345f3ad5a46f1517c559407ff65bb435eef0c91c569a0f9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:50 + go version 13:17:50 go version go1.23.0 linux/amd64 [Pipeline] } 13:17:50 $ docker stop --time=1 fa03f93b12d9b25f8345f3ad5a46f1517c559407ff65bb435eef0c91c569a0f9 13:17:52 $ docker rm -f --volumes fa03f93b12d9b25f8345f3ad5a46f1517c559407ff65bb435eef0c91c569a0f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:52 + docker inspect -f . ci-base-image-x86_64 13:17:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:53 prd-ubuntu20.04-docker-8c-8g-332069 does not seem to be running inside a container 13:17:53 $ 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-1773 -v /w/workspace/gexfoundry_device-sdk-go_PR-1773:/w/workspace/gexfoundry_device-sdk-go_PR-1773:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1773@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 13:17:53 $ docker top 2b2231b789e20e25c75b241ebb18063fd188de777e632d95375f18aa2016ab56 -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1773 [Pipeline] fileExists [Pipeline] sh 13:17:54 + make test 13:17:54 go test -race -coverprofile=coverage.out ./... 13:17:54 go: -race requires cgo; enable cgo by setting CGO_ENABLED=1 13:17:54 make: *** [Makefile:52: unittest] Error 2 [Pipeline] } 13:17:54 $ docker stop --time=1 2b2231b789e20e25c75b241ebb18063fd188de777e632d95375f18aa2016ab56 13:17:55 $ docker rm -f --volumes 2b2231b789e20e25c75b241ebb18063fd188de777e632d95375f18aa2016ab56 [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 13:17:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:56 13:17:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:57 latest: Pulling from edgex-lftools-log-publisher 13:17:57 5eb5b503b376: Pulling fs layer 13:17:57 5c69ac0246d0: Pulling fs layer 13:17:57 ec43610c2a17: Pulling fs layer 13:17:57 3a2ae6a8a46f: Pulling fs layer 13:17:57 33b1e0a273af: Pulling fs layer 13:17:57 5d3b04190fa2: Pulling fs layer 13:17:57 2f39f015ded8: Pulling fs layer 13:17:57 33b1e0a273af: Waiting 13:17:57 5d3b04190fa2: Waiting 13:17:57 2f39f015ded8: Waiting 13:17:57 3a2ae6a8a46f: Waiting 13:17:57 5c69ac0246d0: Verifying Checksum 13:17:57 5c69ac0246d0: Download complete 13:17:57 3a2ae6a8a46f: Verifying Checksum 13:17:57 3a2ae6a8a46f: Download complete 13:17:57 33b1e0a273af: Verifying Checksum 13:17:57 33b1e0a273af: Download complete 13:17:57 ec43610c2a17: Download complete 13:17:57 5eb5b503b376: Verifying Checksum 13:17:57 5eb5b503b376: Download complete 13:17:57 2f39f015ded8: Download complete 13:17:58 5eb5b503b376: Pull complete 13:17:59 5c69ac0246d0: Pull complete 13:17:59 ec43610c2a17: Pull complete 13:17:59 3a2ae6a8a46f: Pull complete 13:17:59 33b1e0a273af: Pull complete 13:17:59 5d3b04190fa2: Pull complete 13:18:05 2f39f015ded8: Pull complete 13:18:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:18:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:05 prd-ubuntu20.04-docker-8c-8g-332069 does not seem to be running inside a container 13:18:05 $ 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-1773 -v /w/workspace/gexfoundry_device-sdk-go_PR-1773:/w/workspace/gexfoundry_device-sdk-go_PR-1773:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1773@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 13:18:08 $ docker top 2afa8d539b4173a5e3c070357dc9cd8598a8f79b0ab78da35b334d50bc540089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:18:09 ---> job-cost.sh 13:18:09 lf-activate-venv: SKIPPING 13:18:09 INFO: No Stack... 13:18:09 INFO: Retrieving Pricing Info for: v3-standard-8 13:18:09 INFO: Archiving Costs [Pipeline] sh 13:18:10 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1773/archives/cost.csv 13:18:10 + cut -d, -f6 [Pipeline] lock 13:18:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1773-1-stack-cost] 13:18:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1773-1-stack-cost] did not exist. Created. 13:18:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1773-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:18:10 + echo total: 0.2199999988079071 [Pipeline] stash 13:18:10 Stashed 1 file(s) [Pipeline] } 13:18:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1773-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:18:10 $ docker stop --time=1 2afa8d539b4173a5e3c070357dc9cd8598a8f79b0ab78da35b334d50bc540089 13:18:12 $ docker rm -f --volumes 2afa8d539b4173a5e3c070357dc9cd8598a8f79b0ab78da35b334d50bc540089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:18:13 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 13:18:15 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1773/archives ] 13:18:15 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1773/archives 13:18:15 total 16 13:18:15 drwxr-xr-x 3 root root 4096 Oct 16 13:18 . 13:18:15 drwxrwxr-x 13 jenkins jenkins 4096 Oct 16 13:18 .. 13:18:15 drwxr-xr-x 2 root root 4096 Oct 16 13:18 cost 13:18:15 -rw-r--r-- 1 root root 86 Oct 16 13:18 cost.csv 13:18:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1773/archives 13:18:15 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1773/archives 13:18:15 total 16 13:18:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 16 13:18 . 13:18:15 drwxrwxr-x 13 jenkins jenkins 4096 Oct 16 13:18 .. 13:18:15 drwxr-xr-x 2 jenkins jenkins 4096 Oct 16 13:18 cost 13:18:15 -rw-r--r-- 1 jenkins jenkins 86 Oct 16 13:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:18:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:18:16 ---> package-listing.sh 13:18:16 ++ facter osfamily 13:18:16 ++ tr '[:upper:]' '[:lower:]' 13:18:17 + OS_FAMILY=debian 13:18:17 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1773 13:18:17 + START_PACKAGES=/tmp/packages_start.txt 13:18:17 + END_PACKAGES=/tmp/packages_end.txt 13:18:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:18:17 + PACKAGES=/tmp/packages_start.txt 13:18:17 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1773 ']' 13:18:17 + PACKAGES=/tmp/packages_end.txt 13:18:17 + case "${OS_FAMILY}" in 13:18:17 + dpkg -l 13:18:17 + grep '^ii' 13:18:17 + '[' -f /tmp/packages_start.txt ']' 13:18:17 + '[' -f /tmp/packages_end.txt ']' 13:18:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:18:17 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1773 ']' 13:18:17 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1773/archives/ 13:18:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1773/archives/ [Pipeline] echo 13:18:17 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-1773/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:18:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:18 prd-ubuntu20.04-docker-8c-8g-332069 does not seem to be running inside a container 13:18:18 $ 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-1773/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-1773 -v /w/workspace/gexfoundry_device-sdk-go_PR-1773:/w/workspace/gexfoundry_device-sdk-go_PR-1773:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1773@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 13:18:18 $ docker top e44cd1696cbfb600d0bd3c183e8a7dbd30c5f00e928e77a6c4144d31cdcb3f7a -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:18 + touch /tmp/pre-build-complete [Pipeline] sh 13:18:19 + mkdir -p /var/log/sysstat [Pipeline] sh 13:18:19 + ls /var/log/sa-host 13:18:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:18:19 provisioning config files... 13:18:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1773@tmp/config1887891009368261686tmp [Pipeline] { [Pipeline] echo 13:18:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:18:20 ---> create-netrc.sh [Pipeline] } 13:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:18:20 ---> python-tools-install.sh [Pipeline] echo 13:18:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:18:20 ---> sudo-logs.sh 13:18:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:18:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:18:21 ---> job-cost.sh 13:18:21 lf-activate-venv: SKIPPING 13:18:21 DEBUG: total: 0.2199999988079071 13:18:21 INFO: Retrieving Stack Cost... 13:18:21 INFO: Retrieving Pricing Info for: v3-standard-8 13:18:21 INFO: Archiving Costs [Pipeline] echo 13:18:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:18:22 ---> logs-deploy.sh 13:18:22 lf-activate-venv: SKIPPING 13:18:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1773/1 13:18:22 INFO: archiving workspace using pattern(s): 13:18:22 Archives upload complete. 13:18:22 INFO: archiving logs to Nexus