Pull request #78 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-uart Obtained Jenkinsfile from 3ed64162fe5da762afcd5902d8c2c408f66a7072+c25e0a715bc445233ef268d90b8261caa8d8b032 (a2441cc4fd35ccd95d8a97350b4babaeec3f0170) 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-ssh13550807456406445222.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-ssh8552931006607174327.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-78/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-78/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18384046182784328319.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-78/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14479783935214970315.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-ssh17397804882262857932.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-78/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-78/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7733723563933070836.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22696 in /w/workspace/edgexfoundry_device-uart_PR-78 [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-78 # 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 Merging remotes/origin/main commit c25e0a715bc445233ef268d90b8261caa8d8b032 into PR head commit 3ed64162fe5da762afcd5902d8c2c408f66a7072 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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/78/head:refs/remotes/origin/PR-78 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ed64162fe5da762afcd5902d8c2c408f66a7072 # 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 c25e0a715bc445233ef268d90b8261caa8d8b032 # timeout=10 Merge succeeded, producing 3ed64162fe5da762afcd5902d8c2c408f66a7072 Checking out Revision 3ed64162fe5da762afcd5902d8c2c408f66a7072 (PR-78) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ed64162fe5da762afcd5902d8c2c408f66a7072 # timeout=10 Commit message: "feat: Enable PIE support for ASLR and full RELRO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T07:45:59.686Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T07:45:59.912Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T07:46:00.042Z] ========================================================= [2024-10-14T07:46:00.042Z] EdgeX Global Pipelines Version Info [2024-10-14T07:46:00.042Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:46:00.807Z] ------------------- [2024-10-14T07:46:00.807Z] stable info: [2024-10-14T07:46:00.807Z] ------------------- [2024-10-14T07:46:00.807Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T07:46:00.807Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T07:46:00.807Z] Message: update stable to v1.0.265 [2024-10-14T07:46:01.382Z] ------------------- [2024-10-14T07:46:01.382Z] experimental info: [2024-10-14T07:46:01.382Z] ------------------- [2024-10-14T07:46:01.382Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T07:46:01.382Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T07:46:01.382Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T07:46:01.612Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-14T07:46:01.677Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-14T07:46:01.739Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T07:46:01.808Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T07:46:01.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T07:46:01.946Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T07:46:02.007Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T07:46:02.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T07:46:02.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T07:46:02.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T07:46:02.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T07:46:02.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-14T07:46:02.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T07:46:02.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T07:46:02.556Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T07:46:02.622Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T07:46:02.688Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T07:46:02.749Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T07:46:02.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T07:46:02.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T07:46:02.937Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-14T07:46:02.998Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-14T07:46:03.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T07:46:03.127Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T07:46:03.189Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T07:46:03.252Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T07:46:03.310Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T07:46:03.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-78 [Pipeline] echo [2024-10-14T07:46:03.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-78 [Pipeline] echo [2024-10-14T07:46:03.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-78 [Pipeline] echo [2024-10-14T07:46:03.544Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ed64162fe5da762afcd5902d8c2c408f66a7072 [Pipeline] echo [2024-10-14T07:46:03.606Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ed6416 [Pipeline] echo [2024-10-14T07:46:03.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:46:03.862Z] provisioning config files... [2024-10-14T07:46:03.876Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-78@tmp/config3859832788145853838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:46:04.274Z] ---> ****-login.sh [2024-10-14T07:46:04.275Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:46:04.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:04.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:04.534Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:04.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:04.534Z] [2024-10-14T07:46:04.534Z] Login Succeeded [2024-10-14T07:46:04.534Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:46:04.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:04.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:04.534Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:04.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:04.534Z] [2024-10-14T07:46:04.534Z] Login Succeeded [2024-10-14T07:46:04.534Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:46:04.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:04.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:04.794Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:04.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:04.794Z] [2024-10-14T07:46:04.794Z] Login Succeeded [2024-10-14T07:46:04.794Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:46:04.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:04.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:04.794Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:04.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:04.794Z] [2024-10-14T07:46:04.794Z] Login Succeeded [2024-10-14T07:46:04.794Z] ****.io [2024-10-14T07:46:05.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:05.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:05.053Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:05.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:05.053Z] [2024-10-14T07:46:05.053Z] Login Succeeded [2024-10-14T07:46:05.053Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:46:05.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T07:46:05.778Z] + git rev-list -1 --merges 3ed64162fe5da762afcd5902d8c2c408f66a7072~1..3ed64162fe5da762afcd5902d8c2c408f66a7072 [Pipeline] echo [2024-10-14T07:46:05.830Z] -----------> git rev-list -1 --merges 3ed64162fe5da762afcd5902d8c2c408f66a7072~1..3ed64162fe5da762afcd5902d8c2c408f66a7072 3ed64162fe5da762afcd5902d8c2c408f66a7072 [false] [Pipeline] sh [2024-10-14T07:46:06.156Z] + git log --format=format:%s -1 3ed64162fe5da762afcd5902d8c2c408f66a7072 [Pipeline] echo [2024-10-14T07:46:06.199Z] ========================================================= [2024-10-14T07:46:06.199Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T07:46:06.199Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:46:06.768Z] + git log --format=format:%s -1 3ed64162fe5da762afcd5902d8c2c408f66a7072 [Pipeline] echo [2024-10-14T07:46:06.805Z] [semverPrep] GIT_COMMIT: 3ed64162fe5da762afcd5902d8c2c408f66a7072, Commit Message: feat: Enable PIE support for ASLR and full RELRO [Pipeline] echo [2024-10-14T07:46:06.845Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T07:46:07.240Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T07:46:07.240Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T07:46:07.240Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T07:46:07.240Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T07:46:07.240Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-14T07:46:07.240Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-14T07:46:07.240Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:46:07.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:46:07.719Z] [2024-10-14T07:46:07.719Z] 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-14T07:46:08.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:46:08.129Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T07:46:08.129Z] b85a868b505f: Pulling fs layer [2024-10-14T07:46:08.129Z] e2be974225ed: Pulling fs layer [2024-10-14T07:46:08.129Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T07:46:08.129Z] 988bab9f4d93: Pulling fs layer [2024-10-14T07:46:08.129Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T07:46:08.129Z] eaf3925da568: Pulling fs layer [2024-10-14T07:46:08.129Z] bab4dde63d76: Pulling fs layer [2024-10-14T07:46:08.129Z] bde34c3a00c8: Pulling fs layer [2024-10-14T07:46:08.129Z] b352a97aabf1: Pulling fs layer [2024-10-14T07:46:08.129Z] 4872d77fe225: Pulling fs layer [2024-10-14T07:46:08.129Z] 5851b861e8e6: Pulling fs layer [2024-10-14T07:46:08.129Z] bde34c3a00c8: Waiting [2024-10-14T07:46:08.129Z] b352a97aabf1: Waiting [2024-10-14T07:46:08.129Z] 4872d77fe225: Waiting [2024-10-14T07:46:08.129Z] 5851b861e8e6: Waiting [2024-10-14T07:46:08.129Z] bab4dde63d76: Waiting [2024-10-14T07:46:08.129Z] 988bab9f4d93: Waiting [2024-10-14T07:46:08.129Z] 1469e6f7b9e6: Waiting [2024-10-14T07:46:08.129Z] eaf3925da568: Waiting [2024-10-14T07:46:08.129Z] e2be974225ed: Verifying Checksum [2024-10-14T07:46:08.129Z] e2be974225ed: Download complete [2024-10-14T07:46:08.129Z] 988bab9f4d93: Verifying Checksum [2024-10-14T07:46:08.129Z] 988bab9f4d93: Download complete [2024-10-14T07:46:08.129Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T07:46:08.129Z] 1469e6f7b9e6: Download complete [2024-10-14T07:46:08.129Z] eaf3925da568: Verifying Checksum [2024-10-14T07:46:08.129Z] eaf3925da568: Download complete [2024-10-14T07:46:08.388Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T07:46:08.388Z] 339a4e72a1f5: Download complete [2024-10-14T07:46:08.388Z] bde34c3a00c8: Download complete [2024-10-14T07:46:08.388Z] b352a97aabf1: Verifying Checksum [2024-10-14T07:46:08.388Z] b352a97aabf1: Download complete [2024-10-14T07:46:08.388Z] 4872d77fe225: Verifying Checksum [2024-10-14T07:46:08.388Z] 4872d77fe225: Download complete [2024-10-14T07:46:08.388Z] 5851b861e8e6: Verifying Checksum [2024-10-14T07:46:08.388Z] 5851b861e8e6: Download complete [2024-10-14T07:46:08.388Z] b85a868b505f: Verifying Checksum [2024-10-14T07:46:08.388Z] b85a868b505f: Download complete [2024-10-14T07:46:08.648Z] bab4dde63d76: Verifying Checksum [2024-10-14T07:46:08.648Z] bab4dde63d76: Download complete [2024-10-14T07:46:09.586Z] b85a868b505f: Pull complete [2024-10-14T07:46:09.845Z] e2be974225ed: Pull complete [2024-10-14T07:46:10.104Z] 339a4e72a1f5: Pull complete [2024-10-14T07:46:10.363Z] 988bab9f4d93: Pull complete [2024-10-14T07:46:10.624Z] 1469e6f7b9e6: Pull complete [2024-10-14T07:46:10.624Z] eaf3925da568: Pull complete [2024-10-14T07:46:12.529Z] bab4dde63d76: Pull complete [2024-10-14T07:46:12.529Z] bde34c3a00c8: Pull complete [2024-10-14T07:46:12.787Z] b352a97aabf1: Pull complete [2024-10-14T07:46:12.788Z] 4872d77fe225: Pull complete [2024-10-14T07:46:12.788Z] 5851b861e8e6: Pull complete [2024-10-14T07:46:12.788Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T07:46:12.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:46:12.788Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:46:13.074Z] prd-ubuntu20.04-docker-8c-8g-22696 does not seem to be running inside a container [2024-10-14T07:46:13.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-78 -v /w/workspace/edgexfoundry_device-uart_PR-78:/w/workspace/edgexfoundry_device-uart_PR-78:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-78@tmp:/w/workspace/edgexfoundry_device-uart_PR-78@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-devops/py-git-semver:0.1.4 cat [2024-10-14T07:46:16.855Z] $ docker top 4b26269da4ec0dec466e7805910b58ccdda1f0b5669400e46d8244d61ab323f4 -eo pid,comm [2024-10-14T07:46:16.919Z] 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-14T07:46:16.919Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T07:46:17.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T07:46:17.079Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T07:46:17.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T07:46:17.198Z] $ docker exec 4b26269da4ec0dec466e7805910b58ccdda1f0b5669400e46d8244d61ab323f4 ssh-agent [2024-10-14T07:46:17.319Z] SSH_AUTH_SOCK=/tmp/ssh-ycGp98UAzIZC/agent.32 [2024-10-14T07:46:17.319Z] SSH_AGENT_PID=38 [2024-10-14T07:46:17.326Z] Running ssh-add (command line suppressed) [2024-10-14T07:46:17.429Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-78@tmp/private_key_4826446923038576538.key (/w/workspace/edgexfoundry_device-uart_PR-78@tmp/private_key_4826446923038576538.key) [2024-10-14T07:46:17.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T07:46:17.784Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T07:46:17.813Z] $ docker exec --env ******** --env ******** 4b26269da4ec0dec466e7805910b58ccdda1f0b5669400e46d8244d61ab323f4 ssh-agent -k [2024-10-14T07:46:17.912Z] unset SSH_AUTH_SOCK; [2024-10-14T07:46:17.913Z] unset SSH_AGENT_PID; [2024-10-14T07:46:17.913Z] echo Agent pid 38 killed; [2024-10-14T07:46:17.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T07:46:18.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T07:46:18.032Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T07:46:18.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T07:46:18.151Z] $ docker exec 4b26269da4ec0dec466e7805910b58ccdda1f0b5669400e46d8244d61ab323f4 ssh-agent [2024-10-14T07:46:18.261Z] SSH_AUTH_SOCK=/tmp/ssh-YoWAWOofEdS2/agent.71 [2024-10-14T07:46:18.261Z] SSH_AGENT_PID=77 [2024-10-14T07:46:18.266Z] Running ssh-add (command line suppressed) [2024-10-14T07:46:18.372Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-78@tmp/private_key_3759158403850497139.key (/w/workspace/edgexfoundry_device-uart_PR-78@tmp/private_key_3759158403850497139.key) [2024-10-14T07:46:18.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T07:46:18.748Z] + git semver init [2024-10-14T07:46:19.007Z] 2024-10-14 07:46:18,936 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T07:46:19.007Z] 2024-10-14 07:46:18,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-78/.semver [2024-10-14T07:46:19.007Z] 2024-10-14 07:46:18,937 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-78/.semver [2024-10-14T07:46:19.008Z] 2024-10-14 07:46:18,938 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-78/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-78, universal_newlines=False, shell=None, istream=None) [2024-10-14T07:46:20.423Z] 2024-10-14 07:46:20,125 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-78/.git/info/exclude [2024-10-14T07:46:20.423Z] 2024-10-14 07:46:20,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-78/.semver/PR-78 with force:False [2024-10-14T07:46:20.423Z] 2024-10-14 07:46:20,126 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-78/.semver/PR-78 [2024-10-14T07:46:20.423Z] 2024-10-14 07:46:20,130 [execute] INFO git cat-file --batch-check [2024-10-14T07:46:20.423Z] 2024-10-14 07:46:20,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-78/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T07:46:20.423Z] 2024-10-14 07:46:20,136 [execute] INFO git cat-file --batch [2024-10-14T07:46:20.423Z] 2024-10-14 07:46:20,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-78/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T07:46:20.423Z] 2024-10-14 07:46:20,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-78/.semver/PR-78 [2024-10-14T07:46:20.423Z] 0.0.0 [Pipeline] } [2024-10-14T07:46:20.466Z] $ docker exec --env ******** --env ******** 4b26269da4ec0dec466e7805910b58ccdda1f0b5669400e46d8244d61ab323f4 ssh-agent -k [2024-10-14T07:46:20.555Z] unset SSH_AUTH_SOCK; [2024-10-14T07:46:20.555Z] unset SSH_AGENT_PID; [2024-10-14T07:46:20.555Z] echo Agent pid 77 killed; [2024-10-14T07:46:20.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T07:46:21.105Z] + git semver [Pipeline] } [2024-10-14T07:46:21.396Z] $ docker stop --time=1 4b26269da4ec0dec466e7805910b58ccdda1f0b5669400e46d8244d61ab323f4 [2024-10-14T07:46:22.716Z] $ docker rm -f --volumes 4b26269da4ec0dec466e7805910b58ccdda1f0b5669400e46d8244d61ab323f4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:46:23.145Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T07:46:23.472Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T07:46:23.497Z] [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-14T07:46:24.218Z] provisioning config files... [2024-10-14T07:46:24.231Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-78@tmp/config10935837322046600270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:46:24.607Z] ---> ****-login.sh [2024-10-14T07:46:24.607Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:46:24.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:24.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:24.607Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:24.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:24.607Z] [2024-10-14T07:46:24.607Z] Login Succeeded [2024-10-14T07:46:24.607Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:46:24.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:24.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:24.607Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:24.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:24.607Z] [2024-10-14T07:46:24.607Z] Login Succeeded [2024-10-14T07:46:24.607Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:46:24.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:24.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:24.867Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:24.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:24.867Z] [2024-10-14T07:46:24.867Z] Login Succeeded [2024-10-14T07:46:24.867Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:46:24.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:24.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:24.867Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:24.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:24.867Z] [2024-10-14T07:46:24.867Z] Login Succeeded [2024-10-14T07:46:24.867Z] ****.io [2024-10-14T07:46:25.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:25.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:25.126Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:25.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:25.126Z] [2024-10-14T07:46:25.126Z] Login Succeeded [2024-10-14T07:46:25.126Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:46:25.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T07:46:25.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:46:25.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:46:25.499Z] ========================================================= [2024-10-14T07:46:25.499Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T07:46:25.499Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:46:26.027Z] + 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-14T07:46:26.027Z] Sending build context to Docker daemon 25.61MB [2024-10-14T07:46:26.027Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:46:26.027Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T07:46:26.297Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T07:46:26.297Z] 43c4264eed91: Pulling fs layer [2024-10-14T07:46:26.297Z] 4cc291be95ef: Pulling fs layer [2024-10-14T07:46:26.297Z] 2ac1f1163629: Pulling fs layer [2024-10-14T07:46:26.297Z] 5c3c966382ef: Pulling fs layer [2024-10-14T07:46:26.297Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T07:46:26.297Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T07:46:26.297Z] 9f66e0745190: Pulling fs layer [2024-10-14T07:46:26.297Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T07:46:26.297Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T07:46:26.297Z] f49a43e4bbc0: Waiting [2024-10-14T07:46:26.297Z] 5d5c8e513c77: Waiting [2024-10-14T07:46:26.297Z] 9f66e0745190: Waiting [2024-10-14T07:46:26.297Z] 561ebcabdf7f: Waiting [2024-10-14T07:46:26.297Z] 5c3c966382ef: Waiting [2024-10-14T07:46:26.297Z] 4f4fb700ef54: Waiting [2024-10-14T07:46:26.297Z] 4cc291be95ef: Verifying Checksum [2024-10-14T07:46:26.297Z] 4cc291be95ef: Download complete [2024-10-14T07:46:26.297Z] 5c3c966382ef: Download complete [2024-10-14T07:46:26.297Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T07:46:26.297Z] 4f4fb700ef54: Download complete [2024-10-14T07:46:26.297Z] 5d5c8e513c77: Verifying Checksum [2024-10-14T07:46:26.297Z] 5d5c8e513c77: Download complete [2024-10-14T07:46:26.297Z] 43c4264eed91: Verifying Checksum [2024-10-14T07:46:26.297Z] 43c4264eed91: Download complete [2024-10-14T07:46:26.297Z] 9f66e0745190: Verifying Checksum [2024-10-14T07:46:26.297Z] 9f66e0745190: Download complete [2024-10-14T07:46:26.558Z] 43c4264eed91: Pull complete [2024-10-14T07:46:26.558Z] 561ebcabdf7f: Verifying Checksum [2024-10-14T07:46:26.558Z] 561ebcabdf7f: Download complete [2024-10-14T07:46:26.558Z] 4cc291be95ef: Pull complete [2024-10-14T07:46:26.817Z] 2ac1f1163629: Download complete [2024-10-14T07:46:27.076Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T07:46:27.076Z] f49a43e4bbc0: Download complete [2024-10-14T07:46:30.360Z] 2ac1f1163629: Pull complete [2024-10-14T07:46:30.360Z] 5c3c966382ef: Pull complete [2024-10-14T07:46:30.360Z] 4f4fb700ef54: Pull complete [2024-10-14T07:46:30.619Z] 5d5c8e513c77: Pull complete [2024-10-14T07:46:30.620Z] 9f66e0745190: Pull complete [2024-10-14T07:46:33.158Z] f49a43e4bbc0: Pull complete [2024-10-14T07:46:33.417Z] 561ebcabdf7f: Pull complete [2024-10-14T07:46:33.675Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T07:46:33.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T07:46:33.675Z] ---> 3a752c3f9dda [2024-10-14T07:46:33.675Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T07:46:39.000Z] Still waiting to schedule task [2024-10-14T07:46:39.000Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-22697’ is offline [2024-10-14T07:46:39.080Z] ---> Running in 9724370c81d9 [2024-10-14T07:46:39.080Z] Removing intermediate container 9724370c81d9 [2024-10-14T07:46:39.080Z] ---> fb2c59f7de8a [2024-10-14T07:46:39.080Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:46:39.080Z] ---> Running in 90d6aa7a4121 [2024-10-14T07:46:39.080Z] Removing intermediate container 90d6aa7a4121 [2024-10-14T07:46:39.080Z] ---> 26ca0904926a [2024-10-14T07:46:39.080Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:46:39.080Z] ---> Running in 6f6d076cf6d9 [2024-10-14T07:46:39.080Z] Removing intermediate container 6f6d076cf6d9 [2024-10-14T07:46:39.080Z] ---> 049dc1a97b1d [2024-10-14T07:46:39.080Z] Step 6/12 : WORKDIR /device-uart [2024-10-14T07:46:39.080Z] ---> Running in 24f9e5c98682 [2024-10-14T07:46:39.080Z] Removing intermediate container 24f9e5c98682 [2024-10-14T07:46:39.080Z] ---> 2e140ef50005 [2024-10-14T07:46:39.080Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:46:39.080Z] ---> Running in 41aeebeb0a29 [2024-10-14T07:46:39.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:46:39.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:46:39.864Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T07:46:39.864Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T07:46:39.864Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T07:46:39.864Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T07:46:39.864Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:46:39.864Z] OK: 250 MiB in 58 packages [2024-10-14T07:46:40.433Z] Removing intermediate container 41aeebeb0a29 [2024-10-14T07:46:40.433Z] ---> 669c21a781b6 [2024-10-14T07:46:40.433Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-14T07:46:40.433Z] ---> a39be0fbfd0c [2024-10-14T07:46:40.433Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:46:40.433Z] ---> Running in fde7e27da1dc [2024-10-14T07:47:28.101Z] Removing intermediate container fde7e27da1dc [2024-10-14T07:47:28.101Z] ---> ba92b14a4f66 [2024-10-14T07:47:28.101Z] Step 10/12 : COPY . . [2024-10-14T07:47:28.670Z] ---> 97151ec2ea39 [2024-10-14T07:47:28.670Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:47:28.670Z] ---> Running in 12ac66ecf5df [2024-10-14T07:47:28.670Z] Removing intermediate container 12ac66ecf5df [2024-10-14T07:47:28.670Z] ---> d3a9a1dcc5a7 [2024-10-14T07:47:28.670Z] Step 12/12 : RUN ${MAKE} [2024-10-14T07:47:28.670Z] ---> Running in 77a7c4af15a9 [2024-10-14T07:47:28.928Z] noop [2024-10-14T07:47:29.188Z] Removing intermediate container 77a7c4af15a9 [2024-10-14T07:47:29.188Z] ---> cd384f67fb84 [2024-10-14T07:47:29.188Z] Successfully built cd384f67fb84 [2024-10-14T07:47:29.188Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:47:29.687Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T07:47:29.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:47:29.870Z] prd-ubuntu20.04-docker-8c-8g-22696 does not seem to be running inside a container [2024-10-14T07:47:29.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-78 -v /w/workspace/edgexfoundry_device-uart_PR-78:/w/workspace/edgexfoundry_device-uart_PR-78:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-78@tmp:/w/workspace/edgexfoundry_device-uart_PR-78@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T07:47:30.234Z] $ docker top 33e475611a7854746e65e63849f1a85ff84d23ccad2e0b5d1ef87ca13bab94b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:47:30.651Z] + go version [2024-10-14T07:47:30.651Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T07:47:30.683Z] $ docker stop --time=1 33e475611a7854746e65e63849f1a85ff84d23ccad2e0b5d1ef87ca13bab94b0 [2024-10-14T07:47:31.943Z] $ docker rm -f --volumes 33e475611a7854746e65e63849f1a85ff84d23ccad2e0b5d1ef87ca13bab94b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:47:32.735Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T07:47:32.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:47:32.900Z] prd-ubuntu20.04-docker-8c-8g-22696 does not seem to be running inside a container [2024-10-14T07:47:32.931Z] $ 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-78 -v /w/workspace/edgexfoundry_device-uart_PR-78:/w/workspace/edgexfoundry_device-uart_PR-78:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-78@tmp:/w/workspace/edgexfoundry_device-uart_PR-78@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T07:47:33.255Z] $ docker top d18b2223ddfe65f4cd022364d2e78925746fd3b1d3b6458e4504553a7949836d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:47:33.685Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-78 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:47:34.067Z] + make test [2024-10-14T07:47:34.067Z] go test ./... -coverprofile=coverage.out [2024-10-14T07:47:35.964Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-14T07:47:57.880Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-14T07:47:57.880Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-14T07:48:06.589Z] go vet ./... [2024-10-14T07:48:13.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:48:13.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:48:13.145Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:48:13.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:48:13.240Z] $ docker stop --time=1 d18b2223ddfe65f4cd022364d2e78925746fd3b1d3b6458e4504553a7949836d [2024-10-14T07:48:17.609Z] $ docker rm -f --volumes d18b2223ddfe65f4cd022364d2e78925746fd3b1d3b6458e4504553a7949836d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:48:18.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:48:18.326Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T07:48:18.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:48:19.289Z] + ls -al . [2024-10-14T07:48:19.289Z] total 236 [2024-10-14T07:48:19.289Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:47 . [2024-10-14T07:48:19.289Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:45 .. [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 07:45 .dockerignore [2024-10-14T07:48:19.289Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:47 .git [2024-10-14T07:48:19.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:45 .github [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 14 07:45 .gitignore [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 14 07:45 .golangci.yml [2024-10-14T07:48:19.289Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:46 .semver [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 14 07:45 Attribution.txt [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 14 07:45 CHANGELOG.md [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 14 07:45 Dockerfile [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:45 GOVERNANCE.md [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 14 07:45 Jenkinsfile [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 07:45 LICENSE [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 2409 Oct 14 07:45 Makefile [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 14 07:45 OWNERS.md [2024-10-14T07:48:19.289Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 14 07:45 README.md [2024-10-14T07:48:19.290Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 07:46 VERSION [2024-10-14T07:48:19.290Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:45 bin [2024-10-14T07:48:19.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:45 cmd [2024-10-14T07:48:19.290Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 14 07:47 coverage.out [2024-10-14T07:48:19.290Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 14 07:45 go.mod [2024-10-14T07:48:19.290Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 14 07:45 go.sum [2024-10-14T07:48:19.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:45 internal [2024-10-14T07:48:19.290Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 14 07:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:48:19.712Z] + 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=3ed64162fe5da762afcd5902d8c2c408f66a7072 --label arch=amd64 --label version=0.0.0 . [2024-10-14T07:48:19.712Z] Sending build context to Docker daemon 25.62MB [2024-10-14T07:48:19.712Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:48:19.712Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-14T07:48:19.712Z] ---> cd384f67fb84 [2024-10-14T07:48:19.712Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T07:48:19.970Z] ---> Running in 22c993172bcf [2024-10-14T07:48:20.230Z] Removing intermediate container 22c993172bcf [2024-10-14T07:48:20.230Z] ---> 217b63a5e1b6 [2024-10-14T07:48:20.230Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:48:20.230Z] ---> Running in 8a141f5f5a6e [2024-10-14T07:48:20.230Z] Removing intermediate container 8a141f5f5a6e [2024-10-14T07:48:20.230Z] ---> 98c937f44931 [2024-10-14T07:48:20.230Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:48:20.230Z] ---> Running in 7d2572c03827 [2024-10-14T07:48:20.230Z] Removing intermediate container 7d2572c03827 [2024-10-14T07:48:20.230Z] ---> 89c639892ef0 [2024-10-14T07:48:20.230Z] Step 6/26 : WORKDIR /device-uart [2024-10-14T07:48:20.489Z] ---> Running in b909ccb35c1a [2024-10-14T07:48:20.489Z] Removing intermediate container b909ccb35c1a [2024-10-14T07:48:20.489Z] ---> 584b5a3e2137 [2024-10-14T07:48:20.489Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:48:20.489Z] ---> Running in b9e6451da2a6 [2024-10-14T07:48:20.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:48:20.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:48:21.010Z] OK: 250 MiB in 58 packages [2024-10-14T07:48:21.577Z] Removing intermediate container b9e6451da2a6 [2024-10-14T07:48:21.577Z] ---> 62aaa89780e1 [2024-10-14T07:48:21.577Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-14T07:48:21.577Z] ---> da79b7f71ab7 [2024-10-14T07:48:21.577Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:48:21.577Z] ---> Running in 0b04218d9b38 [2024-10-14T07:48:22.143Z] Removing intermediate container 0b04218d9b38 [2024-10-14T07:48:22.143Z] ---> bd1df5dccaa6 [2024-10-14T07:48:22.143Z] Step 10/26 : COPY . . [2024-10-14T07:48:23.077Z] ---> eda8c3946755 [2024-10-14T07:48:23.077Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:48:23.077Z] ---> Running in 8827e07cb401 [2024-10-14T07:48:23.077Z] Removing intermediate container 8827e07cb401 [2024-10-14T07:48:23.077Z] ---> 98e561a5ab52 [2024-10-14T07:48:23.077Z] Step 12/26 : RUN ${MAKE} [2024-10-14T07:48:23.077Z] ---> Running in 8a73bc6d44eb [2024-10-14T07:48:23.336Z] 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.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-uart ./cmd [2024-10-14T07:49:02.056Z] Removing intermediate container 8a73bc6d44eb [2024-10-14T07:49:02.056Z] ---> c06767ebabe0 [2024-10-14T07:49:02.056Z] Step 13/26 : FROM alpine:3.20 [2024-10-14T07:49:02.056Z] 3.20: Pulling from library/alpine [2024-10-14T07:49:02.056Z] 43c4264eed91: Already exists [2024-10-14T07:49:02.056Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T07:49:02.056Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T07:49:02.056Z] ---> 91ef0af61f39 [2024-10-14T07:49:02.056Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-14T07:49:02.056Z] ---> Running in bf2ab0d37ace [2024-10-14T07:49:02.056Z] Removing intermediate container bf2ab0d37ace [2024-10-14T07:49:02.056Z] ---> 6e2f8d7b074f [2024-10-14T07:49:02.056Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-14T07:49:02.056Z] ---> Running in f4a645dc2282 [2024-10-14T07:49:02.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:49:02.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:49:02.056Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T07:49:02.056Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:49:02.056Z] OK: 8 MiB in 15 packages [2024-10-14T07:49:02.056Z] Removing intermediate container f4a645dc2282 [2024-10-14T07:49:02.056Z] ---> 007db246cd54 [2024-10-14T07:49:02.056Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-14T07:49:02.056Z] ---> Running in 6f7e9a9a535b [2024-10-14T07:49:02.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:49:02.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:49:02.056Z] Upgrading critical system libraries and apk-tools: [2024-10-14T07:49:02.056Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T07:49:02.056Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:49:02.056Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T07:49:02.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:49:02.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:49:02.317Z] OK: 8 MiB in 15 packages [2024-10-14T07:49:02.579Z] Removing intermediate container 6f7e9a9a535b [2024-10-14T07:49:02.579Z] ---> 5453247b8796 [2024-10-14T07:49:02.579Z] Step 17/26 : WORKDIR / [2024-10-14T07:49:02.579Z] ---> Running in 9bb8f25f04cf [2024-10-14T07:49:02.837Z] Removing intermediate container 9bb8f25f04cf [2024-10-14T07:49:02.837Z] ---> 8f637448e215 [2024-10-14T07:49:02.837Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-14T07:49:02.837Z] ---> 773759d89c04 [2024-10-14T07:49:02.837Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-14T07:49:03.099Z] ---> 63eda6f8dc56 [2024-10-14T07:49:03.099Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-14T07:49:04.490Z] ---> 68d2f5410ed2 [2024-10-14T07:49:04.490Z] Step 21/26 : EXPOSE 59995 [2024-10-14T07:49:04.490Z] ---> Running in a3b90623f3cf [2024-10-14T07:49:04.490Z] Removing intermediate container a3b90623f3cf [2024-10-14T07:49:04.490Z] ---> b19cae8bd166 [2024-10-14T07:49:04.490Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-14T07:49:04.490Z] ---> Running in 63c76f5ad49b [2024-10-14T07:49:04.749Z] Removing intermediate container 63c76f5ad49b [2024-10-14T07:49:04.749Z] ---> 597cfb82e469 [2024-10-14T07:49:04.749Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-14T07:49:04.749Z] ---> Running in ecb81b7ae3ba [2024-10-14T07:49:04.749Z] Removing intermediate container ecb81b7ae3ba [2024-10-14T07:49:04.749Z] ---> 6fbc4e1979e9 [2024-10-14T07:49:04.749Z] Step 24/26 : LABEL arch=amd64 [2024-10-14T07:49:04.749Z] ---> Running in aec93989e325 [2024-10-14T07:49:04.749Z] Removing intermediate container aec93989e325 [2024-10-14T07:49:04.749Z] ---> 2ab8ec3695d8 [2024-10-14T07:49:04.749Z] Step 25/26 : LABEL git_sha=3ed64162fe5da762afcd5902d8c2c408f66a7072 [2024-10-14T07:49:04.749Z] ---> Running in f94d37740538 [2024-10-14T07:49:05.008Z] Removing intermediate container f94d37740538 [2024-10-14T07:49:05.008Z] ---> c0be4a17d54c [2024-10-14T07:49:05.008Z] Step 26/26 : LABEL version=0.0.0 [2024-10-14T07:49:05.008Z] ---> Running in 5aa7bfa9bb3f [2024-10-14T07:49:05.008Z] Removing intermediate container 5aa7bfa9bb3f [2024-10-14T07:49:05.008Z] ---> 49cd38031f26 [2024-10-14T07:49:05.008Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T07:49:05.008Z] Successfully built 49cd38031f26 [2024-10-14T07:49:05.008Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:49:06.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:49:06.033Z] [2024-10-14T07:49:06.033Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:49:06.445Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:49:06.446Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T07:49:06.446Z] 5eb5b503b376: Pulling fs layer [2024-10-14T07:49:06.446Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T07:49:06.446Z] ec43610c2a17: Pulling fs layer [2024-10-14T07:49:06.446Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T07:49:06.446Z] 33b1e0a273af: Pulling fs layer [2024-10-14T07:49:06.446Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T07:49:06.446Z] 2f39f015ded8: Pulling fs layer [2024-10-14T07:49:06.446Z] 3a2ae6a8a46f: Waiting [2024-10-14T07:49:06.446Z] 5d3b04190fa2: Waiting [2024-10-14T07:49:06.446Z] 2f39f015ded8: Waiting [2024-10-14T07:49:06.446Z] 33b1e0a273af: Waiting [2024-10-14T07:49:06.446Z] 5c69ac0246d0: Verifying Checksum [2024-10-14T07:49:06.446Z] 5c69ac0246d0: Download complete [2024-10-14T07:49:06.446Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-14T07:49:06.446Z] 3a2ae6a8a46f: Download complete [2024-10-14T07:49:06.446Z] 33b1e0a273af: Verifying Checksum [2024-10-14T07:49:06.446Z] 33b1e0a273af: Download complete [2024-10-14T07:49:06.446Z] 5d3b04190fa2: Verifying Checksum [2024-10-14T07:49:06.446Z] 5d3b04190fa2: Download complete [2024-10-14T07:49:06.446Z] ec43610c2a17: Verifying Checksum [2024-10-14T07:49:06.446Z] ec43610c2a17: Download complete [2024-10-14T07:49:06.706Z] 5eb5b503b376: Verifying Checksum [2024-10-14T07:49:06.706Z] 5eb5b503b376: Download complete [2024-10-14T07:49:07.270Z] 2f39f015ded8: Download complete [2024-10-14T07:49:08.205Z] 5eb5b503b376: Pull complete [2024-10-14T07:49:08.205Z] 5c69ac0246d0: Pull complete [2024-10-14T07:49:08.771Z] ec43610c2a17: Pull complete [2024-10-14T07:49:08.771Z] 3a2ae6a8a46f: Pull complete [2024-10-14T07:49:09.031Z] 33b1e0a273af: Pull complete [2024-10-14T07:49:09.031Z] 5d3b04190fa2: Pull complete [2024-10-14T07:49:14.296Z] 2f39f015ded8: Pull complete [2024-10-14T07:49:14.296Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T07:49:14.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:49:14.296Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:49:14.550Z] prd-ubuntu20.04-docker-8c-8g-22696 does not seem to be running inside a container [2024-10-14T07:49:14.578Z] $ 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-78 -v /w/workspace/edgexfoundry_device-uart_PR-78:/w/workspace/edgexfoundry_device-uart_PR-78:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-78@tmp:/w/workspace/edgexfoundry_device-uart_PR-78@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T07:49:16.794Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22701 in /w/workspace/edgexfoundry_device-uart_PR-78 [2024-10-14T07:49:20.663Z] $ docker top c63ffdcb2c8511d32820f2dfb196dbd9220b679f94b0db77f58ef6e61665dde7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-10-14T07:49:20.945Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-14T07:49:21.047Z] The recommended git tool is: git [2024-10-14T07:49:21.174Z] ---> job-cost.sh [2024-10-14T07:49:21.174Z] lf-activate-venv: SKIPPING [2024-10-14T07:49:21.174Z] INFO: No Stack... [2024-10-14T07:49:21.433Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T07:49:21.693Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T07:49:22.014Z] + cat /w/workspace/edgexfoundry_device-uart_PR-78/archives/cost.csv [2024-10-14T07:49:22.014Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T07:49:22.070Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-78-1-stack-cost] [2024-10-14T07:49:22.076Z] Resource [jenkins-edgexfoundry-device-uart-PR-78-1-stack-cost] did not exist. Created. [2024-10-14T07:49:22.082Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-78-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T07:49:22.497Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T07:49:22.551Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T07:49:22.592Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-78-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T07:49:22.686Z] $ docker stop --time=1 c63ffdcb2c8511d32820f2dfb196dbd9220b679f94b0db77f58ef6e61665dde7 [2024-10-14T07:49:23.853Z] $ docker rm -f --volumes c63ffdcb2c8511d32820f2dfb196dbd9220b679f94b0db77f58ef6e61665dde7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T07:49:26.844Z] using credential edgex-jenkins-ssh [2024-10-14T07:49:26.872Z] Cloning the remote Git repository [2024-10-14T07:49:26.924Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-14T07:49:27.042Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-14T07:49:27.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-14T07:49:27.239Z] > git --version # timeout=10 [2024-10-14T07:49:27.270Z] > git --version # 'git version 2.25.1' [2024-10-14T07:49:27.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:49:27.453Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T07:49:29.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-14T07:49:30.001Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T07:49:32.069Z] Merging remotes/origin/main commit c25e0a715bc445233ef268d90b8261caa8d8b032 into PR head commit 3ed64162fe5da762afcd5902d8c2c408f66a7072 [2024-10-14T07:49:32.421Z] Merge succeeded, producing 3ed64162fe5da762afcd5902d8c2c408f66a7072 [2024-10-14T07:49:32.422Z] Checking out Revision 3ed64162fe5da762afcd5902d8c2c408f66a7072 (PR-78) [2024-10-14T07:49:31.413Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-14T07:49:31.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-14T07:49:31.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:49:31.523Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-14T07:49:32.090Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T07:49:32.181Z] > git checkout -f 3ed64162fe5da762afcd5902d8c2c408f66a7072 # timeout=10 [2024-10-14T07:49:32.278Z] > git remote # timeout=10 [2024-10-14T07:49:32.303Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T07:49:32.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:49:32.365Z] > git merge c25e0a715bc445233ef268d90b8261caa8d8b032 # timeout=10 [2024-10-14T07:49:32.397Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T07:49:32.428Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T07:49:32.445Z] > git checkout -f 3ed64162fe5da762afcd5902d8c2c408f66a7072 # timeout=10 [2024-10-14T07:49:36.274Z] Commit message: "feat: Enable PIE support for ASLR and full RELRO" [2024-10-14T07:49:36.348Z] > git --version # timeout=10 [2024-10-14T07:49:36.362Z] > git --version # 'git version 2.25.1' [2024-10-14T07:49:36.380Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:49:38.657Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T07:49:38.657Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:49:38.657Z] Dload Upload Total Spent Left Speed [2024-10-14T07:49:38.657Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2024-10-14T07:49:39.038Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T07:49:39.405Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-14T07:49:39.405Z] + sudo tee /etc/docker/daemon.new [2024-10-14T07:49:39.405Z] { [2024-10-14T07:49:39.405Z] "registry-mirrors": [ [2024-10-14T07:49:39.405Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T07:49:39.405Z] ], [2024-10-14T07:49:39.405Z] "bip": "10.250.0.254/24", [2024-10-14T07:49:39.405Z] "hosts": [ [2024-10-14T07:49:39.405Z] "tcp://0.0.0.0:5555", [2024-10-14T07:49:39.405Z] "unix:///var/run/docker.sock" [2024-10-14T07:49:39.405Z] ], [2024-10-14T07:49:39.405Z] "mtu": 1458, [2024-10-14T07:49:39.405Z] "selinux-enabled": true, [2024-10-14T07:49:39.405Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T07:49:39.405Z] } [Pipeline] sh [2024-10-14T07:49:39.776Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T07:49:40.159Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:49:58.568Z] provisioning config files... [2024-10-14T07:49:58.624Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config9201645049334645208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:49:59.196Z] ---> ****-login.sh [2024-10-14T07:49:59.196Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:49:59.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:49:59.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:49:59.792Z] Configure a credential helper to remove this warning. See [2024-10-14T07:49:59.792Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:49:59.792Z] [2024-10-14T07:49:59.792Z] Login Succeeded [2024-10-14T07:49:59.792Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:50:00.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:50:00.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:50:00.349Z] Configure a credential helper to remove this warning. See [2024-10-14T07:50:00.350Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:50:00.350Z] [2024-10-14T07:50:00.350Z] Login Succeeded [2024-10-14T07:50:00.350Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:50:00.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:50:00.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:50:00.626Z] Configure a credential helper to remove this warning. See [2024-10-14T07:50:00.626Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:50:00.626Z] [2024-10-14T07:50:00.626Z] Login Succeeded [2024-10-14T07:50:00.908Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:50:01.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:50:01.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:50:01.187Z] Configure a credential helper to remove this warning. See [2024-10-14T07:50:01.187Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:50:01.187Z] [2024-10-14T07:50:01.187Z] Login Succeeded [2024-10-14T07:50:01.187Z] ****.io [2024-10-14T07:50:01.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:50:01.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:50:01.737Z] Configure a credential helper to remove this warning. See [2024-10-14T07:50:01.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:50:01.737Z] [2024-10-14T07:50:01.737Z] Login Succeeded [2024-10-14T07:50:01.737Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:50:01.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T07:50:02.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:50:02.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:50:02.423Z] ========================================================= [2024-10-14T07:50:02.423Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T07:50:02.423Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:50:03.005Z] + 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-14T07:50:03.604Z] Sending build context to Docker daemon 12.88MB [2024-10-14T07:50:03.604Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:50:03.604Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T07:50:03.898Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T07:50:03.898Z] cf04c63912e1: Pulling fs layer [2024-10-14T07:50:03.898Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T07:50:03.898Z] a37a00ec5f00: Pulling fs layer [2024-10-14T07:50:03.898Z] 50b3750afda1: Pulling fs layer [2024-10-14T07:50:03.898Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T07:50:03.898Z] 80978eb59214: Pulling fs layer [2024-10-14T07:50:03.898Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T07:50:03.898Z] c5a475d317c9: Pulling fs layer [2024-10-14T07:50:03.898Z] 50b3750afda1: Waiting [2024-10-14T07:50:03.898Z] 80978eb59214: Waiting [2024-10-14T07:50:03.898Z] 4f4fb700ef54: Waiting [2024-10-14T07:50:03.898Z] c9f46d7d2bd2: Waiting [2024-10-14T07:50:03.898Z] c5a475d317c9: Waiting [2024-10-14T07:50:03.898Z] 55b35a11ae5e: Verifying Checksum [2024-10-14T07:50:03.898Z] 55b35a11ae5e: Download complete [2024-10-14T07:50:03.898Z] 50b3750afda1: Verifying Checksum [2024-10-14T07:50:03.898Z] 50b3750afda1: Download complete [2024-10-14T07:50:03.898Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T07:50:03.898Z] 4f4fb700ef54: Download complete [2024-10-14T07:50:03.898Z] 80978eb59214: Verifying Checksum [2024-10-14T07:50:03.898Z] 80978eb59214: Download complete [2024-10-14T07:50:03.898Z] cf04c63912e1: Verifying Checksum [2024-10-14T07:50:03.898Z] cf04c63912e1: Download complete [2024-10-14T07:50:04.501Z] c5a475d317c9: Verifying Checksum [2024-10-14T07:50:04.501Z] c5a475d317c9: Download complete [2024-10-14T07:50:05.118Z] cf04c63912e1: Pull complete [2024-10-14T07:50:06.104Z] 55b35a11ae5e: Pull complete [2024-10-14T07:50:06.375Z] a37a00ec5f00: Verifying Checksum [2024-10-14T07:50:06.375Z] a37a00ec5f00: Download complete [2024-10-14T07:50:07.338Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T07:50:07.338Z] c9f46d7d2bd2: Download complete [2024-10-14T07:50:22.381Z] a37a00ec5f00: Pull complete [2024-10-14T07:50:22.381Z] 50b3750afda1: Pull complete [2024-10-14T07:50:22.381Z] 4f4fb700ef54: Pull complete [2024-10-14T07:50:22.381Z] 80978eb59214: Pull complete [2024-10-14T07:50:30.651Z] c9f46d7d2bd2: Pull complete [2024-10-14T07:50:33.256Z] c5a475d317c9: Pull complete [2024-10-14T07:50:33.256Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T07:50:33.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T07:50:33.256Z] ---> be29e6b0f0d4 [2024-10-14T07:50:33.256Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T07:50:35.231Z] ---> Running in 1275c057205b [2024-10-14T07:50:35.823Z] Removing intermediate container 1275c057205b [2024-10-14T07:50:35.823Z] ---> 6ebbda9e2b10 [2024-10-14T07:50:35.823Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:50:35.823Z] ---> Running in 4274445e7e83 [2024-10-14T07:50:36.248Z] Removing intermediate container 4274445e7e83 [2024-10-14T07:50:36.248Z] ---> d761e15f0e6b [2024-10-14T07:50:36.248Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:50:36.524Z] ---> Running in 3dff579d3f9c [2024-10-14T07:50:36.796Z] Removing intermediate container 3dff579d3f9c [2024-10-14T07:50:36.796Z] ---> 08e536eb0acf [2024-10-14T07:50:36.796Z] Step 6/12 : WORKDIR /device-uart [2024-10-14T07:50:37.072Z] ---> Running in 1ab4341ea6a5 [2024-10-14T07:50:37.354Z] Removing intermediate container 1ab4341ea6a5 [2024-10-14T07:50:37.354Z] ---> 1f316fbeaa33 [2024-10-14T07:50:37.354Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:50:37.647Z] ---> Running in 2dd05295f09a [2024-10-14T07:50:39.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:50:39.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:50:41.671Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T07:50:41.671Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T07:50:41.671Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T07:50:41.671Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T07:50:41.671Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:50:41.671Z] OK: 242 MiB in 58 packages [2024-10-14T07:50:43.119Z] Removing intermediate container 2dd05295f09a [2024-10-14T07:50:43.120Z] ---> 1310fa910225 [2024-10-14T07:50:43.120Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-14T07:50:43.722Z] ---> 775ab3d525be [2024-10-14T07:50:43.722Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:50:43.998Z] ---> Running in a1c99e6e5087 [2024-10-14T07:52:50.768Z] Removing intermediate container a1c99e6e5087 [2024-10-14T07:52:50.768Z] ---> 42378796aea7 [2024-10-14T07:52:50.768Z] Step 10/12 : COPY . . [2024-10-14T07:52:50.768Z] ---> 3fe8dedd1590 [2024-10-14T07:52:50.768Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:52:50.768Z] ---> Running in a2e00e4912c7 [2024-10-14T07:52:50.768Z] Removing intermediate container a2e00e4912c7 [2024-10-14T07:52:50.768Z] ---> e4a8be8fd599 [2024-10-14T07:52:50.768Z] Step 12/12 : RUN ${MAKE} [2024-10-14T07:52:50.768Z] ---> Running in 1a0d4c4b3b4b [2024-10-14T07:52:50.768Z] noop [2024-10-14T07:52:50.768Z] Removing intermediate container 1a0d4c4b3b4b [2024-10-14T07:52:50.768Z] ---> f97f4f2e83b3 [2024-10-14T07:52:50.768Z] Successfully built f97f4f2e83b3 [2024-10-14T07:52:50.768Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:52:51.289Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:52:51.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:52:51.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-22701 does not seem to be running inside a container [2024-10-14T07:52:51.710Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T07:52:53.164Z] $ docker top 3681dfa3e6bf148b65c86cdbe47e43de58a9cf850acc7bc7775b5f74c1918942 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:52:54.100Z] + go version [2024-10-14T07:52:54.100Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T07:52:54.143Z] $ docker stop --time=1 3681dfa3e6bf148b65c86cdbe47e43de58a9cf850acc7bc7775b5f74c1918942 [2024-10-14T07:52:55.865Z] $ docker rm -f --volumes 3681dfa3e6bf148b65c86cdbe47e43de58a9cf850acc7bc7775b5f74c1918942 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:52:56.827Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:52:56.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:52:57.115Z] prd-ubuntu20.04-docker-arm64-4c-16g-22701 does not seem to be running inside a container [2024-10-14T07:52:57.197Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T07:52:58.435Z] $ docker top 2312fe4a568c608e265b397752296463ab50e33a57e9d0b193f34258da6a307e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:52:59.347Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:53:00.080Z] + make test [2024-10-14T07:53:00.080Z] go test ./... -coverprofile=coverage.out [2024-10-14T07:53:06.751Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-14T07:57:43.812Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-14T07:57:43.812Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-14T07:57:43.812Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T07:57:43.812Z] go vet ./... [2024-10-14T07:58:41.493Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:58:41.493Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:58:41.493Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:58:41.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:58:41.597Z] $ docker stop --time=1 2312fe4a568c608e265b397752296463ab50e33a57e9d0b193f34258da6a307e [2024-10-14T07:58:43.688Z] $ docker rm -f --volumes 2312fe4a568c608e265b397752296463ab50e33a57e9d0b193f34258da6a307e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:58:45.534Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:58:45.586Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T07:58:46.163Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:58:46.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:58:47.203Z] + ls -al . [2024-10-14T07:58:47.203Z] total 232 [2024-10-14T07:58:47.203Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 14 07:53 . [2024-10-14T07:58:47.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:49 .. [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 07:49 .dockerignore [2024-10-14T07:58:47.203Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:49 .git [2024-10-14T07:58:47.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:49 .github [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 14 07:49 .gitignore [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 14 07:49 .golangci.yml [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 14 07:49 Attribution.txt [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 14 07:49 CHANGELOG.md [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 14 07:49 Dockerfile [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:49 GOVERNANCE.md [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 14 07:49 Jenkinsfile [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 07:49 LICENSE [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 2409 Oct 14 07:49 Makefile [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 14 07:49 OWNERS.md [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 14 07:49 README.md [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 07:46 VERSION [2024-10-14T07:58:47.203Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:49 bin [2024-10-14T07:58:47.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:49 cmd [2024-10-14T07:58:47.203Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 14 07:57 coverage.out [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 14 07:49 go.mod [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 14 07:49 go.sum [2024-10-14T07:58:47.203Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:49 internal [2024-10-14T07:58:47.203Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 14 07:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:58:47.674Z] + 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=3ed64162fe5da762afcd5902d8c2c408f66a7072 --label arch=arm64 --label version=0.0.0 . [2024-10-14T07:58:48.272Z] Sending build context to Docker daemon 12.89MB [2024-10-14T07:58:48.272Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:58:48.272Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-14T07:58:48.272Z] ---> f97f4f2e83b3 [2024-10-14T07:58:48.272Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T07:58:48.539Z] ---> Running in 3fae6144a716 [2024-10-14T07:58:48.807Z] Removing intermediate container 3fae6144a716 [2024-10-14T07:58:48.807Z] ---> 4557130a6089 [2024-10-14T07:58:48.807Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:58:48.807Z] ---> Running in e3faed103ef2 [2024-10-14T07:58:49.074Z] Removing intermediate container e3faed103ef2 [2024-10-14T07:58:49.074Z] ---> f66330d8c4fd [2024-10-14T07:58:49.074Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:58:49.342Z] ---> Running in e71466f17452 [2024-10-14T07:58:49.616Z] Removing intermediate container e71466f17452 [2024-10-14T07:58:49.616Z] ---> d04847ee12fe [2024-10-14T07:58:49.616Z] Step 6/26 : WORKDIR /device-uart [2024-10-14T07:58:49.889Z] ---> Running in 287f0e9b6f93 [2024-10-14T07:58:50.164Z] Removing intermediate container 287f0e9b6f93 [2024-10-14T07:58:50.164Z] ---> e396718dcd75 [2024-10-14T07:58:50.164Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:58:50.164Z] ---> Running in 4e49fc9f6953 [2024-10-14T07:58:51.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:58:51.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:58:53.674Z] OK: 242 MiB in 58 packages [2024-10-14T07:58:54.258Z] Removing intermediate container 4e49fc9f6953 [2024-10-14T07:58:54.258Z] ---> 26ac04de0f65 [2024-10-14T07:58:54.258Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-14T07:58:54.844Z] ---> adf2a2b2d3eb [2024-10-14T07:58:54.844Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:58:55.113Z] ---> Running in 582ff33a6af1 [2024-10-14T07:58:57.707Z] Removing intermediate container 582ff33a6af1 [2024-10-14T07:58:57.707Z] ---> 21d0c7ba5748 [2024-10-14T07:58:57.707Z] Step 10/26 : COPY . . [2024-10-14T07:58:58.774Z] ---> efd61a34e4e5 [2024-10-14T07:58:58.774Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:58:58.774Z] ---> Running in cc41af69e0a3 [2024-10-14T07:58:59.043Z] Removing intermediate container cc41af69e0a3 [2024-10-14T07:58:59.043Z] ---> 5e2081ad8300 [2024-10-14T07:58:59.043Z] Step 12/26 : RUN ${MAKE} [2024-10-14T07:58:59.043Z] ---> Running in 6758aff1d0c0 [2024-10-14T07:59:00.458Z] 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.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-uart ./cmd [2024-10-14T08:03:55.107Z] Removing intermediate container 6758aff1d0c0 [2024-10-14T08:03:55.107Z] ---> bcc61606878a [2024-10-14T08:03:55.107Z] Step 13/26 : FROM alpine:3.20 [2024-10-14T08:03:55.107Z] 3.20: Pulling from library/alpine [2024-10-14T08:03:55.107Z] cf04c63912e1: Already exists [2024-10-14T08:03:55.107Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T08:03:55.107Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T08:03:55.107Z] ---> c157a85ed455 [2024-10-14T08:03:55.107Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-14T08:03:55.107Z] ---> Running in a1cd1ab131f6 [2024-10-14T08:03:55.107Z] Removing intermediate container a1cd1ab131f6 [2024-10-14T08:03:55.107Z] ---> 99aa78126947 [2024-10-14T08:03:55.107Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-14T08:03:55.107Z] ---> Running in 3fa05e8ae4d1 [2024-10-14T08:03:55.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T08:03:55.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T08:03:55.107Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T08:03:55.107Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T08:03:55.107Z] OK: 9 MiB in 15 packages [2024-10-14T08:03:55.107Z] Removing intermediate container 3fa05e8ae4d1 [2024-10-14T08:03:55.107Z] ---> fb1a716cff36 [2024-10-14T08:03:55.107Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-14T08:03:55.107Z] ---> Running in d74b2f2792a4 [2024-10-14T08:03:55.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T08:03:55.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T08:03:55.107Z] Upgrading critical system libraries and apk-tools: [2024-10-14T08:03:55.107Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T08:03:55.107Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T08:03:55.107Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T08:03:55.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T08:03:55.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T08:03:56.552Z] OK: 9 MiB in 15 packages [2024-10-14T08:03:57.992Z] Removing intermediate container d74b2f2792a4 [2024-10-14T08:03:57.992Z] ---> 0270b12550f8 [2024-10-14T08:03:57.992Z] Step 17/26 : WORKDIR / [2024-10-14T08:03:57.992Z] ---> Running in 83583478b66a [2024-10-14T08:03:58.263Z] Removing intermediate container 83583478b66a [2024-10-14T08:03:58.263Z] ---> 6fc30cbd1a7f [2024-10-14T08:03:58.263Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-14T08:03:58.853Z] ---> d068116acb26 [2024-10-14T08:03:58.853Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-14T08:03:59.442Z] ---> 5df4b61110ce [2024-10-14T08:03:59.442Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-14T08:04:02.870Z] ---> 8ce1925de90f [2024-10-14T08:04:02.870Z] Step 21/26 : EXPOSE 59995 [2024-10-14T08:04:02.870Z] ---> Running in 6a66bc29988b [2024-10-14T08:04:02.870Z] Removing intermediate container 6a66bc29988b [2024-10-14T08:04:02.870Z] ---> 3304a2e8876b [2024-10-14T08:04:02.870Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-14T08:04:02.870Z] ---> Running in a43f5cfa673f [2024-10-14T08:04:03.463Z] Removing intermediate container a43f5cfa673f [2024-10-14T08:04:03.463Z] ---> 884d6088bbf0 [2024-10-14T08:04:03.463Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-14T08:04:03.463Z] ---> Running in 4ab876ea1e0b [2024-10-14T08:04:03.741Z] Removing intermediate container 4ab876ea1e0b [2024-10-14T08:04:03.741Z] ---> 363071eca47a [2024-10-14T08:04:03.741Z] Step 24/26 : LABEL arch=arm64 [2024-10-14T08:04:04.014Z] ---> Running in 42835574cdc4 [2024-10-14T08:04:04.301Z] Removing intermediate container 42835574cdc4 [2024-10-14T08:04:04.301Z] ---> 6aa6e9cdfaf5 [2024-10-14T08:04:04.301Z] Step 25/26 : LABEL git_sha=3ed64162fe5da762afcd5902d8c2c408f66a7072 [2024-10-14T08:04:04.301Z] ---> Running in cbfb28ef66a4 [2024-10-14T08:04:04.901Z] Removing intermediate container cbfb28ef66a4 [2024-10-14T08:04:04.901Z] ---> 6590ef3e3cd8 [2024-10-14T08:04:04.901Z] Step 26/26 : LABEL version=0.0.0 [2024-10-14T08:04:04.901Z] ---> Running in 07a6f69c220c [2024-10-14T08:04:05.267Z] Removing intermediate container 07a6f69c220c [2024-10-14T08:04:05.267Z] ---> 9603694a2826 [2024-10-14T08:04:05.267Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T08:04:05.267Z] Successfully built 9603694a2826 [2024-10-14T08:04:05.540Z] 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-14T08:04:06.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:04:06.592Z] [2024-10-14T08:04:06.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T08:04:07.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:04:07.329Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T08:04:07.329Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T08:04:07.329Z] 04944245beec: Pulling fs layer [2024-10-14T08:04:07.329Z] 699f458cf7ca: Pulling fs layer [2024-10-14T08:04:07.329Z] 765212b225bb: Pulling fs layer [2024-10-14T08:04:07.329Z] f23df028b6ca: Pulling fs layer [2024-10-14T08:04:07.329Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T08:04:07.329Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T08:04:07.329Z] 765212b225bb: Waiting [2024-10-14T08:04:07.329Z] f23df028b6ca: Waiting [2024-10-14T08:04:07.329Z] d65c8cfc05b1: Waiting [2024-10-14T08:04:07.329Z] 2437ff75d9bd: Waiting [2024-10-14T08:04:07.329Z] 04944245beec: Verifying Checksum [2024-10-14T08:04:07.329Z] 04944245beec: Download complete [2024-10-14T08:04:07.329Z] 765212b225bb: Verifying Checksum [2024-10-14T08:04:07.329Z] 765212b225bb: Download complete [2024-10-14T08:04:07.329Z] f23df028b6ca: Download complete [2024-10-14T08:04:07.329Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T08:04:07.329Z] d65c8cfc05b1: Download complete [2024-10-14T08:04:07.606Z] 699f458cf7ca: Verifying Checksum [2024-10-14T08:04:07.606Z] 699f458cf7ca: Download complete [2024-10-14T08:04:08.222Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T08:04:08.222Z] 8998bd30e6a1: Download complete [2024-10-14T08:04:11.612Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T08:04:11.612Z] 2437ff75d9bd: Download complete [2024-10-14T08:04:14.224Z] 8998bd30e6a1: Pull complete [2024-10-14T08:04:14.491Z] 04944245beec: Pull complete [2024-10-14T08:04:16.443Z] 699f458cf7ca: Pull complete [2024-10-14T08:04:16.443Z] 765212b225bb: Pull complete [2024-10-14T08:04:17.414Z] f23df028b6ca: Pull complete [2024-10-14T08:04:17.690Z] d65c8cfc05b1: Pull complete [2024-10-14T08:04:36.119Z] 2437ff75d9bd: Pull complete [2024-10-14T08:04:36.119Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T08:04:36.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:04:36.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T08:04:36.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-22701 does not seem to be running inside a container [2024-10-14T08:04:36.612Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-14T08:04:39.928Z] $ docker top cd375455572a5e10cf78c3faf8c3a18a0c59b1fe5fe2741eb08c2b635bde4854 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:04:40.889Z] ---> job-cost.sh [2024-10-14T08:04:40.889Z] lf-activate-venv: SKIPPING [2024-10-14T08:04:40.889Z] INFO: No Stack... [2024-10-14T08:04:41.467Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T08:04:42.049Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T08:04:42.982Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-10-14T08:04:42.982Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T08:04:43.049Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-78-1-stack-cost] [2024-10-14T08:04:43.057Z] Resource [jenkins-edgexfoundry-device-uart-PR-78-1-stack-cost] did not exist. Created. [2024-10-14T08:04:43.065Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-78-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T08:04:43.824Z] /w/workspace/device-uart/1@tmp/durable-0ad27931/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T08:04:45.034Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T08:04:45.075Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T08:04:45.146Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T08:04:45.164Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-78-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T08:04:45.262Z] $ docker stop --time=1 cd375455572a5e10cf78c3faf8c3a18a0c59b1fe5fe2741eb08c2b635bde4854 [2024-10-14T08:04:46.864Z] $ docker rm -f --volumes cd375455572a5e10cf78c3faf8c3a18a0c59b1fe5fe2741eb08c2b635bde4854 [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-14T08:04:48.005Z] provisioning config files... [2024-10-14T08:04:48.012Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-78@tmp/config4214584076825983142tmp [Pipeline] { [Pipeline] sh [2024-10-14T08:04:48.374Z] + set +x [2024-10-14T08:04:48.374Z] + + bashcurl -s -s -- https://codecov.io/bash [2024-10-14T08:04:48.374Z] [2024-10-14T08:04:48.374Z] [2024-10-14T08:04:48.374Z] _____ _ [2024-10-14T08:04:48.374Z] / ____| | | [2024-10-14T08:04:48.374Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T08:04:48.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T08:04:48.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T08:04:48.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T08:04:48.374Z] Bash-1.0.6 [2024-10-14T08:04:48.374Z] [2024-10-14T08:04:48.374Z] [2024-10-14T08:04:48.374Z] ==> git version 2.25.1 found [2024-10-14T08:04:48.374Z] ==> 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-14T08:04:48.374Z] Release-Date: 2020-01-08 [2024-10-14T08:04:48.374Z] 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-14T08:04:48.374Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T08:04:48.374Z] ==> Jenkins CI detected. [2024-10-14T08:04:48.374Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-78 [2024-10-14T08:04:48.374Z] project root: . [2024-10-14T08:04:48.374Z] --> token set from env [2024-10-14T08:04:48.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T08:04:48.374Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T08:04:48.374Z] ==> Python coveragepy not found [2024-10-14T08:04:48.374Z] ==> Searching for coverage reports in: [2024-10-14T08:04:48.374Z] + . [2024-10-14T08:04:48.374Z] -> Found 1 reports [2024-10-14T08:04:48.374Z] ==> Detecting git/mercurial file structure [2024-10-14T08:04:48.374Z] ==> Reading reports [2024-10-14T08:04:48.634Z] + ./coverage.out bytes=6770 [2024-10-14T08:04:48.634Z] ==> Appending adjustments [2024-10-14T08:04:48.634Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T08:04:48.634Z] + Found adjustments [2024-10-14T08:04:48.634Z] ==> Gzipping contents [2024-10-14T08:04:48.634Z] 4.0K /tmp/codecov.s4YqWT.gz [2024-10-14T08:04:48.634Z] ==> Uploading reports [2024-10-14T08:04:48.634Z] url: https://codecov.io [2024-10-14T08:04:48.634Z] query: branch=PR-78&commit=3ed64162fe5da762afcd5902d8c2c408f66a7072&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-78%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=78&job=&cmd_args= [2024-10-14T08:04:48.634Z] -> Pinging Codecov [2024-10-14T08:04:48.635Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-78&commit=3ed64162fe5da762afcd5902d8c2c408f66a7072&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-78%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=78&job=&cmd_args= [2024-10-14T08:04:48.895Z] -> Uploading to [2024-10-14T08:04:48.895Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/3ed64162fe5da762afcd5902d8c2c408f66a7072/54fb9f1d-f37f-4e55-9be9-9c68c1afaa63.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T080448Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=4186a69c7912688706b5d5bdab90584da5710dcb0cb90dc4c86fe35a51ea9855 [2024-10-14T08:04:48.895Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T08:04:48.895Z] Dload Upload Total Spent Left Speed [2024-10-14T08:04:49.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 5564 --:--:-- --:--:-- --:--:-- 5564 [2024-10-14T08:04:49.155Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/3ed64162fe5da762afcd5902d8c2c408f66a7072 [Pipeline] } [2024-10-14T08:04:49.184Z] 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-14T08:04:51.450Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-78/archives ] [2024-10-14T08:04:51.450Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-78/archives [2024-10-14T08:04:51.450Z] total 16 [2024-10-14T08:04:51.450Z] drwxr-xr-x 3 root root 4096 Oct 14 07:49 . [2024-10-14T08:04:51.450Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 07:49 .. [2024-10-14T08:04:51.450Z] drwxr-xr-x 2 root root 4096 Oct 14 07:49 cost [2024-10-14T08:04:51.450Z] -rw-r--r-- 1 root root 82 Oct 14 07:49 cost.csv [2024-10-14T08:04:51.450Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-78/archives [2024-10-14T08:04:51.450Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-78/archives [2024-10-14T08:04:51.450Z] total 16 [2024-10-14T08:04:51.450Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:49 . [2024-10-14T08:04:51.450Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 07:49 .. [2024-10-14T08:04:51.450Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 07:49 cost [2024-10-14T08:04:51.450Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 14 07:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:04:51.791Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:04:52.695Z] ---> package-listing.sh [2024-10-14T08:04:52.695Z] ++ facter osfamily [2024-10-14T08:04:52.695Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T08:04:52.953Z] + OS_FAMILY=debian [2024-10-14T08:04:52.953Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-78 [2024-10-14T08:04:52.953Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T08:04:52.953Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T08:04:52.953Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T08:04:52.953Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T08:04:52.953Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-78 ']' [2024-10-14T08:04:52.953Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T08:04:52.953Z] + case "${OS_FAMILY}" in [2024-10-14T08:04:52.953Z] + dpkg -l [2024-10-14T08:04:52.953Z] + grep '^ii' [2024-10-14T08:04:52.953Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T08:04:52.953Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T08:04:52.953Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T08:04:52.953Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-78 ']' [2024-10-14T08:04:52.953Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-78/archives/ [2024-10-14T08:04:52.953Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-78/archives/ [Pipeline] echo [2024-10-14T08:04:52.999Z] 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-78/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T08:04:53.298Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T08:04:53.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T08:04:53.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T08:04:54.122Z] prd-ubuntu20.04-docker-8c-8g-22696 does not seem to be running inside a container [2024-10-14T08:04:54.149Z] $ 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-78/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-78 -v /w/workspace/edgexfoundry_device-uart_PR-78:/w/workspace/edgexfoundry_device-uart_PR-78:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-78@tmp:/w/workspace/edgexfoundry_device-uart_PR-78@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T08:04:54.352Z] $ docker top 1fc039b137c004a4cb58d0a8653c619f95a7a6f067f00cbe6b03dfc5952e381e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T08:04:54.764Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T08:04:55.089Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T08:04:55.409Z] + ls /var/log/sa-host [2024-10-14T08:04:55.409Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T08:04:55.572Z] provisioning config files... [2024-10-14T08:04:55.581Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-78@tmp/config14033190997942096644tmp [Pipeline] { [Pipeline] echo [2024-10-14T08:04:55.658Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:04:55.987Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T08:04:56.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:04:56.457Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T08:04:56.501Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:04:56.833Z] ---> sudo-logs.sh [2024-10-14T08:04:56.833Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T08:04:56.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:04:57.274Z] ---> job-cost.sh [2024-10-14T08:04:57.274Z] lf-activate-venv: SKIPPING [2024-10-14T08:04:57.274Z] DEBUG: total: 0.2199999988079071 [2024-10-14T08:04:57.274Z] INFO: Retrieving Stack Cost... [2024-10-14T08:04:57.535Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T08:04:58.105Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T08:04:58.146Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:04:58.468Z] ---> logs-deploy.sh [2024-10-14T08:04:58.468Z] lf-activate-venv: SKIPPING [2024-10-14T08:04:58.468Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-78/1 [2024-10-14T08:04:58.468Z] INFO: archiving workspace using pattern(s): [2024-10-14T08:04:59.410Z] Archives upload complete. [2024-10-14T08:04:59.410Z] INFO: archiving logs to Nexus