Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 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-ssh17238187241529724178.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh17827282311972061523.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2837246861907833024.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh16033865620884411198.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh303013233370198340.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40109 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 (main) Commit message: "Merge pull request #106 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26" > git config core.sparsecheckout # timeout=10 > git checkout -f a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 # timeout=10 > git rev-list --no-walk 36d9ea491450c231a81397a85a225b89c0d7053e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:50:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:50:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:50:55 ========================================================= 00:50:55 EdgeX Global Pipelines Version Info 00:50:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:50:56 ------------------- 00:50:56 stable info: 00:50:56 ------------------- 00:50:56 Commited By: Cherry Wang cherry@iotechsys.com 00:50:56 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 00:50:56 Message: update stable to v1.0.269 00:50:57 ------------------- 00:50:57 experimental info: 00:50:57 ------------------- 00:50:57 Commited By: Ginny Guan ginny@iotechsys.com 00:50:57 Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d 00:50:57 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a079b5b [Pipeline] echo 00:50:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:58 provisioning config files... 00:50:58 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config18380571542706542983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:58 ---> ****-login.sh 00:50:58 nexus3.edgexfoundry.org:10001 00:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:58 Configure a credential helper to remove this warning. See 00:50:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:58 00:50:58 Login Succeeded 00:50:58 nexus3.edgexfoundry.org:10002 00:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:58 Configure a credential helper to remove this warning. See 00:50:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:58 00:50:58 Login Succeeded 00:50:58 nexus3.edgexfoundry.org:10003 00:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:58 Configure a credential helper to remove this warning. See 00:50:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:58 00:50:58 Login Succeeded 00:50:58 nexus3.edgexfoundry.org:10004 00:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:58 Configure a credential helper to remove this warning. See 00:50:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:58 00:50:58 Login Succeeded 00:50:58 ****.io 00:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:59 Configure a credential helper to remove this warning. See 00:50:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:59 00:50:59 Login Succeeded 00:50:59 ---> ****-login.sh ends [Pipeline] } 00:50:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:50:59 + git rev-list -1 --merges a079b5b4fb22d65cc5c8aeba768d9d4948d7a010~1..a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [Pipeline] echo 00:50:59 -----------> git rev-list -1 --merges a079b5b4fb22d65cc5c8aeba768d9d4948d7a010~1..a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 00:50:59 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [false] [Pipeline] sh 00:50:59 + git log --format=format:%s -1 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [Pipeline] echo 00:50:59 ========================================================= 00:50:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:50:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:51:00 + git log --format=format:%s -1 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [Pipeline] echo 00:51:00 [semverPrep] GIT_COMMIT: a079b5b4fb22d65cc5c8aeba768d9d4948d7a010, Commit Message: Merge pull request #106 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26 [Pipeline] echo 00:51:00 [semverPrep] This is not a build commit. [Pipeline] sh 00:51:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:51:00 + grep -v github /etc/ssh/ssh_known_hosts 00:51:00 + [ -e /tmp/ssh_known_hosts ] 00:51:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:51:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:51:00 + sudo tee -a /etc/ssh/ssh_known_hosts 00:51:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:51:01 00:51:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:51:01 0.1.4: Pulling from edgex-devops/py-git-semver 00:51:01 b85a868b505f: Pulling fs layer 00:51:01 e2be974225ed: Pulling fs layer 00:51:01 339a4e72a1f5: Pulling fs layer 00:51:01 988bab9f4d93: Pulling fs layer 00:51:01 1469e6f7b9e6: Pulling fs layer 00:51:01 eaf3925da568: Pulling fs layer 00:51:01 bab4dde63d76: Pulling fs layer 00:51:01 bde34c3a00c8: Pulling fs layer 00:51:01 b352a97aabf1: Pulling fs layer 00:51:01 4872d77fe225: Pulling fs layer 00:51:01 5851b861e8e6: Pulling fs layer 00:51:01 988bab9f4d93: Waiting 00:51:01 1469e6f7b9e6: Waiting 00:51:01 eaf3925da568: Waiting 00:51:01 bab4dde63d76: Waiting 00:51:01 bde34c3a00c8: Waiting 00:51:01 b352a97aabf1: Waiting 00:51:01 4872d77fe225: Waiting 00:51:01 e2be974225ed: Verifying Checksum 00:51:01 e2be974225ed: Download complete 00:51:01 988bab9f4d93: Verifying Checksum 00:51:01 988bab9f4d93: Download complete 00:51:01 1469e6f7b9e6: Verifying Checksum 00:51:01 1469e6f7b9e6: Download complete 00:51:01 eaf3925da568: Verifying Checksum 00:51:01 eaf3925da568: Download complete 00:51:01 339a4e72a1f5: Verifying Checksum 00:51:01 339a4e72a1f5: Download complete 00:51:01 bde34c3a00c8: Verifying Checksum 00:51:01 bde34c3a00c8: Download complete 00:51:01 b352a97aabf1: Verifying Checksum 00:51:01 b352a97aabf1: Download complete 00:51:01 4872d77fe225: Verifying Checksum 00:51:01 4872d77fe225: Download complete 00:51:01 5851b861e8e6: Verifying Checksum 00:51:01 5851b861e8e6: Download complete 00:51:01 b85a868b505f: Verifying Checksum 00:51:01 b85a868b505f: Download complete 00:51:02 bab4dde63d76: Verifying Checksum 00:51:02 bab4dde63d76: Download complete 00:51:02 b85a868b505f: Pull complete 00:51:02 e2be974225ed: Pull complete 00:51:03 339a4e72a1f5: Pull complete 00:51:03 988bab9f4d93: Pull complete 00:51:03 1469e6f7b9e6: Pull complete 00:51:03 eaf3925da568: Pull complete 00:51:05 bab4dde63d76: Pull complete 00:51:05 bde34c3a00c8: Pull complete 00:51:05 b352a97aabf1: Pull complete 00:51:05 4872d77fe225: Pull complete 00:51:05 5851b861e8e6: Pull complete 00:51:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:51:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:51:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:05 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 00:51:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:51:07 $ docker top d12aee51049d4d8f50c58c4c3f4b51952a2058eb35fcbd1b17307b9712923041 -eo pid,comm 00:51:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:51:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:51:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:07 [ssh-agent] Looking for ssh-agent implementation... 00:51:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:07 $ docker exec d12aee51049d4d8f50c58c4c3f4b51952a2058eb35fcbd1b17307b9712923041 ssh-agent 00:51:07 SSH_AUTH_SOCK=/tmp/ssh-4hzCIOcAXziK/agent.31 00:51:07 SSH_AGENT_PID=37 00:51:07 Running ssh-add (command line suppressed) 00:51:07 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_18332541030891570647.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_18332541030891570647.key) 00:51:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:07 + git tag --points-at HEAD [Pipeline] } 00:51:07 $ docker exec --env ******** --env ******** d12aee51049d4d8f50c58c4c3f4b51952a2058eb35fcbd1b17307b9712923041 ssh-agent -k 00:51:07 unset SSH_AUTH_SOCK; 00:51:07 unset SSH_AGENT_PID; 00:51:07 echo Agent pid 37 killed; 00:51:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:51:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:07 [ssh-agent] Looking for ssh-agent implementation... 00:51:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:07 $ docker exec d12aee51049d4d8f50c58c4c3f4b51952a2058eb35fcbd1b17307b9712923041 ssh-agent 00:51:08 SSH_AUTH_SOCK=/tmp/ssh-RQzzHOjsKxuo/agent.70 00:51:08 SSH_AGENT_PID=76 00:51:08 Running ssh-add (command line suppressed) 00:51:08 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2127266816497236140.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_2127266816497236140.key) 00:51:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:08 + git semver init 00:51:08 2025-03-04 00:51:08,639 [run_init] DEBUG init version:0.0.0 force:False 00:51:08 2025-03-04 00:51:08,640 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 00:51:08 2025-03-04 00:51:08,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 00:51:08 2025-03-04 00:51:08,641 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_main/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 00:51:09 2025-03-04 00:51:09,643 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 00:51:09 2025-03-04 00:51:09,644 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 00:51:09 2025-03-04 00:51:09,644 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:51:09 2025-03-04 00:51:09,645 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 00:51:09 4.0.0-dev.9 [Pipeline] } 00:51:09 $ docker exec --env ******** --env ******** d12aee51049d4d8f50c58c4c3f4b51952a2058eb35fcbd1b17307b9712923041 ssh-agent -k 00:51:10 unset SSH_AUTH_SOCK; 00:51:10 unset SSH_AGENT_PID; 00:51:10 echo Agent pid 76 killed; 00:51:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:51:10 + git semver [Pipeline] } 00:51:10 $ docker stop --time=1 d12aee51049d4d8f50c58c4c3f4b51952a2058eb35fcbd1b17307b9712923041 00:51:11 $ docker rm -f --volumes d12aee51049d4d8f50c58c4c3f4b51952a2058eb35fcbd1b17307b9712923041 [Pipeline] // withDockerContainer [Pipeline] sh 00:51:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:51:12 Stashed 1 file(s) [Pipeline] echo 00:51:12 [edgeXSemver]: initialized semver on version 4.0.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:51:12 provisioning config files... 00:51:12 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9946857715166520007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:51:12 ---> ****-login.sh 00:51:12 nexus3.edgexfoundry.org:10001 00:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:51:12 Configure a credential helper to remove this warning. See 00:51:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:51:12 00:51:12 Login Succeeded 00:51:12 nexus3.edgexfoundry.org:10002 00:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:51:12 Configure a credential helper to remove this warning. See 00:51:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:51:12 00:51:12 Login Succeeded 00:51:12 nexus3.edgexfoundry.org:10003 00:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:51:13 Configure a credential helper to remove this warning. See 00:51:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:51:13 00:51:13 Login Succeeded 00:51:13 nexus3.edgexfoundry.org:10004 00:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:51:13 Configure a credential helper to remove this warning. See 00:51:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:51:13 00:51:13 Login Succeeded 00:51:13 ****.io 00:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:51:13 Configure a credential helper to remove this warning. See 00:51:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:51:13 00:51:13 Login Succeeded 00:51:13 ---> ****-login.sh ends [Pipeline] } 00:51:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:51:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:51:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:51:13 ========================================================= 00:51:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:51:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:13 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 00:51:13 Sending build context to Docker daemon 25.82MB 00:51:13 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:51:13 Step 2/12 : FROM ${BASE} AS builder 00:51:13 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:51:13 da9db072f522: Pulling fs layer 00:51:13 6ef4a4ee8ca5: Pulling fs layer 00:51:13 06f05ace1117: Pulling fs layer 00:51:13 5fe327b54edc: Pulling fs layer 00:51:13 4f4fb700ef54: Pulling fs layer 00:51:13 92a5565b7b96: Pulling fs layer 00:51:13 ff9bb7016b71: Pulling fs layer 00:51:13 b67dba6c2c7d: Pulling fs layer 00:51:13 a813b0c90790: Pulling fs layer 00:51:13 5fe327b54edc: Waiting 00:51:13 b67dba6c2c7d: Waiting 00:51:13 4f4fb700ef54: Waiting 00:51:13 a813b0c90790: Waiting 00:51:13 92a5565b7b96: Waiting 00:51:13 ff9bb7016b71: Waiting 00:51:14 6ef4a4ee8ca5: Download complete 00:51:14 5fe327b54edc: Verifying Checksum 00:51:14 5fe327b54edc: Download complete 00:51:14 4f4fb700ef54: Verifying Checksum 00:51:14 4f4fb700ef54: Download complete 00:51:14 92a5565b7b96: Verifying Checksum 00:51:14 92a5565b7b96: Download complete 00:51:14 da9db072f522: Download complete 00:51:14 ff9bb7016b71: Verifying Checksum 00:51:14 ff9bb7016b71: Download complete 00:51:14 da9db072f522: Pull complete 00:51:14 a813b0c90790: Verifying Checksum 00:51:14 a813b0c90790: Download complete 00:51:14 6ef4a4ee8ca5: Pull complete 00:51:14 06f05ace1117: Verifying Checksum 00:51:14 06f05ace1117: Download complete 00:51:14 b67dba6c2c7d: Verifying Checksum 00:51:14 b67dba6c2c7d: Download complete 00:51:17 06f05ace1117: Pull complete 00:51:17 5fe327b54edc: Pull complete 00:51:17 4f4fb700ef54: Pull complete 00:51:17 92a5565b7b96: Pull complete 00:51:17 ff9bb7016b71: Pull complete 00:51:20 b67dba6c2c7d: Pull complete 00:51:20 a813b0c90790: Pull complete 00:51:20 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 00:51:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:51:20 ---> 3ba60ce46760 00:51:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:51:22 ---> Running in 4d30ef183b86 00:51:22 Removing intermediate container 4d30ef183b86 00:51:22 ---> faebbdea2e8a 00:51:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:51:22 ---> Running in 70852e6287a8 00:51:22 Removing intermediate container 70852e6287a8 00:51:22 ---> c71a0b416775 00:51:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:51:22 ---> Running in d4247ac63d9e 00:51:22 Removing intermediate container d4247ac63d9e 00:51:22 ---> 14cd71f9b555 00:51:22 Step 6/12 : WORKDIR /device-uart 00:51:22 ---> Running in eab09518cc57 00:51:22 Removing intermediate container eab09518cc57 00:51:22 ---> 7d1353fb23d6 00:51:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:22 ---> Running in 6ebc38edfeab 00:51:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:51:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:51:23 (1/4) Installing openssh-keygen (9.7_p1-r5) 00:51:23 (2/4) Installing libedit (20240517.3.1-r0) 00:51:23 (3/4) Installing openssh-client-common (9.7_p1-r5) 00:51:23 (4/4) Installing openssh-client-default (9.7_p1-r5) 00:51:23 Executing busybox-1.36.1-r29.trigger 00:51:23 OK: 252 MiB in 62 packages 00:51:23 Removing intermediate container 6ebc38edfeab 00:51:23 ---> fa7d46c2e101 00:51:23 Step 8/12 : COPY go.mod vendor* ./ 00:51:23 ---> 1337b1b64938 00:51:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:23 ---> Running in 24dd6eb5c5ff 00:51:27 Still waiting to schedule task 00:51:27 ‘prd-centos7-blackbox-4c-2g-39928’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:51:27 ‘prd-ubuntu18.04-docker-8c-8g-40069’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:51:27 ‘prd-ubuntu20.04-docker-8c-8g-40096’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:51:27 ‘prd-ubuntu20.04-docker-8c-8g-40099’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:51:27 ‘prd-ubuntu20.04-docker-8c-8g-40101’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:51:27 ‘prd-ubuntu20.04-docker-8c-8g-40104’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:51:27 ‘prd-ubuntu20.04-docker-8c-8g-40112’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:51:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-40093’ is offline 00:51:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-40108’ is offline 00:51:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-40110’ is offline 00:51:55 Removing intermediate container 24dd6eb5c5ff 00:51:55 ---> fa6b87d12692 00:51:55 Step 10/12 : COPY . . 00:51:55 ---> f6ed8033923e 00:51:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:51:55 ---> Running in ea9812ad410e 00:51:55 Removing intermediate container ea9812ad410e 00:51:55 ---> caf02ee87dac 00:51:55 Step 12/12 : RUN ${MAKE} 00:51:55 ---> Running in 6d7a86c40937 00:51:55 noop 00:51:55 Removing intermediate container 6d7a86c40937 00:51:55 ---> 57eea28cd69f 00:51:55 Successfully built 57eea28cd69f 00:51:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:56 + docker inspect -f . ci-base-image-x86_64 00:51:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:56 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 00:51:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:51:56 $ docker top 2efd0c65855335f168b973bb27c2f05f224aa79abe7233e3ea62a1fc0b012117 -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:57 + go version 00:51:57 go version go1.23.4 linux/amd64 [Pipeline] } 00:51:57 $ docker stop --time=1 2efd0c65855335f168b973bb27c2f05f224aa79abe7233e3ea62a1fc0b012117 00:51:58 $ docker rm -f --volumes 2efd0c65855335f168b973bb27c2f05f224aa79abe7233e3ea62a1fc0b012117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:58 + docker inspect -f . ci-base-image-x86_64 00:51:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:58 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 00:51:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:51:59 $ docker top 529f506050b36af468f5d0086ac104a274cbc4a816f29fd4f3de22092ca43200 -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 00:51:59 + make test 00:51:59 go test ./... -coverprofile=coverage.out 00:52:00 ? github.com/edgexfoundry/device-uart [no test files] 00:52:18 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 00:52:18 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 00:52:25 go vet ./... 00:52:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:52:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:52:31 ./bin/test-attribution-txt.sh [Pipeline] echo 00:52:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:52:31 $ docker stop --time=1 529f506050b36af468f5d0086ac104a274cbc4a816f29fd4f3de22092ca43200 00:52:34 $ docker rm -f --volumes 529f506050b36af468f5d0086ac104a274cbc4a816f29fd4f3de22092ca43200 [Pipeline] // withDockerContainer [Pipeline] sh 00:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:52:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:52:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:52:35 + ls -al . 00:52:35 total 224 00:52:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 00:52 . 00:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 00:50 .. 00:52:35 -rw-rw-r-- 1 jenkins jenkins 140 Mar 4 00:50 .dockerignore 00:52:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 00:52 .git 00:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:50 .github 00:52:35 -rw-rw-r-- 1 jenkins jenkins 343 Mar 4 00:50 .gitignore 00:52:35 -rw-rw-r-- 1 jenkins jenkins 198 Mar 4 00:50 .golangci.yml 00:52:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 00:51 .semver 00:52:35 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 4 00:50 Attribution.txt 00:52:35 -rw-rw-r-- 1 jenkins jenkins 1908 Mar 4 00:50 CHANGELOG.md 00:52:35 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 4 00:50 Dockerfile 00:52:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 00:50 GOVERNANCE.md 00:52:35 -rw-rw-r-- 1 jenkins jenkins 675 Mar 4 00:50 Jenkinsfile 00:52:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 00:50 LICENSE 00:52:35 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 4 00:50 Makefile 00:52:35 -rw-rw-r-- 1 jenkins jenkins 617 Mar 4 00:50 OWNERS.md 00:52:35 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 4 00:50 README.md 00:52:35 -rw-rw-r-- 1 jenkins jenkins 11 Mar 4 00:51 VERSION 00:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 00:50 bin 00:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:50 cmd 00:52:35 -rw-r--r-- 1 jenkins jenkins 6770 Mar 4 00:52 coverage.out 00:52:35 -rw-rw-r-- 1 jenkins jenkins 6121 Mar 4 00:50 go.mod 00:52:35 -rw-rw-r-- 1 jenkins jenkins 86847 Mar 4 00:50 go.sum 00:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:50 internal 00:52:35 -rw-rw-r-- 1 jenkins jenkins 209 Mar 4 00:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:35 + docker build -t device-uart -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 --label arch=amd64 --label version=4.0.0-dev.9 . 00:52:35 Sending build context to Docker daemon 25.83MB 00:52:35 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 00:52:35 Step 2/26 : FROM ${BASE} AS builder 00:52:35 ---> 57eea28cd69f 00:52:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:52:36 ---> Running in b0c22d2dd0dc 00:52:36 Removing intermediate container b0c22d2dd0dc 00:52:36 ---> b44ea4a31643 00:52:36 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:52:36 ---> Running in 84716932a98c 00:52:36 Removing intermediate container 84716932a98c 00:52:36 ---> ef10b269ff29 00:52:36 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:52:36 ---> Running in 3565f429b2d4 00:52:36 Removing intermediate container 3565f429b2d4 00:52:36 ---> 9adebb718f30 00:52:36 Step 6/26 : WORKDIR /device-uart 00:52:36 ---> Running in 89982f414d9d 00:52:36 Removing intermediate container 89982f414d9d 00:52:36 ---> 21197d92dfa9 00:52:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:52:36 ---> Running in f618eb644111 00:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:52:37 OK: 252 MiB in 62 packages 00:52:37 Removing intermediate container f618eb644111 00:52:37 ---> 52d8cfb5e643 00:52:37 Step 8/26 : COPY go.mod vendor* ./ 00:52:37 ---> 53b2fe101a88 00:52:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:52:37 ---> Running in e38efdf70ca5 00:52:38 Removing intermediate container e38efdf70ca5 00:52:38 ---> e0032a9ce070 00:52:38 Step 10/26 : COPY . . 00:52:38 ---> ae2c6b07ceb5 00:52:38 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:52:38 ---> Running in 8479054009b6 00:52:38 Removing intermediate container 8479054009b6 00:52:38 ---> 924358252f99 00:52:38 Step 12/26 : RUN ${MAKE} 00:52:38 ---> Running in 76578c1ed6fd 00:52:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 00:53:05 Removing intermediate container 76578c1ed6fd 00:53:05 ---> a738a9104c62 00:53:05 Step 13/26 : FROM alpine:3.20 00:53:05 3.20: Pulling from library/alpine 00:53:05 0a9a5dfd008f: Pulling fs layer 00:53:05 0a9a5dfd008f: Download complete 00:53:05 0a9a5dfd008f: Pull complete 00:53:05 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 00:53:05 Status: Downloaded newer image for alpine:3.20 00:53:05 ---> ff221270b9fb 00:53:05 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:53:05 ---> Running in 902d4cb66717 00:53:05 Removing intermediate container 902d4cb66717 00:53:05 ---> 4b0e1f464cc7 00:53:05 Step 15/26 : RUN apk add --update --no-cache dumb-init 00:53:05 ---> Running in e1ea39f5ae1d 00:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:53:05 (1/1) Installing dumb-init (1.2.5-r3) 00:53:05 Executing busybox-1.36.1-r29.trigger 00:53:05 OK: 8 MiB in 15 packages 00:53:06 Removing intermediate container e1ea39f5ae1d 00:53:06 ---> 01677ba2fdaa 00:53:06 Step 16/26 : RUN apk --no-cache upgrade 00:53:06 ---> Running in ee861815761f 00:53:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:53:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:53:06 OK: 8 MiB in 15 packages 00:53:06 Removing intermediate container ee861815761f 00:53:06 ---> f5f94a44e566 00:53:06 Step 17/26 : WORKDIR / 00:53:06 ---> Running in 8af199afe905 00:53:06 Removing intermediate container 8af199afe905 00:53:06 ---> 0ea57a2b682f 00:53:06 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 00:53:07 ---> cc514ac40973 00:53:07 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 00:53:07 ---> 27f7ef0a3d03 00:53:07 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 00:53:08 ---> 319f8e0564aa 00:53:08 Step 21/26 : EXPOSE 59995 00:53:08 ---> Running in 6d2f2f235a19 00:53:08 Removing intermediate container 6d2f2f235a19 00:53:08 ---> 85d2abb2513a 00:53:08 Step 22/26 : ENTRYPOINT ["/device-uart"] 00:53:08 ---> Running in 9b2c6579e874 00:53:08 Removing intermediate container 9b2c6579e874 00:53:08 ---> fdb0d0a542e1 00:53:08 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:53:08 ---> Running in a382e6f9adbe 00:53:08 Removing intermediate container a382e6f9adbe 00:53:08 ---> a53527eef4ec 00:53:08 Step 24/26 : LABEL arch=amd64 00:53:08 ---> Running in fc650a254795 00:53:08 Removing intermediate container fc650a254795 00:53:08 ---> f70fe5a9df52 00:53:08 Step 25/26 : LABEL git_sha=a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 00:53:08 ---> Running in 540dfd2794cb 00:53:08 Removing intermediate container 540dfd2794cb 00:53:08 ---> 35ce4549da56 00:53:08 Step 26/26 : LABEL version=4.0.0-dev.9 00:53:08 ---> Running in 96bb56d0f320 00:53:08 Removing intermediate container 96bb56d0f320 00:53:08 ---> 343088273bc6 00:53:08 [Warning] One or more build-args [ARCH] were not consumed 00:53:08 Successfully built 343088273bc6 00:53:08 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:08 provisioning config files... 00:53:08 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config3921143750713043438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:09 ---> ****-login.sh 00:53:09 nexus3.edgexfoundry.org:10001 00:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:53:09 Configure a credential helper to remove this warning. See 00:53:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:53:09 00:53:09 Login Succeeded 00:53:09 nexus3.edgexfoundry.org:10002 00:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:53:09 Configure a credential helper to remove this warning. See 00:53:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:53:09 00:53:09 Login Succeeded 00:53:09 nexus3.edgexfoundry.org:10003 00:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:53:09 Configure a credential helper to remove this warning. See 00:53:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:53:09 00:53:09 Login Succeeded 00:53:09 nexus3.edgexfoundry.org:10004 00:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:53:09 Configure a credential helper to remove this warning. See 00:53:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:53:09 00:53:09 Login Succeeded 00:53:09 ****.io 00:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:53:09 Configure a credential helper to remove this warning. See 00:53:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:53:09 00:53:09 Login Succeeded 00:53:09 ---> ****-login.sh ends [Pipeline] } 00:53:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:53:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:53:09 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 00:53:09 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 00:53:09 latest 00:53:09 4.0.0-dev.9 00:53:09 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9 00:53:09 main 00:53:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:10 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:10 + docker push nexus3.edgexfoundry.org:10004/device-uart:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 00:53:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:53:10 e9a9b728b79d: Preparing 00:53:10 770719a212bd: Preparing 00:53:10 477ed9321294: Preparing 00:53:10 f9f0ff7128b0: Preparing 00:53:10 5201f96f2cc5: Preparing 00:53:10 994456c4fd7b: Preparing 00:53:10 994456c4fd7b: Waiting 00:53:10 477ed9321294: Pushed 00:53:10 5201f96f2cc5: Pushed 00:53:10 770719a212bd: Pushed 00:53:10 f9f0ff7128b0: Pushed 00:53:10 994456c4fd7b: Layer already exists 00:53:15 e9a9b728b79d: Pushed 00:53:15 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010: digest: sha256:c010433ee940ab6cea5757ed49514931a8b60700dcfd26da2ee01ef96ef7285c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:16 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:16 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 00:53:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:53:16 e9a9b728b79d: Preparing 00:53:16 770719a212bd: Preparing 00:53:16 477ed9321294: Preparing 00:53:16 f9f0ff7128b0: Preparing 00:53:16 5201f96f2cc5: Preparing 00:53:16 994456c4fd7b: Preparing 00:53:16 994456c4fd7b: Waiting 00:53:16 e9a9b728b79d: Layer already exists 00:53:16 f9f0ff7128b0: Layer already exists 00:53:16 5201f96f2cc5: Layer already exists 00:53:16 477ed9321294: Layer already exists 00:53:16 770719a212bd: Layer already exists 00:53:16 994456c4fd7b: Layer already exists 00:53:16 latest: digest: sha256:c010433ee940ab6cea5757ed49514931a8b60700dcfd26da2ee01ef96ef7285c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:16 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:17 + docker push nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.9 00:53:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:53:17 e9a9b728b79d: Preparing 00:53:17 770719a212bd: Preparing 00:53:17 477ed9321294: Preparing 00:53:17 f9f0ff7128b0: Preparing 00:53:17 5201f96f2cc5: Preparing 00:53:17 994456c4fd7b: Preparing 00:53:17 994456c4fd7b: Waiting 00:53:17 477ed9321294: Layer already exists 00:53:17 f9f0ff7128b0: Layer already exists 00:53:17 e9a9b728b79d: Layer already exists 00:53:17 770719a212bd: Layer already exists 00:53:17 5201f96f2cc5: Layer already exists 00:53:17 994456c4fd7b: Layer already exists 00:53:17 4.0.0-dev.9: digest: sha256:c010433ee940ab6cea5757ed49514931a8b60700dcfd26da2ee01ef96ef7285c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:17 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:17 + docker push nexus3.edgexfoundry.org:10004/device-uart:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9 00:53:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:53:17 e9a9b728b79d: Preparing 00:53:17 770719a212bd: Preparing 00:53:17 477ed9321294: Preparing 00:53:17 f9f0ff7128b0: Preparing 00:53:17 5201f96f2cc5: Preparing 00:53:17 994456c4fd7b: Preparing 00:53:17 994456c4fd7b: Waiting 00:53:17 770719a212bd: Layer already exists 00:53:17 5201f96f2cc5: Layer already exists 00:53:17 f9f0ff7128b0: Layer already exists 00:53:17 e9a9b728b79d: Layer already exists 00:53:17 477ed9321294: Layer already exists 00:53:17 994456c4fd7b: Layer already exists 00:53:17 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9: digest: sha256:c010433ee940ab6cea5757ed49514931a8b60700dcfd26da2ee01ef96ef7285c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:18 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:18 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 00:53:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 00:53:18 e9a9b728b79d: Preparing 00:53:18 770719a212bd: Preparing 00:53:18 477ed9321294: Preparing 00:53:18 f9f0ff7128b0: Preparing 00:53:18 5201f96f2cc5: Preparing 00:53:18 994456c4fd7b: Preparing 00:53:18 994456c4fd7b: Waiting 00:53:18 e9a9b728b79d: Layer already exists 00:53:18 477ed9321294: Layer already exists 00:53:18 5201f96f2cc5: Layer already exists 00:53:18 f9f0ff7128b0: Layer already exists 00:53:18 770719a212bd: Layer already exists 00:53:18 994456c4fd7b: Layer already exists 00:53:18 main: digest: sha256:c010433ee940ab6cea5757ed49514931a8b60700dcfd26da2ee01ef96ef7285c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:53:18 ===================================================== [Pipeline] echo 00:53:18 taggedImages: 00:53:18 - nexus3.edgexfoundry.org:10004/device-uart:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 00:53:18 - nexus3.edgexfoundry.org:10004/device-uart:latest 00:53:18 - nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.9 00:53:18 - nexus3.edgexfoundry.org:10004/device-uart:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9 00:53:18 - nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:18 00:53:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:19 latest: Pulling from edgex-lftools-log-publisher 00:53:19 5eb5b503b376: Pulling fs layer 00:53:19 5c69ac0246d0: Pulling fs layer 00:53:19 ec43610c2a17: Pulling fs layer 00:53:19 3a2ae6a8a46f: Pulling fs layer 00:53:19 33b1e0a273af: Pulling fs layer 00:53:19 5d3b04190fa2: Pulling fs layer 00:53:19 2f39f015ded8: Pulling fs layer 00:53:19 3a2ae6a8a46f: Waiting 00:53:19 33b1e0a273af: Waiting 00:53:19 5d3b04190fa2: Waiting 00:53:19 2f39f015ded8: Waiting 00:53:19 5c69ac0246d0: Download complete 00:53:19 3a2ae6a8a46f: Verifying Checksum 00:53:19 3a2ae6a8a46f: Download complete 00:53:19 33b1e0a273af: Verifying Checksum 00:53:19 33b1e0a273af: Download complete 00:53:19 5d3b04190fa2: Verifying Checksum 00:53:19 5d3b04190fa2: Download complete 00:53:19 ec43610c2a17: Verifying Checksum 00:53:19 ec43610c2a17: Download complete 00:53:19 5eb5b503b376: Verifying Checksum 00:53:19 5eb5b503b376: Download complete 00:53:19 2f39f015ded8: Download complete 00:53:20 5eb5b503b376: Pull complete 00:53:20 5c69ac0246d0: Pull complete 00:53:21 ec43610c2a17: Pull complete 00:53:21 3a2ae6a8a46f: Pull complete 00:53:21 33b1e0a273af: Pull complete 00:53:21 5d3b04190fa2: Pull complete 00:53:25 2f39f015ded8: Pull complete 00:53:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:25 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 00:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:53:27 $ docker top 4330c82d9b6b4aa6a90a7afb2807b68df57e6b58199f4cdca36cf9d4ff2ba1b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:27 ---> job-cost.sh 00:53:27 lf-activate-venv: SKIPPING 00:53:27 INFO: No Stack... 00:53:27 INFO: Retrieving Pricing Info for: v3-standard-8 00:53:28 INFO: Archiving Costs [Pipeline] sh 00:53:28 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 00:53:28 + cut -d, -f6 [Pipeline] lock 00:53:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-51-stack-cost] 00:53:28 Resource [jenkins-edgexfoundry-device-uart-main-51-stack-cost] did not exist. Created. 00:53:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:53:29 + echo total: 0.2199999988079071 [Pipeline] stash 00:53:29 Stashed 1 file(s) [Pipeline] } 00:53:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 00:53:29 $ docker stop --time=1 4330c82d9b6b4aa6a90a7afb2807b68df57e6b58199f4cdca36cf9d4ff2ba1b0 00:53:30 $ docker rm -f --volumes 4330c82d9b6b4aa6a90a7afb2807b68df57e6b58199f4cdca36cf9d4ff2ba1b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:54:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40116 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 00:54:08 Running in /w/workspace/device-uart/51 [Pipeline] { [Pipeline] checkout 00:54:11 The recommended git tool is: git 00:54:17 using credential edgex-jenkins-ssh 00:54:17 Cloning the remote Git repository 00:54:17 Cloning repository git@github.com:edgexfoundry/device-uart.git 00:54:17 > git init /w/workspace/device-uart/51 # timeout=10 00:54:18 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 00:54:18 > git --version # timeout=10 00:54:18 > git --version # 'git version 2.25.1' 00:54:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:21 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 00:54:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:22 Avoid second fetch 00:54:22 Checking out Revision a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 (main) 00:54:23 Commit message: "Merge pull request #106 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26" 00:54:22 > git config core.sparsecheckout # timeout=10 00:54:22 > git checkout -f a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:54:27 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:27 Dload Upload Total Spent Left Speed 00:54:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 164k 0 --:--:-- --:--:-- --:--:-- 164k [Pipeline] sh 00:54:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:54:28 + + sudosudo tee jq /etc/docker/daemon.new 00:54:28 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:54:28 { 00:54:28 "registry-mirrors": [ 00:54:28 "https://nexus3.edgexfoundry.org:10001" 00:54:28 ], 00:54:28 "bip": "10.250.0.254/24", 00:54:28 "hosts": [ 00:54:28 "tcp://0.0.0.0:5555", 00:54:28 "unix:///var/run/docker.sock" 00:54:28 ], 00:54:28 "mtu": 1458, 00:54:28 "selinux-enabled": true, 00:54:28 "seccomp-profile": "/etc/docker/seccomp.json" 00:54:28 } [Pipeline] sh 00:54:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:54:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:47 provisioning config files... 00:54:47 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/51@tmp/config7822670740085854104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:48 ---> ****-login.sh 00:54:48 nexus3.edgexfoundry.org:10001 00:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:49 Configure a credential helper to remove this warning. See 00:54:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:49 00:54:49 Login Succeeded 00:54:49 nexus3.edgexfoundry.org:10002 00:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:49 Configure a credential helper to remove this warning. See 00:54:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:49 00:54:49 Login Succeeded 00:54:49 nexus3.edgexfoundry.org:10003 00:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:50 Configure a credential helper to remove this warning. See 00:54:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:50 00:54:50 Login Succeeded 00:54:50 nexus3.edgexfoundry.org:10004 00:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:50 Configure a credential helper to remove this warning. See 00:54:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:50 00:54:50 Login Succeeded 00:54:50 ****.io 00:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:50 Configure a credential helper to remove this warning. See 00:54:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:50 00:54:50 Login Succeeded 00:54:50 ---> ****-login.sh ends [Pipeline] } 00:54:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:54:51 ========================================================= 00:54:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 00:54:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 00:54:52 Sending build context to Docker daemon 12.99MB 00:54:52 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:54:52 Step 2/12 : FROM ${BASE} AS builder 00:54:52 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:54:52 9986a736f7d3: Pulling fs layer 00:54:52 1f018df60701: Pulling fs layer 00:54:52 39f8f326b044: Pulling fs layer 00:54:52 e6a1e7a6a96a: Pulling fs layer 00:54:52 4f4fb700ef54: Pulling fs layer 00:54:52 d45d956e0dbf: Pulling fs layer 00:54:52 d7702b0d1db1: Pulling fs layer 00:54:52 5c7f0f088c93: Pulling fs layer 00:54:52 4fdc064ae6cf: Pulling fs layer 00:54:52 d45d956e0dbf: Waiting 00:54:52 d7702b0d1db1: Waiting 00:54:52 5c7f0f088c93: Waiting 00:54:52 4fdc064ae6cf: Waiting 00:54:52 e6a1e7a6a96a: Waiting 00:54:52 4f4fb700ef54: Waiting 00:54:52 1f018df60701: Verifying Checksum 00:54:52 1f018df60701: Download complete 00:54:52 e6a1e7a6a96a: Verifying Checksum 00:54:52 e6a1e7a6a96a: Download complete 00:54:52 4f4fb700ef54: Verifying Checksum 00:54:52 4f4fb700ef54: Download complete 00:54:52 d45d956e0dbf: Verifying Checksum 00:54:52 d45d956e0dbf: Download complete 00:54:53 9986a736f7d3: Verifying Checksum 00:54:53 9986a736f7d3: Download complete 00:54:53 d7702b0d1db1: Verifying Checksum 00:54:53 d7702b0d1db1: Download complete 00:54:53 4fdc064ae6cf: Verifying Checksum 00:54:53 4fdc064ae6cf: Download complete 00:54:54 9986a736f7d3: Pull complete 00:54:54 1f018df60701: Pull complete 00:54:55 39f8f326b044: Verifying Checksum 00:54:55 39f8f326b044: Download complete 00:54:56 5c7f0f088c93: Verifying Checksum 00:54:56 5c7f0f088c93: Download complete 00:55:11 39f8f326b044: Pull complete 00:55:11 e6a1e7a6a96a: Pull complete 00:55:11 4f4fb700ef54: Pull complete 00:55:11 d45d956e0dbf: Pull complete 00:55:11 d7702b0d1db1: Pull complete 00:55:21 5c7f0f088c93: Pull complete 00:55:22 4fdc064ae6cf: Pull complete 00:55:22 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 00:55:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 00:55:22 ---> 63f30b955cb9 00:55:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:55:23 ---> Running in d6ff4e0731b4 00:55:24 Removing intermediate container d6ff4e0731b4 00:55:24 ---> adc04eff226c 00:55:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:55:24 ---> Running in 42b7d6cd9341 00:55:24 Removing intermediate container 42b7d6cd9341 00:55:24 ---> 644eb5a1b7d3 00:55:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:55:24 ---> Running in 2f46ab5c3ed2 00:55:24 Removing intermediate container 2f46ab5c3ed2 00:55:24 ---> f85e52c61ec9 00:55:24 Step 6/12 : WORKDIR /device-uart 00:55:24 ---> Running in 7f3c7d5601fb 00:55:25 Removing intermediate container 7f3c7d5601fb 00:55:25 ---> 6411a59b98de 00:55:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:25 ---> Running in 7249df908c09 00:55:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:55:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:55:29 (1/4) Installing openssh-keygen (9.7_p1-r5) 00:55:29 (2/4) Installing libedit (20240517.3.1-r0) 00:55:29 (3/4) Installing openssh-client-common (9.7_p1-r5) 00:55:29 (4/4) Installing openssh-client-default (9.7_p1-r5) 00:55:29 Executing busybox-1.36.1-r29.trigger 00:55:29 OK: 244 MiB in 62 packages 00:55:30 Removing intermediate container 7249df908c09 00:55:30 ---> dbc34fbefec2 00:55:30 Step 8/12 : COPY go.mod vendor* ./ 00:55:30 ---> caed1202c172 00:55:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:31 ---> Running in 37e2010145b8 00:57:22 Removing intermediate container 37e2010145b8 00:57:22 ---> 085449524683 00:57:22 Step 10/12 : COPY . . 00:57:23 ---> 450004a5b315 00:57:23 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:23 ---> Running in a7bafcedb7c9 00:57:24 Removing intermediate container a7bafcedb7c9 00:57:24 ---> ca32fb8f1f3b 00:57:24 Step 12/12 : RUN ${MAKE} 00:57:24 ---> Running in 45801f2edeb8 00:57:25 noop 00:57:26 Removing intermediate container 45801f2edeb8 00:57:26 ---> 0e16d5dd2b10 00:57:26 Successfully built 0e16d5dd2b10 00:57:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:26 + docker inspect -f . ci-base-image-arm64 00:57:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:27 prd-ubuntu20.04-docker-arm64-4c-16g-40116 does not seem to be running inside a container 00:57:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/51 -v /w/workspace/device-uart/51:/w/workspace/device-uart/51:rw,z -v /w/workspace/device-uart/51@tmp:/w/workspace/device-uart/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:57:28 $ docker top 6a08aa6f5797b68fb721f8a42eafcecb810854f46fd68713c8670d40e337b4d3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:29 + go version 00:57:29 go version go1.23.4 linux/arm64 [Pipeline] } 00:57:29 $ docker stop --time=1 6a08aa6f5797b68fb721f8a42eafcecb810854f46fd68713c8670d40e337b4d3 00:57:31 $ docker rm -f --volumes 6a08aa6f5797b68fb721f8a42eafcecb810854f46fd68713c8670d40e337b4d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:32 + docker inspect -f . ci-base-image-arm64 00:57:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:32 prd-ubuntu20.04-docker-arm64-4c-16g-40116 does not seem to be running inside a container 00:57:32 $ 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/51 -v /w/workspace/device-uart/51:/w/workspace/device-uart/51:rw,z -v /w/workspace/device-uart/51@tmp:/w/workspace/device-uart/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:57:34 $ docker top 64b303e823cbed6f68a17ba98000a5ca91c0c09f9eeaaebe22000da89845e4aa -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:34 + git config --global --add safe.directory /w/workspace/device-uart/51 [Pipeline] fileExists [Pipeline] sh 00:57:35 + make test 00:57:35 go test ./... -coverprofile=coverage.out 00:57:42 ? github.com/edgexfoundry/device-uart [no test files] 01:02:35 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 01:02:35 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 01:02:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:02:35 go vet ./... 01:03:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:03:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:03:43 ./bin/test-attribution-txt.sh [Pipeline] echo 01:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:03:43 $ docker stop --time=1 64b303e823cbed6f68a17ba98000a5ca91c0c09f9eeaaebe22000da89845e4aa 01:03:45 $ docker rm -f --volumes 64b303e823cbed6f68a17ba98000a5ca91c0c09f9eeaaebe22000da89845e4aa [Pipeline] // withDockerContainer [Pipeline] sh 01:03:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:03:47 Warning: overwriting stash ‘coverage-report’ 01:03:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:03:49 + ls -al . 01:03:49 total 220 01:03:49 drwxrwxr-x 7 jenkins jenkins 4096 Mar 4 00:57 . 01:03:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 00:54 .. 01:03:49 -rw-rw-r-- 1 jenkins jenkins 140 Mar 4 00:54 .dockerignore 01:03:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 00:54 .git 01:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:54 .github 01:03:49 -rw-rw-r-- 1 jenkins jenkins 343 Mar 4 00:54 .gitignore 01:03:49 -rw-rw-r-- 1 jenkins jenkins 198 Mar 4 00:54 .golangci.yml 01:03:49 -rw-rw-r-- 1 jenkins jenkins 18662 Mar 4 00:54 Attribution.txt 01:03:49 -rw-rw-r-- 1 jenkins jenkins 1908 Mar 4 00:54 CHANGELOG.md 01:03:49 -rw-rw-r-- 1 jenkins jenkins 1919 Mar 4 00:54 Dockerfile 01:03:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 00:54 GOVERNANCE.md 01:03:49 -rw-rw-r-- 1 jenkins jenkins 675 Mar 4 00:54 Jenkinsfile 01:03:49 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 00:54 LICENSE 01:03:49 -rw-rw-r-- 1 jenkins jenkins 2455 Mar 4 00:54 Makefile 01:03:49 -rw-rw-r-- 1 jenkins jenkins 617 Mar 4 00:54 OWNERS.md 01:03:49 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 4 00:54 README.md 01:03:49 -rw-rw-r-- 1 jenkins jenkins 11 Mar 4 00:51 VERSION 01:03:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 00:54 bin 01:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:54 cmd 01:03:49 -rw-r--r-- 1 jenkins jenkins 6770 Mar 4 01:02 coverage.out 01:03:49 -rw-rw-r-- 1 jenkins jenkins 6121 Mar 4 00:54 go.mod 01:03:49 -rw-rw-r-- 1 jenkins jenkins 86847 Mar 4 00:54 go.sum 01:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:54 internal 01:03:49 -rw-rw-r-- 1 jenkins jenkins 209 Mar 4 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:49 + 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=a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 --label arch=arm64 --label version=4.0.0-dev.9 . 01:03:50 Sending build context to Docker daemon 13MB 01:03:50 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:03:50 Step 2/26 : FROM ${BASE} AS builder 01:03:50 ---> 0e16d5dd2b10 01:03:50 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:03:50 ---> Running in 24a0e1eb7e55 01:03:51 Removing intermediate container 24a0e1eb7e55 01:03:51 ---> 6ea2c21084be 01:03:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:03:51 ---> Running in 11a21e98688e 01:03:51 Removing intermediate container 11a21e98688e 01:03:51 ---> f7eee7b84944 01:03:51 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:03:51 ---> Running in 1951816c61ea 01:03:52 Removing intermediate container 1951816c61ea 01:03:52 ---> f8ae1d5d7618 01:03:52 Step 6/26 : WORKDIR /device-uart 01:03:52 ---> Running in e4fa20ec3e6c 01:03:52 Removing intermediate container e4fa20ec3e6c 01:03:52 ---> f3734aa0f21f 01:03:52 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:03:52 ---> Running in 85cb91508bcd 01:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:03:56 OK: 244 MiB in 62 packages 01:03:57 Removing intermediate container 85cb91508bcd 01:03:57 ---> d4b7eda7b5dc 01:03:57 Step 8/26 : COPY go.mod vendor* ./ 01:03:57 ---> 6f769216c7ed 01:03:57 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:03:57 ---> Running in 21b3a42ba7ed 01:04:00 Removing intermediate container 21b3a42ba7ed 01:04:00 ---> e5965c4d2dea 01:04:00 Step 10/26 : COPY . . 01:04:01 ---> d719b3263853 01:04:01 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:01 ---> Running in 8000fc5e2952 01:04:02 Removing intermediate container 8000fc5e2952 01:04:02 ---> 0572391646c0 01:04:02 Step 12/26 : RUN ${MAKE} 01:04:02 ---> Running in f93a6073b735 01:04:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 01:08:24 Removing intermediate container f93a6073b735 01:08:24 ---> 28f3aa8240fd 01:08:24 Step 13/26 : FROM alpine:3.20 01:08:24 3.20: Pulling from library/alpine 01:08:24 94e9d8af2201: Pulling fs layer 01:08:24 94e9d8af2201: Verifying Checksum 01:08:24 94e9d8af2201: Download complete 01:08:24 94e9d8af2201: Pull complete 01:08:24 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:08:24 Status: Downloaded newer image for alpine:3.20 01:08:24 ---> 7aab056cecc6 01:08:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:08:24 ---> Running in 3b93c20032ee 01:08:24 Removing intermediate container 3b93c20032ee 01:08:24 ---> ef13afa770e2 01:08:24 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:08:24 ---> Running in 8fa245caecc2 01:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:08:24 (1/1) Installing dumb-init (1.2.5-r3) 01:08:24 Executing busybox-1.36.1-r29.trigger 01:08:24 OK: 9 MiB in 15 packages 01:08:24 Removing intermediate container 8fa245caecc2 01:08:24 ---> 85dd611d6a62 01:08:24 Step 16/26 : RUN apk --no-cache upgrade 01:08:24 ---> Running in 53912a5f9156 01:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:08:24 OK: 9 MiB in 15 packages 01:08:24 Removing intermediate container 53912a5f9156 01:08:24 ---> b3a4101b12f8 01:08:24 Step 17/26 : WORKDIR / 01:08:24 ---> Running in f7097bbadc95 01:08:24 Removing intermediate container f7097bbadc95 01:08:24 ---> 4ffd2603da28 01:08:24 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 01:08:24 ---> 84372fb65dcb 01:08:24 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 01:08:25 ---> dc5f4ef41db5 01:08:25 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 01:08:27 ---> c34ea5123313 01:08:27 Step 21/26 : EXPOSE 59995 01:08:27 ---> Running in 825b23c03d70 01:08:28 Removing intermediate container 825b23c03d70 01:08:28 ---> b6e4ba3be0d0 01:08:28 Step 22/26 : ENTRYPOINT ["/device-uart"] 01:08:28 ---> Running in 322effc78e36 01:08:28 Removing intermediate container 322effc78e36 01:08:28 ---> b4f0090946e5 01:08:28 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:08:28 ---> Running in c72aa15776dc 01:08:28 Removing intermediate container c72aa15776dc 01:08:28 ---> 01223707ba31 01:08:28 Step 24/26 : LABEL arch=arm64 01:08:28 ---> Running in bbc293362068 01:08:29 Removing intermediate container bbc293362068 01:08:29 ---> 94a3be23639e 01:08:29 Step 25/26 : LABEL git_sha=a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 01:08:29 ---> Running in 28970f617f82 01:08:29 Removing intermediate container 28970f617f82 01:08:29 ---> 5c05e898685f 01:08:29 Step 26/26 : LABEL version=4.0.0-dev.9 01:08:29 ---> Running in d98101733f52 01:08:29 Removing intermediate container d98101733f52 01:08:29 ---> fc6ab4853912 01:08:29 [Warning] One or more build-args [ARCH] were not consumed 01:08:30 Successfully built fc6ab4853912 01:08:30 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 01:08:30 provisioning config files... 01:08:30 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/51@tmp/config3401121732999311381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:30 ---> ****-login.sh 01:08:30 nexus3.edgexfoundry.org:10001 01:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:08:31 Configure a credential helper to remove this warning. See 01:08:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:08:31 01:08:31 Login Succeeded 01:08:31 nexus3.edgexfoundry.org:10002 01:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:08:31 Configure a credential helper to remove this warning. See 01:08:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:08:31 01:08:31 Login Succeeded 01:08:31 nexus3.edgexfoundry.org:10003 01:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:08:31 Configure a credential helper to remove this warning. See 01:08:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:08:31 01:08:31 Login Succeeded 01:08:32 nexus3.edgexfoundry.org:10004 01:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:08:32 Configure a credential helper to remove this warning. See 01:08:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:08:32 01:08:32 Login Succeeded 01:08:32 ****.io 01:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:08:32 Configure a credential helper to remove this warning. See 01:08:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:08:32 01:08:32 Login Succeeded 01:08:32 ---> ****-login.sh ends [Pipeline] } 01:08:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:08:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:08:33 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 01:08:33 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 01:08:33 latest 01:08:33 4.0.0-dev.9 01:08:33 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9 01:08:33 main 01:08:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:33 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:33 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 01:08:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:08:33 e525a480af9d: Preparing 01:08:33 fe655d37b046: Preparing 01:08:33 53f3a9fdbb2b: Preparing 01:08:33 7b1aa764f453: Preparing 01:08:33 1f8901836b55: Preparing 01:08:33 dd9c8f8612c8: Preparing 01:08:33 dd9c8f8612c8: Waiting 01:08:34 53f3a9fdbb2b: Pushed 01:08:34 fe655d37b046: Pushed 01:08:34 1f8901836b55: Pushed 01:08:34 7b1aa764f453: Pushed 01:08:34 dd9c8f8612c8: Layer already exists 01:08:44 e525a480af9d: Pushed 01:08:44 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010: digest: sha256:3816d8dde05a0a3ddb2c9017411d560d6314ac97f7a3c18f88b2f7b6e65a2d8f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:44 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:45 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 01:08:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:08:45 e525a480af9d: Preparing 01:08:45 fe655d37b046: Preparing 01:08:45 53f3a9fdbb2b: Preparing 01:08:45 7b1aa764f453: Preparing 01:08:45 1f8901836b55: Preparing 01:08:45 dd9c8f8612c8: Preparing 01:08:45 dd9c8f8612c8: Waiting 01:08:45 1f8901836b55: Layer already exists 01:08:45 e525a480af9d: Layer already exists 01:08:45 7b1aa764f453: Layer already exists 01:08:45 53f3a9fdbb2b: Layer already exists 01:08:45 fe655d37b046: Layer already exists 01:08:45 dd9c8f8612c8: Layer already exists 01:08:45 latest: digest: sha256:3816d8dde05a0a3ddb2c9017411d560d6314ac97f7a3c18f88b2f7b6e65a2d8f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:45 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:46 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.9 01:08:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:08:46 e525a480af9d: Preparing 01:08:46 fe655d37b046: Preparing 01:08:46 53f3a9fdbb2b: Preparing 01:08:46 7b1aa764f453: Preparing 01:08:46 1f8901836b55: Preparing 01:08:46 dd9c8f8612c8: Preparing 01:08:46 dd9c8f8612c8: Waiting 01:08:46 53f3a9fdbb2b: Layer already exists 01:08:46 7b1aa764f453: Layer already exists 01:08:46 fe655d37b046: Layer already exists 01:08:46 1f8901836b55: Layer already exists 01:08:46 e525a480af9d: Layer already exists 01:08:46 dd9c8f8612c8: Layer already exists 01:08:46 4.0.0-dev.9: digest: sha256:3816d8dde05a0a3ddb2c9017411d560d6314ac97f7a3c18f88b2f7b6e65a2d8f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:46 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:47 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9 01:08:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:08:47 e525a480af9d: Preparing 01:08:47 fe655d37b046: Preparing 01:08:47 53f3a9fdbb2b: Preparing 01:08:47 7b1aa764f453: Preparing 01:08:47 1f8901836b55: Preparing 01:08:47 dd9c8f8612c8: Preparing 01:08:47 dd9c8f8612c8: Waiting 01:08:47 53f3a9fdbb2b: Layer already exists 01:08:47 e525a480af9d: Layer already exists 01:08:47 fe655d37b046: Layer already exists 01:08:47 7b1aa764f453: Layer already exists 01:08:47 1f8901836b55: Layer already exists 01:08:47 dd9c8f8612c8: Layer already exists 01:08:47 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9: digest: sha256:3816d8dde05a0a3ddb2c9017411d560d6314ac97f7a3c18f88b2f7b6e65a2d8f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:47 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:48 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 01:08:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 01:08:48 e525a480af9d: Preparing 01:08:48 fe655d37b046: Preparing 01:08:48 53f3a9fdbb2b: Preparing 01:08:48 7b1aa764f453: Preparing 01:08:48 1f8901836b55: Preparing 01:08:48 dd9c8f8612c8: Preparing 01:08:48 dd9c8f8612c8: Waiting 01:08:48 fe655d37b046: Layer already exists 01:08:48 7b1aa764f453: Layer already exists 01:08:48 1f8901836b55: Layer already exists 01:08:48 e525a480af9d: Layer already exists 01:08:48 53f3a9fdbb2b: Layer already exists 01:08:48 dd9c8f8612c8: Layer already exists 01:08:48 main: digest: sha256:3816d8dde05a0a3ddb2c9017411d560d6314ac97f7a3c18f88b2f7b6e65a2d8f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:08:48 ===================================================== [Pipeline] echo 01:08:48 taggedImages: 01:08:48 - nexus3.edgexfoundry.org:10004/device-uart-arm64:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 01:08:48 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 01:08:48 - nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.9 01:08:48 - nexus3.edgexfoundry.org:10004/device-uart-arm64:a079b5b4fb22d65cc5c8aeba768d9d4948d7a010-4.0.0-dev.9 01:08:48 - nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:08:49 01:08:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:08:49 arm64: Pulling from edgex-lftools-log-publisher 01:08:49 8998bd30e6a1: Pulling fs layer 01:08:49 04944245beec: Pulling fs layer 01:08:49 699f458cf7ca: Pulling fs layer 01:08:49 765212b225bb: Pulling fs layer 01:08:49 f23df028b6ca: Pulling fs layer 01:08:49 d65c8cfc05b1: Pulling fs layer 01:08:49 2437ff75d9bd: Pulling fs layer 01:08:49 f23df028b6ca: Waiting 01:08:49 d65c8cfc05b1: Waiting 01:08:49 2437ff75d9bd: Waiting 01:08:49 765212b225bb: Waiting 01:08:49 04944245beec: Verifying Checksum 01:08:49 04944245beec: Download complete 01:08:49 765212b225bb: Verifying Checksum 01:08:49 765212b225bb: Download complete 01:08:49 f23df028b6ca: Verifying Checksum 01:08:49 f23df028b6ca: Download complete 01:08:49 d65c8cfc05b1: Verifying Checksum 01:08:49 d65c8cfc05b1: Download complete 01:08:50 699f458cf7ca: Verifying Checksum 01:08:50 699f458cf7ca: Download complete 01:08:50 8998bd30e6a1: Verifying Checksum 01:08:50 8998bd30e6a1: Download complete 01:08:52 2437ff75d9bd: Verifying Checksum 01:08:52 2437ff75d9bd: Download complete 01:08:54 8998bd30e6a1: Pull complete 01:08:55 04944245beec: Pull complete 01:08:56 699f458cf7ca: Pull complete 01:08:57 765212b225bb: Pull complete 01:08:57 f23df028b6ca: Pull complete 01:08:57 d65c8cfc05b1: Pull complete 01:09:14 2437ff75d9bd: Pull complete 01:09:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:09:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:14 prd-ubuntu20.04-docker-arm64-4c-16g-40116 does not seem to be running inside a container 01:09:14 $ 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/51 -v /w/workspace/device-uart/51:/w/workspace/device-uart/51:rw,z -v /w/workspace/device-uart/51@tmp:/w/workspace/device-uart/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:09:18 $ docker top d85c3bbb8df852f78a677bae6b4d5ceef47b93f39866214c70a4449555e78554 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:19 ---> job-cost.sh 01:09:19 lf-activate-venv: SKIPPING 01:09:19 INFO: No Stack... 01:09:19 INFO: Retrieving Pricing Info for: v3-standard-4 01:09:20 INFO: Archiving Costs [Pipeline] sh 01:09:21 + cat /w/workspace/device-uart/51/archives/cost.csv 01:09:21 + cut -d, -f6 [Pipeline] lock 01:09:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-51-stack-cost] 01:09:21 Resource [jenkins-edgexfoundry-device-uart-main-51-stack-cost] did not exist. Created. 01:09:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:09:22 /w/workspace/device-uart/51@tmp/durable-b8d648f7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:09:22 + echo total: 0.10999999940395355 [Pipeline] stash 01:09:22 Warning: overwriting stash ‘stack-cost’ 01:09:22 Stashed 1 file(s) [Pipeline] } 01:09:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 01:09:22 $ docker stop --time=1 d85c3bbb8df852f78a677bae6b4d5ceef47b93f39866214c70a4449555e78554 01:09:24 $ docker rm -f --volumes d85c3bbb8df852f78a677bae6b4d5ceef47b93f39866214c70a4449555e78554 [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 01:09:25 provisioning config files... 01:09:25 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11057665522186571114tmp [Pipeline] { [Pipeline] sh 01:09:25 + set +x 01:09:25 + curl -s https://codecov.io/bash 01:09:25 + bash -s -- 01:09:25 01:09:25 _____ _ 01:09:25 / ____| | | 01:09:25 | | ___ __| | ___ ___ _____ __ 01:09:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:09:25 | |___| (_) | (_| | __/ (_| (_) \ V / 01:09:25 \_____\___/ \__,_|\___|\___\___/ \_/ 01:09:25 Bash-1.0.6 01:09:25 01:09:25 01:09:25 ==> git version 2.25.1 found 01:09:25 ==> 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 01:09:25 Release-Date: 2020-01-08 01:09:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:09:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:09:25 ==> Jenkins CI detected. 01:09:25 current dir:  /w/workspace/edgexfoundry_device-uart_main 01:09:25 project root: . 01:09:25 --> token set from env 01:09:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:09:25 ==> Running gcov in . (disable via -X gcov) 01:09:25 ==> Python coveragepy not found 01:09:25 ==> Searching for coverage reports in: 01:09:25 + . 01:09:25 -> Found 1 reports 01:09:25 ==> Detecting git/mercurial file structure 01:09:25 ==> Reading reports 01:09:25 + ./coverage.out bytes=6770 01:09:25 ==> Appending adjustments 01:09:25 https://docs.codecov.io/docs/fixing-reports 01:09:25 + Found adjustments 01:09:25 ==> Gzipping contents 01:09:25 4.0K /tmp/codecov.EpBZCp.gz 01:09:25 ==> Uploading reports 01:09:25 url: https://codecov.io 01:09:25 query: branch=main&commit=a079b5b4fb22d65cc5c8aeba768d9d4948d7a010&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 01:09:25 -> Pinging Codecov 01:09:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a079b5b4fb22d65cc5c8aeba768d9d4948d7a010&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 01:09:25 -> Uploading to 01:09:25 https://storage.googleapis.com/codecov-production/shelter/v4/github/lf-edge/device-uart/a079b5b4fb22d65cc5c8aeba768d9d4948d7a010/24160bcb-218f-4578-af06-a897a75d6338.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250304%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250304T010925Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=938b40afddfe950ad380d1d6b5dc20d476e06f87471aa36247945de0fdea465d 01:09:25 % Total % Received % Xferd Average Speed Time Time Time Current 01:09:25 Dload Upload Total Spent Left Speed 01:09:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 9000 --:--:-- --:--:-- --:--:-- 9000 01:09:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [Pipeline] } 01:09:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:09:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:09:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:09:26 01:09:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:09:26 latest: Pulling from edgex-devops/edgex-snyk-go 01:09:26 43c4264eed91: Pulling fs layer 01:09:26 4cc291be95ef: Pulling fs layer 01:09:26 2ac1f1163629: Pulling fs layer 01:09:26 5c3c966382ef: Pulling fs layer 01:09:26 4f4fb700ef54: Pulling fs layer 01:09:26 d9c7d2e4e75e: Pulling fs layer 01:09:26 9c3e1370e548: Pulling fs layer 01:09:26 5c3c966382ef: Waiting 01:09:26 4f4fb700ef54: Waiting 01:09:26 9c3e1370e548: Waiting 01:09:26 d9c7d2e4e75e: Waiting 01:09:26 4cc291be95ef: Verifying Checksum 01:09:26 4cc291be95ef: Download complete 01:09:26 5c3c966382ef: Verifying Checksum 01:09:26 5c3c966382ef: Download complete 01:09:26 4f4fb700ef54: Download complete 01:09:26 43c4264eed91: Download complete 01:09:26 43c4264eed91: Pull complete 01:09:26 d9c7d2e4e75e: Verifying Checksum 01:09:26 d9c7d2e4e75e: Download complete 01:09:26 4cc291be95ef: Pull complete 01:09:27 2ac1f1163629: Verifying Checksum 01:09:27 2ac1f1163629: Download complete 01:09:27 9c3e1370e548: Verifying Checksum 01:09:27 9c3e1370e548: Download complete 01:09:30 2ac1f1163629: Pull complete 01:09:30 5c3c966382ef: Pull complete 01:09:30 4f4fb700ef54: Pull complete 01:09:30 d9c7d2e4e75e: Pull complete 01:09:33 9c3e1370e548: Pull complete 01:09:33 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 01:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:09:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:33 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 01:09:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:09:35 $ docker top 16a378d30e48581e841ac72af1aa087410a54abe7d6870a53da70b8fa616895c -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 01:09:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 01:09:36 + set -o pipefail 01:09:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 01:09:43 01:09:43 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 01:09:43 01:09:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/fa480f9e-8a50-4072-9891-724023e31ebb 01:09:43 01:09:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:09:43 01:09:43 01:09:43 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 01:09:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:09:43 $ docker stop --time=1 16a378d30e48581e841ac72af1aa087410a54abe7d6870a53da70b8fa616895c 01:09:45 $ docker rm -f --volumes 16a378d30e48581e841ac72af1aa087410a54abe7d6870a53da70b8fa616895c [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 01:09:46 + git log --format=format:%s -1 a079b5b4fb22d65cc5c8aeba768d9d4948d7a010 [Pipeline] sh 01:09:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:09:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:09:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:47 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 01:09:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:09:47 $ docker top 494fcfb2a0068deed46080230207a4577722205c794ef8adbe91a82e7e53e2bc -eo pid,comm 01:09:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:09:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:09:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:47 [ssh-agent] Looking for ssh-agent implementation... 01:09:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:47 $ docker exec 494fcfb2a0068deed46080230207a4577722205c794ef8adbe91a82e7e53e2bc ssh-agent 01:09:47 SSH_AUTH_SOCK=/tmp/ssh-tmnwzLomToLH/agent.33 01:09:47 SSH_AGENT_PID=39 01:09:47 Running ssh-add (command line suppressed) 01:09:47 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11108426847822646249.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11108426847822646249.key) 01:09:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:48 + git semver tag 01:09:48 2025-03-04 01:09:48,508 [run_tag] DEBUG tag force:False 01:09:48 2025-03-04 01:09:48,508 [check_head_tag] DEBUG check head tag 01:09:48 2025-03-04 01:09:48,509 [execute] INFO git cat-file --batch-check 01:09:48 2025-03-04 01:09:48,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 01:09:48 2025-03-04 01:09:48,512 [execute] INFO git cat-file --batch 01:09:48 2025-03-04 01:09:48,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 01:09:48 2025-03-04 01:09:48,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:09:48 2025-03-04 01:09:48,530 [execute] INFO git tag -a v4.0.0-dev.9 -m v4.0.0-dev.9 01:09:48 2025-03-04 01:09:48,531 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.9', '-m', 'v4.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 01:09:48 2025-03-04 01:09:48,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:09:48 4.0.0-dev.9 [Pipeline] } 01:09:48 $ docker exec --env ******** --env ******** 494fcfb2a0068deed46080230207a4577722205c794ef8adbe91a82e7e53e2bc ssh-agent -k 01:09:48 unset SSH_AUTH_SOCK; 01:09:48 unset SSH_AGENT_PID; 01:09:48 echo Agent pid 39 killed; 01:09:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:09:49 + git semver [Pipeline] } 01:09:49 $ docker stop --time=1 494fcfb2a0068deed46080230207a4577722205c794ef8adbe91a82e7e53e2bc 01:09:50 $ docker rm -f --volumes 494fcfb2a0068deed46080230207a4577722205c794ef8adbe91a82e7e53e2bc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:09:50 01:09:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:09:51 0.23.1-centos7: Pulling from edgex-lftools 01:09:51 ab5ef0e58194: Pulling fs layer 01:09:51 9712f1f96733: Pulling fs layer 01:09:51 63f879dbbcfc: Pulling fs layer 01:09:51 0d9ebad4ef96: Pulling fs layer 01:09:51 e9a5061849ea: Pulling fs layer 01:09:51 d747dcd14b5f: Pulling fs layer 01:09:51 2de7ff778b66: Pulling fs layer 01:09:51 0d9ebad4ef96: Waiting 01:09:51 e9a5061849ea: Waiting 01:09:51 d747dcd14b5f: Waiting 01:09:51 2de7ff778b66: Waiting 01:09:51 9712f1f96733: Verifying Checksum 01:09:51 9712f1f96733: Download complete 01:09:51 63f879dbbcfc: Verifying Checksum 01:09:51 63f879dbbcfc: Download complete 01:09:51 e9a5061849ea: Verifying Checksum 01:09:51 e9a5061849ea: Download complete 01:09:51 d747dcd14b5f: Verifying Checksum 01:09:51 d747dcd14b5f: Download complete 01:09:51 ab5ef0e58194: Verifying Checksum 01:09:51 ab5ef0e58194: Download complete 01:09:51 0d9ebad4ef96: Verifying Checksum 01:09:51 0d9ebad4ef96: Download complete 01:09:51 2de7ff778b66: Verifying Checksum 01:09:51 2de7ff778b66: Download complete 01:09:54 ab5ef0e58194: Pull complete 01:09:54 9712f1f96733: Pull complete 01:09:55 63f879dbbcfc: Pull complete 01:09:58 0d9ebad4ef96: Pull complete 01:09:59 e9a5061849ea: Pull complete 01:09:59 d747dcd14b5f: Pull complete 01:10:00 2de7ff778b66: Pull complete 01:10:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:10:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:00 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 01:10:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:10:02 $ docker top 2a22ac9056a771cd27a0dda526ff0d87fd5e58301a4c473712d8911f7bcee5f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:10:02 provisioning config files... 01:10:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15059505438033922256tmp 01:10:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config13314689404755063103tmp 01:10:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15007873774260199160tmp [Pipeline] { [Pipeline] echo 01:10:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:10:03 ---> sigul-configuration.sh 01:10:03 gpg: directory `/root/.gnupg' created 01:10:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:10:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:10:03 gpg: keyring `/root/.gnupg/secring.gpg' created 01:10:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:10:03 gpg: CAST5 encrypted data 01:10:03 gpg: encrypted with 1 passphrase 01:10:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:10:03 + mkdir /home/jenkins 01:10:03 + mkdir /home/jenkins/sigul [Pipeline] sh 01:10:03 + 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 01:10:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:10:03 ---> sigul-install.sh 01:10:03 Sigul already installed; skipping installation. [Pipeline] sh 01:10:04 + git tag --list 01:10:04 v0.0.0 01:10:04 v0.0.1-dev.1 01:10:04 v0.0.1-dev.2 01:10:04 v0.0.1-dev.3 01:10:04 v0.0.1-dev.4 01:10:04 v3.0.0 01:10:04 v3.0.1-dev.1 01:10:04 v3.0.1-dev.10 01:10:04 v3.0.1-dev.11 01:10:04 v3.0.1-dev.12 01:10:04 v3.0.1-dev.13 01:10:04 v3.0.1-dev.14 01:10:04 v3.0.1-dev.15 01:10:04 v3.0.1-dev.16 01:10:04 v3.0.1-dev.17 01:10:04 v3.0.1-dev.18 01:10:04 v3.0.1-dev.19 01:10:04 v3.0.1-dev.2 01:10:04 v3.0.1-dev.20 01:10:04 v3.0.1-dev.21 01:10:04 v3.0.1-dev.22 01:10:04 v3.0.1-dev.23 01:10:04 v3.0.1-dev.24 01:10:04 v3.0.1-dev.25 01:10:04 v3.0.1-dev.26 01:10:04 v3.0.1-dev.27 01:10:04 v3.0.1-dev.28 01:10:04 v3.0.1-dev.29 01:10:04 v3.0.1-dev.3 01:10:04 v3.0.1-dev.30 01:10:04 v3.0.1-dev.31 01:10:04 v3.0.1-dev.32 01:10:04 v3.0.1-dev.33 01:10:04 v3.0.1-dev.34 01:10:04 v3.0.1-dev.4 01:10:04 v3.0.1-dev.5 01:10:04 v3.0.1-dev.6 01:10:04 v3.0.1-dev.7 01:10:04 v3.0.1-dev.8 01:10:04 v3.0.1-dev.9 01:10:04 v3.1 01:10:04 v3.1.0 01:10:04 v3.1.1 01:10:04 v3.1.1-dev.1 01:10:04 v4.0.0-dev.1 01:10:04 v4.0.0-dev.2 01:10:04 v4.0.0-dev.3 01:10:04 v4.0.0-dev.4 01:10:04 v4.0.0-dev.5 01:10:04 v4.0.0-dev.6 01:10:04 v4.0.0-dev.7 01:10:04 v4.0.0-dev.8 01:10:04 v4.0.0-dev.9 [Pipeline] sh 01:10:04 + lftools sign git-tag v4.0.0-dev.9 01:10:05 Signing Git tag with Sigul... 01:10:05 Signing v4.0.0-dev.9 [Pipeline] echo 01:10:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:10:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:10:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:10:05 $ docker stop --time=1 2a22ac9056a771cd27a0dda526ff0d87fd5e58301a4c473712d8911f7bcee5f3 01:10:07 $ docker rm -f --volumes 2a22ac9056a771cd27a0dda526ff0d87fd5e58301a4c473712d8911f7bcee5f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:10:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:10:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:10:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:07 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 01:10:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:10:08 $ docker top d48f57b34aab1eb8841659e6b599ea6d3df2b4a6c05b99d4928fb5fb8f47bda7 -eo pid,comm 01:10:08 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). 01:10:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:10:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:10:08 [ssh-agent] Looking for ssh-agent implementation... 01:10:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:10:08 $ docker exec d48f57b34aab1eb8841659e6b599ea6d3df2b4a6c05b99d4928fb5fb8f47bda7 ssh-agent 01:10:08 SSH_AUTH_SOCK=/tmp/ssh-wBjwGGSIyxVs/agent.32 01:10:08 SSH_AGENT_PID=38 01:10:08 Running ssh-add (command line suppressed) 01:10:08 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12710990257294602195.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_12710990257294602195.key) 01:10:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:10:08 + git semver bump pre 01:10:09 2025-03-04 01:10:09,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:10:09 2025-03-04 01:10:09,170 [bump_version] DEBUG bumping version:4.0.0-dev.9 on axis:pre with prefix:dev 01:10:09 2025-03-04 01:10:09,170 [bump_version] DEBUG bumped version:4.0.0-dev.10 01:10:09 2025-03-04 01:10:09,170 [write_version] DEBUG write version:4.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 01:10:09 2025-03-04 01:10:09,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:10:09 2025-03-04 01:10:09,170 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 01:10:09 2025-03-04 01:10:09,172 [execute] INFO git cat-file --batch-check 01:10:09 2025-03-04 01:10:09,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:10:09 2025-03-04 01:10:09,179 [execute] INFO git cat-file --batch 01:10:09 2025-03-04 01:10:09,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:10:09 2025-03-04 01:10:09,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:10:09 4.0.0-dev.10 [Pipeline] } 01:10:09 $ docker exec --env ******** --env ******** d48f57b34aab1eb8841659e6b599ea6d3df2b4a6c05b99d4928fb5fb8f47bda7 ssh-agent -k 01:10:09 unset SSH_AUTH_SOCK; 01:10:09 unset SSH_AGENT_PID; 01:10:09 echo Agent pid 38 killed; 01:10:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:10:09 + git semver [Pipeline] } 01:10:09 $ docker stop --time=1 d48f57b34aab1eb8841659e6b599ea6d3df2b4a6c05b99d4928fb5fb8f47bda7 01:10:11 $ docker rm -f --volumes d48f57b34aab1eb8841659e6b599ea6d3df2b4a6c05b99d4928fb5fb8f47bda7 [Pipeline] // withDockerContainer [Pipeline] sh 01:10:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:10:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:10:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:11 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 01:10:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:10:12 $ docker top 0df936fe47731b573e92d105b8b141d75097173a7cd295ebe7c445d9da56af29 -eo pid,comm 01:10:12 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). 01:10:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:10:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:10:12 [ssh-agent] Looking for ssh-agent implementation... 01:10:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:10:12 $ docker exec 0df936fe47731b573e92d105b8b141d75097173a7cd295ebe7c445d9da56af29 ssh-agent 01:10:12 SSH_AUTH_SOCK=/tmp/ssh-diBv1p2yxG8L/agent.33 01:10:12 SSH_AGENT_PID=39 01:10:12 Running ssh-add (command line suppressed) 01:10:12 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3972446003403810513.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_3972446003403810513.key) 01:10:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:10:12 + git semver push 01:10:13 2025-03-04 01:10:13,154 [run_push] DEBUG push 01:10:13 2025-03-04 01:10:13,154 [execute] INFO git cat-file --batch-check 01:10:13 2025-03-04 01:10:13,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 01:10:13 2025-03-04 01:10:13,158 [execute] INFO git rev-list 81f9457fba0d23c4fd1aa018c7d13d911afdc1a8 -- 01:10:13 2025-03-04 01:10:13,158 [execute] DEBUG Popen(['git', 'rev-list', '81f9457fba0d23c4fd1aa018c7d13d911afdc1a8', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 01:10:13 2025-03-04 01:10:13,161 [execute] INFO git fetch -v origin 01:10:13 2025-03-04 01:10:13,162 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 01:10:13 2025-03-04 01:10:13,681 [run_push] DEBUG no remote changes detected 01:10:13 2025-03-04 01:10:13,682 [execute] INFO git push origin semver 01:10:13 2025-03-04 01:10:13,682 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 01:10:14 2025-03-04 01:10:14,431 [run_push] DEBUG push all version tags 01:10:14 2025-03-04 01:10:14,432 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:10:14 2025-03-04 01:10:14,432 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 01:10:15 2025-03-04 01:10:15,377 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 01:10:15 4.0.0-dev.10 [Pipeline] } 01:10:15 $ docker exec --env ******** --env ******** 0df936fe47731b573e92d105b8b141d75097173a7cd295ebe7c445d9da56af29 ssh-agent -k 01:10:15 unset SSH_AUTH_SOCK; 01:10:15 unset SSH_AGENT_PID; 01:10:15 echo Agent pid 39 killed; 01:10:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:10:16 + git semver [Pipeline] } 01:10:16 $ docker stop --time=1 0df936fe47731b573e92d105b8b141d75097173a7cd295ebe7c445d9da56af29 01:10:17 $ docker rm -f --volumes 0df936fe47731b573e92d105b8b141d75097173a7cd295ebe7c445d9da56af29 [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 01:10:18 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 01:10:18 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 01:10:18 total 16 01:10:18 drwxr-xr-x 3 root root 4096 Mar 4 00:53 . 01:10:18 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 01:10 .. 01:10:18 drwxr-xr-x 2 root root 4096 Mar 4 00:53 cost 01:10:18 -rw-r--r-- 1 root root 82 Mar 4 00:53 cost.csv 01:10:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 01:10:18 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 01:10:18 total 16 01:10:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 00:53 . 01:10:18 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 01:10 .. 01:10:18 drwxr-xr-x 2 jenkins jenkins 4096 Mar 4 00:53 cost 01:10:18 -rw-r--r-- 1 jenkins jenkins 82 Mar 4 00:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:10:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:10:19 ---> package-listing.sh 01:10:19 ++ facter osfamily 01:10:19 ++ tr '[:upper:]' '[:lower:]' 01:10:19 + OS_FAMILY=debian 01:10:19 + workspace=/w/workspace/edgexfoundry_device-uart_main 01:10:19 + START_PACKAGES=/tmp/packages_start.txt 01:10:19 + END_PACKAGES=/tmp/packages_end.txt 01:10:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:10:19 + PACKAGES=/tmp/packages_start.txt 01:10:19 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 01:10:19 + PACKAGES=/tmp/packages_end.txt 01:10:19 + case "${OS_FAMILY}" in 01:10:19 + dpkg -l 01:10:19 + grep '^ii' 01:10:19 + '[' -f /tmp/packages_start.txt ']' 01:10:19 + '[' -f /tmp/packages_end.txt ']' 01:10:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:10:19 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 01:10:19 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 01:10:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 01:10:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:10:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:20 prd-ubuntu20.04-docker-8c-8g-40109 does not seem to be running inside a container 01:10:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_main -v /w/workspace/edgexfoundry_device-uart_main:/w/workspace/edgexfoundry_device-uart_main:rw,z -v /w/workspace/edgexfoundry_device-uart_main@tmp:/w/workspace/edgexfoundry_device-uart_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:10:20 $ docker top e2fbdcb1d543e37f801088db4510bc4bab242e4cba64ac5de8620e3f6c86a6cf -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:21 + touch /tmp/pre-build-complete [Pipeline] sh 01:10:21 + mkdir -p /var/log/sysstat [Pipeline] sh 01:10:21 + ls /var/log/sa-host 01:10:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:10:21 provisioning config files... 01:10:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9191533961153900400tmp [Pipeline] { [Pipeline] echo 01:10:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:10:22 ---> create-netrc.sh [Pipeline] } 01:10:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:10:22 ---> python-tools-install.sh [Pipeline] echo 01:10:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:10:22 ---> sudo-logs.sh 01:10:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:10:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:10:23 ---> job-cost.sh 01:10:23 lf-activate-venv: SKIPPING 01:10:23 DEBUG: total: 0.2199999988079071 01:10:23 INFO: Retrieving Stack Cost... 01:10:23 INFO: Retrieving Pricing Info for: v3-standard-8 01:10:23 INFO: Archiving Costs [Pipeline] echo 01:10:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:10:23 ---> logs-deploy.sh 01:10:23 lf-activate-venv: SKIPPING 01:10:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/51 01:10:23 INFO: archiving workspace using pattern(s): 01:10:24 Archives upload complete. 01:10:24 INFO: archiving logs to Nexus