Started by upstream project "edgexfoundry/cd-management/release-lts" build number 100 originally caused by: Started by user Cloud Tsai Replayed #97 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bcbaec5496d4b917e8ba5c06705888bd2177e365 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-ssh3184522589770210204.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-ssh15113068932928545004.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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16700225707292112145.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-ssh10060072628754306660.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10271007115246891594.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-centos7-builder-2c-1g-41143’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-41144’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41145’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41146’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41151’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41152’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41153 in /w/workspace/edgexfoundry_device-uart_odessa [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_odessa # 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 bcbaec5496d4b917e8ba5c06705888bd2177e365 (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @4f5ba12" > git config core.sparsecheckout # timeout=10 > git checkout -f bcbaec5496d4b917e8ba5c06705888bd2177e365 # timeout=10 > git rev-list --no-walk bcbaec5496d4b917e8ba5c06705888bd2177e365 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:09:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:09:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:09:57 ========================================================= 11:09:57 EdgeX Global Pipelines Version Info 11:09:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:09:57 ------------------- 11:09:57 stable info: 11:09:57 ------------------- 11:09:57 Commited By: Cherry Wang cherry@iotechsys.com 11:09:57 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 11:09:57 Message: update stable to v1.0.271 11:09:58 ------------------- 11:09:58 experimental info: 11:09:58 ------------------- 11:09:58 Commited By: **** collab-it+edgex@linuxfoundation.org 11:09:58 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 11:09:58 Message: update experimental to v1.0.272 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:09:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:09:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:09:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:09:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 11:09:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 11:09:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 11:09:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] echo 11:09:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bcbaec5 [Pipeline] echo 11:09:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:59 provisioning config files... 11:09:59 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_odessa@tmp/config8608558252823160592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:59 ---> ****-login.sh 11:09:59 nexus3.edgexfoundry.org:10001 11:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:59 Configure a credential helper to remove this warning. See 11:09:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:59 11:09:59 Login Succeeded 11:09:59 nexus3.edgexfoundry.org:10002 11:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:00 Configure a credential helper to remove this warning. See 11:10:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:00 11:10:00 Login Succeeded 11:10:00 nexus3.edgexfoundry.org:10003 11:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:00 Configure a credential helper to remove this warning. See 11:10:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:00 11:10:00 Login Succeeded 11:10:00 nexus3.edgexfoundry.org:10004 11:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:00 Configure a credential helper to remove this warning. See 11:10:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:00 11:10:00 Login Succeeded 11:10:00 ****.io 11:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:00 Configure a credential helper to remove this warning. See 11:10:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:00 11:10:00 Login Succeeded 11:10:00 ---> ****-login.sh ends [Pipeline] } 11:10:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:10:00 + git rev-list -1 --merges bcbaec5496d4b917e8ba5c06705888bd2177e365~1..bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] echo 11:10:00 -----------> git rev-list -1 --merges bcbaec5496d4b917e8ba5c06705888bd2177e365~1..bcbaec5496d4b917e8ba5c06705888bd2177e365 bcbaec5496d4b917e8ba5c06705888bd2177e365 [false] [Pipeline] sh 11:10:01 + git log --format=format:%s -1 bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] echo 11:10:01 ========================================================= 11:10:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 11:10:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:01 + git log --format=format:%s -1 bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] echo 11:10:01 [semverPrep] GIT_COMMIT: bcbaec5496d4b917e8ba5c06705888bd2177e365, Commit Message: ci(lts-release): LTS release v4.0.0 @4f5ba12 [Pipeline] echo 11:10:01 [semverPrep] This is not a build commit. [Pipeline] sh 11:10:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:10:01 + grep -v github /etc/ssh/ssh_known_hosts 11:10:01 + [ -e /tmp/ssh_known_hosts ] 11:10:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:10:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:10:01 + sudo tee -a /etc/ssh/ssh_known_hosts 11:10:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:02 11:10:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:02 0.1.4: Pulling from edgex-devops/py-git-semver 11:10:02 b85a868b505f: Pulling fs layer 11:10:02 e2be974225ed: Pulling fs layer 11:10:02 339a4e72a1f5: Pulling fs layer 11:10:02 988bab9f4d93: Pulling fs layer 11:10:02 1469e6f7b9e6: Pulling fs layer 11:10:02 eaf3925da568: Pulling fs layer 11:10:02 bab4dde63d76: Pulling fs layer 11:10:02 bde34c3a00c8: Pulling fs layer 11:10:02 b352a97aabf1: Pulling fs layer 11:10:02 4872d77fe225: Pulling fs layer 11:10:02 5851b861e8e6: Pulling fs layer 11:10:02 bab4dde63d76: Waiting 11:10:02 bde34c3a00c8: Waiting 11:10:02 b352a97aabf1: Waiting 11:10:02 4872d77fe225: Waiting 11:10:02 5851b861e8e6: Waiting 11:10:02 988bab9f4d93: Waiting 11:10:02 1469e6f7b9e6: Waiting 11:10:02 eaf3925da568: Waiting 11:10:02 e2be974225ed: Verifying Checksum 11:10:02 e2be974225ed: Download complete 11:10:02 988bab9f4d93: Verifying Checksum 11:10:02 988bab9f4d93: Download complete 11:10:02 1469e6f7b9e6: Verifying Checksum 11:10:02 1469e6f7b9e6: Download complete 11:10:02 339a4e72a1f5: Verifying Checksum 11:10:02 339a4e72a1f5: Download complete 11:10:02 eaf3925da568: Verifying Checksum 11:10:02 eaf3925da568: Download complete 11:10:02 bde34c3a00c8: Verifying Checksum 11:10:02 bde34c3a00c8: Download complete 11:10:02 b352a97aabf1: Verifying Checksum 11:10:02 b352a97aabf1: Download complete 11:10:02 4872d77fe225: Verifying Checksum 11:10:02 4872d77fe225: Download complete 11:10:02 5851b861e8e6: Verifying Checksum 11:10:02 5851b861e8e6: Download complete 11:10:02 b85a868b505f: Verifying Checksum 11:10:02 b85a868b505f: Download complete 11:10:02 bab4dde63d76: Verifying Checksum 11:10:02 bab4dde63d76: Download complete 11:10:03 b85a868b505f: Pull complete 11:10:04 e2be974225ed: Pull complete 11:10:04 339a4e72a1f5: Pull complete 11:10:04 988bab9f4d93: Pull complete 11:10:04 1469e6f7b9e6: Pull complete 11:10:04 eaf3925da568: Pull complete 11:10:06 bab4dde63d76: Pull complete 11:10:06 bde34c3a00c8: Pull complete 11:10:06 b352a97aabf1: Pull complete 11:10:06 4872d77fe225: Pull complete 11:10:07 5851b861e8e6: Pull complete 11:10:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:07 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:10:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:10:10 $ docker top 44eb94641c0c94aed8b53e6879ed76c75b350d44e6f7519e2803fc9c836f7319 -eo pid,comm 11:10:10 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). 11:10:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:10 [ssh-agent] Looking for ssh-agent implementation... 11:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:10 $ docker exec 44eb94641c0c94aed8b53e6879ed76c75b350d44e6f7519e2803fc9c836f7319 ssh-agent 11:10:11 SSH_AUTH_SOCK=/tmp/ssh-KUwCiE8nusqz/agent.32 11:10:11 SSH_AGENT_PID=38 11:10:11 Running ssh-add (command line suppressed) 11:10:11 Identity added: /w/workspace/edgexfoundry_device-uart_odessa@tmp/private_key_3468160141997301816.key (/w/workspace/edgexfoundry_device-uart_odessa@tmp/private_key_3468160141997301816.key) 11:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:11 + git tag --points-at bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] } 11:10:11 $ docker exec --env ******** --env ******** 44eb94641c0c94aed8b53e6879ed76c75b350d44e6f7519e2803fc9c836f7319 ssh-agent -k 11:10:11 unset SSH_AUTH_SOCK; 11:10:11 unset SSH_AGENT_PID; 11:10:11 echo Agent pid 38 killed; 11:10:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:10:11 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 11:10:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:11 [ssh-agent] Looking for ssh-agent implementation... 11:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:11 $ docker exec 44eb94641c0c94aed8b53e6879ed76c75b350d44e6f7519e2803fc9c836f7319 ssh-agent 11:10:11 SSH_AUTH_SOCK=/tmp/ssh-R9FvT9PubHB5/agent.71 11:10:11 SSH_AGENT_PID=77 11:10:11 Running ssh-add (command line suppressed) 11:10:11 Identity added: /w/workspace/edgexfoundry_device-uart_odessa@tmp/private_key_11672806997742831614.key (/w/workspace/edgexfoundry_device-uart_odessa@tmp/private_key_11672806997742831614.key) 11:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:12 + git semver init 11:10:12 2025-03-12 11:10:12,448 [run_init] DEBUG init version:0.0.0 force:False 11:10:12 2025-03-12 11:10:12,449 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_odessa/.semver 11:10:12 2025-03-12 11:10:12,449 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_odessa/.semver 11:10:12 2025-03-12 11:10:12,449 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_odessa/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_odessa, universal_newlines=False, shell=None, istream=None) 11:10:14 2025-03-12 11:10:13,909 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_odessa/.git/info/exclude 11:10:14 2025-03-12 11:10:13,910 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_odessa/.semver/odessa with force:False 11:10:14 2025-03-12 11:10:13,910 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_odessa/.semver/odessa 11:10:14 2025-03-12 11:10:13,910 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_odessa/.semver/odessa 11:10:14 4.0.0 [Pipeline] } 11:10:14 $ docker exec --env ******** --env ******** 44eb94641c0c94aed8b53e6879ed76c75b350d44e6f7519e2803fc9c836f7319 ssh-agent -k 11:10:14 unset SSH_AUTH_SOCK; 11:10:14 unset SSH_AGENT_PID; 11:10:14 echo Agent pid 77 killed; 11:10:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:14 + git semver [Pipeline] } 11:10:15 $ docker stop --time=1 44eb94641c0c94aed8b53e6879ed76c75b350d44e6f7519e2803fc9c836f7319 11:10:16 $ docker rm -f --volumes 44eb94641c0c94aed8b53e6879ed76c75b350d44e6f7519e2803fc9c836f7319 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:10:17 Stashed 1 file(s) [Pipeline] echo 11:10:17 [edgeXSemver]: initialized semver on version 4.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:17 + git checkout bcbaec5496d4b917e8ba5c06705888bd2177e365 11:10:17 HEAD is now at bcbaec5 ci(lts-release): LTS release v4.0.0 @4f5ba12 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:17 provisioning config files... 11:10:17 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_odessa@tmp/config9853201113388896183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:17 ---> ****-login.sh 11:10:17 nexus3.edgexfoundry.org:10001 11:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:17 Configure a credential helper to remove this warning. See 11:10:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:17 11:10:17 Login Succeeded 11:10:17 nexus3.edgexfoundry.org:10002 11:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:18 Configure a credential helper to remove this warning. See 11:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:18 11:10:18 Login Succeeded 11:10:18 nexus3.edgexfoundry.org:10003 11:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:18 Configure a credential helper to remove this warning. See 11:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:18 11:10:18 Login Succeeded 11:10:18 nexus3.edgexfoundry.org:10004 11:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:18 Configure a credential helper to remove this warning. See 11:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:18 11:10:18 Login Succeeded 11:10:18 ****.io 11:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:18 Configure a credential helper to remove this warning. See 11:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:18 11:10:18 Login Succeeded 11:10:18 ---> ****-login.sh ends [Pipeline] } 11:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:18 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:10:18 + grep ^go [0-9].[0-9]* go.mod 11:10:18 + cut -d -f 2 [Pipeline] echo 11:10:18 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:10:18 ========================================================= 11:10:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 11:10:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 11:10:19 Sending build context to Docker daemon 76.07MB 11:10:19 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:10:19 Step 2/12 : FROM ${BASE} AS builder 11:10:19 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 11:10:19 0a9a5dfd008f: Pulling fs layer 11:10:19 8833042f23b5: Pulling fs layer 11:10:19 6ca661eb024f: Pulling fs layer 11:10:19 b5acb76e9680: Pulling fs layer 11:10:19 4f4fb700ef54: Pulling fs layer 11:10:19 012bb1f9d321: Pulling fs layer 11:10:19 97255f1bc79d: Pulling fs layer 11:10:19 454448c9edf9: Pulling fs layer 11:10:19 15f87924ceaf: Pulling fs layer 11:10:19 4f4fb700ef54: Waiting 11:10:19 b5acb76e9680: Waiting 11:10:19 012bb1f9d321: Waiting 11:10:19 97255f1bc79d: Waiting 11:10:19 454448c9edf9: Waiting 11:10:19 15f87924ceaf: Waiting 11:10:19 8833042f23b5: Verifying Checksum 11:10:19 8833042f23b5: Download complete 11:10:19 b5acb76e9680: Verifying Checksum 11:10:19 b5acb76e9680: Download complete 11:10:19 4f4fb700ef54: Download complete 11:10:19 012bb1f9d321: Verifying Checksum 11:10:19 012bb1f9d321: Download complete 11:10:19 0a9a5dfd008f: Download complete 11:10:19 97255f1bc79d: Verifying Checksum 11:10:19 97255f1bc79d: Download complete 11:10:19 0a9a5dfd008f: Pull complete 11:10:20 15f87924ceaf: Verifying Checksum 11:10:20 15f87924ceaf: Download complete 11:10:20 8833042f23b5: Pull complete 11:10:20 6ca661eb024f: Download complete 11:10:20 454448c9edf9: Verifying Checksum 11:10:20 454448c9edf9: Download complete 11:10:24 6ca661eb024f: Pull complete 11:10:24 b5acb76e9680: Pull complete 11:10:24 4f4fb700ef54: Pull complete 11:10:24 012bb1f9d321: Pull complete 11:10:24 97255f1bc79d: Pull complete 11:10:26 454448c9edf9: Pull complete 11:10:26 15f87924ceaf: Pull complete 11:10:26 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 11:10:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 11:10:26 ---> bc3d7bf65e23 11:10:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:10:31 ---> Running in e9733cf485cd 11:10:31 Removing intermediate container e9733cf485cd 11:10:31 ---> f28653ff744f 11:10:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:10:31 ---> Running in 9af330350fe6 11:10:31 Removing intermediate container 9af330350fe6 11:10:31 ---> 9d7765a686a5 11:10:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:10:31 ---> Running in 48c337a9cba5 11:10:31 Removing intermediate container 48c337a9cba5 11:10:31 ---> 1d6fe345a1fa 11:10:31 Step 6/12 : WORKDIR /device-uart 11:10:31 ---> Running in cc7a2a9773f7 11:10:31 Removing intermediate container cc7a2a9773f7 11:10:31 ---> c8dbe4701384 11:10:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:31 ---> Running in f357293bb835 11:10:32 Still waiting to schedule task 11:10:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:10:32 (1/4) Installing openssh-keygen (9.7_p1-r5) 11:10:32 (2/4) Installing libedit (20240517.3.1-r0) 11:10:32 (3/4) Installing openssh-client-common (9.7_p1-r5) 11:10:32 (4/4) Installing openssh-client-default (9.7_p1-r5) 11:10:32 Executing busybox-1.36.1-r29.trigger 11:10:32 OK: 252 MiB in 62 packages 11:10:33 Removing intermediate container f357293bb835 11:10:33 ---> f72107f82acb 11:10:33 Step 8/12 : COPY go.mod vendor* ./ 11:10:36 ---> bc5ab758a6c8 11:10:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:36 ---> Running in b0b458054a37 11:11:15 Removing intermediate container b0b458054a37 11:11:15 ---> 9c5263cbb148 11:11:15 Step 10/12 : COPY . . 11:11:18 ---> 4467623cd52e 11:11:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:11:18 ---> Running in 85c3e01b38ef 11:11:18 Removing intermediate container 85c3e01b38ef 11:11:18 ---> 56d303f9267a 11:11:18 Step 12/12 : RUN ${MAKE} 11:11:18 ---> Running in a62e8fe06dfb 11:11:19 noop 11:11:19 Removing intermediate container a62e8fe06dfb 11:11:19 ---> 31c2a94922fd 11:11:19 Successfully built 31c2a94922fd 11:11:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:19 + docker inspect -f . ci-base-image-x86_64 11:11:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:19 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:11:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@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 ******** ci-base-image-x86_64 cat 11:11:20 $ docker top c29ebe2b5fb3da03166dc526c3137df64df7143fcb11aeff60560e97cfe64a32 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:20 + go version 11:11:20 go version go1.23.7 linux/amd64 [Pipeline] } 11:11:20 $ docker stop --time=1 c29ebe2b5fb3da03166dc526c3137df64df7143fcb11aeff60560e97cfe64a32 11:11:22 $ docker rm -f --volumes c29ebe2b5fb3da03166dc526c3137df64df7143fcb11aeff60560e97cfe64a32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:22 + docker inspect -f . ci-base-image-x86_64 11:11:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:22 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:11:22 $ 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_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@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 ******** ci-base-image-x86_64 cat 11:11:22 $ docker top a81ebabd44922d2f7058f435f0acfa410846e72719a2df833573fb2e3ac83794 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_odessa [Pipeline] fileExists [Pipeline] sh 11:11:23 + make test 11:11:23 go test ./... -coverprofile=coverage.out 11:11:24 ? github.com/edgexfoundry/device-uart [no test files] 11:11:43 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 11:11:43 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 11:11:51 go vet ./... 11:11:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:11:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:11:56 ./bin/test-attribution-txt.sh [Pipeline] echo 11:11:56 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:11:56 + go mod tidy [Pipeline] } 11:11:57 $ docker stop --time=1 a81ebabd44922d2f7058f435f0acfa410846e72719a2df833573fb2e3ac83794 11:12:02 $ docker rm -f --volumes a81ebabd44922d2f7058f435f0acfa410846e72719a2df833573fb2e3ac83794 [Pipeline] // withDockerContainer [Pipeline] sh 11:12:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:12:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:04 + ls -al . 11:12:04 total 228 11:12:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 11:11 . 11:12:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:09 .. 11:12:04 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 11:09 .dockerignore 11:12:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:11 .git 11:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 .github 11:12:04 -rw-rw-r-- 1 jenkins jenkins 335 Mar 12 11:09 .gitignore 11:12:04 -rw-rw-r-- 1 jenkins jenkins 198 Mar 12 11:09 .golangci.yml 11:12:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:10 .semver 11:12:04 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 12 11:09 Attribution.txt 11:12:04 -rw-rw-r-- 1 jenkins jenkins 2704 Mar 12 11:09 CHANGELOG.md 11:12:04 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 12 11:09 Dockerfile 11:12:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 11:09 GOVERNANCE.md 11:12:04 -rw-rw-r-- 1 jenkins jenkins 675 Mar 12 11:09 Jenkinsfile 11:12:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 11:09 LICENSE 11:12:04 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 12 11:09 Makefile 11:12:04 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 11:09 OWNERS.md 11:12:04 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 12 11:09 README.md 11:12:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:10 VERSION 11:12:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:09 bin 11:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 cmd 11:12:04 -rw-r--r-- 1 jenkins jenkins 6770 Mar 12 11:11 coverage.out 11:12:04 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 12 11:09 go.mod 11:12:04 -rw-rw-r-- 1 jenkins jenkins 86751 Mar 12 11:09 go.sum 11:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 internal 11:12:04 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:09 vendor 11:12:04 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 11:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:04 + 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=bcbaec5496d4b917e8ba5c06705888bd2177e365 --label arch=amd64 --label version=4.0.0 . 11:12:05 Sending build context to Docker daemon 76.08MB 11:12:05 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 11:12:05 Step 2/26 : FROM ${BASE} AS builder 11:12:05 ---> 31c2a94922fd 11:12:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:12:06 ---> Running in 299d5394eaf0 11:12:06 Removing intermediate container 299d5394eaf0 11:12:06 ---> 681cb7f16490 11:12:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:12:06 ---> Running in 85e2707db2cc 11:12:06 Removing intermediate container 85e2707db2cc 11:12:06 ---> 0cd053b34bcf 11:12:06 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:12:06 ---> Running in 648948cc09f0 11:12:06 Removing intermediate container 648948cc09f0 11:12:06 ---> 1f275d666e58 11:12:06 Step 6/26 : WORKDIR /device-uart 11:12:06 ---> Running in 2b07d2854593 11:12:06 Removing intermediate container 2b07d2854593 11:12:06 ---> bcbb33150efc 11:12:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:06 ---> Running in af711e3f05f1 11:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:12:07 OK: 252 MiB in 62 packages 11:12:07 Removing intermediate container af711e3f05f1 11:12:07 ---> 3607efd253ec 11:12:07 Step 8/26 : COPY go.mod vendor* ./ 11:12:10 ---> 456fed74ec4f 11:12:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:12:10 ---> Running in adde4541cda5 11:12:10 skipping... 11:12:11 Removing intermediate container adde4541cda5 11:12:11 ---> 3eff8c8c9ab8 11:12:11 Step 10/26 : COPY . . 11:12:15 ---> a6b2cbf73c1d 11:12:15 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:12:15 ---> Running in 2c4f60750fe3 11:12:15 Removing intermediate container 2c4f60750fe3 11:12:15 ---> 90d7c3f732a6 11:12:15 Step 12/26 : RUN ${MAKE} 11:12:15 ---> Running in ed4b0bcc3088 11:12:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 11:12:47 Removing intermediate container ed4b0bcc3088 11:12:47 ---> 630113917d2a 11:12:47 Step 13/26 : FROM alpine:3.20 11:12:47 3.20: Pulling from library/alpine 11:12:47 0a9a5dfd008f: Already exists 11:12:47 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:12:47 Status: Downloaded newer image for alpine:3.20 11:12:47 ---> ff221270b9fb 11:12:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 11:12:47 ---> Running in d3d03cd7fbff 11:12:47 Removing intermediate container d3d03cd7fbff 11:12:47 ---> 71c33a56bd48 11:12:47 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:12:47 ---> Running in 5297101a4e6b 11:12:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:12:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:12:47 (1/1) Installing dumb-init (1.2.5-r3) 11:12:47 Executing busybox-1.36.1-r29.trigger 11:12:47 OK: 8 MiB in 15 packages 11:12:47 Removing intermediate container 5297101a4e6b 11:12:47 ---> 45357a090599 11:12:47 Step 16/26 : RUN apk --no-cache upgrade 11:12:47 ---> Running in 4123f32ce71c 11:12:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:12:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:12:48 OK: 8 MiB in 15 packages 11:12:48 Removing intermediate container 4123f32ce71c 11:12:48 ---> 412aec2d5511 11:12:48 Step 17/26 : WORKDIR / 11:12:48 ---> Running in 4273328fb6a0 11:12:48 Removing intermediate container 4273328fb6a0 11:12:48 ---> ad82e8ffbecd 11:12:48 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 11:12:49 ---> fb7e5dd39072 11:12:49 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 11:12:49 ---> 46d9eadc305f 11:12:49 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 11:12:51 ---> 4fafac9fe257 11:12:51 Step 21/26 : EXPOSE 59995 11:12:51 ---> Running in 06a11879cf55 11:12:51 Removing intermediate container 06a11879cf55 11:12:51 ---> 5730f8919909 11:12:51 Step 22/26 : ENTRYPOINT ["/device-uart"] 11:12:51 ---> Running in 2d8d0aec19ce 11:12:51 Removing intermediate container 2d8d0aec19ce 11:12:51 ---> 073efd973370 11:12:51 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:12:51 ---> Running in 0e1832e22a71 11:12:51 Removing intermediate container 0e1832e22a71 11:12:51 ---> 0c2e7b60bf7f 11:12:51 Step 24/26 : LABEL arch=amd64 11:12:51 ---> Running in f322fd643d69 11:12:51 Removing intermediate container f322fd643d69 11:12:51 ---> 04411a7171c3 11:12:51 Step 25/26 : LABEL git_sha=bcbaec5496d4b917e8ba5c06705888bd2177e365 11:12:51 ---> Running in 89c6369b7c49 11:12:51 Removing intermediate container 89c6369b7c49 11:12:51 ---> efe2a4601b3f 11:12:51 Step 26/26 : LABEL version=4.0.0 11:12:51 ---> Running in 984835c17b63 11:12:51 Removing intermediate container 984835c17b63 11:12:51 ---> cdc4a183a4d9 11:12:51 [Warning] One or more build-args [ARCH] were not consumed 11:12:51 Successfully built cdc4a183a4d9 11:12:52 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:12:52 provisioning config files... 11:12:52 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_odessa@tmp/config16721120480081655169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:52 ---> ****-login.sh 11:12:52 nexus3.edgexfoundry.org:10001 11:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:52 Configure a credential helper to remove this warning. See 11:12:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:52 11:12:52 Login Succeeded 11:12:52 nexus3.edgexfoundry.org:10002 11:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:52 Configure a credential helper to remove this warning. See 11:12:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:52 11:12:52 Login Succeeded 11:12:52 nexus3.edgexfoundry.org:10003 11:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:52 Configure a credential helper to remove this warning. See 11:12:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:52 11:12:52 Login Succeeded 11:12:52 nexus3.edgexfoundry.org:10004 11:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:52 Configure a credential helper to remove this warning. See 11:12:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:52 11:12:52 Login Succeeded 11:12:52 ****.io 11:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:52 Configure a credential helper to remove this warning. See 11:12:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:52 11:12:52 Login Succeeded 11:12:52 ---> ****-login.sh ends [Pipeline] } 11:12:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:12:53 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:12:53 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 11:12:53 bcbaec5496d4b917e8ba5c06705888bd2177e365 11:12:53 4.0.0 11:12:53 bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0 11:12:53 odessa 11:12:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:53 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:53 + docker push nexus3.edgexfoundry.org:10004/device-uart:bcbaec5496d4b917e8ba5c06705888bd2177e365 11:12:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 11:12:53 2f44c9ac5f2e: Preparing 11:12:53 217d1e9b6e12: Preparing 11:12:53 9ab57816a2ec: Preparing 11:12:53 7d1fcc4f63ef: Preparing 11:12:53 1398162baec4: Preparing 11:12:53 994456c4fd7b: Preparing 11:12:53 994456c4fd7b: Waiting 11:12:53 1398162baec4: Pushed 11:12:53 9ab57816a2ec: Pushed 11:12:53 217d1e9b6e12: Pushed 11:12:53 7d1fcc4f63ef: Pushed 11:12:53 994456c4fd7b: Layer already exists 11:12:59 2f44c9ac5f2e: Pushed 11:12:59 bcbaec5496d4b917e8ba5c06705888bd2177e365: digest: sha256:4045cc15e87cf85b5ceee03168bd47a9b4d273ba8e176bcb91c9e91361e321c2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:59 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:59 + docker push nexus3.edgexfoundry.org:10004/device-uart:4.0.0 11:12:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 11:12:59 2f44c9ac5f2e: Preparing 11:12:59 217d1e9b6e12: Preparing 11:12:59 9ab57816a2ec: Preparing 11:12:59 7d1fcc4f63ef: Preparing 11:12:59 1398162baec4: Preparing 11:12:59 994456c4fd7b: Preparing 11:12:59 994456c4fd7b: Waiting 11:12:59 9ab57816a2ec: Layer already exists 11:12:59 7d1fcc4f63ef: Layer already exists 11:12:59 2f44c9ac5f2e: Layer already exists 11:12:59 1398162baec4: Layer already exists 11:12:59 217d1e9b6e12: Layer already exists 11:12:59 994456c4fd7b: Layer already exists 11:12:59 4.0.0: digest: sha256:4045cc15e87cf85b5ceee03168bd47a9b4d273ba8e176bcb91c9e91361e321c2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:00 + docker push nexus3.edgexfoundry.org:10004/device-uart:bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0 11:13:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 11:13:00 2f44c9ac5f2e: Preparing 11:13:00 217d1e9b6e12: Preparing 11:13:00 9ab57816a2ec: Preparing 11:13:00 7d1fcc4f63ef: Preparing 11:13:00 1398162baec4: Preparing 11:13:00 994456c4fd7b: Preparing 11:13:00 2f44c9ac5f2e: Layer already exists 11:13:00 217d1e9b6e12: Layer already exists 11:13:00 7d1fcc4f63ef: Layer already exists 11:13:00 9ab57816a2ec: Layer already exists 11:13:00 1398162baec4: Layer already exists 11:13:00 994456c4fd7b: Layer already exists 11:13:00 bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0: digest: sha256:4045cc15e87cf85b5ceee03168bd47a9b4d273ba8e176bcb91c9e91361e321c2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:00 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:01 + docker push nexus3.edgexfoundry.org:10004/device-uart:odessa 11:13:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 11:13:01 2f44c9ac5f2e: Preparing 11:13:01 217d1e9b6e12: Preparing 11:13:01 9ab57816a2ec: Preparing 11:13:01 7d1fcc4f63ef: Preparing 11:13:01 1398162baec4: Preparing 11:13:01 994456c4fd7b: Preparing 11:13:01 994456c4fd7b: Waiting 11:13:01 9ab57816a2ec: Layer already exists 11:13:01 7d1fcc4f63ef: Layer already exists 11:13:01 217d1e9b6e12: Layer already exists 11:13:01 2f44c9ac5f2e: Layer already exists 11:13:01 1398162baec4: Layer already exists 11:13:01 994456c4fd7b: Layer already exists 11:13:01 odessa: digest: sha256:4045cc15e87cf85b5ceee03168bd47a9b4d273ba8e176bcb91c9e91361e321c2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:13:01 ===================================================== [Pipeline] echo 11:13:01 taggedImages: 11:13:01 - nexus3.edgexfoundry.org:10004/device-uart:bcbaec5496d4b917e8ba5c06705888bd2177e365 11:13:01 - nexus3.edgexfoundry.org:10004/device-uart:4.0.0 11:13:01 - nexus3.edgexfoundry.org:10004/device-uart:bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0 11:13:01 - nexus3.edgexfoundry.org:10004/device-uart:odessa [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 11:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:01 11:13:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:01 latest: Pulling from edgex-lftools-log-publisher 11:13:01 5eb5b503b376: Pulling fs layer 11:13:01 5c69ac0246d0: Pulling fs layer 11:13:01 ec43610c2a17: Pulling fs layer 11:13:01 3a2ae6a8a46f: Pulling fs layer 11:13:01 33b1e0a273af: Pulling fs layer 11:13:01 5d3b04190fa2: Pulling fs layer 11:13:01 2f39f015ded8: Pulling fs layer 11:13:01 3a2ae6a8a46f: Waiting 11:13:01 33b1e0a273af: Waiting 11:13:01 5d3b04190fa2: Waiting 11:13:01 2f39f015ded8: Waiting 11:13:01 5c69ac0246d0: Verifying Checksum 11:13:01 5c69ac0246d0: Download complete 11:13:01 3a2ae6a8a46f: Verifying Checksum 11:13:01 3a2ae6a8a46f: Download complete 11:13:01 33b1e0a273af: Verifying Checksum 11:13:01 33b1e0a273af: Download complete 11:13:01 5d3b04190fa2: Download complete 11:13:02 ec43610c2a17: Download complete 11:13:02 5eb5b503b376: Verifying Checksum 11:13:02 5eb5b503b376: Download complete 11:13:02 2f39f015ded8: Download complete 11:13:03 5eb5b503b376: Pull complete 11:13:03 5c69ac0246d0: Pull complete 11:13:03 ec43610c2a17: Pull complete 11:13:03 3a2ae6a8a46f: Pull complete 11:13:04 33b1e0a273af: Pull complete 11:13:04 5d3b04190fa2: Pull complete 11:13:08 2f39f015ded8: Pull complete 11:13:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:08 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:13:08 $ 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_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@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 11:13:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41160 in /w/workspace/edgexfoundry_device-uart_odessa 11:13:12 $ docker top a833e0e6bd190add5c645e4beb9e91672ab1bb8bd11a1e57f63da4860f4806b9 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 11:13:12 Running in /w/workspace/device-uart/4 [Pipeline] { [Pipeline] checkout 11:13:12 The recommended git tool is: git 11:13:13 ---> job-cost.sh 11:13:13 lf-activate-venv: SKIPPING 11:13:13 INFO: No Stack... 11:13:13 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:13 INFO: Archiving Costs [Pipeline] sh 11:13:13 + cat /w/workspace/edgexfoundry_device-uart_odessa/archives/cost.csv 11:13:13 + cut -d, -f6 [Pipeline] lock 11:13:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-odessa-4-stack-cost] 11:13:13 Resource [jenkins-edgexfoundry-device-uart-odessa-4-stack-cost] did not exist. Created. 11:13:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:14 + echo total: 0.2199999988079071 [Pipeline] stash 11:13:14 Stashed 1 file(s) [Pipeline] } 11:13:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:14 $ docker stop --time=1 a833e0e6bd190add5c645e4beb9e91672ab1bb8bd11a1e57f63da4860f4806b9 11:13:15 $ docker rm -f --volumes a833e0e6bd190add5c645e4beb9e91672ab1bb8bd11a1e57f63da4860f4806b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:13:18 using credential edgex-jenkins-ssh 11:13:18 Cloning the remote Git repository 11:13:18 Cloning repository git@github.com:edgexfoundry/device-uart.git 11:13:18 > git init /w/workspace/device-uart/4 # timeout=10 11:13:18 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 11:13:18 > git --version # timeout=10 11:13:18 > git --version # 'git version 2.25.1' 11:13:18 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:22 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 11:13:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:23 Avoid second fetch 11:13:23 Checking out Revision bcbaec5496d4b917e8ba5c06705888bd2177e365 (odessa) 11:13:23 > git config core.sparsecheckout # timeout=10 11:13:23 > git checkout -f bcbaec5496d4b917e8ba5c06705888bd2177e365 # timeout=10 11:13:26 Commit message: "ci(lts-release): LTS release v4.0.0 @4f5ba12" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:13:30 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:30 Dload Upload Total Spent Left Speed 11:13:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 11:13:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:13:31 + sudo tee /etc/docker/daemon.new 11:13:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:13:31 { 11:13:31 "registry-mirrors": [ 11:13:31 "https://nexus3.edgexfoundry.org:10001" 11:13:31 ], 11:13:31 "bip": "10.250.0.254/24", 11:13:31 "hosts": [ 11:13:31 "tcp://0.0.0.0:5555", 11:13:31 "unix:///var/run/docker.sock" 11:13:31 ], 11:13:31 "mtu": 1458, 11:13:31 "selinux-enabled": true, 11:13:31 "seccomp-profile": "/etc/docker/seccomp.json" 11:13:31 } [Pipeline] sh 11:13:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:13:32 + sudo service docker restart [Pipeline] sh 11:13:51 + git checkout bcbaec5496d4b917e8ba5c06705888bd2177e365 11:13:51 HEAD is now at bcbaec5 ci(lts-release): LTS release v4.0.0 @4f5ba12 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:51 provisioning config files... 11:13:51 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config3183363642853331650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:51 ---> ****-login.sh 11:13:51 nexus3.edgexfoundry.org:10001 11:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:53 Configure a credential helper to remove this warning. See 11:13:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:53 11:13:53 Login Succeeded 11:13:53 nexus3.edgexfoundry.org:10002 11:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:53 Configure a credential helper to remove this warning. See 11:13:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:53 11:13:53 Login Succeeded 11:13:53 nexus3.edgexfoundry.org:10003 11:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:54 Configure a credential helper to remove this warning. See 11:13:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:54 11:13:54 Login Succeeded 11:13:54 nexus3.edgexfoundry.org:10004 11:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:54 Configure a credential helper to remove this warning. See 11:13:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:54 11:13:54 Login Succeeded 11:13:54 ****.io 11:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:54 Configure a credential helper to remove this warning. See 11:13:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:54 11:13:54 Login Succeeded 11:13:55 ---> ****-login.sh ends [Pipeline] } 11:13:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:13:55 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:13:55 + cut -d -f 2 11:13:55 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 11:13:56 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:13:56 ========================================================= 11:13:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 11:13:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 11:14:00 Sending build context to Docker daemon 58.29MB 11:14:00 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:14:00 Step 2/12 : FROM ${BASE} AS builder 11:14:01 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 11:14:01 94e9d8af2201: Pulling fs layer 11:14:01 345fe9f21930: Pulling fs layer 11:14:01 b40fc9e46828: Pulling fs layer 11:14:01 c9804373a1e5: Pulling fs layer 11:14:01 4f4fb700ef54: Pulling fs layer 11:14:01 f5a772c54f75: Pulling fs layer 11:14:01 e2dd1b2a9dca: Pulling fs layer 11:14:01 0a0502178392: Pulling fs layer 11:14:01 4f4fb700ef54: Waiting 11:14:01 f5a772c54f75: Waiting 11:14:01 e2dd1b2a9dca: Waiting 11:14:01 0a0502178392: Waiting 11:14:01 c9804373a1e5: Waiting 11:14:01 345fe9f21930: Verifying Checksum 11:14:01 345fe9f21930: Download complete 11:14:01 c9804373a1e5: Verifying Checksum 11:14:01 c9804373a1e5: Download complete 11:14:01 4f4fb700ef54: Verifying Checksum 11:14:01 4f4fb700ef54: Download complete 11:14:01 f5a772c54f75: Verifying Checksum 11:14:01 f5a772c54f75: Download complete 11:14:01 94e9d8af2201: Verifying Checksum 11:14:01 94e9d8af2201: Download complete 11:14:01 0a0502178392: Verifying Checksum 11:14:01 0a0502178392: Download complete 11:14:02 94e9d8af2201: Pull complete 11:14:03 345fe9f21930: Pull complete 11:14:03 b40fc9e46828: Verifying Checksum 11:14:03 b40fc9e46828: Download complete 11:14:04 e2dd1b2a9dca: Verifying Checksum 11:14:04 e2dd1b2a9dca: Download complete 11:14:19 b40fc9e46828: Pull complete 11:14:19 c9804373a1e5: Pull complete 11:14:19 4f4fb700ef54: Pull complete 11:14:19 f5a772c54f75: Pull complete 11:14:26 e2dd1b2a9dca: Pull complete 11:14:28 0a0502178392: Pull complete 11:14:28 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 11:14:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 11:14:28 ---> 72db82c1953f 11:14:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:14:30 ---> Running in 3d375ec82820 11:14:30 Removing intermediate container 3d375ec82820 11:14:30 ---> adfc6c28c080 11:14:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:14:31 ---> Running in 778717d85ba1 11:14:31 Removing intermediate container 778717d85ba1 11:14:31 ---> f847ff039001 11:14:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:14:31 ---> Running in ae5dd41fb7fc 11:14:31 Removing intermediate container ae5dd41fb7fc 11:14:31 ---> 709c1040c724 11:14:31 Step 6/12 : WORKDIR /device-uart 11:14:31 ---> Running in 90e39cc0a446 11:14:32 Removing intermediate container 90e39cc0a446 11:14:32 ---> 2305e4c289b3 11:14:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:14:32 ---> Running in 930d65c93de6 11:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:14:35 (1/4) Installing openssh-keygen (9.7_p1-r5) 11:14:35 (2/4) Installing libedit (20240517.3.1-r0) 11:14:35 (3/4) Installing openssh-client-common (9.7_p1-r5) 11:14:35 (4/4) Installing openssh-client-default (9.7_p1-r5) 11:14:35 Executing busybox-1.36.1-r29.trigger 11:14:35 OK: 244 MiB in 62 packages 11:14:36 Removing intermediate container 930d65c93de6 11:14:36 ---> 7c0138063e3c 11:14:36 Step 8/12 : COPY go.mod vendor* ./ 11:14:52 ---> 9a6a0581fbb5 11:14:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:14:52 ---> Running in 226bf4fa2771 11:16:43 Removing intermediate container 226bf4fa2771 11:16:43 ---> 491b44acd122 11:16:43 Step 10/12 : COPY . . 11:16:50 ---> 0f49087f5b9c 11:16:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:16:50 ---> Running in d80938851379 11:16:50 Removing intermediate container d80938851379 11:16:50 ---> ef0d580bf545 11:16:50 Step 12/12 : RUN ${MAKE} 11:16:50 ---> Running in 545ad6a3effb 11:16:51 noop 11:16:51 Removing intermediate container 545ad6a3effb 11:16:51 ---> 7c935e9a57d4 11:16:52 Successfully built 7c935e9a57d4 11:16:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:53 + docker inspect -f . ci-base-image-arm64 11:16:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:53 prd-ubuntu20.04-docker-arm64-4c-16g-41160 does not seem to be running inside a container 11:16:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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 ******** ci-base-image-arm64 cat 11:16:55 $ docker top e6b4beeca8b3ffd2d8386c0958ee1bbbd9d0d5ec6f360f3cb5a0b51bd86bb247 -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:56 + go version 11:16:56 go version go1.23.7 linux/arm64 [Pipeline] } 11:16:56 $ docker stop --time=1 e6b4beeca8b3ffd2d8386c0958ee1bbbd9d0d5ec6f360f3cb5a0b51bd86bb247 11:16:57 $ docker rm -f --volumes e6b4beeca8b3ffd2d8386c0958ee1bbbd9d0d5ec6f360f3cb5a0b51bd86bb247 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:58 + docker inspect -f . ci-base-image-arm64 11:16:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:58 prd-ubuntu20.04-docker-arm64-4c-16g-41160 does not seem to be running inside a container 11:16:58 $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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 ******** ci-base-image-arm64 cat 11:17:00 $ docker top f6e3a34dbb4b046e218ab82ac60ab8802f2a6a8a8bd2d158ba5e6676d6fd910c -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:01 + git config --global --add safe.directory /w/workspace/device-uart/4 [Pipeline] fileExists [Pipeline] sh 11:17:01 + make test 11:17:01 go test ./... -coverprofile=coverage.out 11:17:06 ? github.com/edgexfoundry/device-uart [no test files] 11:21:13 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 11:21:13 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 11:21:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:21:13 go vet ./... 11:22:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:22:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:22:09 ./bin/test-attribution-txt.sh [Pipeline] echo 11:22:09 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:22:10 + go mod tidy [Pipeline] } 11:22:16 $ docker stop --time=1 f6e3a34dbb4b046e218ab82ac60ab8802f2a6a8a8bd2d158ba5e6676d6fd910c 11:22:18 $ docker rm -f --volumes f6e3a34dbb4b046e218ab82ac60ab8802f2a6a8a8bd2d158ba5e6676d6fd910c [Pipeline] // withDockerContainer [Pipeline] sh 11:22:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:22:20 Warning: overwriting stash ‘coverage-report’ 11:22:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:22:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:22:23 + ls -al . 11:22:23 total 224 11:22:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:17 . 11:22:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:13 .. 11:22:23 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 11:13 .dockerignore 11:22:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:13 .git 11:22:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:13 .github 11:22:23 -rw-rw-r-- 1 jenkins jenkins 335 Mar 12 11:13 .gitignore 11:22:23 -rw-rw-r-- 1 jenkins jenkins 198 Mar 12 11:13 .golangci.yml 11:22:23 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 12 11:13 Attribution.txt 11:22:23 -rw-rw-r-- 1 jenkins jenkins 2704 Mar 12 11:13 CHANGELOG.md 11:22:23 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 12 11:13 Dockerfile 11:22:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 11:13 GOVERNANCE.md 11:22:23 -rw-rw-r-- 1 jenkins jenkins 675 Mar 12 11:13 Jenkinsfile 11:22:23 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 11:13 LICENSE 11:22:23 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 12 11:13 Makefile 11:22:23 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 11:13 OWNERS.md 11:22:23 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 12 11:13 README.md 11:22:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:10 VERSION 11:22:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:13 bin 11:22:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:13 cmd 11:22:23 -rw-r--r-- 1 jenkins jenkins 6770 Mar 12 11:21 coverage.out 11:22:23 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 12 11:13 go.mod 11:22:23 -rw-rw-r-- 1 jenkins jenkins 86751 Mar 12 11:13 go.sum 11:22:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:13 internal 11:22:23 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:13 vendor 11:22:23 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 11:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:22:23 + 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=bcbaec5496d4b917e8ba5c06705888bd2177e365 --label arch=arm64 --label version=4.0.0 . 11:22:28 Sending build context to Docker daemon 58.3MB 11:22:28 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 11:22:28 Step 2/26 : FROM ${BASE} AS builder 11:22:28 ---> 7c935e9a57d4 11:22:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:22:29 ---> Running in 54f417b2c9cc 11:22:29 Removing intermediate container 54f417b2c9cc 11:22:29 ---> a29d8b84bf94 11:22:29 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:22:29 ---> Running in a5bf59eabaa3 11:22:29 Removing intermediate container a5bf59eabaa3 11:22:29 ---> 1aa618ee4444 11:22:29 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:22:30 ---> Running in 3cb04e0657cb 11:22:30 Removing intermediate container 3cb04e0657cb 11:22:30 ---> ab92c57735d8 11:22:30 Step 6/26 : WORKDIR /device-uart 11:22:30 ---> Running in f5057f94ed26 11:22:31 Removing intermediate container f5057f94ed26 11:22:31 ---> f6b7d3559bae 11:22:31 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:22:31 ---> Running in 5e29b7cd7dee 11:22:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:22:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:22:35 OK: 244 MiB in 62 packages 11:22:37 Removing intermediate container 5e29b7cd7dee 11:22:37 ---> 4731f0d38842 11:22:37 Step 8/26 : COPY go.mod vendor* ./ 11:22:52 ---> 5933bd39d1e0 11:22:52 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:22:52 ---> Running in 79327ff3ceb1 11:22:53 skipping... 11:22:54 Removing intermediate container 79327ff3ceb1 11:22:54 ---> 1678c63c6f23 11:22:54 Step 10/26 : COPY . . 11:23:12 ---> a8ba8fc19933 11:23:12 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:23:12 ---> Running in 5ef27ca72ff8 11:23:12 Removing intermediate container 5ef27ca72ff8 11:23:12 ---> f80610d93c29 11:23:12 Step 12/26 : RUN ${MAKE} 11:23:12 ---> Running in 9c5da3555c79 11:23:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 11:27:34 Removing intermediate container 9c5da3555c79 11:27:34 ---> 65250b3c4fe3 11:27:34 Step 13/26 : FROM alpine:3.20 11:27:34 3.20: Pulling from library/alpine 11:27:34 94e9d8af2201: Already exists 11:27:34 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:27:34 Status: Downloaded newer image for alpine:3.20 11:27:34 ---> 7aab056cecc6 11:27:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 11:27:34 ---> Running in 6bd9acce1a6f 11:27:34 Removing intermediate container 6bd9acce1a6f 11:27:34 ---> 70de0cf405f9 11:27:34 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:27:34 ---> Running in 74249ce21beb 11:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:27:38 (1/1) Installing dumb-init (1.2.5-r3) 11:27:38 Executing busybox-1.36.1-r29.trigger 11:27:38 OK: 9 MiB in 15 packages 11:27:39 Removing intermediate container 74249ce21beb 11:27:39 ---> 48476276b773 11:27:39 Step 16/26 : RUN apk --no-cache upgrade 11:27:39 ---> Running in 49bc33b5e46b 11:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:27:42 OK: 9 MiB in 15 packages 11:27:43 Removing intermediate container 49bc33b5e46b 11:27:43 ---> c38b26abaea3 11:27:43 Step 17/26 : WORKDIR / 11:27:43 ---> Running in 67a3e320cc82 11:27:44 Removing intermediate container 67a3e320cc82 11:27:44 ---> 2d9b11ef1a9f 11:27:44 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 11:27:45 ---> 24a285d1bdbe 11:27:45 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 11:27:45 ---> 69ebb5c9dd33 11:27:45 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 11:27:48 ---> 54fd339276f2 11:27:48 Step 21/26 : EXPOSE 59995 11:27:48 ---> Running in 9b207608b1f3 11:27:48 Removing intermediate container 9b207608b1f3 11:27:48 ---> 39df3911ccec 11:27:48 Step 22/26 : ENTRYPOINT ["/device-uart"] 11:27:49 ---> Running in d224692bb31c 11:27:49 Removing intermediate container d224692bb31c 11:27:49 ---> 9cb259174463 11:27:49 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:27:49 ---> Running in 59f854c1b507 11:27:49 Removing intermediate container 59f854c1b507 11:27:49 ---> 2f58b2e41288 11:27:49 Step 24/26 : LABEL arch=arm64 11:27:50 ---> Running in 2cefcce97edc 11:27:50 Removing intermediate container 2cefcce97edc 11:27:50 ---> 92f388602843 11:27:50 Step 25/26 : LABEL git_sha=bcbaec5496d4b917e8ba5c06705888bd2177e365 11:27:50 ---> Running in da9872840830 11:27:51 Removing intermediate container da9872840830 11:27:51 ---> 43c433420aa6 11:27:51 Step 26/26 : LABEL version=4.0.0 11:27:51 ---> Running in 3d51b584a6fe 11:27:51 Removing intermediate container 3d51b584a6fe 11:27:51 ---> 7181657d18a7 11:27:51 [Warning] One or more build-args [ARCH] were not consumed 11:27:52 Successfully built 7181657d18a7 11:27:52 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 11:27:52 provisioning config files... 11:27:52 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config3304710558690069345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:27:53 ---> ****-login.sh 11:27:53 nexus3.edgexfoundry.org:10001 11:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:53 Configure a credential helper to remove this warning. See 11:27:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:53 11:27:53 Login Succeeded 11:27:53 nexus3.edgexfoundry.org:10002 11:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:53 Configure a credential helper to remove this warning. See 11:27:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:53 11:27:53 Login Succeeded 11:27:53 nexus3.edgexfoundry.org:10003 11:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:54 Configure a credential helper to remove this warning. See 11:27:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:54 11:27:54 Login Succeeded 11:27:54 nexus3.edgexfoundry.org:10004 11:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:55 Configure a credential helper to remove this warning. See 11:27:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:55 11:27:55 Login Succeeded 11:27:55 ****.io 11:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:55 Configure a credential helper to remove this warning. See 11:27:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:55 11:27:55 Login Succeeded 11:27:55 ---> ****-login.sh ends [Pipeline] } 11:27:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:27:55 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:27:55 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 11:27:55 bcbaec5496d4b917e8ba5c06705888bd2177e365 11:27:55 4.0.0 11:27:55 bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0 11:27:55 odessa 11:27:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:56 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:56 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:bcbaec5496d4b917e8ba5c06705888bd2177e365 11:27:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 11:27:56 68b6630dacbd: Preparing 11:27:56 a13fa976110c: Preparing 11:27:56 1ee29f1025db: Preparing 11:27:56 1cb09abf3174: Preparing 11:27:56 789e5dc4576b: Preparing 11:27:56 dd9c8f8612c8: Preparing 11:27:56 dd9c8f8612c8: Waiting 11:27:56 1ee29f1025db: Pushed 11:27:56 789e5dc4576b: Pushed 11:27:56 a13fa976110c: Pushed 11:27:56 1cb09abf3174: Pushed 11:27:57 dd9c8f8612c8: Layer already exists 11:28:09 68b6630dacbd: Pushed 11:28:09 bcbaec5496d4b917e8ba5c06705888bd2177e365: digest: sha256:37a05a6f09b0ab5d25879426fb45d91023676880583eb0d52249a7ec7a959676 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:09 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:10 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0 11:28:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 11:28:10 68b6630dacbd: Preparing 11:28:10 a13fa976110c: Preparing 11:28:10 1ee29f1025db: Preparing 11:28:10 1cb09abf3174: Preparing 11:28:10 789e5dc4576b: Preparing 11:28:10 dd9c8f8612c8: Preparing 11:28:10 dd9c8f8612c8: Waiting 11:28:10 789e5dc4576b: Layer already exists 11:28:10 1cb09abf3174: Layer already exists 11:28:10 a13fa976110c: Layer already exists 11:28:10 1ee29f1025db: Layer already exists 11:28:10 68b6630dacbd: Layer already exists 11:28:10 dd9c8f8612c8: Layer already exists 11:28:10 4.0.0: digest: sha256:37a05a6f09b0ab5d25879426fb45d91023676880583eb0d52249a7ec7a959676 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:10 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:11 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0 11:28:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 11:28:11 68b6630dacbd: Preparing 11:28:11 a13fa976110c: Preparing 11:28:11 1ee29f1025db: Preparing 11:28:11 1cb09abf3174: Preparing 11:28:11 789e5dc4576b: Preparing 11:28:11 dd9c8f8612c8: Preparing 11:28:11 dd9c8f8612c8: Waiting 11:28:11 a13fa976110c: Layer already exists 11:28:11 68b6630dacbd: Layer already exists 11:28:11 1ee29f1025db: Layer already exists 11:28:11 789e5dc4576b: Layer already exists 11:28:11 1cb09abf3174: Layer already exists 11:28:11 dd9c8f8612c8: Layer already exists 11:28:11 bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0: digest: sha256:37a05a6f09b0ab5d25879426fb45d91023676880583eb0d52249a7ec7a959676 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:11 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:12 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:odessa 11:28:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 11:28:12 68b6630dacbd: Preparing 11:28:12 a13fa976110c: Preparing 11:28:12 1ee29f1025db: Preparing 11:28:12 1cb09abf3174: Preparing 11:28:12 789e5dc4576b: Preparing 11:28:12 dd9c8f8612c8: Preparing 11:28:12 dd9c8f8612c8: Waiting 11:28:12 a13fa976110c: Layer already exists 11:28:12 68b6630dacbd: Layer already exists 11:28:12 1cb09abf3174: Layer already exists 11:28:12 789e5dc4576b: Layer already exists 11:28:12 1ee29f1025db: Layer already exists 11:28:12 dd9c8f8612c8: Layer already exists 11:28:12 odessa: digest: sha256:37a05a6f09b0ab5d25879426fb45d91023676880583eb0d52249a7ec7a959676 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:28:12 ===================================================== [Pipeline] echo 11:28:12 taggedImages: 11:28:12 - nexus3.edgexfoundry.org:10004/device-uart-arm64:bcbaec5496d4b917e8ba5c06705888bd2177e365 11:28:12 - nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0 11:28:12 - nexus3.edgexfoundry.org:10004/device-uart-arm64:bcbaec5496d4b917e8ba5c06705888bd2177e365-4.0.0 11:28:12 - nexus3.edgexfoundry.org:10004/device-uart-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:13 11:28:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:13 arm64: Pulling from edgex-lftools-log-publisher 11:28:13 8998bd30e6a1: Pulling fs layer 11:28:13 04944245beec: Pulling fs layer 11:28:13 699f458cf7ca: Pulling fs layer 11:28:13 765212b225bb: Pulling fs layer 11:28:13 f23df028b6ca: Pulling fs layer 11:28:13 d65c8cfc05b1: Pulling fs layer 11:28:13 2437ff75d9bd: Pulling fs layer 11:28:13 765212b225bb: Waiting 11:28:13 f23df028b6ca: Waiting 11:28:13 d65c8cfc05b1: Waiting 11:28:13 2437ff75d9bd: Waiting 11:28:13 04944245beec: Verifying Checksum 11:28:13 04944245beec: Download complete 11:28:13 765212b225bb: Verifying Checksum 11:28:13 765212b225bb: Download complete 11:28:13 f23df028b6ca: Verifying Checksum 11:28:13 f23df028b6ca: Download complete 11:28:13 d65c8cfc05b1: Verifying Checksum 11:28:13 d65c8cfc05b1: Download complete 11:28:13 699f458cf7ca: Verifying Checksum 11:28:13 699f458cf7ca: Download complete 11:28:14 8998bd30e6a1: Verifying Checksum 11:28:14 8998bd30e6a1: Download complete 11:28:17 2437ff75d9bd: Verifying Checksum 11:28:17 2437ff75d9bd: Download complete 11:28:19 8998bd30e6a1: Pull complete 11:28:19 04944245beec: Pull complete 11:28:21 699f458cf7ca: Pull complete 11:28:21 765212b225bb: Pull complete 11:28:22 f23df028b6ca: Pull complete 11:28:22 d65c8cfc05b1: Pull complete 11:28:40 2437ff75d9bd: Pull complete 11:28:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:28:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:40 prd-ubuntu20.04-docker-arm64-4c-16g-41160 does not seem to be running inside a container 11:28:40 $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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:arm64 cat 11:28:44 $ docker top a36c90cf8bc56fb5fb409d281e46ea8feaa225c48796d3241a7af90524543dd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:28:45 ---> job-cost.sh 11:28:45 lf-activate-venv: SKIPPING 11:28:45 INFO: No Stack... 11:28:45 INFO: Retrieving Pricing Info for: v3-standard-4 11:28:46 INFO: Archiving Costs [Pipeline] sh 11:28:47 + cat /w/workspace/device-uart/4/archives/cost.csv 11:28:47 + cut -d, -f6 [Pipeline] lock 11:28:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-odessa-4-stack-cost] 11:28:47 Resource [jenkins-edgexfoundry-device-uart-odessa-4-stack-cost] did not exist. Created. 11:28:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:28:48 /w/workspace/device-uart/4@tmp/durable-0d2b63da/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:28:48 + echo total: 0.10999999940395355 [Pipeline] stash 11:28:48 Warning: overwriting stash ‘stack-cost’ 11:28:49 Stashed 1 file(s) [Pipeline] } 11:28:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:28:49 $ docker stop --time=1 a36c90cf8bc56fb5fb409d281e46ea8feaa225c48796d3241a7af90524543dd4 11:28:51 $ docker rm -f --volumes a36c90cf8bc56fb5fb409d281e46ea8feaa225c48796d3241a7af90524543dd4 [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 11:28:51 provisioning config files... 11:28:51 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_odessa@tmp/config17521385395333095200tmp [Pipeline] { [Pipeline] sh 11:28:51 + set +x 11:28:51 + curl -s https://codecov.io/bash 11:28:51 + bash -s -- 11:28:51 11:28:51 _____ _ 11:28:51 / ____| | | 11:28:51 | | ___ __| | ___ ___ _____ __ 11:28:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:28:51 | |___| (_) | (_| | __/ (_| (_) \ V / 11:28:51 \_____\___/ \__,_|\___|\___\___/ \_/ 11:28:51 Bash-1.0.6 11:28:51 11:28:51 11:28:51 ==> git version 2.25.1 found 11:28:51 ==> 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 11:28:51 Release-Date: 2020-01-08 11:28:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:28:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:28:51 ==> Jenkins CI detected. 11:28:51 current dir:  /w/workspace/edgexfoundry_device-uart_odessa 11:28:51 project root: . 11:28:51 --> token set from env 11:28:51 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 11:28:51 ==> Running gcov in . (disable via -X gcov) 11:28:51 ==> Python coveragepy not found 11:28:51 ==> Searching for coverage reports in: 11:28:51 + . 11:28:51 -> Found 1 reports 11:28:51 ==> Detecting git/mercurial file structure 11:28:52 ==> Reading reports 11:28:52 + ./coverage.out bytes=6770 11:28:52 ==> Appending adjustments 11:28:52 https://docs.codecov.io/docs/fixing-reports 11:28:52 + Found adjustments 11:28:52 ==> Gzipping contents 11:28:52 28K /tmp/codecov.FuJ9vq.gz 11:28:52 ==> Uploading reports 11:28:52 url: https://codecov.io 11:28:52 query: branch=odessa&commit=bcbaec5496d4b917e8ba5c06705888bd2177e365&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 11:28:52 -> Pinging Codecov 11:28:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=bcbaec5496d4b917e8ba5c06705888bd2177e365&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 11:28:54 -> Uploading to 11:28:54 https://storage.googleapis.com/codecov-production/shelter/v4/github/lf-edge/device-uart/bcbaec5496d4b917e8ba5c06705888bd2177e365/fe730b9c-4837-4a69-a396-eea088175b0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T112854Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=1814b96049420916b9d198125389463780ea9041dd1a561464ba8d02d6a27c6a 11:28:54 % Total % Received % Xferd Average Speed Time Time Time Current 11:28:54 Dload Upload Total Spent Left Speed 11:28:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25743 0 0 100 25743 0 196k --:--:-- --:--:-- --:--:-- 196k 11:28:54 -> Reports have been successfully queued for processing at upstream connect error or disconnect/reset before headers. reset reason: connection terminationhttps://app.codecov.io/github/lf-edge/device-uart/commit/bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] } 11:28:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:28:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:28:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:28:55 11:28:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:28:55 latest: Pulling from edgex-devops/edgex-snyk-go 11:28:55 43c4264eed91: Pulling fs layer 11:28:55 4cc291be95ef: Pulling fs layer 11:28:55 2ac1f1163629: Pulling fs layer 11:28:55 5c3c966382ef: Pulling fs layer 11:28:55 4f4fb700ef54: Pulling fs layer 11:28:55 d9c7d2e4e75e: Pulling fs layer 11:28:55 9c3e1370e548: Pulling fs layer 11:28:55 4f4fb700ef54: Waiting 11:28:55 5c3c966382ef: Waiting 11:28:55 d9c7d2e4e75e: Waiting 11:28:55 4cc291be95ef: Verifying Checksum 11:28:55 4cc291be95ef: Download complete 11:28:55 5c3c966382ef: Verifying Checksum 11:28:55 5c3c966382ef: Download complete 11:28:55 4f4fb700ef54: Download complete 11:28:55 43c4264eed91: Download complete 11:28:55 43c4264eed91: Pull complete 11:28:55 d9c7d2e4e75e: Verifying Checksum 11:28:55 d9c7d2e4e75e: Download complete 11:28:55 4cc291be95ef: Pull complete 11:28:55 2ac1f1163629: Download complete 11:28:56 9c3e1370e548: Verifying Checksum 11:28:56 9c3e1370e548: Download complete 11:28:59 2ac1f1163629: Pull complete 11:28:59 5c3c966382ef: Pull complete 11:28:59 4f4fb700ef54: Pull complete 11:28:59 d9c7d2e4e75e: Pull complete 11:29:03 9c3e1370e548: Pull complete 11:29:03 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 11:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:29:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:03 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:29:03 $ 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_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@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/edgex-snyk-go:latest cat 11:29:08 $ docker top 7562ad489bc77512ef54134c55bb2fe2ad67388fbd76b2d2ab7138ec70714116 -eo pid,comm [Pipeline] { [Pipeline] sh 11:29:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_odessa [Pipeline] echo 11:29:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:odessa' [Pipeline] sh 11:29:08 + set -o pipefail 11:29:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:odessa' 11:29:12 11:29:12 Monitoring /w/workspace/edgexfoundry_device-uart_odessa (github.com/edgexfoundry/device-uart)... 11:29:12 11:29:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6c5085ab-ca06-452b-ace6-ae6d8743b947/history/53bfc680-b906-42ba-8360-89d483643bb6 11:29:12 11:29:12 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:29:12 11:29:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:29:12 11:29:12 11:29:12 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 11:29:12 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 11:29:12 $ docker stop --time=1 7562ad489bc77512ef54134c55bb2fe2ad67388fbd76b2d2ab7138ec70714116 11:29:14 $ docker rm -f --volumes 7562ad489bc77512ef54134c55bb2fe2ad67388fbd76b2d2ab7138ec70714116 [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 11:29:15 + git log --format=format:%s -1 bcbaec5496d4b917e8ba5c06705888bd2177e365 [Pipeline] sh 11:29:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:15 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:29:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:29:16 $ docker top b3ca6b20e38fa865714e2f2b1ba63ecc59dd15c3c5f0764083d4db2fcc1dbb5a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:16 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:16 + git semver [Pipeline] } 11:29:16 $ docker stop --time=1 b3ca6b20e38fa865714e2f2b1ba63ecc59dd15c3c5f0764083d4db2fcc1dbb5a 11:29:18 $ docker rm -f --volumes b3ca6b20e38fa865714e2f2b1ba63ecc59dd15c3c5f0764083d4db2fcc1dbb5a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:29:18 11:29:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:29:18 0.23.1-centos7: Pulling from edgex-lftools 11:29:18 ab5ef0e58194: Pulling fs layer 11:29:18 9712f1f96733: Pulling fs layer 11:29:18 63f879dbbcfc: Pulling fs layer 11:29:18 0d9ebad4ef96: Pulling fs layer 11:29:18 e9a5061849ea: Pulling fs layer 11:29:18 d747dcd14b5f: Pulling fs layer 11:29:18 2de7ff778b66: Pulling fs layer 11:29:18 0d9ebad4ef96: Waiting 11:29:18 e9a5061849ea: Waiting 11:29:18 d747dcd14b5f: Waiting 11:29:18 2de7ff778b66: Waiting 11:29:18 9712f1f96733: Verifying Checksum 11:29:18 9712f1f96733: Download complete 11:29:19 63f879dbbcfc: Verifying Checksum 11:29:19 63f879dbbcfc: Download complete 11:29:19 e9a5061849ea: Verifying Checksum 11:29:19 e9a5061849ea: Download complete 11:29:19 d747dcd14b5f: Verifying Checksum 11:29:19 d747dcd14b5f: Download complete 11:29:19 0d9ebad4ef96: Verifying Checksum 11:29:19 0d9ebad4ef96: Download complete 11:29:19 ab5ef0e58194: Verifying Checksum 11:29:19 ab5ef0e58194: Download complete 11:29:19 2de7ff778b66: Verifying Checksum 11:29:19 2de7ff778b66: Download complete 11:29:22 ab5ef0e58194: Pull complete 11:29:22 9712f1f96733: Pull complete 11:29:23 63f879dbbcfc: Pull complete 11:29:27 0d9ebad4ef96: Pull complete 11:29:27 e9a5061849ea: Pull complete 11:29:27 d747dcd14b5f: Pull complete 11:29:28 2de7ff778b66: Pull complete 11:29:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:29:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:29:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:28 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:29:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:29:33 $ docker top bfa594e1892f55969311a9daa30189a9a198fb0379eec5f87c778cb3a3b7c0ab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:29:33 provisioning config files... 11:29:33 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_odessa@tmp/config16149739466907707468tmp 11:29:33 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_odessa@tmp/config9851965149391724879tmp 11:29:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_odessa@tmp/config10185886071268727143tmp [Pipeline] { [Pipeline] echo 11:29:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:29:34 ---> sigul-configuration.sh 11:29:34 gpg: directory `/root/.gnupg' created 11:29:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:29:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:29:34 gpg: keyring `/root/.gnupg/secring.gpg' created 11:29:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:29:34 gpg: CAST5 encrypted data 11:29:34 gpg: encrypted with 1 passphrase 11:29:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:29:34 + mkdir /home/jenkins 11:29:34 + mkdir /home/jenkins/sigul [Pipeline] sh 11:29:34 + 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 11:29:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:29:34 ---> sigul-install.sh 11:29:34 Sigul already installed; skipping installation. [Pipeline] sh 11:29:35 + git tag --list 11:29:35 v0.0.0 11:29:35 v0.0.1-dev.1 11:29:35 v0.0.1-dev.2 11:29:35 v0.0.1-dev.3 11:29:35 v0.0.1-dev.4 11:29:35 v3.0.0 11:29:35 v3.0.1-dev.1 11:29:35 v3.0.1-dev.10 11:29:35 v3.0.1-dev.11 11:29:35 v3.0.1-dev.12 11:29:35 v3.0.1-dev.13 11:29:35 v3.0.1-dev.14 11:29:35 v3.0.1-dev.15 11:29:35 v3.0.1-dev.16 11:29:35 v3.0.1-dev.17 11:29:35 v3.0.1-dev.18 11:29:35 v3.0.1-dev.19 11:29:35 v3.0.1-dev.2 11:29:35 v3.0.1-dev.20 11:29:35 v3.0.1-dev.21 11:29:35 v3.0.1-dev.22 11:29:35 v3.0.1-dev.23 11:29:35 v3.0.1-dev.24 11:29:35 v3.0.1-dev.25 11:29:35 v3.0.1-dev.26 11:29:35 v3.0.1-dev.27 11:29:35 v3.0.1-dev.28 11:29:35 v3.0.1-dev.29 11:29:35 v3.0.1-dev.3 11:29:35 v3.0.1-dev.30 11:29:35 v3.0.1-dev.31 11:29:35 v3.0.1-dev.32 11:29:35 v3.0.1-dev.33 11:29:35 v3.0.1-dev.34 11:29:35 v3.0.1-dev.4 11:29:35 v3.0.1-dev.5 11:29:35 v3.0.1-dev.6 11:29:35 v3.0.1-dev.7 11:29:35 v3.0.1-dev.8 11:29:35 v3.0.1-dev.9 11:29:35 v3.1 11:29:35 v3.1.0 11:29:35 v3.1.1 11:29:35 v3.1.1-dev.1 11:29:35 v4.0 11:29:35 v4.0.0 11:29:35 v4.0.0-dev.1 11:29:35 v4.0.0-dev.10 11:29:35 v4.0.0-dev.11 11:29:35 v4.0.0-dev.2 11:29:35 v4.0.0-dev.3 11:29:35 v4.0.0-dev.4 11:29:35 v4.0.0-dev.5 11:29:35 v4.0.0-dev.6 11:29:35 v4.0.0-dev.7 11:29:35 v4.0.0-dev.8 11:29:35 v4.0.0-dev.9 [Pipeline] sh 11:29:35 + lftools sign git-tag v4.0.0 11:29:36 Signing Git tag with Sigul... 11:29:36 Signing v4.0.0 [Pipeline] echo 11:29:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:29:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:29:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:29:36 $ docker stop --time=1 bfa594e1892f55969311a9daa30189a9a198fb0379eec5f87c778cb3a3b7c0ab 11:29:38 $ docker rm -f --volumes bfa594e1892f55969311a9daa30189a9a198fb0379eec5f87c778cb3a3b7c0ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:29:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:38 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:29:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:29:39 $ docker top a9d26057c7f9da5f5c70378a56d1baa7f66767c22c25ad3abe97427b7edc2bcc -eo pid,comm 11:29:39 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). 11:29:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:39 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:39 + git semver [Pipeline] } 11:29:39 $ docker stop --time=1 a9d26057c7f9da5f5c70378a56d1baa7f66767c22c25ad3abe97427b7edc2bcc 11:29:41 $ docker rm -f --volumes a9d26057c7f9da5f5c70378a56d1baa7f66767c22c25ad3abe97427b7edc2bcc [Pipeline] // withDockerContainer [Pipeline] sh 11:29:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:41 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:29:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:29:42 $ docker top cca5717e1dd21b23bd09265f4c5f93f1e23691f0c4431b12af802e96eb600960 -eo pid,comm 11:29:42 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). 11:29:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:42 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:42 + git semver [Pipeline] } 11:29:42 $ docker stop --time=1 cca5717e1dd21b23bd09265f4c5f93f1e23691f0c4431b12af802e96eb600960 11:29:44 $ docker rm -f --volumes cca5717e1dd21b23bd09265f4c5f93f1e23691f0c4431b12af802e96eb600960 [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 11:29:44 + [ -d /w/workspace/edgexfoundry_device-uart_odessa/archives ] 11:29:44 + ls -al /w/workspace/edgexfoundry_device-uart_odessa/archives 11:29:44 total 16 11:29:44 drwxr-xr-x 3 root root 4096 Mar 12 11:13 . 11:29:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:29 .. 11:29:44 drwxr-xr-x 2 root root 4096 Mar 12 11:13 cost 11:29:44 -rw-r--r-- 1 root root 83 Mar 12 11:13 cost.csv 11:29:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_odessa/archives 11:29:44 + ls -al /w/workspace/edgexfoundry_device-uart_odessa/archives 11:29:44 total 16 11:29:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:13 . 11:29:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:29 .. 11:29:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 11:13 cost 11:29:44 -rw-r--r-- 1 jenkins jenkins 83 Mar 12 11:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:29:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:29:45 ---> package-listing.sh 11:29:45 ++ facter osfamily 11:29:45 ++ tr '[:upper:]' '[:lower:]' 11:29:46 + OS_FAMILY=debian 11:29:46 + workspace=/w/workspace/edgexfoundry_device-uart_odessa 11:29:46 + START_PACKAGES=/tmp/packages_start.txt 11:29:46 + END_PACKAGES=/tmp/packages_end.txt 11:29:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:29:46 + PACKAGES=/tmp/packages_start.txt 11:29:46 + '[' /w/workspace/edgexfoundry_device-uart_odessa ']' 11:29:46 + PACKAGES=/tmp/packages_end.txt 11:29:46 + case "${OS_FAMILY}" in 11:29:46 + dpkg -l 11:29:46 + grep '^ii' 11:29:46 + '[' -f /tmp/packages_start.txt ']' 11:29:46 + '[' -f /tmp/packages_end.txt ']' 11:29:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:29:46 + '[' /w/workspace/edgexfoundry_device-uart_odessa ']' 11:29:46 + mkdir -p /w/workspace/edgexfoundry_device-uart_odessa/archives/ 11:29:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_odessa/archives/ [Pipeline] echo 11:29:46 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_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:29:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:29:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:47 prd-ubuntu20.04-docker-8c-8g-41153 does not seem to be running inside a container 11:29:47 $ 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_odessa/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_odessa -v /w/workspace/edgexfoundry_device-uart_odessa:/w/workspace/edgexfoundry_device-uart_odessa:rw,z -v /w/workspace/edgexfoundry_device-uart_odessa@tmp:/w/workspace/edgexfoundry_device-uart_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:29:47 $ docker top 1541a0bc8ecb3933a9e96f255729ae8a3611366bd2b2e79d0cbdfe4f957646e3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:29:47 + touch /tmp/pre-build-complete [Pipeline] sh 11:29:47 + mkdir -p /var/log/sysstat [Pipeline] sh 11:29:48 + ls /var/log/sa-host 11:29:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:29:48 provisioning config files... 11:29:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_odessa@tmp/config771100836980325024tmp [Pipeline] { [Pipeline] echo 11:29:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:29:48 ---> create-netrc.sh [Pipeline] } 11:29:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:29:48 ---> python-tools-install.sh [Pipeline] echo 11:29:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:29:49 ---> sudo-logs.sh 11:29:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:29:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:29:49 ---> job-cost.sh 11:29:49 lf-activate-venv: SKIPPING 11:29:49 DEBUG: total: 0.2199999988079071 11:29:49 INFO: Retrieving Stack Cost... 11:29:49 INFO: Retrieving Pricing Info for: v3-standard-8 11:29:50 INFO: Archiving Costs [Pipeline] echo 11:29:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:29:50 ---> logs-deploy.sh 11:29:50 lf-activate-venv: SKIPPING 11:29:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/odessa/4 11:29:50 INFO: archiving workspace using pattern(s): 11:29:51 Archives upload complete. 11:29:51 INFO: archiving logs to Nexus