Pull request #109 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dfbae229ff598b0ea39689f2aa6aed479ec57377+68238f63d1c6f5f050a41c84d23fd27d7c95b502 (cd04f9b40bc42c61a463dc3f8f38876eded22bf2) 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-ssh10169887516299761582.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-ssh13779205099555799291.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-109/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-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11172724876647400826.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-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15845470680946717523.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-ssh14547839541593564240.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-109/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-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17040911839490126122.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-40579’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40580 in /w/workspace/edgexfoundry_device-uart_PR-109 [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-109 # 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 > 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/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 68238f63d1c6f5f050a41c84d23fd27d7c95b502 into PR head commit dfbae229ff598b0ea39689f2aa6aed479ec57377 Merge succeeded, producing dfbae229ff598b0ea39689f2aa6aed479ec57377 Checking out Revision dfbae229ff598b0ea39689f2aa6aed479ec57377 (PR-109) 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 core.sparsecheckout # timeout=10 > git checkout -f dfbae229ff598b0ea39689f2aa6aed479ec57377 # 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 dfbae229ff598b0ea39689f2aa6aed479ec57377 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:49:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:49:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:49:21 ========================================================= 18:49:21 EdgeX Global Pipelines Version Info 18:49:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:49:21 ------------------- 18:49:21 stable info: 18:49:21 ------------------- 18:49:21 Commited By: Cherry Wang cherry@iotechsys.com 18:49:21 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 18:49:21 Message: update stable to v1.0.271 18:49:22 ------------------- 18:49:22 experimental info: 18:49:22 ------------------- 18:49:22 Commited By: **** collab-it+edgex@linuxfoundation.org 18:49:22 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 18:49:22 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:49:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:49:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:49:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:49:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:49:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:49:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 18:49:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:49:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:49:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:49:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-109 [Pipeline] echo 18:49:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-109 [Pipeline] echo 18:49:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-109 [Pipeline] echo 18:49:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfbae229ff598b0ea39689f2aa6aed479ec57377 [Pipeline] echo 18:49:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfbae22 [Pipeline] echo 18:49:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:24 provisioning config files... 18:49:24 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-109@tmp/config3909549616639146063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:24 ---> ****-login.sh 18:49:24 nexus3.edgexfoundry.org:10001 18:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:25 Configure a credential helper to remove this warning. See 18:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:25 18:49:25 Login Succeeded 18:49:25 nexus3.edgexfoundry.org:10002 18:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:25 Configure a credential helper to remove this warning. See 18:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:25 18:49:25 Login Succeeded 18:49:25 nexus3.edgexfoundry.org:10003 18:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:25 Configure a credential helper to remove this warning. See 18:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:25 18:49:25 Login Succeeded 18:49:25 nexus3.edgexfoundry.org:10004 18:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:25 Configure a credential helper to remove this warning. See 18:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:25 18:49:25 Login Succeeded 18:49:25 ****.io 18:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:25 Configure a credential helper to remove this warning. See 18:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:25 18:49:25 Login Succeeded 18:49:25 ---> ****-login.sh ends [Pipeline] } 18:49:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:49:26 + git rev-list -1 --merges dfbae229ff598b0ea39689f2aa6aed479ec57377~1..dfbae229ff598b0ea39689f2aa6aed479ec57377 [Pipeline] echo 18:49:26 -----------> git rev-list -1 --merges dfbae229ff598b0ea39689f2aa6aed479ec57377~1..dfbae229ff598b0ea39689f2aa6aed479ec57377 dfbae229ff598b0ea39689f2aa6aed479ec57377 [false] [Pipeline] sh 18:49:26 + git log --format=format:%s -1 dfbae229ff598b0ea39689f2aa6aed479ec57377 [Pipeline] echo 18:49:26 ========================================================= 18:49:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:49:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:27 + git log --format=format:%s -1 dfbae229ff598b0ea39689f2aa6aed479ec57377 [Pipeline] echo 18:49:27 [semverPrep] GIT_COMMIT: dfbae229ff598b0ea39689f2aa6aed479ec57377, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 18:49:27 [semverPrep] This is not a build commit. [Pipeline] sh 18:49:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:49:27 + grep -v github /etc/ssh/ssh_known_hosts 18:49:27 + [ -e /tmp/ssh_known_hosts ] 18:49:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:49:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:49:27 + sudo tee -a /etc/ssh/ssh_known_hosts 18:49:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:49:28 18:49:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:49:28 0.1.4: Pulling from edgex-devops/py-git-semver 18:49:28 b85a868b505f: Pulling fs layer 18:49:28 e2be974225ed: Pulling fs layer 18:49:28 339a4e72a1f5: Pulling fs layer 18:49:28 988bab9f4d93: Pulling fs layer 18:49:28 1469e6f7b9e6: Pulling fs layer 18:49:28 eaf3925da568: Pulling fs layer 18:49:28 bab4dde63d76: Pulling fs layer 18:49:28 bde34c3a00c8: Pulling fs layer 18:49:28 b352a97aabf1: Pulling fs layer 18:49:28 4872d77fe225: Pulling fs layer 18:49:28 5851b861e8e6: Pulling fs layer 18:49:28 988bab9f4d93: Waiting 18:49:28 1469e6f7b9e6: Waiting 18:49:28 eaf3925da568: Waiting 18:49:28 bab4dde63d76: Waiting 18:49:28 bde34c3a00c8: Waiting 18:49:28 b352a97aabf1: Waiting 18:49:28 4872d77fe225: Waiting 18:49:28 e2be974225ed: Verifying Checksum 18:49:28 e2be974225ed: Download complete 18:49:28 988bab9f4d93: Verifying Checksum 18:49:28 988bab9f4d93: Download complete 18:49:28 1469e6f7b9e6: Verifying Checksum 18:49:28 1469e6f7b9e6: Download complete 18:49:28 eaf3925da568: Verifying Checksum 18:49:28 eaf3925da568: Download complete 18:49:28 339a4e72a1f5: Verifying Checksum 18:49:28 339a4e72a1f5: Download complete 18:49:28 bde34c3a00c8: Verifying Checksum 18:49:28 bde34c3a00c8: Download complete 18:49:28 b352a97aabf1: Verifying Checksum 18:49:28 b352a97aabf1: Download complete 18:49:28 4872d77fe225: Download complete 18:49:28 5851b861e8e6: Verifying Checksum 18:49:28 5851b861e8e6: Download complete 18:49:28 b85a868b505f: Verifying Checksum 18:49:28 b85a868b505f: Download complete 18:49:29 bab4dde63d76: Verifying Checksum 18:49:29 bab4dde63d76: Download complete 18:49:30 b85a868b505f: Pull complete 18:49:30 e2be974225ed: Pull complete 18:49:31 339a4e72a1f5: Pull complete 18:49:31 988bab9f4d93: Pull complete 18:49:31 1469e6f7b9e6: Pull complete 18:49:31 eaf3925da568: Pull complete 18:49:33 bab4dde63d76: Pull complete 18:49:33 bde34c3a00c8: Pull complete 18:49:33 b352a97aabf1: Pull complete 18:49:33 4872d77fe225: Pull complete 18:49:33 5851b861e8e6: Pull complete 18:49:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:49:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:49:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:33 prd-ubuntu20.04-docker-8c-8g-40580 does not seem to be running inside a container 18:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-109 -v /w/workspace/edgexfoundry_device-uart_PR-109:/w/workspace/edgexfoundry_device-uart_PR-109:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-109@tmp:/w/workspace/edgexfoundry_device-uart_PR-109@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:49:36 $ docker top a49c8fa37e2c81251b4007aff0d45c1d913fc365dd7e71e0ac01bdf6353a962f -eo pid,comm 18:49:36 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:49:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:49:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:49:36 [ssh-agent] Looking for ssh-agent implementation... 18:49:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:49:37 $ docker exec a49c8fa37e2c81251b4007aff0d45c1d913fc365dd7e71e0ac01bdf6353a962f ssh-agent 18:49:37 SSH_AUTH_SOCK=/tmp/ssh-1tPqtYeSrgmr/agent.31 18:49:37 SSH_AGENT_PID=37 18:49:37 Running ssh-add (command line suppressed) 18:49:37 Identity added: /w/workspace/edgexfoundry_device-uart_PR-109@tmp/private_key_8521043654046563666.key (/w/workspace/edgexfoundry_device-uart_PR-109@tmp/private_key_8521043654046563666.key) 18:49:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:49:37 + git tag --points-at HEAD [Pipeline] } 18:49:37 $ docker exec --env ******** --env ******** a49c8fa37e2c81251b4007aff0d45c1d913fc365dd7e71e0ac01bdf6353a962f ssh-agent -k 18:49:37 unset SSH_AUTH_SOCK; 18:49:37 unset SSH_AGENT_PID; 18:49:37 echo Agent pid 37 killed; 18:49:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:49:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:49:37 [ssh-agent] Looking for ssh-agent implementation... 18:49:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:49:37 $ docker exec a49c8fa37e2c81251b4007aff0d45c1d913fc365dd7e71e0ac01bdf6353a962f ssh-agent 18:49:38 SSH_AUTH_SOCK=/tmp/ssh-F89WEzK0ytv3/agent.70 18:49:38 SSH_AGENT_PID=76 18:49:38 Running ssh-add (command line suppressed) 18:49:38 Identity added: /w/workspace/edgexfoundry_device-uart_PR-109@tmp/private_key_14502743382419050402.key (/w/workspace/edgexfoundry_device-uart_PR-109@tmp/private_key_14502743382419050402.key) 18:49:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:49:38 + git semver init 18:49:38 2025-03-07 18:49:38,715 [run_init] DEBUG init version:0.0.0 force:False 18:49:38 2025-03-07 18:49:38,716 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-109/.semver 18:49:38 2025-03-07 18:49:38,716 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-109/.semver 18:49:38 2025-03-07 18:49:38,717 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-109/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-109, universal_newlines=False, shell=None, istream=None) 18:49:40 2025-03-07 18:49:39,882 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-109/.git/info/exclude 18:49:40 2025-03-07 18:49:39,883 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-109/.semver/PR-109 with force:False 18:49:40 2025-03-07 18:49:39,883 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-109/.semver/PR-109 18:49:40 2025-03-07 18:49:39,887 [execute] INFO git cat-file --batch-check 18:49:40 2025-03-07 18:49:39,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-109/.semver, universal_newlines=False, shell=None, istream=) 18:49:40 2025-03-07 18:49:39,894 [execute] INFO git cat-file --batch 18:49:40 2025-03-07 18:49:39,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-109/.semver, universal_newlines=False, shell=None, istream=) 18:49:40 2025-03-07 18:49:39,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-109/.semver/PR-109 18:49:40 0.0.0 [Pipeline] } 18:49:40 $ docker exec --env ******** --env ******** a49c8fa37e2c81251b4007aff0d45c1d913fc365dd7e71e0ac01bdf6353a962f ssh-agent -k 18:49:40 unset SSH_AUTH_SOCK; 18:49:40 unset SSH_AGENT_PID; 18:49:40 echo Agent pid 76 killed; 18:49:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:49:40 + git semver [Pipeline] } 18:49:41 $ docker stop --time=1 a49c8fa37e2c81251b4007aff0d45c1d913fc365dd7e71e0ac01bdf6353a962f 18:49:42 $ docker rm -f --volumes a49c8fa37e2c81251b4007aff0d45c1d913fc365dd7e71e0ac01bdf6353a962f [Pipeline] // withDockerContainer [Pipeline] sh 18:49:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:49:43 Stashed 1 file(s) [Pipeline] echo 18:49:43 [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:49:44 provisioning config files... 18:49:44 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-109@tmp/config10962986300648581444tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 18:49:44 ---> ****-login.sh 18:49:44 nexus3.edgexfoundry.org:10001 18:49:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:44 Configure a credential helper to remove this warning. See 18:49:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:44 18:49:44 Login Succeeded 18:49:44 nexus3.edgexfoundry.org:10002 18:49:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:44 Configure a credential helper to remove this warning. See 18:49:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:44 18:49:44 Login Succeeded 18:49:44 nexus3.edgexfoundry.org:10003 18:49:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:44 Configure a credential helper to remove this warning. See 18:49:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:44 18:49:44 Login Succeeded 18:49:44 nexus3.edgexfoundry.org:10004 18:49:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:44 Configure a credential helper to remove this warning. See 18:49:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:44 18:49:44 Login Succeeded 18:49:44 ****.io 18:49:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:45 Configure a credential helper to remove this warning. See 18:49:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:45 18:49:45 Login Succeeded 18:49:45 ---> ****-login.sh ends [Pipeline] } 18:49:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:49:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 18:49:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 18:49:45 ========================================================= 18:49:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 18:49:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:45 + 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:49:45 Sending build context to Docker daemon 25.86MB 18:49:45 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 18:49:45 Step 2/12 : FROM ${BASE} AS builder 18:49:46 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 18:49:46 da9db072f522: Pulling fs layer 18:49:46 6ef4a4ee8ca5: Pulling fs layer 18:49:46 06f05ace1117: Pulling fs layer 18:49:46 5fe327b54edc: Pulling fs layer 18:49:46 4f4fb700ef54: Pulling fs layer 18:49:46 92a5565b7b96: Pulling fs layer 18:49:46 ff9bb7016b71: Pulling fs layer 18:49:46 b67dba6c2c7d: Pulling fs layer 18:49:46 a813b0c90790: Pulling fs layer 18:49:46 5fe327b54edc: Waiting 18:49:46 92a5565b7b96: Waiting 18:49:46 4f4fb700ef54: Waiting 18:49:46 b67dba6c2c7d: Waiting 18:49:46 a813b0c90790: Waiting 18:49:46 ff9bb7016b71: Waiting 18:49:46 6ef4a4ee8ca5: Verifying Checksum 18:49:46 6ef4a4ee8ca5: Download complete 18:49:46 5fe327b54edc: Verifying Checksum 18:49:46 5fe327b54edc: Download complete 18:49:46 4f4fb700ef54: Download complete 18:49:46 92a5565b7b96: Download complete 18:49:46 da9db072f522: Verifying Checksum 18:49:46 da9db072f522: Download complete 18:49:46 ff9bb7016b71: Verifying Checksum 18:49:46 ff9bb7016b71: Download complete 18:49:46 da9db072f522: Pull complete 18:49:46 a813b0c90790: Verifying Checksum 18:49:46 a813b0c90790: Download complete 18:49:46 6ef4a4ee8ca5: Pull complete 18:49:46 06f05ace1117: Verifying Checksum 18:49:46 06f05ace1117: Download complete 18:49:46 b67dba6c2c7d: Verifying Checksum 18:49:46 b67dba6c2c7d: Download complete 18:49:50 06f05ace1117: Pull complete 18:49:50 5fe327b54edc: Pull complete 18:49:50 4f4fb700ef54: Pull complete 18:49:50 92a5565b7b96: Pull complete 18:49:50 ff9bb7016b71: Pull complete 18:49:53 b67dba6c2c7d: Pull complete 18:49:53 a813b0c90790: Pull complete 18:49:53 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 18:49:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 18:49:53 ---> 3ba60ce46760 18:49:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:49:59 ---> Running in 3bb12081ca55 18:49:59 Removing intermediate container 3bb12081ca55 18:49:59 ---> ef7a01ca7830 18:49:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:49:59 ---> Running in ad493094bef2 18:49:59 Removing intermediate container ad493094bef2 18:49:59 ---> 1ccfb9bb7f44 18:49:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:49:59 ---> Running in 93ee76cae6df 18:49:59 Removing intermediate container 93ee76cae6df 18:49:59 ---> 39d3be5d394c 18:49:59 Step 6/12 : WORKDIR /device-uart 18:49:59 ---> Running in c9bb12cc6b7c 18:49:59 Removing intermediate container c9bb12cc6b7c 18:49:59 ---> 1595f4f8493a 18:49:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:49:59 ---> Running in 9aec7d61fa44 18:49:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:49:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:49:59 (1/4) Installing openssh-keygen (9.7_p1-r5) 18:49:59 (2/4) Installing libedit (20240517.3.1-r0) 18:49:59 (3/4) Installing openssh-client-common (9.7_p1-r5) 18:49:59 (4/4) Installing openssh-client-default (9.7_p1-r5) 18:49:59 Executing busybox-1.36.1-r29.trigger 18:49:59 OK: 252 MiB in 62 packages 18:50:00 Removing intermediate container 9aec7d61fa44 18:50:00 ---> e82cddc3ae70 18:50:00 Step 8/12 : COPY go.mod vendor* ./ 18:50:00 ---> 18d6cbc39ae3 18:50:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:00 ---> Running in e2a267aaec05 18:50:47 Removing intermediate container e2a267aaec05 18:50:47 ---> 0fa4421dc419 18:50:47 Step 10/12 : COPY . . 18:50:47 ---> aa8c9f6ba9af 18:50:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:50:47 ---> Running in f671524d8ba1 18:50:47 Removing intermediate container f671524d8ba1 18:50:47 ---> 660396ae8fd7 18:50:47 Step 12/12 : RUN ${MAKE} 18:50:47 ---> Running in c0e41ae48ea7 18:50:47 noop 18:50:47 Removing intermediate container c0e41ae48ea7 18:50:47 ---> e3284bbd6a3c 18:50:47 Successfully built e3284bbd6a3c 18:50:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:47 + docker inspect -f . ci-base-image-x86_64 18:50:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:47 prd-ubuntu20.04-docker-8c-8g-40580 does not seem to be running inside a container 18:50:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-109 -v /w/workspace/edgexfoundry_device-uart_PR-109:/w/workspace/edgexfoundry_device-uart_PR-109:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-109@tmp:/w/workspace/edgexfoundry_device-uart_PR-109@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:50:48 $ docker top 5d873d498b3355e6c35d4c0105d865415e30c37505107adcde10329015c6a72a -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:48 + go version 18:50:48 go version go1.23.4 linux/amd64 [Pipeline] } 18:50:48 $ docker stop --time=1 5d873d498b3355e6c35d4c0105d865415e30c37505107adcde10329015c6a72a 18:50:49 $ docker rm -f --volumes 5d873d498b3355e6c35d4c0105d865415e30c37505107adcde10329015c6a72a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:50 + docker inspect -f . ci-base-image-x86_64 18:50:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:50 prd-ubuntu20.04-docker-8c-8g-40580 does not seem to be running inside a container 18:50:50 $ 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-109 -v /w/workspace/edgexfoundry_device-uart_PR-109:/w/workspace/edgexfoundry_device-uart_PR-109:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-109@tmp:/w/workspace/edgexfoundry_device-uart_PR-109@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:50:51 $ docker top f6cb0b339a97033ae1f8cb9e75c997073682a324117ea840244568aab9e09988 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-109 [Pipeline] fileExists [Pipeline] sh 18:50:51 + make test 18:50:51 go test ./... -coverprofile=coverage.out 18:50:53 ? github.com/edgexfoundry/device-uart [no test files] 18:51:11 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 18:51:11 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 18:51:24 go vet ./... 18:51:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:51:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:51:29 ./bin/test-attribution-txt.sh [Pipeline] echo 18:51:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 18:51:29 $ docker stop --time=1 f6cb0b339a97033ae1f8cb9e75c997073682a324117ea840244568aab9e09988 18:51:33 $ docker rm -f --volumes f6cb0b339a97033ae1f8cb9e75c997073682a324117ea840244568aab9e09988 [Pipeline] // withDockerContainer [Pipeline] sh 18:51:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:51:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:51:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:51:34 + ls -al . 18:51:34 total 224 18:51:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:50 . 18:51:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:49 .. 18:51:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:49 .dockerignore 18:51:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:51 .git 18:51:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:49 .github 18:51:34 -rw-rw-r-- 1 jenkins jenkins 343 Mar 7 18:49 .gitignore 18:51:34 -rw-rw-r-- 1 jenkins jenkins 198 Mar 7 18:49 .golangci.yml 18:51:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:49 .semver 18:51:34 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 7 18:49 Attribution.txt 18:51:34 -rw-rw-r-- 1 jenkins jenkins 2704 Mar 7 18:49 CHANGELOG.md 18:51:34 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 7 18:49 Dockerfile 18:51:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:49 GOVERNANCE.md 18:51:34 -rw-rw-r-- 1 jenkins jenkins 675 Mar 7 18:49 Jenkinsfile 18:51:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 18:49 LICENSE 18:51:34 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 7 18:49 Makefile 18:51:34 -rw-rw-r-- 1 jenkins jenkins 617 Mar 7 18:49 OWNERS.md 18:51:34 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 7 18:49 README.md 18:51:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:49 VERSION 18:51:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:49 bin 18:51:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:49 cmd 18:51:34 -rw-r--r-- 1 jenkins jenkins 6770 Mar 7 18:51 coverage.out 18:51:34 -rw-rw-r-- 1 jenkins jenkins 6080 Mar 7 18:49 go.mod 18:51:34 -rw-rw-r-- 1 jenkins jenkins 86765 Mar 7 18:49 go.sum 18:51:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:49 internal 18:51:34 -rw-rw-r-- 1 jenkins jenkins 209 Mar 7 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:35 + 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=dfbae229ff598b0ea39689f2aa6aed479ec57377 --label arch=amd64 --label version=0.0.0 . 18:51:35 Sending build context to Docker daemon 25.87MB 18:51:35 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 18:51:35 Step 2/26 : FROM ${BASE} AS builder 18:51:35 ---> e3284bbd6a3c 18:51:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:51:35 ---> Running in c473b4050ae2 18:51:35 Removing intermediate container c473b4050ae2 18:51:35 ---> 1bb251387ff2 18:51:35 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:51:35 ---> Running in 77fd05183969 18:51:35 Removing intermediate container 77fd05183969 18:51:35 ---> 8fbe568a6e6f 18:51:35 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:51:35 ---> Running in 9458f5e57eaf 18:51:35 Removing intermediate container 9458f5e57eaf 18:51:35 ---> 6f16f36acedd 18:51:35 Step 6/26 : WORKDIR /device-uart 18:51:35 ---> Running in 5835338fd84d 18:51:36 Removing intermediate container 5835338fd84d 18:51:36 ---> ef28555873b5 18:51:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:36 ---> Running in fef744d3e4f4 18:51:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:51:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:51:36 OK: 252 MiB in 62 packages 18:51:37 Removing intermediate container fef744d3e4f4 18:51:37 ---> d957b8870d44 18:51:37 Step 8/26 : COPY go.mod vendor* ./ 18:51:37 ---> 2029582230f7 18:51:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:37 ---> Running in 20e1a0a72336 18:51:37 Removing intermediate container 20e1a0a72336 18:51:37 ---> 83a7347a3c2b 18:51:37 Step 10/26 : COPY . . 18:51:38 ---> 744801a69b9d 18:51:38 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:51:38 ---> Running in 153f960a940a 18:51:38 Removing intermediate container 153f960a940a 18:51:38 ---> 6c14e663fc36 18:51:38 Step 12/26 : RUN ${MAKE} 18:51:38 ---> Running in 44c1e69a64e8 18:51:38 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.30 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 18:52:17 Removing intermediate container 44c1e69a64e8 18:52:17 ---> 12460a1d62eb 18:52:17 Step 13/26 : FROM alpine:3.20 18:52:17 3.20: Pulling from library/alpine 18:52:17 0a9a5dfd008f: Pulling fs layer 18:52:17 0a9a5dfd008f: Verifying Checksum 18:52:17 0a9a5dfd008f: Download complete 18:52:17 0a9a5dfd008f: Pull complete 18:52:17 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 18:52:17 Status: Downloaded newer image for alpine:3.20 18:52:17 ---> ff221270b9fb 18:52:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:52:17 ---> Running in bcf96882550b 18:52:17 Removing intermediate container bcf96882550b 18:52:17 ---> 7067a3ae0355 18:52:17 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:52:17 ---> Running in 4cf5cb088cae 18:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:52:17 (1/1) Installing dumb-init (1.2.5-r3) 18:52:17 Executing busybox-1.36.1-r29.trigger 18:52:17 OK: 8 MiB in 15 packages 18:52:17 Removing intermediate container 4cf5cb088cae 18:52:17 ---> 7b6de700d0ab 18:52:17 Step 16/26 : RUN apk --no-cache upgrade 18:52:17 ---> Running in c87bf74b862b 18:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:52:17 OK: 8 MiB in 15 packages 18:52:17 Removing intermediate container c87bf74b862b 18:52:17 ---> f158b961bd63 18:52:17 Step 17/26 : WORKDIR / 18:52:17 ---> Running in 4bf86eca3441 18:52:17 Removing intermediate container 4bf86eca3441 18:52:17 ---> 9249e7d95f95 18:52:17 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:52:17 ---> 0312b7fb0d0e 18:52:17 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:52:17 ---> 1943871e533f 18:52:17 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:52:17 ---> bcc7dc41ab51 18:52:17 Step 21/26 : EXPOSE 59995 18:52:17 ---> Running in b3579eb64684 18:52:17 Removing intermediate container b3579eb64684 18:52:17 ---> a3bd70a05f32 18:52:17 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:52:17 ---> Running in d4d6542905be 18:52:17 Removing intermediate container d4d6542905be 18:52:17 ---> 60918abd0d53 18:52:17 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 18:52:17 ---> Running in 653248e0d24d 18:52:17 Removing intermediate container 653248e0d24d 18:52:17 ---> 07f6ae86bd60 18:52:17 Step 24/26 : LABEL arch=amd64 18:52:17 ---> Running in 9b781b068803 18:52:17 Removing intermediate container 9b781b068803 18:52:17 ---> 80404c2e3124 18:52:17 Step 25/26 : LABEL git_sha=dfbae229ff598b0ea39689f2aa6aed479ec57377 18:52:17 ---> Running in 5f9ac6eba3fb 18:52:17 Removing intermediate container 5f9ac6eba3fb 18:52:17 ---> b64c14f5747c 18:52:17 Step 26/26 : LABEL version=0.0.0 18:52:17 ---> Running in db3925666586 18:52:17 Removing intermediate container db3925666586 18:52:17 ---> 42fc0529de6f 18:52:17 [Warning] One or more build-args [ARCH] were not consumed 18:52:17 Successfully built 42fc0529de6f 18:52:17 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:52:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:18 18:52:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:19 latest: Pulling from edgex-lftools-log-publisher 18:52:19 5eb5b503b376: Pulling fs layer 18:52:19 5c69ac0246d0: Pulling fs layer 18:52:19 ec43610c2a17: Pulling fs layer 18:52:19 3a2ae6a8a46f: Pulling fs layer 18:52:19 33b1e0a273af: Pulling fs layer 18:52:19 5d3b04190fa2: Pulling fs layer 18:52:19 2f39f015ded8: Pulling fs layer 18:52:19 3a2ae6a8a46f: Waiting 18:52:19 5d3b04190fa2: Waiting 18:52:19 33b1e0a273af: Waiting 18:52:19 2f39f015ded8: Waiting 18:52:19 5c69ac0246d0: Download complete 18:52:19 3a2ae6a8a46f: Verifying Checksum 18:52:19 3a2ae6a8a46f: Download complete 18:52:19 33b1e0a273af: Verifying Checksum 18:52:19 33b1e0a273af: Download complete 18:52:19 ec43610c2a17: Verifying Checksum 18:52:19 ec43610c2a17: Download complete 18:52:19 5d3b04190fa2: Verifying Checksum 18:52:19 5d3b04190fa2: Download complete 18:52:19 5eb5b503b376: Verifying Checksum 18:52:19 5eb5b503b376: Download complete 18:52:19 2f39f015ded8: Verifying Checksum 18:52:19 2f39f015ded8: Download complete 18:52:20 5eb5b503b376: Pull complete 18:52:20 5c69ac0246d0: Pull complete 18:52:20 ec43610c2a17: Pull complete 18:52:20 3a2ae6a8a46f: Pull complete 18:52:21 33b1e0a273af: Pull complete 18:52:21 5d3b04190fa2: Pull complete 18:52:25 2f39f015ded8: Pull complete 18:52:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:52:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:25 prd-ubuntu20.04-docker-8c-8g-40580 does not seem to be running inside a container 18:52:25 $ 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-109 -v /w/workspace/edgexfoundry_device-uart_PR-109:/w/workspace/edgexfoundry_device-uart_PR-109:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-109@tmp:/w/workspace/edgexfoundry_device-uart_PR-109@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:52:29 $ docker top f4c52ae84354a8b177963ab066df800f5413b4d2b7dce107670fe5e523026d70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:29 ---> job-cost.sh 18:52:29 lf-activate-venv: SKIPPING 18:52:29 INFO: No Stack... 18:52:29 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:30 INFO: Archiving Costs [Pipeline] sh 18:52:30 + cat /w/workspace/edgexfoundry_device-uart_PR-109/archives/cost.csv 18:52:30 + cut -d, -f6 [Pipeline] lock 18:52:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-109-1-stack-cost] 18:52:30 Resource [jenkins-edgexfoundry-device-uart-PR-109-1-stack-cost] did not exist. Created. 18:52:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:30 + echo total: 0.2199999988079071 [Pipeline] stash 18:52:30 Stashed 1 file(s) [Pipeline] } 18:52:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:52:31 $ docker stop --time=1 f4c52ae84354a8b177963ab066df800f5413b4d2b7dce107670fe5e523026d70 18:52:32 $ docker rm -f --volumes f4c52ae84354a8b177963ab066df800f5413b4d2b7dce107670fe5e523026d70 [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:52:32 provisioning config files... 18:52:33 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-109@tmp/config4652931141185648649tmp [Pipeline] { [Pipeline] sh 18:52:33 + set +x 18:52:33 + curl -s https://codecov.io/bash 18:52:33 + bash -s -- 18:52:33 18:52:33 _____ _ 18:52:33 / ____| | | 18:52:33 | | ___ __| | ___ ___ _____ __ 18:52:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:52:33 | |___| (_) | (_| | __/ (_| (_) \ V / 18:52:33 \_____\___/ \__,_|\___|\___\___/ \_/ 18:52:33 Bash-1.0.6 18:52:33 18:52:33 18:52:33 ==> git version 2.25.1 found 18:52:33 ==> 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:52:33 Release-Date: 2020-01-08 18:52:33 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:52:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:52:33 ==> Jenkins CI detected. 18:52:33 current dir:  /w/workspace/edgexfoundry_device-uart_PR-109 18:52:33 project root: . 18:52:33 --> token set from env 18:52:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:52:33 ==> Running gcov in . (disable via -X gcov) 18:52:33 ==> Python coveragepy not found 18:52:33 ==> Searching for coverage reports in: 18:52:33 + . 18:52:33 -> Found 1 reports 18:52:33 ==> Detecting git/mercurial file structure 18:52:33 ==> Reading reports 18:52:33 + ./coverage.out bytes=6770 18:52:33 ==> Appending adjustments 18:52:33 https://docs.codecov.io/docs/fixing-reports 18:52:33 + Found adjustments 18:52:33 ==> Gzipping contents 18:52:33 4.0K /tmp/codecov.JjzMdN.gz 18:52:33 ==> Uploading reports 18:52:33 url: https://codecov.io 18:52:33 query: branch=PR-109&commit=dfbae229ff598b0ea39689f2aa6aed479ec57377&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=109&job=&cmd_args= 18:52:33 -> Pinging Codecov 18:52:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-109&commit=dfbae229ff598b0ea39689f2aa6aed479ec57377&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=109&job=&cmd_args= 18:52:33 -> Uploading to 18:52:33 https://storage.googleapis.com/codecov-production/shelter/v4/github/lf-edge/device-uart/dfbae229ff598b0ea39689f2aa6aed479ec57377/5eeecb79-9cc7-4822-9303-8be4e8a7dab9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250307%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250307T185233Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=48bb3e4db0eaa31bd1f0376a2f31cbe6700df243b2f86020a5266bac0e6cbc8e 18:52:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:52:33 Dload Upload Total Spent Left Speed 18:52:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 8541 --:--:-- --:--:-- --:--:-- 8541 18:52:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/dfbae229ff598b0ea39689f2aa6aed479ec57377 [Pipeline] } 18:52: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:52:35 + [ -d /w/workspace/edgexfoundry_device-uart_PR-109/archives ] 18:52:35 + ls -al /w/workspace/edgexfoundry_device-uart_PR-109/archives 18:52:35 total 16 18:52:35 drwxr-xr-x 3 root root 4096 Mar 7 18:52 . 18:52:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 18:52 .. 18:52:35 drwxr-xr-x 2 root root 4096 Mar 7 18:52 cost 18:52:35 -rw-r--r-- 1 root root 83 Mar 7 18:52 cost.csv 18:52:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-109/archives 18:52:35 + ls -al /w/workspace/edgexfoundry_device-uart_PR-109/archives 18:52:35 total 16 18:52:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:52 . 18:52:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 18:52 .. 18:52:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 18:52 cost 18:52:35 -rw-r--r-- 1 jenkins jenkins 83 Mar 7 18:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:52:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:37 ---> package-listing.sh 18:52:37 ++ facter osfamily 18:52:37 ++ tr '[:upper:]' '[:lower:]' 18:52:37 + OS_FAMILY=debian 18:52:37 + workspace=/w/workspace/edgexfoundry_device-uart_PR-109 18:52:37 + START_PACKAGES=/tmp/packages_start.txt 18:52:37 + END_PACKAGES=/tmp/packages_end.txt 18:52:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:37 + PACKAGES=/tmp/packages_start.txt 18:52:37 + '[' /w/workspace/edgexfoundry_device-uart_PR-109 ']' 18:52:37 + PACKAGES=/tmp/packages_end.txt 18:52:37 + case "${OS_FAMILY}" in 18:52:37 + grep '^ii' 18:52:37 + dpkg -l 18:52:37 + '[' -f /tmp/packages_start.txt ']' 18:52:37 + '[' -f /tmp/packages_end.txt ']' 18:52:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:37 + '[' /w/workspace/edgexfoundry_device-uart_PR-109 ']' 18:52:37 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-109/archives/ 18:52:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-109/archives/ [Pipeline] echo 18:52:37 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-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:52:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:38 prd-ubuntu20.04-docker-8c-8g-40580 does not seem to be running inside a container 18:52:38 $ 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-109/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-109 -v /w/workspace/edgexfoundry_device-uart_PR-109:/w/workspace/edgexfoundry_device-uart_PR-109:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-109@tmp:/w/workspace/edgexfoundry_device-uart_PR-109@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:52:38 $ docker top 99dc8f7ad6aaa1bdc11ff1eb5db09f751c591a59bac67ed9f15e83ab460c525f -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:39 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:39 + mkdir -p /var/log/sysstat [Pipeline] sh 18:52:39 + ls /var/log/sa-host 18:52:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:39 provisioning config files... 18:52:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-109@tmp/config17407956983660303941tmp [Pipeline] { [Pipeline] echo 18:52:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:40 ---> create-netrc.sh [Pipeline] } 18:52:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:52:40 ---> python-tools-install.sh [Pipeline] echo 18:52:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:52:41 ---> sudo-logs.sh 18:52:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:52:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:52:41 ---> job-cost.sh 18:52:41 lf-activate-venv: SKIPPING 18:52:41 DEBUG: total: 0.2199999988079071 18:52:41 INFO: Retrieving Stack Cost... 18:52:41 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:42 INFO: Archiving Costs [Pipeline] echo 18:52:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:42 ---> logs-deploy.sh 18:52:42 lf-activate-venv: SKIPPING 18:52:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-109/1 18:52:42 INFO: archiving workspace using pattern(s): 18:52:43 Archives upload complete. 18:52:43 INFO: archiving logs to Nexus 18:52:44 ---> uname -a: 18:52:44 Linux prd-ubuntu20-04-docker-8c-8g-40580 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:52:44 18:52:44 18:52:44 ---> lscpu: 18:52:44 Architecture: x86_64 18:52:44 CPU op-mode(s): 32-bit, 64-bit 18:52:44 Byte Order: Little Endian 18:52:44 Address sizes: 40 bits physical, 48 bits virtual 18:52:44 CPU(s): 8 18:52:44 On-line CPU(s) list: 0-7 18:52:44 Thread(s) per core: 1 18:52:44 Core(s) per socket: 1 18:52:44 Socket(s): 8 18:52:44 NUMA node(s): 1 18:52:44 Vendor ID: AuthenticAMD 18:52:44 CPU family: 23 18:52:44 Model: 49 18:52:44 Model name: AMD EPYC-Rome Processor 18:52:44 Stepping: 0 18:52:44 CPU MHz: 2799.998 18:52:44 BogoMIPS: 5599.99 18:52:44 Virtualization: AMD-V 18:52:44 Hypervisor vendor: KVM 18:52:44 Virtualization type: full 18:52:44 L1d cache: 256 KiB 18:52:44 L1i cache: 256 KiB 18:52:44 L2 cache: 4 MiB 18:52:44 L3 cache: 128 MiB 18:52:44 NUMA node0 CPU(s): 0-7 18:52:44 Vulnerability Itlb multihit: Not affected 18:52:44 Vulnerability L1tf: Not affected 18:52:44 Vulnerability Mds: Not affected 18:52:44 Vulnerability Meltdown: Not affected 18:52:44 Vulnerability Mmio stale data: Not affected 18:52:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:52:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:52:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:52:44 Vulnerability Srbds: Not affected 18:52:44 Vulnerability Tsx async abort: Not affected 18:52:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:52:44 18:52:44 18:52:44 ---> nproc: 18:52:44 8 18:52:44 18:52:44 18:52:44 ---> df -h: 18:52:44 Filesystem Size Used Avail Use% Mounted on 18:52:44 overlay 155G 12G 144G 8% / 18:52:44 tmpfs 64M 0 64M 0% /dev 18:52:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:52:44 shm 64M 0 64M 0% /dev/shm 18:52:44 /dev/vda1 155G 12G 144G 8% /facter-os 18:52:44 18:52:44 18:52:44 ---> sar -b -r -n DEV: 18:52:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40580) 03/07/25 _x86_64_ (8 CPU) 18:52:44 18:52:44 18:48:34 LINUX RESTART (8 CPU) 18:52:44 18:52:44 18:49:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:52:44 18:50:01 399.53 40.10 359.44 0.00 4463.64 122293.26 0.00 18:52:44 18:51:01 284.00 2.80 281.20 0.00 27.06 123825.36 0.00 18:52:44 18:52:01 79.80 0.12 79.69 0.00 5.33 17377.77 0.00 18:52:44 Average: 252.82 14.05 238.77 0.00 1465.37 87444.99 0.00 18:52:44 18:52:44 18:49:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:52:44 18:50:01 29176764 31531844 782932 2.38 76608 2557640 1975392 5.82 1037648 2282864 808 18:52:44 18:51:01 27456688 31370704 923512 2.81 186492 3849320 2327640 6.86 1554460 3308600 343032 18:52:44 18:52:01 26983156 31323708 969156 2.95 191964 4240992 2215776 6.53 1882000 3427152 724716 18:52:44 Average: 27872203 31408752 891867 2.71 151688 3549317 2172936 6.40 1491369 3006205 356185 18:52:44 18:52:44 18:49:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:52:44 18:50:01 vethe7b4db4 14.08 15.03 1.30 13.94 0.00 0.00 0.00 0.00 18:52:44 18:50:01 lo 6.83 6.83 0.67 0.67 0.00 0.00 0.00 0.00 18:52:44 18:50:01 ens3 641.63 433.22 6307.65 105.66 0.00 0.00 0.00 0.00 18:52:44 18:50:01 docker0 50.84 56.06 3.74 295.10 0.00 0.00 0.00 0.00 18:52:44 18:51:01 veth96af6aa 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 18:52:44 18:51:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:52:44 18:51:01 ens3 454.92 288.02 2867.41 37.11 0.00 0.00 0.00 0.00 18:52:44 18:51:01 docker0 272.92 429.48 23.37 2841.88 0.00 0.00 0.00 0.00 18:52:44 18:52:01 veth746489c 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 18:52:44 18:52:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 18:52:44 18:52:01 ens3 27.23 16.00 60.96 9.72 0.00 0.00 0.00 0.00 18:52:44 18:52:01 docker0 1.38 2.75 0.08 38.09 0.00 0.00 0.00 0.00 18:52:44 Average: veth746489c 0.00 0.06 0.00 0.00 0.00 0.00 0.00 0.00 18:52:44 Average: lo 2.38 2.38 0.23 0.23 0.00 0.00 0.00 0.00 18:52:44 Average: ens3 371.59 243.64 3042.40 50.21 0.00 0.00 0.00 0.00 18:52:44 Average: docker0 109.03 163.96 9.12 1066.93 0.00 0.00 0.00 0.00 18:52:44 18:52:44 18:52:44 ---> sar -P ALL: 18:52:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40580) 03/07/25 _x86_64_ (8 CPU) 18:52:44 18:52:44 18:48:34 LINUX RESTART (8 CPU) 18:52:44 18:52:44 18:49:03 CPU %user %nice %system %iowait %steal %idle 18:52:44 18:50:01 all 10.17 0.00 3.48 3.08 0.05 83.21 18:52:44 18:50:01 0 11.22 0.00 3.11 4.17 0.05 81.44 18:52:44 18:50:01 1 8.22 0.00 3.70 0.38 0.05 87.64 18:52:44 18:50:01 2 10.57 0.00 3.03 0.35 0.03 86.02 18:52:44 18:50:01 3 10.04 0.00 5.58 10.99 0.05 73.34 18:52:44 18:50:01 4 13.51 0.00 2.83 0.89 0.05 82.71 18:52:44 18:50:01 5 9.02 0.00 3.02 5.80 0.05 82.11 18:52:44 18:50:01 6 11.46 0.00 2.47 1.74 0.05 84.27 18:52:44 18:50:01 7 7.34 0.00 4.09 0.35 0.05 88.17 18:52:44 18:51:01 all 17.87 0.00 5.68 4.03 0.07 72.35 18:52:44 18:51:01 0 19.23 0.00 5.83 4.07 0.08 70.79 18:52:44 18:51:01 1 17.44 0.00 5.51 6.30 0.07 70.69 18:52:44 18:51:01 2 16.74 0.00 5.27 0.37 0.05 77.57 18:52:44 18:51:01 3 18.29 0.00 6.37 2.63 0.08 72.62 18:52:44 18:51:01 4 18.25 0.00 6.51 13.14 0.07 62.02 18:52:44 18:51:01 5 18.41 0.00 5.69 3.91 0.05 71.94 18:52:44 18:51:01 6 16.82 0.00 5.18 0.37 0.07 77.56 18:52:44 18:51:01 7 17.81 0.00 5.11 1.47 0.07 75.55 18:52:44 18:52:01 all 51.20 0.00 8.07 0.84 0.09 39.79 18:52:44 18:52:01 0 49.44 0.00 8.45 0.69 0.10 41.33 18:52:44 18:52:01 1 50.29 0.00 7.75 0.08 0.08 41.80 18:52:44 18:52:01 2 51.70 0.00 8.33 0.10 0.10 39.77 18:52:44 18:52:01 3 52.60 0.00 8.40 0.49 0.08 38.42 18:52:44 18:52:01 4 51.99 0.00 7.64 0.05 0.08 40.23 18:52:44 18:52:01 5 50.87 0.00 8.04 4.64 0.12 36.34 18:52:44 18:52:01 6 50.39 0.00 8.43 0.57 0.08 40.53 18:52:44 18:52:01 7 52.35 0.00 7.53 0.08 0.10 39.94 18:52:44 Average: all 26.61 0.00 5.77 2.64 0.07 64.91 18:52:44 Average: 0 26.79 0.00 5.82 2.97 0.08 64.34 18:52:44 Average: 1 25.51 0.00 5.68 2.27 0.07 66.47 18:52:44 Average: 2 26.53 0.00 5.57 0.27 0.06 67.56 18:52:44 Average: 3 27.18 0.00 6.80 4.63 0.07 61.32 18:52:44 Average: 4 28.13 0.00 5.70 4.73 0.07 61.37 18:52:44 Average: 5 26.29 0.00 5.61 4.78 0.07 63.25 18:52:44 Average: 6 26.39 0.00 5.39 0.88 0.07 67.26 18:52:44 Average: 7 26.04 0.00 5.59 0.64 0.07 67.66 18:52:44 18:52:44 18:52:44