Pull request #110 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a4bfe80c12aad33591a4e7500ebda9a6e0902fac+68238f63d1c6f5f050a41c84d23fd27d7c95b502 (26dc2865bef627412998c507ce1e1c216590255e) 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-ssh11720886546683394133.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh3945332819681949718.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-uart/branches/PR-110/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-uart/branches/PR-110/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7485666315365876301.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-uart/branches/PR-110/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8595839600304273300.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh15296875562144574674.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-uart/branches/PR-110/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-uart/branches/PR-110/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11579880707907300066.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-uart, buildSnap:false] ========================================================= [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-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-40771 in /w/workspace/edgexfoundry_device-uart_PR-110 [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-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-110 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.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-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 68238f63d1c6f5f050a41c84d23fd27d7c95b502 into PR head commit a4bfe80c12aad33591a4e7500ebda9a6e0902fac Merge succeeded, producing a4bfe80c12aad33591a4e7500ebda9a6e0902fac Checking out Revision a4bfe80c12aad33591a4e7500ebda9a6e0902fac (PR-110) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4bfe80c12aad33591a4e7500ebda9a6e0902fac # 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 68238f63d1c6f5f050a41c84d23fd27d7c95b502 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4bfe80c12aad33591a4e7500ebda9a6e0902fac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:38:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:38:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:38:45 ========================================================= 18:38:45 EdgeX Global Pipelines Version Info 18:38:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:38:46 ------------------- 18:38:46 stable info: 18:38:46 ------------------- 18:38:46 Commited By: Cherry Wang cherry@iotechsys.com 18:38:46 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 18:38:46 Message: update stable to v1.0.271 18:38:47 ------------------- 18:38:47 experimental info: 18:38:47 ------------------- 18:38:47 Commited By: **** collab-it+edgex@linuxfoundation.org 18:38:47 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 18:38:47 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:38:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-110 [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-110 [Pipeline] echo 18:38:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-110 [Pipeline] echo 18:38:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4bfe80c12aad33591a4e7500ebda9a6e0902fac [Pipeline] echo 18:38:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4bfe80 [Pipeline] echo 18:38:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:38:49 provisioning config files... 18:38:49 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-110@tmp/config1330089756861631150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:49 ---> ****-login.sh 18:38:49 nexus3.edgexfoundry.org:10001 18:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:38:49 Configure a credential helper to remove this warning. See 18:38:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:38:49 18:38:49 Login Succeeded 18:38:49 nexus3.edgexfoundry.org:10002 18:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:38:49 Configure a credential helper to remove this warning. See 18:38:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:38:49 18:38:49 Login Succeeded 18:38:49 nexus3.edgexfoundry.org:10003 18:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:38:50 Configure a credential helper to remove this warning. See 18:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:38:50 18:38:50 Login Succeeded 18:38:50 nexus3.edgexfoundry.org:10004 18:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:38:50 Configure a credential helper to remove this warning. See 18:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:38:50 18:38:50 Login Succeeded 18:38:50 ****.io 18:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:38:50 Configure a credential helper to remove this warning. See 18:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:38:50 18:38:50 Login Succeeded 18:38:50 ---> ****-login.sh ends [Pipeline] } 18:38:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:38:51 + git rev-list -1 --merges a4bfe80c12aad33591a4e7500ebda9a6e0902fac~1..a4bfe80c12aad33591a4e7500ebda9a6e0902fac [Pipeline] echo 18:38:51 -----------> git rev-list -1 --merges a4bfe80c12aad33591a4e7500ebda9a6e0902fac~1..a4bfe80c12aad33591a4e7500ebda9a6e0902fac a4bfe80c12aad33591a4e7500ebda9a6e0902fac [false] [Pipeline] sh 18:38:51 + git log --format=format:%s -1 a4bfe80c12aad33591a4e7500ebda9a6e0902fac [Pipeline] echo 18:38:51 ========================================================= 18:38:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:38:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:52 + git log --format=format:%s -1 a4bfe80c12aad33591a4e7500ebda9a6e0902fac [Pipeline] echo 18:38:52 [semverPrep] GIT_COMMIT: a4bfe80c12aad33591a4e7500ebda9a6e0902fac, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 18:38:52 [semverPrep] This is not a build commit. [Pipeline] sh 18:38:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:38:52 + grep -v github /etc/ssh/ssh_known_hosts 18:38:52 + [ -e /tmp/ssh_known_hosts ] 18:38:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:38:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:38:52 + sudo tee -a /etc/ssh/ssh_known_hosts 18:38:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:53 18:38:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:53 0.1.4: Pulling from edgex-devops/py-git-semver 18:38:53 b85a868b505f: Pulling fs layer 18:38:53 e2be974225ed: Pulling fs layer 18:38:53 339a4e72a1f5: Pulling fs layer 18:38:53 988bab9f4d93: Pulling fs layer 18:38:53 1469e6f7b9e6: Pulling fs layer 18:38:53 eaf3925da568: Pulling fs layer 18:38:53 bab4dde63d76: Pulling fs layer 18:38:53 bde34c3a00c8: Pulling fs layer 18:38:53 b352a97aabf1: Pulling fs layer 18:38:53 4872d77fe225: Pulling fs layer 18:38:53 5851b861e8e6: Pulling fs layer 18:38:53 bab4dde63d76: Waiting 18:38:53 bde34c3a00c8: Waiting 18:38:53 5851b861e8e6: Waiting 18:38:53 b352a97aabf1: Waiting 18:38:53 4872d77fe225: Waiting 18:38:53 988bab9f4d93: Waiting 18:38:53 1469e6f7b9e6: Waiting 18:38:53 eaf3925da568: Waiting 18:38:53 e2be974225ed: Download complete 18:38:53 988bab9f4d93: Verifying Checksum 18:38:53 988bab9f4d93: Download complete 18:38:53 339a4e72a1f5: Verifying Checksum 18:38:53 339a4e72a1f5: Download complete 18:38:53 1469e6f7b9e6: Verifying Checksum 18:38:53 1469e6f7b9e6: Download complete 18:38:53 eaf3925da568: Download complete 18:38:53 bde34c3a00c8: Verifying Checksum 18:38:53 bde34c3a00c8: Download complete 18:38:53 b352a97aabf1: Verifying Checksum 18:38:53 b352a97aabf1: Download complete 18:38:53 4872d77fe225: Verifying Checksum 18:38:53 4872d77fe225: Download complete 18:38:53 5851b861e8e6: Download complete 18:38:53 b85a868b505f: Verifying Checksum 18:38:53 b85a868b505f: Download complete 18:38:53 bab4dde63d76: Verifying Checksum 18:38:53 bab4dde63d76: Download complete 18:38:54 b85a868b505f: Pull complete 18:38:54 e2be974225ed: Pull complete 18:38:55 339a4e72a1f5: Pull complete 18:38:55 988bab9f4d93: Pull complete 18:38:55 1469e6f7b9e6: Pull complete 18:38:55 eaf3925da568: Pull complete 18:38:57 bab4dde63d76: Pull complete 18:38:57 bde34c3a00c8: Pull complete 18:38:57 b352a97aabf1: Pull complete 18:38:57 4872d77fe225: Pull complete 18:38:57 5851b861e8e6: Pull complete 18:38:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:38:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:58 prd-ubuntu20.04-docker-8c-8g-40771 does not seem to be running inside a container 18:38:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-110 -v /w/workspace/edgexfoundry_device-uart_PR-110:/w/workspace/edgexfoundry_device-uart_PR-110:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-110@tmp:/w/workspace/edgexfoundry_device-uart_PR-110@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:38:59 $ docker top 7a3eda9b78327973299b42e42416a916d7c34221e1fa00a347ad558394d71943 -eo pid,comm 18:38:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:38:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:38:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:38:59 [ssh-agent] Looking for ssh-agent implementation... 18:39:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:00 $ docker exec 7a3eda9b78327973299b42e42416a916d7c34221e1fa00a347ad558394d71943 ssh-agent 18:39:00 SSH_AUTH_SOCK=/tmp/ssh-0r88usDcyObE/agent.32 18:39:00 SSH_AGENT_PID=38 18:39:00 Running ssh-add (command line suppressed) 18:39:00 Identity added: /w/workspace/edgexfoundry_device-uart_PR-110@tmp/private_key_12673335557637882207.key (/w/workspace/edgexfoundry_device-uart_PR-110@tmp/private_key_12673335557637882207.key) 18:39:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:00 + git tag --points-at HEAD [Pipeline] } 18:39:00 $ docker exec --env ******** --env ******** 7a3eda9b78327973299b42e42416a916d7c34221e1fa00a347ad558394d71943 ssh-agent -k 18:39:00 unset SSH_AUTH_SOCK; 18:39:00 unset SSH_AGENT_PID; 18:39:00 echo Agent pid 38 killed; 18:39:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:39:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:00 [ssh-agent] Looking for ssh-agent implementation... 18:39:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:00 $ docker exec 7a3eda9b78327973299b42e42416a916d7c34221e1fa00a347ad558394d71943 ssh-agent 18:39:01 SSH_AUTH_SOCK=/tmp/ssh-UIWXYeEbNPa7/agent.71 18:39:01 SSH_AGENT_PID=77 18:39:01 Running ssh-add (command line suppressed) 18:39:01 Identity added: /w/workspace/edgexfoundry_device-uart_PR-110@tmp/private_key_3913455050891691493.key (/w/workspace/edgexfoundry_device-uart_PR-110@tmp/private_key_3913455050891691493.key) 18:39:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:01 + git semver init 18:39:01 2025-03-10 18:39:01,727 [run_init] DEBUG init version:0.0.0 force:False 18:39:01 2025-03-10 18:39:01,728 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-110/.semver 18:39:01 2025-03-10 18:39:01,728 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-110/.semver 18:39:01 2025-03-10 18:39:01,729 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-110/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-110, universal_newlines=False, shell=None, istream=None) 18:39:03 2025-03-10 18:39:02,829 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-110/.git/info/exclude 18:39:03 2025-03-10 18:39:02,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-110/.semver/PR-110 with force:False 18:39:03 2025-03-10 18:39:02,830 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-110/.semver/PR-110 18:39:03 2025-03-10 18:39:02,834 [execute] INFO git cat-file --batch-check 18:39:03 2025-03-10 18:39:02,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-110/.semver, universal_newlines=False, shell=None, istream=) 18:39:03 2025-03-10 18:39:02,840 [execute] INFO git cat-file --batch 18:39:03 2025-03-10 18:39:02,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-110/.semver, universal_newlines=False, shell=None, istream=) 18:39:03 2025-03-10 18:39:02,845 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-110/.semver/PR-110 18:39:03 0.0.0 [Pipeline] } 18:39:03 $ docker exec --env ******** --env ******** 7a3eda9b78327973299b42e42416a916d7c34221e1fa00a347ad558394d71943 ssh-agent -k 18:39:03 unset SSH_AUTH_SOCK; 18:39:03 unset SSH_AGENT_PID; 18:39:03 echo Agent pid 77 killed; 18:39:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:03 + git semver [Pipeline] } 18:39:04 $ docker stop --time=1 7a3eda9b78327973299b42e42416a916d7c34221e1fa00a347ad558394d71943 18:39:05 $ docker rm -f --volumes 7a3eda9b78327973299b42e42416a916d7c34221e1fa00a347ad558394d71943 [Pipeline] // withDockerContainer [Pipeline] sh 18:39:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:39:06 Stashed 1 file(s) [Pipeline] echo 18:39:06 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:07 provisioning config files... 18:39:07 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-110@tmp/config5180506029709376841tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 18:39:07 ---> ****-login.sh 18:39:07 nexus3.edgexfoundry.org:10001 18:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:07 Configure a credential helper to remove this warning. See 18:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:07 18:39:07 Login Succeeded 18:39:07 nexus3.edgexfoundry.org:10002 18:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:07 Configure a credential helper to remove this warning. See 18:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:07 18:39:07 Login Succeeded 18:39:07 nexus3.edgexfoundry.org:10003 18:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:08 Configure a credential helper to remove this warning. See 18:39:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:08 18:39:08 Login Succeeded 18:39:08 nexus3.edgexfoundry.org:10004 18:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:08 Configure a credential helper to remove this warning. See 18:39:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:08 18:39:08 Login Succeeded 18:39:08 ****.io 18:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:08 Configure a credential helper to remove this warning. See 18:39:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:08 18:39:08 Login Succeeded 18:39:08 ---> ****-login.sh ends [Pipeline] } 18:39:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 18:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 18:39:08 ========================================================= 18:39:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 18:39:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 18:39:09 Sending build context to Docker daemon 25.86MB 18:39:09 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 18:39:09 Step 2/12 : FROM ${BASE} AS builder 18:39:09 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 18:39:09 da9db072f522: Pulling fs layer 18:39:09 6ef4a4ee8ca5: Pulling fs layer 18:39:09 06f05ace1117: Pulling fs layer 18:39:09 5fe327b54edc: Pulling fs layer 18:39:09 4f4fb700ef54: Pulling fs layer 18:39:09 92a5565b7b96: Pulling fs layer 18:39:09 ff9bb7016b71: Pulling fs layer 18:39:09 b67dba6c2c7d: Pulling fs layer 18:39:09 a813b0c90790: Pulling fs layer 18:39:09 4f4fb700ef54: Waiting 18:39:09 92a5565b7b96: Waiting 18:39:09 ff9bb7016b71: Waiting 18:39:09 b67dba6c2c7d: Waiting 18:39:09 5fe327b54edc: Waiting 18:39:09 6ef4a4ee8ca5: Verifying Checksum 18:39:09 6ef4a4ee8ca5: Download complete 18:39:09 5fe327b54edc: Verifying Checksum 18:39:09 5fe327b54edc: Download complete 18:39:09 4f4fb700ef54: Download complete 18:39:09 da9db072f522: Download complete 18:39:09 92a5565b7b96: Verifying Checksum 18:39:09 92a5565b7b96: Download complete 18:39:09 ff9bb7016b71: Verifying Checksum 18:39:09 ff9bb7016b71: Download complete 18:39:09 da9db072f522: Pull complete 18:39:09 6ef4a4ee8ca5: Pull complete 18:39:09 a813b0c90790: Verifying Checksum 18:39:09 06f05ace1117: Verifying Checksum 18:39:09 06f05ace1117: Download complete 18:39:10 b67dba6c2c7d: Verifying Checksum 18:39:10 b67dba6c2c7d: Download complete 18:39:13 06f05ace1117: Pull complete 18:39:13 5fe327b54edc: Pull complete 18:39:13 4f4fb700ef54: Pull complete 18:39:13 92a5565b7b96: Pull complete 18:39:13 ff9bb7016b71: Pull complete 18:39:15 b67dba6c2c7d: Pull complete 18:39:15 a813b0c90790: Pull complete 18:39:15 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 18:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 18:39:15 ---> 3ba60ce46760 18:39:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:39:18 ---> Running in e5b4ed2ad9ac 18:39:18 Removing intermediate container e5b4ed2ad9ac 18:39:18 ---> 5246778efc8a 18:39:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:39:18 ---> Running in cd1091f4dd3b 18:39:18 Removing intermediate container cd1091f4dd3b 18:39:18 ---> cf0b299d63e0 18:39:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:39:18 ---> Running in 6c70140a6f6c 18:39:18 Removing intermediate container 6c70140a6f6c 18:39:18 ---> 786498996f23 18:39:18 Step 6/12 : WORKDIR /device-uart 18:39:18 ---> Running in 8d6747fa0320 18:39:18 Removing intermediate container 8d6747fa0320 18:39:18 ---> a4885cbf2f42 18:39:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:18 ---> Running in 62f4aa35b59d 18:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:39:18 (1/4) Installing openssh-keygen (9.7_p1-r5) 18:39:18 (2/4) Installing libedit (20240517.3.1-r0) 18:39:18 (3/4) Installing openssh-client-common (9.7_p1-r5) 18:39:18 (4/4) Installing openssh-client-default (9.7_p1-r5) 18:39:18 Executing busybox-1.36.1-r29.trigger 18:39:19 OK: 252 MiB in 62 packages 18:39:19 Removing intermediate container 62f4aa35b59d 18:39:19 ---> 1758127db4fa 18:39:19 Step 8/12 : COPY go.mod vendor* ./ 18:39:19 ---> 94a6e9f53d9b 18:39:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:19 ---> Running in cc6a7e15fccf 18:39:58 Removing intermediate container cc6a7e15fccf 18:39:58 ---> 579263e5782d 18:39:58 Step 10/12 : COPY . . 18:39:58 ---> f8c66f50c515 18:39:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:58 ---> Running in fb680c574e17 18:39:58 Removing intermediate container fb680c574e17 18:39:58 ---> 7adebffc27eb 18:39:58 Step 12/12 : RUN ${MAKE} 18:39:58 ---> Running in 84e4aa56197c 18:39:58 noop 18:39:58 Removing intermediate container 84e4aa56197c 18:39:58 ---> b584e1533a3b 18:39:58 Successfully built b584e1533a3b 18:39:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:58 + docker inspect -f . ci-base-image-x86_64 18:39:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:59 prd-ubuntu20.04-docker-8c-8g-40771 does not seem to be running inside a container 18:39:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-110 -v /w/workspace/edgexfoundry_device-uart_PR-110:/w/workspace/edgexfoundry_device-uart_PR-110:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-110@tmp:/w/workspace/edgexfoundry_device-uart_PR-110@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 ******** ci-base-image-x86_64 cat 18:39:59 $ docker top 59fa03c424f7e173bdf38e081647935e90f7ad133ad9f51a2faa5be47d9689d8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:59 + go version 18:39:59 go version go1.23.4 linux/amd64 [Pipeline] } 18:39:59 $ docker stop --time=1 59fa03c424f7e173bdf38e081647935e90f7ad133ad9f51a2faa5be47d9689d8 18:40:01 $ docker rm -f --volumes 59fa03c424f7e173bdf38e081647935e90f7ad133ad9f51a2faa5be47d9689d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:01 + docker inspect -f . ci-base-image-x86_64 18:40:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:02 prd-ubuntu20.04-docker-8c-8g-40771 does not seem to be running inside a container 18:40:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-110 -v /w/workspace/edgexfoundry_device-uart_PR-110:/w/workspace/edgexfoundry_device-uart_PR-110:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-110@tmp:/w/workspace/edgexfoundry_device-uart_PR-110@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 ******** ci-base-image-x86_64 cat 18:40:02 $ docker top 86e481d15a5afd49d0c522d06e18fce9d8a0dbad36c8315df1400a7bee687b6c -eo pid,comm [Pipeline] { [Pipeline] sh 18:40:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-110 [Pipeline] fileExists [Pipeline] sh 18:40:03 + make test 18:40:03 go test ./... -coverprofile=coverage.out 18:40:04 ? github.com/edgexfoundry/device-uart [no test files] 18:40:22 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 18:40:22 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 18:40:32 go vet ./... 18:40:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:40:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:40:37 ./bin/test-attribution-txt.sh [Pipeline] echo 18:40:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 18:40:37 $ docker stop --time=1 86e481d15a5afd49d0c522d06e18fce9d8a0dbad36c8315df1400a7bee687b6c 18:40:39 $ docker rm -f --volumes 86e481d15a5afd49d0c522d06e18fce9d8a0dbad36c8315df1400a7bee687b6c [Pipeline] // withDockerContainer [Pipeline] sh 18:40:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:40:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:40:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:40:41 + ls -al . 18:40:41 total 224 18:40:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 18:40 . 18:40:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:38 .. 18:40:41 -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 18:38 .dockerignore 18:40:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 18:40 .git 18:40:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:38 .github 18:40:41 -rw-rw-r-- 1 jenkins jenkins 343 Mar 10 18:38 .gitignore 18:40:41 -rw-rw-r-- 1 jenkins jenkins 198 Mar 10 18:38 .golangci.yml 18:40:41 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 18:39 .semver 18:40:41 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 10 18:38 Attribution.txt 18:40:41 -rw-rw-r-- 1 jenkins jenkins 2704 Mar 10 18:38 CHANGELOG.md 18:40:41 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 10 18:38 Dockerfile 18:40:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 18:38 GOVERNANCE.md 18:40:41 -rw-rw-r-- 1 jenkins jenkins 675 Mar 10 18:38 Jenkinsfile 18:40:41 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 10 18:38 LICENSE 18:40:41 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 10 18:38 Makefile 18:40:41 -rw-rw-r-- 1 jenkins jenkins 617 Mar 10 18:38 OWNERS.md 18:40:41 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 10 18:38 README.md 18:40:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 18:39 VERSION 18:40:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:38 bin 18:40:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:38 cmd 18:40:41 -rw-r--r-- 1 jenkins jenkins 6770 Mar 10 18:40 coverage.out 18:40:41 -rw-rw-r-- 1 jenkins jenkins 6080 Mar 10 18:38 go.mod 18:40:41 -rw-rw-r-- 1 jenkins jenkins 86765 Mar 10 18:38 go.sum 18:40:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:38 internal 18:40:41 -rw-rw-r-- 1 jenkins jenkins 209 Mar 10 18:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:42 + docker build -t device-uart -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a4bfe80c12aad33591a4e7500ebda9a6e0902fac --label arch=amd64 --label version=0.0.0 . 18:40:42 Sending build context to Docker daemon 25.87MB 18:40:42 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 18:40:42 Step 2/26 : FROM ${BASE} AS builder 18:40:42 ---> b584e1533a3b 18:40:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:40:42 ---> Running in 7cc6ce0ceea6 18:40:42 Removing intermediate container 7cc6ce0ceea6 18:40:42 ---> a4d3b6e682cd 18:40:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:40:42 ---> Running in b018ece3a45c 18:40:42 Removing intermediate container b018ece3a45c 18:40:42 ---> 75d7fddc7684 18:40:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:40:42 ---> Running in adb20e718ac6 18:40:42 Removing intermediate container adb20e718ac6 18:40:42 ---> 7d807843a9e7 18:40:42 Step 6/26 : WORKDIR /device-uart 18:40:42 ---> Running in 55a9f7b6df18 18:40:42 Removing intermediate container 55a9f7b6df18 18:40:42 ---> 79052b0b9545 18:40:42 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:40:42 ---> Running in f0e0536e4ec8 18:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:40:43 OK: 252 MiB in 62 packages 18:40:43 Removing intermediate container f0e0536e4ec8 18:40:43 ---> 18f3e866c621 18:40:43 Step 8/26 : COPY go.mod vendor* ./ 18:40:43 ---> 0827f15d1b77 18:40:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:43 ---> Running in 0304a45336c1 18:40:44 Removing intermediate container 0304a45336c1 18:40:44 ---> 101534f8b061 18:40:44 Step 10/26 : COPY . . 18:40:44 ---> 5a83fa5e1471 18:40:44 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:40:44 ---> Running in d38133d8b8fc 18:40:44 Removing intermediate container d38133d8b8fc 18:40:44 ---> da0701480edd 18:40:44 Step 12/26 : RUN ${MAKE} 18:40:44 ---> Running in 3fa6893af77f 18:40:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.31 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 18:41:11 Removing intermediate container 3fa6893af77f 18:41:11 ---> 7df5f45f5332 18:41:11 Step 13/26 : FROM alpine:3.20 18:41:11 3.20: Pulling from library/alpine 18:41:11 0a9a5dfd008f: Pulling fs layer 18:41:11 0a9a5dfd008f: Verifying Checksum 18:41:11 0a9a5dfd008f: Download complete 18:41:11 0a9a5dfd008f: Pull complete 18:41:11 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 18:41:11 Status: Downloaded newer image for alpine:3.20 18:41:11 ---> ff221270b9fb 18:41:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:41:11 ---> Running in bb53e3d092f3 18:41:11 Removing intermediate container bb53e3d092f3 18:41:11 ---> 79947ab1ae3c 18:41:11 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:41:11 ---> Running in 8fd88b5a7ac3 18:41:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:41:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:41:12 (1/1) Installing dumb-init (1.2.5-r3) 18:41:12 Executing busybox-1.36.1-r29.trigger 18:41:12 OK: 8 MiB in 15 packages 18:41:12 Removing intermediate container 8fd88b5a7ac3 18:41:12 ---> 12f4eb4d3bac 18:41:12 Step 16/26 : RUN apk --no-cache upgrade 18:41:12 ---> Running in 1a874b077511 18:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:41:13 OK: 8 MiB in 15 packages 18:41:13 Removing intermediate container 1a874b077511 18:41:13 ---> 3c0a7d5d7274 18:41:13 Step 17/26 : WORKDIR / 18:41:13 ---> Running in 8a770b33d6fa 18:41:13 Removing intermediate container 8a770b33d6fa 18:41:13 ---> bab8de3ce713 18:41:13 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:41:13 ---> 8d78eee1b932 18:41:13 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:41:13 ---> 5b3fb05c9c29 18:41:13 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:41:14 ---> 05d27b927524 18:41:14 Step 21/26 : EXPOSE 59995 18:41:14 ---> Running in 314cae8d3412 18:41:14 Removing intermediate container 314cae8d3412 18:41:14 ---> 4fca76832941 18:41:14 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:41:14 ---> Running in a10977764a0c 18:41:14 Removing intermediate container a10977764a0c 18:41:14 ---> a67360338a6a 18:41:14 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 18:41:14 ---> Running in e5e69d339e00 18:41:15 Removing intermediate container e5e69d339e00 18:41:15 ---> 1fbc8140734b 18:41:15 Step 24/26 : LABEL arch=amd64 18:41:15 ---> Running in 8fb93525b484 18:41:15 Removing intermediate container 8fb93525b484 18:41:15 ---> b4d340ee71fa 18:41:15 Step 25/26 : LABEL git_sha=a4bfe80c12aad33591a4e7500ebda9a6e0902fac 18:41:15 ---> Running in 51af8d173f43 18:41:15 Removing intermediate container 51af8d173f43 18:41:15 ---> 2e66b5aaf057 18:41:15 Step 26/26 : LABEL version=0.0.0 18:41:15 ---> Running in 0b74d2e5d86e 18:41:15 Removing intermediate container 0b74d2e5d86e 18:41:15 ---> e1769e28d58e 18:41:15 [Warning] One or more build-args [ARCH] were not consumed 18:41:15 Successfully built e1769e28d58e 18:41:15 Successfully tagged device-uart: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 18:41:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:16 18:41:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:16 latest: Pulling from edgex-lftools-log-publisher 18:41:16 5eb5b503b376: Pulling fs layer 18:41:16 5c69ac0246d0: Pulling fs layer 18:41:16 ec43610c2a17: Pulling fs layer 18:41:16 3a2ae6a8a46f: Pulling fs layer 18:41:16 33b1e0a273af: Pulling fs layer 18:41:16 5d3b04190fa2: Pulling fs layer 18:41:16 2f39f015ded8: Pulling fs layer 18:41:16 3a2ae6a8a46f: Waiting 18:41:16 33b1e0a273af: Waiting 18:41:16 5d3b04190fa2: Waiting 18:41:16 2f39f015ded8: Waiting 18:41:16 5c69ac0246d0: Verifying Checksum 18:41:16 5c69ac0246d0: Download complete 18:41:16 3a2ae6a8a46f: Verifying Checksum 18:41:16 3a2ae6a8a46f: Download complete 18:41:16 33b1e0a273af: Verifying Checksum 18:41:16 33b1e0a273af: Download complete 18:41:16 5d3b04190fa2: Download complete 18:41:16 ec43610c2a17: Verifying Checksum 18:41:16 ec43610c2a17: Download complete 18:41:16 5eb5b503b376: Download complete 18:41:17 2f39f015ded8: Verifying Checksum 18:41:17 2f39f015ded8: Download complete 18:41:18 5eb5b503b376: Pull complete 18:41:18 5c69ac0246d0: Pull complete 18:41:18 ec43610c2a17: Pull complete 18:41:18 3a2ae6a8a46f: Pull complete 18:41:18 33b1e0a273af: Pull complete 18:41:18 5d3b04190fa2: Pull complete 18:41:23 2f39f015ded8: Pull complete 18:41:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:41:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:23 prd-ubuntu20.04-docker-8c-8g-40771 does not seem to be running inside a container 18:41:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-110 -v /w/workspace/edgexfoundry_device-uart_PR-110:/w/workspace/edgexfoundry_device-uart_PR-110:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-110@tmp:/w/workspace/edgexfoundry_device-uart_PR-110@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-lftools-log-publisher:latest cat 18:41:24 $ docker top 8b6e65cdff53ff0134736055103f166b5a54049a04edbf8a8217b84f1bba5afe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:25 ---> job-cost.sh 18:41:25 lf-activate-venv: SKIPPING 18:41:25 INFO: No Stack... 18:41:25 INFO: Retrieving Pricing Info for: v3-standard-8 18:41:26 INFO: Archiving Costs [Pipeline] sh 18:41:26 + cat /w/workspace/edgexfoundry_device-uart_PR-110/archives/cost.csv 18:41:26 + cut -d, -f6 [Pipeline] lock 18:41:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-110-1-stack-cost] 18:41:26 Resource [jenkins-edgexfoundry-device-uart-PR-110-1-stack-cost] did not exist. Created. 18:41:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-110-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:41:26 + echo total: 0.2199999988079071 [Pipeline] stash 18:41:27 Stashed 1 file(s) [Pipeline] } 18:41:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-110-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:41:27 $ docker stop --time=1 8b6e65cdff53ff0134736055103f166b5a54049a04edbf8a8217b84f1bba5afe 18:41:28 $ docker rm -f --volumes 8b6e65cdff53ff0134736055103f166b5a54049a04edbf8a8217b84f1bba5afe [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 18:41:29 provisioning config files... 18:41:29 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-110@tmp/config13568101688709567457tmp [Pipeline] { [Pipeline] sh 18:41:29 + set +x 18:41:29 + bash -s -- 18:41:29 + curl -s https://codecov.io/bash 18:41:29 18:41:29 _____ _ 18:41:29 / ____| | | 18:41:29 | | ___ __| | ___ ___ _____ __ 18:41:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:41:29 | |___| (_) | (_| | __/ (_| (_) \ V / 18:41:29 \_____\___/ \__,_|\___|\___\___/ \_/ 18:41:29 Bash-1.0.6 18:41:29 18:41:29 18:41:29 ==> git version 2.25.1 found 18:41: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 18:41:29 Release-Date: 2020-01-08 18:41: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 18:41:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:41:29 ==> Jenkins CI detected. 18:41:29 current dir:  /w/workspace/edgexfoundry_device-uart_PR-110 18:41:29 project root: . 18:41:29 --> token set from env 18:41:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:41:29 ==> Running gcov in . (disable via -X gcov) 18:41:29 ==> Python coveragepy not found 18:41:29 ==> Searching for coverage reports in: 18:41:29 + . 18:41:29 -> Found 1 reports 18:41:29 ==> Detecting git/mercurial file structure 18:41:29 ==> Reading reports 18:41:29 + ./coverage.out bytes=6770 18:41:29 ==> Appending adjustments 18:41:29 https://docs.codecov.io/docs/fixing-reports 18:41:29 + Found adjustments 18:41:29 ==> Gzipping contents 18:41:29 4.0K /tmp/codecov.qvZJ3x.gz 18:41:29 ==> Uploading reports 18:41:29 url: https://codecov.io 18:41:29 query: branch=PR-110&commit=a4bfe80c12aad33591a4e7500ebda9a6e0902fac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-110%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=110&job=&cmd_args= 18:41:29 -> Pinging Codecov 18:41:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-110&commit=a4bfe80c12aad33591a4e7500ebda9a6e0902fac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-110%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=110&job=&cmd_args= 18:41:29 -> Uploading to 18:41:29 https://storage.googleapis.com/codecov-production/shelter/v4/github/lf-edge/device-uart/a4bfe80c12aad33591a4e7500ebda9a6e0902fac/16b7df61-292f-49a3-a434-75cc6d3f7242.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250310%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250310T184129Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=0088862585e0f9734efa7e8c272b4c7d09bda5ec511ccf11c2f683d836fdebb2 18:41:29 % Total % Received % Xferd Average Speed Time Time Time Current 18:41:29 Dload Upload Total Spent Left Speed 18:41:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1340 0 0 100 1340 0 8535 --:--:-- --:--:-- --:--:-- 8535 18:41:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/a4bfe80c12aad33591a4e7500ebda9a6e0902fac [Pipeline] } 18:41:30 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 18:41:32 + [ -d /w/workspace/edgexfoundry_device-uart_PR-110/archives ] 18:41:32 + ls -al /w/workspace/edgexfoundry_device-uart_PR-110/archives 18:41:32 total 16 18:41:32 drwxr-xr-x 3 root root 4096 Mar 10 18:41 . 18:41:32 drwxrwxr-x 9 jenkins jenkins 4096 Mar 10 18:41 .. 18:41:32 drwxr-xr-x 2 root root 4096 Mar 10 18:41 cost 18:41:32 -rw-r--r-- 1 root root 83 Mar 10 18:41 cost.csv 18:41:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-110/archives 18:41:32 + ls -al /w/workspace/edgexfoundry_device-uart_PR-110/archives 18:41:32 total 16 18:41:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 18:41 . 18:41:32 drwxrwxr-x 9 jenkins jenkins 4096 Mar 10 18:41 .. 18:41:32 drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 18:41 cost 18:41:32 -rw-r--r-- 1 jenkins jenkins 83 Mar 10 18:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:41:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:41:33 ---> package-listing.sh 18:41:33 ++ facter osfamily 18:41:33 ++ tr '[:upper:]' '[:lower:]' 18:41:33 + OS_FAMILY=debian 18:41:33 + workspace=/w/workspace/edgexfoundry_device-uart_PR-110 18:41:33 + START_PACKAGES=/tmp/packages_start.txt 18:41:33 + END_PACKAGES=/tmp/packages_end.txt 18:41:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:41:33 + PACKAGES=/tmp/packages_start.txt 18:41:33 + '[' /w/workspace/edgexfoundry_device-uart_PR-110 ']' 18:41:33 + PACKAGES=/tmp/packages_end.txt 18:41:33 + case "${OS_FAMILY}" in 18:41:33 + dpkg -l 18:41:33 + grep '^ii' 18:41:33 + '[' -f /tmp/packages_start.txt ']' 18:41:33 + '[' -f /tmp/packages_end.txt ']' 18:41:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:41:33 + '[' /w/workspace/edgexfoundry_device-uart_PR-110 ']' 18:41:33 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-110/archives/ 18:41:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-110/archives/ [Pipeline] echo 18:41: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/edgexfoundry_device-uart_PR-110/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:41:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:34 prd-ubuntu20.04-docker-8c-8g-40771 does not seem to be running inside a container 18:41: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/edgexfoundry_device-uart_PR-110/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-110 -v /w/workspace/edgexfoundry_device-uart_PR-110:/w/workspace/edgexfoundry_device-uart_PR-110:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-110@tmp:/w/workspace/edgexfoundry_device-uart_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:41:35 $ docker top 24f2e1e848fdee5377ddb370a2f594f306d0b35f9f988bca0d8798ee348c170e -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:35 + touch /tmp/pre-build-complete [Pipeline] sh 18:41:35 + mkdir -p /var/log/sysstat [Pipeline] sh 18:41:36 + ls /var/log/sa-host 18:41:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:36 provisioning config files... 18:41:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-110@tmp/config11309443847361145176tmp [Pipeline] { [Pipeline] echo 18:41:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:41:36 ---> create-netrc.sh [Pipeline] } 18:41:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:41:37 ---> python-tools-install.sh [Pipeline] echo 18:41:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:41:38 ---> sudo-logs.sh 18:41:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:41:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:41:38 ---> job-cost.sh 18:41:38 lf-activate-venv: SKIPPING 18:41:38 DEBUG: total: 0.2199999988079071 18:41:38 INFO: Retrieving Stack Cost... 18:41:38 INFO: Retrieving Pricing Info for: v3-standard-8 18:41:39 INFO: Archiving Costs [Pipeline] echo 18:41:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:41:39 ---> logs-deploy.sh 18:41:39 lf-activate-venv: SKIPPING 18:41:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-110/1 18:41:39 INFO: archiving workspace using pattern(s): 18:41:40 Archives upload complete. 18:41:40 INFO: archiving logs to Nexus