Pull request #79 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d30086d1cf091ff0b16e2b98747375d51fb4e28c+525263609ead5b532ada571fa9b1f96dcb09a5f9 (229dfece6303db9fda8c9f35271c97e6c2d77f64) 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-ssh5422680678215328347.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-ssh10402383867496104773.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-79/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-79/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7665947355708455855.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-79/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1226159743826516085.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-ssh10241525675247054206.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-79/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-79/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17903424662311510349.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22799 in /w/workspace/edgexfoundry_device-uart_PR-79 [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-79 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 525263609ead5b532ada571fa9b1f96dcb09a5f9 into PR head commit d30086d1cf091ff0b16e2b98747375d51fb4e28c Merge succeeded, producing d30086d1cf091ff0b16e2b98747375d51fb4e28c Checking out Revision d30086d1cf091ff0b16e2b98747375d51fb4e28c (PR-79) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f d30086d1cf091ff0b16e2b98747375d51fb4e28c # 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 525263609ead5b532ada571fa9b1f96dcb09a5f9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d30086d1cf091ff0b16e2b98747375d51fb4e28c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T18:35:37.978Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T18:35:39.955Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T18:35:44.814Z] ========================================================= [2024-10-14T18:35:44.814Z] EdgeX Global Pipelines Version Info [2024-10-14T18:35:44.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:35:45.952Z] ------------------- [2024-10-14T18:35:45.952Z] stable info: [2024-10-14T18:35:45.952Z] ------------------- [2024-10-14T18:35:45.952Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T18:35:45.952Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T18:35:45.952Z] Message: update stable to v1.0.265 [2024-10-14T18:35:46.212Z] ------------------- [2024-10-14T18:35:46.212Z] experimental info: [2024-10-14T18:35:46.212Z] ------------------- [2024-10-14T18:35:46.212Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T18:35:46.212Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T18:35:46.212Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T18:35:46.435Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-14T18:35:46.498Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-14T18:35:46.558Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T18:35:46.626Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T18:35:46.693Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T18:35:46.757Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T18:35:46.818Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T18:35:46.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T18:35:46.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T18:35:46.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T18:35:47.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T18:35:47.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-14T18:35:47.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T18:35:47.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T18:35:47.289Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T18:35:47.345Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T18:35:47.405Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T18:35:47.464Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T18:35:47.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T18:35:47.584Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T18:35:47.643Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-14T18:35:47.704Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-14T18:35:47.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T18:35:47.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T18:35:47.894Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T18:35:47.952Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T18:35:48.157Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T18:35:48.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo [2024-10-14T18:35:48.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo [2024-10-14T18:35:48.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo [2024-10-14T18:35:48.387Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d30086d1cf091ff0b16e2b98747375d51fb4e28c [Pipeline] echo [2024-10-14T18:35:48.445Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d30086d [Pipeline] echo [2024-10-14T18:35:48.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T18:35:48.657Z] provisioning config files... [2024-10-14T18:35:48.670Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-79@tmp/config7861115327492331485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:35:49.060Z] ---> ****-login.sh [2024-10-14T18:35:49.060Z] nexus3.edgexfoundry.org:10001 [2024-10-14T18:35:49.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:35:49.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:35:49.320Z] Configure a credential helper to remove this warning. See [2024-10-14T18:35:49.320Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:35:49.320Z] [2024-10-14T18:35:49.320Z] Login Succeeded [2024-10-14T18:35:49.320Z] nexus3.edgexfoundry.org:10002 [2024-10-14T18:35:49.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:35:49.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:35:49.583Z] Configure a credential helper to remove this warning. See [2024-10-14T18:35:49.583Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:35:49.583Z] [2024-10-14T18:35:49.583Z] Login Succeeded [2024-10-14T18:35:49.583Z] nexus3.edgexfoundry.org:10003 [2024-10-14T18:35:49.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:35:49.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:35:49.583Z] Configure a credential helper to remove this warning. See [2024-10-14T18:35:49.583Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:35:49.583Z] [2024-10-14T18:35:49.583Z] Login Succeeded [2024-10-14T18:35:49.583Z] nexus3.edgexfoundry.org:10004 [2024-10-14T18:35:49.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:35:49.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:35:49.584Z] Configure a credential helper to remove this warning. See [2024-10-14T18:35:49.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:35:49.584Z] [2024-10-14T18:35:49.584Z] Login Succeeded [2024-10-14T18:35:49.584Z] ****.io [2024-10-14T18:35:49.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:35:49.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:35:49.845Z] Configure a credential helper to remove this warning. See [2024-10-14T18:35:49.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:35:49.845Z] [2024-10-14T18:35:49.845Z] Login Succeeded [2024-10-14T18:35:49.845Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T18:35:49.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T18:35:50.568Z] + git rev-list -1 --merges d30086d1cf091ff0b16e2b98747375d51fb4e28c~1..d30086d1cf091ff0b16e2b98747375d51fb4e28c [Pipeline] echo [2024-10-14T18:35:50.620Z] -----------> git rev-list -1 --merges d30086d1cf091ff0b16e2b98747375d51fb4e28c~1..d30086d1cf091ff0b16e2b98747375d51fb4e28c d30086d1cf091ff0b16e2b98747375d51fb4e28c [false] [Pipeline] sh [2024-10-14T18:35:50.940Z] + git log --format=format:%s -1 d30086d1cf091ff0b16e2b98747375d51fb4e28c [Pipeline] echo [2024-10-14T18:35:50.980Z] ========================================================= [2024-10-14T18:35:50.980Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T18:35:50.980Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T18:35:51.436Z] + git log --format=format:%s -1 d30086d1cf091ff0b16e2b98747375d51fb4e28c [Pipeline] echo [2024-10-14T18:35:51.472Z] [semverPrep] GIT_COMMIT: d30086d1cf091ff0b16e2b98747375d51fb4e28c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-14T18:35:51.514Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T18:35:51.924Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T18:35:51.924Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T18:35:51.924Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T18:35:51.924Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T18:35:51.924Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2024-10-14T18:35:51.924Z] tee -a /etc/ssh/ssh_known_hosts [2024-10-14T18:35:51.924Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:35:52.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T18:35:52.445Z] [2024-10-14T18:35:52.445Z] 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-14T18:35:52.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T18:35:53.094Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T18:35:53.094Z] b85a868b505f: Pulling fs layer [2024-10-14T18:35:53.094Z] e2be974225ed: Pulling fs layer [2024-10-14T18:35:53.094Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T18:35:53.094Z] 988bab9f4d93: Pulling fs layer [2024-10-14T18:35:53.094Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T18:35:53.094Z] eaf3925da568: Pulling fs layer [2024-10-14T18:35:53.094Z] bab4dde63d76: Pulling fs layer [2024-10-14T18:35:53.094Z] bde34c3a00c8: Pulling fs layer [2024-10-14T18:35:53.094Z] b352a97aabf1: Pulling fs layer [2024-10-14T18:35:53.094Z] 4872d77fe225: Pulling fs layer [2024-10-14T18:35:53.094Z] 5851b861e8e6: Pulling fs layer [2024-10-14T18:35:53.094Z] bab4dde63d76: Waiting [2024-10-14T18:35:53.094Z] 4872d77fe225: Waiting [2024-10-14T18:35:53.094Z] 5851b861e8e6: Waiting [2024-10-14T18:35:53.094Z] bde34c3a00c8: Waiting [2024-10-14T18:35:53.094Z] b352a97aabf1: Waiting [2024-10-14T18:35:53.094Z] 988bab9f4d93: Waiting [2024-10-14T18:35:53.094Z] 1469e6f7b9e6: Waiting [2024-10-14T18:35:53.094Z] eaf3925da568: Waiting [2024-10-14T18:35:53.353Z] e2be974225ed: Download complete [2024-10-14T18:35:53.353Z] 988bab9f4d93: Verifying Checksum [2024-10-14T18:35:53.353Z] 988bab9f4d93: Download complete [2024-10-14T18:35:53.353Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T18:35:53.353Z] 1469e6f7b9e6: Download complete [2024-10-14T18:35:53.353Z] eaf3925da568: Verifying Checksum [2024-10-14T18:35:53.353Z] eaf3925da568: Download complete [2024-10-14T18:35:53.353Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T18:35:53.353Z] 339a4e72a1f5: Download complete [2024-10-14T18:35:53.353Z] bde34c3a00c8: Verifying Checksum [2024-10-14T18:35:53.353Z] bde34c3a00c8: Download complete [2024-10-14T18:35:53.353Z] b352a97aabf1: Verifying Checksum [2024-10-14T18:35:53.353Z] b352a97aabf1: Download complete [2024-10-14T18:35:53.353Z] 4872d77fe225: Verifying Checksum [2024-10-14T18:35:53.353Z] 4872d77fe225: Download complete [2024-10-14T18:35:53.353Z] 5851b861e8e6: Download complete [2024-10-14T18:35:53.353Z] b85a868b505f: Verifying Checksum [2024-10-14T18:35:53.353Z] b85a868b505f: Download complete [2024-10-14T18:35:53.920Z] bab4dde63d76: Verifying Checksum [2024-10-14T18:35:53.920Z] bab4dde63d76: Download complete [2024-10-14T18:35:54.858Z] b85a868b505f: Pull complete [2024-10-14T18:35:54.859Z] e2be974225ed: Pull complete [2024-10-14T18:35:55.121Z] 339a4e72a1f5: Pull complete [2024-10-14T18:35:55.381Z] 988bab9f4d93: Pull complete [2024-10-14T18:35:55.640Z] 1469e6f7b9e6: Pull complete [2024-10-14T18:35:55.640Z] eaf3925da568: Pull complete [2024-10-14T18:35:57.015Z] bab4dde63d76: Pull complete [2024-10-14T18:35:57.015Z] bde34c3a00c8: Pull complete [2024-10-14T18:35:57.274Z] b352a97aabf1: Pull complete [2024-10-14T18:35:57.274Z] 4872d77fe225: Pull complete [2024-10-14T18:35:57.274Z] 5851b861e8e6: Pull complete [2024-10-14T18:35:57.274Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T18:35:57.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T18:35:57.274Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:35:57.557Z] prd-ubuntu20.04-docker-8c-8g-22799 does not seem to be running inside a container [2024-10-14T18:35:57.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-79 -v /w/workspace/edgexfoundry_device-uart_PR-79:/w/workspace/edgexfoundry_device-uart_PR-79:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-79@tmp:/w/workspace/edgexfoundry_device-uart_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-14T18:36:00.191Z] $ docker top 429fb1e18f1d0405e8c289e514c014ad30f695e80b69b03e320679b9998cf19c -eo pid,comm [2024-10-14T18:36:00.243Z] 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-14T18:36:00.243Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T18:36:00.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T18:36:00.408Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T18:36:00.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T18:36:00.511Z] $ docker exec 429fb1e18f1d0405e8c289e514c014ad30f695e80b69b03e320679b9998cf19c ssh-agent [2024-10-14T18:36:00.611Z] SSH_AUTH_SOCK=/tmp/ssh-eoYkOFrQQIa8/agent.34 [2024-10-14T18:36:00.611Z] SSH_AGENT_PID=40 [2024-10-14T18:36:00.617Z] Running ssh-add (command line suppressed) [2024-10-14T18:36:00.708Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-79@tmp/private_key_14547366358448689497.key (/w/workspace/edgexfoundry_device-uart_PR-79@tmp/private_key_14547366358448689497.key) [2024-10-14T18:36:00.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T18:36:01.071Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T18:36:01.092Z] $ docker exec --env ******** --env ******** 429fb1e18f1d0405e8c289e514c014ad30f695e80b69b03e320679b9998cf19c ssh-agent -k [2024-10-14T18:36:01.185Z] unset SSH_AUTH_SOCK; [2024-10-14T18:36:01.186Z] unset SSH_AGENT_PID; [2024-10-14T18:36:01.186Z] echo Agent pid 40 killed; [2024-10-14T18:36:01.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T18:36:01.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T18:36:01.311Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T18:36:01.431Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T18:36:01.433Z] $ docker exec 429fb1e18f1d0405e8c289e514c014ad30f695e80b69b03e320679b9998cf19c ssh-agent [2024-10-14T18:36:01.538Z] SSH_AUTH_SOCK=/tmp/ssh-sPnsz0kzjPE7/agent.73 [2024-10-14T18:36:01.538Z] SSH_AGENT_PID=79 [2024-10-14T18:36:01.542Z] Running ssh-add (command line suppressed) [2024-10-14T18:36:01.644Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-79@tmp/private_key_5546577570271342275.key (/w/workspace/edgexfoundry_device-uart_PR-79@tmp/private_key_5546577570271342275.key) [2024-10-14T18:36:01.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T18:36:01.996Z] + git semver init [2024-10-14T18:36:02.256Z] 2024-10-14 18:36:02,170 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T18:36:02.256Z] 2024-10-14 18:36:02,170 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-79/.semver [2024-10-14T18:36:02.256Z] 2024-10-14 18:36:02,171 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-79/.semver [2024-10-14T18:36:02.256Z] 2024-10-14 18:36:02,171 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-79/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-79, universal_newlines=False, shell=None, istream=None) [2024-10-14T18:36:03.634Z] 2024-10-14 18:36:03,436 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-79/.git/info/exclude [2024-10-14T18:36:03.634Z] 2024-10-14 18:36:03,436 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-79/.semver/PR-79 with force:False [2024-10-14T18:36:03.634Z] 2024-10-14 18:36:03,437 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-79/.semver/PR-79 [2024-10-14T18:36:03.634Z] 2024-10-14 18:36:03,441 [execute] INFO git cat-file --batch-check [2024-10-14T18:36:03.634Z] 2024-10-14 18:36:03,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-79/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T18:36:03.634Z] 2024-10-14 18:36:03,447 [execute] INFO git cat-file --batch [2024-10-14T18:36:03.634Z] 2024-10-14 18:36:03,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-79/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T18:36:03.634Z] 2024-10-14 18:36:03,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-79/.semver/PR-79 [2024-10-14T18:36:03.634Z] 0.0.0 [Pipeline] } [2024-10-14T18:36:03.661Z] $ docker exec --env ******** --env ******** 429fb1e18f1d0405e8c289e514c014ad30f695e80b69b03e320679b9998cf19c ssh-agent -k [2024-10-14T18:36:03.772Z] unset SSH_AUTH_SOCK; [2024-10-14T18:36:03.773Z] unset SSH_AGENT_PID; [2024-10-14T18:36:03.773Z] echo Agent pid 79 killed; [2024-10-14T18:36:03.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T18:36:04.238Z] + git semver [Pipeline] } [2024-10-14T18:36:04.525Z] $ docker stop --time=1 429fb1e18f1d0405e8c289e514c014ad30f695e80b69b03e320679b9998cf19c [2024-10-14T18:36:05.802Z] $ docker rm -f --volumes 429fb1e18f1d0405e8c289e514c014ad30f695e80b69b03e320679b9998cf19c [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T18:36:06.223Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T18:36:06.531Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T18:36:06.556Z] [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-14T18:36:07.307Z] provisioning config files... [2024-10-14T18:36:07.317Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-79@tmp/config1597386815666754636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:36:07.690Z] ---> ****-login.sh [2024-10-14T18:36:07.691Z] nexus3.edgexfoundry.org:10001 [2024-10-14T18:36:07.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:36:07.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:36:07.691Z] Configure a credential helper to remove this warning. See [2024-10-14T18:36:07.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:36:07.691Z] [2024-10-14T18:36:07.691Z] Login Succeeded [2024-10-14T18:36:07.691Z] nexus3.edgexfoundry.org:10002 [2024-10-14T18:36:07.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:36:07.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:36:07.691Z] Configure a credential helper to remove this warning. See [2024-10-14T18:36:07.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:36:07.691Z] [2024-10-14T18:36:07.691Z] Login Succeeded [2024-10-14T18:36:07.691Z] nexus3.edgexfoundry.org:10003 [2024-10-14T18:36:07.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:36:07.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:36:07.951Z] Configure a credential helper to remove this warning. See [2024-10-14T18:36:07.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:36:07.951Z] [2024-10-14T18:36:07.951Z] Login Succeeded [2024-10-14T18:36:07.951Z] nexus3.edgexfoundry.org:10004 [2024-10-14T18:36:07.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:36:07.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:36:07.951Z] Configure a credential helper to remove this warning. See [2024-10-14T18:36:07.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:36:07.951Z] [2024-10-14T18:36:07.951Z] Login Succeeded [2024-10-14T18:36:07.951Z] ****.io [2024-10-14T18:36:07.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:36:08.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:36:08.211Z] Configure a credential helper to remove this warning. See [2024-10-14T18:36:08.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:36:08.211Z] [2024-10-14T18:36:08.211Z] Login Succeeded [2024-10-14T18:36:08.211Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T18:36:08.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T18:36:08.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T18:36:08.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T18:36:08.589Z] ========================================================= [2024-10-14T18:36:08.589Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T18:36:08.589Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:36:09.122Z] + 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-14T18:36:09.122Z] Sending build context to Docker daemon 25.62MB [2024-10-14T18:36:09.122Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T18:36:09.122Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T18:36:09.122Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T18:36:09.122Z] 43c4264eed91: Pulling fs layer [2024-10-14T18:36:09.122Z] 4cc291be95ef: Pulling fs layer [2024-10-14T18:36:09.122Z] 2ac1f1163629: Pulling fs layer [2024-10-14T18:36:09.122Z] 5c3c966382ef: Pulling fs layer [2024-10-14T18:36:09.122Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T18:36:09.122Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T18:36:09.122Z] 9f66e0745190: Pulling fs layer [2024-10-14T18:36:09.122Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T18:36:09.122Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T18:36:09.122Z] 5c3c966382ef: Waiting [2024-10-14T18:36:09.122Z] 4f4fb700ef54: Waiting [2024-10-14T18:36:09.122Z] f49a43e4bbc0: Waiting [2024-10-14T18:36:09.122Z] 561ebcabdf7f: Waiting [2024-10-14T18:36:09.122Z] 5d5c8e513c77: Waiting [2024-10-14T18:36:09.122Z] 9f66e0745190: Waiting [2024-10-14T18:36:09.122Z] 4cc291be95ef: Download complete [2024-10-14T18:36:09.382Z] 5c3c966382ef: Verifying Checksum [2024-10-14T18:36:09.382Z] 5c3c966382ef: Download complete [2024-10-14T18:36:09.382Z] 4f4fb700ef54: Download complete [2024-10-14T18:36:09.382Z] 5d5c8e513c77: Verifying Checksum [2024-10-14T18:36:09.382Z] 5d5c8e513c77: Download complete [2024-10-14T18:36:09.382Z] 43c4264eed91: Download complete [2024-10-14T18:36:09.382Z] 9f66e0745190: Verifying Checksum [2024-10-14T18:36:09.382Z] 9f66e0745190: Download complete [2024-10-14T18:36:09.382Z] 43c4264eed91: Pull complete [2024-10-14T18:36:09.642Z] 4cc291be95ef: Pull complete [2024-10-14T18:36:09.642Z] 561ebcabdf7f: Download complete [2024-10-14T18:36:09.900Z] 2ac1f1163629: Verifying Checksum [2024-10-14T18:36:09.900Z] 2ac1f1163629: Download complete [2024-10-14T18:36:10.159Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T18:36:10.159Z] f49a43e4bbc0: Download complete [2024-10-14T18:36:13.444Z] 2ac1f1163629: Pull complete [2024-10-14T18:36:13.444Z] 5c3c966382ef: Pull complete [2024-10-14T18:36:13.444Z] 4f4fb700ef54: Pull complete [2024-10-14T18:36:13.444Z] 5d5c8e513c77: Pull complete [2024-10-14T18:36:13.444Z] 9f66e0745190: Pull complete [2024-10-14T18:36:15.343Z] f49a43e4bbc0: Pull complete [2024-10-14T18:36:15.911Z] 561ebcabdf7f: Pull complete [2024-10-14T18:36:15.911Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T18:36:15.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T18:36:15.911Z] ---> 3a752c3f9dda [2024-10-14T18:36:15.911Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T18:36:21.180Z] ---> Running in d5caa3780f2c [2024-10-14T18:36:21.180Z] Removing intermediate container d5caa3780f2c [2024-10-14T18:36:21.180Z] ---> 7af125ba06ec [2024-10-14T18:36:21.180Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T18:36:21.180Z] ---> Running in 2e4bf8b9cfac [2024-10-14T18:36:21.180Z] Removing intermediate container 2e4bf8b9cfac [2024-10-14T18:36:21.180Z] ---> 232117d20556 [2024-10-14T18:36:21.180Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T18:36:21.180Z] ---> Running in 8527c0fe1698 [2024-10-14T18:36:21.180Z] Removing intermediate container 8527c0fe1698 [2024-10-14T18:36:21.180Z] ---> 4462e791841e [2024-10-14T18:36:21.180Z] Step 6/12 : WORKDIR /device-uart [2024-10-14T18:36:21.180Z] ---> Running in 71359191a026 [2024-10-14T18:36:21.180Z] Removing intermediate container 71359191a026 [2024-10-14T18:36:21.180Z] ---> fd7d33fdd8fc [2024-10-14T18:36:21.180Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T18:36:21.180Z] ---> Running in 01a31e29f2c5 [2024-10-14T18:36:21.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:36:21.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:36:21.440Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T18:36:21.440Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T18:36:21.440Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T18:36:21.699Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T18:36:21.699Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:36:21.699Z] OK: 250 MiB in 58 packages [2024-10-14T18:36:21.959Z] Removing intermediate container 01a31e29f2c5 [2024-10-14T18:36:21.959Z] ---> 8312c0eb44ab [2024-10-14T18:36:21.959Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-14T18:36:22.085Z] Still waiting to schedule task [2024-10-14T18:36:22.085Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-14T18:36:22.219Z] ---> b5cf7d676b90 [2024-10-14T18:36:22.219Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T18:36:22.219Z] ---> Running in 031c4f933287 [2024-10-14T18:37:08.908Z] Removing intermediate container 031c4f933287 [2024-10-14T18:37:08.908Z] ---> f622df1ff5da [2024-10-14T18:37:08.908Z] Step 10/12 : COPY . . [2024-10-14T18:37:10.813Z] ---> d09b1571566b [2024-10-14T18:37:10.813Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T18:37:10.813Z] ---> Running in cb0c9e1b84dd [2024-10-14T18:37:10.813Z] Removing intermediate container cb0c9e1b84dd [2024-10-14T18:37:10.813Z] ---> 3965b01300d7 [2024-10-14T18:37:10.813Z] Step 12/12 : RUN ${MAKE} [2024-10-14T18:37:10.813Z] ---> Running in 7bdf93829911 [2024-10-14T18:37:11.072Z] noop [2024-10-14T18:37:11.331Z] Removing intermediate container 7bdf93829911 [2024-10-14T18:37:11.331Z] ---> 6af460e95d2f [2024-10-14T18:37:11.331Z] Successfully built 6af460e95d2f [2024-10-14T18:37:11.331Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:37:11.852Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T18:37:11.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:37:12.034Z] prd-ubuntu20.04-docker-8c-8g-22799 does not seem to be running inside a container [2024-10-14T18:37:12.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-79 -v /w/workspace/edgexfoundry_device-uart_PR-79:/w/workspace/edgexfoundry_device-uart_PR-79:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-79@tmp:/w/workspace/edgexfoundry_device-uart_PR-79@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 ******** ci-base-image-x86_64 cat [2024-10-14T18:37:12.400Z] $ docker top a2adb5d624eaf0423aac102bd7856ec4458bcda1d8ada083719b2ca6d54f7042 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T18:37:12.815Z] + go version [2024-10-14T18:37:12.815Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T18:37:12.854Z] $ docker stop --time=1 a2adb5d624eaf0423aac102bd7856ec4458bcda1d8ada083719b2ca6d54f7042 [2024-10-14T18:37:14.129Z] $ docker rm -f --volumes a2adb5d624eaf0423aac102bd7856ec4458bcda1d8ada083719b2ca6d54f7042 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:37:14.921Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T18:37:14.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:37:15.097Z] prd-ubuntu20.04-docker-8c-8g-22799 does not seem to be running inside a container [2024-10-14T18:37:15.131Z] $ 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-79 -v /w/workspace/edgexfoundry_device-uart_PR-79:/w/workspace/edgexfoundry_device-uart_PR-79:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-79@tmp:/w/workspace/edgexfoundry_device-uart_PR-79@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 ******** ci-base-image-x86_64 cat [2024-10-14T18:37:15.422Z] $ docker top 0eb7c9aa09852d618ccf7a9871b54c65f5248385b8aac7b5384337bfff36b702 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T18:37:15.843Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-79 [Pipeline] fileExists [Pipeline] sh [2024-10-14T18:37:16.227Z] + make test [2024-10-14T18:37:16.227Z] go test ./... -coverprofile=coverage.out [2024-10-14T18:37:17.604Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-14T18:37:35.682Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-14T18:37:35.682Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-14T18:37:43.793Z] go vet ./... [2024-10-14T18:37:49.060Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T18:37:49.060Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T18:37:49.060Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T18:37:49.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T18:37:49.151Z] $ docker stop --time=1 0eb7c9aa09852d618ccf7a9871b54c65f5248385b8aac7b5384337bfff36b702 [2024-10-14T18:37:53.533Z] $ docker rm -f --volumes 0eb7c9aa09852d618ccf7a9871b54c65f5248385b8aac7b5384337bfff36b702 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T18:37:54.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T18:37:54.242Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T18:37:55.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T18:37:55.330Z] + ls -al . [2024-10-14T18:37:55.330Z] total 236 [2024-10-14T18:37:55.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 18:37 . [2024-10-14T18:37:55.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 18:35 .. [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 18:35 .dockerignore [2024-10-14T18:37:55.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 18:37 .git [2024-10-14T18:37:55.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 18:35 .github [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 14 18:35 .gitignore [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 14 18:35 .golangci.yml [2024-10-14T18:37:55.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 18:36 .semver [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 14 18:35 Attribution.txt [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 14 18:35 CHANGELOG.md [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 14 18:35 Dockerfile [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 18:35 GOVERNANCE.md [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 14 18:35 Jenkinsfile [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 18:35 LICENSE [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 2409 Oct 14 18:35 Makefile [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 14 18:35 OWNERS.md [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 14 18:35 README.md [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 18:36 VERSION [2024-10-14T18:37:55.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 18:35 bin [2024-10-14T18:37:55.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 18:35 cmd [2024-10-14T18:37:55.330Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 14 18:37 coverage.out [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 14 18:35 go.mod [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 14 18:35 go.sum [2024-10-14T18:37:55.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 18:35 internal [2024-10-14T18:37:55.330Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 14 18:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:37:55.758Z] + 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=d30086d1cf091ff0b16e2b98747375d51fb4e28c --label arch=amd64 --label version=0.0.0 . [2024-10-14T18:37:55.758Z] Sending build context to Docker daemon 25.63MB [2024-10-14T18:37:55.758Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T18:37:55.758Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-14T18:37:55.758Z] ---> 6af460e95d2f [2024-10-14T18:37:55.758Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T18:37:56.327Z] ---> Running in 3914c3fef047 [2024-10-14T18:37:56.327Z] Removing intermediate container 3914c3fef047 [2024-10-14T18:37:56.327Z] ---> b9d31c44e748 [2024-10-14T18:37:56.327Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T18:37:56.588Z] ---> Running in 32a00e1a01b0 [2024-10-14T18:37:56.588Z] Removing intermediate container 32a00e1a01b0 [2024-10-14T18:37:56.588Z] ---> f34e6653d81a [2024-10-14T18:37:56.588Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-14T18:37:56.588Z] ---> Running in 29f2dfd4376c [2024-10-14T18:37:56.588Z] Removing intermediate container 29f2dfd4376c [2024-10-14T18:37:56.588Z] ---> 5c145d69b39e [2024-10-14T18:37:56.588Z] Step 6/26 : WORKDIR /device-uart [2024-10-14T18:37:56.588Z] ---> Running in 6d9b25fbf28e [2024-10-14T18:37:56.588Z] Removing intermediate container 6d9b25fbf28e [2024-10-14T18:37:56.588Z] ---> 95d2aab7b0d3 [2024-10-14T18:37:56.588Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T18:37:56.588Z] ---> Running in aa0717b78af0 [2024-10-14T18:37:56.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:37:57.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:37:57.369Z] OK: 250 MiB in 58 packages [2024-10-14T18:37:57.937Z] Removing intermediate container aa0717b78af0 [2024-10-14T18:37:57.937Z] ---> fceceff604be [2024-10-14T18:37:57.937Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-14T18:37:57.937Z] ---> 8e6c78e62d9c [2024-10-14T18:37:57.937Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T18:37:57.937Z] ---> Running in 81ddbaba3b24 [2024-10-14T18:37:58.505Z] Removing intermediate container 81ddbaba3b24 [2024-10-14T18:37:58.505Z] ---> e59d48cdf246 [2024-10-14T18:37:58.505Z] Step 10/26 : COPY . . [2024-10-14T18:37:59.072Z] ---> 05070c2adac3 [2024-10-14T18:37:59.072Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T18:37:59.072Z] ---> Running in af0b8a4abeed [2024-10-14T18:37:59.331Z] Removing intermediate container af0b8a4abeed [2024-10-14T18:37:59.331Z] ---> 2c2e59f82169 [2024-10-14T18:37:59.331Z] Step 12/26 : RUN ${MAKE} [2024-10-14T18:37:59.331Z] ---> Running in 121470c46382 [2024-10-14T18:37:59.590Z] 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.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-uart ./cmd [2024-10-14T18:37:59.921Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22800 in /w/workspace/edgexfoundry_device-uart_PR-79 [Pipeline] { [Pipeline] ws [2024-10-14T18:37:59.996Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-14T18:38:03.098Z] The recommended git tool is: git [2024-10-14T18:38:07.373Z] using credential edgex-jenkins-ssh [2024-10-14T18:38:07.401Z] Cloning the remote Git repository [2024-10-14T18:38:07.438Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-14T18:38:07.516Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-14T18:38:07.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-14T18:38:07.645Z] > git --version # timeout=10 [2024-10-14T18:38:07.666Z] > git --version # 'git version 2.25.1' [2024-10-14T18:38:07.668Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T18:38:07.798Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T18:38:09.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-14T18:38:09.999Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T18:38:11.339Z] Merging remotes/origin/main commit 525263609ead5b532ada571fa9b1f96dcb09a5f9 into PR head commit d30086d1cf091ff0b16e2b98747375d51fb4e28c [2024-10-14T18:38:11.582Z] Merge succeeded, producing d30086d1cf091ff0b16e2b98747375d51fb4e28c [2024-10-14T18:38:11.583Z] Checking out Revision d30086d1cf091ff0b16e2b98747375d51fb4e28c (PR-79) [2024-10-14T18:38:10.810Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-14T18:38:10.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-14T18:38:10.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T18:38:10.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-14T18:38:11.353Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T18:38:11.414Z] > git checkout -f d30086d1cf091ff0b16e2b98747375d51fb4e28c # timeout=10 [2024-10-14T18:38:11.491Z] > git remote # timeout=10 [2024-10-14T18:38:11.511Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T18:38:11.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T18:38:11.545Z] > git merge 525263609ead5b532ada571fa9b1f96dcb09a5f9 # timeout=10 [2024-10-14T18:38:11.566Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T18:38:11.586Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T18:38:11.603Z] > git checkout -f d30086d1cf091ff0b16e2b98747375d51fb4e28c # timeout=10 [2024-10-14T18:38:12.068Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-14T18:38:12.113Z] > git --version # timeout=10 [2024-10-14T18:38:12.124Z] > git --version # 'git version 2.25.1' [2024-10-14T18:38:12.152Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T18:38:16.987Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T18:38:16.987Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T18:38:16.987Z] Dload Upload Total Spent Left Speed [2024-10-14T18:38:16.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh [2024-10-14T18:38:17.337Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T18:38:17.683Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-14T18:38:17.683Z] + sudo tee /etc/docker/daemon.new [2024-10-14T18:38:17.683Z] { [2024-10-14T18:38:17.683Z] "registry-mirrors": [ [2024-10-14T18:38:17.683Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T18:38:17.683Z] ], [2024-10-14T18:38:17.683Z] "bip": "10.250.0.254/24", [2024-10-14T18:38:17.683Z] "hosts": [ [2024-10-14T18:38:17.683Z] "tcp://0.0.0.0:5555", [2024-10-14T18:38:17.683Z] "unix:///var/run/docker.sock" [2024-10-14T18:38:17.683Z] ], [2024-10-14T18:38:17.683Z] "mtu": 1458, [2024-10-14T18:38:17.683Z] "selinux-enabled": true, [2024-10-14T18:38:17.683Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T18:38:17.683Z] } [Pipeline] sh [2024-10-14T18:38:18.025Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T18:38:18.369Z] + sudo service docker restart [2024-10-14T18:38:31.665Z] Removing intermediate container 121470c46382 [2024-10-14T18:38:31.665Z] ---> 14f980fae876 [2024-10-14T18:38:31.665Z] Step 13/26 : FROM alpine:3.20 [2024-10-14T18:38:31.665Z] 3.20: Pulling from library/alpine [2024-10-14T18:38:31.665Z] 43c4264eed91: Already exists [2024-10-14T18:38:31.665Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T18:38:31.665Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T18:38:31.665Z] ---> 91ef0af61f39 [2024-10-14T18:38:31.665Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-14T18:38:31.665Z] ---> Running in 33aa8f6e7b42 [2024-10-14T18:38:31.665Z] Removing intermediate container 33aa8f6e7b42 [2024-10-14T18:38:31.665Z] ---> e8be58c34caa [2024-10-14T18:38:31.665Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-14T18:38:31.665Z] ---> Running in 7215b3c6e0ae [2024-10-14T18:38:31.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:38:31.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:38:31.923Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T18:38:31.923Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:38:31.923Z] OK: 8 MiB in 15 packages [2024-10-14T18:38:32.183Z] Removing intermediate container 7215b3c6e0ae [2024-10-14T18:38:32.183Z] ---> 3be4ef1460f7 [2024-10-14T18:38:32.183Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-14T18:38:32.183Z] ---> Running in fee58def654b [2024-10-14T18:38:32.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:38:32.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:38:32.962Z] Upgrading critical system libraries and apk-tools: [2024-10-14T18:38:32.962Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T18:38:32.962Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:38:32.962Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T18:38:32.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:38:32.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:38:33.221Z] OK: 8 MiB in 15 packages [2024-10-14T18:38:33.788Z] Removing intermediate container fee58def654b [2024-10-14T18:38:33.788Z] ---> c7b0fb3d2fc0 [2024-10-14T18:38:33.788Z] Step 17/26 : WORKDIR / [2024-10-14T18:38:33.788Z] ---> Running in 983577fbcb1b [2024-10-14T18:38:33.788Z] Removing intermediate container 983577fbcb1b [2024-10-14T18:38:33.788Z] ---> cee9fae13b7a [2024-10-14T18:38:33.788Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-14T18:38:33.788Z] ---> 5df7fb60da07 [2024-10-14T18:38:33.788Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-14T18:38:34.047Z] ---> 366c2aaea61f [2024-10-14T18:38:34.047Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-14T18:38:35.427Z] ---> 0b1d665d0714 [2024-10-14T18:38:35.427Z] Step 21/26 : EXPOSE 59995 [2024-10-14T18:38:35.427Z] ---> Running in 6baa24faea50 [2024-10-14T18:38:35.427Z] Removing intermediate container 6baa24faea50 [2024-10-14T18:38:35.427Z] ---> 706dd33587a8 [2024-10-14T18:38:35.427Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-14T18:38:35.427Z] ---> Running in b4edb99fff40 [2024-10-14T18:38:35.427Z] Removing intermediate container b4edb99fff40 [2024-10-14T18:38:35.427Z] ---> de607ffe88a2 [2024-10-14T18:38:35.427Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-14T18:38:35.687Z] ---> Running in f103cc45e802 [2024-10-14T18:38:35.687Z] Removing intermediate container f103cc45e802 [2024-10-14T18:38:35.687Z] ---> c74bf4091de0 [2024-10-14T18:38:35.687Z] Step 24/26 : LABEL arch=amd64 [2024-10-14T18:38:35.687Z] ---> Running in 9566fcd71fb5 [2024-10-14T18:38:35.687Z] Removing intermediate container 9566fcd71fb5 [2024-10-14T18:38:35.687Z] ---> 9ebf4479fd13 [2024-10-14T18:38:35.687Z] Step 25/26 : LABEL git_sha=d30086d1cf091ff0b16e2b98747375d51fb4e28c [2024-10-14T18:38:35.687Z] ---> Running in 606746f37502 [2024-10-14T18:38:35.687Z] Removing intermediate container 606746f37502 [2024-10-14T18:38:35.687Z] ---> 001042c6af30 [2024-10-14T18:38:35.687Z] Step 26/26 : LABEL version=0.0.0 [2024-10-14T18:38:35.947Z] ---> Running in 9374e69391a3 [2024-10-14T18:38:35.947Z] Removing intermediate container 9374e69391a3 [2024-10-14T18:38:35.947Z] ---> 7f034f04abbc [2024-10-14T18:38:35.947Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T18:38:35.947Z] Successfully built 7f034f04abbc [2024-10-14T18:38:35.947Z] 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] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T18:38:36.718Z] provisioning config files... [2024-10-14T18:38:36.742Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config15017406413793890170tmp [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:38:37.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T18:38:37.151Z] [2024-10-14T18:38:37.151Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:38:37.320Z] ---> ****-login.sh [2024-10-14T18:38:37.320Z] nexus3.edgexfoundry.org:10001 [2024-10-14T18:38:37.557Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T18:38:37.557Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T18:38:37.557Z] 5eb5b503b376: Pulling fs layer [2024-10-14T18:38:37.557Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T18:38:37.557Z] ec43610c2a17: Pulling fs layer [2024-10-14T18:38:37.557Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T18:38:37.557Z] 33b1e0a273af: Pulling fs layer [2024-10-14T18:38:37.557Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T18:38:37.557Z] 2f39f015ded8: Pulling fs layer [2024-10-14T18:38:37.557Z] 5d3b04190fa2: Waiting [2024-10-14T18:38:37.557Z] 2f39f015ded8: Waiting [2024-10-14T18:38:37.557Z] 3a2ae6a8a46f: Waiting [2024-10-14T18:38:37.557Z] 33b1e0a273af: Waiting [2024-10-14T18:38:37.557Z] 5c69ac0246d0: Verifying Checksum [2024-10-14T18:38:37.557Z] 5c69ac0246d0: Download complete [2024-10-14T18:38:37.557Z] 3a2ae6a8a46f: Download complete [2024-10-14T18:38:37.557Z] 33b1e0a273af: Verifying Checksum [2024-10-14T18:38:37.557Z] 33b1e0a273af: Download complete [2024-10-14T18:38:37.557Z] ec43610c2a17: Verifying Checksum [2024-10-14T18:38:37.557Z] ec43610c2a17: Download complete [2024-10-14T18:38:37.557Z] 5d3b04190fa2: Download complete [2024-10-14T18:38:37.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:38:37.816Z] 5eb5b503b376: Download complete [2024-10-14T18:38:37.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:38:37.858Z] Configure a credential helper to remove this warning. See [2024-10-14T18:38:37.858Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:38:37.858Z] [2024-10-14T18:38:37.858Z] Login Succeeded [2024-10-14T18:38:37.858Z] nexus3.edgexfoundry.org:10002 [2024-10-14T18:38:38.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:38:38.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:38:38.125Z] Configure a credential helper to remove this warning. See [2024-10-14T18:38:38.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:38:38.125Z] [2024-10-14T18:38:38.125Z] Login Succeeded [2024-10-14T18:38:38.125Z] nexus3.edgexfoundry.org:10003 [2024-10-14T18:38:38.387Z] 2f39f015ded8: Download complete [2024-10-14T18:38:38.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:38:38.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:38:38.396Z] Configure a credential helper to remove this warning. See [2024-10-14T18:38:38.396Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:38:38.396Z] [2024-10-14T18:38:38.396Z] Login Succeeded [2024-10-14T18:38:38.396Z] nexus3.edgexfoundry.org:10004 [2024-10-14T18:38:38.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:38:38.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:38:38.939Z] Configure a credential helper to remove this warning. See [2024-10-14T18:38:38.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:38:38.939Z] [2024-10-14T18:38:38.939Z] Login Succeeded [2024-10-14T18:38:38.939Z] ****.io [2024-10-14T18:38:38.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:38:38.952Z] 5eb5b503b376: Pull complete [2024-10-14T18:38:38.952Z] 5c69ac0246d0: Pull complete [2024-10-14T18:38:39.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:38:39.208Z] Configure a credential helper to remove this warning. See [2024-10-14T18:38:39.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:38:39.208Z] [2024-10-14T18:38:39.208Z] Login Succeeded [2024-10-14T18:38:39.208Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T18:38:39.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-10-14T18:38:39.517Z] ec43610c2a17: Pull complete [2024-10-14T18:38:39.517Z] 3a2ae6a8a46f: Pull complete [Pipeline] echo [2024-10-14T18:38:39.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T18:38:39.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-10-14T18:38:39.774Z] 33b1e0a273af: Pull complete [2024-10-14T18:38:39.774Z] 5d3b04190fa2: Pull complete [Pipeline] echo [2024-10-14T18:38:39.837Z] ========================================================= [2024-10-14T18:38:39.837Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T18:38:39.837Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:38:40.410Z] + 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-14T18:38:40.677Z] Sending build context to Docker daemon 12.89MB [2024-10-14T18:38:40.677Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T18:38:40.677Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T18:38:40.945Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T18:38:40.945Z] cf04c63912e1: Pulling fs layer [2024-10-14T18:38:40.945Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T18:38:40.945Z] a37a00ec5f00: Pulling fs layer [2024-10-14T18:38:40.945Z] 50b3750afda1: Pulling fs layer [2024-10-14T18:38:40.945Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T18:38:40.945Z] 80978eb59214: Pulling fs layer [2024-10-14T18:38:40.945Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T18:38:40.945Z] c5a475d317c9: Pulling fs layer [2024-10-14T18:38:40.945Z] 50b3750afda1: Waiting [2024-10-14T18:38:40.945Z] 4f4fb700ef54: Waiting [2024-10-14T18:38:40.945Z] 80978eb59214: Waiting [2024-10-14T18:38:40.945Z] c9f46d7d2bd2: Waiting [2024-10-14T18:38:40.945Z] c5a475d317c9: Waiting [2024-10-14T18:38:40.945Z] 55b35a11ae5e: Verifying Checksum [2024-10-14T18:38:40.945Z] 55b35a11ae5e: Download complete [2024-10-14T18:38:40.945Z] 50b3750afda1: Verifying Checksum [2024-10-14T18:38:40.945Z] 50b3750afda1: Download complete [2024-10-14T18:38:40.945Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T18:38:40.945Z] 4f4fb700ef54: Download complete [2024-10-14T18:38:40.945Z] 80978eb59214: Verifying Checksum [2024-10-14T18:38:40.945Z] 80978eb59214: Download complete [2024-10-14T18:38:40.945Z] cf04c63912e1: Verifying Checksum [2024-10-14T18:38:40.945Z] cf04c63912e1: Download complete [2024-10-14T18:38:41.538Z] c5a475d317c9: Verifying Checksum [2024-10-14T18:38:41.538Z] c5a475d317c9: Download complete [2024-10-14T18:38:41.809Z] cf04c63912e1: Pull complete [2024-10-14T18:38:42.403Z] 55b35a11ae5e: Pull complete [2024-10-14T18:38:42.672Z] a37a00ec5f00: Verifying Checksum [2024-10-14T18:38:42.672Z] a37a00ec5f00: Download complete [2024-10-14T18:38:43.636Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T18:38:43.636Z] c9f46d7d2bd2: Download complete [2024-10-14T18:38:43.958Z] 2f39f015ded8: Pull complete [2024-10-14T18:38:43.958Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T18:38:43.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T18:38:43.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:38:44.240Z] prd-ubuntu20.04-docker-8c-8g-22799 does not seem to be running inside a container [2024-10-14T18:38:44.272Z] $ 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-79 -v /w/workspace/edgexfoundry_device-uart_PR-79:/w/workspace/edgexfoundry_device-uart_PR-79:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-79@tmp:/w/workspace/edgexfoundry_device-uart_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T18:38:48.306Z] $ docker top 2f35f9675a1fd352c3a8659150723d465c4ac7ab541540eae84e0ac9edaf4290 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:38:48.811Z] ---> job-cost.sh [2024-10-14T18:38:48.811Z] lf-activate-venv: SKIPPING [2024-10-14T18:38:48.811Z] INFO: No Stack... [2024-10-14T18:38:49.071Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T18:38:49.330Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T18:38:49.660Z] + cat /w/workspace/edgexfoundry_device-uart_PR-79/archives/cost.csv [2024-10-14T18:38:49.660Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T18:38:49.716Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-79-1-stack-cost] [2024-10-14T18:38:49.724Z] Resource [jenkins-edgexfoundry-device-uart-PR-79-1-stack-cost] did not exist. Created. [2024-10-14T18:38:49.732Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-79-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T18:38:50.296Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T18:38:50.357Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T18:38:50.394Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-79-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T18:38:50.492Z] $ docker stop --time=1 2f35f9675a1fd352c3a8659150723d465c4ac7ab541540eae84e0ac9edaf4290 [2024-10-14T18:38:51.653Z] $ docker rm -f --volumes 2f35f9675a1fd352c3a8659150723d465c4ac7ab541540eae84e0ac9edaf4290 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T18:38:58.641Z] a37a00ec5f00: Pull complete [2024-10-14T18:38:58.641Z] 50b3750afda1: Pull complete [2024-10-14T18:38:58.641Z] 4f4fb700ef54: Pull complete [2024-10-14T18:38:58.641Z] 80978eb59214: Pull complete [2024-10-14T18:39:05.302Z] c9f46d7d2bd2: Pull complete [2024-10-14T18:39:06.709Z] c5a475d317c9: Pull complete [2024-10-14T18:39:06.709Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T18:39:06.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T18:39:06.709Z] ---> be29e6b0f0d4 [2024-10-14T18:39:06.709Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T18:39:07.676Z] ---> Running in e50c5d387e1c [2024-10-14T18:39:07.944Z] Removing intermediate container e50c5d387e1c [2024-10-14T18:39:07.944Z] ---> 3259743e8f48 [2024-10-14T18:39:07.944Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T18:39:07.944Z] ---> Running in 01afc50ceb9e [2024-10-14T18:39:08.212Z] Removing intermediate container 01afc50ceb9e [2024-10-14T18:39:08.212Z] ---> 20ce3ce44a23 [2024-10-14T18:39:08.212Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T18:39:08.212Z] ---> Running in 9697298c9b47 [2024-10-14T18:39:08.795Z] Removing intermediate container 9697298c9b47 [2024-10-14T18:39:08.795Z] ---> bab1eec740e3 [2024-10-14T18:39:08.795Z] Step 6/12 : WORKDIR /device-uart [2024-10-14T18:39:08.795Z] ---> Running in e1e8698497ce [2024-10-14T18:39:09.063Z] Removing intermediate container e1e8698497ce [2024-10-14T18:39:09.063Z] ---> e59f80097efd [2024-10-14T18:39:09.063Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T18:39:09.063Z] ---> Running in 82611c1f9b75 [2024-10-14T18:39:10.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:39:10.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:39:11.587Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T18:39:11.858Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T18:39:11.858Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T18:39:11.858Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T18:39:11.858Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:39:11.858Z] OK: 242 MiB in 58 packages [2024-10-14T18:39:12.825Z] Removing intermediate container 82611c1f9b75 [2024-10-14T18:39:12.825Z] ---> 1f5e13525eeb [2024-10-14T18:39:12.825Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-14T18:39:13.411Z] ---> 7a50ec754704 [2024-10-14T18:39:13.411Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T18:39:13.411Z] ---> Running in 5d9dbd6a14e6 [2024-10-14T18:41:05.073Z] Removing intermediate container 5d9dbd6a14e6 [2024-10-14T18:41:05.073Z] ---> c8558cfd87b6 [2024-10-14T18:41:05.073Z] Step 10/12 : COPY . . [2024-10-14T18:41:05.073Z] ---> 7b485407d740 [2024-10-14T18:41:05.073Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T18:41:05.073Z] ---> Running in 6b64a762f5ae [2024-10-14T18:41:05.073Z] Removing intermediate container 6b64a762f5ae [2024-10-14T18:41:05.073Z] ---> 54f065370f35 [2024-10-14T18:41:05.073Z] Step 12/12 : RUN ${MAKE} [2024-10-14T18:41:05.073Z] ---> Running in d1a2a8594c7a [2024-10-14T18:41:05.073Z] noop [2024-10-14T18:41:05.073Z] Removing intermediate container d1a2a8594c7a [2024-10-14T18:41:05.073Z] ---> 1e11a64b6e07 [2024-10-14T18:41:05.073Z] Successfully built 1e11a64b6e07 [2024-10-14T18:41:05.073Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:41:05.601Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T18:41:05.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:41:05.910Z] prd-ubuntu20.04-docker-arm64-4c-16g-22800 does not seem to be running inside a container [2024-10-14T18:41:05.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T18:41:07.156Z] $ docker top 8a0be0b1266b56b96645670f4bba0a23ddad7ed0c55402ffd0f07f1657fad033 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T18:41:08.053Z] + go version [2024-10-14T18:41:08.053Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T18:41:08.096Z] $ docker stop --time=1 8a0be0b1266b56b96645670f4bba0a23ddad7ed0c55402ffd0f07f1657fad033 [2024-10-14T18:41:09.712Z] $ docker rm -f --volumes 8a0be0b1266b56b96645670f4bba0a23ddad7ed0c55402ffd0f07f1657fad033 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:41:10.677Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T18:41:10.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:41:10.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-22800 does not seem to be running inside a container [2024-10-14T18:41:11.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T18:41:12.171Z] $ docker top e8f0e77268f7cfb381b10801cec58402f6da36b016bdef0a405d63a7779d70d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T18:41:13.101Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T18:41:13.825Z] + make test [2024-10-14T18:41:13.825Z] go test ./... -coverprofile=coverage.out [2024-10-14T18:41:19.271Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-14T18:44:26.055Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-14T18:44:26.055Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-14T18:44:26.055Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T18:44:26.055Z] go vet ./... [2024-10-14T18:45:22.463Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T18:45:22.463Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T18:45:22.463Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T18:45:22.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T18:45:22.562Z] $ docker stop --time=1 e8f0e77268f7cfb381b10801cec58402f6da36b016bdef0a405d63a7779d70d2 [2024-10-14T18:45:24.420Z] $ docker rm -f --volumes e8f0e77268f7cfb381b10801cec58402f6da36b016bdef0a405d63a7779d70d2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T18:45:25.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T18:45:25.949Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T18:45:26.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T18:45:27.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T18:45:27.352Z] + ls -al . [2024-10-14T18:45:27.352Z] total 232 [2024-10-14T18:45:27.352Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 14 18:41 . [2024-10-14T18:45:27.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 18:38 .. [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 18:38 .dockerignore [2024-10-14T18:45:27.352Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 18:38 .git [2024-10-14T18:45:27.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 18:38 .github [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 14 18:38 .gitignore [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 14 18:38 .golangci.yml [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 14 18:38 Attribution.txt [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 14 18:38 CHANGELOG.md [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 14 18:38 Dockerfile [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 18:38 GOVERNANCE.md [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 14 18:38 Jenkinsfile [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 18:38 LICENSE [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 2409 Oct 14 18:38 Makefile [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 14 18:38 OWNERS.md [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 14 18:38 README.md [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 18:36 VERSION [2024-10-14T18:45:27.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 18:38 bin [2024-10-14T18:45:27.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 18:38 cmd [2024-10-14T18:45:27.352Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 14 18:44 coverage.out [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 14 18:38 go.mod [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 14 18:38 go.sum [2024-10-14T18:45:27.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 18:38 internal [2024-10-14T18:45:27.352Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 14 18:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:45:27.796Z] + 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=d30086d1cf091ff0b16e2b98747375d51fb4e28c --label arch=arm64 --label version=0.0.0 . [2024-10-14T18:45:28.064Z] Sending build context to Docker daemon 12.89MB [2024-10-14T18:45:28.064Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T18:45:28.064Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-14T18:45:28.064Z] ---> 1e11a64b6e07 [2024-10-14T18:45:28.064Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T18:45:28.335Z] ---> Running in 14c4feda5dd7 [2024-10-14T18:45:28.601Z] Removing intermediate container 14c4feda5dd7 [2024-10-14T18:45:28.601Z] ---> 27cead341e11 [2024-10-14T18:45:28.601Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T18:45:28.601Z] ---> Running in 3e3b11e8436e [2024-10-14T18:45:28.867Z] Removing intermediate container 3e3b11e8436e [2024-10-14T18:45:28.867Z] ---> 3a4741228075 [2024-10-14T18:45:28.867Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-14T18:45:28.867Z] ---> Running in 5178e010da41 [2024-10-14T18:45:29.134Z] Removing intermediate container 5178e010da41 [2024-10-14T18:45:29.134Z] ---> 66f50623d9d1 [2024-10-14T18:45:29.134Z] Step 6/26 : WORKDIR /device-uart [2024-10-14T18:45:29.399Z] ---> Running in 49fefe577ef0 [2024-10-14T18:45:29.664Z] Removing intermediate container 49fefe577ef0 [2024-10-14T18:45:29.664Z] ---> cd879df1c393 [2024-10-14T18:45:29.664Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T18:45:29.664Z] ---> Running in 930100dd8f31 [2024-10-14T18:45:30.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:45:30.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:45:32.290Z] OK: 242 MiB in 58 packages [2024-10-14T18:45:32.871Z] Removing intermediate container 930100dd8f31 [2024-10-14T18:45:32.871Z] ---> a5a651cf4c94 [2024-10-14T18:45:32.871Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-14T18:45:33.451Z] ---> f177ae79d93c [2024-10-14T18:45:33.451Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T18:45:33.451Z] ---> Running in ffba9c090269 [2024-10-14T18:45:35.398Z] Removing intermediate container ffba9c090269 [2024-10-14T18:45:35.398Z] ---> 0bc472011d43 [2024-10-14T18:45:35.398Z] Step 10/26 : COPY . . [2024-10-14T18:45:36.820Z] ---> ec4351201cd3 [2024-10-14T18:45:36.820Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T18:45:36.820Z] ---> Running in 7b5f25fcfc72 [2024-10-14T18:45:36.820Z] Removing intermediate container 7b5f25fcfc72 [2024-10-14T18:45:36.820Z] ---> a79d1cea2eb1 [2024-10-14T18:45:36.820Z] Step 12/26 : RUN ${MAKE} [2024-10-14T18:45:36.820Z] ---> Running in d7269c0cd911 [2024-10-14T18:45:37.787Z] 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.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-uart ./cmd [2024-10-14T18:49:00.101Z] Removing intermediate container d7269c0cd911 [2024-10-14T18:49:00.101Z] ---> 40d2189be557 [2024-10-14T18:49:00.101Z] Step 13/26 : FROM alpine:3.20 [2024-10-14T18:49:00.101Z] 3.20: Pulling from library/alpine [2024-10-14T18:49:00.101Z] cf04c63912e1: Already exists [2024-10-14T18:49:00.101Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T18:49:00.101Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T18:49:00.101Z] ---> c157a85ed455 [2024-10-14T18:49:00.101Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-14T18:49:00.101Z] ---> Running in 93b79d99e0db [2024-10-14T18:49:00.101Z] Removing intermediate container 93b79d99e0db [2024-10-14T18:49:00.101Z] ---> cb47d6f3929e [2024-10-14T18:49:00.101Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-14T18:49:00.101Z] ---> Running in 40f589d25580 [2024-10-14T18:49:00.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:49:00.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:49:00.101Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T18:49:00.101Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:49:00.101Z] OK: 9 MiB in 15 packages [2024-10-14T18:49:00.101Z] Removing intermediate container 40f589d25580 [2024-10-14T18:49:00.101Z] ---> 501e99d33a87 [2024-10-14T18:49:00.101Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-14T18:49:00.101Z] ---> Running in db7f0549ce47 [2024-10-14T18:49:00.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:49:00.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:49:00.101Z] Upgrading critical system libraries and apk-tools: [2024-10-14T18:49:00.101Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T18:49:00.101Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:49:00.101Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T18:49:00.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:49:00.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:49:00.692Z] OK: 9 MiB in 15 packages [2024-10-14T18:49:01.658Z] Removing intermediate container db7f0549ce47 [2024-10-14T18:49:01.658Z] ---> 7700370aa26a [2024-10-14T18:49:01.658Z] Step 17/26 : WORKDIR / [2024-10-14T18:49:01.658Z] ---> Running in 899afbeef80e [2024-10-14T18:49:01.926Z] Removing intermediate container 899afbeef80e [2024-10-14T18:49:01.926Z] ---> b7419a817ca2 [2024-10-14T18:49:01.926Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-14T18:49:02.516Z] ---> ecef3b703152 [2024-10-14T18:49:02.516Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-14T18:49:03.100Z] ---> 30fcc2eb4ddf [2024-10-14T18:49:03.100Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-14T18:49:05.923Z] ---> 3d7a78150193 [2024-10-14T18:49:05.923Z] Step 21/26 : EXPOSE 59995 [2024-10-14T18:49:05.923Z] ---> Running in 9d3dea3d6c68 [2024-10-14T18:49:05.923Z] Removing intermediate container 9d3dea3d6c68 [2024-10-14T18:49:05.923Z] ---> a86d99d0fba2 [2024-10-14T18:49:05.923Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-14T18:49:05.923Z] ---> Running in 3ceb9fecba6c [2024-10-14T18:49:06.191Z] Removing intermediate container 3ceb9fecba6c [2024-10-14T18:49:06.191Z] ---> 4300a79afcb2 [2024-10-14T18:49:06.191Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-14T18:49:06.458Z] ---> Running in 3025a6e1dfee [2024-10-14T18:49:06.726Z] Removing intermediate container 3025a6e1dfee [2024-10-14T18:49:06.726Z] ---> 8c44bd456548 [2024-10-14T18:49:06.726Z] Step 24/26 : LABEL arch=arm64 [2024-10-14T18:49:06.726Z] ---> Running in bc57c3a6636a [2024-10-14T18:49:06.994Z] Removing intermediate container bc57c3a6636a [2024-10-14T18:49:06.994Z] ---> 0edf14795c28 [2024-10-14T18:49:06.994Z] Step 25/26 : LABEL git_sha=d30086d1cf091ff0b16e2b98747375d51fb4e28c [2024-10-14T18:49:07.265Z] ---> Running in 7ffbd2e8cdf7 [2024-10-14T18:49:07.532Z] Removing intermediate container 7ffbd2e8cdf7 [2024-10-14T18:49:07.532Z] ---> 79f4922ebc80 [2024-10-14T18:49:07.532Z] Step 26/26 : LABEL version=0.0.0 [2024-10-14T18:49:07.532Z] ---> Running in 06b3e5ec4e4c [2024-10-14T18:49:07.797Z] Removing intermediate container 06b3e5ec4e4c [2024-10-14T18:49:07.797Z] ---> b1cb1f0ac785 [2024-10-14T18:49:07.797Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T18:49:07.797Z] Successfully built b1cb1f0ac785 [2024-10-14T18:49:07.797Z] 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-14T18:49:08.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T18:49:08.748Z] [2024-10-14T18:49:08.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:49:09.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T18:49:09.184Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T18:49:09.184Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T18:49:09.184Z] 04944245beec: Pulling fs layer [2024-10-14T18:49:09.184Z] 699f458cf7ca: Pulling fs layer [2024-10-14T18:49:09.184Z] 765212b225bb: Pulling fs layer [2024-10-14T18:49:09.184Z] f23df028b6ca: Pulling fs layer [2024-10-14T18:49:09.184Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T18:49:09.184Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T18:49:09.184Z] f23df028b6ca: Waiting [2024-10-14T18:49:09.184Z] 765212b225bb: Waiting [2024-10-14T18:49:09.184Z] 2437ff75d9bd: Waiting [2024-10-14T18:49:09.184Z] d65c8cfc05b1: Waiting [2024-10-14T18:49:09.455Z] 04944245beec: Verifying Checksum [2024-10-14T18:49:09.455Z] 04944245beec: Download complete [2024-10-14T18:49:09.455Z] 765212b225bb: Verifying Checksum [2024-10-14T18:49:09.455Z] 765212b225bb: Download complete [2024-10-14T18:49:09.455Z] f23df028b6ca: Verifying Checksum [2024-10-14T18:49:09.455Z] f23df028b6ca: Download complete [2024-10-14T18:49:09.455Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T18:49:09.455Z] d65c8cfc05b1: Download complete [2024-10-14T18:49:09.724Z] 699f458cf7ca: Verifying Checksum [2024-10-14T18:49:09.724Z] 699f458cf7ca: Download complete [2024-10-14T18:49:09.992Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T18:49:09.992Z] 8998bd30e6a1: Download complete [2024-10-14T18:49:12.585Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T18:49:12.585Z] 2437ff75d9bd: Download complete [2024-10-14T18:49:15.170Z] 8998bd30e6a1: Pull complete [2024-10-14T18:49:15.438Z] 04944245beec: Pull complete [2024-10-14T18:49:17.400Z] 699f458cf7ca: Pull complete [2024-10-14T18:49:17.400Z] 765212b225bb: Pull complete [2024-10-14T18:49:17.983Z] f23df028b6ca: Pull complete [2024-10-14T18:49:18.249Z] d65c8cfc05b1: Pull complete [2024-10-14T18:49:36.460Z] 2437ff75d9bd: Pull complete [2024-10-14T18:49:36.460Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T18:49:36.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T18:49:36.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:49:36.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-22800 does not seem to be running inside a container [2024-10-14T18:49:36.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-14T18:49:39.701Z] $ docker top 1b69cc350dc22b08fbce72ca19cca7a6c38b5feff7c79fc720a88d2d37eaf592 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:49:40.641Z] ---> job-cost.sh [2024-10-14T18:49:40.641Z] lf-activate-venv: SKIPPING [2024-10-14T18:49:40.641Z] INFO: No Stack... [2024-10-14T18:49:40.907Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T18:49:41.865Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T18:49:42.485Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-10-14T18:49:42.485Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T18:49:42.568Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-79-1-stack-cost] [2024-10-14T18:49:42.575Z] Resource [jenkins-edgexfoundry-device-uart-PR-79-1-stack-cost] did not exist. Created. [2024-10-14T18:49:42.582Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-79-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T18:49:43.003Z] /w/workspace/device-uart/1@tmp/durable-90ecd343/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T18:49:43.933Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T18:49:43.981Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T18:49:44.026Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T18:49:44.047Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-79-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T18:49:44.143Z] $ docker stop --time=1 1b69cc350dc22b08fbce72ca19cca7a6c38b5feff7c79fc720a88d2d37eaf592 [2024-10-14T18:49:45.609Z] $ docker rm -f --volumes 1b69cc350dc22b08fbce72ca19cca7a6c38b5feff7c79fc720a88d2d37eaf592 [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-14T18:49:46.774Z] provisioning config files... [2024-10-14T18:49:46.783Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-79@tmp/config13368670358190271144tmp [Pipeline] { [Pipeline] sh [2024-10-14T18:49:47.131Z] + set +x [2024-10-14T18:49:47.131Z] + bash -s -- [2024-10-14T18:49:47.131Z] + curl -s https://codecov.io/bash [2024-10-14T18:49:47.392Z] [2024-10-14T18:49:47.392Z] _____ _ [2024-10-14T18:49:47.392Z] / ____| | | [2024-10-14T18:49:47.392Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T18:49:47.392Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T18:49:47.392Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T18:49:47.392Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T18:49:47.392Z] Bash-1.0.6 [2024-10-14T18:49:47.392Z] [2024-10-14T18:49:47.392Z] [2024-10-14T18:49:47.392Z] ==> git version 2.25.1 found [2024-10-14T18:49:47.392Z] ==> 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-14T18:49:47.392Z] Release-Date: 2020-01-08 [2024-10-14T18:49:47.392Z] 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-14T18:49:47.392Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T18:49:47.392Z] ==> Jenkins CI detected. [2024-10-14T18:49:47.392Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-79 [2024-10-14T18:49:47.392Z] project root: . [2024-10-14T18:49:47.392Z] --> token set from env [2024-10-14T18:49:47.392Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T18:49:47.392Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T18:49:47.392Z] ==> Python coveragepy not found [2024-10-14T18:49:47.392Z] ==> Searching for coverage reports in: [2024-10-14T18:49:47.392Z] + . [2024-10-14T18:49:47.392Z] -> Found 1 reports [2024-10-14T18:49:47.392Z] ==> Detecting git/mercurial file structure [2024-10-14T18:49:47.392Z] ==> Reading reports [2024-10-14T18:49:47.392Z] + ./coverage.out bytes=6770 [2024-10-14T18:49:47.392Z] ==> Appending adjustments [2024-10-14T18:49:47.392Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T18:49:47.392Z] + Found adjustments [2024-10-14T18:49:47.651Z] ==> Gzipping contents [2024-10-14T18:49:47.651Z] 4.0K /tmp/codecov.7DjNiQ.gz [2024-10-14T18:49:47.651Z] ==> Uploading reports [2024-10-14T18:49:47.651Z] url: https://codecov.io [2024-10-14T18:49:47.651Z] query: branch=PR-79&commit=d30086d1cf091ff0b16e2b98747375d51fb4e28c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=79&job=&cmd_args= [2024-10-14T18:49:47.651Z] -> Pinging Codecov [2024-10-14T18:49:47.651Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-79&commit=d30086d1cf091ff0b16e2b98747375d51fb4e28c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=79&job=&cmd_args= [2024-10-14T18:49:47.651Z] -> Uploading to [2024-10-14T18:49:47.651Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/d30086d1cf091ff0b16e2b98747375d51fb4e28c/7631786b-7a4f-4cf1-a039-a7eab0c26fa0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T184947Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=8a0a24dee386ee581b5c9cde29f8fbb3cddef87c7a17c550a8498297044d66af [2024-10-14T18:49:47.651Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T18:49:47.651Z] Dload Upload Total Spent Left Speed [2024-10-14T18:49:47.911Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1340 0 0 100 1340 0 5583 --:--:-- --:--:-- --:--:-- 5583 [2024-10-14T18:49:47.911Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/d30086d1cf091ff0b16e2b98747375d51fb4e28c [Pipeline] } [2024-10-14T18:49:47.949Z] 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-14T18:49:50.258Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-79/archives ] [2024-10-14T18:49:50.258Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-79/archives [2024-10-14T18:49:50.258Z] total 16 [2024-10-14T18:49:50.258Z] drwxr-xr-x 3 root root 4096 Oct 14 18:38 . [2024-10-14T18:49:50.258Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 18:38 .. [2024-10-14T18:49:50.258Z] drwxr-xr-x 2 root root 4096 Oct 14 18:38 cost [2024-10-14T18:49:50.258Z] -rw-r--r-- 1 root root 82 Oct 14 18:38 cost.csv [2024-10-14T18:49:50.258Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-79/archives [2024-10-14T18:49:50.258Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-79/archives [2024-10-14T18:49:50.258Z] total 16 [2024-10-14T18:49:50.258Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 18:38 . [2024-10-14T18:49:50.258Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 18:38 .. [2024-10-14T18:49:50.258Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 18:38 cost [2024-10-14T18:49:50.258Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 14 18:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:49:50.598Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:49:51.571Z] ---> package-listing.sh [2024-10-14T18:49:51.571Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T18:49:51.571Z] ++ facter osfamily [2024-10-14T18:49:51.571Z] + OS_FAMILY=debian [2024-10-14T18:49:51.571Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-79 [2024-10-14T18:49:51.571Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T18:49:51.571Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T18:49:51.571Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T18:49:51.571Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T18:49:51.571Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-79 ']' [2024-10-14T18:49:51.571Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T18:49:51.571Z] + case "${OS_FAMILY}" in [2024-10-14T18:49:51.571Z] + dpkg -l [2024-10-14T18:49:51.571Z] + grep '^ii' [2024-10-14T18:49:51.842Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T18:49:51.842Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T18:49:51.842Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T18:49:51.842Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-79 ']' [2024-10-14T18:49:51.842Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-79/archives/ [2024-10-14T18:49:51.842Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-79/archives/ [Pipeline] echo [2024-10-14T18:49:51.889Z] 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-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T18:49:52.238Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:49:52.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T18:49:52.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:49:52.799Z] prd-ubuntu20.04-docker-8c-8g-22799 does not seem to be running inside a container [2024-10-14T18:49:52.829Z] $ 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-79/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-79 -v /w/workspace/edgexfoundry_device-uart_PR-79:/w/workspace/edgexfoundry_device-uart_PR-79:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-79@tmp:/w/workspace/edgexfoundry_device-uart_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T18:49:53.013Z] $ docker top fa7df07719ac9fd65bd31f29978c0f1f4b2d3f78e9b6356b615939c4cf71f283 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T18:49:53.424Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T18:49:53.741Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T18:49:54.057Z] + ls /var/log/sa-host [2024-10-14T18:49:54.057Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T18:49:54.306Z] provisioning config files... [2024-10-14T18:49:54.315Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-79@tmp/config3244289131375021322tmp [Pipeline] { [Pipeline] echo [2024-10-14T18:49:54.391Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:49:54.719Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T18:49:54.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:49:55.172Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T18:49:55.213Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:49:55.540Z] ---> sudo-logs.sh [2024-10-14T18:49:55.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T18:49:55.643Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:49:55.970Z] ---> job-cost.sh [2024-10-14T18:49:55.970Z] lf-activate-venv: SKIPPING [2024-10-14T18:49:55.970Z] DEBUG: total: 0.2199999988079071 [2024-10-14T18:49:55.970Z] INFO: Retrieving Stack Cost... [2024-10-14T18:49:56.230Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T18:49:56.490Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T18:49:56.786Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:49:57.115Z] ---> logs-deploy.sh [2024-10-14T18:49:57.115Z] lf-activate-venv: SKIPPING [2024-10-14T18:49:57.115Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-79/1 [2024-10-14T18:49:57.115Z] INFO: archiving workspace using pattern(s): [2024-10-14T18:49:58.050Z] Archives upload complete. [2024-10-14T18:49:58.050Z] INFO: archiving logs to Nexus