Pull request #76 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4341eb2b0de2574c05681c4e684c18fae03d84f+69ede8b4d67baa3d48ae0f121c49ed45734e5b1e (41f07982d95c1dae733e52107974e720aa295f45) 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-ssh247420496677464535.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9052883910448478847.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14698531215708631063.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6967156639084694212.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15887124179969409006.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-76/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-76/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3708193022959639077.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22079 in /w/workspace/edgexfoundry_device-uart_PR-76 [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_PR-76 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 69ede8b4d67baa3d48ae0f121c49ed45734e5b1e into PR head commit e4341eb2b0de2574c05681c4e684c18fae03d84f Merge succeeded, producing e4341eb2b0de2574c05681c4e684c18fae03d84f Checking out Revision e4341eb2b0de2574c05681c4e684c18fae03d84f (PR-76) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4341eb2b0de2574c05681c4e684c18fae03d84f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 69ede8b4d67baa3d48ae0f121c49ed45734e5b1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4341eb2b0de2574c05681c4e684c18fae03d84f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-07T18:45:24.785Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-07T18:45:25.001Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-07T18:45:25.126Z] ========================================================= [2024-10-07T18:45:25.126Z] EdgeX Global Pipelines Version Info [2024-10-07T18:45:25.126Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:45:26.262Z] ------------------- [2024-10-07T18:45:26.262Z] stable info: [2024-10-07T18:45:26.262Z] ------------------- [2024-10-07T18:45:26.262Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-07T18:45:26.262Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T18:45:26.262Z] Message: update stable to v1.0.265 [2024-10-07T18:45:26.524Z] ------------------- [2024-10-07T18:45:26.524Z] experimental info: [2024-10-07T18:45:26.524Z] ------------------- [2024-10-07T18:45:26.524Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-07T18:45:26.524Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-07T18:45:26.524Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-07T18:45:26.772Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-07T18:45:26.833Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-07T18:45:26.895Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-07T18:45:26.953Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-07T18:45:27.011Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-07T18:45:27.071Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-07T18:45:27.128Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-07T18:45:27.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-07T18:45:27.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-07T18:45:27.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-07T18:45:27.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-07T18:45:27.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-07T18:45:27.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-07T18:45:27.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-07T18:45:27.601Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T18:45:27.659Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T18:45:27.721Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T18:45:27.777Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T18:45:27.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-07T18:45:27.892Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-07T18:45:27.950Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-07T18:45:28.009Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-07T18:45:28.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-07T18:45:28.125Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-07T18:45:28.185Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-07T18:45:28.240Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-07T18:45:28.305Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-07T18:45:28.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-76 [Pipeline] echo [2024-10-07T18:45:28.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-76 [Pipeline] echo [2024-10-07T18:45:28.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-76 [Pipeline] echo [2024-10-07T18:45:28.551Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4341eb2b0de2574c05681c4e684c18fae03d84f [Pipeline] echo [2024-10-07T18:45:28.611Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4341eb [Pipeline] echo [2024-10-07T18:45:28.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T18:45:28.829Z] provisioning config files... [2024-10-07T18:45:28.844Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-76@tmp/config9846976095645631149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:45:29.245Z] ---> ****-login.sh [2024-10-07T18:45:29.245Z] nexus3.edgexfoundry.org:10001 [2024-10-07T18:45:29.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:29.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:29.766Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:29.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:29.766Z] [2024-10-07T18:45:29.766Z] Login Succeeded [2024-10-07T18:45:29.766Z] nexus3.edgexfoundry.org:10002 [2024-10-07T18:45:29.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:29.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:29.766Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:29.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:29.766Z] [2024-10-07T18:45:29.766Z] Login Succeeded [2024-10-07T18:45:29.766Z] nexus3.edgexfoundry.org:10003 [2024-10-07T18:45:29.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:30.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:30.027Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:30.027Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:30.027Z] [2024-10-07T18:45:30.027Z] Login Succeeded [2024-10-07T18:45:30.027Z] nexus3.edgexfoundry.org:10004 [2024-10-07T18:45:30.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:30.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:30.027Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:30.027Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:30.027Z] [2024-10-07T18:45:30.027Z] Login Succeeded [2024-10-07T18:45:30.027Z] ****.io [2024-10-07T18:45:30.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:30.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:30.288Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:30.288Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:30.288Z] [2024-10-07T18:45:30.288Z] Login Succeeded [2024-10-07T18:45:30.288Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T18:45:30.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-07T18:45:31.014Z] + git rev-list -1 --merges e4341eb2b0de2574c05681c4e684c18fae03d84f~1..e4341eb2b0de2574c05681c4e684c18fae03d84f [Pipeline] echo [2024-10-07T18:45:31.065Z] -----------> git rev-list -1 --merges e4341eb2b0de2574c05681c4e684c18fae03d84f~1..e4341eb2b0de2574c05681c4e684c18fae03d84f e4341eb2b0de2574c05681c4e684c18fae03d84f [false] [Pipeline] sh [2024-10-07T18:45:31.397Z] + git log --format=format:%s -1 e4341eb2b0de2574c05681c4e684c18fae03d84f [Pipeline] echo [2024-10-07T18:45:31.444Z] ========================================================= [2024-10-07T18:45:31.444Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-07T18:45:31.444Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T18:45:31.917Z] + git log --format=format:%s -1 e4341eb2b0de2574c05681c4e684c18fae03d84f [Pipeline] echo [2024-10-07T18:45:31.958Z] [semverPrep] GIT_COMMIT: e4341eb2b0de2574c05681c4e684c18fae03d84f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-07T18:45:32.005Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-07T18:45:32.429Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-07T18:45:32.429Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-07T18:45:32.429Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-07T18:45:32.429Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-07T18:45:32.429Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-07T18:45:32.429Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-07T18:45:32.429Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:45:32.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T18:45:32.975Z] [2024-10-07T18:45:32.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:45:33.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T18:45:33.378Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-07T18:45:33.378Z] b85a868b505f: Pulling fs layer [2024-10-07T18:45:33.378Z] e2be974225ed: Pulling fs layer [2024-10-07T18:45:33.378Z] 339a4e72a1f5: Pulling fs layer [2024-10-07T18:45:33.378Z] 988bab9f4d93: Pulling fs layer [2024-10-07T18:45:33.378Z] 1469e6f7b9e6: Pulling fs layer [2024-10-07T18:45:33.378Z] eaf3925da568: Pulling fs layer [2024-10-07T18:45:33.378Z] bab4dde63d76: Pulling fs layer [2024-10-07T18:45:33.378Z] bde34c3a00c8: Pulling fs layer [2024-10-07T18:45:33.378Z] b352a97aabf1: Pulling fs layer [2024-10-07T18:45:33.378Z] 4872d77fe225: Pulling fs layer [2024-10-07T18:45:33.378Z] 5851b861e8e6: Pulling fs layer [2024-10-07T18:45:33.378Z] 1469e6f7b9e6: Waiting [2024-10-07T18:45:33.378Z] b352a97aabf1: Waiting [2024-10-07T18:45:33.378Z] 4872d77fe225: Waiting [2024-10-07T18:45:33.378Z] eaf3925da568: Waiting [2024-10-07T18:45:33.378Z] bde34c3a00c8: Waiting [2024-10-07T18:45:33.378Z] bab4dde63d76: Waiting [2024-10-07T18:45:33.378Z] 5851b861e8e6: Waiting [2024-10-07T18:45:33.378Z] 988bab9f4d93: Waiting [2024-10-07T18:45:33.378Z] e2be974225ed: Verifying Checksum [2024-10-07T18:45:33.378Z] e2be974225ed: Download complete [2024-10-07T18:45:33.378Z] 988bab9f4d93: Verifying Checksum [2024-10-07T18:45:33.378Z] 988bab9f4d93: Download complete [2024-10-07T18:45:33.378Z] 1469e6f7b9e6: Verifying Checksum [2024-10-07T18:45:33.378Z] 1469e6f7b9e6: Download complete [2024-10-07T18:45:33.378Z] 339a4e72a1f5: Verifying Checksum [2024-10-07T18:45:33.378Z] 339a4e72a1f5: Download complete [2024-10-07T18:45:33.637Z] bde34c3a00c8: Verifying Checksum [2024-10-07T18:45:33.637Z] bde34c3a00c8: Download complete [2024-10-07T18:45:33.637Z] b352a97aabf1: Verifying Checksum [2024-10-07T18:45:33.637Z] b352a97aabf1: Download complete [2024-10-07T18:45:33.637Z] 4872d77fe225: Verifying Checksum [2024-10-07T18:45:33.637Z] 4872d77fe225: Download complete [2024-10-07T18:45:33.637Z] 5851b861e8e6: Verifying Checksum [2024-10-07T18:45:33.637Z] 5851b861e8e6: Download complete [2024-10-07T18:45:33.637Z] b85a868b505f: Verifying Checksum [2024-10-07T18:45:33.637Z] b85a868b505f: Download complete [2024-10-07T18:45:33.901Z] bab4dde63d76: Verifying Checksum [2024-10-07T18:45:33.901Z] bab4dde63d76: Download complete [2024-10-07T18:45:34.839Z] b85a868b505f: Pull complete [2024-10-07T18:45:35.097Z] e2be974225ed: Pull complete [2024-10-07T18:45:35.664Z] 339a4e72a1f5: Pull complete [2024-10-07T18:45:35.665Z] 988bab9f4d93: Pull complete [2024-10-07T18:45:35.923Z] 1469e6f7b9e6: Pull complete [2024-10-07T18:45:36.182Z] eaf3925da568: Pull complete [2024-10-07T18:45:38.108Z] bab4dde63d76: Pull complete [2024-10-07T18:45:38.108Z] bde34c3a00c8: Pull complete [2024-10-07T18:45:38.108Z] b352a97aabf1: Pull complete [2024-10-07T18:45:38.108Z] 4872d77fe225: Pull complete [2024-10-07T18:45:38.378Z] 5851b861e8e6: Pull complete [2024-10-07T18:45:38.378Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-07T18:45:38.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T18:45:38.378Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T18:45:38.643Z] prd-ubuntu20.04-docker-8c-8g-22079 does not seem to be running inside a container [2024-10-07T18:45:38.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-76 -v /w/workspace/edgexfoundry_device-uart_PR-76:/w/workspace/edgexfoundry_device-uart_PR-76:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-76@tmp:/w/workspace/edgexfoundry_device-uart_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-07T18:45:42.782Z] $ docker top 0e42932b7f21aeb927bd53d58a81f5cbcae22f0fb14b25a25eefca2e48fe9413 -eo pid,comm [2024-10-07T18:45:42.838Z] 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-10-07T18:45:42.838Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-07T18:45:43.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T18:45:43.005Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T18:45:43.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T18:45:43.113Z] $ docker exec 0e42932b7f21aeb927bd53d58a81f5cbcae22f0fb14b25a25eefca2e48fe9413 ssh-agent [2024-10-07T18:45:43.215Z] SSH_AUTH_SOCK=/tmp/ssh-JM0hPnEHEaRD/agent.32 [2024-10-07T18:45:43.215Z] SSH_AGENT_PID=38 [2024-10-07T18:45:43.221Z] Running ssh-add (command line suppressed) [2024-10-07T18:45:43.321Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-76@tmp/private_key_5953091199365725309.key (/w/workspace/edgexfoundry_device-uart_PR-76@tmp/private_key_5953091199365725309.key) [2024-10-07T18:45:43.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T18:45:43.797Z] + git tag --points-at HEAD [Pipeline] } [2024-10-07T18:45:43.822Z] $ docker exec --env ******** --env ******** 0e42932b7f21aeb927bd53d58a81f5cbcae22f0fb14b25a25eefca2e48fe9413 ssh-agent -k [2024-10-07T18:45:43.919Z] unset SSH_AUTH_SOCK; [2024-10-07T18:45:43.919Z] unset SSH_AGENT_PID; [2024-10-07T18:45:43.920Z] echo Agent pid 38 killed; [2024-10-07T18:45:43.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-07T18:45:44.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T18:45:44.041Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T18:45:44.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T18:45:44.151Z] $ docker exec 0e42932b7f21aeb927bd53d58a81f5cbcae22f0fb14b25a25eefca2e48fe9413 ssh-agent [2024-10-07T18:45:44.254Z] SSH_AUTH_SOCK=/tmp/ssh-KR0okYsvD0WD/agent.71 [2024-10-07T18:45:44.254Z] SSH_AGENT_PID=77 [2024-10-07T18:45:44.259Z] Running ssh-add (command line suppressed) [2024-10-07T18:45:44.371Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-76@tmp/private_key_17987060707362942566.key (/w/workspace/edgexfoundry_device-uart_PR-76@tmp/private_key_17987060707362942566.key) [2024-10-07T18:45:44.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T18:45:44.734Z] + git semver init [2024-10-07T18:45:44.996Z] 2024-10-07 18:45:44,918 [run_init] DEBUG init version:0.0.0 force:False [2024-10-07T18:45:44.996Z] 2024-10-07 18:45:44,918 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-76/.semver [2024-10-07T18:45:44.996Z] 2024-10-07 18:45:44,919 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-76/.semver [2024-10-07T18:45:44.996Z] 2024-10-07 18:45:44,919 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-76/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-76, universal_newlines=False, shell=None, istream=None) [2024-10-07T18:45:46.378Z] 2024-10-07 18:45:46,114 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-76/.git/info/exclude [2024-10-07T18:45:46.378Z] 2024-10-07 18:45:46,114 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-76/.semver/PR-76 with force:False [2024-10-07T18:45:46.378Z] 2024-10-07 18:45:46,114 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-76/.semver/PR-76 [2024-10-07T18:45:46.378Z] 2024-10-07 18:45:46,116 [execute] INFO git cat-file --batch-check [2024-10-07T18:45:46.378Z] 2024-10-07 18:45:46,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-76/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T18:45:46.378Z] 2024-10-07 18:45:46,122 [execute] INFO git cat-file --batch [2024-10-07T18:45:46.378Z] 2024-10-07 18:45:46,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-76/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T18:45:46.378Z] 2024-10-07 18:45:46,128 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-76/.semver/PR-76 [2024-10-07T18:45:46.378Z] 0.0.0 [Pipeline] } [2024-10-07T18:45:46.405Z] $ docker exec --env ******** --env ******** 0e42932b7f21aeb927bd53d58a81f5cbcae22f0fb14b25a25eefca2e48fe9413 ssh-agent -k [2024-10-07T18:45:46.502Z] unset SSH_AUTH_SOCK; [2024-10-07T18:45:46.502Z] unset SSH_AGENT_PID; [2024-10-07T18:45:46.502Z] echo Agent pid 77 killed; [2024-10-07T18:45:46.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-07T18:45:46.981Z] + git semver [Pipeline] } [2024-10-07T18:45:47.268Z] $ docker stop --time=1 0e42932b7f21aeb927bd53d58a81f5cbcae22f0fb14b25a25eefca2e48fe9413 [2024-10-07T18:45:48.583Z] $ docker rm -f --volumes 0e42932b7f21aeb927bd53d58a81f5cbcae22f0fb14b25a25eefca2e48fe9413 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T18:45:49.009Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-07T18:45:49.307Z] Stashed 1 file(s) [Pipeline] echo [2024-10-07T18:45:49.331Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T18:45:50.047Z] provisioning config files... [2024-10-07T18:45:50.058Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-76@tmp/config4762217024539454732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:45:50.429Z] ---> ****-login.sh [2024-10-07T18:45:50.429Z] nexus3.edgexfoundry.org:10001 [2024-10-07T18:45:50.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:50.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:50.429Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:50.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:50.429Z] [2024-10-07T18:45:50.429Z] Login Succeeded [2024-10-07T18:45:50.429Z] nexus3.edgexfoundry.org:10002 [2024-10-07T18:45:50.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:50.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:50.430Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:50.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:50.430Z] [2024-10-07T18:45:50.430Z] Login Succeeded [2024-10-07T18:45:50.430Z] nexus3.edgexfoundry.org:10003 [2024-10-07T18:45:50.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:50.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:50.690Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:50.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:50.690Z] [2024-10-07T18:45:50.690Z] Login Succeeded [2024-10-07T18:45:50.690Z] nexus3.edgexfoundry.org:10004 [2024-10-07T18:45:50.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:50.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:50.690Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:50.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:50.690Z] [2024-10-07T18:45:50.690Z] Login Succeeded [2024-10-07T18:45:50.690Z] ****.io [2024-10-07T18:45:50.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:45:50.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:45:50.952Z] Configure a credential helper to remove this warning. See [2024-10-07T18:45:50.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:45:50.952Z] [2024-10-07T18:45:50.952Z] Login Succeeded [2024-10-07T18:45:50.952Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T18:45:50.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T18:45:51.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T18:45:51.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T18:45:51.312Z] ========================================================= [2024-10-07T18:45:51.312Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-07T18:45:51.312Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:45:51.834Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-07T18:45:51.834Z] Sending build context to Docker daemon 25.61MB [2024-10-07T18:45:51.834Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T18:45:51.834Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-07T18:45:52.093Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-07T18:45:52.093Z] 43c4264eed91: Pulling fs layer [2024-10-07T18:45:52.093Z] 4cc291be95ef: Pulling fs layer [2024-10-07T18:45:52.093Z] 2ac1f1163629: Pulling fs layer [2024-10-07T18:45:52.093Z] 5c3c966382ef: Pulling fs layer [2024-10-07T18:45:52.093Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T18:45:52.093Z] 5d5c8e513c77: Pulling fs layer [2024-10-07T18:45:52.093Z] 9f66e0745190: Pulling fs layer [2024-10-07T18:45:52.093Z] f49a43e4bbc0: Pulling fs layer [2024-10-07T18:45:52.093Z] 561ebcabdf7f: Pulling fs layer [2024-10-07T18:45:52.093Z] 5d5c8e513c77: Waiting [2024-10-07T18:45:52.093Z] 9f66e0745190: Waiting [2024-10-07T18:45:52.093Z] f49a43e4bbc0: Waiting [2024-10-07T18:45:52.093Z] 5c3c966382ef: Waiting [2024-10-07T18:45:52.093Z] 4f4fb700ef54: Waiting [2024-10-07T18:45:52.093Z] 4cc291be95ef: Download complete [2024-10-07T18:45:52.093Z] 5c3c966382ef: Verifying Checksum [2024-10-07T18:45:52.093Z] 5c3c966382ef: Download complete [2024-10-07T18:45:52.093Z] 4f4fb700ef54: Download complete [2024-10-07T18:45:52.093Z] 5d5c8e513c77: Verifying Checksum [2024-10-07T18:45:52.093Z] 5d5c8e513c77: Download complete [2024-10-07T18:45:52.093Z] 43c4264eed91: Download complete [2024-10-07T18:45:52.093Z] 9f66e0745190: Verifying Checksum [2024-10-07T18:45:52.093Z] 9f66e0745190: Download complete [2024-10-07T18:45:52.353Z] 43c4264eed91: Pull complete [2024-10-07T18:45:52.353Z] 561ebcabdf7f: Verifying Checksum [2024-10-07T18:45:52.353Z] 561ebcabdf7f: Download complete [2024-10-07T18:45:52.353Z] 4cc291be95ef: Pull complete [2024-10-07T18:45:52.611Z] 2ac1f1163629: Verifying Checksum [2024-10-07T18:45:52.611Z] 2ac1f1163629: Download complete [2024-10-07T18:45:52.871Z] f49a43e4bbc0: Verifying Checksum [2024-10-07T18:45:52.871Z] f49a43e4bbc0: Download complete [2024-10-07T18:45:56.169Z] 2ac1f1163629: Pull complete [2024-10-07T18:45:56.427Z] 5c3c966382ef: Pull complete [2024-10-07T18:45:56.427Z] 4f4fb700ef54: Pull complete [2024-10-07T18:45:56.427Z] 5d5c8e513c77: Pull complete [2024-10-07T18:45:56.685Z] 9f66e0745190: Pull complete [2024-10-07T18:45:59.233Z] f49a43e4bbc0: Pull complete [2024-10-07T18:45:59.492Z] 561ebcabdf7f: Pull complete [2024-10-07T18:45:59.492Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-07T18:45:59.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-07T18:45:59.492Z] ---> 3a752c3f9dda [2024-10-07T18:45:59.492Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-07T18:46:03.774Z] ---> Running in efa7dac964f0 [2024-10-07T18:46:03.775Z] Removing intermediate container efa7dac964f0 [2024-10-07T18:46:03.775Z] ---> ee3739433996 [2024-10-07T18:46:03.775Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T18:46:03.775Z] ---> Running in e1a387a8f3ae [2024-10-07T18:46:03.775Z] Removing intermediate container e1a387a8f3ae [2024-10-07T18:46:03.775Z] ---> 717cacc975f7 [2024-10-07T18:46:03.775Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-07T18:46:03.775Z] ---> Running in daf493deaa86 [2024-10-07T18:46:04.035Z] Removing intermediate container daf493deaa86 [2024-10-07T18:46:04.035Z] ---> a3b7265fa61e [2024-10-07T18:46:04.035Z] Step 6/12 : WORKDIR /device-uart [2024-10-07T18:46:04.035Z] ---> Running in 826d86fba60f [2024-10-07T18:46:04.035Z] Removing intermediate container 826d86fba60f [2024-10-07T18:46:04.035Z] ---> 1da7f8adf91c [2024-10-07T18:46:04.036Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T18:46:04.036Z] ---> Running in 7d07430fb7ae [2024-10-07T18:46:04.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T18:46:04.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T18:46:04.819Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-07T18:46:04.819Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-07T18:46:04.819Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-07T18:46:04.819Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-07T18:46:04.819Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T18:46:04.819Z] OK: 250 MiB in 58 packages [2024-10-07T18:46:04.824Z] Still waiting to schedule task [2024-10-07T18:46:04.825Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-07T18:46:05.388Z] Removing intermediate container 7d07430fb7ae [2024-10-07T18:46:05.388Z] ---> 10a94e4d4221 [2024-10-07T18:46:05.388Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-07T18:46:05.388Z] ---> 2e2dacb33706 [2024-10-07T18:46:05.388Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T18:46:05.388Z] ---> Running in d2bf6cb4c2c0 [2024-10-07T18:47:01.671Z] Removing intermediate container d2bf6cb4c2c0 [2024-10-07T18:47:01.671Z] ---> 714bb0c5cb8a [2024-10-07T18:47:01.671Z] Step 10/12 : COPY . . [2024-10-07T18:47:01.671Z] ---> e590e508fcac [2024-10-07T18:47:01.671Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T18:47:01.671Z] ---> Running in 71f448dac01b [2024-10-07T18:47:01.671Z] Removing intermediate container 71f448dac01b [2024-10-07T18:47:01.671Z] ---> 7ea0d6fbd671 [2024-10-07T18:47:01.671Z] Step 12/12 : RUN ${MAKE} [2024-10-07T18:47:01.671Z] ---> Running in 9504b2cf939b [2024-10-07T18:47:01.671Z] noop [2024-10-07T18:47:01.671Z] Removing intermediate container 9504b2cf939b [2024-10-07T18:47:01.671Z] ---> f2a0d10aeb50 [2024-10-07T18:47:01.671Z] Successfully built f2a0d10aeb50 [2024-10-07T18:47:01.671Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:47:02.172Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T18:47:02.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T18:47:02.355Z] prd-ubuntu20.04-docker-8c-8g-22079 does not seem to be running inside a container [2024-10-07T18:47:02.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-76 -v /w/workspace/edgexfoundry_device-uart_PR-76:/w/workspace/edgexfoundry_device-uart_PR-76:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-76@tmp:/w/workspace/edgexfoundry_device-uart_PR-76@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-07T18:47:02.737Z] $ docker top ddb4bb1acb8399c53b990924e84cfb5004162c6aa0126bc6404233f3cfe63061 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T18:47:03.172Z] + go version [2024-10-07T18:47:03.172Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-07T18:47:03.207Z] $ docker stop --time=1 ddb4bb1acb8399c53b990924e84cfb5004162c6aa0126bc6404233f3cfe63061 [2024-10-07T18:47:04.479Z] $ docker rm -f --volumes ddb4bb1acb8399c53b990924e84cfb5004162c6aa0126bc6404233f3cfe63061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:47:05.262Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T18:47:05.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T18:47:05.434Z] prd-ubuntu20.04-docker-8c-8g-22079 does not seem to be running inside a container [2024-10-07T18:47:05.463Z] $ 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_PR-76 -v /w/workspace/edgexfoundry_device-uart_PR-76:/w/workspace/edgexfoundry_device-uart_PR-76:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-76@tmp:/w/workspace/edgexfoundry_device-uart_PR-76@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-07T18:47:05.805Z] $ docker top f813dc345d0f3547eb9509fe06de6011f0cd0e5e803ce2172b33886b57d625e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T18:47:06.215Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-76 [Pipeline] fileExists [Pipeline] sh [2024-10-07T18:47:06.589Z] + make test [2024-10-07T18:47:06.589Z] go test ./... -coverprofile=coverage.out [2024-10-07T18:47:08.491Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-07T18:47:30.437Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-07T18:47:30.437Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-07T18:47:40.418Z] go vet ./... [2024-10-07T18:47:43.982Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22080 in /w/workspace/edgexfoundry_device-uart_PR-76 [Pipeline] { [Pipeline] ws [2024-10-07T18:47:44.059Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-07T18:47:45.694Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T18:47:45.694Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T18:47:45.694Z] ./bin/test-attribution-txt.sh [2024-10-07T18:47:47.163Z] The recommended git tool is: git [Pipeline] echo [2024-10-07T18:47:47.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T18:47:47.256Z] $ docker stop --time=1 f813dc345d0f3547eb9509fe06de6011f0cd0e5e803ce2172b33886b57d625e1 [2024-10-07T18:47:50.533Z] $ docker rm -f --volumes f813dc345d0f3547eb9509fe06de6011f0cd0e5e803ce2172b33886b57d625e1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T18:47:51.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T18:47:51.239Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-07T18:47:51.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T18:47:52.311Z] + ls -al . [2024-10-07T18:47:52.311Z] total 236 [2024-10-07T18:47:52.311Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 18:47 . [2024-10-07T18:47:52.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 18:45 .. [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 18:45 .dockerignore [2024-10-07T18:47:52.311Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 18:47 .git [2024-10-07T18:47:52.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 18:45 .github [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 7 18:45 .gitignore [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 7 18:45 .golangci.yml [2024-10-07T18:47:52.311Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 18:45 .semver [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 7 18:45 Attribution.txt [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 7 18:45 CHANGELOG.md [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 7 18:45 Dockerfile [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 18:45 GOVERNANCE.md [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 7 18:45 Jenkinsfile [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 18:45 LICENSE [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 7 18:45 Makefile [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 7 18:45 OWNERS.md [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 7 18:45 README.md [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 18:45 VERSION [2024-10-07T18:47:52.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 18:45 bin [2024-10-07T18:47:52.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 18:45 cmd [2024-10-07T18:47:52.311Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 7 18:47 coverage.out [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 7 18:45 go.mod [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 7 18:45 go.sum [2024-10-07T18:47:52.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 18:45 internal [2024-10-07T18:47:52.311Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 7 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:47:52.744Z] + 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=e4341eb2b0de2574c05681c4e684c18fae03d84f --label arch=amd64 --label version=0.0.0 . [2024-10-07T18:47:52.744Z] Sending build context to Docker daemon 25.61MB [2024-10-07T18:47:52.744Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T18:47:52.744Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-07T18:47:52.744Z] ---> f2a0d10aeb50 [2024-10-07T18:47:52.744Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-07T18:47:53.313Z] ---> Running in 8281a436061e [2024-10-07T18:47:53.313Z] Removing intermediate container 8281a436061e [2024-10-07T18:47:53.313Z] ---> d7855605b66e [2024-10-07T18:47:53.313Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T18:47:53.313Z] ---> Running in feb5e24d4b5c [2024-10-07T18:47:53.571Z] Removing intermediate container feb5e24d4b5c [2024-10-07T18:47:53.571Z] ---> 233b27eeb51f [2024-10-07T18:47:53.571Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-07T18:47:53.571Z] ---> Running in 24f0556b4eae [2024-10-07T18:47:53.571Z] Removing intermediate container 24f0556b4eae [2024-10-07T18:47:53.571Z] ---> ff5ba6d623d1 [2024-10-07T18:47:53.571Z] Step 6/26 : WORKDIR /device-uart [2024-10-07T18:47:53.571Z] ---> Running in 7a04af07907d [2024-10-07T18:47:53.571Z] Removing intermediate container 7a04af07907d [2024-10-07T18:47:53.571Z] ---> 889ed715f29b [2024-10-07T18:47:53.571Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T18:47:53.571Z] ---> Running in a41dc9ac6dfe [2024-10-07T18:47:53.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T18:47:54.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T18:47:54.363Z] OK: 250 MiB in 58 packages [2024-10-07T18:47:54.623Z] Removing intermediate container a41dc9ac6dfe [2024-10-07T18:47:54.623Z] ---> 9b601402c8f3 [2024-10-07T18:47:54.623Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-07T18:47:54.883Z] ---> e6da5eb45252 [2024-10-07T18:47:54.883Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T18:47:54.883Z] ---> Running in c293989aa0f4 [2024-10-07T18:47:55.320Z] using credential edgex-jenkins-ssh [2024-10-07T18:47:55.342Z] Cloning the remote Git repository [2024-10-07T18:47:55.453Z] Removing intermediate container c293989aa0f4 [2024-10-07T18:47:55.453Z] ---> 00e340a028d5 [2024-10-07T18:47:55.453Z] Step 10/26 : COPY . . [2024-10-07T18:47:55.387Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-07T18:47:55.508Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-07T18:47:55.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-07T18:47:55.695Z] > git --version # timeout=10 [2024-10-07T18:47:55.735Z] > git --version # 'git version 2.25.1' [2024-10-07T18:47:55.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T18:47:55.958Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T18:47:56.748Z] ---> 4d45195e0bff [2024-10-07T18:47:56.748Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T18:47:56.748Z] ---> Running in 8750ef9f810b [2024-10-07T18:47:56.748Z] Removing intermediate container 8750ef9f810b [2024-10-07T18:47:56.748Z] ---> 502dc77848ba [2024-10-07T18:47:56.748Z] Step 12/26 : RUN ${MAKE} [2024-10-07T18:47:56.748Z] ---> Running in f785eeca3487 [2024-10-07T18:47:56.748Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.44" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-10-07T18:47:58.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-07T18:47:58.455Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T18:48:00.030Z] Merging remotes/origin/main commit 69ede8b4d67baa3d48ae0f121c49ed45734e5b1e into PR head commit e4341eb2b0de2574c05681c4e684c18fae03d84f [2024-10-07T18:48:00.454Z] Merge succeeded, producing e4341eb2b0de2574c05681c4e684c18fae03d84f [2024-10-07T18:48:00.455Z] Checking out Revision e4341eb2b0de2574c05681c4e684c18fae03d84f (PR-76) [2024-10-07T18:47:59.448Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-07T18:47:59.507Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-07T18:47:59.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T18:47:59.539Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-07T18:48:00.050Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T18:48:00.146Z] > git checkout -f e4341eb2b0de2574c05681c4e684c18fae03d84f # timeout=10 [2024-10-07T18:48:00.283Z] > git remote # timeout=10 [2024-10-07T18:48:00.305Z] > git config --get remote.origin.url # timeout=10 [2024-10-07T18:48:00.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T18:48:00.369Z] > git merge 69ede8b4d67baa3d48ae0f121c49ed45734e5b1e # timeout=10 [2024-10-07T18:48:00.413Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-07T18:48:00.463Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T18:48:00.489Z] > git checkout -f e4341eb2b0de2574c05681c4e684c18fae03d84f # timeout=10 [2024-10-07T18:48:01.215Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-07T18:48:01.277Z] > git --version # timeout=10 [2024-10-07T18:48:01.291Z] > git --version # 'git version 2.25.1' [2024-10-07T18:48:01.304Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T18:48:06.435Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-07T18:48:06.435Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T18:48:06.435Z] Dload Upload Total Spent Left Speed [2024-10-07T18:48:06.435Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh [2024-10-07T18:48:06.784Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-07T18:48:07.145Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-07T18:48:07.145Z] + sudo tee /etc/docker/daemon.new [2024-10-07T18:48:07.145Z] { [2024-10-07T18:48:07.145Z] "registry-mirrors": [ [2024-10-07T18:48:07.145Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-07T18:48:07.145Z] ], [2024-10-07T18:48:07.145Z] "bip": "10.250.0.254/24", [2024-10-07T18:48:07.145Z] "hosts": [ [2024-10-07T18:48:07.145Z] "tcp://0.0.0.0:5555", [2024-10-07T18:48:07.145Z] "unix:///var/run/docker.sock" [2024-10-07T18:48:07.145Z] ], [2024-10-07T18:48:07.145Z] "mtu": 1458, [2024-10-07T18:48:07.145Z] "selinux-enabled": true, [2024-10-07T18:48:07.145Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-07T18:48:07.145Z] } [Pipeline] sh [2024-10-07T18:48:07.506Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-07T18:48:07.862Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T18:48:26.178Z] provisioning config files... [2024-10-07T18:48:26.201Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config5126375642542501900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:48:26.701Z] ---> ****-login.sh [2024-10-07T18:48:26.702Z] nexus3.edgexfoundry.org:10001 [2024-10-07T18:48:26.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:48:27.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:48:27.242Z] Configure a credential helper to remove this warning. See [2024-10-07T18:48:27.242Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:48:27.242Z] [2024-10-07T18:48:27.242Z] Login Succeeded [2024-10-07T18:48:27.242Z] nexus3.edgexfoundry.org:10002 [2024-10-07T18:48:27.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:48:27.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:48:27.511Z] Configure a credential helper to remove this warning. See [2024-10-07T18:48:27.511Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:48:27.511Z] [2024-10-07T18:48:27.786Z] Login Succeeded [2024-10-07T18:48:27.786Z] nexus3.edgexfoundry.org:10003 [2024-10-07T18:48:27.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:48:28.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:48:28.059Z] Configure a credential helper to remove this warning. See [2024-10-07T18:48:28.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:48:28.059Z] [2024-10-07T18:48:28.059Z] Login Succeeded [2024-10-07T18:48:28.059Z] nexus3.edgexfoundry.org:10004 [2024-10-07T18:48:28.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:48:28.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:48:28.329Z] Configure a credential helper to remove this warning. See [2024-10-07T18:48:28.329Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:48:28.329Z] [2024-10-07T18:48:28.329Z] Login Succeeded [2024-10-07T18:48:28.329Z] ****.io [2024-10-07T18:48:28.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T18:48:28.837Z] Removing intermediate container f785eeca3487 [2024-10-07T18:48:28.837Z] ---> acc5fe5c94fb [2024-10-07T18:48:28.837Z] Step 13/26 : FROM alpine:3.20 [2024-10-07T18:48:28.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T18:48:28.870Z] Configure a credential helper to remove this warning. See [2024-10-07T18:48:28.870Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T18:48:28.870Z] [2024-10-07T18:48:28.870Z] Login Succeeded [2024-10-07T18:48:28.870Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T18:48:28.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-10-07T18:48:29.098Z] 3.20: Pulling from library/alpine [2024-10-07T18:48:29.098Z] 43c4264eed91: Already exists [2024-10-07T18:48:29.357Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T18:48:29.357Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T18:48:29.357Z] ---> 91ef0af61f39 [2024-10-07T18:48:29.357Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-07T18:48:29.357Z] ---> Running in 48696ac50d69 [2024-10-07T18:48:29.357Z] Removing intermediate container 48696ac50d69 [2024-10-07T18:48:29.357Z] ---> be8a3a0c7e6d [2024-10-07T18:48:29.357Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-07T18:48:29.357Z] ---> Running in 78266375967f [Pipeline] echo [2024-10-07T18:48:29.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T18:48:29.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T18:48:29.487Z] ========================================================= [2024-10-07T18:48:29.487Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-07T18:48:29.487Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2024-10-07T18:48:29.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T18:48:29.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:48:29.874Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T18:48:29.874Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T18:48:29.874Z] OK: 8 MiB in 15 packages [2024-10-07T18:48:30.045Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-07T18:48:30.321Z] Sending build context to Docker daemon 12.88MB [2024-10-07T18:48:30.442Z] Removing intermediate container 78266375967f [2024-10-07T18:48:30.442Z] ---> 99f8fd1b7f1c [2024-10-07T18:48:30.442Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-07T18:48:30.442Z] ---> Running in 5b73777f38e0 [2024-10-07T18:48:30.594Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T18:48:30.594Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-07T18:48:30.595Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-07T18:48:30.595Z] cf04c63912e1: Pulling fs layer [2024-10-07T18:48:30.595Z] 55b35a11ae5e: Pulling fs layer [2024-10-07T18:48:30.595Z] a37a00ec5f00: Pulling fs layer [2024-10-07T18:48:30.595Z] 50b3750afda1: Pulling fs layer [2024-10-07T18:48:30.595Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T18:48:30.595Z] 80978eb59214: Pulling fs layer [2024-10-07T18:48:30.595Z] c9f46d7d2bd2: Pulling fs layer [2024-10-07T18:48:30.595Z] c5a475d317c9: Pulling fs layer [2024-10-07T18:48:30.595Z] 80978eb59214: Waiting [2024-10-07T18:48:30.595Z] c9f46d7d2bd2: Waiting [2024-10-07T18:48:30.595Z] c5a475d317c9: Waiting [2024-10-07T18:48:30.595Z] 4f4fb700ef54: Waiting [2024-10-07T18:48:30.595Z] 50b3750afda1: Waiting [2024-10-07T18:48:30.595Z] 55b35a11ae5e: Download complete [2024-10-07T18:48:30.595Z] 50b3750afda1: Verifying Checksum [2024-10-07T18:48:30.595Z] 50b3750afda1: Download complete [2024-10-07T18:48:30.595Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T18:48:30.595Z] 4f4fb700ef54: Download complete [2024-10-07T18:48:30.595Z] 80978eb59214: Verifying Checksum [2024-10-07T18:48:30.595Z] 80978eb59214: Download complete [2024-10-07T18:48:30.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T18:48:30.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T18:48:30.872Z] cf04c63912e1: Verifying Checksum [2024-10-07T18:48:30.872Z] cf04c63912e1: Download complete [2024-10-07T18:48:30.965Z] Upgrading critical system libraries and apk-tools: [2024-10-07T18:48:30.965Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T18:48:30.965Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T18:48:30.965Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T18:48:30.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T18:48:30.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T18:48:31.222Z] OK: 8 MiB in 15 packages [2024-10-07T18:48:31.465Z] c5a475d317c9: Verifying Checksum [2024-10-07T18:48:31.465Z] c5a475d317c9: Download complete [2024-10-07T18:48:31.482Z] Removing intermediate container 5b73777f38e0 [2024-10-07T18:48:31.482Z] ---> 827a9f675ce8 [2024-10-07T18:48:31.482Z] Step 17/26 : WORKDIR / [2024-10-07T18:48:31.733Z] cf04c63912e1: Pull complete [2024-10-07T18:48:31.744Z] ---> Running in 77aaba825001 [2024-10-07T18:48:31.744Z] Removing intermediate container 77aaba825001 [2024-10-07T18:48:31.744Z] ---> 65379263f9aa [2024-10-07T18:48:31.744Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-07T18:48:31.744Z] ---> ddafaa37fbf2 [2024-10-07T18:48:31.744Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-07T18:48:32.002Z] ---> 43afbc7d3cd7 [2024-10-07T18:48:32.002Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-07T18:48:32.325Z] 55b35a11ae5e: Pull complete [2024-10-07T18:48:32.910Z] a37a00ec5f00: Verifying Checksum [2024-10-07T18:48:32.911Z] a37a00ec5f00: Download complete [2024-10-07T18:48:33.496Z] c9f46d7d2bd2: Download complete [2024-10-07T18:48:33.903Z] ---> 820ae3bd1d97 [2024-10-07T18:48:33.903Z] Step 21/26 : EXPOSE 59995 [2024-10-07T18:48:33.903Z] ---> Running in d5b5417d25cb [2024-10-07T18:48:33.903Z] Removing intermediate container d5b5417d25cb [2024-10-07T18:48:33.903Z] ---> ae3425018380 [2024-10-07T18:48:33.903Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-07T18:48:34.163Z] ---> Running in a8921ad9eaf7 [2024-10-07T18:48:34.163Z] Removing intermediate container a8921ad9eaf7 [2024-10-07T18:48:34.163Z] ---> 4955083a4978 [2024-10-07T18:48:34.163Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T18:48:34.163Z] ---> Running in fed1321b657f [2024-10-07T18:48:34.163Z] Removing intermediate container fed1321b657f [2024-10-07T18:48:34.163Z] ---> 70901caf41a9 [2024-10-07T18:48:34.163Z] Step 24/26 : LABEL arch=amd64 [2024-10-07T18:48:34.163Z] ---> Running in 6c3b3331c008 [2024-10-07T18:48:34.423Z] Removing intermediate container 6c3b3331c008 [2024-10-07T18:48:34.423Z] ---> 2aba7a3f38a9 [2024-10-07T18:48:34.423Z] Step 25/26 : LABEL git_sha=e4341eb2b0de2574c05681c4e684c18fae03d84f [2024-10-07T18:48:34.423Z] ---> Running in 1fff163bf03e [2024-10-07T18:48:34.423Z] Removing intermediate container 1fff163bf03e [2024-10-07T18:48:34.423Z] ---> 7ad34ad69cd9 [2024-10-07T18:48:34.423Z] Step 26/26 : LABEL version=0.0.0 [2024-10-07T18:48:34.423Z] ---> Running in 455baf25cb9c [2024-10-07T18:48:34.423Z] Removing intermediate container 455baf25cb9c [2024-10-07T18:48:34.423Z] ---> 855fbc3574a8 [2024-10-07T18:48:34.423Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T18:48:34.423Z] Successfully built 855fbc3574a8 [2024-10-07T18:48:34.423Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:48:35.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T18:48:35.480Z] [2024-10-07T18:48:35.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:48:35.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T18:48:35.891Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-07T18:48:35.891Z] 5eb5b503b376: Pulling fs layer [2024-10-07T18:48:35.891Z] 5c69ac0246d0: Pulling fs layer [2024-10-07T18:48:35.891Z] ec43610c2a17: Pulling fs layer [2024-10-07T18:48:35.891Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-07T18:48:35.891Z] 33b1e0a273af: Pulling fs layer [2024-10-07T18:48:35.891Z] 5d3b04190fa2: Pulling fs layer [2024-10-07T18:48:35.891Z] 2f39f015ded8: Pulling fs layer [2024-10-07T18:48:35.891Z] 33b1e0a273af: Waiting [2024-10-07T18:48:35.891Z] 5d3b04190fa2: Waiting [2024-10-07T18:48:35.891Z] 2f39f015ded8: Waiting [2024-10-07T18:48:35.891Z] 3a2ae6a8a46f: Waiting [2024-10-07T18:48:35.891Z] 5c69ac0246d0: Download complete [2024-10-07T18:48:35.891Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-07T18:48:35.891Z] 3a2ae6a8a46f: Download complete [2024-10-07T18:48:35.891Z] 33b1e0a273af: Verifying Checksum [2024-10-07T18:48:35.891Z] 33b1e0a273af: Download complete [2024-10-07T18:48:35.891Z] 5d3b04190fa2: Verifying Checksum [2024-10-07T18:48:35.891Z] 5d3b04190fa2: Download complete [2024-10-07T18:48:35.891Z] ec43610c2a17: Verifying Checksum [2024-10-07T18:48:35.891Z] ec43610c2a17: Download complete [2024-10-07T18:48:36.149Z] 5eb5b503b376: Verifying Checksum [2024-10-07T18:48:36.149Z] 5eb5b503b376: Download complete [2024-10-07T18:48:36.720Z] 2f39f015ded8: Download complete [2024-10-07T18:48:37.287Z] 5eb5b503b376: Pull complete [2024-10-07T18:48:37.546Z] 5c69ac0246d0: Pull complete [2024-10-07T18:48:37.834Z] ec43610c2a17: Pull complete [2024-10-07T18:48:37.834Z] 3a2ae6a8a46f: Pull complete [2024-10-07T18:48:38.106Z] 33b1e0a273af: Pull complete [2024-10-07T18:48:38.106Z] 5d3b04190fa2: Pull complete [2024-10-07T18:48:42.307Z] 2f39f015ded8: Pull complete [2024-10-07T18:48:42.307Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-07T18:48:42.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T18:48:42.307Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T18:48:42.569Z] prd-ubuntu20.04-docker-8c-8g-22079 does not seem to be running inside a container [2024-10-07T18:48:42.600Z] $ 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_PR-76 -v /w/workspace/edgexfoundry_device-uart_PR-76:/w/workspace/edgexfoundry_device-uart_PR-76:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-76@tmp:/w/workspace/edgexfoundry_device-uart_PR-76@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-07T18:48:47.484Z] $ docker top 83ea1f6455488475ab76f98541ab57156cb4b3a50cadeb5831b0907974a2f5e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:48:47.978Z] ---> job-cost.sh [2024-10-07T18:48:47.978Z] lf-activate-venv: SKIPPING [2024-10-07T18:48:47.978Z] INFO: No Stack... [2024-10-07T18:48:48.237Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T18:48:48.498Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T18:48:48.573Z] a37a00ec5f00: Pull complete [2024-10-07T18:48:48.573Z] 50b3750afda1: Pull complete [2024-10-07T18:48:48.573Z] 4f4fb700ef54: Pull complete [2024-10-07T18:48:48.573Z] 80978eb59214: Pull complete [2024-10-07T18:48:48.821Z] + cat /w/workspace/edgexfoundry_device-uart_PR-76/archives/cost.csv [2024-10-07T18:48:48.821Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T18:48:48.872Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-76-1-stack-cost] [2024-10-07T18:48:48.878Z] Resource [jenkins-edgexfoundry-device-uart-PR-76-1-stack-cost] did not exist. Created. [2024-10-07T18:48:48.884Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-76-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T18:48:49.294Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-07T18:48:49.350Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T18:48:49.386Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-76-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T18:48:49.477Z] $ docker stop --time=1 83ea1f6455488475ab76f98541ab57156cb4b3a50cadeb5831b0907974a2f5e0 [2024-10-07T18:48:50.625Z] $ docker rm -f --volumes 83ea1f6455488475ab76f98541ab57156cb4b3a50cadeb5831b0907974a2f5e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-07T18:48:55.222Z] c9f46d7d2bd2: Pull complete [2024-10-07T18:48:57.171Z] c5a475d317c9: Pull complete [2024-10-07T18:48:57.171Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-07T18:48:57.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-07T18:48:57.171Z] ---> be29e6b0f0d4 [2024-10-07T18:48:57.171Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-07T18:48:57.755Z] ---> Running in 9380729b370d [2024-10-07T18:48:58.023Z] Removing intermediate container 9380729b370d [2024-10-07T18:48:58.023Z] ---> 0d69f94ab66e [2024-10-07T18:48:58.023Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T18:48:58.023Z] ---> Running in 76ee5d2a3224 [2024-10-07T18:48:58.294Z] Removing intermediate container 76ee5d2a3224 [2024-10-07T18:48:58.294Z] ---> d99d065cae7c [2024-10-07T18:48:58.294Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-07T18:48:58.562Z] ---> Running in 90b1f0f305b1 [2024-10-07T18:48:58.831Z] Removing intermediate container 90b1f0f305b1 [2024-10-07T18:48:58.831Z] ---> 9e72bcf71f50 [2024-10-07T18:48:58.831Z] Step 6/12 : WORKDIR /device-uart [2024-10-07T18:48:58.831Z] ---> Running in 403c6a8188f2 [2024-10-07T18:48:59.106Z] Removing intermediate container 403c6a8188f2 [2024-10-07T18:48:59.107Z] ---> 38423653c4ea [2024-10-07T18:48:59.107Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T18:48:59.107Z] ---> Running in 0ad7c3f5bf35 [2024-10-07T18:49:00.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T18:49:00.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T18:49:02.202Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-07T18:49:02.202Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-07T18:49:02.202Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-07T18:49:02.202Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-07T18:49:02.202Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T18:49:02.202Z] OK: 242 MiB in 58 packages [2024-10-07T18:49:03.618Z] Removing intermediate container 0ad7c3f5bf35 [2024-10-07T18:49:03.618Z] ---> 45390bfff141 [2024-10-07T18:49:03.618Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-07T18:49:05.038Z] ---> 928cbef6354c [2024-10-07T18:49:05.038Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T18:49:05.038Z] ---> Running in 2b356e072ba9 [2024-10-07T18:50:56.689Z] Removing intermediate container 2b356e072ba9 [2024-10-07T18:50:56.689Z] ---> 96fd9e7392db [2024-10-07T18:50:56.689Z] Step 10/12 : COPY . . [2024-10-07T18:50:56.689Z] ---> 440a574dce38 [2024-10-07T18:50:56.689Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T18:50:56.689Z] ---> Running in f9a1f0ac3fe1 [2024-10-07T18:50:56.689Z] Removing intermediate container f9a1f0ac3fe1 [2024-10-07T18:50:56.689Z] ---> 7f32de524cbf [2024-10-07T18:50:56.689Z] Step 12/12 : RUN ${MAKE} [2024-10-07T18:50:56.689Z] ---> Running in 2b2ef9e10878 [2024-10-07T18:50:56.689Z] noop [2024-10-07T18:50:56.689Z] Removing intermediate container 2b2ef9e10878 [2024-10-07T18:50:56.689Z] ---> 755c955041de [2024-10-07T18:50:56.689Z] Successfully built 755c955041de [2024-10-07T18:50:56.689Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:50:57.199Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T18:50:57.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T18:50:57.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-22080 does not seem to be running inside a container [2024-10-07T18:50:57.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T18:50:58.761Z] $ docker top 5c86fdf00bde3d6bdde233d85a656c1d833a4fc22d5209bf5a39a1b5051fa3b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T18:50:59.660Z] + go version [2024-10-07T18:50:59.660Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-07T18:50:59.699Z] $ docker stop --time=1 5c86fdf00bde3d6bdde233d85a656c1d833a4fc22d5209bf5a39a1b5051fa3b0 [2024-10-07T18:51:01.283Z] $ docker rm -f --volumes 5c86fdf00bde3d6bdde233d85a656c1d833a4fc22d5209bf5a39a1b5051fa3b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:51:02.192Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T18:51:02.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T18:51:02.463Z] prd-ubuntu20.04-docker-arm64-4c-16g-22080 does not seem to be running inside a container [2024-10-07T18:51:02.524Z] $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T18:51:03.720Z] $ docker top 9ebaeb88b68ccadb4a8607636ee1d7622d907943bb1c414a39f534393b85a0b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T18:51:04.602Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-07T18:51:05.003Z] + make test [2024-10-07T18:51:05.003Z] go test ./... -coverprofile=coverage.out [2024-10-07T18:51:11.668Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-07T18:54:18.727Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-07T18:54:18.727Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-07T18:54:18.727Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-07T18:54:18.727Z] go vet ./... [2024-10-07T18:55:05.563Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T18:55:05.563Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T18:55:05.563Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T18:55:05.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T18:55:05.655Z] $ docker stop --time=1 9ebaeb88b68ccadb4a8607636ee1d7622d907943bb1c414a39f534393b85a0b5 [2024-10-07T18:55:07.507Z] $ docker rm -f --volumes 9ebaeb88b68ccadb4a8607636ee1d7622d907943bb1c414a39f534393b85a0b5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T18:55:09.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T18:55:09.186Z] Warning: overwriting stash ‘coverage-report’ [2024-10-07T18:55:09.656Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T18:55:10.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T18:55:10.624Z] + ls -al . [2024-10-07T18:55:10.624Z] total 232 [2024-10-07T18:55:10.624Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 7 18:51 . [2024-10-07T18:55:10.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 18:47 .. [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 18:48 .dockerignore [2024-10-07T18:55:10.624Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 18:48 .git [2024-10-07T18:55:10.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 18:48 .github [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 7 18:48 .gitignore [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 7 18:48 .golangci.yml [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 7 18:48 Attribution.txt [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 7 18:48 CHANGELOG.md [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 7 18:48 Dockerfile [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 18:48 GOVERNANCE.md [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 7 18:48 Jenkinsfile [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 18:48 LICENSE [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 7 18:48 Makefile [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 7 18:48 OWNERS.md [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 7 18:48 README.md [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 18:45 VERSION [2024-10-07T18:55:10.624Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 18:48 bin [2024-10-07T18:55:10.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 18:48 cmd [2024-10-07T18:55:10.624Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 7 18:54 coverage.out [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 7 18:48 go.mod [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 7 18:48 go.sum [2024-10-07T18:55:10.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 18:48 internal [2024-10-07T18:55:10.624Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 7 18:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:55:11.056Z] + 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=e4341eb2b0de2574c05681c4e684c18fae03d84f --label arch=arm64 --label version=0.0.0 . [2024-10-07T18:55:11.640Z] Sending build context to Docker daemon 12.89MB [2024-10-07T18:55:11.640Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T18:55:11.640Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-07T18:55:11.640Z] ---> 755c955041de [2024-10-07T18:55:11.640Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-07T18:55:11.640Z] ---> Running in ab9cbfc861b2 [2024-10-07T18:55:11.911Z] Removing intermediate container ab9cbfc861b2 [2024-10-07T18:55:11.911Z] ---> ef1ccccd47f9 [2024-10-07T18:55:11.911Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T18:55:11.911Z] ---> Running in 97b3386b5b12 [2024-10-07T18:55:12.189Z] Removing intermediate container 97b3386b5b12 [2024-10-07T18:55:12.189Z] ---> cd97d7078703 [2024-10-07T18:55:12.189Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-07T18:55:12.457Z] ---> Running in 1af3cc9aa9d5 [2024-10-07T18:55:12.725Z] Removing intermediate container 1af3cc9aa9d5 [2024-10-07T18:55:12.725Z] ---> 137f42884d36 [2024-10-07T18:55:12.725Z] Step 6/26 : WORKDIR /device-uart [2024-10-07T18:55:12.725Z] ---> Running in fa26722782cd [2024-10-07T18:55:12.993Z] Removing intermediate container fa26722782cd [2024-10-07T18:55:12.993Z] ---> a2604505e1c5 [2024-10-07T18:55:12.993Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T18:55:12.993Z] ---> Running in 20ba121ddb95 [2024-10-07T18:55:13.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T18:55:14.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T18:55:15.947Z] OK: 242 MiB in 58 packages [2024-10-07T18:55:16.530Z] Removing intermediate container 20ba121ddb95 [2024-10-07T18:55:16.530Z] ---> feaa2dba8a8b [2024-10-07T18:55:16.530Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-07T18:55:17.114Z] ---> ccc2a01ee7aa [2024-10-07T18:55:17.114Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T18:55:17.114Z] ---> Running in 8f998612f1a7 [2024-10-07T18:55:19.695Z] Removing intermediate container 8f998612f1a7 [2024-10-07T18:55:19.695Z] ---> 53fda0c5c485 [2024-10-07T18:55:19.695Z] Step 10/26 : COPY . . [2024-10-07T18:55:20.653Z] ---> e8ff0d9a2c07 [2024-10-07T18:55:20.653Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T18:55:20.653Z] ---> Running in 63d871dc7932 [2024-10-07T18:55:20.653Z] Removing intermediate container 63d871dc7932 [2024-10-07T18:55:20.653Z] ---> 37f8351e4b61 [2024-10-07T18:55:20.653Z] Step 12/26 : RUN ${MAKE} [2024-10-07T18:55:20.918Z] ---> Running in a34221ca0a7a [2024-10-07T18:55:21.874Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.44" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-10-07T18:58:43.614Z] Removing intermediate container a34221ca0a7a [2024-10-07T18:58:43.614Z] ---> a3d356b68961 [2024-10-07T18:58:43.614Z] Step 13/26 : FROM alpine:3.20 [2024-10-07T18:58:43.614Z] 3.20: Pulling from library/alpine [2024-10-07T18:58:43.614Z] cf04c63912e1: Already exists [2024-10-07T18:58:43.614Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T18:58:43.614Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T18:58:43.614Z] ---> c157a85ed455 [2024-10-07T18:58:43.614Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-07T18:58:43.614Z] ---> Running in 4171a5a0c269 [2024-10-07T18:58:43.614Z] Removing intermediate container 4171a5a0c269 [2024-10-07T18:58:43.614Z] ---> 61040e152de6 [2024-10-07T18:58:43.614Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-07T18:58:43.614Z] ---> Running in 4b53f0806fc7 [2024-10-07T18:58:43.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T18:58:43.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T18:58:44.195Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T18:58:44.195Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T18:58:44.195Z] OK: 9 MiB in 15 packages [2024-10-07T18:58:45.169Z] Removing intermediate container 4b53f0806fc7 [2024-10-07T18:58:45.169Z] ---> 372fcf4b76ea [2024-10-07T18:58:45.169Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-07T18:58:45.437Z] ---> Running in 3d1cc69fe6ee [2024-10-07T18:58:46.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T18:58:46.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T18:58:48.058Z] Upgrading critical system libraries and apk-tools: [2024-10-07T18:58:48.058Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T18:58:48.058Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T18:58:48.058Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T18:58:48.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T18:58:48.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T18:58:49.723Z] OK: 9 MiB in 15 packages [2024-10-07T18:58:50.681Z] Removing intermediate container 3d1cc69fe6ee [2024-10-07T18:58:50.681Z] ---> 271e5d66bb22 [2024-10-07T18:58:50.681Z] Step 17/26 : WORKDIR / [2024-10-07T18:58:50.681Z] ---> Running in c8bb0489caae [2024-10-07T18:58:50.946Z] Removing intermediate container c8bb0489caae [2024-10-07T18:58:50.946Z] ---> 67b818fe53fb [2024-10-07T18:58:50.946Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-07T18:58:51.524Z] ---> 0447cbd8823d [2024-10-07T18:58:51.524Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-07T18:58:52.106Z] ---> a51a884a9992 [2024-10-07T18:58:52.106Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-07T18:58:54.039Z] ---> 2d3a4c2b9899 [2024-10-07T18:58:54.039Z] Step 21/26 : EXPOSE 59995 [2024-10-07T18:58:54.304Z] ---> Running in d13572217f05 [2024-10-07T18:58:54.569Z] Removing intermediate container d13572217f05 [2024-10-07T18:58:54.569Z] ---> 04f8f52216e4 [2024-10-07T18:58:54.569Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-07T18:58:54.569Z] ---> Running in 9ccd8c42c38a [2024-10-07T18:58:54.835Z] Removing intermediate container 9ccd8c42c38a [2024-10-07T18:58:54.835Z] ---> 6a54c7a9318d [2024-10-07T18:58:54.835Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T18:58:54.835Z] ---> Running in 01706d87eaee [2024-10-07T18:58:55.103Z] Removing intermediate container 01706d87eaee [2024-10-07T18:58:55.103Z] ---> 8e4b34588036 [2024-10-07T18:58:55.103Z] Step 24/26 : LABEL arch=arm64 [2024-10-07T18:58:55.373Z] ---> Running in 6b0f4a0ada7a [2024-10-07T18:58:55.640Z] Removing intermediate container 6b0f4a0ada7a [2024-10-07T18:58:55.640Z] ---> 324fa536c8b2 [2024-10-07T18:58:55.640Z] Step 25/26 : LABEL git_sha=e4341eb2b0de2574c05681c4e684c18fae03d84f [2024-10-07T18:58:55.640Z] ---> Running in 15799ec18aec [2024-10-07T18:58:55.908Z] Removing intermediate container 15799ec18aec [2024-10-07T18:58:55.908Z] ---> 31e0f45d3afd [2024-10-07T18:58:55.908Z] Step 26/26 : LABEL version=0.0.0 [2024-10-07T18:58:55.908Z] ---> Running in 1314942b34e2 [2024-10-07T18:58:56.173Z] Removing intermediate container 1314942b34e2 [2024-10-07T18:58:56.173Z] ---> 3bf71a7d3b60 [2024-10-07T18:58:56.173Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T18:58:56.173Z] Successfully built 3bf71a7d3b60 [2024-10-07T18:58:56.173Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:58:57.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T18:58:57.132Z] [2024-10-07T18:58:57.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:58:57.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T18:58:57.562Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-07T18:58:57.562Z] 8998bd30e6a1: Pulling fs layer [2024-10-07T18:58:57.562Z] 04944245beec: Pulling fs layer [2024-10-07T18:58:57.562Z] 699f458cf7ca: Pulling fs layer [2024-10-07T18:58:57.562Z] 765212b225bb: Pulling fs layer [2024-10-07T18:58:57.562Z] f23df028b6ca: Pulling fs layer [2024-10-07T18:58:57.562Z] d65c8cfc05b1: Pulling fs layer [2024-10-07T18:58:57.562Z] 765212b225bb: Waiting [2024-10-07T18:58:57.562Z] f23df028b6ca: Waiting [2024-10-07T18:58:57.562Z] 2437ff75d9bd: Pulling fs layer [2024-10-07T18:58:57.562Z] d65c8cfc05b1: Waiting [2024-10-07T18:58:57.562Z] 2437ff75d9bd: Waiting [2024-10-07T18:58:57.827Z] 04944245beec: Verifying Checksum [2024-10-07T18:58:57.827Z] 04944245beec: Download complete [2024-10-07T18:58:57.827Z] 765212b225bb: Verifying Checksum [2024-10-07T18:58:57.827Z] 765212b225bb: Download complete [2024-10-07T18:58:57.827Z] f23df028b6ca: Download complete [2024-10-07T18:58:57.827Z] d65c8cfc05b1: Verifying Checksum [2024-10-07T18:58:57.827Z] d65c8cfc05b1: Download complete [2024-10-07T18:58:58.091Z] 699f458cf7ca: Verifying Checksum [2024-10-07T18:58:58.091Z] 699f458cf7ca: Download complete [2024-10-07T18:58:58.356Z] 8998bd30e6a1: Verifying Checksum [2024-10-07T18:58:58.356Z] 8998bd30e6a1: Download complete [2024-10-07T18:59:00.924Z] 2437ff75d9bd: Verifying Checksum [2024-10-07T18:59:00.924Z] 2437ff75d9bd: Download complete [2024-10-07T18:59:02.862Z] 8998bd30e6a1: Pull complete [2024-10-07T18:59:03.127Z] 04944245beec: Pull complete [2024-10-07T18:59:04.529Z] 699f458cf7ca: Pull complete [2024-10-07T18:59:04.794Z] 765212b225bb: Pull complete [2024-10-07T18:59:05.749Z] f23df028b6ca: Pull complete [2024-10-07T18:59:06.014Z] d65c8cfc05b1: Pull complete [2024-10-07T18:59:24.197Z] 2437ff75d9bd: Pull complete [2024-10-07T18:59:24.198Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-07T18:59:24.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T18:59:24.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T18:59:24.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-22080 does not seem to be running inside a container [2024-10-07T18:59:24.624Z] $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-07T18:59:27.237Z] $ docker top 6d68c30b34c08d3e886b49b31914110f02b449b58a4cb209f230e83e1ab5254d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:59:28.154Z] ---> job-cost.sh [2024-10-07T18:59:28.154Z] lf-activate-venv: SKIPPING [2024-10-07T18:59:28.154Z] INFO: No Stack... [2024-10-07T18:59:28.418Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-07T18:59:29.372Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T18:59:30.031Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-10-07T18:59:30.031Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T18:59:30.107Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-76-1-stack-cost] [2024-10-07T18:59:30.113Z] Resource [jenkins-edgexfoundry-device-uart-PR-76-1-stack-cost] did not exist. Created. [2024-10-07T18:59:30.120Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-76-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T18:59:30.847Z] /w/workspace/device-uart/1@tmp/durable-f6b9b298/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-07T18:59:31.512Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-07T18:59:31.551Z] Warning: overwriting stash ‘stack-cost’ [2024-10-07T18:59:31.589Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T18:59:31.608Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-76-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T18:59:31.699Z] $ docker stop --time=1 6d68c30b34c08d3e886b49b31914110f02b449b58a4cb209f230e83e1ab5254d [2024-10-07T18:59:33.157Z] $ docker rm -f --volumes 6d68c30b34c08d3e886b49b31914110f02b449b58a4cb209f230e83e1ab5254d [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-10-07T18:59:34.359Z] provisioning config files... [2024-10-07T18:59:34.366Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-76@tmp/config4855912487420077603tmp [Pipeline] { [Pipeline] sh [2024-10-07T18:59:34.714Z] + set +x [2024-10-07T18:59:34.714Z] + bash -s -- [2024-10-07T18:59:34.714Z] + curl -s https://codecov.io/bash [2024-10-07T18:59:34.714Z] [2024-10-07T18:59:34.714Z] _____ _ [2024-10-07T18:59:34.714Z] / ____| | | [2024-10-07T18:59:34.714Z] | | ___ __| | ___ ___ _____ __ [2024-10-07T18:59:34.714Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-07T18:59:34.714Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-07T18:59:34.714Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-07T18:59:34.714Z] Bash-1.0.6 [2024-10-07T18:59:34.714Z] [2024-10-07T18:59:34.714Z] [2024-10-07T18:59:34.714Z] ==> git version 2.25.1 found [2024-10-07T18:59:34.714Z] ==> 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-10-07T18:59:34.714Z] Release-Date: 2020-01-08 [2024-10-07T18:59:34.714Z] 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-10-07T18:59:34.714Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-07T18:59:34.714Z] ==> Jenkins CI detected. [2024-10-07T18:59:34.714Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-76 [2024-10-07T18:59:34.714Z] project root: . [2024-10-07T18:59:34.714Z] --> token set from env [2024-10-07T18:59:34.715Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-07T18:59:34.715Z] ==> Running gcov in . (disable via -X gcov) [2024-10-07T18:59:34.715Z] ==> Python coveragepy not found [2024-10-07T18:59:34.715Z] ==> Searching for coverage reports in: [2024-10-07T18:59:34.715Z] + . [2024-10-07T18:59:34.715Z] -> Found 1 reports [2024-10-07T18:59:34.715Z] ==> Detecting git/mercurial file structure [2024-10-07T18:59:34.974Z] ==> Reading reports [2024-10-07T18:59:34.974Z] + ./coverage.out bytes=6770 [2024-10-07T18:59:34.974Z] ==> Appending adjustments [2024-10-07T18:59:34.974Z] https://docs.codecov.io/docs/fixing-reports [2024-10-07T18:59:34.974Z] + Found adjustments [2024-10-07T18:59:34.974Z] ==> Gzipping contents [2024-10-07T18:59:34.974Z] 4.0K /tmp/codecov.2ONBka.gz [2024-10-07T18:59:34.974Z] ==> Uploading reports [2024-10-07T18:59:34.974Z] url: https://codecov.io [2024-10-07T18:59:34.974Z] query: branch=PR-76&commit=e4341eb2b0de2574c05681c4e684c18fae03d84f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=76&job=&cmd_args= [2024-10-07T18:59:34.974Z] -> Pinging Codecov [2024-10-07T18:59:34.974Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-76&commit=e4341eb2b0de2574c05681c4e684c18fae03d84f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=76&job=&cmd_args= [2024-10-07T18:59:35.234Z] -> Uploading to [2024-10-07T18:59:35.234Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/e4341eb2b0de2574c05681c4e684c18fae03d84f/a96a6bda-81e5-4e19-b70f-d7c536e05016.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T185934Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b514340e4afb2db163820a44622b99a48388b218d8a704f63700c1df72dba659 [2024-10-07T18:59:35.234Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T18:59:35.234Z] Dload Upload Total Spent Left Speed [2024-10-07T18:59:35.234Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 6151 --:--:-- --:--:-- --:--:-- 6123 [2024-10-07T18:59:35.234Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/e4341eb2b0de2574c05681c4e684c18fae03d84f [Pipeline] } [2024-10-07T18:59:35.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-07T18:59:37.557Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-76/archives ] [2024-10-07T18:59:37.557Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-76/archives [2024-10-07T18:59:37.557Z] total 16 [2024-10-07T18:59:37.557Z] drwxr-xr-x 3 root root 4096 Oct 7 18:48 . [2024-10-07T18:59:37.557Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 18:48 .. [2024-10-07T18:59:37.557Z] drwxr-xr-x 2 root root 4096 Oct 7 18:48 cost [2024-10-07T18:59:37.557Z] -rw-r--r-- 1 root root 82 Oct 7 18:48 cost.csv [2024-10-07T18:59:37.557Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-76/archives [2024-10-07T18:59:37.557Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-76/archives [2024-10-07T18:59:37.557Z] total 16 [2024-10-07T18:59:37.557Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 18:48 . [2024-10-07T18:59:37.557Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 18:48 .. [2024-10-07T18:59:37.557Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 18:48 cost [2024-10-07T18:59:37.557Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 7 18:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:59:37.895Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:59:38.792Z] ---> package-listing.sh [2024-10-07T18:59:38.792Z] ++ facter osfamily [2024-10-07T18:59:38.792Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-07T18:59:39.051Z] + OS_FAMILY=debian [2024-10-07T18:59:39.051Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-76 [2024-10-07T18:59:39.051Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-07T18:59:39.051Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-07T18:59:39.051Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-07T18:59:39.051Z] + PACKAGES=/tmp/packages_start.txt [2024-10-07T18:59:39.051Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-76 ']' [2024-10-07T18:59:39.051Z] + PACKAGES=/tmp/packages_end.txt [2024-10-07T18:59:39.051Z] + case "${OS_FAMILY}" in [2024-10-07T18:59:39.051Z] + dpkg -l [2024-10-07T18:59:39.051Z] + grep '^ii' [2024-10-07T18:59:39.051Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-07T18:59:39.051Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-07T18:59:39.051Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-07T18:59:39.051Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-76 ']' [2024-10-07T18:59:39.051Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-76/archives/ [2024-10-07T18:59:39.051Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-76/archives/ [Pipeline] echo [2024-10-07T18:59:39.096Z] 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_PR-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-07T18:59:39.394Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T18:59:40.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T18:59:40.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T18:59:40.203Z] prd-ubuntu20.04-docker-8c-8g-22079 does not seem to be running inside a container [2024-10-07T18:59:40.214Z] $ 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_PR-76/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_PR-76 -v /w/workspace/edgexfoundry_device-uart_PR-76:/w/workspace/edgexfoundry_device-uart_PR-76:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-76@tmp:/w/workspace/edgexfoundry_device-uart_PR-76@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-07T18:59:40.405Z] $ docker top 324ca48231226cdb59da15490c76765aa3f82610431b5cd4df9831628a1fb6eb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T18:59:40.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-07T18:59:41.153Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-07T18:59:41.536Z] + ls /var/log/sa-host [2024-10-07T18:59:41.536Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T18:59:41.785Z] provisioning config files... [2024-10-07T18:59:41.805Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-76@tmp/config17430980959149082474tmp [Pipeline] { [Pipeline] echo [2024-10-07T18:59:41.864Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:59:42.222Z] ---> create-netrc.sh [Pipeline] } [2024-10-07T18:59:42.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:59:42.658Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-07T18:59:42.697Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:59:43.022Z] ---> sudo-logs.sh [2024-10-07T18:59:43.022Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-07T18:59:43.120Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:59:43.445Z] ---> job-cost.sh [2024-10-07T18:59:43.445Z] lf-activate-venv: SKIPPING [2024-10-07T18:59:43.445Z] DEBUG: total: 0.2199999988079071 [2024-10-07T18:59:43.445Z] INFO: Retrieving Stack Cost... [2024-10-07T18:59:43.703Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T18:59:43.962Z] INFO: Archiving Costs [Pipeline] echo [2024-10-07T18:59:44.004Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:59:44.321Z] ---> logs-deploy.sh [2024-10-07T18:59:44.321Z] lf-activate-venv: SKIPPING [2024-10-07T18:59:44.321Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-76/1 [2024-10-07T18:59:44.321Z] INFO: archiving workspace using pattern(s): [2024-10-07T18:59:45.254Z] Archives upload complete. [2024-10-07T18:59:45.254Z] INFO: archiving logs to Nexus