Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 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-ssh5308040003439618474.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh9444866747404758301.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1628051892076571448.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh3607600357196561006.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-ssh14525949576917984139.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.21 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-5326 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 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 (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 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 # timeout=10 Commit message: "Merge pull request #46 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" > git rev-list --no-walk d91c28011fe1e340ffb33947d534daf2c02bd499 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-09T14:12:28.569Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-09T14:12:28.639Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-09T14:12:28.666Z] ========================================================= [2024-03-09T14:12:28.666Z] EdgeX Global Pipelines Version Info [2024-03-09T14:12:28.666Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:12:29.399Z] ------------------- [2024-03-09T14:12:29.399Z] stable info: [2024-03-09T14:12:29.399Z] ------------------- [2024-03-09T14:12:29.399Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-09T14:12:29.399Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-09T14:12:29.399Z] Message: update stable to v1.0.258 [2024-03-09T14:12:29.969Z] ------------------- [2024-03-09T14:12:29.969Z] experimental info: [2024-03-09T14:12:29.969Z] ------------------- [2024-03-09T14:12:29.969Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-09T14:12:29.969Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-09T14:12:29.969Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-09T14:12:30.058Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-03-09T14:12:30.084Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-03-09T14:12:30.110Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-09T14:12:30.133Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-09T14:12:30.163Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-09T14:12:30.190Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-09T14:12:30.213Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-09T14:12:30.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-09T14:12:30.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-09T14:12:30.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-09T14:12:30.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-09T14:12:30.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-03-09T14:12:30.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-09T14:12:30.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-09T14:12:30.451Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-09T14:12:30.482Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-09T14:12:30.516Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-09T14:12:30.543Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-09T14:12:30.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-09T14:12:30.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-09T14:12:30.644Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-09T14:12:30.673Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-09T14:12:30.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-09T14:12:30.737Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-09T14:12:30.771Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-09T14:12:30.804Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-09T14:12:30.841Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-09T14:12:30.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-03-09T14:12:30.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-03-09T14:12:30.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-03-09T14:12:30.996Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [Pipeline] echo [2024-03-09T14:12:31.035Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9936dc3 [Pipeline] echo [2024-03-09T14:12:31.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-09T14:12:31.146Z] provisioning config files... [2024-03-09T14:12:31.159Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config11756586736802728929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:12:31.491Z] ---> ****-login.sh [2024-03-09T14:12:31.491Z] nexus3.edgexfoundry.org:10001 [2024-03-09T14:12:31.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:31.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:31.749Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:31.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:31.749Z] [2024-03-09T14:12:31.749Z] Login Succeeded [2024-03-09T14:12:31.749Z] nexus3.edgexfoundry.org:10002 [2024-03-09T14:12:31.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:31.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:31.749Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:31.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:31.749Z] [2024-03-09T14:12:31.749Z] Login Succeeded [2024-03-09T14:12:31.749Z] nexus3.edgexfoundry.org:10003 [2024-03-09T14:12:32.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:32.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:32.010Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:32.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:32.010Z] [2024-03-09T14:12:32.010Z] Login Succeeded [2024-03-09T14:12:32.010Z] nexus3.edgexfoundry.org:10004 [2024-03-09T14:12:32.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:32.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:32.010Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:32.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:32.010Z] [2024-03-09T14:12:32.010Z] Login Succeeded [2024-03-09T14:12:32.010Z] ****.io [2024-03-09T14:12:32.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:32.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:32.271Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:32.271Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:32.271Z] [2024-03-09T14:12:32.271Z] Login Succeeded [2024-03-09T14:12:32.271Z] ---> ****-login.sh ends [Pipeline] } [2024-03-09T14:12:32.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-09T14:12:32.764Z] + git rev-list -1 --merges 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1~1..9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [Pipeline] echo [2024-03-09T14:12:32.793Z] -----------> git rev-list -1 --merges 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1~1..9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:12:32.793Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [false] [Pipeline] sh [2024-03-09T14:12:33.107Z] + git log --format=format:%s -1 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [Pipeline] echo [2024-03-09T14:12:33.121Z] ========================================================= [2024-03-09T14:12:33.121Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-09T14:12:33.121Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-09T14:12:33.493Z] + git log --format=format:%s -1 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [Pipeline] echo [2024-03-09T14:12:33.506Z] [semverPrep] GIT_COMMIT: 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1, Commit Message: Merge pull request #46 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10 [Pipeline] echo [2024-03-09T14:12:33.531Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-09T14:12:33.907Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-09T14:12:33.907Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-09T14:12:33.907Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-09T14:12:33.907Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-09T14:12:33.907Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-09T14:12:33.907Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-09T14:12:33.907Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:12:34.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-09T14:12:34.261Z] [2024-03-09T14:12:34.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:12:34.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-09T14:12:34.582Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-09T14:12:34.582Z] b85a868b505f: Pulling fs layer [2024-03-09T14:12:34.582Z] e2be974225ed: Pulling fs layer [2024-03-09T14:12:34.582Z] 339a4e72a1f5: Pulling fs layer [2024-03-09T14:12:34.582Z] 988bab9f4d93: Pulling fs layer [2024-03-09T14:12:34.582Z] 1469e6f7b9e6: Pulling fs layer [2024-03-09T14:12:34.582Z] eaf3925da568: Pulling fs layer [2024-03-09T14:12:34.582Z] bab4dde63d76: Pulling fs layer [2024-03-09T14:12:34.582Z] bde34c3a00c8: Pulling fs layer [2024-03-09T14:12:34.582Z] b352a97aabf1: Pulling fs layer [2024-03-09T14:12:34.582Z] 4872d77fe225: Pulling fs layer [2024-03-09T14:12:34.582Z] 5851b861e8e6: Pulling fs layer [2024-03-09T14:12:34.582Z] 988bab9f4d93: Waiting [2024-03-09T14:12:34.582Z] 1469e6f7b9e6: Waiting [2024-03-09T14:12:34.582Z] bab4dde63d76: Waiting [2024-03-09T14:12:34.582Z] bde34c3a00c8: Waiting [2024-03-09T14:12:34.582Z] 4872d77fe225: Waiting [2024-03-09T14:12:34.582Z] 5851b861e8e6: Waiting [2024-03-09T14:12:34.582Z] b352a97aabf1: Waiting [2024-03-09T14:12:34.582Z] eaf3925da568: Waiting [2024-03-09T14:12:34.582Z] e2be974225ed: Verifying Checksum [2024-03-09T14:12:34.582Z] e2be974225ed: Download complete [2024-03-09T14:12:34.582Z] 988bab9f4d93: Verifying Checksum [2024-03-09T14:12:34.582Z] 988bab9f4d93: Download complete [2024-03-09T14:12:34.582Z] 339a4e72a1f5: Verifying Checksum [2024-03-09T14:12:34.582Z] 339a4e72a1f5: Download complete [2024-03-09T14:12:34.582Z] 1469e6f7b9e6: Verifying Checksum [2024-03-09T14:12:34.582Z] 1469e6f7b9e6: Download complete [2024-03-09T14:12:34.582Z] eaf3925da568: Download complete [2024-03-09T14:12:34.841Z] bde34c3a00c8: Verifying Checksum [2024-03-09T14:12:34.841Z] bde34c3a00c8: Download complete [2024-03-09T14:12:34.841Z] b352a97aabf1: Download complete [2024-03-09T14:12:34.841Z] 4872d77fe225: Verifying Checksum [2024-03-09T14:12:34.841Z] 4872d77fe225: Download complete [2024-03-09T14:12:34.841Z] b85a868b505f: Verifying Checksum [2024-03-09T14:12:34.841Z] b85a868b505f: Download complete [2024-03-09T14:12:34.841Z] 5851b861e8e6: Download complete [2024-03-09T14:12:35.099Z] bab4dde63d76: Verifying Checksum [2024-03-09T14:12:35.099Z] bab4dde63d76: Download complete [2024-03-09T14:12:36.079Z] b85a868b505f: Pull complete [2024-03-09T14:12:36.348Z] e2be974225ed: Pull complete [2024-03-09T14:12:36.607Z] 339a4e72a1f5: Pull complete [2024-03-09T14:12:36.867Z] 988bab9f4d93: Pull complete [2024-03-09T14:12:37.127Z] 1469e6f7b9e6: Pull complete [2024-03-09T14:12:37.127Z] eaf3925da568: Pull complete [2024-03-09T14:12:39.030Z] bab4dde63d76: Pull complete [2024-03-09T14:12:39.030Z] bde34c3a00c8: Pull complete [2024-03-09T14:12:39.030Z] b352a97aabf1: Pull complete [2024-03-09T14:12:39.290Z] 4872d77fe225: Pull complete [2024-03-09T14:12:39.290Z] 5851b861e8e6: Pull complete [2024-03-09T14:12:39.290Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-09T14:12:39.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-09T14:12:39.290Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:12:39.479Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:12:39.508Z] $ 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 [2024-03-09T14:12:43.589Z] $ docker top cd4b6e6dae733adedc5df0143157e092a47aff2f29a238cf87b9fd3093f524aa -eo pid,comm [2024-03-09T14:12:43.648Z] 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). [2024-03-09T14:12:43.648Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-09T14:12:43.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-09T14:12:43.724Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-09T14:12:43.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-09T14:12:43.837Z] $ docker exec cd4b6e6dae733adedc5df0143157e092a47aff2f29a238cf87b9fd3093f524aa ssh-agent [2024-03-09T14:12:43.974Z] SSH_AUTH_SOCK=/tmp/ssh-PLJelEgBKySe/agent.33 [2024-03-09T14:12:43.974Z] SSH_AGENT_PID=39 [2024-03-09T14:12:43.982Z] Running ssh-add (command line suppressed) [2024-03-09T14:12:44.089Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_5620416166371333827.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_5620416166371333827.key) [2024-03-09T14:12:44.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-09T14:12:44.418Z] + git tag --points-at HEAD [Pipeline] } [2024-03-09T14:12:44.426Z] $ docker exec --env ******** --env ******** cd4b6e6dae733adedc5df0143157e092a47aff2f29a238cf87b9fd3093f524aa ssh-agent -k [2024-03-09T14:12:44.536Z] unset SSH_AUTH_SOCK; [2024-03-09T14:12:44.537Z] unset SSH_AGENT_PID; [2024-03-09T14:12:44.537Z] echo Agent pid 39 killed; [2024-03-09T14:12:44.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-09T14:12:44.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-09T14:12:44.612Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-09T14:12:44.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-09T14:12:44.753Z] $ docker exec cd4b6e6dae733adedc5df0143157e092a47aff2f29a238cf87b9fd3093f524aa ssh-agent [2024-03-09T14:12:44.863Z] SSH_AUTH_SOCK=/tmp/ssh-QfajTLUpBMol/agent.72 [2024-03-09T14:12:44.863Z] SSH_AGENT_PID=78 [2024-03-09T14:12:44.869Z] Running ssh-add (command line suppressed) [2024-03-09T14:12:44.961Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13011834768349952760.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_13011834768349952760.key) [2024-03-09T14:12:44.978Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-09T14:12:45.280Z] + git semver init [2024-03-09T14:12:45.541Z] 2024-03-09 14:12:45,478 [run_init] DEBUG init version:0.0.0 force:False [2024-03-09T14:12:45.541Z] 2024-03-09 14:12:45,479 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_main/.semver [2024-03-09T14:12:45.541Z] 2024-03-09 14:12:45,479 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_main/.semver [2024-03-09T14:12:45.541Z] 2024-03-09 14:12:45,479 [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) [2024-03-09T14:12:46.924Z] 2024-03-09 14:12:46,743 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_main/.git/info/exclude [2024-03-09T14:12:46.924Z] 2024-03-09 14:12:46,744 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:False [2024-03-09T14:12:46.924Z] 2024-03-09 14:12:46,744 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:12:46.924Z] 2024-03-09 14:12:46,745 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:12:46.924Z] 3.0.1-dev.20 [Pipeline] } [2024-03-09T14:12:46.933Z] $ docker exec --env ******** --env ******** cd4b6e6dae733adedc5df0143157e092a47aff2f29a238cf87b9fd3093f524aa ssh-agent -k [2024-03-09T14:12:47.029Z] unset SSH_AUTH_SOCK; [2024-03-09T14:12:47.029Z] unset SSH_AGENT_PID; [2024-03-09T14:12:47.029Z] echo Agent pid 78 killed; [2024-03-09T14:12:47.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-09T14:12:47.419Z] + git semver [Pipeline] } [2024-03-09T14:12:47.690Z] $ docker stop --time=1 cd4b6e6dae733adedc5df0143157e092a47aff2f29a238cf87b9fd3093f524aa [2024-03-09T14:12:49.016Z] $ docker rm -f --volumes cd4b6e6dae733adedc5df0143157e092a47aff2f29a238cf87b9fd3093f524aa [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-09T14:12:49.384Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-09T14:12:49.637Z] Stashed 1 file(s) [Pipeline] echo [2024-03-09T14:12:49.640Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.20 [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 [2024-03-09T14:12:50.008Z] provisioning config files... [2024-03-09T14:12:50.019Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config4011154929303697753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:12:50.343Z] ---> ****-login.sh [2024-03-09T14:12:50.344Z] nexus3.edgexfoundry.org:10001 [2024-03-09T14:12:50.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:50.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:50.344Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:50.344Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:50.344Z] [2024-03-09T14:12:50.344Z] Login Succeeded [2024-03-09T14:12:50.344Z] nexus3.edgexfoundry.org:10002 [2024-03-09T14:12:50.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:50.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:50.344Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:50.344Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:50.344Z] [2024-03-09T14:12:50.344Z] Login Succeeded [2024-03-09T14:12:50.344Z] nexus3.edgexfoundry.org:10003 [2024-03-09T14:12:50.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:50.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:50.604Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:50.604Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:50.604Z] [2024-03-09T14:12:50.604Z] Login Succeeded [2024-03-09T14:12:50.604Z] nexus3.edgexfoundry.org:10004 [2024-03-09T14:12:50.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:50.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:50.604Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:50.604Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:50.604Z] [2024-03-09T14:12:50.604Z] Login Succeeded [2024-03-09T14:12:50.604Z] ****.io [2024-03-09T14:12:50.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:12:50.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:12:50.868Z] Configure a credential helper to remove this warning. See [2024-03-09T14:12:50.868Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:12:50.868Z] [2024-03-09T14:12:50.868Z] Login Succeeded [2024-03-09T14:12:50.868Z] ---> ****-login.sh ends [Pipeline] } [2024-03-09T14:12:50.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-09T14:12:51.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-09T14:12:51.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-09T14:12:51.182Z] ========================================================= [2024-03-09T14:12:51.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-09T14:12:51.182Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:12:51.587Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-09T14:12:51.587Z] Sending build context to Docker daemon 23.06MB [2024-03-09T14:12:51.587Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-09T14:12:51.587Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-09T14:12:51.846Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-09T14:12:51.846Z] 7264a8db6415: Pulling fs layer [2024-03-09T14:12:51.846Z] c4d48a809fc2: Pulling fs layer [2024-03-09T14:12:51.846Z] 4f1c88b9dad5: Pulling fs layer [2024-03-09T14:12:51.846Z] ad3a456e5733: Pulling fs layer [2024-03-09T14:12:51.846Z] 69c7f0334f64: Pulling fs layer [2024-03-09T14:12:51.846Z] 1f1c1a5573a3: Pulling fs layer [2024-03-09T14:12:51.846Z] ce7588e14bc9: Pulling fs layer [2024-03-09T14:12:51.846Z] b5e4710f87ac: Pulling fs layer [2024-03-09T14:12:51.846Z] ad3a456e5733: Waiting [2024-03-09T14:12:51.846Z] 69c7f0334f64: Waiting [2024-03-09T14:12:51.846Z] 1f1c1a5573a3: Waiting [2024-03-09T14:12:51.846Z] ce7588e14bc9: Waiting [2024-03-09T14:12:51.846Z] b5e4710f87ac: Waiting [2024-03-09T14:12:51.846Z] c4d48a809fc2: Verifying Checksum [2024-03-09T14:12:51.846Z] c4d48a809fc2: Download complete [2024-03-09T14:12:51.846Z] ad3a456e5733: Download complete [2024-03-09T14:12:51.846Z] 69c7f0334f64: Verifying Checksum [2024-03-09T14:12:51.846Z] 69c7f0334f64: Download complete [2024-03-09T14:12:51.846Z] 7264a8db6415: Verifying Checksum [2024-03-09T14:12:51.846Z] 7264a8db6415: Download complete [2024-03-09T14:12:51.846Z] 1f1c1a5573a3: Verifying Checksum [2024-03-09T14:12:51.846Z] 1f1c1a5573a3: Download complete [2024-03-09T14:12:52.117Z] 7264a8db6415: Pull complete [2024-03-09T14:12:52.117Z] c4d48a809fc2: Pull complete [2024-03-09T14:12:52.375Z] b5e4710f87ac: Verifying Checksum [2024-03-09T14:12:52.375Z] b5e4710f87ac: Download complete [2024-03-09T14:12:52.375Z] 4f1c88b9dad5: Verifying Checksum [2024-03-09T14:12:52.375Z] 4f1c88b9dad5: Download complete [2024-03-09T14:12:52.977Z] ce7588e14bc9: Verifying Checksum [2024-03-09T14:12:52.977Z] ce7588e14bc9: Download complete [2024-03-09T14:12:56.265Z] 4f1c88b9dad5: Pull complete [2024-03-09T14:12:56.265Z] ad3a456e5733: Pull complete [2024-03-09T14:12:56.265Z] 69c7f0334f64: Pull complete [2024-03-09T14:12:56.265Z] 1f1c1a5573a3: Pull complete [2024-03-09T14:12:58.890Z] ce7588e14bc9: Pull complete [2024-03-09T14:12:59.148Z] b5e4710f87ac: Pull complete [2024-03-09T14:12:59.148Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-09T14:12:59.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-09T14:12:59.148Z] ---> 88b5674ff536 [2024-03-09T14:12:59.148Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-09T14:13:04.426Z] ---> Running in 5fbc44713231 [2024-03-09T14:13:04.427Z] Removing intermediate container 5fbc44713231 [2024-03-09T14:13:04.427Z] ---> 8c224d364ef0 [2024-03-09T14:13:04.427Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-09T14:13:04.427Z] ---> Running in 8da03fe793a2 [2024-03-09T14:13:04.684Z] Removing intermediate container 8da03fe793a2 [2024-03-09T14:13:04.684Z] ---> fb4aa3cf7837 [2024-03-09T14:13:04.684Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-09T14:13:04.684Z] ---> Running in a5d57a565820 [2024-03-09T14:13:04.684Z] Removing intermediate container a5d57a565820 [2024-03-09T14:13:04.684Z] ---> 842a8d77eb6f [2024-03-09T14:13:04.684Z] Step 6/12 : WORKDIR /device-uart [2024-03-09T14:13:04.684Z] ---> Running in f429bba7d9e8 [2024-03-09T14:13:04.684Z] Removing intermediate container f429bba7d9e8 [2024-03-09T14:13:04.684Z] ---> 22c30bd2d3f0 [2024-03-09T14:13:04.684Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-09T14:13:04.684Z] ---> Running in bfa982e8be43 [2024-03-09T14:13:04.914Z] Still waiting to schedule task [2024-03-09T14:13:04.915Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-09T14:13:05.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-09T14:13:05.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-09T14:13:05.512Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-09T14:13:05.512Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-09T14:13:05.512Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-09T14:13:05.512Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-09T14:13:05.512Z] Executing busybox-1.36.1-r5.trigger [2024-03-09T14:13:05.512Z] OK: 268 MiB in 56 packages [2024-03-09T14:13:06.466Z] Removing intermediate container bfa982e8be43 [2024-03-09T14:13:06.466Z] ---> 4b8d5d1663ec [2024-03-09T14:13:06.466Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-09T14:13:06.466Z] ---> 9e0bdbe69439 [2024-03-09T14:13:06.466Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-09T14:13:06.466Z] ---> Running in 601deac33f8d [2024-03-09T14:13:45.331Z] Removing intermediate container 601deac33f8d [2024-03-09T14:13:45.331Z] ---> 4c4008947b51 [2024-03-09T14:13:45.331Z] Step 10/12 : COPY . . [2024-03-09T14:13:45.331Z] ---> 6d388d58bf79 [2024-03-09T14:13:45.331Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-09T14:13:45.331Z] ---> Running in b249af751c03 [2024-03-09T14:13:45.331Z] Removing intermediate container b249af751c03 [2024-03-09T14:13:45.331Z] ---> b5fa491353ce [2024-03-09T14:13:45.331Z] Step 12/12 : RUN ${MAKE} [2024-03-09T14:13:45.331Z] ---> Running in 60ee2dea242d [2024-03-09T14:13:45.331Z] noop [2024-03-09T14:13:45.331Z] Removing intermediate container 60ee2dea242d [2024-03-09T14:13:45.331Z] ---> 7a8d1a66ce81 [2024-03-09T14:13:45.331Z] Successfully built 7a8d1a66ce81 [2024-03-09T14:13:45.331Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:13:45.715Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-09T14:13:45.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:13:45.833Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:13:45.929Z] $ 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 [2024-03-09T14:13:46.305Z] $ docker top 2985d513b3cc633cdfb606e83fbb1815a94385c7162b25cbf5005cfee5bb8363 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-09T14:13:46.714Z] + go version [2024-03-09T14:13:46.714Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-09T14:13:46.721Z] $ docker stop --time=1 2985d513b3cc633cdfb606e83fbb1815a94385c7162b25cbf5005cfee5bb8363 [2024-03-09T14:13:48.028Z] $ docker rm -f --volumes 2985d513b3cc633cdfb606e83fbb1815a94385c7162b25cbf5005cfee5bb8363 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:13:48.633Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-09T14:13:48.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:13:48.744Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:13:48.771Z] $ 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 [2024-03-09T14:13:49.119Z] $ docker top a7b9095abfca475f8a7b9ac0c317af353883134ba3d8c3470acabc52c5be1efb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-09T14:13:49.501Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_main [Pipeline] fileExists [Pipeline] sh [2024-03-09T14:13:49.819Z] + make test [2024-03-09T14:13:49.819Z] go test ./... -coverprofile=coverage.out [2024-03-09T14:13:51.197Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-03-09T14:14:03.402Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-03-09T14:14:03.402Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-03-09T14:14:08.670Z] go vet ./... [2024-03-09T14:14:12.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-09T14:14:12.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-09T14:14:12.861Z] ./bin/test-attribution-txt.sh [2024-03-09T14:14:12.861Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-09T14:14:12.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-09T14:14:12.909Z] $ docker stop --time=1 a7b9095abfca475f8a7b9ac0c317af353883134ba3d8c3470acabc52c5be1efb [2024-03-09T14:14:16.354Z] $ docker rm -f --volumes a7b9095abfca475f8a7b9ac0c317af353883134ba3d8c3470acabc52c5be1efb [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-09T14:14:16.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-09T14:14:16.911Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-09T14:14:17.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-09T14:14:17.738Z] + ls -al . [2024-03-09T14:14:17.738Z] total 156 [2024-03-09T14:14:17.738Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 14:13 . [2024-03-09T14:14:17.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 14:12 .. [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 14:12 .dockerignore [2024-03-09T14:14:17.738Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 14:14 .git [2024-03-09T14:14:17.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:12 .github [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 14:12 .gitignore [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 14:12 .golangci.yml [2024-03-09T14:14:17.738Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 14:12 .semver [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 9941 Mar 9 14:12 Attribution.txt [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 1908 Mar 9 14:12 CHANGELOG.md [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 1886 Mar 9 14:12 Dockerfile [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 14:12 GOVERNANCE.md [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 675 Mar 9 14:12 Jenkinsfile [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 14:12 LICENSE [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 1872 Mar 9 14:12 Makefile [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 14:12 OWNERS.md [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 8892 Mar 9 14:12 README.md [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 9 14:12 VERSION [2024-03-09T14:14:17.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 14:12 bin [2024-03-09T14:14:17.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:12 cmd [2024-03-09T14:14:17.738Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 9 14:13 coverage.out [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 3766 Mar 9 14:12 go.mod [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 36435 Mar 9 14:12 go.sum [2024-03-09T14:14:17.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:12 internal [2024-03-09T14:14:17.738Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 14:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:18.091Z] + 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=9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 --label arch=amd64 --label version=3.0.1-dev.20 . [2024-03-09T14:14:18.091Z] Sending build context to Docker daemon 23.06MB [2024-03-09T14:14:18.091Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-09T14:14:18.091Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-09T14:14:18.091Z] ---> 7a8d1a66ce81 [2024-03-09T14:14:18.091Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-09T14:14:18.350Z] ---> Running in ab5d619daba7 [2024-03-09T14:14:18.625Z] Removing intermediate container ab5d619daba7 [2024-03-09T14:14:18.625Z] ---> 89eb585554df [2024-03-09T14:14:18.625Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-09T14:14:18.625Z] ---> Running in f59283109bf1 [2024-03-09T14:14:18.625Z] Removing intermediate container f59283109bf1 [2024-03-09T14:14:18.625Z] ---> fb227b6748e3 [2024-03-09T14:14:18.625Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-09T14:14:18.625Z] ---> Running in 66fe05826ee2 [2024-03-09T14:14:18.625Z] Removing intermediate container 66fe05826ee2 [2024-03-09T14:14:18.625Z] ---> 807aa6fc8f33 [2024-03-09T14:14:18.625Z] Step 6/26 : WORKDIR /device-uart [2024-03-09T14:14:18.883Z] ---> Running in e2913db39a42 [2024-03-09T14:14:18.883Z] Removing intermediate container e2913db39a42 [2024-03-09T14:14:18.883Z] ---> cf09331a1ae5 [2024-03-09T14:14:18.883Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-09T14:14:18.883Z] ---> Running in 1894d29683ef [2024-03-09T14:14:19.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-09T14:14:19.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-09T14:14:19.660Z] OK: 268 MiB in 56 packages [2024-03-09T14:14:19.943Z] Removing intermediate container 1894d29683ef [2024-03-09T14:14:19.943Z] ---> 8036cff30964 [2024-03-09T14:14:19.943Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-09T14:14:20.202Z] ---> a819d2ae5827 [2024-03-09T14:14:20.202Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-09T14:14:20.202Z] ---> Running in c714a793d50d [2024-03-09T14:14:20.768Z] Removing intermediate container c714a793d50d [2024-03-09T14:14:20.768Z] ---> da3548119db2 [2024-03-09T14:14:20.768Z] Step 10/26 : COPY . . [2024-03-09T14:14:21.703Z] ---> 494becd0bec4 [2024-03-09T14:14:21.703Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-09T14:14:21.703Z] ---> Running in 348889d49549 [2024-03-09T14:14:21.703Z] Removing intermediate container 348889d49549 [2024-03-09T14:14:21.703Z] ---> 17c6718cc942 [2024-03-09T14:14:21.704Z] Step 12/26 : RUN ${MAKE} [2024-03-09T14:14:21.704Z] ---> Running in 490971cc4852 [2024-03-09T14:14:21.962Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-03-09T14:14:43.896Z] Removing intermediate container 490971cc4852 [2024-03-09T14:14:43.896Z] ---> eb35a098bf32 [2024-03-09T14:14:43.896Z] Step 13/26 : FROM alpine:3.18 [2024-03-09T14:14:43.896Z] 3.18: Pulling from library/alpine [2024-03-09T14:14:43.896Z] 619be1103602: Pulling fs layer [2024-03-09T14:14:43.896Z] 619be1103602: Verifying Checksum [2024-03-09T14:14:43.896Z] 619be1103602: Download complete [2024-03-09T14:14:43.896Z] 619be1103602: Pull complete [2024-03-09T14:14:43.896Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-09T14:14:43.896Z] Status: Downloaded newer image for alpine:3.18 [2024-03-09T14:14:43.896Z] ---> d3782b16ccc9 [2024-03-09T14:14:43.896Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-09T14:14:43.896Z] ---> Running in 3918667c8483 [2024-03-09T14:14:43.896Z] Removing intermediate container 3918667c8483 [2024-03-09T14:14:43.896Z] ---> 8f0b3222f063 [2024-03-09T14:14:43.896Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-09T14:14:43.896Z] ---> Running in bd86fdca1779 [2024-03-09T14:14:43.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-09T14:14:43.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-09T14:14:44.156Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-09T14:14:44.156Z] Executing busybox-1.36.1-r5.trigger [2024-03-09T14:14:44.156Z] OK: 7 MiB in 16 packages [2024-03-09T14:14:44.417Z] Removing intermediate container bd86fdca1779 [2024-03-09T14:14:44.417Z] ---> 0a10ff9b3237 [2024-03-09T14:14:44.417Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-09T14:14:44.417Z] ---> Running in 1d3efe6a7e50 [2024-03-09T14:14:44.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-09T14:14:44.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-09T14:14:45.247Z] OK: 7 MiB in 16 packages [2024-03-09T14:14:45.507Z] Removing intermediate container 1d3efe6a7e50 [2024-03-09T14:14:45.507Z] ---> ccda54ab1e01 [2024-03-09T14:14:45.507Z] Step 17/26 : WORKDIR / [2024-03-09T14:14:45.507Z] ---> Running in 1a8c44813001 [2024-03-09T14:14:45.507Z] Removing intermediate container 1a8c44813001 [2024-03-09T14:14:45.507Z] ---> c0ee2c9db760 [2024-03-09T14:14:45.507Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-03-09T14:14:45.764Z] ---> 1e3ca1676050 [2024-03-09T14:14:45.764Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-03-09T14:14:45.765Z] ---> edad599f108e [2024-03-09T14:14:45.765Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-03-09T14:14:47.283Z] ---> 1360bb6eca8d [2024-03-09T14:14:47.283Z] Step 21/26 : EXPOSE 59995 [2024-03-09T14:14:47.283Z] ---> Running in 2710801b2ad7 [2024-03-09T14:14:47.283Z] Removing intermediate container 2710801b2ad7 [2024-03-09T14:14:47.283Z] ---> 5a4c0802d43f [2024-03-09T14:14:47.283Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-03-09T14:14:47.283Z] ---> Running in d7ca45931003 [2024-03-09T14:14:47.283Z] Removing intermediate container d7ca45931003 [2024-03-09T14:14:47.283Z] ---> 5a87bfcabcdc [2024-03-09T14:14:47.283Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-09T14:14:47.283Z] ---> Running in 326fcb3fef60 [2024-03-09T14:14:47.283Z] Removing intermediate container 326fcb3fef60 [2024-03-09T14:14:47.283Z] ---> 140092c2a9d0 [2024-03-09T14:14:47.283Z] Step 24/26 : LABEL arch=amd64 [2024-03-09T14:14:47.283Z] ---> Running in 0ed01df8ae0d [2024-03-09T14:14:47.283Z] Removing intermediate container 0ed01df8ae0d [2024-03-09T14:14:47.283Z] ---> 63b76b777efe [2024-03-09T14:14:47.283Z] Step 25/26 : LABEL git_sha=9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:14:47.283Z] ---> Running in 50a827345073 [2024-03-09T14:14:47.543Z] Removing intermediate container 50a827345073 [2024-03-09T14:14:47.543Z] ---> 6f8ef7399d52 [2024-03-09T14:14:47.543Z] Step 26/26 : LABEL version=3.0.1-dev.20 [2024-03-09T14:14:47.543Z] ---> Running in 59b7d74a1150 [2024-03-09T14:14:47.543Z] Removing intermediate container 59b7d74a1150 [2024-03-09T14:14:47.543Z] ---> fdec0b7f6099 [2024-03-09T14:14:47.543Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-09T14:14:47.543Z] Successfully built fdec0b7f6099 [2024-03-09T14:14:47.543Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-09T14:14:47.894Z] provisioning config files... [2024-03-09T14:14:47.902Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config551058258322498806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:14:48.236Z] ---> ****-login.sh [2024-03-09T14:14:48.236Z] nexus3.edgexfoundry.org:10001 [2024-03-09T14:14:48.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:14:48.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:14:48.236Z] Configure a credential helper to remove this warning. See [2024-03-09T14:14:48.236Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:14:48.236Z] [2024-03-09T14:14:48.236Z] Login Succeeded [2024-03-09T14:14:48.236Z] nexus3.edgexfoundry.org:10002 [2024-03-09T14:14:48.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:14:48.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:14:48.236Z] Configure a credential helper to remove this warning. See [2024-03-09T14:14:48.236Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:14:48.236Z] [2024-03-09T14:14:48.236Z] Login Succeeded [2024-03-09T14:14:48.495Z] nexus3.edgexfoundry.org:10003 [2024-03-09T14:14:48.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:14:48.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:14:48.495Z] Configure a credential helper to remove this warning. See [2024-03-09T14:14:48.495Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:14:48.495Z] [2024-03-09T14:14:48.495Z] Login Succeeded [2024-03-09T14:14:48.496Z] nexus3.edgexfoundry.org:10004 [2024-03-09T14:14:48.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:14:48.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:14:48.496Z] Configure a credential helper to remove this warning. See [2024-03-09T14:14:48.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:14:48.496Z] [2024-03-09T14:14:48.496Z] Login Succeeded [2024-03-09T14:14:48.496Z] ****.io [2024-03-09T14:14:48.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:14:49.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:14:49.017Z] Configure a credential helper to remove this warning. See [2024-03-09T14:14:49.017Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:14:49.017Z] [2024-03-09T14:14:49.017Z] Login Succeeded [2024-03-09T14:14:49.017Z] ---> ****-login.sh ends [Pipeline] } [2024-03-09T14:14:49.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-09T14:14:49.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-09T14:14:49.204Z] [edgeXDocker.push] Tagging docker image device-uart with the following tags: [2024-03-09T14:14:49.204Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:14:49.204Z] latest [2024-03-09T14:14:49.204Z] 3.0.1-dev.20 [2024-03-09T14:14:49.204Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20 [2024-03-09T14:14:49.204Z] main [2024-03-09T14:14:49.204Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:49.641Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:50.044Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:14:50.044Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-03-09T14:14:50.044Z] 9585de1b9b41: Preparing [2024-03-09T14:14:50.044Z] 5a111cd033f7: Preparing [2024-03-09T14:14:50.044Z] 1b658328a1cb: Preparing [2024-03-09T14:14:50.044Z] d812766f640f: Preparing [2024-03-09T14:14:50.044Z] fe83ae276ee6: Preparing [2024-03-09T14:14:50.044Z] aedc3bda2944: Preparing [2024-03-09T14:14:50.044Z] aedc3bda2944: Waiting [2024-03-09T14:14:50.044Z] 5a111cd033f7: Pushed [2024-03-09T14:14:50.044Z] 1b658328a1cb: Pushed [2024-03-09T14:14:50.044Z] fe83ae276ee6: Pushed [2024-03-09T14:14:50.044Z] d812766f640f: Pushed [2024-03-09T14:14:50.044Z] aedc3bda2944: Layer already exists [2024-03-09T14:14:53.347Z] 9585de1b9b41: Pushed [2024-03-09T14:14:53.347Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1: digest: sha256:b0cf6e6851cee9ed6f1d9e537bd55647ff4d57068cf4870910227845b83f3c95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:53.731Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:54.114Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:latest [2024-03-09T14:14:54.114Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-03-09T14:14:54.114Z] 9585de1b9b41: Preparing [2024-03-09T14:14:54.114Z] 5a111cd033f7: Preparing [2024-03-09T14:14:54.114Z] 1b658328a1cb: Preparing [2024-03-09T14:14:54.114Z] d812766f640f: Preparing [2024-03-09T14:14:54.114Z] fe83ae276ee6: Preparing [2024-03-09T14:14:54.114Z] aedc3bda2944: Preparing [2024-03-09T14:14:54.114Z] aedc3bda2944: Waiting [2024-03-09T14:14:54.114Z] 1b658328a1cb: Layer already exists [2024-03-09T14:14:54.114Z] fe83ae276ee6: Layer already exists [2024-03-09T14:14:54.114Z] 5a111cd033f7: Layer already exists [2024-03-09T14:14:54.114Z] d812766f640f: Layer already exists [2024-03-09T14:14:54.114Z] 9585de1b9b41: Layer already exists [2024-03-09T14:14:54.114Z] aedc3bda2944: Layer already exists [2024-03-09T14:14:54.114Z] latest: digest: sha256:b0cf6e6851cee9ed6f1d9e537bd55647ff4d57068cf4870910227845b83f3c95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:54.508Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:54.913Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.20 [2024-03-09T14:14:54.913Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-03-09T14:14:54.913Z] 9585de1b9b41: Preparing [2024-03-09T14:14:54.913Z] 5a111cd033f7: Preparing [2024-03-09T14:14:54.913Z] 1b658328a1cb: Preparing [2024-03-09T14:14:54.913Z] d812766f640f: Preparing [2024-03-09T14:14:54.913Z] fe83ae276ee6: Preparing [2024-03-09T14:14:54.913Z] aedc3bda2944: Preparing [2024-03-09T14:14:54.913Z] aedc3bda2944: Waiting [2024-03-09T14:14:54.913Z] fe83ae276ee6: Layer already exists [2024-03-09T14:14:54.913Z] 1b658328a1cb: Layer already exists [2024-03-09T14:14:54.913Z] d812766f640f: Layer already exists [2024-03-09T14:14:54.913Z] 5a111cd033f7: Layer already exists [2024-03-09T14:14:54.913Z] 9585de1b9b41: Layer already exists [2024-03-09T14:14:54.913Z] aedc3bda2944: Layer already exists [2024-03-09T14:14:54.913Z] 3.0.1-dev.20: digest: sha256:b0cf6e6851cee9ed6f1d9e537bd55647ff4d57068cf4870910227845b83f3c95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:55.320Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:55.721Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20 [2024-03-09T14:14:55.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-03-09T14:14:55.721Z] 9585de1b9b41: Preparing [2024-03-09T14:14:55.721Z] 5a111cd033f7: Preparing [2024-03-09T14:14:55.721Z] 1b658328a1cb: Preparing [2024-03-09T14:14:55.721Z] d812766f640f: Preparing [2024-03-09T14:14:55.721Z] fe83ae276ee6: Preparing [2024-03-09T14:14:55.721Z] aedc3bda2944: Preparing [2024-03-09T14:14:55.721Z] aedc3bda2944: Waiting [2024-03-09T14:14:55.721Z] 9585de1b9b41: Layer already exists [2024-03-09T14:14:55.721Z] fe83ae276ee6: Layer already exists [2024-03-09T14:14:55.721Z] 1b658328a1cb: Layer already exists [2024-03-09T14:14:55.721Z] 5a111cd033f7: Layer already exists [2024-03-09T14:14:55.721Z] d812766f640f: Layer already exists [2024-03-09T14:14:55.721Z] aedc3bda2944: Layer already exists [2024-03-09T14:14:55.721Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20: digest: sha256:b0cf6e6851cee9ed6f1d9e537bd55647ff4d57068cf4870910227845b83f3c95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:56.138Z] + docker tag device-uart nexus3.edgexfoundry.org:10004/device-uart:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:56.533Z] + docker push nexus3.edgexfoundry.org:10004/device-uart:main [2024-03-09T14:14:56.533Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart] [2024-03-09T14:14:56.533Z] 9585de1b9b41: Preparing [2024-03-09T14:14:56.533Z] 5a111cd033f7: Preparing [2024-03-09T14:14:56.533Z] 1b658328a1cb: Preparing [2024-03-09T14:14:56.533Z] d812766f640f: Preparing [2024-03-09T14:14:56.533Z] fe83ae276ee6: Preparing [2024-03-09T14:14:56.533Z] aedc3bda2944: Preparing [2024-03-09T14:14:56.533Z] aedc3bda2944: Waiting [2024-03-09T14:14:56.533Z] d812766f640f: Layer already exists [2024-03-09T14:14:56.533Z] 5a111cd033f7: Layer already exists [2024-03-09T14:14:56.533Z] 9585de1b9b41: Layer already exists [2024-03-09T14:14:56.533Z] 1b658328a1cb: Layer already exists [2024-03-09T14:14:56.533Z] fe83ae276ee6: Layer already exists [2024-03-09T14:14:56.533Z] aedc3bda2944: Layer already exists [2024-03-09T14:14:56.533Z] main: digest: sha256:b0cf6e6851cee9ed6f1d9e537bd55647ff4d57068cf4870910227845b83f3c95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-09T14:14:56.765Z] ===================================================== [Pipeline] echo [2024-03-09T14:14:56.806Z] taggedImages: [2024-03-09T14:14:56.807Z] - nexus3.edgexfoundry.org:10004/device-uart:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:14:56.807Z] - nexus3.edgexfoundry.org:10004/device-uart:latest [2024-03-09T14:14:56.807Z] - nexus3.edgexfoundry.org:10004/device-uart:3.0.1-dev.20 [2024-03-09T14:14:56.807Z] - nexus3.edgexfoundry.org:10004/device-uart:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20 [2024-03-09T14:14:56.807Z] - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:57.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-09T14:14:57.422Z] [2024-03-09T14:14:57.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:14:57.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-09T14:14:57.747Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-09T14:14:57.747Z] 5eb5b503b376: Pulling fs layer [2024-03-09T14:14:57.747Z] 5c69ac0246d0: Pulling fs layer [2024-03-09T14:14:57.747Z] ec43610c2a17: Pulling fs layer [2024-03-09T14:14:57.747Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-09T14:14:57.747Z] 33b1e0a273af: Pulling fs layer [2024-03-09T14:14:57.747Z] 5d3b04190fa2: Pulling fs layer [2024-03-09T14:14:57.747Z] 2f39f015ded8: Pulling fs layer [2024-03-09T14:14:57.747Z] 33b1e0a273af: Waiting [2024-03-09T14:14:57.747Z] 3a2ae6a8a46f: Waiting [2024-03-09T14:14:57.747Z] 2f39f015ded8: Waiting [2024-03-09T14:14:57.747Z] 5c69ac0246d0: Verifying Checksum [2024-03-09T14:14:57.747Z] 5c69ac0246d0: Download complete [2024-03-09T14:14:57.747Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-09T14:14:57.747Z] 3a2ae6a8a46f: Download complete [2024-03-09T14:14:57.747Z] 33b1e0a273af: Verifying Checksum [2024-03-09T14:14:57.747Z] 33b1e0a273af: Download complete [2024-03-09T14:14:57.747Z] 5d3b04190fa2: Download complete [2024-03-09T14:14:57.747Z] ec43610c2a17: Verifying Checksum [2024-03-09T14:14:57.747Z] ec43610c2a17: Download complete [2024-03-09T14:14:58.004Z] 5eb5b503b376: Download complete [2024-03-09T14:14:58.571Z] 2f39f015ded8: Verifying Checksum [2024-03-09T14:14:58.571Z] 2f39f015ded8: Download complete [2024-03-09T14:14:59.397Z] 5eb5b503b376: Pull complete [2024-03-09T14:14:59.397Z] 5c69ac0246d0: Pull complete [2024-03-09T14:14:59.963Z] ec43610c2a17: Pull complete [2024-03-09T14:14:59.963Z] 3a2ae6a8a46f: Pull complete [2024-03-09T14:15:00.222Z] 33b1e0a273af: Pull complete [2024-03-09T14:15:00.222Z] 5d3b04190fa2: Pull complete [2024-03-09T14:15:05.496Z] 2f39f015ded8: Pull complete [2024-03-09T14:15:05.496Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-09T14:15:05.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-09T14:15:05.496Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:15:05.697Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:15:05.727Z] $ 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 [2024-03-09T14:15:13.783Z] $ docker top 316060534c601b2fdc1358fa47379ea0cab08568d9c10ddf7e5fc5136eff0041 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:15:14.218Z] ---> job-cost.sh [2024-03-09T14:15:14.218Z] lf-activate-venv: SKIPPING [2024-03-09T14:15:14.218Z] INFO: No Stack... [2024-03-09T14:15:14.477Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-09T14:15:14.736Z] INFO: Archiving Costs [Pipeline] sh [2024-03-09T14:15:15.026Z] + cat /w/workspace/edgexfoundry_device-uart_main/archives/cost.csv [2024-03-09T14:15:15.027Z] + cut -d, -f6 [Pipeline] lock [2024-03-09T14:15:15.041Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-27-stack-cost] [2024-03-09T14:15:15.048Z] Resource [jenkins-edgexfoundry-device-uart-main-27-stack-cost] did not exist. Created. [2024-03-09T14:15:15.052Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-09T14:15:15.413Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-09T14:15:15.478Z] Stashed 1 file(s) [Pipeline] } [2024-03-09T14:15:15.485Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-09T14:15:15.558Z] $ docker stop --time=1 316060534c601b2fdc1358fa47379ea0cab08568d9c10ddf7e5fc5136eff0041 [2024-03-09T14:15:16.725Z] $ docker rm -f --volumes 316060534c601b2fdc1358fa47379ea0cab08568d9c10ddf7e5fc5136eff0041 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-09T14:15:27.468Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5330 in /w/workspace/edgexfoundry_device-uart_main [Pipeline] { [Pipeline] ws [2024-03-09T14:15:27.509Z] Running in /w/workspace/device-uart/27 [Pipeline] { [Pipeline] checkout [2024-03-09T14:15:30.607Z] The recommended git tool is: git [2024-03-09T14:15:40.024Z] using credential edgex-jenkins-ssh [2024-03-09T14:15:40.044Z] Cloning the remote Git repository [2024-03-09T14:15:40.135Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-03-09T14:15:40.300Z] > git init /w/workspace/device-uart/27 # timeout=10 [2024-03-09T14:15:40.620Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-03-09T14:15:40.623Z] > git --version # timeout=10 [2024-03-09T14:15:40.701Z] > git --version # 'git version 2.25.1' [2024-03-09T14:15:40.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-09T14:15:41.013Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-09T14:15:44.508Z] Avoid second fetch [2024-03-09T14:15:44.509Z] Checking out Revision 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 (main) [2024-03-09T14:15:43.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-03-09T14:15:43.326Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-09T14:15:44.528Z] > git config core.sparsecheckout # timeout=10 [2024-03-09T14:15:45.261Z] Commit message: "Merge pull request #46 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-09T14:15:44.629Z] > git checkout -f 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 # timeout=10 [2024-03-09T14:15:46.470Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-09T14:15:46.470Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-09T14:15:46.470Z] Dload Upload Total Spent Left Speed [2024-03-09T14:15:46.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 118k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh [2024-03-09T14:15:47.829Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-09T14:15:48.182Z] + sudo tee /etc/docker/daemon.new [2024-03-09T14:15:48.182Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-09T14:15:48.182Z] { [2024-03-09T14:15:48.182Z] "registry-mirrors": [ [2024-03-09T14:15:48.182Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-09T14:15:48.182Z] ], [2024-03-09T14:15:48.182Z] "bip": "10.250.0.254/24", [2024-03-09T14:15:48.182Z] "hosts": [ [2024-03-09T14:15:48.182Z] "tcp://0.0.0.0:5555", [2024-03-09T14:15:48.182Z] "unix:///var/run/docker.sock" [2024-03-09T14:15:48.182Z] ], [2024-03-09T14:15:48.182Z] "mtu": 1458, [2024-03-09T14:15:48.182Z] "selinux-enabled": true, [2024-03-09T14:15:48.182Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-09T14:15:48.182Z] } [Pipeline] sh [2024-03-09T14:15:48.532Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-09T14:15:48.889Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-09T14:16:07.256Z] provisioning config files... [2024-03-09T14:16:07.284Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/27@tmp/config14965710170780384138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:16:07.766Z] ---> ****-login.sh [2024-03-09T14:16:07.766Z] nexus3.edgexfoundry.org:10001 [2024-03-09T14:16:08.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:16:08.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:16:08.353Z] Configure a credential helper to remove this warning. See [2024-03-09T14:16:08.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:16:08.353Z] [2024-03-09T14:16:08.353Z] Login Succeeded [2024-03-09T14:16:08.353Z] nexus3.edgexfoundry.org:10002 [2024-03-09T14:16:08.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:16:08.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:16:08.893Z] Configure a credential helper to remove this warning. See [2024-03-09T14:16:08.893Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:16:08.893Z] [2024-03-09T14:16:08.893Z] Login Succeeded [2024-03-09T14:16:08.893Z] nexus3.edgexfoundry.org:10003 [2024-03-09T14:16:09.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:16:09.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:16:09.161Z] Configure a credential helper to remove this warning. See [2024-03-09T14:16:09.162Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:16:09.162Z] [2024-03-09T14:16:09.162Z] Login Succeeded [2024-03-09T14:16:09.162Z] nexus3.edgexfoundry.org:10004 [2024-03-09T14:16:09.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:16:09.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:16:09.433Z] Configure a credential helper to remove this warning. See [2024-03-09T14:16:09.433Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:16:09.433Z] [2024-03-09T14:16:09.433Z] Login Succeeded [2024-03-09T14:16:09.433Z] ****.io [2024-03-09T14:16:09.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:16:09.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:16:09.972Z] Configure a credential helper to remove this warning. See [2024-03-09T14:16:09.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:16:09.972Z] [2024-03-09T14:16:09.972Z] Login Succeeded [2024-03-09T14:16:09.972Z] ---> ****-login.sh ends [Pipeline] } [2024-03-09T14:16:09.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-09T14:16:10.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-09T14:16:10.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-09T14:16:10.539Z] ========================================================= [2024-03-09T14:16:10.539Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-09T14:16:10.539Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:16:11.121Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-09T14:16:11.394Z] Sending build context to Docker daemon 11.59MB [2024-03-09T14:16:13.319Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-09T14:16:13.319Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-09T14:16:13.319Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-09T14:16:13.319Z] 9fda8d8052c6: Pulling fs layer [2024-03-09T14:16:13.319Z] 5d54e960e981: Pulling fs layer [2024-03-09T14:16:13.319Z] c4a7e357bf2a: Pulling fs layer [2024-03-09T14:16:13.319Z] f0e02332f6b5: Pulling fs layer [2024-03-09T14:16:13.319Z] 872ee5b61b7b: Pulling fs layer [2024-03-09T14:16:13.319Z] 0c6a40ed1a82: Pulling fs layer [2024-03-09T14:16:13.319Z] 94ae7d8d031c: Pulling fs layer [2024-03-09T14:16:13.319Z] 94ae7d8d031c: Waiting [2024-03-09T14:16:13.319Z] 872ee5b61b7b: Waiting [2024-03-09T14:16:13.319Z] 0c6a40ed1a82: Waiting [2024-03-09T14:16:13.319Z] f0e02332f6b5: Waiting [2024-03-09T14:16:14.654Z] 5d54e960e981: Verifying Checksum [2024-03-09T14:16:14.654Z] 5d54e960e981: Download complete [2024-03-09T14:16:18.596Z] f0e02332f6b5: Verifying Checksum [2024-03-09T14:16:18.597Z] f0e02332f6b5: Download complete [2024-03-09T14:16:18.873Z] 872ee5b61b7b: Verifying Checksum [2024-03-09T14:16:18.873Z] 872ee5b61b7b: Download complete [2024-03-09T14:16:18.873Z] 9fda8d8052c6: Download complete [2024-03-09T14:16:19.144Z] 94ae7d8d031c: Verifying Checksum [2024-03-09T14:16:19.144Z] 94ae7d8d031c: Download complete [2024-03-09T14:16:19.729Z] 9fda8d8052c6: Pull complete [2024-03-09T14:16:20.314Z] 5d54e960e981: Pull complete [2024-03-09T14:16:20.596Z] c4a7e357bf2a: Verifying Checksum [2024-03-09T14:16:20.596Z] c4a7e357bf2a: Download complete [2024-03-09T14:16:21.557Z] 0c6a40ed1a82: Verifying Checksum [2024-03-09T14:16:21.557Z] 0c6a40ed1a82: Download complete [2024-03-09T14:16:33.869Z] c4a7e357bf2a: Pull complete [2024-03-09T14:16:33.869Z] f0e02332f6b5: Pull complete [2024-03-09T14:16:33.869Z] 872ee5b61b7b: Pull complete [2024-03-09T14:16:42.092Z] 0c6a40ed1a82: Pull complete [2024-03-09T14:16:43.500Z] 94ae7d8d031c: Pull complete [2024-03-09T14:16:43.500Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-09T14:16:43.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-09T14:16:43.500Z] ---> 86de565de09d [2024-03-09T14:16:43.500Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-09T14:16:44.467Z] ---> Running in cb895fc8ff41 [2024-03-09T14:16:44.736Z] Removing intermediate container cb895fc8ff41 [2024-03-09T14:16:44.736Z] ---> f975250f1818 [2024-03-09T14:16:44.736Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-09T14:16:44.736Z] ---> Running in a0da25e7867d [2024-03-09T14:16:46.148Z] Removing intermediate container a0da25e7867d [2024-03-09T14:16:46.148Z] ---> c779912ec36c [2024-03-09T14:16:46.148Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-09T14:16:46.419Z] ---> Running in e4f456b9b898 [2024-03-09T14:16:46.684Z] Removing intermediate container e4f456b9b898 [2024-03-09T14:16:46.684Z] ---> 640e2d2bfe25 [2024-03-09T14:16:46.684Z] Step 6/12 : WORKDIR /device-uart [2024-03-09T14:16:46.684Z] ---> Running in 6b563c99c16b [2024-03-09T14:16:47.278Z] Removing intermediate container 6b563c99c16b [2024-03-09T14:16:47.278Z] ---> d2f729465621 [2024-03-09T14:16:47.278Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-09T14:16:47.278Z] ---> Running in 5b46acb42741 [2024-03-09T14:16:48.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-09T14:16:48.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-09T14:16:49.941Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-09T14:16:50.209Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-09T14:16:50.209Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-09T14:16:50.209Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-09T14:16:50.209Z] Executing busybox-1.36.1-r5.trigger [2024-03-09T14:16:50.209Z] OK: 271 MiB in 56 packages [2024-03-09T14:16:51.615Z] Removing intermediate container 5b46acb42741 [2024-03-09T14:16:51.615Z] ---> f28695756c8c [2024-03-09T14:16:51.615Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-09T14:16:51.886Z] ---> 6ef2cf2c27c6 [2024-03-09T14:16:51.886Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-09T14:16:51.886Z] ---> Running in c4d42641db18 [2024-03-09T14:17:59.789Z] Removing intermediate container c4d42641db18 [2024-03-09T14:17:59.789Z] ---> a8a352630d26 [2024-03-09T14:17:59.789Z] Step 10/12 : COPY . . [2024-03-09T14:17:59.789Z] ---> ec36a806f740 [2024-03-09T14:17:59.789Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-09T14:17:59.789Z] ---> Running in 09aac762c39a [2024-03-09T14:17:59.789Z] Removing intermediate container 09aac762c39a [2024-03-09T14:17:59.789Z] ---> 67c8f53322e6 [2024-03-09T14:17:59.789Z] Step 12/12 : RUN ${MAKE} [2024-03-09T14:17:59.789Z] ---> Running in c61a52119d1e [2024-03-09T14:17:59.789Z] noop [2024-03-09T14:17:59.789Z] Removing intermediate container c61a52119d1e [2024-03-09T14:17:59.789Z] ---> 9ac2ef4b2c20 [2024-03-09T14:17:59.789Z] Successfully built 9ac2ef4b2c20 [2024-03-09T14:17:59.789Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:18:00.314Z] + docker inspect -f . ci-base-image-arm64 [2024-03-09T14:18:00.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:18:00.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-5330 does not seem to be running inside a container [2024-03-09T14:18:00.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/27 -v /w/workspace/device-uart/27:/w/workspace/device-uart/27:rw,z -v /w/workspace/device-uart/27@tmp:/w/workspace/device-uart/27@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 [2024-03-09T14:18:02.016Z] $ docker top 7b86219848c8de1c680758cb90d4d07402ee99ac4f405e71faf4dd8a98282e38 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-09T14:18:02.910Z] + go version [2024-03-09T14:18:02.910Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-09T14:18:02.932Z] $ docker stop --time=1 7b86219848c8de1c680758cb90d4d07402ee99ac4f405e71faf4dd8a98282e38 [2024-03-09T14:18:04.520Z] $ docker rm -f --volumes 7b86219848c8de1c680758cb90d4d07402ee99ac4f405e71faf4dd8a98282e38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:18:05.393Z] + docker inspect -f . ci-base-image-arm64 [2024-03-09T14:18:05.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:18:05.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-5330 does not seem to be running inside a container [2024-03-09T14:18:05.723Z] $ 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/27 -v /w/workspace/device-uart/27:/w/workspace/device-uart/27:rw,z -v /w/workspace/device-uart/27@tmp:/w/workspace/device-uart/27@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 [2024-03-09T14:18:07.000Z] $ docker top da9779e6f900dc12aa9ed2130d50947a8e4bff4072352776937f226802954447 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-09T14:18:07.891Z] + git config --global --add safe.directory /w/workspace/device-uart/27 [Pipeline] fileExists [Pipeline] sh [2024-03-09T14:18:08.567Z] + make test [2024-03-09T14:18:08.567Z] go test ./... -coverprofile=coverage.out [2024-03-09T14:18:11.910Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-03-09T14:20:05.797Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-03-09T14:20:05.797Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-03-09T14:20:05.797Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-09T14:20:05.797Z] go vet ./... [2024-03-09T14:20:28.433Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-09T14:20:28.433Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-09T14:20:28.433Z] ./bin/test-attribution-txt.sh [2024-03-09T14:20:28.433Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-09T14:20:28.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-09T14:20:28.510Z] $ docker stop --time=1 da9779e6f900dc12aa9ed2130d50947a8e4bff4072352776937f226802954447 [2024-03-09T14:20:30.479Z] $ docker rm -f --volumes da9779e6f900dc12aa9ed2130d50947a8e4bff4072352776937f226802954447 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-09T14:20:31.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-09T14:20:31.878Z] Warning: overwriting stash ‘coverage-report’ [2024-03-09T14:20:32.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-09T14:20:33.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-09T14:20:33.360Z] + ls -al . [2024-03-09T14:20:33.360Z] total 152 [2024-03-09T14:20:33.360Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 9 14:18 . [2024-03-09T14:20:33.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 14:15 .. [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 14:15 .dockerignore [2024-03-09T14:20:33.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 14:15 .git [2024-03-09T14:20:33.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:15 .github [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 14:15 .gitignore [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 14:15 .golangci.yml [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 9941 Mar 9 14:15 Attribution.txt [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 1908 Mar 9 14:15 CHANGELOG.md [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 1886 Mar 9 14:15 Dockerfile [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 14:15 GOVERNANCE.md [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 675 Mar 9 14:15 Jenkinsfile [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 14:15 LICENSE [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 1872 Mar 9 14:15 Makefile [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 14:15 OWNERS.md [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 8892 Mar 9 14:15 README.md [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 9 14:12 VERSION [2024-03-09T14:20:33.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 14:15 bin [2024-03-09T14:20:33.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:15 cmd [2024-03-09T14:20:33.360Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 9 14:18 coverage.out [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 3766 Mar 9 14:15 go.mod [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 36435 Mar 9 14:15 go.sum [2024-03-09T14:20:33.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:15 internal [2024-03-09T14:20:33.360Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 14:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:20:33.785Z] + 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=9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 --label arch=arm64 --label version=3.0.1-dev.20 . [2024-03-09T14:20:34.373Z] Sending build context to Docker daemon 11.59MB [2024-03-09T14:20:34.373Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-09T14:20:34.373Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-09T14:20:34.373Z] ---> 9ac2ef4b2c20 [2024-03-09T14:20:34.373Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-09T14:20:34.373Z] ---> Running in bcc758f0d025 [2024-03-09T14:20:34.643Z] Removing intermediate container bcc758f0d025 [2024-03-09T14:20:34.643Z] ---> 063504d6130d [2024-03-09T14:20:34.643Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-09T14:20:34.911Z] ---> Running in 202c001c9835 [2024-03-09T14:20:35.180Z] Removing intermediate container 202c001c9835 [2024-03-09T14:20:35.180Z] ---> 236dc9e7c6f0 [2024-03-09T14:20:35.180Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-09T14:20:35.180Z] ---> Running in 0c6f3e1d8766 [2024-03-09T14:20:35.455Z] Removing intermediate container 0c6f3e1d8766 [2024-03-09T14:20:35.455Z] ---> caaeaee74eb8 [2024-03-09T14:20:35.455Z] Step 6/26 : WORKDIR /device-uart [2024-03-09T14:20:35.725Z] ---> Running in 7f44bf672cdf [2024-03-09T14:20:35.998Z] Removing intermediate container 7f44bf672cdf [2024-03-09T14:20:35.998Z] ---> 004e880724f8 [2024-03-09T14:20:35.998Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-09T14:20:35.998Z] ---> Running in 00b4e3267fd6 [2024-03-09T14:20:37.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-09T14:20:37.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-09T14:20:39.102Z] OK: 271 MiB in 56 packages [2024-03-09T14:20:40.069Z] Removing intermediate container 00b4e3267fd6 [2024-03-09T14:20:40.069Z] ---> bb220de278ff [2024-03-09T14:20:40.069Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-09T14:20:40.674Z] ---> af41dc969ff8 [2024-03-09T14:20:40.674Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-09T14:20:40.674Z] ---> Running in 8fdb68b60a43 [2024-03-09T14:20:43.268Z] Removing intermediate container 8fdb68b60a43 [2024-03-09T14:20:43.268Z] ---> cee1cc282360 [2024-03-09T14:20:43.268Z] Step 10/26 : COPY . . [2024-03-09T14:20:43.860Z] ---> b010e02d35c5 [2024-03-09T14:20:43.860Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-09T14:20:44.128Z] ---> Running in 90a6cf4b3e61 [2024-03-09T14:20:44.406Z] Removing intermediate container 90a6cf4b3e61 [2024-03-09T14:20:44.406Z] ---> 9957664b3a6c [2024-03-09T14:20:44.406Z] Step 12/26 : RUN ${MAKE} [2024-03-09T14:20:44.406Z] ---> Running in a0dc959865c1 [2024-03-09T14:20:45.824Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=3.0.1-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-03-09T14:22:52.546Z] Removing intermediate container a0dc959865c1 [2024-03-09T14:22:52.546Z] ---> d44f4fd03375 [2024-03-09T14:22:52.546Z] Step 13/26 : FROM alpine:3.18 [2024-03-09T14:22:52.546Z] 3.18: Pulling from library/alpine [2024-03-09T14:22:52.546Z] c6b39de5b339: Pulling fs layer [2024-03-09T14:22:52.546Z] c6b39de5b339: Verifying Checksum [2024-03-09T14:22:52.546Z] c6b39de5b339: Download complete [2024-03-09T14:22:52.546Z] c6b39de5b339: Pull complete [2024-03-09T14:22:52.546Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-09T14:22:52.546Z] Status: Downloaded newer image for alpine:3.18 [2024-03-09T14:22:52.546Z] ---> 33abbf032149 [2024-03-09T14:22:52.546Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-09T14:22:52.546Z] ---> Running in 47eb15c9b6d3 [2024-03-09T14:22:52.546Z] Removing intermediate container 47eb15c9b6d3 [2024-03-09T14:22:52.546Z] ---> 2d53ca45013f [2024-03-09T14:22:52.546Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-09T14:22:52.546Z] ---> Running in 16c406e9055c [2024-03-09T14:22:53.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-09T14:22:54.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-09T14:22:55.490Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-09T14:22:55.490Z] Executing busybox-1.36.1-r5.trigger [2024-03-09T14:22:55.490Z] OK: 8 MiB in 16 packages [2024-03-09T14:22:56.457Z] Removing intermediate container 16c406e9055c [2024-03-09T14:22:56.457Z] ---> ed29a16b2003 [2024-03-09T14:22:56.457Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-09T14:22:56.457Z] ---> Running in 43a520650521 [2024-03-09T14:22:57.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-09T14:22:57.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-09T14:22:59.109Z] OK: 8 MiB in 16 packages [2024-03-09T14:22:59.696Z] Removing intermediate container 43a520650521 [2024-03-09T14:22:59.696Z] ---> e0ef24babf78 [2024-03-09T14:22:59.696Z] Step 17/26 : WORKDIR / [2024-03-09T14:22:59.965Z] ---> Running in 4e40038e8005 [2024-03-09T14:23:00.233Z] Removing intermediate container 4e40038e8005 [2024-03-09T14:23:00.233Z] ---> f889cdcf446c [2024-03-09T14:23:00.233Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-03-09T14:23:00.817Z] ---> 869ee8c52c98 [2024-03-09T14:23:00.817Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-03-09T14:23:01.416Z] ---> 5036e2dcc138 [2024-03-09T14:23:01.416Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-03-09T14:23:02.832Z] ---> b6b2e931341c [2024-03-09T14:23:02.832Z] Step 21/26 : EXPOSE 59995 [2024-03-09T14:23:02.832Z] ---> Running in 7db40e6e0573 [2024-03-09T14:23:03.104Z] Removing intermediate container 7db40e6e0573 [2024-03-09T14:23:03.104Z] ---> 383f8199c41d [2024-03-09T14:23:03.104Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-03-09T14:23:03.372Z] ---> Running in 784e1a71b547 [2024-03-09T14:23:03.640Z] Removing intermediate container 784e1a71b547 [2024-03-09T14:23:03.640Z] ---> 71021e05426c [2024-03-09T14:23:03.640Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-09T14:23:03.640Z] ---> Running in 7453db0cb589 [2024-03-09T14:23:03.905Z] Removing intermediate container 7453db0cb589 [2024-03-09T14:23:03.905Z] ---> 6230e3da6f15 [2024-03-09T14:23:03.905Z] Step 24/26 : LABEL arch=arm64 [2024-03-09T14:23:03.905Z] ---> Running in f53b2d9412c6 [2024-03-09T14:23:04.171Z] Removing intermediate container f53b2d9412c6 [2024-03-09T14:23:04.171Z] ---> ecae83af1b1f [2024-03-09T14:23:04.171Z] Step 25/26 : LABEL git_sha=9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:23:04.437Z] ---> Running in a233bee1372f [2024-03-09T14:23:04.702Z] Removing intermediate container a233bee1372f [2024-03-09T14:23:04.702Z] ---> 0aa967ed60f8 [2024-03-09T14:23:04.702Z] Step 26/26 : LABEL version=3.0.1-dev.20 [2024-03-09T14:23:04.702Z] ---> Running in 93081ba72511 [2024-03-09T14:23:04.969Z] Removing intermediate container 93081ba72511 [2024-03-09T14:23:04.969Z] ---> 3c4da8217a40 [2024-03-09T14:23:04.969Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-09T14:23:05.237Z] Successfully built 3c4da8217a40 [2024-03-09T14:23:05.237Z] 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 [2024-03-09T14:23:05.734Z] provisioning config files... [2024-03-09T14:23:05.751Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/27@tmp/config11497146327674051541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:23:06.146Z] ---> ****-login.sh [2024-03-09T14:23:06.146Z] nexus3.edgexfoundry.org:10001 [2024-03-09T14:23:06.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:23:06.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:23:06.414Z] Configure a credential helper to remove this warning. See [2024-03-09T14:23:06.414Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:23:06.414Z] [2024-03-09T14:23:06.414Z] Login Succeeded [2024-03-09T14:23:06.414Z] nexus3.edgexfoundry.org:10002 [2024-03-09T14:23:06.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:23:06.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:23:06.681Z] Configure a credential helper to remove this warning. See [2024-03-09T14:23:06.681Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:23:06.681Z] [2024-03-09T14:23:06.681Z] Login Succeeded [2024-03-09T14:23:06.681Z] nexus3.edgexfoundry.org:10003 [2024-03-09T14:23:06.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:23:07.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:23:07.219Z] Configure a credential helper to remove this warning. See [2024-03-09T14:23:07.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:23:07.219Z] [2024-03-09T14:23:07.219Z] Login Succeeded [2024-03-09T14:23:07.219Z] nexus3.edgexfoundry.org:10004 [2024-03-09T14:23:07.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:23:07.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:23:07.486Z] Configure a credential helper to remove this warning. See [2024-03-09T14:23:07.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:23:07.487Z] [2024-03-09T14:23:07.487Z] Login Succeeded [2024-03-09T14:23:07.487Z] ****.io [2024-03-09T14:23:07.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-09T14:23:08.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-09T14:23:08.022Z] Configure a credential helper to remove this warning. See [2024-03-09T14:23:08.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-09T14:23:08.023Z] [2024-03-09T14:23:08.023Z] Login Succeeded [2024-03-09T14:23:08.023Z] ---> ****-login.sh ends [Pipeline] } [2024-03-09T14:23:08.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-09T14:23:08.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-09T14:23:08.305Z] [edgeXDocker.push] Tagging docker image device-uart-arm64 with the following tags: [2024-03-09T14:23:08.305Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:23:08.305Z] latest [2024-03-09T14:23:08.305Z] 3.0.1-dev.20 [2024-03-09T14:23:08.305Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20 [2024-03-09T14:23:08.305Z] main [2024-03-09T14:23:08.305Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:08.901Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:09.369Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:23:09.369Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-03-09T14:23:09.369Z] 7dbd60535030: Preparing [2024-03-09T14:23:09.369Z] 4ace19865917: Preparing [2024-03-09T14:23:09.369Z] 1e126d4a0737: Preparing [2024-03-09T14:23:09.369Z] a03e7126c7ca: Preparing [2024-03-09T14:23:09.369Z] 6bfa6ac0fcf9: Preparing [2024-03-09T14:23:09.369Z] 7c504f21be85: Preparing [2024-03-09T14:23:09.369Z] 7c504f21be85: Waiting [2024-03-09T14:23:09.635Z] 4ace19865917: Pushed [2024-03-09T14:23:09.635Z] 6bfa6ac0fcf9: Pushed [2024-03-09T14:23:09.635Z] a03e7126c7ca: Pushed [2024-03-09T14:23:09.635Z] 1e126d4a0737: Pushed [2024-03-09T14:23:09.635Z] 7c504f21be85: Layer already exists [2024-03-09T14:23:16.280Z] 7dbd60535030: Pushed [2024-03-09T14:23:16.280Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1: digest: sha256:b2830d503d6325653655a964a019d60f59991e78d173708afd0d3f0609a51eb6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:16.763Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:17.245Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2024-03-09T14:23:17.245Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-03-09T14:23:17.245Z] 7dbd60535030: Preparing [2024-03-09T14:23:17.245Z] 4ace19865917: Preparing [2024-03-09T14:23:17.245Z] 1e126d4a0737: Preparing [2024-03-09T14:23:17.245Z] a03e7126c7ca: Preparing [2024-03-09T14:23:17.245Z] 6bfa6ac0fcf9: Preparing [2024-03-09T14:23:17.245Z] 7c504f21be85: Preparing [2024-03-09T14:23:17.245Z] 7c504f21be85: Waiting [2024-03-09T14:23:17.245Z] 1e126d4a0737: Layer already exists [2024-03-09T14:23:17.245Z] 7dbd60535030: Layer already exists [2024-03-09T14:23:17.245Z] 6bfa6ac0fcf9: Layer already exists [2024-03-09T14:23:17.245Z] a03e7126c7ca: Layer already exists [2024-03-09T14:23:17.245Z] 4ace19865917: Layer already exists [2024-03-09T14:23:17.245Z] 7c504f21be85: Layer already exists [2024-03-09T14:23:17.513Z] latest: digest: sha256:b2830d503d6325653655a964a019d60f59991e78d173708afd0d3f0609a51eb6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:17.985Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:18.447Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.20 [2024-03-09T14:23:18.447Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-03-09T14:23:18.447Z] 7dbd60535030: Preparing [2024-03-09T14:23:18.447Z] 4ace19865917: Preparing [2024-03-09T14:23:18.447Z] 1e126d4a0737: Preparing [2024-03-09T14:23:18.447Z] a03e7126c7ca: Preparing [2024-03-09T14:23:18.447Z] 6bfa6ac0fcf9: Preparing [2024-03-09T14:23:18.447Z] 7c504f21be85: Preparing [2024-03-09T14:23:18.447Z] 7c504f21be85: Waiting [2024-03-09T14:23:18.447Z] 7dbd60535030: Layer already exists [2024-03-09T14:23:18.447Z] a03e7126c7ca: Layer already exists [2024-03-09T14:23:18.447Z] 4ace19865917: Layer already exists [2024-03-09T14:23:18.447Z] 6bfa6ac0fcf9: Layer already exists [2024-03-09T14:23:18.447Z] 1e126d4a0737: Layer already exists [2024-03-09T14:23:18.447Z] 7c504f21be85: Layer already exists [2024-03-09T14:23:18.716Z] 3.0.1-dev.20: digest: sha256:b2830d503d6325653655a964a019d60f59991e78d173708afd0d3f0609a51eb6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:19.306Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:19.787Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20 [2024-03-09T14:23:19.787Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-03-09T14:23:19.787Z] 7dbd60535030: Preparing [2024-03-09T14:23:19.787Z] 4ace19865917: Preparing [2024-03-09T14:23:19.787Z] 1e126d4a0737: Preparing [2024-03-09T14:23:19.787Z] a03e7126c7ca: Preparing [2024-03-09T14:23:19.787Z] 6bfa6ac0fcf9: Preparing [2024-03-09T14:23:19.787Z] 7c504f21be85: Preparing [2024-03-09T14:23:19.787Z] 1e126d4a0737: Layer already exists [2024-03-09T14:23:19.787Z] 7dbd60535030: Layer already exists [2024-03-09T14:23:19.787Z] 4ace19865917: Layer already exists [2024-03-09T14:23:19.787Z] a03e7126c7ca: Layer already exists [2024-03-09T14:23:19.787Z] 6bfa6ac0fcf9: Layer already exists [2024-03-09T14:23:19.787Z] 7c504f21be85: Layer already exists [2024-03-09T14:23:20.058Z] 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20: digest: sha256:b2830d503d6325653655a964a019d60f59991e78d173708afd0d3f0609a51eb6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:20.558Z] + docker tag device-uart-arm64 nexus3.edgexfoundry.org:10004/device-uart-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:21.069Z] + docker push nexus3.edgexfoundry.org:10004/device-uart-arm64:main [2024-03-09T14:23:21.069Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-uart-arm64] [2024-03-09T14:23:21.069Z] 7dbd60535030: Preparing [2024-03-09T14:23:21.069Z] 4ace19865917: Preparing [2024-03-09T14:23:21.069Z] 1e126d4a0737: Preparing [2024-03-09T14:23:21.069Z] a03e7126c7ca: Preparing [2024-03-09T14:23:21.069Z] 6bfa6ac0fcf9: Preparing [2024-03-09T14:23:21.069Z] 7c504f21be85: Preparing [2024-03-09T14:23:21.069Z] 7c504f21be85: Waiting [2024-03-09T14:23:21.069Z] 4ace19865917: Layer already exists [2024-03-09T14:23:21.069Z] 1e126d4a0737: Layer already exists [2024-03-09T14:23:21.069Z] 6bfa6ac0fcf9: Layer already exists [2024-03-09T14:23:21.069Z] 7dbd60535030: Layer already exists [2024-03-09T14:23:21.069Z] a03e7126c7ca: Layer already exists [2024-03-09T14:23:21.069Z] 7c504f21be85: Layer already exists [2024-03-09T14:23:21.340Z] main: digest: sha256:b2830d503d6325653655a964a019d60f59991e78d173708afd0d3f0609a51eb6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-09T14:23:21.658Z] ===================================================== [Pipeline] echo [2024-03-09T14:23:21.714Z] taggedImages: [2024-03-09T14:23:21.714Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [2024-03-09T14:23:21.714Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:latest [2024-03-09T14:23:21.714Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:3.0.1-dev.20 [2024-03-09T14:23:21.714Z] - nexus3.edgexfoundry.org:10004/device-uart-arm64:9936dc3f81d58761e31716587a1b2ffd4e1ee2c1-3.0.1-dev.20 [2024-03-09T14:23:21.714Z] - 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 [2024-03-09T14:23:22.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-09T14:23:22.349Z] [2024-03-09T14:23:22.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:23:22.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-09T14:23:23.011Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-09T14:23:23.011Z] 8998bd30e6a1: Pulling fs layer [2024-03-09T14:23:23.011Z] 04944245beec: Pulling fs layer [2024-03-09T14:23:23.011Z] 699f458cf7ca: Pulling fs layer [2024-03-09T14:23:23.011Z] 765212b225bb: Pulling fs layer [2024-03-09T14:23:23.011Z] f23df028b6ca: Pulling fs layer [2024-03-09T14:23:23.011Z] d65c8cfc05b1: Pulling fs layer [2024-03-09T14:23:23.011Z] 765212b225bb: Waiting [2024-03-09T14:23:23.011Z] f23df028b6ca: Waiting [2024-03-09T14:23:23.011Z] d65c8cfc05b1: Waiting [2024-03-09T14:23:23.011Z] 2437ff75d9bd: Pulling fs layer [2024-03-09T14:23:23.011Z] 04944245beec: Verifying Checksum [2024-03-09T14:23:23.011Z] 04944245beec: Download complete [2024-03-09T14:23:23.011Z] 765212b225bb: Verifying Checksum [2024-03-09T14:23:23.011Z] 765212b225bb: Download complete [2024-03-09T14:23:23.011Z] f23df028b6ca: Verifying Checksum [2024-03-09T14:23:23.011Z] f23df028b6ca: Download complete [2024-03-09T14:23:23.011Z] d65c8cfc05b1: Verifying Checksum [2024-03-09T14:23:23.011Z] d65c8cfc05b1: Download complete [2024-03-09T14:23:23.296Z] 699f458cf7ca: Verifying Checksum [2024-03-09T14:23:23.296Z] 699f458cf7ca: Download complete [2024-03-09T14:23:23.565Z] 8998bd30e6a1: Verifying Checksum [2024-03-09T14:23:23.565Z] 8998bd30e6a1: Download complete [2024-03-09T14:23:26.151Z] 2437ff75d9bd: Verifying Checksum [2024-03-09T14:23:26.151Z] 2437ff75d9bd: Download complete [2024-03-09T14:23:28.099Z] 8998bd30e6a1: Pull complete [2024-03-09T14:23:28.684Z] 04944245beec: Pull complete [2024-03-09T14:23:30.095Z] 699f458cf7ca: Pull complete [2024-03-09T14:23:30.684Z] 765212b225bb: Pull complete [2024-03-09T14:23:31.269Z] f23df028b6ca: Pull complete [2024-03-09T14:23:31.538Z] d65c8cfc05b1: Pull complete [2024-03-09T14:23:49.757Z] 2437ff75d9bd: Pull complete [2024-03-09T14:23:49.757Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-09T14:23:49.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-09T14:23:49.757Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:23:50.165Z] prd-ubuntu20.04-docker-arm64-4c-16g-5330 does not seem to be running inside a container [2024-03-09T14:23:50.233Z] $ 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/27 -v /w/workspace/device-uart/27:/w/workspace/device-uart/27:rw,z -v /w/workspace/device-uart/27@tmp:/w/workspace/device-uart/27@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 [2024-03-09T14:23:53.327Z] $ docker top 41e5c81c66cbd5bd97c347a01f45ff0d352a1a89fe067250d058fd56766efbb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:23:54.296Z] ---> job-cost.sh [2024-03-09T14:23:54.296Z] lf-activate-venv: SKIPPING [2024-03-09T14:23:54.296Z] INFO: No Stack... [2024-03-09T14:23:54.564Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-09T14:23:55.528Z] INFO: Archiving Costs [Pipeline] sh [2024-03-09T14:23:56.159Z] + cut -d, -f6 [2024-03-09T14:23:56.159Z] + cat /w/workspace/device-uart/27/archives/cost.csv [Pipeline] lock [2024-03-09T14:23:56.283Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-main-27-stack-cost] [2024-03-09T14:23:56.338Z] Resource [jenkins-edgexfoundry-device-uart-main-27-stack-cost] did not exist. Created. [2024-03-09T14:23:56.344Z] Lock acquired on [jenkins-edgexfoundry-device-uart-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-09T14:23:57.090Z] /w/workspace/device-uart/27@tmp/durable-547c8635/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-09T14:23:57.739Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-09T14:23:57.755Z] Warning: overwriting stash ‘stack-cost’ [2024-03-09T14:23:57.815Z] Stashed 1 file(s) [Pipeline] } [2024-03-09T14:23:57.860Z] Lock released on resource [jenkins-edgexfoundry-device-uart-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-09T14:23:57.978Z] $ docker stop --time=1 41e5c81c66cbd5bd97c347a01f45ff0d352a1a89fe067250d058fd56766efbb7 [2024-03-09T14:23:59.549Z] $ docker rm -f --volumes 41e5c81c66cbd5bd97c347a01f45ff0d352a1a89fe067250d058fd56766efbb7 [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 [2024-03-09T14:24:00.889Z] provisioning config files... [2024-03-09T14:24:00.894Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config14734808445845602548tmp [Pipeline] { [Pipeline] sh [2024-03-09T14:24:01.285Z] + set +x [2024-03-09T14:24:01.285Z] + curl -s https://codecov.io/bash [2024-03-09T14:24:01.285Z] + bash -s -- [2024-03-09T14:24:01.285Z] [2024-03-09T14:24:01.285Z] _____ _ [2024-03-09T14:24:01.285Z] / ____| | | [2024-03-09T14:24:01.285Z] | | ___ __| | ___ ___ _____ __ [2024-03-09T14:24:01.285Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-09T14:24:01.285Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-09T14:24:01.285Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-09T14:24:01.285Z] Bash-1.0.6 [2024-03-09T14:24:01.285Z] [2024-03-09T14:24:01.285Z] [2024-03-09T14:24:01.285Z] ==> git version 2.25.1 found [2024-03-09T14:24:01.285Z] ==> 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 [2024-03-09T14:24:01.285Z] Release-Date: 2020-01-08 [2024-03-09T14:24:01.285Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-09T14:24:01.286Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-09T14:24:01.286Z] ==> Jenkins CI detected. [2024-03-09T14:24:01.286Z] current dir:  /w/workspace/edgexfoundry_device-uart_main [2024-03-09T14:24:01.286Z] project root: . [2024-03-09T14:24:01.286Z] --> token set from env [2024-03-09T14:24:01.286Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-09T14:24:01.286Z] ==> Running gcov in . (disable via -X gcov) [2024-03-09T14:24:01.286Z] ==> Python coveragepy not found [2024-03-09T14:24:01.286Z] ==> Searching for coverage reports in: [2024-03-09T14:24:01.286Z] + . [2024-03-09T14:24:01.286Z] -> Found 1 reports [2024-03-09T14:24:01.286Z] ==> Detecting git/mercurial file structure [2024-03-09T14:24:01.545Z] ==> Reading reports [2024-03-09T14:24:01.545Z] + ./coverage.out bytes=10 [2024-03-09T14:24:01.545Z] ==> Appending adjustments [2024-03-09T14:24:01.545Z] https://docs.codecov.io/docs/fixing-reports [2024-03-09T14:24:01.545Z] + Found adjustments [2024-03-09T14:24:01.545Z] ==> Gzipping contents [2024-03-09T14:24:01.545Z] 4.0K /tmp/codecov.Vm3VVC.gz [2024-03-09T14:24:01.545Z] ==> Uploading reports [2024-03-09T14:24:01.545Z] url: https://codecov.io [2024-03-09T14:24:01.545Z] query: branch=main&commit=9936dc3f81d58761e31716587a1b2ffd4e1ee2c1&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2024-03-09T14:24:01.545Z] -> Pinging Codecov [2024-03-09T14:24:01.545Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=9936dc3f81d58761e31716587a1b2ffd4e1ee2c1&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=&job=&cmd_args= [2024-03-09T14:24:02.113Z] -> Uploading to [2024-03-09T14:24:02.113Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-09/B9AA6E0BBD74AE3A32605C7A7C664919/9936dc3f81d58761e31716587a1b2ffd4e1ee2c1/70cefe54-7b31-423b-b7a3-a43b98554b83.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240309T142401Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=971fc0dfc0a71e4b5ca31f02f09d14d73dba18cc12f89d5c6b16dba2c8171176 [2024-03-09T14:24:02.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-09T14:24:02.113Z] Dload Upload Total Spent Left Speed [2024-03-09T14:24:02.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2233 --:--:-- --:--:-- --:--:-- 2241 [2024-03-09T14:24:02.372Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [Pipeline] } [2024-03-09T14:24:02.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-03-09T14:24:02.722Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-03-09T14:24:02.734Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:24:03.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-09T14:24:03.155Z] [2024-03-09T14:24:03.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:24:03.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-09T14:24:03.497Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2024-03-09T14:24:03.497Z] df9b9388f04a: Pulling fs layer [2024-03-09T14:24:03.497Z] 52dc419b0ee2: Pulling fs layer [2024-03-09T14:24:03.497Z] 25bc292e5bac: Pulling fs layer [2024-03-09T14:24:03.497Z] 114826534d7a: Pulling fs layer [2024-03-09T14:24:03.497Z] 4657fd5d0bcf: Pulling fs layer [2024-03-09T14:24:03.497Z] 6ad1cebc031e: Pulling fs layer [2024-03-09T14:24:03.497Z] 8a3aa393b2d8: Pulling fs layer [2024-03-09T14:24:03.497Z] 4657fd5d0bcf: Waiting [2024-03-09T14:24:03.497Z] 6ad1cebc031e: Waiting [2024-03-09T14:24:03.497Z] 114826534d7a: Waiting [2024-03-09T14:24:03.497Z] 8a3aa393b2d8: Waiting [2024-03-09T14:24:03.497Z] 25bc292e5bac: Verifying Checksum [2024-03-09T14:24:03.497Z] 25bc292e5bac: Download complete [2024-03-09T14:24:03.497Z] 52dc419b0ee2: Verifying Checksum [2024-03-09T14:24:03.497Z] 52dc419b0ee2: Download complete [2024-03-09T14:24:03.497Z] 4657fd5d0bcf: Download complete [2024-03-09T14:24:03.497Z] df9b9388f04a: Verifying Checksum [2024-03-09T14:24:03.497Z] df9b9388f04a: Download complete [2024-03-09T14:24:03.766Z] df9b9388f04a: Pull complete [2024-03-09T14:24:03.766Z] 6ad1cebc031e: Verifying Checksum [2024-03-09T14:24:03.766Z] 6ad1cebc031e: Download complete [2024-03-09T14:24:03.766Z] 52dc419b0ee2: Pull complete [2024-03-09T14:24:03.766Z] 25bc292e5bac: Pull complete [2024-03-09T14:24:04.331Z] 114826534d7a: Download complete [2024-03-09T14:24:04.592Z] 8a3aa393b2d8: Verifying Checksum [2024-03-09T14:24:04.592Z] 8a3aa393b2d8: Download complete [2024-03-09T14:24:07.871Z] 114826534d7a: Pull complete [2024-03-09T14:24:07.871Z] 4657fd5d0bcf: Pull complete [2024-03-09T14:24:07.871Z] 6ad1cebc031e: Pull complete [2024-03-09T14:24:10.397Z] 8a3aa393b2d8: Pull complete [2024-03-09T14:24:10.397Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2024-03-09T14:24:10.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-09T14:24:10.397Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:24:10.666Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:24:10.692Z] $ 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:1.410.4 cat [2024-03-09T14:24:12.637Z] $ docker top 97e6227a12406596714ef013dfcf6db4d700f9285f58199518d7ef462cdc256e -eo pid,comm [Pipeline] { [Pipeline] echo [2024-03-09T14:24:12.811Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-uart:main' [Pipeline] sh [2024-03-09T14:24:13.095Z] + set -o pipefail [2024-03-09T14:24:13.096Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-uart:main' [2024-03-09T14:24:18.377Z] [2024-03-09T14:24:18.377Z] Monitoring /w/workspace/edgexfoundry_device-uart_main (github.com/edgexfoundry/device-uart)... [2024-03-09T14:24:18.377Z] [2024-03-09T14:24:18.377Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/839e76c3-419f-4841-b42c-faf91da652d2/history/5ed1e24c-0f04-4d38-a32a-78cc4c04d34a [2024-03-09T14:24:18.377Z] [2024-03-09T14:24:18.377Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-03-09T14:24:18.377Z] [2024-03-09T14:24:18.377Z] [2024-03-09T14:24:18.377Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2024-03-09T14:24:18.377Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2024-03-09T14:24:18.377Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2024-03-09T14:24:18.385Z] $ docker stop --time=1 97e6227a12406596714ef013dfcf6db4d700f9285f58199518d7ef462cdc256e [2024-03-09T14:24:20.166Z] $ docker rm -f --volumes 97e6227a12406596714ef013dfcf6db4d700f9285f58199518d7ef462cdc256e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-09T14:24:21.677Z] + git log --format=format:%s -1 9936dc3f81d58761e31716587a1b2ffd4e1ee2c1 [Pipeline] sh [2024-03-09T14:24:21.967Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-09T14:24:21.967Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:24:22.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-09T14:24:22.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:24:22.542Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:24:22.566Z] $ 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 [2024-03-09T14:24:22.920Z] $ docker top 352423a5a6a9bcc9908ca2ecc6a7da3630236ebf85b8c27e008242da8b074c9d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-09T14:24:23.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-09T14:24:23.248Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-09T14:24:23.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-09T14:24:23.356Z] $ docker exec 352423a5a6a9bcc9908ca2ecc6a7da3630236ebf85b8c27e008242da8b074c9d ssh-agent [2024-03-09T14:24:23.466Z] SSH_AUTH_SOCK=/tmp/ssh-I8rnCdMNadEf/agent.32 [2024-03-09T14:24:23.466Z] SSH_AGENT_PID=38 [2024-03-09T14:24:23.470Z] Running ssh-add (command line suppressed) [2024-03-09T14:24:23.560Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8948524324868006548.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_8948524324868006548.key) [2024-03-09T14:24:23.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-09T14:24:23.918Z] + git semver tag [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,105 [run_tag] DEBUG tag force:False [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,105 [check_head_tag] DEBUG check head tag [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,106 [execute] INFO git cat-file --batch-check [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,110 [execute] INFO git cat-file --batch [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=) [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,122 [execute] INFO git tag -a v3.0.1-dev.20 -m v3.0.1-dev.20 [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,122 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.20', '-m', 'v3.0.1-dev.20'], cwd=/w/workspace/edgexfoundry_device-uart_main, universal_newlines=False, shell=None, istream=None) [2024-03-09T14:24:24.177Z] 2024-03-09 14:24:24,128 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:24:24.177Z] 3.0.1-dev.20 [Pipeline] } [2024-03-09T14:24:24.182Z] $ docker exec --env ******** --env ******** 352423a5a6a9bcc9908ca2ecc6a7da3630236ebf85b8c27e008242da8b074c9d ssh-agent -k [2024-03-09T14:24:24.279Z] unset SSH_AUTH_SOCK; [2024-03-09T14:24:24.279Z] unset SSH_AGENT_PID; [2024-03-09T14:24:24.279Z] echo Agent pid 38 killed; [2024-03-09T14:24:24.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-09T14:24:24.823Z] + git semver [Pipeline] } [2024-03-09T14:24:25.087Z] $ docker stop --time=1 352423a5a6a9bcc9908ca2ecc6a7da3630236ebf85b8c27e008242da8b074c9d [2024-03-09T14:24:26.348Z] $ docker rm -f --volumes 352423a5a6a9bcc9908ca2ecc6a7da3630236ebf85b8c27e008242da8b074c9d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:24:26.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-09T14:24:26.995Z] [2024-03-09T14:24:26.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:24:27.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-09T14:24:27.341Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-03-09T14:24:27.341Z] ab5ef0e58194: Pulling fs layer [2024-03-09T14:24:27.341Z] 9712f1f96733: Pulling fs layer [2024-03-09T14:24:27.341Z] 63f879dbbcfc: Pulling fs layer [2024-03-09T14:24:27.341Z] 0d9ebad4ef96: Pulling fs layer [2024-03-09T14:24:27.341Z] e9a5061849ea: Pulling fs layer [2024-03-09T14:24:27.341Z] d747dcd14b5f: Pulling fs layer [2024-03-09T14:24:27.341Z] 2de7ff778b66: Pulling fs layer [2024-03-09T14:24:27.341Z] e9a5061849ea: Waiting [2024-03-09T14:24:27.341Z] 0d9ebad4ef96: Waiting [2024-03-09T14:24:27.341Z] d747dcd14b5f: Waiting [2024-03-09T14:24:27.341Z] 2de7ff778b66: Waiting [2024-03-09T14:24:27.341Z] 9712f1f96733: Verifying Checksum [2024-03-09T14:24:27.341Z] 9712f1f96733: Download complete [2024-03-09T14:24:27.599Z] 63f879dbbcfc: Verifying Checksum [2024-03-09T14:24:27.599Z] 63f879dbbcfc: Download complete [2024-03-09T14:24:27.858Z] 0d9ebad4ef96: Verifying Checksum [2024-03-09T14:24:27.858Z] 0d9ebad4ef96: Download complete [2024-03-09T14:24:27.858Z] d747dcd14b5f: Verifying Checksum [2024-03-09T14:24:27.858Z] d747dcd14b5f: Download complete [2024-03-09T14:24:27.858Z] e9a5061849ea: Verifying Checksum [2024-03-09T14:24:27.858Z] e9a5061849ea: Download complete [2024-03-09T14:24:27.858Z] ab5ef0e58194: Verifying Checksum [2024-03-09T14:24:27.858Z] ab5ef0e58194: Download complete [2024-03-09T14:24:27.858Z] 2de7ff778b66: Verifying Checksum [2024-03-09T14:24:27.858Z] 2de7ff778b66: Download complete [2024-03-09T14:24:31.146Z] ab5ef0e58194: Pull complete [2024-03-09T14:24:31.146Z] 9712f1f96733: Pull complete [2024-03-09T14:24:31.404Z] 63f879dbbcfc: Pull complete [2024-03-09T14:24:35.599Z] 0d9ebad4ef96: Pull complete [2024-03-09T14:24:35.599Z] e9a5061849ea: Pull complete [2024-03-09T14:24:35.599Z] d747dcd14b5f: Pull complete [2024-03-09T14:24:36.972Z] 2de7ff778b66: Pull complete [2024-03-09T14:24:36.972Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-03-09T14:24:36.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-09T14:24:36.972Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:24:37.301Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:24:37.336Z] $ 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 [2024-03-09T14:24:38.906Z] $ docker top 24c926b1777bd33d3e57b51b6cb834e810c4aa5aa9b0ed70c3a1329626213ea7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-03-09T14:24:39.091Z] provisioning config files... [2024-03-09T14:24:39.097Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config16813722814637552234tmp [2024-03-09T14:24:39.106Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config2231994054409604664tmp [2024-03-09T14:24:39.115Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config7006165580884139910tmp [Pipeline] { [Pipeline] echo [2024-03-09T14:24:39.212Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:24:39.505Z] ---> sigul-configuration.sh [2024-03-09T14:24:39.505Z] gpg: directory `/root/.gnupg' created [2024-03-09T14:24:39.505Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-03-09T14:24:39.505Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-03-09T14:24:39.505Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-03-09T14:24:39.505Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-03-09T14:24:39.505Z] gpg: CAST5 encrypted data [2024-03-09T14:24:39.505Z] gpg: encrypted with 1 passphrase [2024-03-09T14:24:39.505Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-03-09T14:24:39.807Z] + mkdir /home/jenkins [2024-03-09T14:24:39.807Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-03-09T14:24:40.112Z] + 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 [2024-03-09T14:24:40.125Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:24:40.416Z] ---> sigul-install.sh [2024-03-09T14:24:40.416Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-03-09T14:24:40.711Z] + git tag --list [2024-03-09T14:24:40.711Z] v0.0.0 [2024-03-09T14:24:40.711Z] v0.0.1-dev.1 [2024-03-09T14:24:40.711Z] v0.0.1-dev.2 [2024-03-09T14:24:40.711Z] v0.0.1-dev.3 [2024-03-09T14:24:40.711Z] v0.0.1-dev.4 [2024-03-09T14:24:40.711Z] v3.0.0 [2024-03-09T14:24:40.711Z] v3.0.1-dev.1 [2024-03-09T14:24:40.711Z] v3.0.1-dev.10 [2024-03-09T14:24:40.711Z] v3.0.1-dev.11 [2024-03-09T14:24:40.711Z] v3.0.1-dev.12 [2024-03-09T14:24:40.711Z] v3.0.1-dev.13 [2024-03-09T14:24:40.711Z] v3.0.1-dev.14 [2024-03-09T14:24:40.711Z] v3.0.1-dev.15 [2024-03-09T14:24:40.711Z] v3.0.1-dev.16 [2024-03-09T14:24:40.711Z] v3.0.1-dev.17 [2024-03-09T14:24:40.711Z] v3.0.1-dev.18 [2024-03-09T14:24:40.711Z] v3.0.1-dev.19 [2024-03-09T14:24:40.711Z] v3.0.1-dev.2 [2024-03-09T14:24:40.711Z] v3.0.1-dev.20 [2024-03-09T14:24:40.711Z] v3.0.1-dev.3 [2024-03-09T14:24:40.711Z] v3.0.1-dev.4 [2024-03-09T14:24:40.711Z] v3.0.1-dev.5 [2024-03-09T14:24:40.711Z] v3.0.1-dev.6 [2024-03-09T14:24:40.711Z] v3.0.1-dev.7 [2024-03-09T14:24:40.711Z] v3.0.1-dev.8 [2024-03-09T14:24:40.711Z] v3.0.1-dev.9 [2024-03-09T14:24:40.711Z] v3.1 [2024-03-09T14:24:40.711Z] v3.1.0 [Pipeline] sh [2024-03-09T14:24:41.009Z] + lftools sign git-tag v3.0.1-dev.20 [2024-03-09T14:24:41.580Z] Signing Git tag with Sigul... [2024-03-09T14:24:41.580Z] Signing v3.0.1-dev.20 [Pipeline] echo [2024-03-09T14:24:41.858Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:24:42.158Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-03-09T14:24:42.166Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-03-09T14:24:42.288Z] $ docker stop --time=1 24c926b1777bd33d3e57b51b6cb834e810c4aa5aa9b0ed70c3a1329626213ea7 [2024-03-09T14:24:43.594Z] $ docker rm -f --volumes 24c926b1777bd33d3e57b51b6cb834e810c4aa5aa9b0ed70c3a1329626213ea7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-03-09T14:24:44.484Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-09T14:24:44.484Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:24:44.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-09T14:24:44.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:24:45.010Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:24:45.039Z] $ 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 [2024-03-09T14:24:45.390Z] $ docker top b45c1f7be9b7372285da9b51269d169493f93dece86410951e95564677164502 -eo pid,comm [2024-03-09T14:24:45.447Z] 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). [2024-03-09T14:24:45.447Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-09T14:24:45.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-09T14:24:45.664Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-09T14:24:45.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-09T14:24:45.776Z] $ docker exec b45c1f7be9b7372285da9b51269d169493f93dece86410951e95564677164502 ssh-agent [2024-03-09T14:24:45.898Z] SSH_AUTH_SOCK=/tmp/ssh-OctSidhQvG8p/agent.32 [2024-03-09T14:24:45.898Z] SSH_AGENT_PID=38 [2024-03-09T14:24:45.903Z] Running ssh-add (command line suppressed) [2024-03-09T14:24:46.006Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10181383207679256716.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_10181383207679256716.key) [2024-03-09T14:24:46.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-09T14:24:46.367Z] + git semver bump pre [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,547 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,547 [bump_version] DEBUG bumping version:3.0.1-dev.20 on axis:pre with prefix:dev [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,547 [bump_version] DEBUG bumped version:3.0.1-dev.21 [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,547 [write_version] DEBUG write version:3.0.1-dev.21 to path:/w/workspace/edgexfoundry_device-uart_main/.semver/main with force:True [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,547 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,547 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,549 [execute] INFO git cat-file --batch-check [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,555 [execute] INFO git cat-file --batch [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-09T14:24:46.630Z] 2024-03-09 14:24:46,561 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:24:46.630Z] 3.0.1-dev.21 [Pipeline] } [2024-03-09T14:24:46.636Z] $ docker exec --env ******** --env ******** b45c1f7be9b7372285da9b51269d169493f93dece86410951e95564677164502 ssh-agent -k [2024-03-09T14:24:46.757Z] unset SSH_AUTH_SOCK; [2024-03-09T14:24:46.758Z] unset SSH_AGENT_PID; [2024-03-09T14:24:46.758Z] echo Agent pid 38 killed; [2024-03-09T14:24:46.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-09T14:24:47.297Z] + git semver [Pipeline] } [2024-03-09T14:24:47.569Z] $ docker stop --time=1 b45c1f7be9b7372285da9b51269d169493f93dece86410951e95564677164502 [2024-03-09T14:24:48.874Z] $ docker rm -f --volumes b45c1f7be9b7372285da9b51269d169493f93dece86410951e95564677164502 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-09T14:24:49.427Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-09T14:24:49.427Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:24:49.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-09T14:24:49.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:24:50.020Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:24:50.042Z] $ 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 [2024-03-09T14:24:50.403Z] $ docker top 2256ed2dc53d180ebc129800121258fb152a86836a8ed95e4f9fcdfceb708494 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-09T14:24:50.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-09T14:24:50.799Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-09T14:24:50.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-09T14:24:50.908Z] $ docker exec 2256ed2dc53d180ebc129800121258fb152a86836a8ed95e4f9fcdfceb708494 ssh-agent [2024-03-09T14:24:51.020Z] SSH_AUTH_SOCK=/tmp/ssh-oY4QsWuhHE4s/agent.32 [2024-03-09T14:24:51.020Z] SSH_AGENT_PID=38 [2024-03-09T14:24:51.025Z] Running ssh-add (command line suppressed) [2024-03-09T14:24:51.126Z] Identity added: /w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11633472471937363012.key (/w/workspace/edgexfoundry_device-uart_main@tmp/private_key_11633472471937363012.key) [2024-03-09T14:24:51.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-09T14:24:51.526Z] + git semver push [2024-03-09T14:24:51.786Z] 2024-03-09 14:24:51,700 [run_push] DEBUG push [2024-03-09T14:24:51.786Z] 2024-03-09 14:24:51,701 [execute] INFO git cat-file --batch-check [2024-03-09T14:24:51.786Z] 2024-03-09 14:24:51,701 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-09T14:24:51.786Z] 2024-03-09 14:24:51,705 [execute] INFO git rev-list c32b7513fcc7ef326ddf3d03cdaf7190aa951895 -- [2024-03-09T14:24:51.786Z] 2024-03-09 14:24:51,706 [execute] DEBUG Popen(['git', 'rev-list', 'c32b7513fcc7ef326ddf3d03cdaf7190aa951895', '--'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-03-09T14:24:51.786Z] 2024-03-09 14:24:51,712 [execute] INFO git fetch -v origin [2024-03-09T14:24:51.786Z] 2024-03-09 14:24:51,712 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-03-09T14:24:52.355Z] 2024-03-09 14:24:52,215 [run_push] DEBUG no remote changes detected [2024-03-09T14:24:52.355Z] 2024-03-09 14:24:52,215 [execute] INFO git push origin semver [2024-03-09T14:24:52.355Z] 2024-03-09 14:24:52,216 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-03-09T14:24:53.294Z] 2024-03-09 14:24:53,018 [run_push] DEBUG push all version tags [2024-03-09T14:24:53.294Z] 2024-03-09 14:24:53,018 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-03-09T14:24:53.294Z] 2024-03-09 14:24:53,019 [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) [2024-03-09T14:24:53.861Z] 2024-03-09 14:24:53,645 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_main/.semver/main [2024-03-09T14:24:53.861Z] 3.0.1-dev.21 [Pipeline] } [2024-03-09T14:24:53.866Z] $ docker exec --env ******** --env ******** 2256ed2dc53d180ebc129800121258fb152a86836a8ed95e4f9fcdfceb708494 ssh-agent -k [2024-03-09T14:24:53.965Z] unset SSH_AUTH_SOCK; [2024-03-09T14:24:53.966Z] unset SSH_AGENT_PID; [2024-03-09T14:24:53.966Z] echo Agent pid 38 killed; [2024-03-09T14:24:53.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-09T14:24:54.508Z] + git semver [Pipeline] } [2024-03-09T14:24:54.774Z] $ docker stop --time=1 2256ed2dc53d180ebc129800121258fb152a86836a8ed95e4f9fcdfceb708494 [2024-03-09T14:24:56.045Z] $ docker rm -f --volumes 2256ed2dc53d180ebc129800121258fb152a86836a8ed95e4f9fcdfceb708494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-09T14:24:57.531Z] + [ -d /w/workspace/edgexfoundry_device-uart_main/archives ] [2024-03-09T14:24:57.531Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2024-03-09T14:24:57.531Z] total 16 [2024-03-09T14:24:57.531Z] drwxr-xr-x 3 root root 4096 Mar 9 14:15 . [2024-03-09T14:24:57.531Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 14:24 .. [2024-03-09T14:24:57.531Z] drwxr-xr-x 2 root root 4096 Mar 9 14:15 cost [2024-03-09T14:24:57.531Z] -rw-r--r-- 1 root root 82 Mar 9 14:15 cost.csv [2024-03-09T14:24:57.531Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_main/archives [2024-03-09T14:24:57.531Z] + ls -al /w/workspace/edgexfoundry_device-uart_main/archives [2024-03-09T14:24:57.531Z] total 16 [2024-03-09T14:24:57.531Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 14:15 . [2024-03-09T14:24:57.531Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 14:24 .. [2024-03-09T14:24:57.531Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 14:15 cost [2024-03-09T14:24:57.531Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 9 14:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:24:57.812Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:24:58.666Z] ---> package-listing.sh [2024-03-09T14:24:58.666Z] ++ facter osfamily [2024-03-09T14:24:58.666Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-09T14:24:58.925Z] + OS_FAMILY=debian [2024-03-09T14:24:58.925Z] + workspace=/w/workspace/edgexfoundry_device-uart_main [2024-03-09T14:24:58.925Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-09T14:24:58.925Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-09T14:24:58.925Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-09T14:24:58.925Z] + PACKAGES=/tmp/packages_start.txt [2024-03-09T14:24:58.925Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2024-03-09T14:24:58.925Z] + PACKAGES=/tmp/packages_end.txt [2024-03-09T14:24:58.925Z] + case "${OS_FAMILY}" in [2024-03-09T14:24:58.925Z] + dpkg -l [2024-03-09T14:24:58.925Z] + grep '^ii' [2024-03-09T14:24:58.925Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-09T14:24:58.925Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-09T14:24:58.925Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-09T14:24:58.925Z] + '[' /w/workspace/edgexfoundry_device-uart_main ']' [2024-03-09T14:24:58.925Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_main/archives/ [2024-03-09T14:24:58.925Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_main/archives/ [Pipeline] echo [2024-03-09T14:24:58.935Z] 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 [2024-03-09T14:24:59.211Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-09T14:24:59.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-09T14:24:59.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-09T14:25:00.038Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2024-03-09T14:25:00.062Z] $ 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 [2024-03-09T14:25:00.245Z] $ docker top 67c80fcd99ff367361929b74210ccb033beb8c48ba34552c337c2fb1c9750d42 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-09T14:25:00.699Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-09T14:25:00.981Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-09T14:25:01.260Z] + ls /var/log/sa-host [2024-03-09T14:25:01.260Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-09T14:25:01.460Z] provisioning config files... [2024-03-09T14:25:01.468Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_main@tmp/config15491212041628442324tmp [Pipeline] { [Pipeline] echo [2024-03-09T14:25:01.593Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:25:01.873Z] ---> create-netrc.sh [Pipeline] } [2024-03-09T14:25:01.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:25:02.324Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-09T14:25:02.333Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:25:02.614Z] ---> sudo-logs.sh [2024-03-09T14:25:02.614Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-09T14:25:02.697Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:25:02.977Z] ---> job-cost.sh [2024-03-09T14:25:02.977Z] lf-activate-venv: SKIPPING [2024-03-09T14:25:02.977Z] DEBUG: total: 0.2199999988079071 [2024-03-09T14:25:02.977Z] INFO: Retrieving Stack Cost... [2024-03-09T14:25:03.235Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-09T14:25:03.800Z] INFO: Archiving Costs [Pipeline] echo [2024-03-09T14:25:03.811Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-09T14:25:04.090Z] ---> logs-deploy.sh [2024-03-09T14:25:04.090Z] lf-activate-venv: SKIPPING [2024-03-09T14:25:04.090Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/main/27 [2024-03-09T14:25:04.090Z] INFO: archiving workspace using pattern(s): [2024-03-09T14:25:05.026Z] Archives upload complete. [2024-03-09T14:25:05.026Z] INFO: archiving logs to Nexus