Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 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-ssh11093336306328253835.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh15881937176326751288.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh902831991407399573.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh3583901582094720084.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-ssh9183833031390764954.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26433 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 Avoid second fetch Checking out Revision e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 # timeout=10 Commit message: "Merge pull request #88 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7" > git rev-list --no-walk 95d8f166fd10006397275f17c20ea67699b419bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:41:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:41:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:41:43 ========================================================= 08:41:43 EdgeX Global Pipelines Version Info 08:41:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:41:44 ------------------- 08:41:44 stable info: 08:41:44 ------------------- 08:41:44 Commited By: Ginny Guan ginny@iotechsys.com 08:41:44 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:41:44 Message: update stable to v1.0.265 08:41:45 ------------------- 08:41:45 experimental info: 08:41:45 ------------------- 08:41:45 Commited By: Cherry Wang cherry@iotechsys.com 08:41:45 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:41:45 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 08:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4c855a [Pipeline] echo 08:41:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:41:46 provisioning config files... 08:41:46 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config838475028209752699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:41:46 ---> ****-login.sh 08:41:46 nexus3.edgexfoundry.org:10001 08:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:47 Configure a credential helper to remove this warning. See 08:41:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:47 08:41:47 Login Succeeded 08:41:47 nexus3.edgexfoundry.org:10002 08:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:47 Configure a credential helper to remove this warning. See 08:41:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:47 08:41:47 Login Succeeded 08:41:47 nexus3.edgexfoundry.org:10003 08:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:47 Configure a credential helper to remove this warning. See 08:41:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:47 08:41:47 Login Succeeded 08:41:47 nexus3.edgexfoundry.org:10004 08:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:47 Configure a credential helper to remove this warning. See 08:41:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:47 08:41:47 Login Succeeded 08:41:47 ****.io 08:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:47 Configure a credential helper to remove this warning. See 08:41:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:47 08:41:47 Login Succeeded 08:41:47 ---> ****-login.sh ends [Pipeline] } 08:41:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:41:48 + git rev-list -1 --merges e4c855a3449b6b39a5a8172c08ce16b16d4f23c8~1..e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [Pipeline] echo 08:41:48 -----------> git rev-list -1 --merges e4c855a3449b6b39a5a8172c08ce16b16d4f23c8~1..e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:41:48 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [false] [Pipeline] sh 08:41:48 + git log --format=format:%s -1 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [Pipeline] echo 08:41:48 ========================================================= 08:41:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:41:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:41:48 + git log --format=format:%s -1 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [Pipeline] echo 08:41:48 [semverPrep] GIT_COMMIT: e4c855a3449b6b39a5a8172c08ce16b16d4f23c8, Commit Message: Merge pull request #88 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7 [Pipeline] echo 08:41:48 [semverPrep] This is not a build commit. [Pipeline] sh 08:41:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:41:49 + grep -v github /etc/ssh/ssh_known_hosts 08:41:49 + [ -e /tmp/ssh_known_hosts ] 08:41:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:41:49 + + sudo tee -a /etc/ssh/ssh_known_hosts 08:41:49 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:41:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:49 08:41:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:49 0.1.4: Pulling from edgex-devops/py-git-semver 08:41:49 b85a868b505f: Pulling fs layer 08:41:49 e2be974225ed: Pulling fs layer 08:41:49 339a4e72a1f5: Pulling fs layer 08:41:49 988bab9f4d93: Pulling fs layer 08:41:49 1469e6f7b9e6: Pulling fs layer 08:41:49 eaf3925da568: Pulling fs layer 08:41:49 bab4dde63d76: Pulling fs layer 08:41:49 bde34c3a00c8: Pulling fs layer 08:41:49 b352a97aabf1: Pulling fs layer 08:41:49 4872d77fe225: Pulling fs layer 08:41:49 5851b861e8e6: Pulling fs layer 08:41:49 988bab9f4d93: Waiting 08:41:49 1469e6f7b9e6: Waiting 08:41:49 bde34c3a00c8: Waiting 08:41:49 bab4dde63d76: Waiting 08:41:49 eaf3925da568: Waiting 08:41:49 b352a97aabf1: Waiting 08:41:49 4872d77fe225: Waiting 08:41:49 5851b861e8e6: Waiting 08:41:49 e2be974225ed: Verifying Checksum 08:41:49 e2be974225ed: Download complete 08:41:49 988bab9f4d93: Download complete 08:41:49 1469e6f7b9e6: Verifying Checksum 08:41:49 1469e6f7b9e6: Download complete 08:41:49 eaf3925da568: Verifying Checksum 08:41:49 eaf3925da568: Download complete 08:41:50 339a4e72a1f5: Verifying Checksum 08:41:50 339a4e72a1f5: Download complete 08:41:50 bde34c3a00c8: Download complete 08:41:50 b352a97aabf1: Download complete 08:41:50 4872d77fe225: Verifying Checksum 08:41:50 4872d77fe225: Download complete 08:41:50 5851b861e8e6: Verifying Checksum 08:41:50 5851b861e8e6: Download complete 08:41:50 b85a868b505f: Verifying Checksum 08:41:50 b85a868b505f: Download complete 08:41:50 bab4dde63d76: Verifying Checksum 08:41:50 bab4dde63d76: Download complete 08:41:51 b85a868b505f: Pull complete 08:41:51 e2be974225ed: Pull complete 08:41:52 339a4e72a1f5: Pull complete 08:41:52 988bab9f4d93: Pull complete 08:41:52 1469e6f7b9e6: Pull complete 08:41:52 eaf3925da568: Pull complete 08:41:54 bab4dde63d76: Pull complete 08:41:54 bde34c3a00c8: Pull complete 08:41:54 b352a97aabf1: Pull complete 08:41:54 4872d77fe225: Pull complete 08:41:54 5851b861e8e6: Pull complete 08:41:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:41:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:54 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 08:41:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:41:58 $ docker top fc5cdfbe53dddd82b02576851638216f8b1c405170b44f669f5f9ee0255fb5c2 -eo pid,comm 08:41:58 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). 08:41:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:42:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:42:02 [ssh-agent] Looking for ssh-agent implementation... 08:42:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:42:02 $ docker exec fc5cdfbe53dddd82b02576851638216f8b1c405170b44f669f5f9ee0255fb5c2 ssh-agent 08:42:02 SSH_AUTH_SOCK=/tmp/ssh-QJMyDPiAgvfr/agent.32 08:42:02 SSH_AGENT_PID=38 08:42:02 Running ssh-add (command line suppressed) 08:42:02 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13322085656563040563.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13322085656563040563.key) 08:42:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:42:02 + git tag --points-at HEAD [Pipeline] } 08:42:02 $ docker exec --env ******** --env ******** fc5cdfbe53dddd82b02576851638216f8b1c405170b44f669f5f9ee0255fb5c2 ssh-agent -k 08:42:02 unset SSH_AUTH_SOCK; 08:42:02 unset SSH_AGENT_PID; 08:42:02 echo Agent pid 38 killed; 08:42:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:42:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:42:02 [ssh-agent] Looking for ssh-agent implementation... 08:42:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:42:03 $ docker exec fc5cdfbe53dddd82b02576851638216f8b1c405170b44f669f5f9ee0255fb5c2 ssh-agent 08:42:03 SSH_AUTH_SOCK=/tmp/ssh-xAhBo5LS2Ii1/agent.72 08:42:03 SSH_AGENT_PID=78 08:42:03 Running ssh-add (command line suppressed) 08:42:03 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17576110287470251694.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_17576110287470251694.key) 08:42:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:42:03 + git semver init 08:42:03 2024-11-14 08:42:03,791 [run_init] DEBUG init version:0.0.0 force:False 08:42:03 2024-11-14 08:42:03,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver 08:42:03 2024-11-14 08:42:03,792 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver 08:42:03 2024-11-14 08:42:03,793 [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) 08:42:05 2024-11-14 08:42:04,974 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude 08:42:05 2024-11-14 08:42:04,974 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False 08:42:05 2024-11-14 08:42:04,975 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 08:42:05 2024-11-14 08:42:04,975 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 08:42:05 4.0.0-dev.4 [Pipeline] } 08:42:05 $ docker exec --env ******** --env ******** fc5cdfbe53dddd82b02576851638216f8b1c405170b44f669f5f9ee0255fb5c2 ssh-agent -k 08:42:05 unset SSH_AUTH_SOCK; 08:42:05 unset SSH_AGENT_PID; 08:42:05 echo Agent pid 78 killed; 08:42:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:42:05 + git semver [Pipeline] } 08:42:05 $ docker stop --time=1 fc5cdfbe53dddd82b02576851638216f8b1c405170b44f669f5f9ee0255fb5c2 08:42:07 $ docker rm -f --volumes fc5cdfbe53dddd82b02576851638216f8b1c405170b44f669f5f9ee0255fb5c2 [Pipeline] // withDockerContainer [Pipeline] sh 08:42:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:42:07 Stashed 1 file(s) [Pipeline] echo 08:42:07 [edgeXSemver]: initialized semver on version 4.0.0-dev.4 [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 08:42:08 provisioning config files... 08:42:08 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16497683896097040522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:42:08 ---> ****-login.sh 08:42:08 nexus3.edgexfoundry.org:10001 08:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:42:08 Configure a credential helper to remove this warning. See 08:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:42:08 08:42:08 Login Succeeded 08:42:08 nexus3.edgexfoundry.org:10002 08:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:42:08 Configure a credential helper to remove this warning. See 08:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:42:08 08:42:08 Login Succeeded 08:42:08 nexus3.edgexfoundry.org:10003 08:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:42:08 Configure a credential helper to remove this warning. See 08:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:42:08 08:42:08 Login Succeeded 08:42:08 nexus3.edgexfoundry.org:10004 08:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:42:08 Configure a credential helper to remove this warning. See 08:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:42:08 08:42:08 Login Succeeded 08:42:08 ****.io 08:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:42:08 Configure a credential helper to remove this warning. See 08:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:42:08 08:42:08 Login Succeeded 08:42:08 ---> ****-login.sh ends [Pipeline] } 08:42:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:42:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:42:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:42:09 ========================================================= 08:42:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:42:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:09 + 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 . 08:42:09 Sending build context to Docker daemon 25.66MB 08:42:09 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 08:42:09 Step 2/12 : FROM ${BASE} AS builder 08:42:09 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:42:09 43c4264eed91: Pulling fs layer 08:42:09 4cc291be95ef: Pulling fs layer 08:42:09 2ac1f1163629: Pulling fs layer 08:42:09 5c3c966382ef: Pulling fs layer 08:42:09 4f4fb700ef54: Pulling fs layer 08:42:09 5d5c8e513c77: Pulling fs layer 08:42:09 9f66e0745190: Pulling fs layer 08:42:09 f49a43e4bbc0: Pulling fs layer 08:42:09 561ebcabdf7f: Pulling fs layer 08:42:09 4f4fb700ef54: Waiting 08:42:09 5d5c8e513c77: Waiting 08:42:09 9f66e0745190: Waiting 08:42:09 f49a43e4bbc0: Waiting 08:42:09 561ebcabdf7f: Waiting 08:42:09 5c3c966382ef: Waiting 08:42:09 4cc291be95ef: Download complete 08:42:09 5c3c966382ef: Verifying Checksum 08:42:09 5c3c966382ef: Download complete 08:42:09 4f4fb700ef54: Verifying Checksum 08:42:09 4f4fb700ef54: Download complete 08:42:09 5d5c8e513c77: Download complete 08:42:09 43c4264eed91: Download complete 08:42:09 9f66e0745190: Verifying Checksum 08:42:09 9f66e0745190: Download complete 08:42:09 43c4264eed91: Pull complete 08:42:09 561ebcabdf7f: Verifying Checksum 08:42:09 561ebcabdf7f: Download complete 08:42:09 4cc291be95ef: Pull complete 08:42:10 2ac1f1163629: Verifying Checksum 08:42:10 2ac1f1163629: Download complete 08:42:10 f49a43e4bbc0: Verifying Checksum 08:42:10 f49a43e4bbc0: Download complete 08:42:13 2ac1f1163629: Pull complete 08:42:13 5c3c966382ef: Pull complete 08:42:13 4f4fb700ef54: Pull complete 08:42:13 5d5c8e513c77: Pull complete 08:42:13 9f66e0745190: Pull complete 08:42:16 f49a43e4bbc0: Pull complete 08:42:16 561ebcabdf7f: Pull complete 08:42:16 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:42:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:42:16 ---> 3a752c3f9dda 08:42:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:42:20 ---> Running in 43d46e2ad8b3 08:42:20 Removing intermediate container 43d46e2ad8b3 08:42:20 ---> 302629fed2a4 08:42:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:42:20 ---> Running in 62cc2a524c50 08:42:20 Removing intermediate container 62cc2a524c50 08:42:20 ---> 27e4903c97e8 08:42:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:42:20 ---> Running in b7161db9c6ca 08:42:20 Removing intermediate container b7161db9c6ca 08:42:20 ---> 45efd7c35d19 08:42:20 Step 6/12 : WORKDIR /device-uart 08:42:20 ---> Running in 8d8d079d785c 08:42:20 Removing intermediate container 8d8d079d785c 08:42:20 ---> f4685c44c87a 08:42:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:42:20 ---> Running in d0fe17de7508 08:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:42:21 (1/4) Installing openssh-keygen (9.7_p1-r4) 08:42:21 (2/4) Installing libedit (20240517.3.1-r0) 08:42:21 (3/4) Installing openssh-client-common (9.7_p1-r4) 08:42:21 (4/4) Installing openssh-client-default (9.7_p1-r4) 08:42:21 Executing busybox-1.36.1-r29.trigger 08:42:21 OK: 250 MiB in 58 packages 08:42:21 Removing intermediate container d0fe17de7508 08:42:21 ---> e41330382a33 08:42:21 Step 8/12 : COPY go.mod vendor* ./ 08:42:22 ---> 05731a658fd5 08:42:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:42:22 ---> Running in b0cf1e597e1b 08:42:23 Still waiting to schedule task 08:42:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:43:08 Removing intermediate container b0cf1e597e1b 08:43:08 ---> 792351d74cb5 08:43:08 Step 10/12 : COPY . . 08:43:08 ---> f7467100c677 08:43:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:43:08 ---> Running in f9a05d1117dd 08:43:08 Removing intermediate container f9a05d1117dd 08:43:08 ---> 1cf826e0f9c6 08:43:08 Step 12/12 : RUN ${MAKE} 08:43:08 ---> Running in bc0a48e86a71 08:43:08 noop 08:43:08 Removing intermediate container bc0a48e86a71 08:43:08 ---> 6a280b9601c0 08:43:08 Successfully built 6a280b9601c0 08:43:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:09 + docker inspect -f . ci-base-image-x86_64 08:43:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:43:09 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 08:43:09 $ 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 ******** ci-base-image-x86_64 cat 08:43:09 $ docker top a286a08a08b20d07251b2aa2b6e86b69f27e19499f252fc4f210ffd79d72af07 -eo pid,comm [Pipeline] { [Pipeline] sh 08:43:09 + go version 08:43:09 go version go1.23.2 linux/amd64 [Pipeline] } 08:43:09 $ docker stop --time=1 a286a08a08b20d07251b2aa2b6e86b69f27e19499f252fc4f210ffd79d72af07 08:43:11 $ docker rm -f --volumes a286a08a08b20d07251b2aa2b6e86b69f27e19499f252fc4f210ffd79d72af07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:11 + docker inspect -f . ci-base-image-x86_64 08:43:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:43:11 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 08:43:11 $ 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 ******** ci-base-image-x86_64 cat 08:43:12 $ docker top 09e3045a2002d4ce143a326b3b67a422af631956ae46b4ae8ef5086d8c71cbaa -eo pid,comm [Pipeline] { [Pipeline] sh 08:43:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh 08:43:12 + make test 08:43:12 go test ./... -coverprofile=coverage.out 08:43:14 ? github.com/edgexfoundry/device-uart [no test files] 08:43:32 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 08:43:32 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 08:43:42 go vet ./... 08:43:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:43:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:43:47 ./bin/test-attribution-txt.sh [Pipeline] echo 08:43:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:43:47 $ docker stop --time=1 09e3045a2002d4ce143a326b3b67a422af631956ae46b4ae8ef5086d8c71cbaa 08:43:51 $ docker rm -f --volumes 09e3045a2002d4ce143a326b3b67a422af631956ae46b4ae8ef5086d8c71cbaa [Pipeline] // withDockerContainer [Pipeline] sh 08:43:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:43:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:43:53 + ls -al . 08:43:53 total 224 08:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 08:43 . 08:43:53 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 08:41 .. 08:43:53 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 08:41 .dockerignore 08:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 08:43 .git 08:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 08:41 .github 08:43:53 -rw-rw-r-- 1 jenkins jenkins 343 Nov 14 08:41 .gitignore 08:43:53 -rw-rw-r-- 1 jenkins jenkins 198 Nov 14 08:41 .golangci.yml 08:43:53 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 08:42 .semver 08:43:53 -rw-rw-r-- 1 jenkins jenkins 18662 Nov 14 08:41 Attribution.txt 08:43:53 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 14 08:41 CHANGELOG.md 08:43:53 -rw-rw-r-- 1 jenkins jenkins 1919 Nov 14 08:41 Dockerfile 08:43:53 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 08:41 GOVERNANCE.md 08:43:53 -rw-rw-r-- 1 jenkins jenkins 675 Nov 14 08:41 Jenkinsfile 08:43:53 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 08:41 LICENSE 08:43:53 -rw-rw-r-- 1 jenkins jenkins 2455 Nov 14 08:41 Makefile 08:43:53 -rw-rw-r-- 1 jenkins jenkins 617 Nov 14 08:41 OWNERS.md 08:43:53 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 14 08:41 README.md 08:43:53 -rw-rw-r-- 1 jenkins jenkins 11 Nov 14 08:42 VERSION 08:43:53 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 08:41 bin 08:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 08:41 cmd 08:43:53 -rw-r--r-- 1 jenkins jenkins 6770 Nov 14 08:43 coverage.out 08:43:53 -rw-rw-r-- 1 jenkins jenkins 6220 Nov 14 08:41 go.mod 08:43:53 -rw-rw-r-- 1 jenkins jenkins 87556 Nov 14 08:41 go.sum 08:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 08:41 internal 08:43:53 -rw-rw-r-- 1 jenkins jenkins 209 Nov 14 08:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:53 + 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=e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 --label arch=amd64 --label version=4.0.0-dev.4 . 08:43:53 Sending build context to Docker daemon 25.66MB 08:43:53 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 08:43:53 Step 2/26 : FROM ${BASE} AS builder 08:43:53 ---> 6a280b9601c0 08:43:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:43:54 ---> Running in c322d8b3943a 08:43:54 Removing intermediate container c322d8b3943a 08:43:54 ---> 52aa4de051a9 08:43:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:43:54 ---> Running in 6166eff76a4e 08:43:54 Removing intermediate container 6166eff76a4e 08:43:54 ---> 1cfeefaf93c7 08:43:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:43:54 ---> Running in d6dcad959a87 08:43:54 Removing intermediate container d6dcad959a87 08:43:54 ---> d3ead03cae51 08:43:54 Step 6/26 : WORKDIR /device-uart 08:43:54 ---> Running in 9dca79fe978e 08:43:54 Removing intermediate container 9dca79fe978e 08:43:54 ---> d1a2b07374ba 08:43:54 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:43:54 ---> Running in 0677da3ca359 08:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:43:55 OK: 250 MiB in 58 packages 08:43:55 Removing intermediate container 0677da3ca359 08:43:55 ---> f0c4005e7f49 08:43:55 Step 8/26 : COPY go.mod vendor* ./ 08:43:55 ---> 26a83e87d18b 08:43:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:43:55 ---> Running in 3d144305b900 08:43:56 Removing intermediate container 3d144305b900 08:43:56 ---> 6c0f7d40d1e7 08:43:56 Step 10/26 : COPY . . 08:43:57 ---> 74a4b7556cd9 08:43:57 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:43:57 ---> Running in ecdfd1562bca 08:43:57 Removing intermediate container ecdfd1562bca 08:43:57 ---> fc5f759f1685 08:43:57 Step 12/26 : RUN ${MAKE} 08:43:57 ---> Running in 96eb1eb6b5a5 08:43:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 08:44:29 Removing intermediate container 96eb1eb6b5a5 08:44:29 ---> 057959ac062f 08:44:29 Step 13/26 : FROM alpine:3.20 08:44:29 3.20: Pulling from library/alpine 08:44:29 da9db072f522: Pulling fs layer 08:44:29 da9db072f522: Verifying Checksum 08:44:29 da9db072f522: Download complete 08:44:29 da9db072f522: Pull complete 08:44:29 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 08:44:29 Status: Downloaded newer image for alpine:3.20 08:44:29 ---> 63b790fccc90 08:44:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:44:30 ---> Running in 7a7c4d88739c 08:44:30 Removing intermediate container 7a7c4d88739c 08:44:30 ---> ed7575550cbe 08:44:30 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:44:30 ---> Running in 21ce819ebd87 08:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:44:30 (1/1) Installing dumb-init (1.2.5-r3) 08:44:30 Executing busybox-1.36.1-r29.trigger 08:44:30 OK: 8 MiB in 15 packages 08:44:31 Removing intermediate container 21ce819ebd87 08:44:31 ---> 34906d5516ed 08:44:31 Step 16/26 : RUN apk --no-cache upgrade 08:44:31 ---> Running in 7e873d1c3caa 08:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:44:31 Upgrading critical system libraries and apk-tools: 08:44:31 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:44:31 Executing busybox-1.36.1-r29.trigger 08:44:31 Continuing the upgrade transaction with new apk-tools: 08:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:44:32 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 08:44:32 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 08:44:32 OK: 8 MiB in 15 packages 08:44:32 Removing intermediate container 7e873d1c3caa 08:44:32 ---> d39dccbc3a4e 08:44:32 Step 17/26 : WORKDIR / 08:44:32 ---> Running in 7b68611d2970 08:44:32 Removing intermediate container 7b68611d2970 08:44:32 ---> b8ed3e586de3 08:44:32 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 08:44:32 ---> 70ccd7ee61da 08:44:32 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 08:44:33 ---> 770afa7feae9 08:44:33 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 08:44:34 ---> 6c32cc5e0419 08:44:34 Step 21/26 : EXPOSE 59995 08:44:34 ---> Running in 04709443b205 08:44:34 Removing intermediate container 04709443b205 08:44:34 ---> 58834603b0b3 08:44:34 Step 22/26 : ENTRYPOINT ["/device-uart"] 08:44:34 ---> Running in ede2275411fa 08:44:34 Removing intermediate container ede2275411fa 08:44:34 ---> 2c7786893720 08:44:34 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:44:34 ---> Running in 371b8def566f 08:44:34 Removing intermediate container 371b8def566f 08:44:34 ---> 6cac7210e1d7 08:44:34 Step 24/26 : LABEL arch=amd64 08:44:34 ---> Running in 9f775e481d07 08:44:34 Removing intermediate container 9f775e481d07 08:44:34 ---> 594a2a5c41fa 08:44:34 Step 25/26 : LABEL git_sha=e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:44:34 ---> Running in c3a4a556c165 08:44:34 Removing intermediate container c3a4a556c165 08:44:34 ---> e551a1b835f3 08:44:34 Step 26/26 : LABEL version=4.0.0-dev.4 08:44:34 ---> Running in 43b1030909b7 08:44:34 Removing intermediate container 43b1030909b7 08:44:34 ---> 68f44764d4e2 08:44:34 [Warning] One or more build-args [ARCH] were not consumed 08:44:34 Successfully built 68f44764d4e2 08:44:34 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:34 provisioning config files... 08:44:35 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config17040245665203331287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:35 ---> ****-login.sh 08:44:35 nexus3.edgexfoundry.org:10001 08:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:35 Configure a credential helper to remove this warning. See 08:44:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:35 08:44:35 Login Succeeded 08:44:35 nexus3.edgexfoundry.org:10002 08:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:35 Configure a credential helper to remove this warning. See 08:44:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:35 08:44:35 Login Succeeded 08:44:35 nexus3.edgexfoundry.org:10003 08:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:35 Configure a credential helper to remove this warning. See 08:44:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:35 08:44:35 Login Succeeded 08:44:35 nexus3.edgexfoundry.org:10004 08:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:35 Configure a credential helper to remove this warning. See 08:44:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:35 08:44:35 Login Succeeded 08:44:35 ****.io 08:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:35 Configure a credential helper to remove this warning. See 08:44:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:35 08:44:35 Login Succeeded 08:44:35 ---> ****-login.sh ends [Pipeline] } 08:44:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:44:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:44:35 [edgeXDocker.push] Tagging docker image device-uart with the following tags: 08:44:35 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:44:35 latest 08:44:35 4.0.0-dev.4 08:44:35 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4 08:44:35 main 08:44:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:36 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:36 + docker push nexus3.edgexfoundry.org:10004/device-uart:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:44:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:44:36 e813aa49740a: Preparing 08:44:36 de6ec7e35ca9: Preparing 08:44:36 bc7f1b85754d: Preparing 08:44:36 cae4d1db9626: Preparing 08:44:36 8fee78b47616: Preparing 08:44:36 75654b8eeebd: Preparing 08:44:36 75654b8eeebd: Waiting 08:44:36 bc7f1b85754d: Pushed 08:44:36 75654b8eeebd: Layer already exists 08:44:36 de6ec7e35ca9: Pushed 08:44:36 8fee78b47616: Pushed 08:44:37 cae4d1db9626: Pushed 08:44:40 e813aa49740a: Pushed 08:44:40 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8: digest: sha256:498e3a5fe6afc5e38cc13042a801bbbb20da2c526cb5cb1e1d45d8a99f4136df size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:41 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:41 + docker push nexus3.edgexfoundry.org:10004/device-uart:latest 08:44:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:44:41 e813aa49740a: Preparing 08:44:41 de6ec7e35ca9: Preparing 08:44:41 bc7f1b85754d: Preparing 08:44:41 cae4d1db9626: Preparing 08:44:41 8fee78b47616: Preparing 08:44:41 75654b8eeebd: Preparing 08:44:41 75654b8eeebd: Waiting 08:44:41 cae4d1db9626: Layer already exists 08:44:41 bc7f1b85754d: Layer already exists 08:44:41 e813aa49740a: Layer already exists 08:44:41 de6ec7e35ca9: Layer already exists 08:44:41 8fee78b47616: Layer already exists 08:44:41 75654b8eeebd: Layer already exists 08:44:41 latest: digest: sha256:498e3a5fe6afc5e38cc13042a801bbbb20da2c526cb5cb1e1d45d8a99f4136df size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:41 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:42 + docker push nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.4 08:44:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:44:42 e813aa49740a: Preparing 08:44:42 de6ec7e35ca9: Preparing 08:44:42 bc7f1b85754d: Preparing 08:44:42 cae4d1db9626: Preparing 08:44:42 8fee78b47616: Preparing 08:44:42 75654b8eeebd: Preparing 08:44:42 75654b8eeebd: Waiting 08:44:42 e813aa49740a: Layer already exists 08:44:42 cae4d1db9626: Layer already exists 08:44:42 de6ec7e35ca9: Layer already exists 08:44:42 8fee78b47616: Layer already exists 08:44:42 bc7f1b85754d: Layer already exists 08:44:42 75654b8eeebd: Layer already exists 08:44:42 4.0.0-dev.4: digest: sha256:498e3a5fe6afc5e38cc13042a801bbbb20da2c526cb5cb1e1d45d8a99f4136df size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:42 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:42 + docker push nexus3.edgexfoundry.org:10004/device-uart:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4 08:44:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:44:42 e813aa49740a: Preparing 08:44:42 de6ec7e35ca9: Preparing 08:44:42 bc7f1b85754d: Preparing 08:44:42 cae4d1db9626: Preparing 08:44:42 8fee78b47616: Preparing 08:44:42 75654b8eeebd: Preparing 08:44:42 75654b8eeebd: Waiting 08:44:42 8fee78b47616: Layer already exists 08:44:42 de6ec7e35ca9: Layer already exists 08:44:42 e813aa49740a: Layer already exists 08:44:42 bc7f1b85754d: Layer already exists 08:44:42 cae4d1db9626: Layer already exists 08:44:42 75654b8eeebd: Layer already exists 08:44:42 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4: digest: sha256:498e3a5fe6afc5e38cc13042a801bbbb20da2c526cb5cb1e1d45d8a99f4136df size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:43 + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:43 + docker push nexus3.edgexfoundry.org:10004/device-uart:main 08:44:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] 08:44:43 e813aa49740a: Preparing 08:44:43 de6ec7e35ca9: Preparing 08:44:43 bc7f1b85754d: Preparing 08:44:43 cae4d1db9626: Preparing 08:44:43 8fee78b47616: Preparing 08:44:43 75654b8eeebd: Preparing 08:44:43 75654b8eeebd: Waiting 08:44:43 8fee78b47616: Layer already exists 08:44:43 e813aa49740a: Layer already exists 08:44:43 bc7f1b85754d: Layer already exists 08:44:43 de6ec7e35ca9: Layer already exists 08:44:43 cae4d1db9626: Layer already exists 08:44:43 75654b8eeebd: Layer already exists 08:44:43 main: digest: sha256:498e3a5fe6afc5e38cc13042a801bbbb20da2c526cb5cb1e1d45d8a99f4136df size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:44:43 ===================================================== [Pipeline] echo 08:44:43 taggedImages: 08:44:43 - nexus3.edgexfoundry.org:10004/device-uart:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:44:43 - nexus3.edgexfoundry.org:10004/device-uart:latest 08:44:43 - nexus3.edgexfoundry.org:10004/device-uart:4.0.0-dev.4 08:44:43 - nexus3.edgexfoundry.org:10004/device-uart:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4 08:44:43 - 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 08:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:44:43 08:44:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:44:44 latest: Pulling from edgex-lftools-log-publisher 08:44:44 5eb5b503b376: Pulling fs layer 08:44:44 5c69ac0246d0: Pulling fs layer 08:44:44 ec43610c2a17: Pulling fs layer 08:44:44 3a2ae6a8a46f: Pulling fs layer 08:44:44 33b1e0a273af: Pulling fs layer 08:44:44 5d3b04190fa2: Pulling fs layer 08:44:44 2f39f015ded8: Pulling fs layer 08:44:44 33b1e0a273af: Waiting 08:44:44 5d3b04190fa2: Waiting 08:44:44 2f39f015ded8: Waiting 08:44:44 5c69ac0246d0: Verifying Checksum 08:44:44 5c69ac0246d0: Download complete 08:44:44 3a2ae6a8a46f: Verifying Checksum 08:44:44 3a2ae6a8a46f: Download complete 08:44:44 33b1e0a273af: Verifying Checksum 08:44:44 33b1e0a273af: Download complete 08:44:44 5d3b04190fa2: Verifying Checksum 08:44:44 5d3b04190fa2: Download complete 08:44:44 ec43610c2a17: Verifying Checksum 08:44:44 ec43610c2a17: Download complete 08:44:44 5eb5b503b376: Verifying Checksum 08:44:44 5eb5b503b376: Download complete 08:44:45 2f39f015ded8: Download complete 08:44:45 5eb5b503b376: Pull complete 08:44:45 5c69ac0246d0: Pull complete 08:44:46 ec43610c2a17: Pull complete 08:44:46 3a2ae6a8a46f: Pull complete 08:44:46 33b1e0a273af: Pull complete 08:44:46 5d3b04190fa2: Pull complete 08:44:50 2f39f015ded8: Pull complete 08:44:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:44:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:44:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:50 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 08:44:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:44:54 $ docker top d4fd32bef8df4dfec14b4fd0142beae5383f90401320cc66c0c43edf3b06f154 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:54 ---> job-cost.sh 08:44:54 lf-activate-venv: SKIPPING 08:44:54 INFO: No Stack... 08:44:55 INFO: Retrieving Pricing Info for: v3-standard-8 08:44:55 INFO: Archiving Costs [Pipeline] sh 08:44:56 + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv 08:44:56 + cut -d, -f6 [Pipeline] lock 08:44:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-45-stack-cost] 08:44:56 Resource [jenkins-edgexfoundry-device-uart-main-45-stack-cost] did not exist. Created. 08:44:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:44:56 + echo total: 0.2199999988079071 [Pipeline] stash 08:44:56 Stashed 1 file(s) [Pipeline] } 08:44:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 08:44:56 $ docker stop --time=1 d4fd32bef8df4dfec14b4fd0142beae5383f90401320cc66c0c43edf3b06f154 08:44:57 $ docker rm -f --volumes d4fd32bef8df4dfec14b4fd0142beae5383f90401320cc66c0c43edf3b06f154 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:45:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26438 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws 08:45:18 Running in /w/workspace/device-uart/45 [Pipeline] { [Pipeline] checkout 08:45:21 The recommended git tool is: git 08:45:31 using credential edgex-jenkins-ssh 08:45:31 Cloning the remote Git repository 08:45:31 Cloning repository git@github.com:edgexfoundry/device-uart.git 08:45:31 > git init /w/workspace/device-uart/45 # timeout=10 08:45:31 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 08:45:31 > git --version # timeout=10 08:45:31 > git --version # 'git version 2.25.1' 08:45:31 using GIT_SSH to set credentials SSH Credentials for GitHub 08:45:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:45:34 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 08:45:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:45:36 Avoid second fetch 08:45:36 Checking out Revision e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 (main) 08:45:36 Commit message: "Merge pull request #88 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7" 08:45:36 > git config core.sparsecheckout # timeout=10 08:45:36 > git checkout -f e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:45:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:45:41 % Total % Received % Xferd Average Speed Time Time Time Current 08:45:41 Dload Upload Total Spent Left Speed 08:45:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 173k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh 08:45:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:45:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:45:42 + sudo tee /etc/docker/daemon.new 08:45:42 { 08:45:42 "registry-mirrors": [ 08:45:42 "https://nexus3.edgexfoundry.org:10001" 08:45:42 ], 08:45:42 "bip": "10.250.0.254/24", 08:45:42 "hosts": [ 08:45:42 "tcp://0.0.0.0:5555", 08:45:42 "unix:///var/run/docker.sock" 08:45:42 ], 08:45:42 "mtu": 1458, 08:45:42 "selinux-enabled": true, 08:45:42 "seccomp-profile": "/etc/docker/seccomp.json" 08:45:42 } [Pipeline] sh 08:45:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:45:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:01 provisioning config files... 08:46:01 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/45@tmp/config1985882430862313369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:01 ---> ****-login.sh 08:46:01 nexus3.edgexfoundry.org:10001 08:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:02 Configure a credential helper to remove this warning. See 08:46:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:02 08:46:02 Login Succeeded 08:46:02 nexus3.edgexfoundry.org:10002 08:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:02 Configure a credential helper to remove this warning. See 08:46:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:02 08:46:02 Login Succeeded 08:46:02 nexus3.edgexfoundry.org:10003 08:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:03 Configure a credential helper to remove this warning. See 08:46:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:03 08:46:03 Login Succeeded 08:46:03 nexus3.edgexfoundry.org:10004 08:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:03 Configure a credential helper to remove this warning. See 08:46:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:03 08:46:03 Login Succeeded 08:46:03 ****.io 08:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:04 Configure a credential helper to remove this warning. See 08:46:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:04 08:46:04 Login Succeeded 08:46:04 ---> ****-login.sh ends [Pipeline] } 08:46:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:46:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:46:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:46:04 ========================================================= 08:46:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:46:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:04 + 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 . 08:46:05 Sending build context to Docker daemon 12.9MB 08:46:05 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 08:46:05 Step 2/12 : FROM ${BASE} AS builder 08:46:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:46:05 cf04c63912e1: Pulling fs layer 08:46:05 55b35a11ae5e: Pulling fs layer 08:46:05 a37a00ec5f00: Pulling fs layer 08:46:05 50b3750afda1: Pulling fs layer 08:46:05 4f4fb700ef54: Pulling fs layer 08:46:05 80978eb59214: Pulling fs layer 08:46:05 c9f46d7d2bd2: Pulling fs layer 08:46:05 c5a475d317c9: Pulling fs layer 08:46:05 c9f46d7d2bd2: Waiting 08:46:05 80978eb59214: Waiting 08:46:05 4f4fb700ef54: Waiting 08:46:05 50b3750afda1: Waiting 08:46:05 55b35a11ae5e: Verifying Checksum 08:46:05 55b35a11ae5e: Download complete 08:46:05 50b3750afda1: Verifying Checksum 08:46:05 50b3750afda1: Download complete 08:46:05 4f4fb700ef54: Verifying Checksum 08:46:05 4f4fb700ef54: Download complete 08:46:05 80978eb59214: Download complete 08:46:05 cf04c63912e1: Verifying Checksum 08:46:05 cf04c63912e1: Download complete 08:46:06 c5a475d317c9: Verifying Checksum 08:46:06 c5a475d317c9: Download complete 08:46:06 cf04c63912e1: Pull complete 08:46:07 55b35a11ae5e: Pull complete 08:46:07 a37a00ec5f00: Verifying Checksum 08:46:07 a37a00ec5f00: Download complete 08:46:08 c9f46d7d2bd2: Verifying Checksum 08:46:08 c9f46d7d2bd2: Download complete 08:46:23 a37a00ec5f00: Pull complete 08:46:23 50b3750afda1: Pull complete 08:46:23 4f4fb700ef54: Pull complete 08:46:23 80978eb59214: Pull complete 08:46:30 c9f46d7d2bd2: Pull complete 08:46:32 c5a475d317c9: Pull complete 08:46:32 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 08:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:46:32 ---> be29e6b0f0d4 08:46:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:46:33 ---> Running in 7623e0e46cb5 08:46:33 Removing intermediate container 7623e0e46cb5 08:46:33 ---> ae04713c31b1 08:46:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:46:33 ---> Running in da8fe893e8b7 08:46:33 Removing intermediate container da8fe893e8b7 08:46:33 ---> 936692484e53 08:46:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:46:33 ---> Running in 3f185efced08 08:46:34 Removing intermediate container 3f185efced08 08:46:34 ---> 823714513e53 08:46:34 Step 6/12 : WORKDIR /device-uart 08:46:34 ---> Running in 6f8f8c77d7c5 08:46:34 Removing intermediate container 6f8f8c77d7c5 08:46:34 ---> d0ad9e8289a7 08:46:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:46:34 ---> Running in bd759b47becb 08:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:46:38 (1/4) Installing openssh-keygen (9.7_p1-r4) 08:46:38 (2/4) Installing libedit (20240517.3.1-r0) 08:46:38 (3/4) Installing openssh-client-common (9.7_p1-r4) 08:46:38 (4/4) Installing openssh-client-default (9.7_p1-r4) 08:46:38 Executing busybox-1.36.1-r29.trigger 08:46:38 OK: 242 MiB in 58 packages 08:46:39 Removing intermediate container bd759b47becb 08:46:39 ---> 3d0c9a9cb709 08:46:39 Step 8/12 : COPY go.mod vendor* ./ 08:46:40 ---> d7e33901a236 08:46:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:46:40 ---> Running in b1e30d9082a9 08:48:47 Removing intermediate container b1e30d9082a9 08:48:47 ---> 9d38ad43ed06 08:48:47 Step 10/12 : COPY . . 08:48:47 ---> 0ac98758bbd6 08:48:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:48:47 ---> Running in 034165eab3d0 08:48:47 Removing intermediate container 034165eab3d0 08:48:47 ---> 372b5e8f0785 08:48:47 Step 12/12 : RUN ${MAKE} 08:48:47 ---> Running in b1e0557e814f 08:48:47 noop 08:48:47 Removing intermediate container b1e0557e814f 08:48:47 ---> 011073a5edeb 08:48:47 Successfully built 011073a5edeb 08:48:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:47 + docker inspect -f . ci-base-image-arm64 08:48:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:47 prd-ubuntu20.04-docker-arm64-4c-16g-26438 does not seem to be running inside a container 08:48:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/45 -v /w/workspace/device-uart/45:/w/workspace/device-uart/45:rw,z -v /w/workspace/device-uart/45@tmp:/w/workspace/device-uart/45@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 08:48:49 $ docker top 589d5910abb177768368bc1822766ce2fefdd0784f74e53c5b496dbcd871f0d3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:50 + go version 08:48:50 go version go1.23.2 linux/arm64 [Pipeline] } 08:48:50 $ docker stop --time=1 589d5910abb177768368bc1822766ce2fefdd0784f74e53c5b496dbcd871f0d3 08:48:52 $ docker rm -f --volumes 589d5910abb177768368bc1822766ce2fefdd0784f74e53c5b496dbcd871f0d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:52 + docker inspect -f . ci-base-image-arm64 08:48:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:53 prd-ubuntu20.04-docker-arm64-4c-16g-26438 does not seem to be running inside a container 08:48:53 $ 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/45 -v /w/workspace/device-uart/45:/w/workspace/device-uart/45:rw,z -v /w/workspace/device-uart/45@tmp:/w/workspace/device-uart/45@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 08:48:54 $ docker top be162444842707b36170d8894e6c247324d129a77b3e83f8f2137d98288487cb -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:55 + git config --global --add safe.directory /w/workspace/device-uart/45 [Pipeline] fileExists [Pipeline] sh 08:48:56 + make test 08:48:56 go test ./... -coverprofile=coverage.out 08:49:02 ? github.com/edgexfoundry/device-uart [no test files] 08:53:10 github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements 08:53:10 github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements 08:53:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:53:10 go vet ./... 08:54:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:54:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:54:08 ./bin/test-attribution-txt.sh [Pipeline] echo 08:54:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:54:08 $ docker stop --time=1 be162444842707b36170d8894e6c247324d129a77b3e83f8f2137d98288487cb 08:54:10 $ docker rm -f --volumes be162444842707b36170d8894e6c247324d129a77b3e83f8f2137d98288487cb [Pipeline] // withDockerContainer [Pipeline] sh 08:54:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:54:11 Warning: overwriting stash ‘coverage-report’ 08:54:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:54:13 + ls -al . 08:54:13 total 220 08:54:13 drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 08:49 . 08:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 08:45 .. 08:54:13 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 08:45 .dockerignore 08:54:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 08:45 .git 08:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 08:45 .github 08:54:13 -rw-rw-r-- 1 jenkins jenkins 343 Nov 14 08:45 .gitignore 08:54:13 -rw-rw-r-- 1 jenkins jenkins 198 Nov 14 08:45 .golangci.yml 08:54:13 -rw-rw-r-- 1 jenkins jenkins 18662 Nov 14 08:45 Attribution.txt 08:54:13 -rw-rw-r-- 1 jenkins jenkins 1908 Nov 14 08:45 CHANGELOG.md 08:54:13 -rw-rw-r-- 1 jenkins jenkins 1919 Nov 14 08:45 Dockerfile 08:54:13 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 08:45 GOVERNANCE.md 08:54:13 -rw-rw-r-- 1 jenkins jenkins 675 Nov 14 08:45 Jenkinsfile 08:54:13 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 08:45 LICENSE 08:54:13 -rw-rw-r-- 1 jenkins jenkins 2455 Nov 14 08:45 Makefile 08:54:13 -rw-rw-r-- 1 jenkins jenkins 617 Nov 14 08:45 OWNERS.md 08:54:13 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 14 08:45 README.md 08:54:13 -rw-rw-r-- 1 jenkins jenkins 11 Nov 14 08:42 VERSION 08:54:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 08:45 bin 08:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 08:45 cmd 08:54:13 -rw-r--r-- 1 jenkins jenkins 6770 Nov 14 08:53 coverage.out 08:54:13 -rw-rw-r-- 1 jenkins jenkins 6220 Nov 14 08:45 go.mod 08:54:13 -rw-rw-r-- 1 jenkins jenkins 87556 Nov 14 08:45 go.sum 08:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 08:45 internal 08:54:13 -rw-rw-r-- 1 jenkins jenkins 209 Nov 14 08:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:13 + 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=e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 --label arch=arm64 --label version=4.0.0-dev.4 . 08:54:14 Sending build context to Docker daemon 12.91MB 08:54:14 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 08:54:14 Step 2/26 : FROM ${BASE} AS builder 08:54:14 ---> 011073a5edeb 08:54:14 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:54:14 ---> Running in 6424f3ce74e5 08:54:14 Removing intermediate container 6424f3ce74e5 08:54:14 ---> c0e587935fd3 08:54:14 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:54:14 ---> Running in b0fcb38d3499 08:54:15 Removing intermediate container b0fcb38d3499 08:54:15 ---> d651f58f050b 08:54:15 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:54:15 ---> Running in 6e5952d5ae75 08:54:15 Removing intermediate container 6e5952d5ae75 08:54:15 ---> 7caaff812f78 08:54:15 Step 6/26 : WORKDIR /device-uart 08:54:15 ---> Running in 23341c1918b8 08:54:16 Removing intermediate container 23341c1918b8 08:54:16 ---> 50f6b2f8463c 08:54:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:54:16 ---> Running in 40ba8eeaf220 08:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:54:20 OK: 242 MiB in 58 packages 08:54:21 Removing intermediate container 40ba8eeaf220 08:54:21 ---> 825634b9603b 08:54:21 Step 8/26 : COPY go.mod vendor* ./ 08:54:22 ---> b29dd836df8b 08:54:22 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:54:22 ---> Running in f136389f1f05 08:54:25 Removing intermediate container f136389f1f05 08:54:25 ---> 69e7ab0e8d6d 08:54:25 Step 10/26 : COPY . . 08:54:26 ---> a8f7d26afbf7 08:54:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:54:26 ---> Running in f7a3f97f97e3 08:54:26 Removing intermediate container f7a3f97f97e3 08:54:26 ---> 17d46bf23eaf 08:54:26 Step 12/26 : RUN ${MAKE} 08:54:26 ---> Running in 69c0700f05a5 08:54:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=4.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd 08:58:20 Removing intermediate container 69c0700f05a5 08:58:20 ---> a0a2cf2bf0d8 08:58:20 Step 13/26 : FROM alpine:3.20 08:58:20 3.20: Pulling from library/alpine 08:58:20 9986a736f7d3: Pulling fs layer 08:58:20 9986a736f7d3: Verifying Checksum 08:58:20 9986a736f7d3: Download complete 08:58:20 9986a736f7d3: Pull complete 08:58:20 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 08:58:20 Status: Downloaded newer image for alpine:3.20 08:58:20 ---> 511a44083d3a 08:58:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:58:20 ---> Running in 2c15411913a7 08:58:20 Removing intermediate container 2c15411913a7 08:58:20 ---> 235a9adc7e26 08:58:20 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:58:20 ---> Running in 887d792de802 08:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:58:22 (1/1) Installing dumb-init (1.2.5-r3) 08:58:22 Executing busybox-1.36.1-r29.trigger 08:58:22 OK: 9 MiB in 15 packages 08:58:23 Removing intermediate container 887d792de802 08:58:23 ---> e307b9515810 08:58:23 Step 16/26 : RUN apk --no-cache upgrade 08:58:23 ---> Running in 776cda04179d 08:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:58:27 Upgrading critical system libraries and apk-tools: 08:58:27 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:58:27 Executing busybox-1.36.1-r29.trigger 08:58:27 Continuing the upgrade transaction with new apk-tools: 08:58:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:58:29 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 08:58:29 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 08:58:29 OK: 9 MiB in 15 packages 08:58:31 Removing intermediate container 776cda04179d 08:58:31 ---> aed365207e07 08:58:31 Step 17/26 : WORKDIR / 08:58:31 ---> Running in 075a6ef48348 08:58:31 Removing intermediate container 075a6ef48348 08:58:31 ---> a7e81fab336d 08:58:31 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 08:58:32 ---> c84ccce65f91 08:58:32 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 08:58:32 ---> cfe6fda7b590 08:58:32 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 08:58:35 ---> 9e1763038279 08:58:35 Step 21/26 : EXPOSE 59995 08:58:35 ---> Running in d729bb10178b 08:58:35 Removing intermediate container d729bb10178b 08:58:35 ---> 6a279246a5cc 08:58:35 Step 22/26 : ENTRYPOINT ["/device-uart"] 08:58:35 ---> Running in f4b963ee7ecb 08:58:36 Removing intermediate container f4b963ee7ecb 08:58:36 ---> c169d6516533 08:58:36 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:58:36 ---> Running in 8354a5153a7b 08:58:36 Removing intermediate container 8354a5153a7b 08:58:36 ---> 3cb4144a0a12 08:58:36 Step 24/26 : LABEL arch=arm64 08:58:36 ---> Running in 31ce5ae12270 08:58:36 Removing intermediate container 31ce5ae12270 08:58:36 ---> 29dc910c387d 08:58:36 Step 25/26 : LABEL git_sha=e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:58:37 ---> Running in 06544111b73f 08:58:37 Removing intermediate container 06544111b73f 08:58:37 ---> 2e11379ca63b 08:58:37 Step 26/26 : LABEL version=4.0.0-dev.4 08:58:37 ---> Running in cfb93cb09895 08:58:37 Removing intermediate container cfb93cb09895 08:58:37 ---> f3fb9f89c5c9 08:58:37 [Warning] One or more build-args [ARCH] were not consumed 08:58:37 Successfully built f3fb9f89c5c9 08:58:37 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 08:58:38 provisioning config files... 08:58:38 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/45@tmp/config9358250080565578554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:58:38 ---> ****-login.sh 08:58:38 nexus3.edgexfoundry.org:10001 08:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:38 Configure a credential helper to remove this warning. See 08:58:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:38 08:58:38 Login Succeeded 08:58:38 nexus3.edgexfoundry.org:10002 08:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:39 Configure a credential helper to remove this warning. See 08:58:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:39 08:58:39 Login Succeeded 08:58:39 nexus3.edgexfoundry.org:10003 08:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:39 Configure a credential helper to remove this warning. See 08:58:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:39 08:58:39 Login Succeeded 08:58:39 nexus3.edgexfoundry.org:10004 08:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:40 Configure a credential helper to remove this warning. See 08:58:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:40 08:58:40 Login Succeeded 08:58:40 ****.io 08:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:40 Configure a credential helper to remove this warning. See 08:58:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:40 08:58:40 Login Succeeded 08:58:40 ---> ****-login.sh ends [Pipeline] } 08:58:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:58:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:58:40 [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: 08:58:40 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:58:40 latest 08:58:40 4.0.0-dev.4 08:58:40 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4 08:58:40 main 08:58:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:41 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:41 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:58:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 08:58:41 153a3e5c211e: Preparing 08:58:41 e8bde355d130: Preparing 08:58:41 d1a3face96d5: Preparing 08:58:41 e5e1959e3d22: Preparing 08:58:41 04edfbe3d547: Preparing 08:58:41 651d9022c234: Preparing 08:58:41 651d9022c234: Waiting 08:58:47 04edfbe3d547: Pushed 08:58:47 e8bde355d130: Pushed 08:58:47 651d9022c234: Layer already exists 08:58:47 d1a3face96d5: Pushed 08:58:47 e5e1959e3d22: Pushed 08:58:52 153a3e5c211e: Pushed 08:58:52 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8: digest: sha256:1eed5775fb745fbb295dc30ed7a16c4b3f261e7305f98feb63a35a62a994ca6c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:53 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:53 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 08:58:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 08:58:53 153a3e5c211e: Preparing 08:58:53 e8bde355d130: Preparing 08:58:53 d1a3face96d5: Preparing 08:58:53 e5e1959e3d22: Preparing 08:58:53 04edfbe3d547: Preparing 08:58:53 651d9022c234: Preparing 08:58:53 651d9022c234: Waiting 08:58:53 e8bde355d130: Layer already exists 08:58:53 153a3e5c211e: Layer already exists 08:58:53 e5e1959e3d22: Layer already exists 08:58:53 d1a3face96d5: Layer already exists 08:58:53 04edfbe3d547: Layer already exists 08:58:53 651d9022c234: Layer already exists 08:58:53 latest: digest: sha256:1eed5775fb745fbb295dc30ed7a16c4b3f261e7305f98feb63a35a62a994ca6c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:54 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:54 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.4 08:58:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 08:58:54 153a3e5c211e: Preparing 08:58:54 e8bde355d130: Preparing 08:58:54 d1a3face96d5: Preparing 08:58:54 e5e1959e3d22: Preparing 08:58:54 04edfbe3d547: Preparing 08:58:54 651d9022c234: Preparing 08:58:54 651d9022c234: Waiting 08:58:54 153a3e5c211e: Layer already exists 08:58:54 e5e1959e3d22: Layer already exists 08:58:54 04edfbe3d547: Layer already exists 08:58:54 e8bde355d130: Layer already exists 08:58:54 d1a3face96d5: Layer already exists 08:58:54 651d9022c234: Layer already exists 08:58:54 4.0.0-dev.4: digest: sha256:1eed5775fb745fbb295dc30ed7a16c4b3f261e7305f98feb63a35a62a994ca6c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:55 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:55 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4 08:58:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 08:58:55 153a3e5c211e: Preparing 08:58:55 e8bde355d130: Preparing 08:58:55 d1a3face96d5: Preparing 08:58:55 e5e1959e3d22: Preparing 08:58:55 04edfbe3d547: Preparing 08:58:55 651d9022c234: Preparing 08:58:55 04edfbe3d547: Layer already exists 08:58:55 e5e1959e3d22: Layer already exists 08:58:55 e8bde355d130: Layer already exists 08:58:55 d1a3face96d5: Layer already exists 08:58:55 153a3e5c211e: Layer already exists 08:58:55 651d9022c234: Layer already exists 08:58:56 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4: digest: sha256:1eed5775fb745fbb295dc30ed7a16c4b3f261e7305f98feb63a35a62a994ca6c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:56 + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:56 + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main 08:58:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] 08:58:56 153a3e5c211e: Preparing 08:58:56 e8bde355d130: Preparing 08:58:56 d1a3face96d5: Preparing 08:58:56 e5e1959e3d22: Preparing 08:58:56 04edfbe3d547: Preparing 08:58:56 651d9022c234: Preparing 08:58:56 651d9022c234: Waiting 08:58:56 e5e1959e3d22: Layer already exists 08:58:56 153a3e5c211e: Layer already exists 08:58:56 d1a3face96d5: Layer already exists 08:58:56 e8bde355d130: Layer already exists 08:58:56 04edfbe3d547: Layer already exists 08:58:56 651d9022c234: Layer already exists 08:58:57 main: digest: sha256:1eed5775fb745fbb295dc30ed7a16c4b3f261e7305f98feb63a35a62a994ca6c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:58:57 ===================================================== [Pipeline] echo 08:58:57 taggedImages: 08:58:57 - nexus3.edgexfoundry.org:10004/device-uart-arm64:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 08:58:57 - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest 08:58:57 - nexus3.edgexfoundry.org:10004/device-uart-arm64:4.0.0-dev.4 08:58:57 - nexus3.edgexfoundry.org:10004/device-uart-arm64:e4c855a3449b6b39a5a8172c08ce16b16d4f23c8-4.0.0-dev.4 08:58:57 - 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 08:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:58:57 08:58:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:58:57 arm64: Pulling from edgex-lftools-log-publisher 08:58:57 8998bd30e6a1: Pulling fs layer 08:58:57 04944245beec: Pulling fs layer 08:58:57 699f458cf7ca: Pulling fs layer 08:58:57 765212b225bb: Pulling fs layer 08:58:57 f23df028b6ca: Pulling fs layer 08:58:57 d65c8cfc05b1: Pulling fs layer 08:58:57 2437ff75d9bd: Pulling fs layer 08:58:57 f23df028b6ca: Waiting 08:58:57 765212b225bb: Waiting 08:58:57 d65c8cfc05b1: Waiting 08:58:57 2437ff75d9bd: Waiting 08:58:58 04944245beec: Verifying Checksum 08:58:58 04944245beec: Download complete 08:58:58 765212b225bb: Verifying Checksum 08:58:58 765212b225bb: Download complete 08:58:58 f23df028b6ca: Verifying Checksum 08:58:58 f23df028b6ca: Download complete 08:58:58 d65c8cfc05b1: Verifying Checksum 08:58:58 d65c8cfc05b1: Download complete 08:58:58 699f458cf7ca: Verifying Checksum 08:58:58 699f458cf7ca: Download complete 08:58:58 8998bd30e6a1: Verifying Checksum 08:58:58 8998bd30e6a1: Download complete 08:59:01 2437ff75d9bd: Verifying Checksum 08:59:01 2437ff75d9bd: Download complete 08:59:03 8998bd30e6a1: Pull complete 08:59:04 04944245beec: Pull complete 08:59:07 699f458cf7ca: Pull complete 08:59:07 765212b225bb: Pull complete 08:59:08 f23df028b6ca: Pull complete 08:59:08 d65c8cfc05b1: Pull complete 08:59:26 2437ff75d9bd: Pull complete 08:59:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:59:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:59:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:26 prd-ubuntu20.04-docker-arm64-4c-16g-26438 does not seem to be running inside a container 08:59:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/45 -v /w/workspace/device-uart/45:/w/workspace/device-uart/45:rw,z -v /w/workspace/device-uart/45@tmp:/w/workspace/device-uart/45@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 08:59:30 $ docker top 46793bed046b03c813a1ab269f684dbe4aa2d22664b37eed011326e3362430cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:31 ---> job-cost.sh 08:59:31 lf-activate-venv: SKIPPING 08:59:31 INFO: No Stack... 08:59:31 INFO: Retrieving Pricing Info for: v3-standard-4 08:59:32 INFO: Archiving Costs [Pipeline] sh 08:59:32 + cat /w/workspace/device-uart/45/archives/cost.csv 08:59:32 + cut -d, -f6 [Pipeline] lock 08:59:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-main-45-stack-cost] 08:59:32 Resource [jenkins-edgexfoundry-device-uart-main-45-stack-cost] did not exist. Created. 08:59:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:59:33 /w/workspace/device-uart/45@tmp/durable-81455b6a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:59:33 + echo total: 0.10999999940395355 [Pipeline] stash 08:59:33 Warning: overwriting stash ‘stack-cost’ 08:59:33 Stashed 1 file(s) [Pipeline] } 08:59:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 08:59:34 $ docker stop --time=1 46793bed046b03c813a1ab269f684dbe4aa2d22664b37eed011326e3362430cc 08:59:35 $ docker rm -f --volumes 46793bed046b03c813a1ab269f684dbe4aa2d22664b37eed011326e3362430cc [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 08:59:36 provisioning config files... 08:59:36 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2455470243516880953tmp [Pipeline] { [Pipeline] sh 08:59:36 + set +x 08:59:36 + curl+ -s https://codecov.io/bash 08:59:36 bash -s -- 08:59:36 08:59:36 _____ _ 08:59:36 / ____| | | 08:59:36 | | ___ __| | ___ ___ _____ __ 08:59:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:59:36 | |___| (_) | (_| | __/ (_| (_) \ V / 08:59:36 \_____\___/ \__,_|\___|\___\___/ \_/ 08:59:36 Bash-1.0.6 08:59:36 08:59:36 08:59:36 ==> git version 2.25.1 found 08:59:36 ==> 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 08:59:36 Release-Date: 2020-01-08 08:59:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:59:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:59:36 ==> Jenkins CI detected. 08:59:36 current dir:  /w/workspace/edgexfoundry_device-uart_main 08:59:36 project root: . 08:59:36 --> token set from env 08:59:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:59:36 ==> Running gcov in . (disable via -X gcov) 08:59:36 ==> Python coveragepy not found 08:59:36 ==> Searching for coverage reports in: 08:59:36 + . 08:59:36 -> Found 1 reports 08:59:36 ==> Detecting git/mercurial file structure 08:59:36 ==> Reading reports 08:59:36 + ./coverage.out bytes=6770 08:59:36 ==> Appending adjustments 08:59:36 https://docs.codecov.io/docs/fixing-reports 08:59:36 + Found adjustments 08:59:36 ==> Gzipping contents 08:59:36 4.0K /tmp/codecov.8Ansj3.gz 08:59:36 ==> Uploading reports 08:59:36 url: https://codecov.io 08:59:36 query: branch=main&commit=e4c855a3449b6b39a5a8172c08ce16b16d4f23c8&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 08:59:36 -> Pinging Codecov 08:59:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e4c855a3449b6b39a5a8172c08ce16b16d4f23c8&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= 08:59:36 -> Uploading to 08:59:36 https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/e4c855a3449b6b39a5a8172c08ce16b16d4f23c8/af8a5a95-e00a-4c87-a144-a3f00b99534c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241114%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241114T085936Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=c8edb04642e888d349f51efca01733b0ed93b501e6e0ee8501c452cce2d0b507 08:59:36 % Total % Received % Xferd Average Speed Time Time Time Current 08:59:36 Dload Upload Total Spent Left Speed 08:59:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 6179 --:--:-- --:--:-- --:--:-- 6179 08:59:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [Pipeline] } 08:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:59:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:59:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:59:37 08:59:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:59:37 latest: Pulling from edgex-devops/edgex-snyk-go 08:59:37 43c4264eed91: Already exists 08:59:37 4cc291be95ef: Already exists 08:59:37 2ac1f1163629: Already exists 08:59:37 5c3c966382ef: Already exists 08:59:37 4f4fb700ef54: Already exists 08:59:37 d9c7d2e4e75e: Pulling fs layer 08:59:37 9c3e1370e548: Pulling fs layer 08:59:37 d9c7d2e4e75e: Verifying Checksum 08:59:37 d9c7d2e4e75e: Download complete 08:59:38 d9c7d2e4e75e: Pull complete 08:59:38 9c3e1370e548: Verifying Checksum 08:59:38 9c3e1370e548: Download complete 08:59:41 9c3e1370e548: Pull complete 08:59:41 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:59:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:59:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:41 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 08:59:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:59:43 $ docker top 71e230ea05fb6bed8aa58ac5b01f315d310122465f36bba9764ee42f309b7651 -eo pid,comm [Pipeline] { [Pipeline] sh 08:59:43 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] echo 08:59:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh 08:59:44 + set -o pipefail 08:59:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' 08:59:50 08:59:50 Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... 08:59:50 08:59:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a9260560-4d2e-420e-ab88-ca8ba35d31cd/history/3ad67d8c-6ffb-4bb4-8127-9da0e9fa7935 08:59:50 08:59:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:59:50 08:59:50 08:59:50 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:59:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:59:51 $ docker stop --time=1 71e230ea05fb6bed8aa58ac5b01f315d310122465f36bba9764ee42f309b7651 08:59:55 $ docker rm -f --volumes 71e230ea05fb6bed8aa58ac5b01f315d310122465f36bba9764ee42f309b7651 [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 08:59:56 + git log --format=format:%s -1 e4c855a3449b6b39a5a8172c08ce16b16d4f23c8 [Pipeline] sh 08:59:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:59:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:57 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 08:59:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:59:57 $ docker top 2cbedc1988d28e68602124902506a1c2e3af0b25947a7b1a0ff06bdfea6f56c6 -eo pid,comm 08:59:57 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). 08:59:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:59:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:58 [ssh-agent] Looking for ssh-agent implementation... 08:59:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:58 $ docker exec 2cbedc1988d28e68602124902506a1c2e3af0b25947a7b1a0ff06bdfea6f56c6 ssh-agent 08:59:58 SSH_AUTH_SOCK=/tmp/ssh-EByIbxxGDVv8/agent.32 08:59:58 SSH_AGENT_PID=38 08:59:58 Running ssh-add (command line suppressed) 08:59:58 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4794271293601902.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4794271293601902.key) 08:59:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:58 + git semver tag 08:59:58 2024-11-14 08:59:58,868 [run_tag] DEBUG tag force:False 08:59:58 2024-11-14 08:59:58,868 [check_head_tag] DEBUG check head tag 08:59:58 2024-11-14 08:59:58,869 [execute] INFO git cat-file --batch-check 08:59:58 2024-11-14 08:59:58,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 08:59:58 2024-11-14 08:59:58,873 [execute] INFO git cat-file --batch 08:59:58 2024-11-14 08:59:58,873 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) 08:59:58 2024-11-14 08:59:58,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 08:59:58 2024-11-14 08:59:58,890 [execute] INFO git tag -a v4.0.0-dev.4 -m v4.0.0-dev.4 08:59:58 2024-11-14 08:59:58,891 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.4', '-m', 'v4.0.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) 08:59:58 2024-11-14 08:59:58,897 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 08:59:58 4.0.0-dev.4 [Pipeline] } 08:59:58 $ docker exec --env ******** --env ******** 2cbedc1988d28e68602124902506a1c2e3af0b25947a7b1a0ff06bdfea6f56c6 ssh-agent -k 08:59:59 unset SSH_AUTH_SOCK; 08:59:59 unset SSH_AGENT_PID; 08:59:59 echo Agent pid 38 killed; 08:59:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:59:59 + git semver [Pipeline] } 08:59:59 $ docker stop --time=1 2cbedc1988d28e68602124902506a1c2e3af0b25947a7b1a0ff06bdfea6f56c6 09:00:01 $ docker rm -f --volumes 2cbedc1988d28e68602124902506a1c2e3af0b25947a7b1a0ff06bdfea6f56c6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:00:01 09:00:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:00:01 0.23.1-centos7: Pulling from edgex-lftools 09:00:01 ab5ef0e58194: Pulling fs layer 09:00:01 9712f1f96733: Pulling fs layer 09:00:01 63f879dbbcfc: Pulling fs layer 09:00:01 0d9ebad4ef96: Pulling fs layer 09:00:01 e9a5061849ea: Pulling fs layer 09:00:01 d747dcd14b5f: Pulling fs layer 09:00:01 2de7ff778b66: Pulling fs layer 09:00:01 0d9ebad4ef96: Waiting 09:00:01 e9a5061849ea: Waiting 09:00:01 9712f1f96733: Verifying Checksum 09:00:01 9712f1f96733: Download complete 09:00:02 63f879dbbcfc: Verifying Checksum 09:00:02 63f879dbbcfc: Download complete 09:00:02 e9a5061849ea: Verifying Checksum 09:00:02 e9a5061849ea: Download complete 09:00:02 d747dcd14b5f: Download complete 09:00:02 0d9ebad4ef96: Verifying Checksum 09:00:02 0d9ebad4ef96: Download complete 09:00:02 2de7ff778b66: Verifying Checksum 09:00:02 ab5ef0e58194: Verifying Checksum 09:00:02 ab5ef0e58194: Download complete 09:00:05 ab5ef0e58194: Pull complete 09:00:05 9712f1f96733: Pull complete 09:00:05 63f879dbbcfc: Pull complete 09:00:09 0d9ebad4ef96: Pull complete 09:00:09 e9a5061849ea: Pull complete 09:00:09 d747dcd14b5f: Pull complete 09:00:12 2de7ff778b66: Pull complete 09:00:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:00:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:00:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:15 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 09:00:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:00:20 $ docker top a83bf0c1b4e534b28a67eb03ed8696498a8932fb9fa780441a87b2d38be7fc17 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:00:21 provisioning config files... 09:00:21 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config10620091970460480995tmp 09:00:21 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config5495221776446172421tmp 09:00:21 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config9359416887435265514tmp [Pipeline] { [Pipeline] echo 09:00:21 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:00:21 ---> sigul-configuration.sh 09:00:21 gpg: directory `/root/.gnupg' created 09:00:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:00:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:00:21 gpg: keyring `/root/.gnupg/secring.gpg' created 09:00:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:00:21 gpg: CAST5 encrypted data 09:00:21 gpg: encrypted with 1 passphrase 09:00:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:00:22 + mkdir /home/jenkins 09:00:22 + mkdir /home/jenkins/sigul [Pipeline] sh 09:00:23 + 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 09:00:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:00:27 ---> sigul-install.sh 09:00:27 Sigul already installed; skipping installation. [Pipeline] sh 09:00:28 + git tag --list 09:00:28 v0.0.0 09:00:28 v0.0.1-dev.1 09:00:28 v0.0.1-dev.2 09:00:28 v0.0.1-dev.3 09:00:28 v0.0.1-dev.4 09:00:28 v3.0.0 09:00:28 v3.0.1-dev.1 09:00:28 v3.0.1-dev.10 09:00:28 v3.0.1-dev.11 09:00:28 v3.0.1-dev.12 09:00:28 v3.0.1-dev.13 09:00:28 v3.0.1-dev.14 09:00:28 v3.0.1-dev.15 09:00:28 v3.0.1-dev.16 09:00:28 v3.0.1-dev.17 09:00:28 v3.0.1-dev.18 09:00:28 v3.0.1-dev.19 09:00:28 v3.0.1-dev.2 09:00:28 v3.0.1-dev.20 09:00:28 v3.0.1-dev.21 09:00:28 v3.0.1-dev.22 09:00:28 v3.0.1-dev.23 09:00:28 v3.0.1-dev.24 09:00:28 v3.0.1-dev.25 09:00:28 v3.0.1-dev.26 09:00:28 v3.0.1-dev.27 09:00:28 v3.0.1-dev.28 09:00:28 v3.0.1-dev.29 09:00:28 v3.0.1-dev.3 09:00:28 v3.0.1-dev.30 09:00:28 v3.0.1-dev.31 09:00:28 v3.0.1-dev.32 09:00:28 v3.0.1-dev.33 09:00:28 v3.0.1-dev.34 09:00:28 v3.0.1-dev.4 09:00:28 v3.0.1-dev.5 09:00:28 v3.0.1-dev.6 09:00:28 v3.0.1-dev.7 09:00:28 v3.0.1-dev.8 09:00:28 v3.0.1-dev.9 09:00:28 v3.1 09:00:28 v3.1.0 09:00:28 v3.1.1 09:00:28 v3.1.1-dev.1 09:00:28 v4.0.0-dev.1 09:00:28 v4.0.0-dev.2 09:00:28 v4.0.0-dev.3 09:00:28 v4.0.0-dev.4 [Pipeline] sh 09:00:28 + lftools sign git-tag v4.0.0-dev.4 09:00:28 Signing Git tag with Sigul... 09:00:28 Signing v4.0.0-dev.4 [Pipeline] echo 09:00:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:00:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:00:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:00:29 $ docker stop --time=1 a83bf0c1b4e534b28a67eb03ed8696498a8932fb9fa780441a87b2d38be7fc17 09:00:30 $ docker rm -f --volumes a83bf0c1b4e534b28a67eb03ed8696498a8932fb9fa780441a87b2d38be7fc17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:00:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:00:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:00:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:31 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 09:00:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:00:32 $ docker top d811dcfe6da42773f49ab55d267410b5246d3d6cebf013b8a3bd5356d1fec474 -eo pid,comm 09:00:32 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). 09:00:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:00:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:00:32 [ssh-agent] Looking for ssh-agent implementation... 09:00:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:00:32 $ docker exec d811dcfe6da42773f49ab55d267410b5246d3d6cebf013b8a3bd5356d1fec474 ssh-agent 09:00:32 SSH_AUTH_SOCK=/tmp/ssh-dSnt1rXC6J0o/agent.32 09:00:32 SSH_AGENT_PID=38 09:00:32 Running ssh-add (command line suppressed) 09:00:32 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16517071144974104000.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_16517071144974104000.key) 09:00:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:00:32 + git semver bump pre 09:00:33 2024-11-14 09:00:33,132 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:00:33 2024-11-14 09:00:33,132 [bump_version] DEBUG bumping version:4.0.0-dev.4 on axis:pre with prefix:dev 09:00:33 2024-11-14 09:00:33,132 [bump_version] DEBUG bumped version:4.0.0-dev.5 09:00:33 2024-11-14 09:00:33,132 [write_version] DEBUG write version:4.0.0-dev.5 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True 09:00:33 2024-11-14 09:00:33,132 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:00:33 2024-11-14 09:00:33,132 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main 09:00:33 2024-11-14 09:00:33,135 [execute] INFO git cat-file --batch-check 09:00:33 2024-11-14 09:00:33,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:00:33 2024-11-14 09:00:33,141 [execute] INFO git cat-file --batch 09:00:33 2024-11-14 09:00:33,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:00:33 2024-11-14 09:00:33,146 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:00:33 4.0.0-dev.5 [Pipeline] } 09:00:33 $ docker exec --env ******** --env ******** d811dcfe6da42773f49ab55d267410b5246d3d6cebf013b8a3bd5356d1fec474 ssh-agent -k 09:00:33 unset SSH_AUTH_SOCK; 09:00:33 unset SSH_AGENT_PID; 09:00:33 echo Agent pid 38 killed; 09:00:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:00:33 + git semver [Pipeline] } 09:00:33 $ docker stop --time=1 d811dcfe6da42773f49ab55d267410b5246d3d6cebf013b8a3bd5356d1fec474 09:00:35 $ docker rm -f --volumes d811dcfe6da42773f49ab55d267410b5246d3d6cebf013b8a3bd5356d1fec474 [Pipeline] // withDockerContainer [Pipeline] sh 09:00:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:00:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:00:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:35 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 09:00:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:00:36 $ docker top 98da10ed1c4d1819da815bd4df1ea2c062c4a7d0f5bff0f53abc9f0e5dc10514 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:00:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:00:36 [ssh-agent] Looking for ssh-agent implementation... 09:00:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:00:36 $ docker exec 98da10ed1c4d1819da815bd4df1ea2c062c4a7d0f5bff0f53abc9f0e5dc10514 ssh-agent 09:00:36 SSH_AUTH_SOCK=/tmp/ssh-ITxIFNJ0ShIV/agent.32 09:00:36 SSH_AGENT_PID=38 09:00:36 Running ssh-add (command line suppressed) 09:00:36 Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4629034672924996640.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_4629034672924996640.key) 09:00:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:00:37 + git semver push 09:00:37 2024-11-14 09:00:37,281 [run_push] DEBUG push 09:00:37 2024-11-14 09:00:37,281 [execute] INFO git cat-file --batch-check 09:00:37 2024-11-14 09:00:37,282 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) 09:00:37 2024-11-14 09:00:37,285 [execute] INFO git rev-list 8c46cef99b37584e9947e93596e1d0dcedd80f5c -- 09:00:37 2024-11-14 09:00:37,286 [execute] DEBUG Popen(['git', 'rev-list', '8c46cef99b37584e9947e93596e1d0dcedd80f5c', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 09:00:37 2024-11-14 09:00:37,291 [execute] INFO git fetch -v origin 09:00:37 2024-11-14 09:00:37,292 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) 09:00:37 2024-11-14 09:00:37,731 [run_push] DEBUG no remote changes detected 09:00:37 2024-11-14 09:00:37,731 [execute] INFO git push origin semver 09:00:37 2024-11-14 09:00:37,731 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) 09:00:38 2024-11-14 09:00:38,376 [run_push] DEBUG push all version tags 09:00:38 2024-11-14 09:00:38,377 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:00:38 2024-11-14 09:00:38,377 [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) 09:00:39 2024-11-14 09:00:39,085 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main 09:00:39 4.0.0-dev.5 [Pipeline] } 09:00:39 $ docker exec --env ******** --env ******** 98da10ed1c4d1819da815bd4df1ea2c062c4a7d0f5bff0f53abc9f0e5dc10514 ssh-agent -k 09:00:39 unset SSH_AUTH_SOCK; 09:00:39 unset SSH_AGENT_PID; 09:00:39 echo Agent pid 38 killed; 09:00:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:00:39 + git semver [Pipeline] } 09:00:40 $ docker stop --time=1 98da10ed1c4d1819da815bd4df1ea2c062c4a7d0f5bff0f53abc9f0e5dc10514 09:00:41 $ docker rm -f --volumes 98da10ed1c4d1819da815bd4df1ea2c062c4a7d0f5bff0f53abc9f0e5dc10514 [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 09:00:42 + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] 09:00:42 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 09:00:42 total 16 09:00:42 drwxr-xr-x 3 root root 4096 Nov 14 08:44 . 09:00:42 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 09:00 .. 09:00:42 drwxr-xr-x 2 root root 4096 Nov 14 08:44 cost 09:00:42 -rw-r--r-- 1 root root 82 Nov 14 08:44 cost.csv 09:00:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives 09:00:42 + ls -al /w/workspace/edgexfoundry_device-uart_main/archives 09:00:42 total 16 09:00:42 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 08:44 . 09:00:42 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 09:00 .. 09:00:42 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 08:44 cost 09:00:42 -rw-r--r-- 1 jenkins jenkins 82 Nov 14 08:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:00:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:00:43 ---> package-listing.sh 09:00:43 ++ facter osfamily 09:00:43 ++ tr '[:upper:]' '[:lower:]' 09:00:43 + OS_FAMILY=debian 09:00:43 + workspace=/w/workspace/edgexfoundry_device-uart_main 09:00:43 + START_PACKAGES=/tmp/packages_start.txt 09:00:43 + END_PACKAGES=/tmp/packages_end.txt 09:00:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:00:43 + PACKAGES=/tmp/packages_start.txt 09:00:43 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 09:00:43 + PACKAGES=/tmp/packages_end.txt 09:00:43 + case "${OS_FAMILY}" in 09:00:43 + dpkg -l 09:00:43 + grep '^ii' 09:00:43 + '[' -f /tmp/packages_start.txt ']' 09:00:43 + '[' -f /tmp/packages_end.txt ']' 09:00:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:00:43 + '[' /w/workspace/edgexfoundry_device-uart_main ']' 09:00:43 + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ 09:00:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo 09:00:43 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 09:00:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:00:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:44 prd-ubuntu20.04-docker-8c-8g-26433 does not seem to be running inside a container 09:00:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:00:44 $ docker top 9c4c72d959b638c9eefc0c1254887973174d79ab4c19d35731f26598a3ef8209 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:45 + touch /tmp/pre-build-complete [Pipeline] sh 09:00:45 + mkdir -p /var/log/sysstat [Pipeline] sh 09:00:45 + ls /var/log/sa-host 09:00:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:00:45 provisioning config files... 09:00:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config110664825726310816tmp [Pipeline] { [Pipeline] echo 09:00:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:00:46 ---> create-netrc.sh [Pipeline] } 09:00:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:00:46 ---> python-tools-install.sh [Pipeline] echo 09:00:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:00:46 ---> sudo-logs.sh 09:00:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:00:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:00:47 ---> job-cost.sh 09:00:47 lf-activate-venv: SKIPPING 09:00:47 DEBUG: total: 0.2199999988079071 09:00:47 INFO: Retrieving Stack Cost... 09:00:47 INFO: Retrieving Pricing Info for: v3-standard-8 09:00:47 INFO: Archiving Costs [Pipeline] echo 09:00:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:00:47 ---> logs-deploy.sh 09:00:47 lf-activate-venv: SKIPPING 09:00:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/45 09:00:47 INFO: archiving workspace using pattern(s): 09:00:48 Archives upload complete. 09:00:48 INFO: archiving logs to Nexus