Pull request #75 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d33fad5f7c296a1277cd12e601d65667f97dc6c+69ede8b4d67baa3d48ae0f121c49ed45734e5b1e (f593a63fb37bf488f1c0dfa22d05783694f5a70f) 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-ssh10231055782490419829.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-ssh4567315066960468550.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-75/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-75/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2345603556433405148.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-75/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11998912788208885851.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-ssh4807902050699715069.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-75/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-75/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17369656290011220904.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-21842 in /w/workspace/edgexfoundry_device-uart_PR-75 [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-75 # 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 4d33fad5f7c296a1277cd12e601d65667f97dc6c Merge succeeded, producing 4d33fad5f7c296a1277cd12e601d65667f97dc6c Checking out Revision 4d33fad5f7c296a1277cd12e601d65667f97dc6c (PR-75) 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/75/head:refs/remotes/origin/PR-75 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d33fad5f7c296a1277cd12e601d65667f97dc6c # 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 4d33fad5f7c296a1277cd12e601d65667f97dc6c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T18:30:56.936Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T18:30:57.178Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T18:30:57.297Z] ========================================================= [2024-10-04T18:30:57.297Z] EdgeX Global Pipelines Version Info [2024-10-04T18:30:57.297Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:30:58.273Z] ------------------- [2024-10-04T18:30:58.273Z] stable info: [2024-10-04T18:30:58.273Z] ------------------- [2024-10-04T18:30:58.273Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T18:30:58.273Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T18:30:58.273Z] Message: update stable to v1.0.265 [2024-10-04T18:30:58.843Z] ------------------- [2024-10-04T18:30:58.843Z] experimental info: [2024-10-04T18:30:58.843Z] ------------------- [2024-10-04T18:30:58.843Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T18:30:58.843Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T18:30:58.843Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T18:30:59.102Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-04T18:30:59.159Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-04T18:30:59.223Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T18:30:59.317Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T18:30:59.378Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T18:30:59.438Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T18:30:59.497Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T18:30:59.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T18:30:59.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T18:30:59.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T18:30:59.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T18:30:59.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-04T18:30:59.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T18:30:59.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T18:31:00.012Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T18:31:00.075Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T18:31:00.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T18:31:00.195Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T18:31:00.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T18:31:00.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T18:31:00.379Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T18:31:00.441Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T18:31:00.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T18:31:00.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T18:31:00.627Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T18:31:00.688Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T18:31:00.750Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T18:31:00.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-75 [Pipeline] echo [2024-10-04T18:31:00.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-75 [Pipeline] echo [2024-10-04T18:31:00.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-75 [Pipeline] echo [2024-10-04T18:31:01.001Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d33fad5f7c296a1277cd12e601d65667f97dc6c [Pipeline] echo [2024-10-04T18:31:01.066Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d33fad [Pipeline] echo [2024-10-04T18:31:01.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T18:31:01.286Z] provisioning config files... [2024-10-04T18:31:01.300Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-75@tmp/config9788778335466378062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:31:01.738Z] ---> ****-login.sh [2024-10-04T18:31:01.738Z] nexus3.edgexfoundry.org:10001 [2024-10-04T18:31:02.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:02.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:02.264Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:02.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:02.264Z] [2024-10-04T18:31:02.264Z] Login Succeeded [2024-10-04T18:31:02.264Z] nexus3.edgexfoundry.org:10002 [2024-10-04T18:31:02.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:02.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:02.264Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:02.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:02.264Z] [2024-10-04T18:31:02.264Z] Login Succeeded [2024-10-04T18:31:02.264Z] nexus3.edgexfoundry.org:10003 [2024-10-04T18:31:02.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:02.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:02.264Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:02.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:02.264Z] [2024-10-04T18:31:02.264Z] Login Succeeded [2024-10-04T18:31:02.264Z] nexus3.edgexfoundry.org:10004 [2024-10-04T18:31:02.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:02.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:02.523Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:02.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:02.523Z] [2024-10-04T18:31:02.523Z] Login Succeeded [2024-10-04T18:31:02.523Z] ****.io [2024-10-04T18:31:02.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:02.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:02.782Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:02.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:02.782Z] [2024-10-04T18:31:02.782Z] Login Succeeded [2024-10-04T18:31:02.782Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T18:31:02.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T18:31:03.493Z] + git rev-list -1 --merges 4d33fad5f7c296a1277cd12e601d65667f97dc6c~1..4d33fad5f7c296a1277cd12e601d65667f97dc6c [Pipeline] echo [2024-10-04T18:31:03.547Z] -----------> git rev-list -1 --merges 4d33fad5f7c296a1277cd12e601d65667f97dc6c~1..4d33fad5f7c296a1277cd12e601d65667f97dc6c 4d33fad5f7c296a1277cd12e601d65667f97dc6c [false] [Pipeline] sh [2024-10-04T18:31:03.875Z] + git log --format=format:%s -1 4d33fad5f7c296a1277cd12e601d65667f97dc6c [Pipeline] echo [2024-10-04T18:31:03.925Z] ========================================================= [2024-10-04T18:31:03.925Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T18:31:03.925Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T18:31:04.392Z] + git log --format=format:%s -1 4d33fad5f7c296a1277cd12e601d65667f97dc6c [Pipeline] echo [2024-10-04T18:31:04.433Z] [semverPrep] GIT_COMMIT: 4d33fad5f7c296a1277cd12e601d65667f97dc6c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-04T18:31:04.478Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T18:31:04.908Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T18:31:04.908Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T18:31:04.908Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T18:31:04.908Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T18:31:04.908Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T18:31:04.908Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T18:31:04.908Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:31:05.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T18:31:05.537Z] [2024-10-04T18:31:05.537Z] 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-04T18:31:05.938Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T18:31:05.938Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T18:31:05.938Z] b85a868b505f: Pulling fs layer [2024-10-04T18:31:05.938Z] e2be974225ed: Pulling fs layer [2024-10-04T18:31:05.938Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T18:31:05.938Z] 988bab9f4d93: Pulling fs layer [2024-10-04T18:31:05.938Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T18:31:05.938Z] eaf3925da568: Pulling fs layer [2024-10-04T18:31:05.938Z] bab4dde63d76: Pulling fs layer [2024-10-04T18:31:05.938Z] bde34c3a00c8: Pulling fs layer [2024-10-04T18:31:05.938Z] b352a97aabf1: Pulling fs layer [2024-10-04T18:31:05.938Z] 4872d77fe225: Pulling fs layer [2024-10-04T18:31:05.938Z] 5851b861e8e6: Pulling fs layer [2024-10-04T18:31:05.938Z] 988bab9f4d93: Waiting [2024-10-04T18:31:05.938Z] 1469e6f7b9e6: Waiting [2024-10-04T18:31:05.938Z] eaf3925da568: Waiting [2024-10-04T18:31:05.938Z] bab4dde63d76: Waiting [2024-10-04T18:31:05.938Z] bde34c3a00c8: Waiting [2024-10-04T18:31:05.938Z] 5851b861e8e6: Waiting [2024-10-04T18:31:05.938Z] 4872d77fe225: Waiting [2024-10-04T18:31:05.938Z] b352a97aabf1: Waiting [2024-10-04T18:31:05.938Z] e2be974225ed: Verifying Checksum [2024-10-04T18:31:05.938Z] e2be974225ed: Download complete [2024-10-04T18:31:05.938Z] 988bab9f4d93: Verifying Checksum [2024-10-04T18:31:05.938Z] 988bab9f4d93: Download complete [2024-10-04T18:31:05.938Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T18:31:05.938Z] 339a4e72a1f5: Download complete [2024-10-04T18:31:06.198Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T18:31:06.198Z] 1469e6f7b9e6: Download complete [2024-10-04T18:31:06.198Z] eaf3925da568: Verifying Checksum [2024-10-04T18:31:06.198Z] eaf3925da568: Download complete [2024-10-04T18:31:06.198Z] bde34c3a00c8: Download complete [2024-10-04T18:31:06.198Z] b352a97aabf1: Verifying Checksum [2024-10-04T18:31:06.198Z] b352a97aabf1: Download complete [2024-10-04T18:31:06.198Z] 4872d77fe225: Download complete [2024-10-04T18:31:06.198Z] 5851b861e8e6: Download complete [2024-10-04T18:31:06.198Z] b85a868b505f: Verifying Checksum [2024-10-04T18:31:06.198Z] b85a868b505f: Download complete [2024-10-04T18:31:06.457Z] bab4dde63d76: Verifying Checksum [2024-10-04T18:31:06.457Z] bab4dde63d76: Download complete [2024-10-04T18:31:07.406Z] b85a868b505f: Pull complete [2024-10-04T18:31:07.666Z] e2be974225ed: Pull complete [2024-10-04T18:31:08.238Z] 339a4e72a1f5: Pull complete [2024-10-04T18:31:08.238Z] 988bab9f4d93: Pull complete [2024-10-04T18:31:08.498Z] 1469e6f7b9e6: Pull complete [2024-10-04T18:31:08.498Z] eaf3925da568: Pull complete [2024-10-04T18:31:10.404Z] bab4dde63d76: Pull complete [2024-10-04T18:31:10.404Z] bde34c3a00c8: Pull complete [2024-10-04T18:31:10.665Z] b352a97aabf1: Pull complete [2024-10-04T18:31:10.665Z] 4872d77fe225: Pull complete [2024-10-04T18:31:10.665Z] 5851b861e8e6: Pull complete [2024-10-04T18:31:10.665Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T18:31:10.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T18:31:10.665Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:31:10.953Z] prd-ubuntu20.04-docker-8c-8g-21842 does not seem to be running inside a container [2024-10-04T18:31:10.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-75 -v /w/workspace/edgexfoundry_device-uart_PR-75:/w/workspace/edgexfoundry_device-uart_PR-75:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-75@tmp:/w/workspace/edgexfoundry_device-uart_PR-75@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-04T18:31:14.012Z] $ docker top 9363696d7c19bfa030fe4673e0ca083117fb62d1b59b7868a9a848c38d097ef8 -eo pid,comm [2024-10-04T18:31:14.071Z] 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-04T18:31:14.071Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T18:31:14.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T18:31:14.250Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T18:31:14.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T18:31:14.367Z] $ docker exec 9363696d7c19bfa030fe4673e0ca083117fb62d1b59b7868a9a848c38d097ef8 ssh-agent [2024-10-04T18:31:14.476Z] SSH_AUTH_SOCK=/tmp/ssh-o9GaMyyC1Wj9/agent.32 [2024-10-04T18:31:14.476Z] SSH_AGENT_PID=39 [2024-10-04T18:31:14.483Z] Running ssh-add (command line suppressed) [2024-10-04T18:31:14.593Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-75@tmp/private_key_7242906011180566822.key (/w/workspace/edgexfoundry_device-uart_PR-75@tmp/private_key_7242906011180566822.key) [2024-10-04T18:31:14.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T18:31:14.965Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T18:31:14.992Z] $ docker exec --env ******** --env ******** 9363696d7c19bfa030fe4673e0ca083117fb62d1b59b7868a9a848c38d097ef8 ssh-agent -k [2024-10-04T18:31:15.091Z] unset SSH_AUTH_SOCK; [2024-10-04T18:31:15.092Z] unset SSH_AGENT_PID; [2024-10-04T18:31:15.092Z] echo Agent pid 39 killed; [2024-10-04T18:31:15.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T18:31:15.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T18:31:15.233Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T18:31:15.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T18:31:15.338Z] $ docker exec 9363696d7c19bfa030fe4673e0ca083117fb62d1b59b7868a9a848c38d097ef8 ssh-agent [2024-10-04T18:31:15.442Z] SSH_AUTH_SOCK=/tmp/ssh-xvBtOqmEC1cD/agent.72 [2024-10-04T18:31:15.442Z] SSH_AGENT_PID=78 [2024-10-04T18:31:15.447Z] Running ssh-add (command line suppressed) [2024-10-04T18:31:15.548Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-75@tmp/private_key_14956793200907013441.key (/w/workspace/edgexfoundry_device-uart_PR-75@tmp/private_key_14956793200907013441.key) [2024-10-04T18:31:15.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T18:31:15.896Z] + git semver init [2024-10-04T18:31:16.156Z] 2024-10-04 18:31:16,076 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T18:31:16.156Z] 2024-10-04 18:31:16,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-75/.semver [2024-10-04T18:31:16.156Z] 2024-10-04 18:31:16,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-75/.semver [2024-10-04T18:31:16.156Z] 2024-10-04 18:31:16,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-75/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-75, universal_newlines=False, shell=None, istream=None) [2024-10-04T18:31:17.538Z] 2024-10-04 18:31:17,195 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-75/.git/info/exclude [2024-10-04T18:31:17.538Z] 2024-10-04 18:31:17,196 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-75/.semver/PR-75 with force:False [2024-10-04T18:31:17.538Z] 2024-10-04 18:31:17,196 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-75/.semver/PR-75 [2024-10-04T18:31:17.538Z] 2024-10-04 18:31:17,200 [execute] INFO git cat-file --batch-check [2024-10-04T18:31:17.538Z] 2024-10-04 18:31:17,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-75/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T18:31:17.538Z] 2024-10-04 18:31:17,207 [execute] INFO git cat-file --batch [2024-10-04T18:31:17.538Z] 2024-10-04 18:31:17,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-75/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T18:31:17.538Z] 2024-10-04 18:31:17,212 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-75/.semver/PR-75 [2024-10-04T18:31:17.538Z] 0.0.0 [Pipeline] } [2024-10-04T18:31:17.568Z] $ docker exec --env ******** --env ******** 9363696d7c19bfa030fe4673e0ca083117fb62d1b59b7868a9a848c38d097ef8 ssh-agent -k [2024-10-04T18:31:17.668Z] unset SSH_AUTH_SOCK; [2024-10-04T18:31:17.668Z] unset SSH_AGENT_PID; [2024-10-04T18:31:17.668Z] echo Agent pid 78 killed; [2024-10-04T18:31:17.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T18:31:18.156Z] + git semver [Pipeline] } [2024-10-04T18:31:18.454Z] $ docker stop --time=1 9363696d7c19bfa030fe4673e0ca083117fb62d1b59b7868a9a848c38d097ef8 [2024-10-04T18:31:19.730Z] $ docker rm -f --volumes 9363696d7c19bfa030fe4673e0ca083117fb62d1b59b7868a9a848c38d097ef8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T18:31:20.171Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T18:31:20.466Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T18:31:20.491Z] [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-04T18:31:21.208Z] provisioning config files... [2024-10-04T18:31:21.218Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-75@tmp/config3873387428124537460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:31:21.598Z] ---> ****-login.sh [2024-10-04T18:31:21.598Z] nexus3.edgexfoundry.org:10001 [2024-10-04T18:31:21.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:21.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:21.598Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:21.598Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:21.598Z] [2024-10-04T18:31:21.598Z] Login Succeeded [2024-10-04T18:31:21.598Z] nexus3.edgexfoundry.org:10002 [2024-10-04T18:31:21.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:21.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:21.599Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:21.599Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:21.599Z] [2024-10-04T18:31:21.599Z] Login Succeeded [2024-10-04T18:31:21.599Z] nexus3.edgexfoundry.org:10003 [2024-10-04T18:31:21.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:21.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:21.863Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:21.863Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:21.863Z] [2024-10-04T18:31:21.863Z] Login Succeeded [2024-10-04T18:31:21.863Z] nexus3.edgexfoundry.org:10004 [2024-10-04T18:31:21.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:21.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:21.863Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:21.863Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:21.863Z] [2024-10-04T18:31:21.863Z] Login Succeeded [2024-10-04T18:31:21.863Z] ****.io [2024-10-04T18:31:22.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:31:22.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:31:22.123Z] Configure a credential helper to remove this warning. See [2024-10-04T18:31:22.123Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:31:22.123Z] [2024-10-04T18:31:22.123Z] Login Succeeded [2024-10-04T18:31:22.123Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T18:31:22.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T18:31:22.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T18:31:22.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T18:31:22.492Z] ========================================================= [2024-10-04T18:31:22.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T18:31:22.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:31:23.045Z] + 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-04T18:31:23.045Z] Sending build context to Docker daemon 25.61MB [2024-10-04T18:31:23.045Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T18:31:23.045Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T18:31:23.304Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T18:31:23.304Z] 43c4264eed91: Pulling fs layer [2024-10-04T18:31:23.304Z] 4cc291be95ef: Pulling fs layer [2024-10-04T18:31:23.304Z] 2ac1f1163629: Pulling fs layer [2024-10-04T18:31:23.304Z] 5c3c966382ef: Pulling fs layer [2024-10-04T18:31:23.304Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T18:31:23.304Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T18:31:23.304Z] 9f66e0745190: Pulling fs layer [2024-10-04T18:31:23.304Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T18:31:23.304Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T18:31:23.304Z] 4f4fb700ef54: Waiting [2024-10-04T18:31:23.304Z] 5d5c8e513c77: Waiting [2024-10-04T18:31:23.304Z] 9f66e0745190: Waiting [2024-10-04T18:31:23.304Z] f49a43e4bbc0: Waiting [2024-10-04T18:31:23.304Z] 561ebcabdf7f: Waiting [2024-10-04T18:31:23.304Z] 5c3c966382ef: Waiting [2024-10-04T18:31:23.304Z] 4cc291be95ef: Verifying Checksum [2024-10-04T18:31:23.304Z] 4cc291be95ef: Download complete [2024-10-04T18:31:23.304Z] 5c3c966382ef: Download complete [2024-10-04T18:31:23.304Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T18:31:23.304Z] 4f4fb700ef54: Download complete [2024-10-04T18:31:23.304Z] 5d5c8e513c77: Download complete [2024-10-04T18:31:23.304Z] 43c4264eed91: Download complete [2024-10-04T18:31:23.304Z] 9f66e0745190: Verifying Checksum [2024-10-04T18:31:23.304Z] 9f66e0745190: Download complete [2024-10-04T18:31:23.304Z] 43c4264eed91: Pull complete [2024-10-04T18:31:23.562Z] 561ebcabdf7f: Verifying Checksum [2024-10-04T18:31:23.562Z] 561ebcabdf7f: Download complete [2024-10-04T18:31:23.562Z] 4cc291be95ef: Pull complete [2024-10-04T18:31:23.822Z] 2ac1f1163629: Verifying Checksum [2024-10-04T18:31:23.822Z] 2ac1f1163629: Download complete [2024-10-04T18:31:23.822Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T18:31:23.822Z] f49a43e4bbc0: Download complete [2024-10-04T18:31:27.101Z] 2ac1f1163629: Pull complete [2024-10-04T18:31:27.101Z] 5c3c966382ef: Pull complete [2024-10-04T18:31:27.101Z] 4f4fb700ef54: Pull complete [2024-10-04T18:31:27.360Z] 5d5c8e513c77: Pull complete [2024-10-04T18:31:27.360Z] 9f66e0745190: Pull complete [2024-10-04T18:31:29.890Z] f49a43e4bbc0: Pull complete [2024-10-04T18:31:29.890Z] 561ebcabdf7f: Pull complete [2024-10-04T18:31:29.890Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T18:31:29.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T18:31:29.890Z] ---> 3a752c3f9dda [2024-10-04T18:31:29.890Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T18:31:35.292Z] ---> Running in 0ef1c6d6e534 [2024-10-04T18:31:35.292Z] Removing intermediate container 0ef1c6d6e534 [2024-10-04T18:31:35.292Z] ---> f99867afe422 [2024-10-04T18:31:35.292Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T18:31:35.292Z] ---> Running in 92adf82ea816 [2024-10-04T18:31:35.292Z] Removing intermediate container 92adf82ea816 [2024-10-04T18:31:35.292Z] ---> d22f7ded17c1 [2024-10-04T18:31:35.292Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T18:31:35.292Z] ---> Running in e3bbbdbd28e0 [2024-10-04T18:31:35.292Z] Removing intermediate container e3bbbdbd28e0 [2024-10-04T18:31:35.292Z] ---> 4f46ba57c1ea [2024-10-04T18:31:35.292Z] Step 6/12 : WORKDIR /device-uart [2024-10-04T18:31:35.292Z] ---> Running in 9b114e5c5d9f [2024-10-04T18:31:35.292Z] Removing intermediate container 9b114e5c5d9f [2024-10-04T18:31:35.292Z] ---> e53aa3ca71ca [2024-10-04T18:31:35.292Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T18:31:35.292Z] ---> Running in 81e8ade53c9b [2024-10-04T18:31:35.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:31:35.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:31:35.292Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T18:31:35.292Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T18:31:35.292Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T18:31:35.292Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T18:31:35.292Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T18:31:35.292Z] OK: 250 MiB in 58 packages [2024-10-04T18:31:35.858Z] Removing intermediate container 81e8ade53c9b [2024-10-04T18:31:35.858Z] ---> 93a20d536aec [2024-10-04T18:31:35.858Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-04T18:31:35.991Z] Still waiting to schedule task [2024-10-04T18:31:35.992Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-04T18:31:36.117Z] ---> 7670e7514b70 [2024-10-04T18:31:36.117Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T18:31:36.117Z] ---> Running in d1eccf30b39b [2024-10-04T18:32:32.435Z] Removing intermediate container d1eccf30b39b [2024-10-04T18:32:32.435Z] ---> 8968bcafd548 [2024-10-04T18:32:32.435Z] Step 10/12 : COPY . . [2024-10-04T18:32:32.435Z] ---> 24816af9b6a0 [2024-10-04T18:32:32.435Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T18:32:32.435Z] ---> Running in 64f5b6cd8826 [2024-10-04T18:32:32.435Z] Removing intermediate container 64f5b6cd8826 [2024-10-04T18:32:32.435Z] ---> 199c082164aa [2024-10-04T18:32:32.435Z] Step 12/12 : RUN ${MAKE} [2024-10-04T18:32:32.435Z] ---> Running in 80dbb7024b16 [2024-10-04T18:32:32.435Z] noop [2024-10-04T18:32:32.435Z] Removing intermediate container 80dbb7024b16 [2024-10-04T18:32:32.435Z] ---> 7ea13bd034c3 [2024-10-04T18:32:32.435Z] Successfully built 7ea13bd034c3 [2024-10-04T18:32:32.435Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:32:32.932Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T18:32:32.932Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:32:33.116Z] prd-ubuntu20.04-docker-8c-8g-21842 does not seem to be running inside a container [2024-10-04T18:32:33.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-75 -v /w/workspace/edgexfoundry_device-uart_PR-75:/w/workspace/edgexfoundry_device-uart_PR-75:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-75@tmp:/w/workspace/edgexfoundry_device-uart_PR-75@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-04T18:32:33.477Z] $ docker top 190d3b97427211eac768b5d24d744b937ac31829357e79d7e46845b28882d1a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:32:33.887Z] + go version [2024-10-04T18:32:33.887Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T18:32:33.925Z] $ docker stop --time=1 190d3b97427211eac768b5d24d744b937ac31829357e79d7e46845b28882d1a0 [2024-10-04T18:32:35.222Z] $ docker rm -f --volumes 190d3b97427211eac768b5d24d744b937ac31829357e79d7e46845b28882d1a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:32:36.016Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T18:32:36.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:32:36.189Z] prd-ubuntu20.04-docker-8c-8g-21842 does not seem to be running inside a container [2024-10-04T18:32:36.221Z] $ 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-75 -v /w/workspace/edgexfoundry_device-uart_PR-75:/w/workspace/edgexfoundry_device-uart_PR-75:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-75@tmp:/w/workspace/edgexfoundry_device-uart_PR-75@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-04T18:32:36.549Z] $ docker top b95d96e44e2de0c1cbe18a3294a744970883545183a232aaff0420328e54a47a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:32:36.949Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-75 [Pipeline] fileExists [Pipeline] sh [2024-10-04T18:32:37.338Z] + make test [2024-10-04T18:32:37.338Z] go test ./... -coverprofile=coverage.out [2024-10-04T18:32:39.239Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-04T18:32:57.329Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-04T18:32:57.329Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-04T18:33:07.291Z] go vet ./... [2024-10-04T18:33:12.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T18:33:12.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T18:33:12.548Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T18:33:12.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T18:33:12.636Z] $ docker stop --time=1 b95d96e44e2de0c1cbe18a3294a744970883545183a232aaff0420328e54a47a [2024-10-04T18:33:16.458Z] $ docker rm -f --volumes b95d96e44e2de0c1cbe18a3294a744970883545183a232aaff0420328e54a47a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T18:33:16.853Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21843 in /w/workspace/edgexfoundry_device-uart_PR-75 [Pipeline] { [Pipeline] ws [2024-10-04T18:33:16.932Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-04T18:33:17.043Z] The recommended git tool is: git [2024-10-04T18:33:17.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T18:33:17.152Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T18:33:17.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T18:33:18.234Z] + ls -al . [2024-10-04T18:33:18.234Z] total 236 [2024-10-04T18:33:18.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 18:32 . [2024-10-04T18:33:18.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:30 .. [2024-10-04T18:33:18.234Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 18:30 .dockerignore [2024-10-04T18:33:18.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 18:32 .git [2024-10-04T18:33:18.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:30 .github [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 4 18:30 .gitignore [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 4 18:30 .golangci.yml [2024-10-04T18:33:18.235Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 18:31 .semver [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 4 18:30 Attribution.txt [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 4 18:30 CHANGELOG.md [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 4 18:30 Dockerfile [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 18:30 GOVERNANCE.md [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 4 18:30 Jenkinsfile [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 18:30 LICENSE [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 4 18:30 Makefile [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 4 18:30 OWNERS.md [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 4 18:30 README.md [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 18:31 VERSION [2024-10-04T18:33:18.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 18:30 bin [2024-10-04T18:33:18.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:30 cmd [2024-10-04T18:33:18.235Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 4 18:32 coverage.out [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 4 18:30 go.mod [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 4 18:30 go.sum [2024-10-04T18:33:18.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:30 internal [2024-10-04T18:33:18.235Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 4 18:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:33:18.732Z] + 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=4d33fad5f7c296a1277cd12e601d65667f97dc6c --label arch=amd64 --label version=0.0.0 . [2024-10-04T18:33:18.732Z] Sending build context to Docker daemon 25.61MB [2024-10-04T18:33:18.732Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T18:33:18.732Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T18:33:18.732Z] ---> 7ea13bd034c3 [2024-10-04T18:33:18.732Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T18:33:19.298Z] ---> Running in 87243c0d93eb [2024-10-04T18:33:19.298Z] Removing intermediate container 87243c0d93eb [2024-10-04T18:33:19.298Z] ---> 344157f07dab [2024-10-04T18:33:19.298Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T18:33:19.298Z] ---> Running in e5e5e291c113 [2024-10-04T18:33:19.298Z] Removing intermediate container e5e5e291c113 [2024-10-04T18:33:19.298Z] ---> 55e725a7b69f [2024-10-04T18:33:19.298Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T18:33:19.298Z] ---> Running in 957eee89c078 [2024-10-04T18:33:19.298Z] Removing intermediate container 957eee89c078 [2024-10-04T18:33:19.298Z] ---> 3b8bbe4940a5 [2024-10-04T18:33:19.298Z] Step 6/26 : WORKDIR /device-uart [2024-10-04T18:33:19.298Z] ---> Running in 31355fa58ddc [2024-10-04T18:33:19.557Z] Removing intermediate container 31355fa58ddc [2024-10-04T18:33:19.557Z] ---> b34c10c3388b [2024-10-04T18:33:19.557Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T18:33:19.557Z] ---> Running in 79fba763c508 [2024-10-04T18:33:19.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:33:19.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:33:20.074Z] OK: 250 MiB in 58 packages [2024-10-04T18:33:20.333Z] Removing intermediate container 79fba763c508 [2024-10-04T18:33:20.333Z] ---> 7024c1790b25 [2024-10-04T18:33:20.334Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-04T18:33:20.592Z] ---> 3dd379a50ed6 [2024-10-04T18:33:20.592Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T18:33:20.592Z] ---> Running in 3c0a8677ce43 [2024-10-04T18:33:21.159Z] Removing intermediate container 3c0a8677ce43 [2024-10-04T18:33:21.159Z] ---> 7dbc9aca36e4 [2024-10-04T18:33:21.159Z] Step 10/26 : COPY . . [2024-10-04T18:33:22.098Z] ---> 8b757c9b42e5 [2024-10-04T18:33:22.098Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T18:33:22.356Z] ---> Running in e78ecc7d391e [2024-10-04T18:33:22.356Z] Removing intermediate container e78ecc7d391e [2024-10-04T18:33:22.356Z] ---> e421ada16856 [2024-10-04T18:33:22.356Z] Step 12/26 : RUN ${MAKE} [2024-10-04T18:33:22.356Z] ---> Running in e70fc33b1d4b [2024-10-04T18:33:22.615Z] 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.42" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-10-04T18:33:24.770Z] using credential edgex-jenkins-ssh [2024-10-04T18:33:24.809Z] Cloning the remote Git repository [2024-10-04T18:33:24.870Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-04T18:33:24.961Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-04T18:33:25.166Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-04T18:33:25.167Z] > git --version # timeout=10 [2024-10-04T18:33:25.204Z] > git --version # 'git version 2.25.1' [2024-10-04T18:33:25.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T18:33:25.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T18:33:27.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-04T18:33:29.204Z] Merging remotes/origin/main commit 69ede8b4d67baa3d48ae0f121c49ed45734e5b1e into PR head commit 4d33fad5f7c296a1277cd12e601d65667f97dc6c [2024-10-04T18:33:27.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T18:33:28.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-04T18:33:28.734Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-04T18:33:28.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T18:33:28.759Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T18:33:29.494Z] Merge succeeded, producing 4d33fad5f7c296a1277cd12e601d65667f97dc6c [2024-10-04T18:33:29.494Z] Checking out Revision 4d33fad5f7c296a1277cd12e601d65667f97dc6c (PR-75) [2024-10-04T18:33:30.044Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-04T18:33:30.093Z] > git --version # timeout=10 [2024-10-04T18:33:30.105Z] > git --version # 'git version 2.25.1' [2024-10-04T18:33:30.129Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T18:33:29.231Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T18:33:29.312Z] > git checkout -f 4d33fad5f7c296a1277cd12e601d65667f97dc6c # timeout=10 [2024-10-04T18:33:29.389Z] > git remote # timeout=10 [2024-10-04T18:33:29.405Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T18:33:29.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T18:33:29.450Z] > git merge 69ede8b4d67baa3d48ae0f121c49ed45734e5b1e # timeout=10 [2024-10-04T18:33:29.478Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T18:33:29.503Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T18:33:29.522Z] > git checkout -f 4d33fad5f7c296a1277cd12e601d65667f97dc6c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T18:33:34.995Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T18:33:34.995Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T18:33:34.995Z] Dload Upload Total Spent Left Speed [2024-10-04T18:33:34.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 91628 0 --:--:-- --:--:-- --:--:-- 92287 [Pipeline] sh [2024-10-04T18:33:35.346Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T18:33:35.689Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T18:33:35.689Z] + sudo tee /etc/docker/daemon.new [2024-10-04T18:33:35.689Z] { [2024-10-04T18:33:35.689Z] "registry-mirrors": [ [2024-10-04T18:33:35.689Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T18:33:35.689Z] ], [2024-10-04T18:33:35.689Z] "bip": "10.250.0.254/24", [2024-10-04T18:33:35.689Z] "hosts": [ [2024-10-04T18:33:35.689Z] "tcp://0.0.0.0:5555", [2024-10-04T18:33:35.689Z] "unix:///var/run/docker.sock" [2024-10-04T18:33:35.689Z] ], [2024-10-04T18:33:35.689Z] "mtu": 1458, [2024-10-04T18:33:35.689Z] "selinux-enabled": true, [2024-10-04T18:33:35.689Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T18:33:35.689Z] } [Pipeline] sh [2024-10-04T18:33:36.050Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T18:33:36.401Z] + sudo service docker restart [Pipeline] withEnv [2024-10-04T18:33:54.677Z] Removing intermediate container e70fc33b1d4b [2024-10-04T18:33:54.677Z] ---> a17a3795d71d [2024-10-04T18:33:54.677Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T18:33:54.677Z] 3.20: Pulling from library/alpine [2024-10-04T18:33:54.677Z] 43c4264eed91: Already exists [2024-10-04T18:33:54.677Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T18:33:54.677Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T18:33:54.677Z] ---> 91ef0af61f39 [2024-10-04T18:33:54.677Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-04T18:33:54.677Z] ---> Running in 6d32ac6a3aba [2024-10-04T18:33:54.677Z] Removing intermediate container 6d32ac6a3aba [2024-10-04T18:33:54.677Z] ---> f102b3ebad4d [2024-10-04T18:33:54.677Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T18:33:54.677Z] ---> Running in 7944c74420a4 [2024-10-04T18:33:54.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:33:54.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:33:54.677Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T18:33:54.677Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T18:33:54.677Z] OK: 8 MiB in 15 packages [2024-10-04T18:33:54.677Z] Removing intermediate container 7944c74420a4 [2024-10-04T18:33:54.677Z] ---> b5e48d24a16f [2024-10-04T18:33:54.677Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-04T18:33:54.677Z] ---> Running in 7d4b60a485da [2024-10-04T18:33:54.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:33:54.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:33:54.677Z] Upgrading critical system libraries and apk-tools: [2024-10-04T18:33:54.677Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T18:33:54.677Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T18:33:54.677Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T18:33:54.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:33:54.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:33:54.677Z] OK: 8 MiB in 15 packages [2024-10-04T18:33:54.677Z] Removing intermediate container 7d4b60a485da [2024-10-04T18:33:54.677Z] ---> 3dd7a0790088 [2024-10-04T18:33:54.677Z] Step 17/26 : WORKDIR / [2024-10-04T18:33:54.677Z] ---> Running in bbe465ad4825 [2024-10-04T18:33:54.677Z] Removing intermediate container bbe465ad4825 [2024-10-04T18:33:54.677Z] ---> 6ad9489fedf1 [2024-10-04T18:33:54.677Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-04T18:33:54.677Z] ---> 83b3b0aba18f [2024-10-04T18:33:54.677Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [Pipeline] { [Pipeline] configFileProvider [2024-10-04T18:33:54.761Z] provisioning config files... [2024-10-04T18:33:54.786Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config6366422846694915485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:33:54.935Z] ---> 4c558201dbf5 [2024-10-04T18:33:54.935Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-04T18:33:55.292Z] ---> ****-login.sh [2024-10-04T18:33:55.292Z] nexus3.edgexfoundry.org:10001 [2024-10-04T18:33:55.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:33:55.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:33:55.840Z] Configure a credential helper to remove this warning. See [2024-10-04T18:33:55.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:33:55.840Z] [2024-10-04T18:33:55.840Z] Login Succeeded [2024-10-04T18:33:55.840Z] nexus3.edgexfoundry.org:10002 [2024-10-04T18:33:56.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:33:56.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:33:56.381Z] Configure a credential helper to remove this warning. See [2024-10-04T18:33:56.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:33:56.381Z] [2024-10-04T18:33:56.381Z] Login Succeeded [2024-10-04T18:33:56.381Z] nexus3.edgexfoundry.org:10003 [2024-10-04T18:33:56.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:33:56.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:33:56.678Z] Configure a credential helper to remove this warning. See [2024-10-04T18:33:56.678Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:33:56.678Z] [2024-10-04T18:33:56.678Z] Login Succeeded [2024-10-04T18:33:56.678Z] nexus3.edgexfoundry.org:10004 [2024-10-04T18:33:56.835Z] ---> 8160bd546dc9 [2024-10-04T18:33:56.836Z] Step 21/26 : EXPOSE 59995 [2024-10-04T18:33:56.836Z] ---> Running in b918ee293710 [2024-10-04T18:33:56.836Z] Removing intermediate container b918ee293710 [2024-10-04T18:33:56.836Z] ---> 731191f72a4f [2024-10-04T18:33:56.836Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-04T18:33:56.836Z] ---> Running in 8d89841be826 [2024-10-04T18:33:56.836Z] Removing intermediate container 8d89841be826 [2024-10-04T18:33:56.836Z] ---> 9e88ba223e9b [2024-10-04T18:33:56.836Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T18:33:56.836Z] ---> Running in 955dc9cf927b [2024-10-04T18:33:56.836Z] Removing intermediate container 955dc9cf927b [2024-10-04T18:33:56.836Z] ---> e74bb7e6f026 [2024-10-04T18:33:56.836Z] Step 24/26 : LABEL arch=amd64 [2024-10-04T18:33:56.836Z] ---> Running in 9d94606e07c5 [2024-10-04T18:33:56.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:33:56.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:33:56.948Z] Configure a credential helper to remove this warning. See [2024-10-04T18:33:56.948Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:33:56.948Z] [2024-10-04T18:33:56.948Z] Login Succeeded [2024-10-04T18:33:56.948Z] ****.io [2024-10-04T18:33:57.095Z] Removing intermediate container 9d94606e07c5 [2024-10-04T18:33:57.095Z] ---> 733c97d6da58 [2024-10-04T18:33:57.095Z] Step 25/26 : LABEL git_sha=4d33fad5f7c296a1277cd12e601d65667f97dc6c [2024-10-04T18:33:57.095Z] ---> Running in 7a3779a27929 [2024-10-04T18:33:57.095Z] Removing intermediate container 7a3779a27929 [2024-10-04T18:33:57.095Z] ---> 3c17575b6ef4 [2024-10-04T18:33:57.095Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T18:33:57.095Z] ---> Running in 11f9acb326b9 [2024-10-04T18:33:57.095Z] Removing intermediate container 11f9acb326b9 [2024-10-04T18:33:57.095Z] ---> bf6f42c8a739 [2024-10-04T18:33:57.095Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T18:33:57.095Z] Successfully built bf6f42c8a739 [2024-10-04T18:33:57.095Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-10-04T18:33:57.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [2024-10-04T18:33:57.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:33:57.488Z] Configure a credential helper to remove this warning. See [2024-10-04T18:33:57.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:33:57.488Z] [2024-10-04T18:33:57.488Z] Login Succeeded [2024-10-04T18:33:57.488Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T18:33:57.531Z] Deleting 1 temporary files [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2024-10-04T18:33:58.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T18:33:58.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T18:33:58.167Z] ========================================================= [2024-10-04T18:33:58.167Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T18:33:58.167Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2024-10-04T18:33:58.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T18:33:58.286Z] [2024-10-04T18:33:58.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-10-04T18:33:58.782Z] + 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-04T18:33:58.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T18:33:58.839Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T18:33:58.839Z] 5eb5b503b376: Pulling fs layer [2024-10-04T18:33:58.839Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T18:33:58.839Z] ec43610c2a17: Pulling fs layer [2024-10-04T18:33:58.839Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T18:33:58.839Z] 33b1e0a273af: Pulling fs layer [2024-10-04T18:33:58.839Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T18:33:58.839Z] 2f39f015ded8: Pulling fs layer [2024-10-04T18:33:58.839Z] 3a2ae6a8a46f: Waiting [2024-10-04T18:33:58.839Z] 5d3b04190fa2: Waiting [2024-10-04T18:33:58.839Z] 2f39f015ded8: Waiting [2024-10-04T18:33:58.839Z] 33b1e0a273af: Waiting [2024-10-04T18:33:58.839Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T18:33:58.839Z] 5c69ac0246d0: Download complete [2024-10-04T18:33:58.839Z] 3a2ae6a8a46f: Download complete [2024-10-04T18:33:58.839Z] 33b1e0a273af: Verifying Checksum [2024-10-04T18:33:58.839Z] 33b1e0a273af: Download complete [2024-10-04T18:33:58.839Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T18:33:58.839Z] 5d3b04190fa2: Download complete [2024-10-04T18:33:58.839Z] ec43610c2a17: Verifying Checksum [2024-10-04T18:33:58.839Z] ec43610c2a17: Download complete [2024-10-04T18:33:59.079Z] Sending build context to Docker daemon 12.88MB [2024-10-04T18:33:59.097Z] 5eb5b503b376: Verifying Checksum [2024-10-04T18:33:59.097Z] 5eb5b503b376: Download complete [2024-10-04T18:33:59.357Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T18:33:59.357Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T18:33:59.357Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T18:33:59.357Z] cf04c63912e1: Pulling fs layer [2024-10-04T18:33:59.357Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T18:33:59.357Z] a37a00ec5f00: Pulling fs layer [2024-10-04T18:33:59.357Z] 50b3750afda1: Pulling fs layer [2024-10-04T18:33:59.357Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T18:33:59.357Z] 80978eb59214: Pulling fs layer [2024-10-04T18:33:59.357Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T18:33:59.357Z] c5a475d317c9: Pulling fs layer [2024-10-04T18:33:59.357Z] 80978eb59214: Waiting [2024-10-04T18:33:59.357Z] c9f46d7d2bd2: Waiting [2024-10-04T18:33:59.357Z] 50b3750afda1: Waiting [2024-10-04T18:33:59.357Z] 4f4fb700ef54: Waiting [2024-10-04T18:33:59.357Z] c5a475d317c9: Waiting [2024-10-04T18:33:59.357Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T18:33:59.357Z] 55b35a11ae5e: Download complete [2024-10-04T18:33:59.629Z] 50b3750afda1: Verifying Checksum [2024-10-04T18:33:59.629Z] 50b3750afda1: Download complete [2024-10-04T18:33:59.629Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T18:33:59.629Z] 4f4fb700ef54: Download complete [2024-10-04T18:33:59.629Z] 80978eb59214: Verifying Checksum [2024-10-04T18:33:59.629Z] 80978eb59214: Download complete [2024-10-04T18:33:59.629Z] cf04c63912e1: Verifying Checksum [2024-10-04T18:33:59.629Z] cf04c63912e1: Download complete [2024-10-04T18:33:59.663Z] 2f39f015ded8: Download complete [2024-10-04T18:34:00.220Z] c5a475d317c9: Verifying Checksum [2024-10-04T18:34:00.220Z] c5a475d317c9: Download complete [2024-10-04T18:34:00.229Z] 5eb5b503b376: Pull complete [2024-10-04T18:34:00.229Z] 5c69ac0246d0: Pull complete [2024-10-04T18:34:00.491Z] cf04c63912e1: Pull complete [2024-10-04T18:34:00.796Z] ec43610c2a17: Pull complete [2024-10-04T18:34:00.796Z] 3a2ae6a8a46f: Pull complete [2024-10-04T18:34:00.796Z] 33b1e0a273af: Pull complete [2024-10-04T18:34:01.054Z] 5d3b04190fa2: Pull complete [2024-10-04T18:34:01.456Z] a37a00ec5f00: Verifying Checksum [2024-10-04T18:34:01.722Z] 55b35a11ae5e: Pull complete [2024-10-04T18:34:01.989Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T18:34:01.989Z] c9f46d7d2bd2: Download complete [2024-10-04T18:34:05.239Z] 2f39f015ded8: Pull complete [2024-10-04T18:34:05.239Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T18:34:05.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T18:34:05.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:34:05.518Z] prd-ubuntu20.04-docker-8c-8g-21842 does not seem to be running inside a container [2024-10-04T18:34:05.553Z] $ 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-75 -v /w/workspace/edgexfoundry_device-uart_PR-75:/w/workspace/edgexfoundry_device-uart_PR-75:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-75@tmp:/w/workspace/edgexfoundry_device-uart_PR-75@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-04T18:34:09.036Z] $ docker top 1f0138cd6a6237bb6f031fb49bebbbedbb5e024acb5558903edc44f64b40bc08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:34:09.518Z] ---> job-cost.sh [2024-10-04T18:34:09.518Z] lf-activate-venv: SKIPPING [2024-10-04T18:34:09.518Z] INFO: No Stack... [2024-10-04T18:34:09.778Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T18:34:10.038Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T18:34:10.362Z] + cat /w/workspace/edgexfoundry_device-uart_PR-75/archives/cost.csv [2024-10-04T18:34:10.362Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T18:34:10.414Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-75-1-stack-cost] [2024-10-04T18:34:10.422Z] Resource [jenkins-edgexfoundry-device-uart-PR-75-1-stack-cost] did not exist. Created. [2024-10-04T18:34:10.429Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-75-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T18:34:10.873Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T18:34:10.933Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T18:34:10.973Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-75-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T18:34:11.070Z] $ docker stop --time=1 1f0138cd6a6237bb6f031fb49bebbbedbb5e024acb5558903edc44f64b40bc08 [2024-10-04T18:34:12.221Z] $ docker rm -f --volumes 1f0138cd6a6237bb6f031fb49bebbbedbb5e024acb5558903edc44f64b40bc08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T18:34:16.972Z] a37a00ec5f00: Pull complete [2024-10-04T18:34:16.972Z] 50b3750afda1: Pull complete [2024-10-04T18:34:16.972Z] 4f4fb700ef54: Pull complete [2024-10-04T18:34:16.972Z] 80978eb59214: Pull complete [2024-10-04T18:34:23.631Z] c9f46d7d2bd2: Pull complete [2024-10-04T18:34:25.050Z] c5a475d317c9: Pull complete [2024-10-04T18:34:25.050Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T18:34:25.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T18:34:25.050Z] ---> be29e6b0f0d4 [2024-10-04T18:34:25.050Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T18:34:25.638Z] ---> Running in 8cd1c8db95c4 [2024-10-04T18:34:26.227Z] Removing intermediate container 8cd1c8db95c4 [2024-10-04T18:34:26.227Z] ---> 19585740a6ae [2024-10-04T18:34:26.227Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T18:34:26.227Z] ---> Running in f5b2c842fbe1 [2024-10-04T18:34:26.496Z] Removing intermediate container f5b2c842fbe1 [2024-10-04T18:34:26.496Z] ---> 75992d0fe38a [2024-10-04T18:34:26.496Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T18:34:26.496Z] ---> Running in e934ba5060ab [2024-10-04T18:34:26.766Z] Removing intermediate container e934ba5060ab [2024-10-04T18:34:26.767Z] ---> f60e290eebe9 [2024-10-04T18:34:26.767Z] Step 6/12 : WORKDIR /device-uart [2024-10-04T18:34:26.767Z] ---> Running in 3644135d36b3 [2024-10-04T18:34:27.367Z] Removing intermediate container 3644135d36b3 [2024-10-04T18:34:27.367Z] ---> 529df7161581 [2024-10-04T18:34:27.367Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T18:34:27.367Z] ---> Running in efda7c31f0ad [2024-10-04T18:34:28.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T18:34:28.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T18:34:30.198Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T18:34:30.198Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T18:34:30.198Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T18:34:30.470Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T18:34:30.470Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T18:34:30.470Z] OK: 242 MiB in 58 packages [2024-10-04T18:34:31.429Z] Removing intermediate container efda7c31f0ad [2024-10-04T18:34:31.429Z] ---> d4d55fffea71 [2024-10-04T18:34:31.429Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-04T18:34:32.014Z] ---> 10c2be358519 [2024-10-04T18:34:32.014Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T18:34:32.014Z] ---> Running in b68a6d0f18e4 [2024-10-04T18:36:23.686Z] Removing intermediate container b68a6d0f18e4 [2024-10-04T18:36:23.686Z] ---> 05c838f6d1f0 [2024-10-04T18:36:23.686Z] Step 10/12 : COPY . . [2024-10-04T18:36:23.686Z] ---> e37aa59b022c [2024-10-04T18:36:23.686Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T18:36:23.686Z] ---> Running in 9661381b68ad [2024-10-04T18:36:23.686Z] Removing intermediate container 9661381b68ad [2024-10-04T18:36:23.686Z] ---> 504c44d52799 [2024-10-04T18:36:23.686Z] Step 12/12 : RUN ${MAKE} [2024-10-04T18:36:23.686Z] ---> Running in 33d6644efc5e [2024-10-04T18:36:23.686Z] noop [2024-10-04T18:36:23.686Z] Removing intermediate container 33d6644efc5e [2024-10-04T18:36:23.686Z] ---> abd991af7767 [2024-10-04T18:36:23.686Z] Successfully built abd991af7767 [2024-10-04T18:36:23.686Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:36:24.219Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T18:36:24.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:36:24.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-21843 does not seem to be running inside a container [2024-10-04T18:36:24.597Z] $ 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-04T18:36:25.831Z] $ docker top e14cc43f3ed9a1ffadfa525688ca5fc43a3ce128cbe5409b7cea146e2eb07be7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:36:26.763Z] + go version [2024-10-04T18:36:27.028Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T18:36:27.074Z] $ docker stop --time=1 e14cc43f3ed9a1ffadfa525688ca5fc43a3ce128cbe5409b7cea146e2eb07be7 [2024-10-04T18:36:28.684Z] $ docker rm -f --volumes e14cc43f3ed9a1ffadfa525688ca5fc43a3ce128cbe5409b7cea146e2eb07be7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:36:29.744Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T18:36:29.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:36:30.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-21843 does not seem to be running inside a container [2024-10-04T18:36:30.129Z] $ 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-04T18:36:31.294Z] $ docker top e7bb4cd2975ad846551f6e403d78ae169dd671e9312c6abb6d032480a9072b55 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:36:32.186Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T18:36:32.967Z] + make test [2024-10-04T18:36:32.967Z] go test ./... -coverprofile=coverage.out [2024-10-04T18:36:38.318Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-04T18:40:00.101Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-04T18:40:00.101Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-04T18:40:00.101Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T18:40:00.101Z] go vet ./... [2024-10-04T18:40:38.994Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T18:40:38.994Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T18:40:38.994Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T18:40:39.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T18:40:39.095Z] $ docker stop --time=1 e7bb4cd2975ad846551f6e403d78ae169dd671e9312c6abb6d032480a9072b55 [2024-10-04T18:40:40.934Z] $ docker rm -f --volumes e7bb4cd2975ad846551f6e403d78ae169dd671e9312c6abb6d032480a9072b55 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T18:40:42.435Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T18:40:42.474Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T18:40:42.907Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T18:40:43.548Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T18:40:43.915Z] + ls -al . [2024-10-04T18:40:43.916Z] total 232 [2024-10-04T18:40:43.916Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 18:36 . [2024-10-04T18:40:43.916Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:33 .. [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 18:33 .dockerignore [2024-10-04T18:40:43.916Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 18:33 .git [2024-10-04T18:40:43.916Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:33 .github [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 4 18:33 .gitignore [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 4 18:33 .golangci.yml [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 4 18:33 Attribution.txt [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 4 18:33 CHANGELOG.md [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 4 18:33 Dockerfile [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 18:33 GOVERNANCE.md [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 4 18:33 Jenkinsfile [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 18:33 LICENSE [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 1872 Oct 4 18:33 Makefile [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 4 18:33 OWNERS.md [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 4 18:33 README.md [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 18:31 VERSION [2024-10-04T18:40:43.916Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 18:33 bin [2024-10-04T18:40:43.916Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:33 cmd [2024-10-04T18:40:43.916Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 4 18:39 coverage.out [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 4 18:33 go.mod [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 4 18:33 go.sum [2024-10-04T18:40:43.916Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:33 internal [2024-10-04T18:40:43.916Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 4 18:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:40:44.373Z] + 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=4d33fad5f7c296a1277cd12e601d65667f97dc6c --label arch=arm64 --label version=0.0.0 . [2024-10-04T18:40:44.638Z] Sending build context to Docker daemon 12.88MB [2024-10-04T18:40:44.904Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T18:40:44.904Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T18:40:44.904Z] ---> abd991af7767 [2024-10-04T18:40:44.904Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T18:40:44.904Z] ---> Running in c9f58852b7cb [2024-10-04T18:40:45.171Z] Removing intermediate container c9f58852b7cb [2024-10-04T18:40:45.171Z] ---> faf983af5343 [2024-10-04T18:40:45.171Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T18:40:45.171Z] ---> Running in 458b1f793da0 [2024-10-04T18:40:45.437Z] Removing intermediate container 458b1f793da0 [2024-10-04T18:40:45.437Z] ---> 41da63516a02 [2024-10-04T18:40:45.437Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T18:40:45.702Z] ---> Running in ee675b4d9003 [2024-10-04T18:40:45.968Z] Removing intermediate container ee675b4d9003 [2024-10-04T18:40:45.968Z] ---> ba4da3ee2350 [2024-10-04T18:40:45.968Z] Step 6/26 : WORKDIR /device-uart [2024-10-04T18:40:45.968Z] ---> Running in 54aaa32e6bb0 [2024-10-04T18:40:46.236Z] Removing intermediate container 54aaa32e6bb0 [2024-10-04T18:40:46.236Z] ---> 99a23a5d139d [2024-10-04T18:40:46.236Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T18:40:46.507Z] ---> Running in 2ed573dba704 [2024-10-04T18:40:47.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T18:40:47.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T18:40:49.148Z] OK: 242 MiB in 58 packages [2024-10-04T18:40:49.732Z] Removing intermediate container 2ed573dba704 [2024-10-04T18:40:49.732Z] ---> afcd829b4cc4 [2024-10-04T18:40:49.732Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-04T18:40:50.320Z] ---> bcb1f51a801f [2024-10-04T18:40:50.320Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T18:40:50.320Z] ---> Running in db68fa31301e [2024-10-04T18:40:52.929Z] Removing intermediate container db68fa31301e [2024-10-04T18:40:52.929Z] ---> 8ed700370658 [2024-10-04T18:40:52.929Z] Step 10/26 : COPY . . [2024-10-04T18:40:53.896Z] ---> b897ba4e3617 [2024-10-04T18:40:53.896Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T18:40:53.896Z] ---> Running in 0bc6322b9c1d [2024-10-04T18:40:54.162Z] Removing intermediate container 0bc6322b9c1d [2024-10-04T18:40:54.162Z] ---> 5f6dc5b7eff4 [2024-10-04T18:40:54.162Z] Step 12/26 : RUN ${MAKE} [2024-10-04T18:40:54.162Z] ---> Running in 5239d54d2691 [2024-10-04T18:40:55.119Z] 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.42" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-10-04T18:44:16.894Z] Removing intermediate container 5239d54d2691 [2024-10-04T18:44:16.894Z] ---> 5df6fc3dd0a5 [2024-10-04T18:44:16.894Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T18:44:16.894Z] 3.20: Pulling from library/alpine [2024-10-04T18:44:16.894Z] cf04c63912e1: Already exists [2024-10-04T18:44:16.894Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T18:44:16.894Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T18:44:16.894Z] ---> c157a85ed455 [2024-10-04T18:44:16.894Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-04T18:44:16.894Z] ---> Running in 81e9a53cd83a [2024-10-04T18:44:16.894Z] Removing intermediate container 81e9a53cd83a [2024-10-04T18:44:16.894Z] ---> 273c572cdf8e [2024-10-04T18:44:16.894Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T18:44:16.894Z] ---> Running in c3b526d74142 [2024-10-04T18:44:16.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T18:44:16.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T18:44:17.163Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T18:44:17.163Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T18:44:17.163Z] OK: 9 MiB in 15 packages [2024-10-04T18:44:18.126Z] Removing intermediate container c3b526d74142 [2024-10-04T18:44:18.126Z] ---> 4d56ee253a4d [2024-10-04T18:44:18.126Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-04T18:44:18.126Z] ---> Running in 51d1ed0ba9a2 [2024-10-04T18:44:19.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T18:44:19.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T18:44:20.802Z] Upgrading critical system libraries and apk-tools: [2024-10-04T18:44:20.802Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T18:44:20.802Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T18:44:21.070Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T18:44:21.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T18:44:21.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T18:44:22.758Z] OK: 9 MiB in 15 packages [2024-10-04T18:44:24.172Z] Removing intermediate container 51d1ed0ba9a2 [2024-10-04T18:44:24.172Z] ---> eb1dd8cc90d4 [2024-10-04T18:44:24.172Z] Step 17/26 : WORKDIR / [2024-10-04T18:44:24.172Z] ---> Running in 02ae3f39a3e1 [2024-10-04T18:44:24.172Z] Removing intermediate container 02ae3f39a3e1 [2024-10-04T18:44:24.172Z] ---> 03c3a5c23056 [2024-10-04T18:44:24.172Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-04T18:44:24.756Z] ---> 161ebcf06d1e [2024-10-04T18:44:24.756Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-04T18:44:25.339Z] ---> 591f5e2ecb81 [2024-10-04T18:44:25.339Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-04T18:44:27.915Z] ---> 58a8eeea383d [2024-10-04T18:44:27.916Z] Step 21/26 : EXPOSE 59995 [2024-10-04T18:44:27.916Z] ---> Running in 07431ad5645c [2024-10-04T18:44:27.916Z] Removing intermediate container 07431ad5645c [2024-10-04T18:44:27.916Z] ---> 1d6a4786acf4 [2024-10-04T18:44:27.916Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-04T18:44:28.181Z] ---> Running in 7c657115c54f [2024-10-04T18:44:28.448Z] Removing intermediate container 7c657115c54f [2024-10-04T18:44:28.448Z] ---> 41d005f7ef06 [2024-10-04T18:44:28.448Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T18:44:28.448Z] ---> Running in 7a3bdc8d7174 [2024-10-04T18:44:28.716Z] Removing intermediate container 7a3bdc8d7174 [2024-10-04T18:44:28.716Z] ---> cb7aaf736a97 [2024-10-04T18:44:28.716Z] Step 24/26 : LABEL arch=arm64 [2024-10-04T18:44:28.984Z] ---> Running in e2d864ef26be [2024-10-04T18:44:29.251Z] Removing intermediate container e2d864ef26be [2024-10-04T18:44:29.251Z] ---> 510f8c8ba47a [2024-10-04T18:44:29.251Z] Step 25/26 : LABEL git_sha=4d33fad5f7c296a1277cd12e601d65667f97dc6c [2024-10-04T18:44:29.251Z] ---> Running in b6f80d259418 [2024-10-04T18:44:29.518Z] Removing intermediate container b6f80d259418 [2024-10-04T18:44:29.518Z] ---> b25b4a930d7f [2024-10-04T18:44:29.518Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T18:44:29.518Z] ---> Running in 08db1fb73a79 [2024-10-04T18:44:29.786Z] Removing intermediate container 08db1fb73a79 [2024-10-04T18:44:29.786Z] ---> ac2db98c3801 [2024-10-04T18:44:29.786Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T18:44:29.786Z] Successfully built ac2db98c3801 [2024-10-04T18:44:29.786Z] 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-04T18:44:30.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T18:44:30.748Z] [2024-10-04T18:44:30.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:44:31.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T18:44:31.180Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T18:44:31.180Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T18:44:31.180Z] 04944245beec: Pulling fs layer [2024-10-04T18:44:31.180Z] 699f458cf7ca: Pulling fs layer [2024-10-04T18:44:31.180Z] 765212b225bb: Pulling fs layer [2024-10-04T18:44:31.180Z] f23df028b6ca: Pulling fs layer [2024-10-04T18:44:31.180Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T18:44:31.180Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T18:44:31.180Z] f23df028b6ca: Waiting [2024-10-04T18:44:31.180Z] d65c8cfc05b1: Waiting [2024-10-04T18:44:31.180Z] 2437ff75d9bd: Waiting [2024-10-04T18:44:31.180Z] 765212b225bb: Waiting [2024-10-04T18:44:31.447Z] 04944245beec: Verifying Checksum [2024-10-04T18:44:31.447Z] 04944245beec: Download complete [2024-10-04T18:44:31.447Z] 765212b225bb: Verifying Checksum [2024-10-04T18:44:31.447Z] 765212b225bb: Download complete [2024-10-04T18:44:31.447Z] f23df028b6ca: Verifying Checksum [2024-10-04T18:44:31.447Z] f23df028b6ca: Download complete [2024-10-04T18:44:31.447Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T18:44:31.447Z] d65c8cfc05b1: Download complete [2024-10-04T18:44:31.718Z] 699f458cf7ca: Verifying Checksum [2024-10-04T18:44:31.718Z] 699f458cf7ca: Download complete [2024-10-04T18:44:31.986Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T18:44:31.986Z] 8998bd30e6a1: Download complete [2024-10-04T18:44:34.575Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T18:44:34.575Z] 2437ff75d9bd: Download complete [2024-10-04T18:44:36.523Z] 8998bd30e6a1: Pull complete [2024-10-04T18:44:37.108Z] 04944245beec: Pull complete [2024-10-04T18:44:39.055Z] 699f458cf7ca: Pull complete [2024-10-04T18:44:39.055Z] 765212b225bb: Pull complete [2024-10-04T18:44:39.640Z] f23df028b6ca: Pull complete [2024-10-04T18:44:39.907Z] d65c8cfc05b1: Pull complete [2024-10-04T18:44:58.118Z] 2437ff75d9bd: Pull complete [2024-10-04T18:44:58.118Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T18:44:58.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T18:44:58.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:44:58.489Z] prd-ubuntu20.04-docker-arm64-4c-16g-21843 does not seem to be running inside a container [2024-10-04T18:44:58.601Z] $ 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-04T18:45:01.216Z] $ docker top 8a1479d1af37d1acf62b72b23606a962387ee8974bdb54f7efc0718b56b728b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:45:02.141Z] ---> job-cost.sh [2024-10-04T18:45:02.141Z] lf-activate-venv: SKIPPING [2024-10-04T18:45:02.141Z] INFO: No Stack... [2024-10-04T18:45:02.412Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T18:45:03.374Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T18:45:04.031Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-10-04T18:45:04.031Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T18:45:04.112Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-75-1-stack-cost] [2024-10-04T18:45:04.119Z] Resource [jenkins-edgexfoundry-device-uart-PR-75-1-stack-cost] did not exist. Created. [2024-10-04T18:45:04.125Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-75-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T18:45:04.577Z] /w/workspace/device-uart/1@tmp/durable-582d4fd6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T18:45:04.933Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T18:45:04.976Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T18:45:05.019Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T18:45:05.040Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-75-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T18:45:05.151Z] $ docker stop --time=1 8a1479d1af37d1acf62b72b23606a962387ee8974bdb54f7efc0718b56b728b4 [2024-10-04T18:45:06.613Z] $ docker rm -f --volumes 8a1479d1af37d1acf62b72b23606a962387ee8974bdb54f7efc0718b56b728b4 [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-04T18:45:07.776Z] provisioning config files... [2024-10-04T18:45:07.783Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-75@tmp/config16358970593800872173tmp [Pipeline] { [Pipeline] sh [2024-10-04T18:45:08.149Z] + set +x [2024-10-04T18:45:08.149Z] + bash -s -- [2024-10-04T18:45:08.149Z] + curl -s https://codecov.io/bash [2024-10-04T18:45:08.149Z] [2024-10-04T18:45:08.149Z] _____ _ [2024-10-04T18:45:08.149Z] / ____| | | [2024-10-04T18:45:08.149Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T18:45:08.149Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T18:45:08.149Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T18:45:08.149Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T18:45:08.149Z] Bash-1.0.6 [2024-10-04T18:45:08.149Z] [2024-10-04T18:45:08.149Z] [2024-10-04T18:45:08.149Z] ==> git version 2.25.1 found [2024-10-04T18:45:08.149Z] ==> 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-04T18:45:08.149Z] Release-Date: 2020-01-08 [2024-10-04T18:45:08.149Z] 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-04T18:45:08.149Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T18:45:08.149Z] ==> Jenkins CI detected. [2024-10-04T18:45:08.149Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-75 [2024-10-04T18:45:08.149Z] project root: . [2024-10-04T18:45:08.149Z] --> token set from env [2024-10-04T18:45:08.149Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T18:45:08.412Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T18:45:08.412Z] ==> Python coveragepy not found [2024-10-04T18:45:08.412Z] ==> Searching for coverage reports in: [2024-10-04T18:45:08.412Z] + . [2024-10-04T18:45:08.412Z] -> Found 1 reports [2024-10-04T18:45:08.412Z] ==> Detecting git/mercurial file structure [2024-10-04T18:45:08.412Z] ==> Reading reports [2024-10-04T18:45:08.412Z] + ./coverage.out bytes=6770 [2024-10-04T18:45:08.412Z] ==> Appending adjustments [2024-10-04T18:45:08.412Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T18:45:08.412Z] + Found adjustments [2024-10-04T18:45:08.412Z] ==> Gzipping contents [2024-10-04T18:45:08.412Z] 4.0K /tmp/codecov.P0OCif.gz [2024-10-04T18:45:08.412Z] ==> Uploading reports [2024-10-04T18:45:08.412Z] url: https://codecov.io [2024-10-04T18:45:08.412Z] query: branch=PR-75&commit=4d33fad5f7c296a1277cd12e601d65667f97dc6c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-75%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=75&job=&cmd_args= [2024-10-04T18:45:08.412Z] -> Pinging Codecov [2024-10-04T18:45:08.412Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-75&commit=4d33fad5f7c296a1277cd12e601d65667f97dc6c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-75%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=75&job=&cmd_args= [2024-10-04T18:45:08.672Z] -> Uploading to [2024-10-04T18:45:08.672Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/4d33fad5f7c296a1277cd12e601d65667f97dc6c/1749ca06-dd09-497f-bd70-8aa6ecb54fc0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T184508Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=19bc05c8039690e993a0d33c2cd12ebe3678b09ac065be270d8f2507eea87f6e [2024-10-04T18:45:08.672Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T18:45:08.672Z] Dload Upload Total Spent Left Speed [2024-10-04T18:45:08.931Z] 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 6478 --:--:-- --:--:-- --:--:-- 6447 [2024-10-04T18:45:08.931Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/4d33fad5f7c296a1277cd12e601d65667f97dc6c [Pipeline] } [2024-10-04T18:45:08.965Z] 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-04T18:45:11.285Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-75/archives ] [2024-10-04T18:45:11.285Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-75/archives [2024-10-04T18:45:11.285Z] total 16 [2024-10-04T18:45:11.285Z] drwxr-xr-x 3 root root 4096 Oct 4 18:34 . [2024-10-04T18:45:11.285Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 18:34 .. [2024-10-04T18:45:11.285Z] drwxr-xr-x 2 root root 4096 Oct 4 18:34 cost [2024-10-04T18:45:11.285Z] -rw-r--r-- 1 root root 82 Oct 4 18:34 cost.csv [2024-10-04T18:45:11.285Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-75/archives [2024-10-04T18:45:11.285Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-75/archives [2024-10-04T18:45:11.285Z] total 16 [2024-10-04T18:45:11.285Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 18:34 . [2024-10-04T18:45:11.285Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 18:34 .. [2024-10-04T18:45:11.285Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 18:34 cost [2024-10-04T18:45:11.285Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 4 18:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:45:11.628Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:45:12.524Z] ---> package-listing.sh [2024-10-04T18:45:12.524Z] ++ facter osfamily [2024-10-04T18:45:12.524Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T18:45:12.784Z] + OS_FAMILY=debian [2024-10-04T18:45:12.784Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-75 [2024-10-04T18:45:12.784Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T18:45:12.784Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T18:45:12.784Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T18:45:12.784Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T18:45:12.784Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-75 ']' [2024-10-04T18:45:12.784Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T18:45:12.784Z] + case "${OS_FAMILY}" in [2024-10-04T18:45:12.784Z] + dpkg -l [2024-10-04T18:45:12.784Z] + grep '^ii' [2024-10-04T18:45:12.784Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T18:45:12.784Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T18:45:12.784Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T18:45:12.784Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-75 ']' [2024-10-04T18:45:12.784Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-75/archives/ [2024-10-04T18:45:12.784Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-75/archives/ [Pipeline] echo [2024-10-04T18:45:12.828Z] 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-75/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T18:45:13.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:45:13.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T18:45:13.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:45:13.962Z] prd-ubuntu20.04-docker-8c-8g-21842 does not seem to be running inside a container [2024-10-04T18:45:13.998Z] $ 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-75/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-75 -v /w/workspace/edgexfoundry_device-uart_PR-75:/w/workspace/edgexfoundry_device-uart_PR-75:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-75@tmp:/w/workspace/edgexfoundry_device-uart_PR-75@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-04T18:45:14.171Z] $ docker top a0d09ee782ac8a07751067ecdcec85808bf9cbed2d15af5dd7992b107e69a345 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:45:14.579Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T18:45:14.891Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T18:45:15.208Z] + ls /var/log/sa-host [2024-10-04T18:45:15.209Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T18:45:15.455Z] provisioning config files... [2024-10-04T18:45:15.466Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-75@tmp/config10757595690416069045tmp [Pipeline] { [Pipeline] echo [2024-10-04T18:45:15.542Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:45:15.868Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T18:45:15.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:45:16.330Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T18:45:16.369Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:45:16.734Z] ---> sudo-logs.sh [2024-10-04T18:45:16.734Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T18:45:16.935Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:45:17.299Z] ---> job-cost.sh [2024-10-04T18:45:17.299Z] lf-activate-venv: SKIPPING [2024-10-04T18:45:17.299Z] DEBUG: total: 0.2199999988079071 [2024-10-04T18:45:17.299Z] INFO: Retrieving Stack Cost... [2024-10-04T18:45:18.734Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T18:45:19.304Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T18:45:19.356Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:45:19.689Z] ---> logs-deploy.sh [2024-10-04T18:45:19.689Z] lf-activate-venv: SKIPPING [2024-10-04T18:45:19.689Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-75/1 [2024-10-04T18:45:19.689Z] INFO: archiving workspace using pattern(s): [2024-10-04T18:45:20.630Z] Archives upload complete. [2024-10-04T18:45:20.630Z] INFO: archiving logs to Nexus