Pull request #111 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f2473e792f79e2740c63a41312b3f9d53165392+68238f63d1c6f5f050a41c84d23fd27d7c95b502 (19c75653277a8713515962067f50ad9a6b1b9bf5) 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-ssh15831400955577530446.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-ssh2482547153155295417.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-111/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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12861723014959886151.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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17402457736108324791.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-ssh4879335711876783448.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-111/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-111/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10790027019707500046.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 ‘prd-ubuntu20.04-docker-8c-8g-40926’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40927 in /w/workspace/edgexfoundry_device-uart_PR-111 [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-111 # 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 8f2473e792f79e2740c63a41312b3f9d53165392 Merge succeeded, producing 8f2473e792f79e2740c63a41312b3f9d53165392 Checking out Revision 8f2473e792f79e2740c63a41312b3f9d53165392 (PR-111) 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/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f2473e792f79e2740c63a41312b3f9d53165392 # 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 8f2473e792f79e2740c63a41312b3f9d53165392 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:51:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:51:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:51:57 ========================================================= 18:51:57 EdgeX Global Pipelines Version Info 18:51:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:51:58 ------------------- 18:51:58 stable info: 18:51:58 ------------------- 18:51:58 Commited By: Cherry Wang cherry@iotechsys.com 18:51:58 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 18:51:58 Message: update stable to v1.0.271 18:51:58 ------------------- 18:51:58 experimental info: 18:51:58 ------------------- 18:51:58 Commited By: **** collab-it+edgex@linuxfoundation.org 18:51:58 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 18:51:58 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:51:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:51:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:51:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:51:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-111 [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-111 [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-111 [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f2473e792f79e2740c63a41312b3f9d53165392 [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f2473e [Pipeline] echo 18:52:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:00 provisioning config files... 18:52:00 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-111@tmp/config8162957027327266556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:01 ---> ****-login.sh 18:52:01 nexus3.edgexfoundry.org:10001 18:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:01 Configure a credential helper to remove this warning. See 18:52:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:01 18:52:01 Login Succeeded 18:52:01 nexus3.edgexfoundry.org:10002 18:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:01 Configure a credential helper to remove this warning. See 18:52:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:01 18:52:01 Login Succeeded 18:52:01 nexus3.edgexfoundry.org:10003 18:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:01 Configure a credential helper to remove this warning. See 18:52:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:01 18:52:01 Login Succeeded 18:52:01 nexus3.edgexfoundry.org:10004 18:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:01 Configure a credential helper to remove this warning. See 18:52:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:01 18:52:01 Login Succeeded 18:52:01 ****.io 18:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:02 Configure a credential helper to remove this warning. See 18:52:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:02 18:52:02 Login Succeeded 18:52:02 ---> ****-login.sh ends [Pipeline] } 18:52:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:52:02 + git rev-list -1 --merges 8f2473e792f79e2740c63a41312b3f9d53165392~1..8f2473e792f79e2740c63a41312b3f9d53165392 [Pipeline] echo 18:52:02 -----------> git rev-list -1 --merges 8f2473e792f79e2740c63a41312b3f9d53165392~1..8f2473e792f79e2740c63a41312b3f9d53165392 8f2473e792f79e2740c63a41312b3f9d53165392 [false] [Pipeline] sh 18:52:03 + git log --format=format:%s -1 8f2473e792f79e2740c63a41312b3f9d53165392 [Pipeline] echo 18:52:03 ========================================================= 18:52:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:52:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:03 + git log --format=format:%s -1 8f2473e792f79e2740c63a41312b3f9d53165392 [Pipeline] echo 18:52:03 [semverPrep] GIT_COMMIT: 8f2473e792f79e2740c63a41312b3f9d53165392, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 18:52:03 [semverPrep] This is not a build commit. [Pipeline] sh 18:52:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:04 + grep -v github /etc/ssh/ssh_known_hosts 18:52:04 + [ -e /tmp/ssh_known_hosts ] 18:52:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:52:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:52:04 + sudo tee -a /etc/ssh/ssh_known_hosts 18:52:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:04 18:52:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:05 0.1.4: Pulling from edgex-devops/py-git-semver 18:52:05 b85a868b505f: Pulling fs layer 18:52:05 e2be974225ed: Pulling fs layer 18:52:05 339a4e72a1f5: Pulling fs layer 18:52:05 988bab9f4d93: Pulling fs layer 18:52:05 1469e6f7b9e6: Pulling fs layer 18:52:05 eaf3925da568: Pulling fs layer 18:52:05 bab4dde63d76: Pulling fs layer 18:52:05 bde34c3a00c8: Pulling fs layer 18:52:05 b352a97aabf1: Pulling fs layer 18:52:05 4872d77fe225: Pulling fs layer 18:52:05 5851b861e8e6: Pulling fs layer 18:52:05 eaf3925da568: Waiting 18:52:05 988bab9f4d93: Waiting 18:52:05 bde34c3a00c8: Waiting 18:52:05 4872d77fe225: Waiting 18:52:05 5851b861e8e6: Waiting 18:52:05 1469e6f7b9e6: Waiting 18:52:05 bab4dde63d76: Waiting 18:52:05 e2be974225ed: Verifying Checksum 18:52:05 e2be974225ed: Download complete 18:52:05 988bab9f4d93: Verifying Checksum 18:52:05 988bab9f4d93: Download complete 18:52:05 1469e6f7b9e6: Verifying Checksum 18:52:05 1469e6f7b9e6: Download complete 18:52:05 eaf3925da568: Verifying Checksum 18:52:05 eaf3925da568: Download complete 18:52:05 339a4e72a1f5: Verifying Checksum 18:52:05 339a4e72a1f5: Download complete 18:52:05 bde34c3a00c8: Download complete 18:52:05 b352a97aabf1: Verifying Checksum 18:52:05 b352a97aabf1: Download complete 18:52:05 4872d77fe225: Verifying Checksum 18:52:05 4872d77fe225: Download complete 18:52:05 5851b861e8e6: Download complete 18:52:05 b85a868b505f: Verifying Checksum 18:52:05 b85a868b505f: Download complete 18:52:05 bab4dde63d76: Verifying Checksum 18:52:05 bab4dde63d76: Download complete 18:52:06 b85a868b505f: Pull complete 18:52:06 e2be974225ed: Pull complete 18:52:07 339a4e72a1f5: Pull complete 18:52:07 988bab9f4d93: Pull complete 18:52:07 1469e6f7b9e6: Pull complete 18:52:07 eaf3925da568: Pull complete 18:52:09 bab4dde63d76: Pull complete 18:52:09 bde34c3a00c8: Pull complete 18:52:09 b352a97aabf1: Pull complete 18:52:09 4872d77fe225: Pull complete 18:52:09 5851b861e8e6: Pull complete 18:52:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:52:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:09 prd-ubuntu20.04-docker-8c-8g-40927 does not seem to be running inside a container 18:52:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-111 -v /w/workspace/edgexfoundry_device-uart_PR-111:/w/workspace/edgexfoundry_device-uart_PR-111:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-111@tmp:/w/workspace/edgexfoundry_device-uart_PR-111@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:52:10 $ docker top a1ec510a32263a1fafddcd767acc4c7a62f0ca891bb5995c20383f8ebaac346b -eo pid,comm 18:52:11 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:52:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:11 [ssh-agent] Looking for ssh-agent implementation... 18:52:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:11 $ docker exec a1ec510a32263a1fafddcd767acc4c7a62f0ca891bb5995c20383f8ebaac346b ssh-agent 18:52:11 SSH_AUTH_SOCK=/tmp/ssh-2FCGJlFvqamj/agent.32 18:52:11 SSH_AGENT_PID=38 18:52:11 Running ssh-add (command line suppressed) 18:52:11 Identity added: /w/workspace/edgexfoundry_device-uart_PR-111@tmp/private_key_8012228645721456737.key (/w/workspace/edgexfoundry_device-uart_PR-111@tmp/private_key_8012228645721456737.key) 18:52:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:11 + git tag --points-at HEAD [Pipeline] } 18:52:11 $ docker exec --env ******** --env ******** a1ec510a32263a1fafddcd767acc4c7a62f0ca891bb5995c20383f8ebaac346b ssh-agent -k 18:52:11 unset SSH_AUTH_SOCK; 18:52:11 unset SSH_AGENT_PID; 18:52:11 echo Agent pid 38 killed; 18:52:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:52:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:12 [ssh-agent] Looking for ssh-agent implementation... 18:52:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:12 $ docker exec a1ec510a32263a1fafddcd767acc4c7a62f0ca891bb5995c20383f8ebaac346b ssh-agent 18:52:12 SSH_AUTH_SOCK=/tmp/ssh-d9IXbabO5n5V/agent.71 18:52:12 SSH_AGENT_PID=77 18:52:12 Running ssh-add (command line suppressed) 18:52:12 Identity added: /w/workspace/edgexfoundry_device-uart_PR-111@tmp/private_key_16840629039165945576.key (/w/workspace/edgexfoundry_device-uart_PR-111@tmp/private_key_16840629039165945576.key) 18:52:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:12 + git semver init 18:52:13 2025-03-11 18:52:12,951 [run_init] DEBUG init version:0.0.0 force:False 18:52:13 2025-03-11 18:52:12,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-111/.semver 18:52:13 2025-03-11 18:52:12,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-111/.semver 18:52:13 2025-03-11 18:52:12,954 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-111/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-111, universal_newlines=False, shell=None, istream=None) 18:52:14 2025-03-11 18:52:14,043 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-111/.git/info/exclude 18:52:14 2025-03-11 18:52:14,044 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-111/.semver/PR-111 with force:False 18:52:14 2025-03-11 18:52:14,044 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-111/.semver/PR-111 18:52:14 2025-03-11 18:52:14,048 [execute] INFO git cat-file --batch-check 18:52:14 2025-03-11 18:52:14,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-111/.semver, universal_newlines=False, shell=None, istream=) 18:52:14 2025-03-11 18:52:14,055 [execute] INFO git cat-file --batch 18:52:14 2025-03-11 18:52:14,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-111/.semver, universal_newlines=False, shell=None, istream=) 18:52:14 2025-03-11 18:52:14,059 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-111/.semver/PR-111 18:52:14 0.0.0 [Pipeline] } 18:52:14 $ docker exec --env ******** --env ******** a1ec510a32263a1fafddcd767acc4c7a62f0ca891bb5995c20383f8ebaac346b ssh-agent -k 18:52:14 unset SSH_AUTH_SOCK; 18:52:14 unset SSH_AGENT_PID; 18:52:14 echo Agent pid 77 killed; 18:52:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:14 + git semver [Pipeline] } 18:52:15 $ docker stop --time=1 a1ec510a32263a1fafddcd767acc4c7a62f0ca891bb5995c20383f8ebaac346b 18:52:16 $ docker rm -f --volumes a1ec510a32263a1fafddcd767acc4c7a62f0ca891bb5995c20383f8ebaac346b [Pipeline] // withDockerContainer [Pipeline] sh 18:52:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:52:17 Stashed 1 file(s) [Pipeline] echo 18:52:17 [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:52:18 provisioning config files... 18:52:18 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-111@tmp/config11692666729943399946tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 18:52:18 ---> ****-login.sh 18:52:18 nexus3.edgexfoundry.org:10001 18:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:18 Configure a credential helper to remove this warning. See 18:52:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:18 18:52:18 Login Succeeded 18:52:18 nexus3.edgexfoundry.org:10002 18:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:18 Configure a credential helper to remove this warning. See 18:52:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:18 18:52:18 Login Succeeded 18:52:18 nexus3.edgexfoundry.org:10003 18:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:19 Configure a credential helper to remove this warning. See 18:52:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:19 18:52:19 Login Succeeded 18:52:19 nexus3.edgexfoundry.org:10004 18:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:19 Configure a credential helper to remove this warning. See 18:52:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:19 18:52:19 Login Succeeded 18:52:19 ****.io 18:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:52:19 Configure a credential helper to remove this warning. See 18:52:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:52:19 18:52:19 Login Succeeded 18:52:19 ---> ****-login.sh ends [Pipeline] } 18:52:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 18:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 18:52:19 ========================================================= 18:52:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 18:52:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:20 + 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:52:20 Sending build context to Docker daemon 25.86MB 18:52:20 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 18:52:20 Step 2/12 : FROM ${BASE} AS builder 18:52:20 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 18:52:20 da9db072f522: Pulling fs layer 18:52:20 6ef4a4ee8ca5: Pulling fs layer 18:52:20 06f05ace1117: Pulling fs layer 18:52:20 5fe327b54edc: Pulling fs layer 18:52:20 4f4fb700ef54: Pulling fs layer 18:52:20 92a5565b7b96: Pulling fs layer 18:52:20 ff9bb7016b71: Pulling fs layer 18:52:20 b67dba6c2c7d: Pulling fs layer 18:52:20 a813b0c90790: Pulling fs layer 18:52:20 92a5565b7b96: Waiting 18:52:20 b67dba6c2c7d: Waiting 18:52:20 ff9bb7016b71: Waiting 18:52:20 a813b0c90790: Waiting 18:52:20 5fe327b54edc: Waiting 18:52:20 4f4fb700ef54: Waiting 18:52:20 6ef4a4ee8ca5: Verifying Checksum 18:52:20 6ef4a4ee8ca5: Download complete 18:52:20 5fe327b54edc: Verifying Checksum 18:52:20 5fe327b54edc: Download complete 18:52:20 4f4fb700ef54: Download complete 18:52:20 92a5565b7b96: Verifying Checksum 18:52:20 92a5565b7b96: Download complete 18:52:20 da9db072f522: Download complete 18:52:20 ff9bb7016b71: Verifying Checksum 18:52:20 ff9bb7016b71: Download complete 18:52:20 da9db072f522: Pull complete 18:52:20 6ef4a4ee8ca5: Pull complete 18:52:20 a813b0c90790: Verifying Checksum 18:52:20 a813b0c90790: Download complete 18:52:20 06f05ace1117: Verifying Checksum 18:52:20 06f05ace1117: Download complete 18:52:21 b67dba6c2c7d: Verifying Checksum 18:52:21 b67dba6c2c7d: Download complete 18:52:24 06f05ace1117: Pull complete 18:52:24 5fe327b54edc: Pull complete 18:52:24 4f4fb700ef54: Pull complete 18:52:24 92a5565b7b96: Pull complete 18:52:24 ff9bb7016b71: Pull complete 18:52:26 b67dba6c2c7d: Pull complete 18:52:26 a813b0c90790: Pull complete 18:52:26 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 18:52:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 18:52:26 ---> 3ba60ce46760 18:52:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:52:29 ---> Running in ad150a6ec3ba 18:52:29 Removing intermediate container ad150a6ec3ba 18:52:29 ---> d4ad919422b2 18:52:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:52:29 ---> Running in 71770ceef35d 18:52:29 Removing intermediate container 71770ceef35d 18:52:29 ---> f2413d87f57e 18:52:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:52:29 ---> Running in 78b350911124 18:52:29 Removing intermediate container 78b350911124 18:52:29 ---> bef23a5d8ae7 18:52:29 Step 6/12 : WORKDIR /device-uart 18:52:29 ---> Running in 6280d1e027a3 18:52:29 Removing intermediate container 6280d1e027a3 18:52:29 ---> 767641555de7 18:52:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:52:29 ---> Running in 02c62222a96c 18:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:52:29 (1/4) Installing openssh-keygen (9.7_p1-r5) 18:52:29 (2/4) Installing libedit (20240517.3.1-r0) 18:52:29 (3/4) Installing openssh-client-common (9.7_p1-r5) 18:52:29 (4/4) Installing openssh-client-default (9.7_p1-r5) 18:52:29 Executing busybox-1.36.1-r29.trigger 18:52:30 OK: 252 MiB in 62 packages 18:52:30 Removing intermediate container 02c62222a96c 18:52:30 ---> c63ee153ed0f 18:52:30 Step 8/12 : COPY go.mod vendor* ./ 18:52:30 ---> 18a48d9bf4ba 18:52:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:30 ---> Running in c1edd321d360 18:53:02 Removing intermediate container c1edd321d360 18:53:02 ---> cb867b8277a3 18:53:02 Step 10/12 : COPY . . 18:53:02 ---> c43f96726af8 18:53:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:02 ---> Running in 3c9301a6d64b 18:53:02 Removing intermediate container 3c9301a6d64b 18:53:02 ---> 1971e694ff85 18:53:02 Step 12/12 : RUN ${MAKE} 18:53:02 ---> Running in 134cb8eb4bb9 18:53:02 noop 18:53:02 Removing intermediate container 134cb8eb4bb9 18:53:02 ---> 74a6c21c091d 18:53:02 Successfully built 74a6c21c091d 18:53:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:03 + docker inspect -f . ci-base-image-x86_64 18:53:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:03 prd-ubuntu20.04-docker-8c-8g-40927 does not seem to be running inside a container 18:53:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-111 -v /w/workspace/edgexfoundry_device-uart_PR-111:/w/workspace/edgexfoundry_device-uart_PR-111:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-111@tmp:/w/workspace/edgexfoundry_device-uart_PR-111@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:53:03 $ docker top 2d8f9311c0df9040cec61e4c3b3c05014dd7b450c91a32ae07f4563b70d63a9b -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:04 + go version 18:53:04 go version go1.23.4 linux/amd64 [Pipeline] } 18:53:04 $ docker stop --time=1 2d8f9311c0df9040cec61e4c3b3c05014dd7b450c91a32ae07f4563b70d63a9b 18:53:05 $ docker rm -f --volumes 2d8f9311c0df9040cec61e4c3b3c05014dd7b450c91a32ae07f4563b70d63a9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:06 + docker inspect -f . ci-base-image-x86_64 18:53:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:06 prd-ubuntu20.04-docker-8c-8g-40927 does not seem to be running inside a container 18:53:06 $ 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-111 -v /w/workspace/edgexfoundry_device-uart_PR-111:/w/workspace/edgexfoundry_device-uart_PR-111:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-111@tmp:/w/workspace/edgexfoundry_device-uart_PR-111@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:53:06 $ docker top ca078e03e4a4eea583fa3c319651acf99ce0f4c3ec4f1753cd6911a328201c16 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-111 [Pipeline] fileExists [Pipeline] sh 18:53:07 + make test 18:53:07 go test ./... -coverprofile=coverage.out 18:53:08 ? github.com/edgexfoundry/device-uart [no test files] 18:53:26 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 18:53:26 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 18:53:33 go vet ./... 18:53:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:53:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:53:38 ./bin/test-attribution-txt.sh [Pipeline] echo 18:53:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 18:53:38 $ docker stop --time=1 ca078e03e4a4eea583fa3c319651acf99ce0f4c3ec4f1753cd6911a328201c16 18:53:41 $ docker rm -f --volumes ca078e03e4a4eea583fa3c319651acf99ce0f4c3ec4f1753cd6911a328201c16 [Pipeline] // withDockerContainer [Pipeline] sh 18:53:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:53:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:53:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:43 + ls -al . 18:53:43 total 224 18:53:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 18:53 . 18:53:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 18:51 .. 18:53:43 -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 18:51 .dockerignore 18:53:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 18:53 .git 18:53:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 18:51 .github 18:53:43 -rw-rw-r-- 1 jenkins jenkins 343 Mar 11 18:51 .gitignore 18:53:43 -rw-rw-r-- 1 jenkins jenkins 198 Mar 11 18:51 .golangci.yml 18:53:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 18:52 .semver 18:53:43 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 11 18:51 Attribution.txt 18:53:43 -rw-rw-r-- 1 jenkins jenkins 2704 Mar 11 18:51 CHANGELOG.md 18:53:43 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 11 18:51 Dockerfile 18:53:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 18:51 GOVERNANCE.md 18:53:43 -rw-rw-r-- 1 jenkins jenkins 675 Mar 11 18:51 Jenkinsfile 18:53:43 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 18:51 LICENSE 18:53:43 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 11 18:51 Makefile 18:53:43 -rw-rw-r-- 1 jenkins jenkins 617 Mar 11 18:51 OWNERS.md 18:53:43 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 11 18:51 README.md 18:53:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 18:52 VERSION 18:53:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 18:51 bin 18:53:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 18:51 cmd 18:53:43 -rw-r--r-- 1 jenkins jenkins 6770 Mar 11 18:53 coverage.out 18:53:43 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 11 18:51 go.mod 18:53:43 -rw-rw-r-- 1 jenkins jenkins 86751 Mar 11 18:51 go.sum 18:53:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 18:51 internal 18:53:43 -rw-rw-r-- 1 jenkins jenkins 209 Mar 11 18:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:43 + 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=8f2473e792f79e2740c63a41312b3f9d53165392 --label arch=amd64 --label version=0.0.0 . 18:53:43 Sending build context to Docker daemon 25.86MB 18:53:43 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 18:53:43 Step 2/26 : FROM ${BASE} AS builder 18:53:43 ---> 74a6c21c091d 18:53:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:53:43 ---> Running in f06fd7f8f047 18:53:43 Removing intermediate container f06fd7f8f047 18:53:43 ---> 47f89b20aacc 18:53:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:53:43 ---> Running in 0802d1ac7ad0 18:53:43 Removing intermediate container 0802d1ac7ad0 18:53:43 ---> cdf08718b871 18:53:43 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:53:44 ---> Running in dfe4b2838ef9 18:53:44 Removing intermediate container dfe4b2838ef9 18:53:44 ---> 3c9761cfa495 18:53:44 Step 6/26 : WORKDIR /device-uart 18:53:44 ---> Running in 01450ac35744 18:53:44 Removing intermediate container 01450ac35744 18:53:44 ---> 421adccc808b 18:53:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:44 ---> Running in d4aee7e029e4 18:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:53:44 OK: 252 MiB in 62 packages 18:53:45 Removing intermediate container d4aee7e029e4 18:53:45 ---> 1d6df30677d6 18:53:45 Step 8/26 : COPY go.mod vendor* ./ 18:53:45 ---> aab249ae687e 18:53:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:45 ---> Running in 2d7fc4959f5b 18:53:45 Removing intermediate container 2d7fc4959f5b 18:53:45 ---> d60cd2de0a0c 18:53:45 Step 10/26 : COPY . . 18:53:46 ---> 0a0407091094 18:53:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:46 ---> Running in 2b1c078810dc 18:53:46 Removing intermediate container 2b1c078810dc 18:53:46 ---> b66fdd46faaa 18:53:46 Step 12/26 : RUN ${MAKE} 18:53:46 ---> Running in d8bf4cf8a00e 18:53:46 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 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 18:54:13 Removing intermediate container d8bf4cf8a00e 18:54:13 ---> 3f0d3d2cc44d 18:54:13 Step 13/26 : FROM alpine:3.20 18:54:13 3.20: Pulling from library/alpine 18:54:13 0a9a5dfd008f: Pulling fs layer 18:54:13 0a9a5dfd008f: Download complete 18:54:14 0a9a5dfd008f: Pull complete 18:54:14 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 18:54:14 Status: Downloaded newer image for alpine:3.20 18:54:14 ---> ff221270b9fb 18:54:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:54:14 ---> Running in 1f8ae1635ba8 18:54:14 Removing intermediate container 1f8ae1635ba8 18:54:14 ---> 0867e9603031 18:54:14 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:54:14 ---> Running in da5efc6fbee7 18:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:54:14 (1/1) Installing dumb-init (1.2.5-r3) 18:54:14 Executing busybox-1.36.1-r29.trigger 18:54:14 OK: 8 MiB in 15 packages 18:54:15 Removing intermediate container da5efc6fbee7 18:54:15 ---> ce6648718b98 18:54:15 Step 16/26 : RUN apk --no-cache upgrade 18:54:15 ---> Running in ac4a70c067fb 18:54:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:54:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:54:15 OK: 8 MiB in 15 packages 18:54:16 Removing intermediate container ac4a70c067fb 18:54:16 ---> 1ab773482ee6 18:54:16 Step 17/26 : WORKDIR / 18:54:16 ---> Running in 1230477933f5 18:54:16 Removing intermediate container 1230477933f5 18:54:16 ---> 274e15935e74 18:54:16 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:54:16 ---> 27c083478b6c 18:54:16 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:54:16 ---> 661a1ddac4bb 18:54:16 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:54:17 ---> 134e69689bf4 18:54:17 Step 21/26 : EXPOSE 59995 18:54:17 ---> Running in 1f703da03133 18:54:17 Removing intermediate container 1f703da03133 18:54:17 ---> 41edcc69247f 18:54:17 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:54:17 ---> Running in a18f2adfc0bf 18:54:17 Removing intermediate container a18f2adfc0bf 18:54:17 ---> 34c9a2e8d20c 18:54:17 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 18:54:17 ---> Running in 29264cf193d0 18:54:17 Removing intermediate container 29264cf193d0 18:54:17 ---> 142f05828b39 18:54:17 Step 24/26 : LABEL arch=amd64 18:54:17 ---> Running in 04fba7a96e66 18:54:17 Removing intermediate container 04fba7a96e66 18:54:17 ---> d2018c92ed8b 18:54:17 Step 25/26 : LABEL git_sha=8f2473e792f79e2740c63a41312b3f9d53165392 18:54:17 ---> Running in c81469552e78 18:54:18 Removing intermediate container c81469552e78 18:54:18 ---> 97651862a12f 18:54:18 Step 26/26 : LABEL version=0.0.0 18:54:18 ---> Running in 5a5c8ebd1d33 18:54:18 Removing intermediate container 5a5c8ebd1d33 18:54:18 ---> f682d26e1a8f 18:54:18 [Warning] One or more build-args [ARCH] were not consumed 18:54:18 Successfully built f682d26e1a8f 18:54:18 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:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:18 18:54:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:19 latest: Pulling from edgex-lftools-log-publisher 18:54:19 5eb5b503b376: Pulling fs layer 18:54:19 5c69ac0246d0: Pulling fs layer 18:54:19 ec43610c2a17: Pulling fs layer 18:54:19 3a2ae6a8a46f: Pulling fs layer 18:54:19 33b1e0a273af: Pulling fs layer 18:54:19 5d3b04190fa2: Pulling fs layer 18:54:19 2f39f015ded8: Pulling fs layer 18:54:19 3a2ae6a8a46f: Waiting 18:54:19 33b1e0a273af: Waiting 18:54:19 2f39f015ded8: Waiting 18:54:19 5d3b04190fa2: Waiting 18:54:19 5c69ac0246d0: Verifying Checksum 18:54:19 5c69ac0246d0: Download complete 18:54:19 3a2ae6a8a46f: Verifying Checksum 18:54:19 3a2ae6a8a46f: Download complete 18:54:19 33b1e0a273af: Verifying Checksum 18:54:19 33b1e0a273af: Download complete 18:54:19 5d3b04190fa2: Download complete 18:54:19 ec43610c2a17: Verifying Checksum 18:54:19 ec43610c2a17: Download complete 18:54:19 5eb5b503b376: Verifying Checksum 18:54:19 5eb5b503b376: Download complete 18:54:20 2f39f015ded8: Download complete 18:54:20 5eb5b503b376: Pull complete 18:54:20 5c69ac0246d0: Pull complete 18:54:21 ec43610c2a17: Pull complete 18:54:21 3a2ae6a8a46f: Pull complete 18:54:21 33b1e0a273af: Pull complete 18:54:21 5d3b04190fa2: Pull complete 18:54:25 2f39f015ded8: Pull complete 18:54:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:26 prd-ubuntu20.04-docker-8c-8g-40927 does not seem to be running inside a container 18:54:26 $ 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-111 -v /w/workspace/edgexfoundry_device-uart_PR-111:/w/workspace/edgexfoundry_device-uart_PR-111:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-111@tmp:/w/workspace/edgexfoundry_device-uart_PR-111@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:54:28 $ docker top 7264ac8921e277905f5420167559e96039e8d148a539c6cffc29c841881bead9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:28 ---> job-cost.sh 18:54:28 lf-activate-venv: SKIPPING 18:54:28 INFO: No Stack... 18:54:29 INFO: Retrieving Pricing Info for: v3-standard-8 18:54:29 INFO: Archiving Costs [Pipeline] sh 18:54:29 + cat /w/workspace/edgexfoundry_device-uart_PR-111/archives/cost.csv 18:54:29 + cut -d, -f6 [Pipeline] lock 18:54:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-111-1-stack-cost] 18:54:29 Resource [jenkins-edgexfoundry-device-uart-PR-111-1-stack-cost] did not exist. Created. 18:54:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:54:30 + echo total: 0.2199999988079071 [Pipeline] stash 18:54:30 Stashed 1 file(s) [Pipeline] } 18:54:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-111-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:54:30 $ docker stop --time=1 7264ac8921e277905f5420167559e96039e8d148a539c6cffc29c841881bead9 18:54:31 $ docker rm -f --volumes 7264ac8921e277905f5420167559e96039e8d148a539c6cffc29c841881bead9 [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:54:32 provisioning config files... 18:54:32 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-111@tmp/config9184198418053622948tmp [Pipeline] { [Pipeline] sh 18:54:32 + set +x 18:54:32 + + curlbash -s -s https://codecov.io/bash -- 18:54:32 18:54:32 18:54:32 _____ _ 18:54:32 / ____| | | 18:54:32 | | ___ __| | ___ ___ _____ __ 18:54:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:54:32 | |___| (_) | (_| | __/ (_| (_) \ V / 18:54:32 \_____\___/ \__,_|\___|\___\___/ \_/ 18:54:32 Bash-1.0.6 18:54:32 18:54:32 18:54:32 ==> git version 2.25.1 found 18:54:32 ==> 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:54:32 Release-Date: 2020-01-08 18:54:32 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:54:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:54:32 ==> Jenkins CI detected. 18:54:32 current dir:  /w/workspace/edgexfoundry_device-uart_PR-111 18:54:32 project root: . 18:54:32 --> token set from env 18:54:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:54:32 ==> Running gcov in . (disable via -X gcov) 18:54:32 ==> Python coveragepy not found 18:54:32 ==> Searching for coverage reports in: 18:54:32 + . 18:54:32 -> Found 1 reports 18:54:32 ==> Detecting git/mercurial file structure 18:54:32 ==> Reading reports 18:54:32 + ./coverage.out bytes=6770 18:54:32 ==> Appending adjustments 18:54:32 https://docs.codecov.io/docs/fixing-reports 18:54:32 + Found adjustments 18:54:32 ==> Gzipping contents 18:54:32 4.0K /tmp/codecov.sKXTwW.gz 18:54:32 ==> Uploading reports 18:54:32 url: https://codecov.io 18:54:32 query: branch=PR-111&commit=8f2473e792f79e2740c63a41312b3f9d53165392&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=111&job=&cmd_args= 18:54:32 -> Pinging Codecov 18:54:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-111&commit=8f2473e792f79e2740c63a41312b3f9d53165392&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=111&job=&cmd_args= 18:54:33 -> Uploading to 18:54:33 https://storage.googleapis.com/codecov-production/shelter/v4/github/lf-edge/device-uart/8f2473e792f79e2740c63a41312b3f9d53165392/4d8cd06e-b7e3-489c-97aa-cc611f87231c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250311%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250311T185432Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=1e20beea76df7a9c92b30330befa015bbd4da16d0960e54ad5a5972bb0ed3e8f 18:54:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:54:33 Dload Upload Total Spent Left Speed 18:54:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 9184 --:--:-- --:--:-- --:--:-- 9184 18:54:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/8f2473e792f79e2740c63a41312b3f9d53165392 [Pipeline] } 18:54:33 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:54:35 + [ -d /w/workspace/edgexfoundry_device-uart_PR-111/archives ] 18:54:35 + ls -al /w/workspace/edgexfoundry_device-uart_PR-111/archives 18:54:35 total 16 18:54:35 drwxr-xr-x 3 root root 4096 Mar 11 18:54 . 18:54:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 18:54 .. 18:54:35 drwxr-xr-x 2 root root 4096 Mar 11 18:54 cost 18:54:35 -rw-r--r-- 1 root root 83 Mar 11 18:54 cost.csv 18:54:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-111/archives 18:54:35 + ls -al /w/workspace/edgexfoundry_device-uart_PR-111/archives 18:54:35 total 16 18:54:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 18:54 . 18:54:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 18:54 .. 18:54:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 18:54 cost 18:54:35 -rw-r--r-- 1 jenkins jenkins 83 Mar 11 18:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:54:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:54:36 ---> package-listing.sh 18:54:36 ++ facter osfamily 18:54:36 ++ tr '[:upper:]' '[:lower:]' 18:54:36 + OS_FAMILY=debian 18:54:36 + workspace=/w/workspace/edgexfoundry_device-uart_PR-111 18:54:36 + START_PACKAGES=/tmp/packages_start.txt 18:54:36 + END_PACKAGES=/tmp/packages_end.txt 18:54:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:54:36 + PACKAGES=/tmp/packages_start.txt 18:54:36 + '[' /w/workspace/edgexfoundry_device-uart_PR-111 ']' 18:54:36 + PACKAGES=/tmp/packages_end.txt 18:54:36 + case "${OS_FAMILY}" in 18:54:36 + dpkg -l 18:54:36 + grep '^ii' 18:54:36 + '[' -f /tmp/packages_start.txt ']' 18:54:36 + '[' -f /tmp/packages_end.txt ']' 18:54:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:54:36 + '[' /w/workspace/edgexfoundry_device-uart_PR-111 ']' 18:54:36 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-111/archives/ 18:54:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-111/archives/ [Pipeline] echo 18:54:36 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-111/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:54:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:37 prd-ubuntu20.04-docker-8c-8g-40927 does not seem to be running inside a container 18:54:37 $ 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-111/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-111 -v /w/workspace/edgexfoundry_device-uart_PR-111:/w/workspace/edgexfoundry_device-uart_PR-111:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-111@tmp:/w/workspace/edgexfoundry_device-uart_PR-111@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:54:37 $ docker top e1227c808b0fb39dab911a5b3b9d3a7cd31c8372896593f8ae6ad8601837e05d -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:38 + touch /tmp/pre-build-complete [Pipeline] sh 18:54:38 + mkdir -p /var/log/sysstat [Pipeline] sh 18:54:39 + ls /var/log/sa-host 18:54:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:39 provisioning config files... 18:54:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-111@tmp/config10370158264267838355tmp [Pipeline] { [Pipeline] echo 18:54:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:54:39 ---> create-netrc.sh [Pipeline] } 18:54:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:54:40 ---> python-tools-install.sh [Pipeline] echo 18:54:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:54:40 ---> sudo-logs.sh 18:54:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:54:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:54:40 ---> job-cost.sh 18:54:40 lf-activate-venv: SKIPPING 18:54:40 DEBUG: total: 0.2199999988079071 18:54:40 INFO: Retrieving Stack Cost... 18:54:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:54:41 INFO: Archiving Costs [Pipeline] echo 18:54:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:54:41 ---> logs-deploy.sh 18:54:41 lf-activate-venv: SKIPPING 18:54:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-111/1 18:54:41 INFO: archiving workspace using pattern(s): 18:54:42 Archives upload complete. 18:54:42 INFO: archiving logs to Nexus