Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 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-ssh17951722851695219214.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-ssh1326540488575694144.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17683387672273678096.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 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-ssh4984709689505070825.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11787135131502061479.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-centos7-blackbox-4c-2g-40618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-40619’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-40938’ is offline ‘prd-ubuntu20.04-docker-8c-8g-40945’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-40943’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40946 in /w/workspace/edgexfoundry_device-uart_main [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_main # 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 Avoid second fetch Checking out Revision 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 (main) Commit message: "Merge pull request #111 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" > git config core.sparsecheckout # timeout=10 > git checkout -f 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 # timeout=10 > git rev-list --no-walk 68238f63d1c6f5f050a41c84d23fd27d7c95b502 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:19:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:19:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:19:05 ========================================================= 00:19:05 EdgeX Global Pipelines Version Info 00:19:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:19:05 ------------------- 00:19:05 stable info: 00:19:05 ------------------- 00:19:05 Commited By: Cherry Wang cherry@iotechsys.com 00:19:05 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 00:19:05 Message: update stable to v1.0.271 00:19:06 ------------------- 00:19:06 experimental info: 00:19:06 ------------------- 00:19:06 Commited By: **** collab-it+edgex@linuxfoundation.org 00:19:06 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 00:19:06 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:19:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f5ba12 [Pipeline] echo 00:19:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:07 provisioning config files... 00:19:07 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9636580188607039051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:07 ---> ****-login.sh 00:19:07 nexus3.edgexfoundry.org:10001 00:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:07 Configure a credential helper to remove this warning. See 00:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:07 00:19:07 Login Succeeded 00:19:07 nexus3.edgexfoundry.org:10002 00:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:07 Configure a credential helper to remove this warning. See 00:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:07 00:19:07 Login Succeeded 00:19:07 nexus3.edgexfoundry.org:10003 00:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:08 Configure a credential helper to remove this warning. See 00:19:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:08 00:19:08 Login Succeeded 00:19:08 nexus3.edgexfoundry.org:10004 00:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:08 Configure a credential helper to remove this warning. See 00:19:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:08 00:19:08 Login Succeeded 00:19:08 ****.io 00:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:08 Configure a credential helper to remove this warning. See 00:19:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:08 00:19:08 Login Succeeded 00:19:08 ---> ****-login.sh ends [Pipeline] } 00:19:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:19:08 + git rev-list -1 --merges 4f5ba12fa66c31047a62bb53a847da11fc9d4da1~1..4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [Pipeline] echo 00:19:08 -----------> git rev-list -1 --merges 4f5ba12fa66c31047a62bb53a847da11fc9d4da1~1..4f5ba12fa66c31047a62bb53a847da11fc9d4da1 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:19:08 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [false] [Pipeline] sh 00:19:09 + git log --format=format:%s -1 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [Pipeline] echo 00:19:09 ========================================================= 00:19:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:19:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:09 + git log --format=format:%s -1 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [Pipeline] echo 00:19:09 [semverPrep] GIT_COMMIT: 4f5ba12fa66c31047a62bb53a847da11fc9d4da1, Commit Message: Merge pull request #111 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0 [Pipeline] echo 00:19:09 [semverPrep] This is not a build commit. [Pipeline] sh 00:19:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:19:10 + grep -v github /etc/ssh/ssh_known_hosts 00:19:10 + [ -e /tmp/ssh_known_hosts ] 00:19:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:19:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:19:10 + sudo tee -a /etc/ssh/ssh_known_hosts 00:19:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:10 00:19:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:10 0.1.4: Pulling from edgex-devops/py-git-semver 00:19:10 b85a868b505f: Pulling fs layer 00:19:10 e2be974225ed: Pulling fs layer 00:19:10 339a4e72a1f5: Pulling fs layer 00:19:10 988bab9f4d93: Pulling fs layer 00:19:10 1469e6f7b9e6: Pulling fs layer 00:19:10 eaf3925da568: Pulling fs layer 00:19:10 bab4dde63d76: Pulling fs layer 00:19:10 bde34c3a00c8: Pulling fs layer 00:19:10 b352a97aabf1: Pulling fs layer 00:19:10 4872d77fe225: Pulling fs layer 00:19:10 5851b861e8e6: Pulling fs layer 00:19:10 988bab9f4d93: Waiting 00:19:10 1469e6f7b9e6: Waiting 00:19:10 eaf3925da568: Waiting 00:19:10 bab4dde63d76: Waiting 00:19:10 bde34c3a00c8: Waiting 00:19:10 5851b861e8e6: Waiting 00:19:10 b352a97aabf1: Waiting 00:19:10 4872d77fe225: Waiting 00:19:10 e2be974225ed: Download complete 00:19:10 988bab9f4d93: Verifying Checksum 00:19:10 988bab9f4d93: Download complete 00:19:10 1469e6f7b9e6: Verifying Checksum 00:19:10 1469e6f7b9e6: Download complete 00:19:10 eaf3925da568: Verifying Checksum 00:19:10 eaf3925da568: Download complete 00:19:10 339a4e72a1f5: Verifying Checksum 00:19:10 339a4e72a1f5: Download complete 00:19:10 bde34c3a00c8: Download complete 00:19:10 b352a97aabf1: Verifying Checksum 00:19:10 b352a97aabf1: Download complete 00:19:10 4872d77fe225: Verifying Checksum 00:19:10 4872d77fe225: Download complete 00:19:10 5851b861e8e6: Download complete 00:19:10 b85a868b505f: Verifying Checksum 00:19:10 b85a868b505f: Download complete 00:19:11 bab4dde63d76: Verifying Checksum 00:19:11 bab4dde63d76: Download complete 00:19:12 b85a868b505f: Pull complete 00:19:12 e2be974225ed: Pull complete 00:19:12 339a4e72a1f5: Pull complete 00:19:12 988bab9f4d93: Pull complete 00:19:13 1469e6f7b9e6: Pull complete 00:19:13 eaf3925da568: Pull complete 00:19:15 bab4dde63d76: Pull complete 00:19:15 bde34c3a00c8: Pull complete 00:19:15 b352a97aabf1: Pull complete 00:19:15 4872d77fe225: Pull complete 00:19:15 5851b861e8e6: Pull complete 00:19:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:19:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:15 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:19:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:19:17 $ docker top 00b93d19fc8001e69216053c2039e1de27b42fa4633a09ec389a65bff45ce2c0 -eo pid,comm 00:19:17 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). 00:19:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:19:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:19:17 [ssh-agent] Looking for ssh-agent implementation... 00:19:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:19:17 $ docker exec 00b93d19fc8001e69216053c2039e1de27b42fa4633a09ec389a65bff45ce2c0 ssh-agent 00:19:17 SSH_AUTH_SOCK=/tmp/ssh-bivbOez1nUQn/agent.33 00:19:17 SSH_AGENT_PID=39 00:19:17 Running ssh-add (command line suppressed) 00:19:18 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2772281746450248124.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2772281746450248124.key) 00:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:19:18 + git tag --points-at HEAD [Pipeline] } 00:19:18 $ docker exec --env ******** --env ******** 00b93d19fc8001e69216053c2039e1de27b42fa4633a09ec389a65bff45ce2c0 ssh-agent -k 00:19:18 unset SSH_AUTH_SOCK; 00:19:18 unset SSH_AGENT_PID; 00:19:18 echo Agent pid 39 killed; 00:19:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:19:18 [ssh-agent] Looking for ssh-agent implementation... 00:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:19:18 $ docker exec 00b93d19fc8001e69216053c2039e1de27b42fa4633a09ec389a65bff45ce2c0 ssh-agent 00:19:18 SSH_AUTH_SOCK=/tmp/ssh-rWYLt1PWpZ8Z/agent.73 00:19:18 SSH_AGENT_PID=79 00:19:18 Running ssh-add (command line suppressed) 00:19:18 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11467082555894164970.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11467082555894164970.key) 00:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:19:19 + git semver init 00:19:19 2025-03-12 00:19:19,380 [run_init] DEBUG init version:0.0.0 force:False 00:19:19 2025-03-12 00:19:19,381 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 00:19:19 2025-03-12 00:19:19,381 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 00:19:19 2025-03-12 00:19:19,381 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 00:19:20 2025-03-12 00:19:20,557 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 00:19:20 2025-03-12 00:19:20,558 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 00:19:20 2025-03-12 00:19:20,558 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:19:20 2025-03-12 00:19:20,558 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:19:20 4.0.0-dev.11 [Pipeline] } 00:19:20 $ docker exec --env ******** --env ******** 00b93d19fc8001e69216053c2039e1de27b42fa4633a09ec389a65bff45ce2c0 ssh-agent -k 00:19:20 unset SSH_AUTH_SOCK; 00:19:20 unset SSH_AGENT_PID; 00:19:20 echo Agent pid 79 killed; 00:19:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:19:21 + git semver [Pipeline] } 00:19:21 $ docker stop --time=1 00b93d19fc8001e69216053c2039e1de27b42fa4633a09ec389a65bff45ce2c0 00:19:22 $ docker rm -f --volumes 00b93d19fc8001e69216053c2039e1de27b42fa4633a09ec389a65bff45ce2c0 [Pipeline] // withDockerContainer [Pipeline] sh 00:19:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:19:23 Stashed 1 file(s) [Pipeline] echo 00:19:23 [edgeXSemver]: initialized semver on version 4.0.0-dev.11 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:23 provisioning config files... 00:19:23 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config53825107485319310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:23 ---> ****-login.sh 00:19:23 nexus3.edgexfoundry.org:10001 00:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:23 Configure a credential helper to remove this warning. See 00:19:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:23 00:19:23 Login Succeeded 00:19:23 nexus3.edgexfoundry.org:10002 00:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:23 Configure a credential helper to remove this warning. See 00:19:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:23 00:19:23 Login Succeeded 00:19:23 nexus3.edgexfoundry.org:10003 00:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:24 Configure a credential helper to remove this warning. See 00:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:24 00:19:24 Login Succeeded 00:19:24 nexus3.edgexfoundry.org:10004 00:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:24 Configure a credential helper to remove this warning. See 00:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:24 00:19:24 Login Succeeded 00:19:24 ****.io 00:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:19:24 Configure a credential helper to remove this warning. See 00:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:19:24 00:19:24 Login Succeeded 00:19:24 ---> ****-login.sh ends [Pipeline] } 00:19:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:19:24 ========================================================= 00:19:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:19:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:24 + 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 . 00:19:24 Sending build context to Docker daemon 25.85MB 00:19:24 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:19:24 Step 2/12 : FROM ${BASE} AS builder 00:19:24 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:19:24 da9db072f522: Pulling fs layer 00:19:24 6ef4a4ee8ca5: Pulling fs layer 00:19:24 06f05ace1117: Pulling fs layer 00:19:24 5fe327b54edc: Pulling fs layer 00:19:24 4f4fb700ef54: Pulling fs layer 00:19:24 92a5565b7b96: Pulling fs layer 00:19:24 ff9bb7016b71: Pulling fs layer 00:19:24 b67dba6c2c7d: Pulling fs layer 00:19:24 a813b0c90790: Pulling fs layer 00:19:24 4f4fb700ef54: Waiting 00:19:24 92a5565b7b96: Waiting 00:19:24 ff9bb7016b71: Waiting 00:19:24 b67dba6c2c7d: Waiting 00:19:24 a813b0c90790: Waiting 00:19:25 6ef4a4ee8ca5: Verifying Checksum 00:19:25 6ef4a4ee8ca5: Download complete 00:19:25 5fe327b54edc: Verifying Checksum 00:19:25 5fe327b54edc: Download complete 00:19:25 4f4fb700ef54: Verifying Checksum 00:19:25 4f4fb700ef54: Download complete 00:19:25 92a5565b7b96: Verifying Checksum 00:19:25 92a5565b7b96: Download complete 00:19:25 da9db072f522: Download complete 00:19:25 ff9bb7016b71: Verifying Checksum 00:19:25 ff9bb7016b71: Download complete 00:19:25 da9db072f522: Pull complete 00:19:25 a813b0c90790: Verifying Checksum 00:19:25 a813b0c90790: Download complete 00:19:25 6ef4a4ee8ca5: Pull complete 00:19:25 06f05ace1117: Verifying Checksum 00:19:25 06f05ace1117: Download complete 00:19:26 b67dba6c2c7d: Verifying Checksum 00:19:26 b67dba6c2c7d: Download complete 00:19:29 06f05ace1117: Pull complete 00:19:29 5fe327b54edc: Pull complete 00:19:29 4f4fb700ef54: Pull complete 00:19:29 92a5565b7b96: Pull complete 00:19:29 ff9bb7016b71: Pull complete 00:19:31 b67dba6c2c7d: Pull complete 00:19:32 a813b0c90790: Pull complete 00:19:32 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 00:19:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:19:32 ---> 3ba60ce46760 00:19:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:19:35 ---> Running in 813a3d7fd976 00:19:35 Removing intermediate container 813a3d7fd976 00:19:35 ---> 1cdce1388efa 00:19:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:19:35 ---> Running in 3b60705a9691 00:19:35 Removing intermediate container 3b60705a9691 00:19:35 ---> 6915e65f9518 00:19:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:19:35 ---> Running in 36dac3a7f336 00:19:35 Removing intermediate container 36dac3a7f336 00:19:35 ---> eafb26d47dec 00:19:35 Step 6/12 : WORKDIR /device-uart 00:19:35 ---> Running in 4865d5fca8ef 00:19:35 Removing intermediate container 4865d5fca8ef 00:19:35 ---> b8eb4e0a3b6c 00:19:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:19:35 ---> Running in 022aadfb08a3 00:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:19:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:19:36 (1/4) Installing openssh-keygen (9.7_p1-r5) 00:19:36 (2/4) Installing libedit (20240517.3.1-r0) 00:19:36 (3/4) Installing openssh-client-common (9.7_p1-r5) 00:19:36 (4/4) Installing openssh-client-default (9.7_p1-r5) 00:19:36 Executing busybox-1.36.1-r29.trigger 00:19:36 OK: 252 MiB in 62 packages 00:19:37 Removing intermediate container 022aadfb08a3 00:19:37 ---> 1b6387c5cef9 00:19:37 Step 8/12 : COPY go.mod vendor* ./ 00:19:37 ---> 7876502533d3 00:19:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:37 ---> Running in 46e389da624f 00:19:38 Still waiting to schedule task 00:19:38 ‘prd-centos7-blackbox-4c-2g-40618’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:19:38 ‘prd-centos7-blackbox-4c-2g-40619’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:19:38 ‘prd-ubuntu20.04-docker-8c-8g-40938’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:19:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-40947’ is offline 00:20:15 Removing intermediate container 46e389da624f 00:20:15 ---> 19b453f66a2d 00:20:15 Step 10/12 : COPY . . 00:20:15 ---> dc37d0f9099d 00:20:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:20:15 ---> Running in 01c9956fda64 00:20:15 Removing intermediate container 01c9956fda64 00:20:15 ---> a148afe65fab 00:20:15 Step 12/12 : RUN ${MAKE} 00:20:15 ---> Running in 121dfd9f26c1 00:20:15 noop 00:20:15 Removing intermediate container 121dfd9f26c1 00:20:15 ---> 675d536189ed 00:20:15 Successfully built 675d536189ed 00:20:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:16 + docker inspect -f . ci-base-image-x86_64 00:20:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:16 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:20:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** ci-base-image-x86_64 cat 00:20:16 $ docker top ac1c9a0c308bb8c5e066f3590c4113080bfda9e4a07eb3b8af7945a08dc38727 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:16 + go version 00:20:16 go version go1.23.4 linux/amd64 [Pipeline] } 00:20:16 $ docker stop --time=1 ac1c9a0c308bb8c5e066f3590c4113080bfda9e4a07eb3b8af7945a08dc38727 00:20:18 $ docker rm -f --volumes ac1c9a0c308bb8c5e066f3590c4113080bfda9e4a07eb3b8af7945a08dc38727 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:18 + docker inspect -f . ci-base-image-x86_64 00:20:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:18 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:20:18 $ 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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** ci-base-image-x86_64 cat 00:20:19 $ docker top e9f9df1b63587f2ecf3ed956b12cafec4b849f73e9aca1bab38c2cb8c4fbaa8d -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 00:20:19 + make test 00:20:19 go test ./... -coverprofile=coverage.out 00:20:21 ? github.com/edgexfoundry/device-uart [no test files] 00:20:39 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 00:20:39 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 00:20:47 go vet ./... 00:20:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:20:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:20:52 ./bin/test-attribution-txt.sh [Pipeline] echo 00:20:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 00:20:52 $ docker stop --time=1 e9f9df1b63587f2ecf3ed956b12cafec4b849f73e9aca1bab38c2cb8c4fbaa8d 00:20:55 $ docker rm -f --volumes e9f9df1b63587f2ecf3ed956b12cafec4b849f73e9aca1bab38c2cb8c4fbaa8d [Pipeline] // withDockerContainer [Pipeline] sh 00:20:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:20:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:20:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:20:57 + ls -al . 00:20:57 total 224 00:20:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 00:20 . 00:20:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 00:18 .. 00:20:57 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 00:19 .dockerignore 00:20:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 00:20 .git 00:20:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:19 .github 00:20:57 -rw-rw-r-- 1 jenkins jenkins 343 Mar 12 00:19 .gitignore 00:20:57 -rw-rw-r-- 1 jenkins jenkins 198 Mar 12 00:19 .golangci.yml 00:20:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 00:19 .semver 00:20:57 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 12 00:19 Attribution.txt 00:20:57 -rw-rw-r-- 1 jenkins jenkins 2704 Mar 12 00:19 CHANGELOG.md 00:20:57 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 12 00:19 Dockerfile 00:20:57 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 00:19 GOVERNANCE.md 00:20:57 -rw-rw-r-- 1 jenkins jenkins 675 Mar 12 00:19 Jenkinsfile 00:20:57 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 00:19 LICENSE 00:20:57 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 12 00:19 Makefile 00:20:57 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 00:19 OWNERS.md 00:20:57 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 12 00:19 README.md 00:20:57 -rw-rw-r-- 1 jenkins jenkins 12 Mar 12 00:19 VERSION 00:20:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 00:19 bin 00:20:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:19 cmd 00:20:57 -rw-r--r-- 1 jenkins jenkins 6770 Mar 12 00:20 coverage.out 00:20:57 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 12 00:19 go.mod 00:20:57 -rw-rw-r-- 1 jenkins jenkins 86751 Mar 12 00:19 go.sum 00:20:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:19 internal 00:20:57 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:57 + 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=4f5ba12fa66c31047a62bb53a847da11fc9d4da1 --label arch=amd64 --label version=4.0.0-dev.11 . 00:20:57 Sending build context to Docker daemon 25.85MB 00:20:57 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 00:20:57 Step 2/26 : FROM ${BASE} AS builder 00:20:57 ---> 675d536189ed 00:20:57 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:20:57 ---> Running in 274df0cea6a4 00:20:57 Removing intermediate container 274df0cea6a4 00:20:57 ---> fbb06deb5b13 00:20:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:20:57 ---> Running in 52f4b7493013 00:20:57 Removing intermediate container 52f4b7493013 00:20:57 ---> 091ac07a91af 00:20:57 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:20:57 ---> Running in f2051d3d3271 00:20:57 Removing intermediate container f2051d3d3271 00:20:57 ---> c4701b251cd8 00:20:57 Step 6/26 : WORKDIR /device-uart 00:20:57 ---> Running in f0db6f81170c 00:20:57 Removing intermediate container f0db6f81170c 00:20:57 ---> ccf343a042a7 00:20:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:20:58 ---> Running in 54dd5f812639 00:20:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:20:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:20:58 OK: 252 MiB in 62 packages 00:20:58 Removing intermediate container 54dd5f812639 00:20:58 ---> 544c6e8e387f 00:20:58 Step 8/26 : COPY go.mod vendor* ./ 00:20:58 ---> c52e148616fe 00:20:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:59 ---> Running in d244b8bcb315 00:20:59 Removing intermediate container d244b8bcb315 00:20:59 ---> fcd0697126d1 00:20:59 Step 10/26 : COPY . . 00:21:00 ---> 711d64b635b6 00:21:00 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:21:00 ---> Running in b72b94fa7893 00:21:00 Removing intermediate container b72b94fa7893 00:21:00 ---> 2f2540c3a3c3 00:21:00 Step 12/26 : RUN ${MAKE} 00:21:00 ---> Running in ec1dd4fb943d 00:21:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0-dev.11 -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 00:21:32 Removing intermediate container ec1dd4fb943d 00:21:32 ---> e5134e1a5b29 00:21:32 Step 13/26 : FROM alpine:3.20 00:21:32 3.20: Pulling from library/alpine 00:21:32 0a9a5dfd008f: Pulling fs layer 00:21:32 0a9a5dfd008f: Download complete 00:21:32 0a9a5dfd008f: Pull complete 00:21:32 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 00:21:32 Status: Downloaded newer image for alpine:3.20 00:21:32 ---> ff221270b9fb 00:21:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:21:32 ---> Running in e0640b2015dc 00:21:32 Removing intermediate container e0640b2015dc 00:21:32 ---> c1511822d65a 00:21:32 Step 15/26 : RUN apk add --update --no-cache dumb-init 00:21:32 ---> Running in 1982fdb09f2c 00:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:21:32 (1/1) Installing dumb-init (1.2.5-r3) 00:21:32 Executing busybox-1.36.1-r29.trigger 00:21:32 OK: 8 MiB in 15 packages 00:21:32 Removing intermediate container 1982fdb09f2c 00:21:32 ---> 4bc8c04bf5cb 00:21:32 Step 16/26 : RUN apk --no-cache upgrade 00:21:32 ---> Running in c1e2511b3d89 00:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:21:32 OK: 8 MiB in 15 packages 00:21:32 Removing intermediate container c1e2511b3d89 00:21:32 ---> 06f87fc7471c 00:21:32 Step 17/26 : WORKDIR / 00:21:32 ---> Running in 9d5b201e5db9 00:21:32 Removing intermediate container 9d5b201e5db9 00:21:32 ---> fe8220afd8ff 00:21:32 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 00:21:32 ---> 2c022c64d150 00:21:32 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 00:21:32 ---> 6874d4eb0624 00:21:32 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 00:21:32 ---> 797d4b9f4ec0 00:21:32 Step 21/26 : EXPOSE 59995 00:21:32 ---> Running in c43294feebc2 00:21:32 Removing intermediate container c43294feebc2 00:21:32 ---> cc62d59a08f5 00:21:32 Step 22/26 : ENTRYPOINT ["/device-uart"] 00:21:32 ---> Running in f585078ffa3f 00:21:32 Removing intermediate container f585078ffa3f 00:21:32 ---> 84b63d405254 00:21:32 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:21:32 ---> Running in 233f5e46ad3e 00:21:32 Removing intermediate container 233f5e46ad3e 00:21:32 ---> 6ce034c135ce 00:21:32 Step 24/26 : LABEL arch=amd64 00:21:32 ---> Running in 69a6f8774334 00:21:32 Removing intermediate container 69a6f8774334 00:21:32 ---> bb8cc13f2550 00:21:32 Step 25/26 : LABEL git_sha=4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:21:32 ---> Running in 2e5ec252fd3b 00:21:32 Removing intermediate container 2e5ec252fd3b 00:21:32 ---> 693573d8dfe5 00:21:32 Step 26/26 : LABEL version=4.0.0-dev.11 00:21:32 ---> Running in 20088e365ef7 00:21:32 Removing intermediate container 20088e365ef7 00:21:32 ---> 3cea4d23ddce 00:21:32 [Warning] One or more build-args [ARCH] were not consumed 00:21:32 Successfully built 3cea4d23ddce 00:21:32 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:33 provisioning config files... 00:21:33 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10356346334636284750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:33 ---> ****-login.sh 00:21:33 nexus3.edgexfoundry.org:10001 00:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:33 Configure a credential helper to remove this warning. See 00:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:33 00:21:33 Login Succeeded 00:21:33 nexus3.edgexfoundry.org:10002 00:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:33 Configure a credential helper to remove this warning. See 00:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:33 00:21:33 Login Succeeded 00:21:33 nexus3.edgexfoundry.org:10003 00:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:33 Configure a credential helper to remove this warning. See 00:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:33 00:21:33 Login Succeeded 00:21:33 nexus3.edgexfoundry.org:10004 00:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:33 Configure a credential helper to remove this warning. See 00:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:33 00:21:33 Login Succeeded 00:21:33 ****.io 00:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:33 Configure a credential helper to remove this warning. See 00:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:33 00:21:33 Login Succeeded 00:21:33 ---> ****-login.sh ends [Pipeline] } 00:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:21:33 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 00:21:33 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:21:33 latest 00:21:33 4.0.0-dev.11 00:21:33 4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11 00:21:33 main 00:21:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:34 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:34 + docker push nexus3.edgexfoundry.org:10004/device-uart:4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:21:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:21:34 3f1fcb37ec98: Preparing 00:21:34 e4cb5d37c183: Preparing 00:21:34 54b2684612dc: Preparing 00:21:34 5ec4c160d071: Preparing 00:21:34 e2dd8c3dbd88: Preparing 00:21:34 994456c4fd7b: Preparing 00:21:34 994456c4fd7b: Waiting 00:21:34 54b2684612dc: Pushed 00:21:34 e2dd8c3dbd88: Pushed 00:21:34 5ec4c160d071: Pushed 00:21:34 e4cb5d37c183: Pushed 00:21:34 994456c4fd7b: Layer already exists 00:21:38 3f1fcb37ec98: Pushed 00:21:38 4f5ba12fa66c31047a62bb53a847da11fc9d4da1: digest: sha256:0f86958bcdcf64f03054e93d64e37aa4212d4243f2e90833b182c9fced4d8fae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:39 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:39 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 00:21:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:21:39 3f1fcb37ec98: Preparing 00:21:39 e4cb5d37c183: Preparing 00:21:39 54b2684612dc: Preparing 00:21:39 5ec4c160d071: Preparing 00:21:39 e2dd8c3dbd88: Preparing 00:21:39 994456c4fd7b: Preparing 00:21:39 994456c4fd7b: Waiting 00:21:39 54b2684612dc: Layer already exists 00:21:39 5ec4c160d071: Layer already exists 00:21:39 3f1fcb37ec98: Layer already exists 00:21:39 e4cb5d37c183: Layer already exists 00:21:39 e2dd8c3dbd88: Layer already exists 00:21:39 994456c4fd7b: Layer already exists 00:21:39 latest: digest: sha256:0f86958bcdcf64f03054e93d64e37aa4212d4243f2e90833b182c9fced4d8fae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:39 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:40 + docker push nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.11 00:21:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:21:40 3f1fcb37ec98: Preparing 00:21:40 e4cb5d37c183: Preparing 00:21:40 54b2684612dc: Preparing 00:21:40 5ec4c160d071: Preparing 00:21:40 e2dd8c3dbd88: Preparing 00:21:40 994456c4fd7b: Preparing 00:21:40 994456c4fd7b: Waiting 00:21:40 e4cb5d37c183: Layer already exists 00:21:40 5ec4c160d071: Layer already exists 00:21:40 3f1fcb37ec98: Layer already exists 00:21:40 54b2684612dc: Layer already exists 00:21:40 e2dd8c3dbd88: Layer already exists 00:21:40 994456c4fd7b: Layer already exists 00:21:40 4.0.0-dev.11: digest: sha256:0f86958bcdcf64f03054e93d64e37aa4212d4243f2e90833b182c9fced4d8fae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:40 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:40 + docker push nexus3.edgexfoundry.org:10004/device-uart:4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11 00:21:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:21:40 3f1fcb37ec98: Preparing 00:21:40 e4cb5d37c183: Preparing 00:21:40 54b2684612dc: Preparing 00:21:40 5ec4c160d071: Preparing 00:21:40 e2dd8c3dbd88: Preparing 00:21:40 994456c4fd7b: Preparing 00:21:40 994456c4fd7b: Waiting 00:21:40 e2dd8c3dbd88: Layer already exists 00:21:40 3f1fcb37ec98: Layer already exists 00:21:40 5ec4c160d071: Layer already exists 00:21:40 54b2684612dc: Layer already exists 00:21:40 e4cb5d37c183: Layer already exists 00:21:40 994456c4fd7b: Layer already exists 00:21:40 4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11: digest: sha256:0f86958bcdcf64f03054e93d64e37aa4212d4243f2e90833b182c9fced4d8fae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:41 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:41 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 00:21:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:21:41 3f1fcb37ec98: Preparing 00:21:41 e4cb5d37c183: Preparing 00:21:41 54b2684612dc: Preparing 00:21:41 5ec4c160d071: Preparing 00:21:41 e2dd8c3dbd88: Preparing 00:21:41 994456c4fd7b: Preparing 00:21:41 994456c4fd7b: Waiting 00:21:41 e4cb5d37c183: Layer already exists 00:21:41 5ec4c160d071: Layer already exists 00:21:41 54b2684612dc: Layer already exists 00:21:41 e2dd8c3dbd88: Layer already exists 00:21:41 3f1fcb37ec98: Layer already exists 00:21:41 994456c4fd7b: Layer already exists 00:21:41 main: digest: sha256:0f86958bcdcf64f03054e93d64e37aa4212d4243f2e90833b182c9fced4d8fae size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:21:41 ===================================================== [Pipeline] echo 00:21:41 taggedImages: 00:21:41 - nexus3.edgexfoundry.org:10004/device-uart:4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:21:41 - nexus3.edgexfoundry.org:10004/device-uart:latest 00:21:41 - nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.11 00:21:41 - nexus3.edgexfoundry.org:10004/device-uart:4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11 00:21:41 - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [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 00:21:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:42 00:21:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:42 latest: Pulling from edgex-lftools-log-publisher 00:21:42 5eb5b503b376: Pulling fs layer 00:21:42 5c69ac0246d0: Pulling fs layer 00:21:42 ec43610c2a17: Pulling fs layer 00:21:42 3a2ae6a8a46f: Pulling fs layer 00:21:42 33b1e0a273af: Pulling fs layer 00:21:42 5d3b04190fa2: Pulling fs layer 00:21:42 2f39f015ded8: Pulling fs layer 00:21:42 3a2ae6a8a46f: Waiting 00:21:42 33b1e0a273af: Waiting 00:21:42 5d3b04190fa2: Waiting 00:21:42 5c69ac0246d0: Download complete 00:21:42 3a2ae6a8a46f: Download complete 00:21:42 33b1e0a273af: Verifying Checksum 00:21:42 33b1e0a273af: Download complete 00:21:42 5d3b04190fa2: Verifying Checksum 00:21:42 5d3b04190fa2: Download complete 00:21:42 ec43610c2a17: Verifying Checksum 00:21:42 ec43610c2a17: Download complete 00:21:42 5eb5b503b376: Verifying Checksum 00:21:42 5eb5b503b376: Download complete 00:21:43 5eb5b503b376: Pull complete 00:21:43 5c69ac0246d0: Pull complete 00:21:44 ec43610c2a17: Pull complete 00:21:44 3a2ae6a8a46f: Pull complete 00:21:44 33b1e0a273af: Pull complete 00:21:44 5d3b04190fa2: Pull complete 00:21:48 2f39f015ded8: Pull complete 00:21:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:21:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:48 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:21:48 $ 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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 00:21:51 $ docker top 6f1df47c3c7aab762de3f19dfedbd7a627f9437982f02f1bd4efdc51dcaeb705 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:51 ---> job-cost.sh 00:21:51 lf-activate-venv: SKIPPING 00:21:51 INFO: No Stack... 00:21:51 INFO: Retrieving Pricing Info for: v3-standard-8 00:21:52 INFO: Archiving Costs [Pipeline] sh 00:21:52 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 00:21:52 + cut -d, -f6 [Pipeline] lock 00:21:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-53-stack-cost] 00:21:52 Resource [jenkins-edgexfoundry-device-uart-main-53-stack-cost] did not exist. Created. 00:21:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:21:52 + echo total: 0.2199999988079071 [Pipeline] stash 00:21:52 Stashed 1 file(s) [Pipeline] } 00:21:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 00:21:53 $ docker stop --time=1 6f1df47c3c7aab762de3f19dfedbd7a627f9437982f02f1bd4efdc51dcaeb705 00:21:54 $ docker rm -f --volumes 6f1df47c3c7aab762de3f19dfedbd7a627f9437982f02f1bd4efdc51dcaeb705 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:22:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40953 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 00:22:13 Running in /w/workspace/device-uart/53 [Pipeline] { [Pipeline] checkout 00:22:16 The recommended git tool is: git 00:22:22 using credential edgex-jenkins-ssh 00:22:22 Cloning the remote Git repository 00:22:22 Cloning repository git@github.com:edgexfoundry/device-uart.git 00:22:22 > git init /w/workspace/device-uart/53 # timeout=10 00:22:22 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 00:22:22 > git --version # timeout=10 00:22:22 > git --version # 'git version 2.25.1' 00:22:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:22:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:22:25 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 00:22:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:22:26 Avoid second fetch 00:22:26 Checking out Revision 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 (main) 00:22:27 Commit message: "Merge pull request #111 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" 00:22:26 > git config core.sparsecheckout # timeout=10 00:22:26 > git checkout -f 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:22:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:22:32 Dload Upload Total Spent Left Speed 00:22:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh 00:22:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:22:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:22:33 + sudo tee /etc/docker/daemon.new 00:22:33 { 00:22:33 "registry-mirrors": [ 00:22:33 "https://nexus3.edgexfoundry.org:10001" 00:22:33 ], 00:22:33 "bip": "10.250.0.254/24", 00:22:33 "hosts": [ 00:22:33 "tcp://0.0.0.0:5555", 00:22:33 "unix:///var/run/docker.sock" 00:22:33 ], 00:22:33 "mtu": 1458, 00:22:33 "selinux-enabled": true, 00:22:33 "seccomp-profile": "/etc/docker/seccomp.json" 00:22:33 } [Pipeline] sh 00:22:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:22:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:22:52 provisioning config files... 00:22:52 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/53@tmp/config13856915714565745956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:53 ---> ****-login.sh 00:22:53 nexus3.edgexfoundry.org:10001 00:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:54 Configure a credential helper to remove this warning. See 00:22:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:54 00:22:54 Login Succeeded 00:22:54 nexus3.edgexfoundry.org:10002 00:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:54 Configure a credential helper to remove this warning. See 00:22:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:54 00:22:54 Login Succeeded 00:22:54 nexus3.edgexfoundry.org:10003 00:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:55 Configure a credential helper to remove this warning. See 00:22:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:55 00:22:55 Login Succeeded 00:22:55 nexus3.edgexfoundry.org:10004 00:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:55 Configure a credential helper to remove this warning. See 00:22:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:55 00:22:55 Login Succeeded 00:22:55 ****.io 00:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:22:56 Configure a credential helper to remove this warning. See 00:22:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:22:56 00:22:56 Login Succeeded 00:22:56 ---> ****-login.sh ends [Pipeline] } 00:22:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:22:56 ========================================================= 00:22:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 00:22:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 00:22:57 Sending build context to Docker daemon 13.01MB 00:22:57 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:22:57 Step 2/12 : FROM ${BASE} AS builder 00:22:57 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:22:57 9986a736f7d3: Pulling fs layer 00:22:57 1f018df60701: Pulling fs layer 00:22:57 39f8f326b044: Pulling fs layer 00:22:57 e6a1e7a6a96a: Pulling fs layer 00:22:57 4f4fb700ef54: Pulling fs layer 00:22:57 d45d956e0dbf: Pulling fs layer 00:22:57 d7702b0d1db1: Pulling fs layer 00:22:57 5c7f0f088c93: Pulling fs layer 00:22:57 4fdc064ae6cf: Pulling fs layer 00:22:57 e6a1e7a6a96a: Waiting 00:22:57 5c7f0f088c93: Waiting 00:22:57 d45d956e0dbf: Waiting 00:22:57 4fdc064ae6cf: Waiting 00:22:57 d7702b0d1db1: Waiting 00:22:57 1f018df60701: Verifying Checksum 00:22:57 1f018df60701: Download complete 00:22:57 e6a1e7a6a96a: Verifying Checksum 00:22:57 e6a1e7a6a96a: Download complete 00:22:57 4f4fb700ef54: Verifying Checksum 00:22:57 4f4fb700ef54: Download complete 00:22:58 d45d956e0dbf: Verifying Checksum 00:22:58 d45d956e0dbf: Download complete 00:22:58 9986a736f7d3: Verifying Checksum 00:22:58 d7702b0d1db1: Verifying Checksum 00:22:58 d7702b0d1db1: Download complete 00:22:59 4fdc064ae6cf: Verifying Checksum 00:22:59 4fdc064ae6cf: Download complete 00:22:59 9986a736f7d3: Pull complete 00:22:59 1f018df60701: Pull complete 00:23:00 39f8f326b044: Verifying Checksum 00:23:00 39f8f326b044: Download complete 00:23:01 5c7f0f088c93: Verifying Checksum 00:23:16 39f8f326b044: Pull complete 00:23:16 e6a1e7a6a96a: Pull complete 00:23:16 4f4fb700ef54: Pull complete 00:23:16 d45d956e0dbf: Pull complete 00:23:16 d7702b0d1db1: Pull complete 00:23:26 5c7f0f088c93: Pull complete 00:23:28 4fdc064ae6cf: Pull complete 00:23:28 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 00:23:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 00:23:28 ---> 63f30b955cb9 00:23:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:23:29 ---> Running in c229d80ab2d1 00:23:29 Removing intermediate container c229d80ab2d1 00:23:29 ---> 7d169e55b763 00:23:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:23:30 ---> Running in 9e3938a39f69 00:23:30 Removing intermediate container 9e3938a39f69 00:23:30 ---> 219f7ebd4f1f 00:23:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:23:30 ---> Running in 84873b297b8c 00:23:30 Removing intermediate container 84873b297b8c 00:23:30 ---> fb0503c6403a 00:23:30 Step 6/12 : WORKDIR /device-uart 00:23:30 ---> Running in 5ba74e593a5e 00:23:31 Removing intermediate container 5ba74e593a5e 00:23:31 ---> dea56dc4357e 00:23:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:23:31 ---> Running in de8928a98a84 00:23:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:23:34 (1/4) Installing openssh-keygen (9.7_p1-r5) 00:23:34 (2/4) Installing libedit (20240517.3.1-r0) 00:23:34 (3/4) Installing openssh-client-common (9.7_p1-r5) 00:23:35 (4/4) Installing openssh-client-default (9.7_p1-r5) 00:23:35 Executing busybox-1.36.1-r29.trigger 00:23:35 OK: 244 MiB in 62 packages 00:23:36 Removing intermediate container de8928a98a84 00:23:36 ---> 042f27cb095c 00:23:36 Step 8/12 : COPY go.mod vendor* ./ 00:23:36 ---> 6407d0c05a3f 00:23:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:37 ---> Running in 863b6bba9a73 00:25:28 Removing intermediate container 863b6bba9a73 00:25:28 ---> cf6e7a1d61ad 00:25:28 Step 10/12 : COPY . . 00:25:28 ---> 046259932112 00:25:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:25:28 ---> Running in c0a8f10e5aac 00:25:28 Removing intermediate container c0a8f10e5aac 00:25:28 ---> 6a3eeb344cc1 00:25:28 Step 12/12 : RUN ${MAKE} 00:25:28 ---> Running in 6cdd77d2ef7d 00:25:28 noop 00:25:28 Removing intermediate container 6cdd77d2ef7d 00:25:28 ---> f7e84c1e4a66 00:25:28 Successfully built f7e84c1e4a66 00:25:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:29 + docker inspect -f . ci-base-image-arm64 00:25:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:29 prd-ubuntu20.04-docker-arm64-4c-16g-40953 does not seem to be running inside a container 00:25:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/53 -v /w/workspace/device-uart/53:/w/workspace/device-uart/53:rw,z -v /w/workspace/device-uart/53@tmp:/w/workspace/device-uart/53@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 ******** ci-base-image-arm64 cat 00:25:31 $ docker top 2f8548bb8083bcd2439fa9a87182f07269d42c52fcc4d8174fb2a5f2d9095942 -eo pid,comm [Pipeline] { [Pipeline] sh 00:25:32 + go version 00:25:32 go version go1.23.4 linux/arm64 [Pipeline] } 00:25:32 $ docker stop --time=1 2f8548bb8083bcd2439fa9a87182f07269d42c52fcc4d8174fb2a5f2d9095942 00:25:33 $ docker rm -f --volumes 2f8548bb8083bcd2439fa9a87182f07269d42c52fcc4d8174fb2a5f2d9095942 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:34 + docker inspect -f . ci-base-image-arm64 00:25:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:34 prd-ubuntu20.04-docker-arm64-4c-16g-40953 does not seem to be running inside a container 00:25:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/53 -v /w/workspace/device-uart/53:/w/workspace/device-uart/53:rw,z -v /w/workspace/device-uart/53@tmp:/w/workspace/device-uart/53@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 ******** ci-base-image-arm64 cat 00:25:36 $ docker top fd06ee2062c1c655c4d1594765138c329caf6c2bb8f9df0b0a168c2211ad3b23 -eo pid,comm [Pipeline] { [Pipeline] sh 00:25:37 + git config --global --add safe.directory /w/workspace/device-uart/53 [Pipeline] fileExists [Pipeline] sh 00:25:38 + make test 00:25:38 go test ./... -coverprofile=coverage.out 00:25:44 ? github.com/edgexfoundry/device-uart [no test files] 00:30:06 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 00:30:06 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 00:30:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:30:06 go vet ./... 00:31:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:31:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:31:03 ./bin/test-attribution-txt.sh [Pipeline] echo 00:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 00:31:03 $ docker stop --time=1 fd06ee2062c1c655c4d1594765138c329caf6c2bb8f9df0b0a168c2211ad3b23 00:31:05 $ docker rm -f --volumes fd06ee2062c1c655c4d1594765138c329caf6c2bb8f9df0b0a168c2211ad3b23 [Pipeline] // withDockerContainer [Pipeline] sh 00:31:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:31:07 Warning: overwriting stash ‘coverage-report’ 00:31:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:31:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:31:08 + ls -al . 00:31:08 total 220 00:31:08 drwxrwxr-x 7 jenkins jenkins 4096 Mar 12 00:25 . 00:31:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 00:22 .. 00:31:08 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 00:22 .dockerignore 00:31:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 00:22 .git 00:31:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:22 .github 00:31:08 -rw-rw-r-- 1 jenkins jenkins 343 Mar 12 00:22 .gitignore 00:31:08 -rw-rw-r-- 1 jenkins jenkins 198 Mar 12 00:22 .golangci.yml 00:31:08 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 12 00:22 Attribution.txt 00:31:08 -rw-rw-r-- 1 jenkins jenkins 2704 Mar 12 00:22 CHANGELOG.md 00:31:08 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 12 00:22 Dockerfile 00:31:08 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 00:22 GOVERNANCE.md 00:31:08 -rw-rw-r-- 1 jenkins jenkins 675 Mar 12 00:22 Jenkinsfile 00:31:08 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 00:22 LICENSE 00:31:08 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 12 00:22 Makefile 00:31:08 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 00:22 OWNERS.md 00:31:08 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 12 00:22 README.md 00:31:08 -rw-rw-r-- 1 jenkins jenkins 12 Mar 12 00:19 VERSION 00:31:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 00:22 bin 00:31:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:22 cmd 00:31:08 -rw-r--r-- 1 jenkins jenkins 6770 Mar 12 00:29 coverage.out 00:31:08 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 12 00:22 go.mod 00:31:08 -rw-rw-r-- 1 jenkins jenkins 86751 Mar 12 00:22 go.sum 00:31:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:22 internal 00:31:08 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 00:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:09 + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4f5ba12fa66c31047a62bb53a847da11fc9d4da1 --label arch=arm64 --label version=4.0.0-dev.11 . 00:31:09 Sending build context to Docker daemon 13.01MB 00:31:09 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 00:31:09 Step 2/26 : FROM ${BASE} AS builder 00:31:09 ---> f7e84c1e4a66 00:31:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:31:09 ---> Running in d18175642bfe 00:31:10 Removing intermediate container d18175642bfe 00:31:10 ---> eb0e6ffe1341 00:31:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:31:10 ---> Running in a107469f2ef2 00:31:10 Removing intermediate container a107469f2ef2 00:31:10 ---> 17eea3e24153 00:31:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:31:10 ---> Running in 1141736c4b5b 00:31:11 Removing intermediate container 1141736c4b5b 00:31:11 ---> 2a99663cb6a0 00:31:11 Step 6/26 : WORKDIR /device-uart 00:31:11 ---> Running in 60b26946c5f4 00:31:11 Removing intermediate container 60b26946c5f4 00:31:11 ---> 41d8fd2af152 00:31:11 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:31:11 ---> Running in 898bc08e7eff 00:31:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:31:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:31:15 OK: 244 MiB in 62 packages 00:31:16 Removing intermediate container 898bc08e7eff 00:31:16 ---> 7738e6d34513 00:31:16 Step 8/26 : COPY go.mod vendor* ./ 00:31:16 ---> 06fcbc3b1b11 00:31:16 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:31:16 ---> Running in da66630871de 00:31:19 Removing intermediate container da66630871de 00:31:19 ---> b80393a14694 00:31:19 Step 10/26 : COPY . . 00:31:21 ---> ca7532202202 00:31:21 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:31:21 ---> Running in 750eb3ffc594 00:31:21 Removing intermediate container 750eb3ffc594 00:31:21 ---> bcc915b4fd16 00:31:21 Step 12/26 : RUN ${MAKE} 00:31:21 ---> Running in 0498a148923e 00:31:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0-dev.11 -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 00:35:44 Removing intermediate container 0498a148923e 00:35:44 ---> f8c7b70aa525 00:35:44 Step 13/26 : FROM alpine:3.20 00:35:44 3.20: Pulling from library/alpine 00:35:44 94e9d8af2201: Pulling fs layer 00:35:44 94e9d8af2201: Verifying Checksum 00:35:44 94e9d8af2201: Download complete 00:35:44 94e9d8af2201: Pull complete 00:35:44 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 00:35:44 Status: Downloaded newer image for alpine:3.20 00:35:44 ---> 7aab056cecc6 00:35:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:35:44 ---> Running in 75bb418799c9 00:35:44 Removing intermediate container 75bb418799c9 00:35:44 ---> c852f1c5fcb2 00:35:44 Step 15/26 : RUN apk add --update --no-cache dumb-init 00:35:44 ---> Running in 17ad956356c4 00:35:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:35:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:35:47 (1/1) Installing dumb-init (1.2.5-r3) 00:35:47 Executing busybox-1.36.1-r29.trigger 00:35:47 OK: 9 MiB in 15 packages 00:35:48 Removing intermediate container 17ad956356c4 00:35:48 ---> 6aa90f0edf91 00:35:48 Step 16/26 : RUN apk --no-cache upgrade 00:35:49 ---> Running in 370b343708d1 00:35:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:35:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:35:52 OK: 9 MiB in 15 packages 00:35:53 Removing intermediate container 370b343708d1 00:35:53 ---> 0b70959bdb46 00:35:53 Step 17/26 : WORKDIR / 00:35:53 ---> Running in 81b6cdf4ed3b 00:35:54 Removing intermediate container 81b6cdf4ed3b 00:35:54 ---> 13609ce2b599 00:35:54 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 00:35:54 ---> 82a36a57d5f4 00:35:54 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 00:35:55 ---> f9cce06bd1f3 00:35:55 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 00:35:57 ---> 0012a37355b8 00:35:57 Step 21/26 : EXPOSE 59995 00:35:57 ---> Running in 6ae10c605c9f 00:35:58 Removing intermediate container 6ae10c605c9f 00:35:58 ---> 8bf062f63d00 00:35:58 Step 22/26 : ENTRYPOINT ["/device-uart"] 00:35:58 ---> Running in c09df64cd069 00:35:58 Removing intermediate container c09df64cd069 00:35:58 ---> 431ee0769db2 00:35:58 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:35:58 ---> Running in d79955f2b351 00:35:58 Removing intermediate container d79955f2b351 00:35:58 ---> f0c9e691a90b 00:35:58 Step 24/26 : LABEL arch=arm64 00:35:59 ---> Running in 846688102e44 00:35:59 Removing intermediate container 846688102e44 00:35:59 ---> 0366407de6d8 00:35:59 Step 25/26 : LABEL git_sha=4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:35:59 ---> Running in f9c388fe2963 00:35:59 Removing intermediate container f9c388fe2963 00:35:59 ---> 2bcbc9bba5a5 00:35:59 Step 26/26 : LABEL version=4.0.0-dev.11 00:35:59 ---> Running in 9c933503072d 00:36:00 Removing intermediate container 9c933503072d 00:36:00 ---> ec82b0358a31 00:36:00 [Warning] One or more build-args [ARCH] were not consumed 00:36:00 Successfully built ec82b0358a31 00:36:00 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:36:00 provisioning config files... 00:36:00 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/53@tmp/config6704562680058403693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:00 ---> ****-login.sh 00:36:00 nexus3.edgexfoundry.org:10001 00:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:36:01 Configure a credential helper to remove this warning. See 00:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:36:01 00:36:01 Login Succeeded 00:36:01 nexus3.edgexfoundry.org:10002 00:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:36:01 Configure a credential helper to remove this warning. See 00:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:36:01 00:36:01 Login Succeeded 00:36:01 nexus3.edgexfoundry.org:10003 00:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:36:01 Configure a credential helper to remove this warning. See 00:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:36:01 00:36:01 Login Succeeded 00:36:01 nexus3.edgexfoundry.org:10004 00:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:36:02 Configure a credential helper to remove this warning. See 00:36:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:36:02 00:36:02 Login Succeeded 00:36:02 ****.io 00:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:36:02 Configure a credential helper to remove this warning. See 00:36:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:36:02 00:36:02 Login Succeeded 00:36:02 ---> ****-login.sh ends [Pipeline] } 00:36:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:36:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:36:03 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 00:36:03 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:36:03 latest 00:36:03 4.0.0-dev.11 00:36:03 4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11 00:36:03 main 00:36:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:03 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:03 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:36:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:36:03 ec2886c33fc6: Preparing 00:36:03 2e69668182eb: Preparing 00:36:03 a77052aa7c0d: Preparing 00:36:03 9c440be830d5: Preparing 00:36:03 8e51f5847c34: Preparing 00:36:03 dd9c8f8612c8: Preparing 00:36:03 dd9c8f8612c8: Waiting 00:36:04 9c440be830d5: Pushed 00:36:04 a77052aa7c0d: Pushed 00:36:04 8e51f5847c34: Pushed 00:36:04 2e69668182eb: Pushed 00:36:04 dd9c8f8612c8: Layer already exists 00:36:14 ec2886c33fc6: Pushed 00:36:14 4f5ba12fa66c31047a62bb53a847da11fc9d4da1: digest: sha256:f1035a4ca90f6eed998f5edebc2560534b05fd60c0d01cf23c32b0ea3c3f71b3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:15 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:15 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 00:36:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:36:15 ec2886c33fc6: Preparing 00:36:15 2e69668182eb: Preparing 00:36:15 a77052aa7c0d: Preparing 00:36:15 9c440be830d5: Preparing 00:36:15 8e51f5847c34: Preparing 00:36:15 dd9c8f8612c8: Preparing 00:36:15 dd9c8f8612c8: Waiting 00:36:15 8e51f5847c34: Layer already exists 00:36:15 ec2886c33fc6: Layer already exists 00:36:15 9c440be830d5: Layer already exists 00:36:15 2e69668182eb: Layer already exists 00:36:15 a77052aa7c0d: Layer already exists 00:36:15 dd9c8f8612c8: Layer already exists 00:36:15 latest: digest: sha256:f1035a4ca90f6eed998f5edebc2560534b05fd60c0d01cf23c32b0ea3c3f71b3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:16 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:16 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.11 00:36:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:36:16 ec2886c33fc6: Preparing 00:36:16 2e69668182eb: Preparing 00:36:16 a77052aa7c0d: Preparing 00:36:16 9c440be830d5: Preparing 00:36:16 8e51f5847c34: Preparing 00:36:16 dd9c8f8612c8: Preparing 00:36:16 dd9c8f8612c8: Waiting 00:36:16 8e51f5847c34: Layer already exists 00:36:16 2e69668182eb: Layer already exists 00:36:16 a77052aa7c0d: Layer already exists 00:36:16 ec2886c33fc6: Layer already exists 00:36:16 9c440be830d5: Layer already exists 00:36:16 dd9c8f8612c8: Layer already exists 00:36:16 4.0.0-dev.11: digest: sha256:f1035a4ca90f6eed998f5edebc2560534b05fd60c0d01cf23c32b0ea3c3f71b3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:18 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:18 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11 00:36:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:36:18 ec2886c33fc6: Preparing 00:36:18 2e69668182eb: Preparing 00:36:18 a77052aa7c0d: Preparing 00:36:18 9c440be830d5: Preparing 00:36:18 8e51f5847c34: Preparing 00:36:18 dd9c8f8612c8: Preparing 00:36:18 dd9c8f8612c8: Waiting 00:36:18 a77052aa7c0d: Layer already exists 00:36:18 9c440be830d5: Layer already exists 00:36:18 8e51f5847c34: Layer already exists 00:36:18 2e69668182eb: Layer already exists 00:36:18 ec2886c33fc6: Layer already exists 00:36:18 dd9c8f8612c8: Layer already exists 00:36:18 4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11: digest: sha256:f1035a4ca90f6eed998f5edebc2560534b05fd60c0d01cf23c32b0ea3c3f71b3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:19 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:19 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 00:36:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 00:36:19 ec2886c33fc6: Preparing 00:36:19 2e69668182eb: Preparing 00:36:19 a77052aa7c0d: Preparing 00:36:19 9c440be830d5: Preparing 00:36:19 8e51f5847c34: Preparing 00:36:19 dd9c8f8612c8: Preparing 00:36:19 dd9c8f8612c8: Waiting 00:36:19 9c440be830d5: Layer already exists 00:36:19 2e69668182eb: Layer already exists 00:36:19 ec2886c33fc6: Layer already exists 00:36:19 a77052aa7c0d: Layer already exists 00:36:19 8e51f5847c34: Layer already exists 00:36:19 dd9c8f8612c8: Layer already exists 00:36:19 main: digest: sha256:f1035a4ca90f6eed998f5edebc2560534b05fd60c0d01cf23c32b0ea3c3f71b3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:36:19 ===================================================== [Pipeline] echo 00:36:19 taggedImages: 00:36:19 - nexus3.edgexfoundry.org:10004/device-uart-arm64:4f5ba12fa66c31047a62bb53a847da11fc9d4da1 00:36:19 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 00:36:19 - nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.11 00:36:19 - nexus3.edgexfoundry.org:10004/device-uart-arm64:4f5ba12fa66c31047a62bb53a847da11fc9d4da1-4.0.0-dev.11 00:36:19 - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:20 00:36:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:20 arm64: Pulling from edgex-lftools-log-publisher 00:36:20 8998bd30e6a1: Pulling fs layer 00:36:20 04944245beec: Pulling fs layer 00:36:20 699f458cf7ca: Pulling fs layer 00:36:20 765212b225bb: Pulling fs layer 00:36:20 f23df028b6ca: Pulling fs layer 00:36:20 d65c8cfc05b1: Pulling fs layer 00:36:20 2437ff75d9bd: Pulling fs layer 00:36:20 765212b225bb: Waiting 00:36:20 2437ff75d9bd: Waiting 00:36:20 f23df028b6ca: Waiting 00:36:20 d65c8cfc05b1: Waiting 00:36:20 04944245beec: Verifying Checksum 00:36:20 04944245beec: Download complete 00:36:20 765212b225bb: Download complete 00:36:20 f23df028b6ca: Download complete 00:36:20 d65c8cfc05b1: Verifying Checksum 00:36:20 d65c8cfc05b1: Download complete 00:36:21 699f458cf7ca: Verifying Checksum 00:36:21 699f458cf7ca: Download complete 00:36:21 8998bd30e6a1: Verifying Checksum 00:36:21 8998bd30e6a1: Download complete 00:36:24 2437ff75d9bd: Verifying Checksum 00:36:24 2437ff75d9bd: Download complete 00:36:27 8998bd30e6a1: Pull complete 00:36:27 04944245beec: Pull complete 00:36:29 699f458cf7ca: Pull complete 00:36:29 765212b225bb: Pull complete 00:36:30 f23df028b6ca: Pull complete 00:36:30 d65c8cfc05b1: Pull complete 00:36:48 2437ff75d9bd: Pull complete 00:36:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:36:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:49 prd-ubuntu20.04-docker-arm64-4c-16g-40953 does not seem to be running inside a container 00:36:49 $ 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/device-uart/53 -v /w/workspace/device-uart/53:/w/workspace/device-uart/53:rw,z -v /w/workspace/device-uart/53@tmp:/w/workspace/device-uart/53@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:arm64 cat 00:36:51 $ docker top f8ac2205e2a25b39e67816f6e4b4b3705da3a3afaf5969a99cb47e97945e510c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:51 ---> job-cost.sh 00:36:51 lf-activate-venv: SKIPPING 00:36:51 INFO: No Stack... 00:36:52 INFO: Retrieving Pricing Info for: v3-standard-4 00:36:53 INFO: Archiving Costs [Pipeline] sh 00:36:53 + cat /w/workspace/device-uart/53/archives/cost.csv 00:36:53 + cut -d, -f6 [Pipeline] lock 00:36:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-53-stack-cost] 00:36:53 Resource [jenkins-edgexfoundry-device-uart-main-53-stack-cost] did not exist. Created. 00:36:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:36:54 /w/workspace/device-uart/53@tmp/durable-40e40958/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:36:55 + echo total: 0.10999999940395355 [Pipeline] stash 00:36:55 Warning: overwriting stash ‘stack-cost’ 00:36:55 Stashed 1 file(s) [Pipeline] } 00:36:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 00:36:55 $ docker stop --time=1 f8ac2205e2a25b39e67816f6e4b4b3705da3a3afaf5969a99cb47e97945e510c 00:36:56 $ docker rm -f --volumes f8ac2205e2a25b39e67816f6e4b4b3705da3a3afaf5969a99cb47e97945e510c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:36:57 provisioning config files... 00:36:57 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6703360624042439511tmp [Pipeline] { [Pipeline] sh 00:36:57 + set +x 00:36:57 + bash -s -- 00:36:57 + curl -s https://codecov.io/bash 00:36:57 00:36:57 _____ _ 00:36:57 / ____| | | 00:36:57 | | ___ __| | ___ ___ _____ __ 00:36:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:36:57 | |___| (_) | (_| | __/ (_| (_) \ V / 00:36:57 \_____\___/ \__,_|\___|\___\___/ \_/ 00:36:57 Bash-1.0.6 00:36:57 00:36:57 00:36:57 ==> git version 2.25.1 found 00:36:57 ==> 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 00:36:57 Release-Date: 2020-01-08 00:36:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:36:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:36:57 ==> Jenkins CI detected. 00:36:57 current dir:  /w/workspace/edgexfoundry_device-uart_main 00:36:57 project root: . 00:36:57 --> token set from env 00:36:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:36:57 ==> Running gcov in . (disable via -X gcov) 00:36:57 ==> Python coveragepy not found 00:36:57 ==> Searching for coverage reports in: 00:36:57 + . 00:36:57 -> Found 1 reports 00:36:57 ==> Detecting git/mercurial file structure 00:36:57 ==> Reading reports 00:36:57 + ./coverage.out bytes=6770 00:36:57 ==> Appending adjustments 00:36:57 https://docs.codecov.io/docs/fixing-reports 00:36:58 + Found adjustments 00:36:58 ==> Gzipping contents 00:36:58 4.0K /tmp/codecov.frAd9O.gz 00:36:58 ==> Uploading reports 00:36:58 url: https://codecov.io 00:36:58 query: branch=main&commit=4f5ba12fa66c31047a62bb53a847da11fc9d4da1&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 00:36:58 -> Pinging Codecov 00:36:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=4f5ba12fa66c31047a62bb53a847da11fc9d4da1&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 00:36:58 -> Uploading to 00:36:58 https://storage.googleapis.com/codecov-production/shelter/v4/github/lf-edge/device-uart/4f5ba12fa66c31047a62bb53a847da11fc9d4da1/5f9dda53-cfca-4067-b56b-33b911c62430.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T003657Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=539a29fce623785604275a0468677f2d91d3690b5d3191e4738e29da5eac880b 00:36:58 % Total % Received % Xferd Average Speed Time Time Time Current 00:36:58 Dload Upload Total Spent Left Speed 00:36:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 11082 --:--:-- --:--:-- --:--:-- 11082 00:36:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [Pipeline] } 00:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:36:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:36:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:36:58 00:36:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:36:59 latest: Pulling from edgex-devops/edgex-snyk-go 00:36:59 43c4264eed91: Pulling fs layer 00:36:59 4cc291be95ef: Pulling fs layer 00:36:59 2ac1f1163629: Pulling fs layer 00:36:59 5c3c966382ef: Pulling fs layer 00:36:59 4f4fb700ef54: Pulling fs layer 00:36:59 d9c7d2e4e75e: Pulling fs layer 00:36:59 9c3e1370e548: Pulling fs layer 00:36:59 4f4fb700ef54: Waiting 00:36:59 d9c7d2e4e75e: Waiting 00:36:59 5c3c966382ef: Waiting 00:36:59 4cc291be95ef: Verifying Checksum 00:36:59 4cc291be95ef: Download complete 00:36:59 5c3c966382ef: Verifying Checksum 00:36:59 5c3c966382ef: Download complete 00:36:59 4f4fb700ef54: Verifying Checksum 00:36:59 4f4fb700ef54: Download complete 00:36:59 43c4264eed91: Download complete 00:36:59 43c4264eed91: Pull complete 00:36:59 d9c7d2e4e75e: Verifying Checksum 00:36:59 d9c7d2e4e75e: Download complete 00:36:59 4cc291be95ef: Pull complete 00:36:59 2ac1f1163629: Verifying Checksum 00:36:59 2ac1f1163629: Download complete 00:37:00 9c3e1370e548: Verifying Checksum 00:37:00 9c3e1370e548: Download complete 00:37:02 2ac1f1163629: Pull complete 00:37:02 5c3c966382ef: Pull complete 00:37:03 4f4fb700ef54: Pull complete 00:37:03 d9c7d2e4e75e: Pull complete 00:37:05 9c3e1370e548: Pull complete 00:37:05 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 00:37:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:37:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:05 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:37:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 00:37:09 $ docker top 3bd41257cd35d7f14e9b4e3bbda52041e5cbb22f7c4c860f8f974a1b501b78ea -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 00:37:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 00:37:10 + set -o pipefail 00:37:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 00:37:16 00:37:16 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 00:37:16 00:37:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/dd83bff6-6f57-4fe7-be93-d31f9512424c 00:37:16 00:37:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:37:16 00:37:16 00:37:16 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 00:37:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:37:16 $ docker stop --time=1 3bd41257cd35d7f14e9b4e3bbda52041e5cbb22f7c4c860f8f974a1b501b78ea 00:37:19 $ docker rm -f --volumes 3bd41257cd35d7f14e9b4e3bbda52041e5cbb22f7c4c860f8f974a1b501b78ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:37:20 + git log --format=format:%s -1 4f5ba12fa66c31047a62bb53a847da11fc9d4da1 [Pipeline] sh 00:37:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:21 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:37:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:37:21 $ docker top 0611d7875ce3a64d43c1d4f96b5e4ecf2fb0f6dfa8bb6148dcda805bfe4a66b3 -eo pid,comm 00:37:21 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). 00:37:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:22 [ssh-agent] Looking for ssh-agent implementation... 00:37:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:22 $ docker exec 0611d7875ce3a64d43c1d4f96b5e4ecf2fb0f6dfa8bb6148dcda805bfe4a66b3 ssh-agent 00:37:22 SSH_AUTH_SOCK=/tmp/ssh-OuR9E2PxXoWn/agent.33 00:37:22 SSH_AGENT_PID=39 00:37:22 Running ssh-add (command line suppressed) 00:37:22 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15494071382961702417.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_15494071382961702417.key) 00:37:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:22 + git semver tag 00:37:22 2025-03-12 00:37:22,798 [run_tag] DEBUG tag force:False 00:37:22 2025-03-12 00:37:22,799 [check_head_tag] DEBUG check head tag 00:37:22 2025-03-12 00:37:22,799 [execute] INFO git cat-file --batch-check 00:37:22 2025-03-12 00:37:22,800 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 00:37:22 2025-03-12 00:37:22,803 [execute] INFO git cat-file --batch 00:37:22 2025-03-12 00:37:22,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 00:37:22 2025-03-12 00:37:22,823 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:37:22 2025-03-12 00:37:22,823 [execute] INFO git tag -a v4.0.0-dev.11 -m v4.0.0-dev.11 00:37:22 2025-03-12 00:37:22,823 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.11', '-m', 'v4.0.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 00:37:22 2025-03-12 00:37:22,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:37:22 4.0.0-dev.11 [Pipeline] } 00:37:22 $ docker exec --env ******** --env ******** 0611d7875ce3a64d43c1d4f96b5e4ecf2fb0f6dfa8bb6148dcda805bfe4a66b3 ssh-agent -k 00:37:22 unset SSH_AUTH_SOCK; 00:37:22 unset SSH_AGENT_PID; 00:37:22 echo Agent pid 39 killed; 00:37:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:23 + git semver [Pipeline] } 00:37:23 $ docker stop --time=1 0611d7875ce3a64d43c1d4f96b5e4ecf2fb0f6dfa8bb6148dcda805bfe4a66b3 00:37:24 $ docker rm -f --volumes 0611d7875ce3a64d43c1d4f96b5e4ecf2fb0f6dfa8bb6148dcda805bfe4a66b3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:25 00:37:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:25 0.23.1-centos7: Pulling from edgex-lftools 00:37:25 ab5ef0e58194: Pulling fs layer 00:37:25 9712f1f96733: Pulling fs layer 00:37:25 63f879dbbcfc: Pulling fs layer 00:37:25 0d9ebad4ef96: Pulling fs layer 00:37:25 e9a5061849ea: Pulling fs layer 00:37:25 d747dcd14b5f: Pulling fs layer 00:37:25 2de7ff778b66: Pulling fs layer 00:37:25 0d9ebad4ef96: Waiting 00:37:25 e9a5061849ea: Waiting 00:37:25 d747dcd14b5f: Waiting 00:37:25 2de7ff778b66: Waiting 00:37:25 9712f1f96733: Download complete 00:37:25 63f879dbbcfc: Verifying Checksum 00:37:25 63f879dbbcfc: Download complete 00:37:26 e9a5061849ea: Verifying Checksum 00:37:26 e9a5061849ea: Download complete 00:37:26 d747dcd14b5f: Download complete 00:37:26 0d9ebad4ef96: Verifying Checksum 00:37:26 0d9ebad4ef96: Download complete 00:37:26 ab5ef0e58194: Download complete 00:37:26 2de7ff778b66: Verifying Checksum 00:37:26 2de7ff778b66: Download complete 00:37:28 ab5ef0e58194: Pull complete 00:37:28 9712f1f96733: Pull complete 00:37:29 63f879dbbcfc: Pull complete 00:37:32 0d9ebad4ef96: Pull complete 00:37:33 e9a5061849ea: Pull complete 00:37:33 d747dcd14b5f: Pull complete 00:37:34 2de7ff778b66: Pull complete 00:37:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:37:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:34 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:37:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:37:37 $ docker top 982c87abd5df03494f682f26cf44a839380a320a16d5ba2761ac30f5eef75b34 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:37:38 provisioning config files... 00:37:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config12952293597393108079tmp 00:37:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3580854356778465100tmp 00:37:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17389919222152048956tmp [Pipeline] { [Pipeline] echo 00:37:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:37:38 ---> sigul-configuration.sh 00:37:38 gpg: directory `/root/.gnupg' created 00:37:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:37:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:37:38 gpg: keyring `/root/.gnupg/secring.gpg' created 00:37:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:37:38 gpg: CAST5 encrypted data 00:37:38 gpg: encrypted with 1 passphrase 00:37:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:37:38 + mkdir /home/jenkins 00:37:38 + mkdir /home/jenkins/sigul [Pipeline] sh 00:37:39 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:37:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:37:39 ---> sigul-install.sh 00:37:39 Sigul already installed; skipping installation. [Pipeline] sh 00:37:39 + git tag --list 00:37:39 v0.0.0 00:37:39 v0.0.1-dev.1 00:37:39 v0.0.1-dev.2 00:37:39 v0.0.1-dev.3 00:37:39 v0.0.1-dev.4 00:37:39 v3.0.0 00:37:39 v3.0.1-dev.1 00:37:39 v3.0.1-dev.10 00:37:39 v3.0.1-dev.11 00:37:39 v3.0.1-dev.12 00:37:39 v3.0.1-dev.13 00:37:39 v3.0.1-dev.14 00:37:39 v3.0.1-dev.15 00:37:39 v3.0.1-dev.16 00:37:39 v3.0.1-dev.17 00:37:39 v3.0.1-dev.18 00:37:39 v3.0.1-dev.19 00:37:39 v3.0.1-dev.2 00:37:39 v3.0.1-dev.20 00:37:39 v3.0.1-dev.21 00:37:39 v3.0.1-dev.22 00:37:39 v3.0.1-dev.23 00:37:39 v3.0.1-dev.24 00:37:39 v3.0.1-dev.25 00:37:39 v3.0.1-dev.26 00:37:39 v3.0.1-dev.27 00:37:39 v3.0.1-dev.28 00:37:39 v3.0.1-dev.29 00:37:39 v3.0.1-dev.3 00:37:39 v3.0.1-dev.30 00:37:39 v3.0.1-dev.31 00:37:39 v3.0.1-dev.32 00:37:39 v3.0.1-dev.33 00:37:39 v3.0.1-dev.34 00:37:39 v3.0.1-dev.4 00:37:39 v3.0.1-dev.5 00:37:39 v3.0.1-dev.6 00:37:39 v3.0.1-dev.7 00:37:39 v3.0.1-dev.8 00:37:39 v3.0.1-dev.9 00:37:39 v3.1 00:37:39 v3.1.0 00:37:39 v3.1.1 00:37:39 v3.1.1-dev.1 00:37:39 v4.0.0-dev.1 00:37:39 v4.0.0-dev.10 00:37:39 v4.0.0-dev.11 00:37:39 v4.0.0-dev.2 00:37:39 v4.0.0-dev.3 00:37:39 v4.0.0-dev.4 00:37:39 v4.0.0-dev.5 00:37:39 v4.0.0-dev.6 00:37:39 v4.0.0-dev.7 00:37:39 v4.0.0-dev.8 00:37:39 v4.0.0-dev.9 [Pipeline] sh 00:37:39 + lftools sign git-tag v4.0.0-dev.11 00:37:40 Signing Git tag with Sigul... 00:37:40 Signing v4.0.0-dev.11 [Pipeline] echo 00:37:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:37:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:37:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:37:41 $ docker stop --time=1 982c87abd5df03494f682f26cf44a839380a320a16d5ba2761ac30f5eef75b34 00:37:42 $ docker rm -f --volumes 982c87abd5df03494f682f26cf44a839380a320a16d5ba2761ac30f5eef75b34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:37:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:43 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:37:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:37:43 $ docker top 153b97312978b65324ea3508b94b0deefd05bb5cd7e8d2f7a6fddbbe15a5ac5b -eo pid,comm 00:37:43 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). 00:37:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:43 [ssh-agent] Looking for ssh-agent implementation... 00:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:43 $ docker exec 153b97312978b65324ea3508b94b0deefd05bb5cd7e8d2f7a6fddbbe15a5ac5b ssh-agent 00:37:43 SSH_AUTH_SOCK=/tmp/ssh-BPWjmavebZDV/agent.32 00:37:43 SSH_AGENT_PID=38 00:37:43 Running ssh-add (command line suppressed) 00:37:43 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10129597769789634660.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10129597769789634660.key) 00:37:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:44 + git semver bump pre 00:37:44 2025-03-12 00:37:44,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:37:44 2025-03-12 00:37:44,478 [bump_version] DEBUG bumping version:4.0.0-dev.11 on axis:pre with prefix:dev 00:37:44 2025-03-12 00:37:44,478 [bump_version] DEBUG bumped version:4.0.0-dev.12 00:37:44 2025-03-12 00:37:44,478 [write_version] DEBUG write version:4.0.0-dev.12 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 00:37:44 2025-03-12 00:37:44,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:37:44 2025-03-12 00:37:44,479 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 00:37:44 2025-03-12 00:37:44,481 [execute] INFO git cat-file --batch-check 00:37:44 2025-03-12 00:37:44,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:44 2025-03-12 00:37:44,486 [execute] INFO git cat-file --batch 00:37:44 2025-03-12 00:37:44,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:44 2025-03-12 00:37:44,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:37:44 4.0.0-dev.12 [Pipeline] } 00:37:44 $ docker exec --env ******** --env ******** 153b97312978b65324ea3508b94b0deefd05bb5cd7e8d2f7a6fddbbe15a5ac5b ssh-agent -k 00:37:44 unset SSH_AUTH_SOCK; 00:37:44 unset SSH_AGENT_PID; 00:37:44 echo Agent pid 38 killed; 00:37:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:45 + git semver [Pipeline] } 00:37:45 $ docker stop --time=1 153b97312978b65324ea3508b94b0deefd05bb5cd7e8d2f7a6fddbbe15a5ac5b 00:37:46 $ docker rm -f --volumes 153b97312978b65324ea3508b94b0deefd05bb5cd7e8d2f7a6fddbbe15a5ac5b [Pipeline] // withDockerContainer [Pipeline] sh 00:37:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:47 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:37:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:37:47 $ docker top 3355129818e2768820031fa93c06c1680d4c2baa463748b80483dd6abd1e4e54 -eo pid,comm 00:37:47 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). 00:37:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:47 [ssh-agent] Looking for ssh-agent implementation... 00:37:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:47 $ docker exec 3355129818e2768820031fa93c06c1680d4c2baa463748b80483dd6abd1e4e54 ssh-agent 00:37:47 SSH_AUTH_SOCK=/tmp/ssh-bBoU2xJGskG4/agent.33 00:37:47 SSH_AGENT_PID=39 00:37:47 Running ssh-add (command line suppressed) 00:37:48 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8753771523170970686.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8753771523170970686.key) 00:37:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:48 + git semver push 00:37:48 2025-03-12 00:37:48,554 [run_push] DEBUG push 00:37:48 2025-03-12 00:37:48,554 [execute] INFO git cat-file --batch-check 00:37:48 2025-03-12 00:37:48,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:48 2025-03-12 00:37:48,558 [execute] INFO git rev-list 47747e3e8d263bd9ddf350dd19610637ac2be4bd -- 00:37:48 2025-03-12 00:37:48,558 [execute] DEBUG Popen(['git', 'rev-list', '47747e3e8d263bd9ddf350dd19610637ac2be4bd', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 00:37:48 2025-03-12 00:37:48,564 [execute] INFO git fetch -v origin 00:37:48 2025-03-12 00:37:48,564 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 00:37:49 2025-03-12 00:37:49,014 [run_push] DEBUG no remote changes detected 00:37:49 2025-03-12 00:37:49,014 [execute] INFO git push origin semver 00:37:49 2025-03-12 00:37:49,014 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 00:37:50 2025-03-12 00:37:50,315 [run_push] DEBUG push all version tags 00:37:50 2025-03-12 00:37:50,315 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:37:50 2025-03-12 00:37:50,316 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 00:37:51 2025-03-12 00:37:51,011 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:37:51 4.0.0-dev.12 [Pipeline] } 00:37:51 $ docker exec --env ******** --env ******** 3355129818e2768820031fa93c06c1680d4c2baa463748b80483dd6abd1e4e54 ssh-agent -k 00:37:51 unset SSH_AUTH_SOCK; 00:37:51 unset SSH_AGENT_PID; 00:37:51 echo Agent pid 39 killed; 00:37:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:51 + git semver [Pipeline] } 00:37:51 $ docker stop --time=1 3355129818e2768820031fa93c06c1680d4c2baa463748b80483dd6abd1e4e54 00:37:53 $ docker rm -f --volumes 3355129818e2768820031fa93c06c1680d4c2baa463748b80483dd6abd1e4e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 00:37:53 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 00:37:53 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 00:37:53 total 16 00:37:53 drwxr-xr-x 3 root root 4096 Mar 12 00:21 . 00:37:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 00:37 .. 00:37:53 drwxr-xr-x 2 root root 4096 Mar 12 00:21 cost 00:37:53 -rw-r--r-- 1 root root 82 Mar 12 00:21 cost.csv 00:37:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 00:37:53 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 00:37:53 total 16 00:37:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 00:21 . 00:37:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 00:37 .. 00:37:53 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 00:21 cost 00:37:53 -rw-r--r-- 1 jenkins jenkins 82 Mar 12 00:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:37:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:37:54 ---> package-listing.sh 00:37:54 ++ facter osfamily 00:37:54 ++ tr '[:upper:]' '[:lower:]' 00:37:55 + OS_FAMILY=debian 00:37:55 + workspace=/w/workspace/edgexfoundry_device-uart_main 00:37:55 + START_PACKAGES=/tmp/packages_start.txt 00:37:55 + END_PACKAGES=/tmp/packages_end.txt 00:37:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:37:55 + PACKAGES=/tmp/packages_start.txt 00:37:55 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 00:37:55 + PACKAGES=/tmp/packages_end.txt 00:37:55 + case "${OS_FAMILY}" in 00:37:55 + dpkg -l 00:37:55 + grep '^ii' 00:37:55 + '[' -f /tmp/packages_start.txt ']' 00:37:55 + '[' -f /tmp/packages_end.txt ']' 00:37:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:37:55 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 00:37:55 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 00:37:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 00:37:55 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:37:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:56 prd-ubuntu20.04-docker-8c-8g-40946 does not seem to be running inside a container 00:37:56 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:37:56 $ docker top c1f648b44175a6ae69cfe5f19251d37a4ac8995f235d473e1e47ec4be3e082ee -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:56 + touch /tmp/pre-build-complete [Pipeline] sh 00:37:57 + mkdir -p /var/log/sysstat [Pipeline] sh 00:37:57 + ls /var/log/sa-host 00:37:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:37:57 provisioning config files... 00:37:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config6328893659829926141tmp [Pipeline] { [Pipeline] echo 00:37:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:37:57 ---> create-netrc.sh [Pipeline] } 00:37:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:37:58 ---> python-tools-install.sh [Pipeline] echo 00:37:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:37:58 ---> sudo-logs.sh 00:37:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:37:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:37:58 ---> job-cost.sh 00:37:58 lf-activate-venv: SKIPPING 00:37:58 DEBUG: total: 0.2199999988079071 00:37:58 INFO: Retrieving Stack Cost... 00:37:59 INFO: Retrieving Pricing Info for: v3-standard-8 00:37:59 INFO: Archiving Costs [Pipeline] echo 00:37:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:37:59 ---> logs-deploy.sh 00:37:59 lf-activate-venv: SKIPPING 00:37:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/53 00:37:59 INFO: archiving workspace using pattern(s): 00:38:00 Archives upload complete. 00:38:00 INFO: archiving logs to Nexus