Pull request #1684 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 jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ec81ec31b0efc21b0613f01b7051873941b9b756+9af0642e0454afe5e7d0bd4928537ff3f2da2e70 (239e65f43c184fedd91c62dbd99ef9f9298468c8) 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-ssh1103315619806921858.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh1405473634586174051.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-1684/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-1684/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5630739894397964361.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-1684/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2969307937080162497.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh11235324574876983827.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-1684/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-1684/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4776730600256105733.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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]] ========================================================= [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 ‘prd-ubuntu20.04-docker-8c-8g-38149’ is offline Running on prd-ubuntu20.04-docker-8c-8g-38150 in /w/workspace/gexfoundry_device-sdk-go_PR-1684 [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-1684 # 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 9af0642e0454afe5e7d0bd4928537ff3f2da2e70 into PR head commit ec81ec31b0efc21b0613f01b7051873941b9b756 Merge succeeded, producing ec81ec31b0efc21b0613f01b7051873941b9b756 Checking out Revision ec81ec31b0efc21b0613f01b7051873941b9b756 (PR-1684) > 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/1684/head:refs/remotes/origin/PR-1684 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec81ec31b0efc21b0613f01b7051873941b9b756 # 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 9af0642e0454afe5e7d0bd4928537ff3f2da2e70 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec81ec31b0efc21b0613f01b7051873941b9b756 # timeout=10 Commit message: "feat: Update to use go-mod-messaging new message envelope" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:57:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:57:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:57:05 ========================================================= 09:57:05 EdgeX Global Pipelines Version Info 09:57:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:57:06 ------------------- 09:57:06 stable info: 09:57:06 ------------------- 09:57:06 Commited By: Cherry Wang cherry@iotechsys.com 09:57:06 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:57:06 Message: update stable to v1.0.269 09:57:06 ------------------- 09:57:06 experimental info: 09:57:06 ------------------- 09:57:06 Commited By: **** collab-it+edgex@linuxfoundation.org 09:57:06 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:57:06 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:57:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:57:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:57:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:57:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 09:57:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1684 [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1684 [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1684 [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec81ec31b0efc21b0613f01b7051873941b9b756 [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec81ec3 [Pipeline] echo 09:57:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:57:08 provisioning config files... 09:57:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp/config15216038870338237550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:57:09 ---> ****-login.sh 09:57:09 nexus3.edgexfoundry.org:10001 09:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:09 Configure a credential helper to remove this warning. See 09:57:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:09 09:57:09 Login Succeeded 09:57:09 nexus3.edgexfoundry.org:10002 09:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:09 Configure a credential helper to remove this warning. See 09:57:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:09 09:57:09 Login Succeeded 09:57:09 nexus3.edgexfoundry.org:10003 09:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:09 Configure a credential helper to remove this warning. See 09:57:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:09 09:57:09 Login Succeeded 09:57:09 nexus3.edgexfoundry.org:10004 09:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:09 Configure a credential helper to remove this warning. See 09:57:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:09 09:57:09 Login Succeeded 09:57:09 ****.io 09:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:10 Configure a credential helper to remove this warning. See 09:57:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:10 09:57:10 Login Succeeded 09:57:10 ---> ****-login.sh ends [Pipeline] } 09:57:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:57:10 + git rev-list -1 --merges ec81ec31b0efc21b0613f01b7051873941b9b756~1..ec81ec31b0efc21b0613f01b7051873941b9b756 [Pipeline] echo 09:57:10 -----------> git rev-list -1 --merges ec81ec31b0efc21b0613f01b7051873941b9b756~1..ec81ec31b0efc21b0613f01b7051873941b9b756 ec81ec31b0efc21b0613f01b7051873941b9b756 [false] [Pipeline] sh 09:57:11 + git log --format=format:%s -1 ec81ec31b0efc21b0613f01b7051873941b9b756 [Pipeline] echo 09:57:11 ========================================================= 09:57:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:57:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:57:11 + git log --format=format:%s -1 ec81ec31b0efc21b0613f01b7051873941b9b756 [Pipeline] echo 09:57:11 [semverPrep] GIT_COMMIT: ec81ec31b0efc21b0613f01b7051873941b9b756, Commit Message: feat: Update to use go-mod-messaging new message envelope [Pipeline] echo 09:57:11 [semverPrep] This is not a build commit. [Pipeline] sh 09:57:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:57:12 + grep -v github /etc/ssh/ssh_known_hosts 09:57:12 + [ -e /tmp/ssh_known_hosts ] 09:57:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:57:12 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 09:57:12 tee -a /etc/ssh/ssh_known_hosts 09:57:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:12 09:57:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:13 0.1.4: Pulling from edgex-devops/py-git-semver 09:57:13 b85a868b505f: Pulling fs layer 09:57:13 e2be974225ed: Pulling fs layer 09:57:13 339a4e72a1f5: Pulling fs layer 09:57:13 988bab9f4d93: Pulling fs layer 09:57:13 1469e6f7b9e6: Pulling fs layer 09:57:13 eaf3925da568: Pulling fs layer 09:57:13 bab4dde63d76: Pulling fs layer 09:57:13 bde34c3a00c8: Pulling fs layer 09:57:13 b352a97aabf1: Pulling fs layer 09:57:13 4872d77fe225: Pulling fs layer 09:57:13 5851b861e8e6: Pulling fs layer 09:57:13 eaf3925da568: Waiting 09:57:13 bab4dde63d76: Waiting 09:57:13 bde34c3a00c8: Waiting 09:57:13 b352a97aabf1: Waiting 09:57:13 4872d77fe225: Waiting 09:57:13 5851b861e8e6: Waiting 09:57:13 988bab9f4d93: Waiting 09:57:13 1469e6f7b9e6: Waiting 09:57:13 e2be974225ed: Download complete 09:57:13 988bab9f4d93: Verifying Checksum 09:57:13 988bab9f4d93: Download complete 09:57:13 1469e6f7b9e6: Verifying Checksum 09:57:13 1469e6f7b9e6: Download complete 09:57:13 339a4e72a1f5: Verifying Checksum 09:57:13 339a4e72a1f5: Download complete 09:57:13 eaf3925da568: Verifying Checksum 09:57:13 eaf3925da568: Download complete 09:57:13 bde34c3a00c8: Download complete 09:57:13 b352a97aabf1: Verifying Checksum 09:57:13 b352a97aabf1: Download complete 09:57:13 4872d77fe225: Verifying Checksum 09:57:13 4872d77fe225: Download complete 09:57:13 5851b861e8e6: Download complete 09:57:13 b85a868b505f: Verifying Checksum 09:57:13 b85a868b505f: Download complete 09:57:13 bab4dde63d76: Download complete 09:57:14 b85a868b505f: Pull complete 09:57:14 e2be974225ed: Pull complete 09:57:15 339a4e72a1f5: Pull complete 09:57:15 988bab9f4d93: Pull complete 09:57:15 1469e6f7b9e6: Pull complete 09:57:15 eaf3925da568: Pull complete 09:57:17 bab4dde63d76: Pull complete 09:57:17 bde34c3a00c8: Pull complete 09:57:17 b352a97aabf1: Pull complete 09:57:17 4872d77fe225: Pull complete 09:57:17 5851b861e8e6: Pull complete 09:57:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:57:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:17 prd-ubuntu20.04-docker-8c-8g-38150 does not seem to be running inside a container 09:57:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1684 -v /w/workspace/gexfoundry_device-sdk-go_PR-1684:/w/workspace/gexfoundry_device-sdk-go_PR-1684:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1684@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:57:20 $ docker top 065e360da3042742dcb1aa0c086a8b84a8347f8f7c71c289d5d0651e18289418 -eo pid,comm 09:57:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:57:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:57:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:57:20 [ssh-agent] Looking for ssh-agent implementation... 09:57:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:57:20 $ docker exec 065e360da3042742dcb1aa0c086a8b84a8347f8f7c71c289d5d0651e18289418 ssh-agent 09:57:20 SSH_AUTH_SOCK=/tmp/ssh-VjHSiPj4H2yA/agent.31 09:57:20 SSH_AGENT_PID=37 09:57:20 Running ssh-add (command line suppressed) 09:57:20 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp/private_key_3758139214998983047.key (/w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp/private_key_3758139214998983047.key) 09:57:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:57:21 + git tag --points-at HEAD [Pipeline] } 09:57:21 $ docker exec --env ******** --env ******** 065e360da3042742dcb1aa0c086a8b84a8347f8f7c71c289d5d0651e18289418 ssh-agent -k 09:57:21 unset SSH_AUTH_SOCK; 09:57:21 unset SSH_AGENT_PID; 09:57:21 echo Agent pid 37 killed; 09:57:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:57:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:57:21 [ssh-agent] Looking for ssh-agent implementation... 09:57:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:57:21 $ docker exec 065e360da3042742dcb1aa0c086a8b84a8347f8f7c71c289d5d0651e18289418 ssh-agent 09:57:21 SSH_AUTH_SOCK=/tmp/ssh-y3uzsdA84CoG/agent.70 09:57:21 SSH_AGENT_PID=76 09:57:21 Running ssh-add (command line suppressed) 09:57:21 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp/private_key_18241288532373780495.key (/w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp/private_key_18241288532373780495.key) 09:57:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:57:22 + git semver init 09:57:22 2025-02-04 09:57:22,210 [run_init] DEBUG init version:0.0.0 force:False 09:57:22 2025-02-04 09:57:22,211 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1684/.semver 09:57:22 2025-02-04 09:57:22,212 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1684/.semver 09:57:22 2025-02-04 09:57:22,212 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1684/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1684, universal_newlines=False, shell=None, istream=None) 09:57:23 2025-02-04 09:57:23,448 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1684/.git/info/exclude 09:57:23 2025-02-04 09:57:23,449 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1684/.semver/PR-1684 with force:False 09:57:23 2025-02-04 09:57:23,449 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1684/.semver/PR-1684 09:57:23 2025-02-04 09:57:23,453 [execute] INFO git cat-file --batch-check 09:57:23 2025-02-04 09:57:23,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1684/.semver, universal_newlines=False, shell=None, istream=) 09:57:23 2025-02-04 09:57:23,459 [execute] INFO git cat-file --batch 09:57:23 2025-02-04 09:57:23,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1684/.semver, universal_newlines=False, shell=None, istream=) 09:57:23 2025-02-04 09:57:23,463 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1684/.semver/PR-1684 09:57:23 0.0.0 [Pipeline] } 09:57:23 $ docker exec --env ******** --env ******** 065e360da3042742dcb1aa0c086a8b84a8347f8f7c71c289d5d0651e18289418 ssh-agent -k 09:57:23 unset SSH_AUTH_SOCK; 09:57:23 unset SSH_AGENT_PID; 09:57:23 echo Agent pid 76 killed; 09:57:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:57:24 + git semver [Pipeline] } 09:57:24 $ docker stop --time=1 065e360da3042742dcb1aa0c086a8b84a8347f8f7c71c289d5d0651e18289418 09:57:25 $ docker rm -f --volumes 065e360da3042742dcb1aa0c086a8b84a8347f8f7c71c289d5d0651e18289418 [Pipeline] // withDockerContainer [Pipeline] sh 09:57:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:57:26 Stashed 1 file(s) [Pipeline] echo 09:57:26 [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 09:57:27 provisioning config files... 09:57:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp/config8948125475614988799tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 09:57:28 ---> ****-login.sh 09:57:28 nexus3.edgexfoundry.org:10001 09:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:28 Configure a credential helper to remove this warning. See 09:57:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:28 09:57:28 Login Succeeded 09:57:28 nexus3.edgexfoundry.org:10002 09:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:28 Configure a credential helper to remove this warning. See 09:57:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:28 09:57:28 Login Succeeded 09:57:28 nexus3.edgexfoundry.org:10003 09:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:28 Configure a credential helper to remove this warning. See 09:57:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:28 09:57:28 Login Succeeded 09:57:28 nexus3.edgexfoundry.org:10004 09:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:28 Configure a credential helper to remove this warning. See 09:57:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:28 09:57:28 Login Succeeded 09:57:28 ****.io 09:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:57:28 Configure a credential helper to remove this warning. See 09:57:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:57:28 09:57:28 Login Succeeded 09:57:28 ---> ****-login.sh ends [Pipeline] } 09:57:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:57:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:57:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:57:28 ========================================================= 09:57:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:57:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:29 + 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 . 09:57:29 Sending build context to Docker daemon 25.06MB 09:57:29 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:57:29 Step 2/10 : FROM ${BASE} AS builder 09:57:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:57:29 da9db072f522: Pulling fs layer 09:57:29 6ef4a4ee8ca5: Pulling fs layer 09:57:29 06f05ace1117: Pulling fs layer 09:57:29 5fe327b54edc: Pulling fs layer 09:57:29 4f4fb700ef54: Pulling fs layer 09:57:29 92a5565b7b96: Pulling fs layer 09:57:29 ff9bb7016b71: Pulling fs layer 09:57:29 b67dba6c2c7d: Pulling fs layer 09:57:29 a813b0c90790: Pulling fs layer 09:57:29 5fe327b54edc: Waiting 09:57:29 4f4fb700ef54: Waiting 09:57:29 92a5565b7b96: Waiting 09:57:29 ff9bb7016b71: Waiting 09:57:29 b67dba6c2c7d: Waiting 09:57:29 a813b0c90790: Waiting 09:57:29 6ef4a4ee8ca5: Verifying Checksum 09:57:29 6ef4a4ee8ca5: Download complete 09:57:29 5fe327b54edc: Download complete 09:57:29 4f4fb700ef54: Verifying Checksum 09:57:29 4f4fb700ef54: Download complete 09:57:29 92a5565b7b96: Verifying Checksum 09:57:29 92a5565b7b96: Download complete 09:57:29 da9db072f522: Download complete 09:57:29 ff9bb7016b71: Verifying Checksum 09:57:29 ff9bb7016b71: Download complete 09:57:29 da9db072f522: Pull complete 09:57:29 a813b0c90790: Verifying Checksum 09:57:29 6ef4a4ee8ca5: Pull complete 09:57:30 06f05ace1117: Verifying Checksum 09:57:30 06f05ace1117: Download complete 09:57:30 b67dba6c2c7d: Verifying Checksum 09:57:30 b67dba6c2c7d: Download complete 09:57:33 06f05ace1117: Pull complete 09:57:33 5fe327b54edc: Pull complete 09:57:33 4f4fb700ef54: Pull complete 09:57:34 92a5565b7b96: Pull complete 09:57:34 ff9bb7016b71: Pull complete 09:57:36 b67dba6c2c7d: Pull complete 09:57:36 a813b0c90790: Pull complete 09:57:36 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 09:57:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:57:36 ---> 3ba60ce46760 09:57:36 Step 3/10 : ARG MAKE=make build 09:57:41 ---> Running in 2fa9f371a04f 09:57:41 Removing intermediate container 2fa9f371a04f 09:57:41 ---> f1eb5afd10d0 09:57:41 Step 4/10 : WORKDIR /device-sdk-go 09:57:41 ---> Running in 9245b98c5426 09:57:41 Removing intermediate container 9245b98c5426 09:57:41 ---> 0b6dc3e618f4 09:57:41 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:57:41 ---> Running in 2aabba02def1 09:57:41 Removing intermediate container 2aabba02def1 09:57:41 ---> 3ee5518e9676 09:57:41 Step 6/10 : RUN apk add --update --no-cache make git 09:57:41 ---> Running in 5b9f628de58a 09:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:57:41 OK: 248 MiB in 58 packages 09:57:42 Removing intermediate container 5b9f628de58a 09:57:42 ---> dbf231f64a28 09:57:42 Step 7/10 : COPY go.mod vendor* ./ 09:57:42 ---> eef3914a3355 09:57:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:57:42 ---> Running in 57cc2ecc47ed 09:58:49 Removing intermediate container 57cc2ecc47ed 09:58:49 ---> 2f6b12dcfde3 09:58:49 Step 9/10 : COPY . . 09:58:49 ---> b8343c1c3cef 09:58:49 Step 10/10 : RUN ${MAKE} 09:58:49 ---> Running in c279359fea68 09:58:49 noop 09:58:49 Removing intermediate container c279359fea68 09:58:49 ---> 37a92edb2c53 09:58:49 Successfully built 37a92edb2c53 09:58:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:50 + docker inspect -f . ci-base-image-x86_64 09:58:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:58:50 prd-ubuntu20.04-docker-8c-8g-38150 does not seem to be running inside a container 09:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1684 -v /w/workspace/gexfoundry_device-sdk-go_PR-1684:/w/workspace/gexfoundry_device-sdk-go_PR-1684:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1684@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 ******** -e ******** ci-base-image-x86_64 cat 09:58:50 $ docker top 05f64f011a2916122116f9d2edfe2f2f53539a57a496c1e24b345dd4a64d442d -eo pid,comm [Pipeline] { [Pipeline] sh 09:58:51 + go version 09:58:51 go version go1.23.4 linux/amd64 [Pipeline] } 09:58:51 $ docker stop --time=1 05f64f011a2916122116f9d2edfe2f2f53539a57a496c1e24b345dd4a64d442d 09:58:52 $ docker rm -f --volumes 05f64f011a2916122116f9d2edfe2f2f53539a57a496c1e24b345dd4a64d442d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:53 + docker inspect -f . ci-base-image-x86_64 09:58:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:58:53 prd-ubuntu20.04-docker-8c-8g-38150 does not seem to be running inside a container 09:58: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-1684 -v /w/workspace/gexfoundry_device-sdk-go_PR-1684:/w/workspace/gexfoundry_device-sdk-go_PR-1684:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1684@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 ******** -e ******** ci-base-image-x86_64 cat 09:58:53 $ docker top b00ec17a4b65c6599e32df3e57e287ebd986c23d8e70a52cce527cb18a254e49 -eo pid,comm [Pipeline] { [Pipeline] sh 09:58:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1684 [Pipeline] fileExists [Pipeline] sh 09:58:54 + make test 09:58:54 go test -race -coverprofile=coverage.out ./... 09:59:02 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 09:59:41 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 09:59:41 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 09:59:41 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 09:59:41 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 09:59:41 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 09:59:41 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.031s coverage: 28.2% of statements 09:59:41 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.033s coverage: 79.3% of statements 09:59:41 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 09:59:41 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 09:59:41 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.053s coverage: 86.0% of statements 09:59:41 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 09:59:42 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 09:59:42 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 09:59:42 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 09:59:43 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.099s coverage: 45.0% of statements 09:59:44 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 09:59:49 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 7.052s coverage: 14.2% of statements 09:59:49 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.074s coverage: 44.6% of statements 09:59:49 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.059s coverage: 68.4% of statements 09:59:49 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.092s coverage: 88.3% of statements 09:59:49 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.057s coverage: 5.0% of statements 10:00:25 GO111MODULE=on go vet ./... 10:00:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:00:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:00:27 ./bin/test-attribution-txt.sh [Pipeline] echo 10:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:00:27 $ docker stop --time=1 b00ec17a4b65c6599e32df3e57e287ebd986c23d8e70a52cce527cb18a254e49 10:00:31 $ docker rm -f --volumes b00ec17a4b65c6599e32df3e57e287ebd986c23d8e70a52cce527cb18a254e49 [Pipeline] // withDockerContainer [Pipeline] sh 10:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:00:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:00:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:00:34 + ls -al . 10:00:34 total 736 10:00:34 drwxrwxr-x 11 jenkins jenkins 4096 Feb 4 09:58 . 10:00:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 09:56 .. 10:00:34 -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 09:57 .dockerignore 10:00:34 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 09:59 .git 10:00:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 09:57 .github 10:00:34 -rw-rw-r-- 1 jenkins jenkins 137 Feb 4 09:57 .gitignore 10:00:34 -rw-rw-r-- 1 jenkins jenkins 199 Feb 4 09:57 .golangci.yml 10:00:34 drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 09:57 .semver 10:00:34 -rw-rw-r-- 1 jenkins jenkins 48109 Feb 4 09:57 CHANGELOG.md 10:00:34 -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 09:57 GOVERNANCE.md 10:00:34 -rw-rw-r-- 1 jenkins jenkins 882 Feb 4 09:57 Jenkinsfile 10:00:34 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 09:57 LICENSE 10:00:34 -rw-rw-r-- 1 jenkins jenkins 2424 Feb 4 09:57 Makefile 10:00:34 -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 09:57 OWNERS.md 10:00:34 -rw-rw-r-- 1 jenkins jenkins 4937 Feb 4 09:57 README.md 10:00:34 -rw-rw-r-- 1 jenkins jenkins 5 Feb 4 09:57 VERSION 10:00:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 09:57 bin 10:00:34 -rw-r--r-- 1 jenkins jenkins 500969 Feb 4 09:59 coverage.out 10:00:34 drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 09:57 example 10:00:34 -rw-rw-r-- 1 jenkins jenkins 6176 Feb 4 09:57 go.mod 10:00:34 -rw-rw-r-- 1 jenkins jenkins 86222 Feb 4 09:57 go.sum 10:00:34 drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 09:57 internal 10:00:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 09:57 openapi 10:00:34 drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 09:57 pkg 10:00:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 09:57 snap 10:00:34 -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 09:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:35 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ec81ec31b0efc21b0613f01b7051873941b9b756 --label arch=amd64 --label version=0.0.0 . 10:00:35 Sending build context to Docker daemon 25.56MB 10:00:35 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 10:00:35 Step 2/24 : FROM ${BASE} AS builder 10:00:35 ---> 37a92edb2c53 10:00:35 Step 3/24 : ARG MAKE=make build 10:00:35 ---> Running in 5f4b27126d74 10:00:35 Removing intermediate container 5f4b27126d74 10:00:35 ---> 8ce3a860479e 10:00:35 Step 4/24 : WORKDIR /device-sdk-go 10:00:35 ---> Running in ee3b28d799ae 10:00:35 Removing intermediate container ee3b28d799ae 10:00:35 ---> 0e56e12a8e1a 10:00:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:00:35 ---> Running in 7f37b0b14ea8 10:00:35 Removing intermediate container 7f37b0b14ea8 10:00:35 ---> 98018baa8c5d 10:00:35 Step 6/24 : RUN apk add --update --no-cache make git 10:00:35 ---> Running in 0f25c86d35e7 10:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:00:36 OK: 248 MiB in 58 packages 10:00:36 Removing intermediate container 0f25c86d35e7 10:00:36 ---> 27dc51b27c14 10:00:36 Step 7/24 : COPY go.mod vendor* ./ 10:00:37 ---> cc1c55f5b63f 10:00:37 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:00:37 ---> Running in 9e9ca21c0135 10:00:38 Removing intermediate container 9e9ca21c0135 10:00:38 ---> 87a8d114abd5 10:00:38 Step 9/24 : COPY . . 10:00:38 ---> 2670427c5a76 10:00:38 Step 10/24 : RUN ${MAKE} 10:00:38 ---> Running in 27dbec59a048 10:00:38 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:01:11 Removing intermediate container 27dbec59a048 10:01:11 ---> af4726a9e2c1 10:01:11 Step 11/24 : FROM alpine:3.20 10:01:11 3.20: Pulling from library/alpine 10:01:11 66a3d608f3fa: Pulling fs layer 10:01:11 66a3d608f3fa: Verifying Checksum 10:01:11 66a3d608f3fa: Download complete 10:01:11 66a3d608f3fa: Pull complete 10:01:11 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 10:01:11 Status: Downloaded newer image for alpine:3.20 10:01:11 ---> e29df9b510ff 10:01:11 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:01:11 ---> Running in 594625b15a51 10:01:11 Removing intermediate container 594625b15a51 10:01:11 ---> e84c5c68bd39 10:01:11 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:01:11 ---> Running in 6b4431e951a8 10:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:01:11 (1/1) Installing dumb-init (1.2.5-r3) 10:01:11 Executing busybox-1.36.1-r29.trigger 10:01:11 OK: 8 MiB in 15 packages 10:01:11 Removing intermediate container 6b4431e951a8 10:01:11 ---> ecf6c2fe3c6f 10:01:11 Step 14/24 : RUN apk --no-cache upgrade 10:01:11 ---> Running in d37b02ab5d75 10:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:01:11 OK: 8 MiB in 15 packages 10:01:11 Removing intermediate container d37b02ab5d75 10:01:11 ---> 1e6670c12cf1 10:01:11 Step 15/24 : WORKDIR / 10:01:11 ---> Running in 84beb0bc2412 10:01:11 Removing intermediate container 84beb0bc2412 10:01:11 ---> 082622128013 10:01:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:01:11 ---> 130c6577b992 10:01:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:01:13 ---> 7c641af894de 10:01:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:01:13 ---> cd64085aaaa6 10:01:13 Step 19/24 : EXPOSE 59999 10:01:13 ---> Running in daef1a91d8c6 10:01:13 Removing intermediate container daef1a91d8c6 10:01:13 ---> fd91b3e08410 10:01:13 Step 20/24 : ENTRYPOINT ["/device-simple"] 10:01:13 ---> Running in 800711ec0428 10:01:13 Removing intermediate container 800711ec0428 10:01:13 ---> 56659c8f922e 10:01:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:01:13 ---> Running in 51266ebd93e0 10:01:13 Removing intermediate container 51266ebd93e0 10:01:13 ---> ce4621ceb2ef 10:01:13 Step 22/24 : LABEL arch=amd64 10:01:13 ---> Running in c7d432a7ed4c 10:01:13 Removing intermediate container c7d432a7ed4c 10:01:13 ---> 8a51d2c38bc4 10:01:13 Step 23/24 : LABEL git_sha=ec81ec31b0efc21b0613f01b7051873941b9b756 10:01:13 ---> Running in 9f29b7cd608c 10:01:13 Removing intermediate container 9f29b7cd608c 10:01:13 ---> 915d2bbf3b2a 10:01:13 Step 24/24 : LABEL version=0.0.0 10:01:13 ---> Running in af5a76907498 10:01:13 Removing intermediate container af5a76907498 10:01:13 ---> 6f09dd7550cb 10:01:13 [Warning] One or more build-args [ARCH] were not consumed 10:01:13 Successfully built 6f09dd7550cb 10:01:13 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:14 10:01:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:14 latest: Pulling from edgex-lftools-log-publisher 10:01:14 5eb5b503b376: Pulling fs layer 10:01:14 5c69ac0246d0: Pulling fs layer 10:01:14 ec43610c2a17: Pulling fs layer 10:01:14 3a2ae6a8a46f: Pulling fs layer 10:01:14 33b1e0a273af: Pulling fs layer 10:01:14 5d3b04190fa2: Pulling fs layer 10:01:14 2f39f015ded8: Pulling fs layer 10:01:14 33b1e0a273af: Waiting 10:01:14 5d3b04190fa2: Waiting 10:01:14 2f39f015ded8: Waiting 10:01:14 3a2ae6a8a46f: Waiting 10:01:14 5c69ac0246d0: Verifying Checksum 10:01:14 5c69ac0246d0: Download complete 10:01:14 3a2ae6a8a46f: Download complete 10:01:14 33b1e0a273af: Verifying Checksum 10:01:14 33b1e0a273af: Download complete 10:01:14 5d3b04190fa2: Verifying Checksum 10:01:14 5d3b04190fa2: Download complete 10:01:14 ec43610c2a17: Verifying Checksum 10:01:14 ec43610c2a17: Download complete 10:01:15 5eb5b503b376: Verifying Checksum 10:01:15 5eb5b503b376: Download complete 10:01:15 2f39f015ded8: Download complete 10:01:16 5eb5b503b376: Pull complete 10:01:16 5c69ac0246d0: Pull complete 10:01:16 ec43610c2a17: Pull complete 10:01:16 3a2ae6a8a46f: Pull complete 10:01:17 33b1e0a273af: Pull complete 10:01:17 5d3b04190fa2: Pull complete 10:01:21 2f39f015ded8: Pull complete 10:01:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:01:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:21 prd-ubuntu20.04-docker-8c-8g-38150 does not seem to be running inside a container 10:01:21 $ 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-1684 -v /w/workspace/gexfoundry_device-sdk-go_PR-1684:/w/workspace/gexfoundry_device-sdk-go_PR-1684:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1684@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:01:24 $ docker top 20a2577ab28d3afa765001591a5260e3669e54ac35c7ba0921cc1eb9c86b574d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:25 ---> job-cost.sh 10:01:25 lf-activate-venv: SKIPPING 10:01:25 INFO: No Stack... 10:01:25 INFO: Retrieving Pricing Info for: v3-standard-8 10:01:25 INFO: Archiving Costs [Pipeline] sh 10:01:25 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1684/archives/cost.csv 10:01:25 + cut -d, -f6 [Pipeline] lock 10:01:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1684-1-stack-cost] 10:01:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1684-1-stack-cost] did not exist. Created. 10:01:25 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1684-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:01:26 + echo total: 0.2199999988079071 [Pipeline] stash 10:01:26 Stashed 1 file(s) [Pipeline] } 10:01:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1684-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:01:26 $ docker stop --time=1 20a2577ab28d3afa765001591a5260e3669e54ac35c7ba0921cc1eb9c86b574d 10:01:27 $ docker rm -f --volumes 20a2577ab28d3afa765001591a5260e3669e54ac35c7ba0921cc1eb9c86b574d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:01:28 provisioning config files... 10:01:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp/config6360339128852845767tmp [Pipeline] { [Pipeline] sh 10:01:28 + set +x 10:01:28 + curl -s https://codecov.io/bash 10:01:28 + bash -s -- 10:01:29 10:01:29 _____ _ 10:01:29 / ____| | | 10:01:29 | | ___ __| | ___ ___ _____ __ 10:01:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:01:29 | |___| (_) | (_| | __/ (_| (_) \ V / 10:01:29 \_____\___/ \__,_|\___|\___\___/ \_/ 10:01:29 Bash-1.0.6 10:01:29 10:01:29 10:01:29 ==> git version 2.25.1 found 10:01:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:01:29 Release-Date: 2020-01-08 10:01:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:01:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:01:29 ==> Jenkins CI detected. 10:01:29 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1684 10:01:29 project root: . 10:01:29 --> token set from env 10:01:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:01:29 ==> Running gcov in . (disable via -X gcov) 10:01:29 ==> Python coveragepy not found 10:01:29 ==> Searching for coverage reports in: 10:01:29 + . 10:01:29 -> Found 1 reports 10:01:29 ==> Detecting git/mercurial file structure 10:01:29 ==> Reading reports 10:01:29 + ./coverage.out bytes=500969 10:01:29 ==> Appending adjustments 10:01:29 https://docs.codecov.io/docs/fixing-reports 10:01:29 + Found adjustments 10:01:29 ==> Gzipping contents 10:01:29 48K /tmp/codecov.dPFx6h.gz 10:01:29 ==> Uploading reports 10:01:29 url: https://codecov.io 10:01:29 query: branch=PR-1684&commit=ec81ec31b0efc21b0613f01b7051873941b9b756&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1684%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1684&job=&cmd_args= 10:01:29 -> Pinging Codecov 10:01:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1684&commit=ec81ec31b0efc21b0613f01b7051873941b9b756&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1684%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1684&job=&cmd_args= 10:01:29 -> Uploading to 10:01:29 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-sdk-go/ec81ec31b0efc21b0613f01b7051873941b9b756/110cb84c-6e3a-4a01-9756-79f047a6634e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250204%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250204T100129Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=ab34c16babd91fb6a51a03b3240c3eea54d98dd845143c288a8deb5d2b1d6554 10:01:29 % Total % Received % Xferd Average Speed Time Time Time Current 10:01:29 Dload Upload Total Spent Left Speed 10:01:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47450 0 0 100 47450 0 214k --:--:-- --:--:-- --:--:-- 213k 10:01:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ec81ec31b0efc21b0613f01b7051873941b9b756 [Pipeline] } 10:01:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:01:31 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1684/archives ] 10:01:31 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1684/archives 10:01:31 total 16 10:01:31 drwxr-xr-x 3 root root 4096 Feb 4 10:01 . 10:01:31 drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:01 .. 10:01:31 drwxr-xr-x 2 root root 4096 Feb 4 10:01 cost 10:01:31 -rw-r--r-- 1 root root 86 Feb 4 10:01 cost.csv 10:01:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1684/archives 10:01:31 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1684/archives 10:01:31 total 16 10:01:31 drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:01 . 10:01:31 drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:01 .. 10:01:31 drwxr-xr-x 2 jenkins jenkins 4096 Feb 4 10:01 cost 10:01:31 -rw-r--r-- 1 jenkins jenkins 86 Feb 4 10:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:01:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:01:33 ---> package-listing.sh 10:01:33 ++ facter osfamily 10:01:33 ++ tr '[:upper:]' '[:lower:]' 10:01:33 + OS_FAMILY=debian 10:01:33 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1684 10:01:33 + START_PACKAGES=/tmp/packages_start.txt 10:01:33 + END_PACKAGES=/tmp/packages_end.txt 10:01:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:01:33 + PACKAGES=/tmp/packages_start.txt 10:01:33 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1684 ']' 10:01:33 + PACKAGES=/tmp/packages_end.txt 10:01:33 + case "${OS_FAMILY}" in 10:01:33 + dpkg -l 10:01:33 + grep '^ii' 10:01:33 + '[' -f /tmp/packages_start.txt ']' 10:01:33 + '[' -f /tmp/packages_end.txt ']' 10:01:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:01:33 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1684 ']' 10:01:33 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1684/archives/ 10:01:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1684/archives/ [Pipeline] echo 10:01:33 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-1684/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:01:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:34 prd-ubuntu20.04-docker-8c-8g-38150 does not seem to be running inside a container 10:01:34 $ 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-1684/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-1684 -v /w/workspace/gexfoundry_device-sdk-go_PR-1684:/w/workspace/gexfoundry_device-sdk-go_PR-1684:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1684@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 10:01:35 $ docker top 0cb6d942cfb3ba414f5f0a31c8cfb3febd68426bf95a14cbdbee7299cfba0972 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:35 + touch /tmp/pre-build-complete [Pipeline] sh 10:01:35 + mkdir -p /var/log/sysstat [Pipeline] sh 10:01:36 + ls /var/log/sa-host 10:01:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:36 provisioning config files... 10:01:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1684@tmp/config2056862429586130038tmp [Pipeline] { [Pipeline] echo 10:01:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:01:36 ---> create-netrc.sh [Pipeline] } 10:01:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:01:37 ---> python-tools-install.sh [Pipeline] echo 10:01:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:01:37 ---> sudo-logs.sh 10:01:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:01:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:01:38 ---> job-cost.sh 10:01:38 lf-activate-venv: SKIPPING 10:01:38 DEBUG: total: 0.2199999988079071 10:01:38 INFO: Retrieving Stack Cost... 10:01:38 INFO: Retrieving Pricing Info for: v3-standard-8 10:01:38 INFO: Archiving Costs [Pipeline] echo 10:01:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:01:38 ---> logs-deploy.sh 10:01:38 lf-activate-venv: SKIPPING 10:01:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1684/1 10:01:38 INFO: archiving workspace using pattern(s): 10:01:39 Archives upload complete. 10:01:39 INFO: archiving logs to Nexus