Pull request #53 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-uart Obtained Jenkinsfile from d29d59aa91c5e4b626911b2529954fa1a9089a75+d0925bfba9be57c91a88507a1350afd17db6efb3 (d775be46973a823982fb5a7db948358026aac79c) 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-ssh12826237648450802776.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5624971551475383193.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 590556114a56c6d90cc8043840e039c2f74196dc 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-53/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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5915151401287070874.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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6954478382557250493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh13984476498613355595.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-53/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-53/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4603441701386197679.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 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1013 in /w/workspace/edgexfoundry_device-uart_PR-53 [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-53 # 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/53/head:refs/remotes/origin/PR-53 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit d0925bfba9be57c91a88507a1350afd17db6efb3 into PR head commit d29d59aa91c5e4b626911b2529954fa1a9089a75 Merge succeeded, producing d29d59aa91c5e4b626911b2529954fa1a9089a75 Checking out Revision d29d59aa91c5e4b626911b2529954fa1a9089a75 (PR-53) > git config core.sparsecheckout # timeout=10 > git checkout -f d29d59aa91c5e4b626911b2529954fa1a9089a75 # 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 d0925bfba9be57c91a88507a1350afd17db6efb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d29d59aa91c5e4b626911b2529954fa1a9089a75 # timeout=10 Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-29T07:46:20.439Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-29T07:46:20.691Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-29T07:46:20.810Z] ========================================================= [2024-05-29T07:46:20.810Z] EdgeX Global Pipelines Version Info [2024-05-29T07:46:20.810Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:46:21.575Z] ------------------- [2024-05-29T07:46:21.576Z] stable info: [2024-05-29T07:46:21.576Z] ------------------- [2024-05-29T07:46:21.576Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T07:46:21.576Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-29T07:46:21.576Z] Message: update stable to v1.0.260 [2024-05-29T07:46:22.145Z] ------------------- [2024-05-29T07:46:22.145Z] experimental info: [2024-05-29T07:46:22.145Z] ------------------- [2024-05-29T07:46:22.145Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T07:46:22.145Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-29T07:46:22.145Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-29T07:46:22.364Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-05-29T07:46:22.420Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-05-29T07:46:22.476Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-29T07:46:22.529Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-29T07:46:22.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-29T07:46:22.646Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-29T07:46:22.706Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-29T07:46:22.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-29T07:46:22.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-29T07:46:22.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-29T07:46:22.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-29T07:46:22.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-05-29T07:46:23.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-29T07:46:23.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-29T07:46:23.178Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T07:46:23.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T07:46:23.319Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T07:46:23.384Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T07:46:23.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-29T07:46:23.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-29T07:46:23.579Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-29T07:46:23.643Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-29T07:46:23.711Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-29T07:46:23.776Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-29T07:46:23.962Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-29T07:46:24.025Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-29T07:46:24.092Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-29T07:46:24.165Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-53 [Pipeline] echo [2024-05-29T07:46:24.223Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-53 [Pipeline] echo [2024-05-29T07:46:24.283Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-53 [Pipeline] echo [2024-05-29T07:46:24.347Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] echo [2024-05-29T07:46:24.406Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d29d59a [Pipeline] echo [2024-05-29T07:46:24.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T07:46:24.614Z] provisioning config files... [2024-05-29T07:46:24.628Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-53@tmp/config15775287821565433192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:46:25.028Z] ---> ****-login.sh [2024-05-29T07:46:25.029Z] nexus3.edgexfoundry.org:10001 [2024-05-29T07:46:25.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:25.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:25.292Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:25.292Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:25.292Z] [2024-05-29T07:46:25.292Z] Login Succeeded [2024-05-29T07:46:25.292Z] nexus3.edgexfoundry.org:10002 [2024-05-29T07:46:25.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:25.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:25.553Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:25.553Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:25.553Z] [2024-05-29T07:46:25.553Z] Login Succeeded [2024-05-29T07:46:25.553Z] nexus3.edgexfoundry.org:10003 [2024-05-29T07:46:25.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:25.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:25.553Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:25.553Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:25.553Z] [2024-05-29T07:46:25.553Z] Login Succeeded [2024-05-29T07:46:25.553Z] nexus3.edgexfoundry.org:10004 [2024-05-29T07:46:25.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:25.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:25.553Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:25.553Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:25.553Z] [2024-05-29T07:46:25.553Z] Login Succeeded [2024-05-29T07:46:25.553Z] ****.io [2024-05-29T07:46:25.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:26.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:26.074Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:26.074Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:26.074Z] [2024-05-29T07:46:26.074Z] Login Succeeded [2024-05-29T07:46:26.074Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T07:46:26.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-29T07:46:26.818Z] + git rev-list -1 --merges d29d59aa91c5e4b626911b2529954fa1a9089a75~1..d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] echo [2024-05-29T07:46:26.867Z] -----------> git rev-list -1 --merges d29d59aa91c5e4b626911b2529954fa1a9089a75~1..d29d59aa91c5e4b626911b2529954fa1a9089a75 d29d59aa91c5e4b626911b2529954fa1a9089a75 [false] [Pipeline] sh [2024-05-29T07:46:27.189Z] + git log --format=format:%s -1 d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] echo [2024-05-29T07:46:27.234Z] ========================================================= [2024-05-29T07:46:27.234Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-29T07:46:27.234Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T07:46:27.701Z] + git log --format=format:%s -1 d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] echo [2024-05-29T07:46:27.739Z] [semverPrep] GIT_COMMIT: d29d59aa91c5e4b626911b2529954fa1a9089a75, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo [2024-05-29T07:46:27.778Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-29T07:46:28.189Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-29T07:46:28.189Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-29T07:46:28.189Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-29T07:46:28.189Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-29T07:46:28.189Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-29T07:46:28.189Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-29T07:46:28.189Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:46:28.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T07:46:28.705Z] [2024-05-29T07:46:28.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:46:29.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T07:46:29.112Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-29T07:46:29.112Z] b85a868b505f: Pulling fs layer [2024-05-29T07:46:29.112Z] e2be974225ed: Pulling fs layer [2024-05-29T07:46:29.112Z] 339a4e72a1f5: Pulling fs layer [2024-05-29T07:46:29.112Z] 988bab9f4d93: Pulling fs layer [2024-05-29T07:46:29.112Z] 1469e6f7b9e6: Pulling fs layer [2024-05-29T07:46:29.112Z] eaf3925da568: Pulling fs layer [2024-05-29T07:46:29.112Z] bab4dde63d76: Pulling fs layer [2024-05-29T07:46:29.112Z] bde34c3a00c8: Pulling fs layer [2024-05-29T07:46:29.112Z] b352a97aabf1: Pulling fs layer [2024-05-29T07:46:29.112Z] 4872d77fe225: Pulling fs layer [2024-05-29T07:46:29.112Z] 5851b861e8e6: Pulling fs layer [2024-05-29T07:46:29.112Z] bab4dde63d76: Waiting [2024-05-29T07:46:29.112Z] bde34c3a00c8: Waiting [2024-05-29T07:46:29.112Z] 1469e6f7b9e6: Waiting [2024-05-29T07:46:29.112Z] eaf3925da568: Waiting [2024-05-29T07:46:29.112Z] b352a97aabf1: Waiting [2024-05-29T07:46:29.112Z] 4872d77fe225: Waiting [2024-05-29T07:46:29.112Z] 5851b861e8e6: Waiting [2024-05-29T07:46:29.112Z] 988bab9f4d93: Waiting [2024-05-29T07:46:29.112Z] e2be974225ed: Verifying Checksum [2024-05-29T07:46:29.112Z] e2be974225ed: Download complete [2024-05-29T07:46:29.112Z] 988bab9f4d93: Verifying Checksum [2024-05-29T07:46:29.112Z] 988bab9f4d93: Download complete [2024-05-29T07:46:29.112Z] 1469e6f7b9e6: Verifying Checksum [2024-05-29T07:46:29.112Z] 1469e6f7b9e6: Download complete [2024-05-29T07:46:29.112Z] eaf3925da568: Verifying Checksum [2024-05-29T07:46:29.112Z] eaf3925da568: Download complete [2024-05-29T07:46:29.112Z] 339a4e72a1f5: Verifying Checksum [2024-05-29T07:46:29.112Z] 339a4e72a1f5: Download complete [2024-05-29T07:46:29.371Z] bde34c3a00c8: Verifying Checksum [2024-05-29T07:46:29.371Z] bde34c3a00c8: Download complete [2024-05-29T07:46:29.371Z] b352a97aabf1: Download complete [2024-05-29T07:46:29.371Z] 4872d77fe225: Verifying Checksum [2024-05-29T07:46:29.371Z] 4872d77fe225: Download complete [2024-05-29T07:46:29.371Z] 5851b861e8e6: Verifying Checksum [2024-05-29T07:46:29.371Z] 5851b861e8e6: Download complete [2024-05-29T07:46:29.371Z] b85a868b505f: Download complete [2024-05-29T07:46:29.630Z] bab4dde63d76: Verifying Checksum [2024-05-29T07:46:29.630Z] bab4dde63d76: Download complete [2024-05-29T07:46:30.572Z] b85a868b505f: Pull complete [2024-05-29T07:46:30.831Z] e2be974225ed: Pull complete [2024-05-29T07:46:31.398Z] 339a4e72a1f5: Pull complete [2024-05-29T07:46:31.398Z] 988bab9f4d93: Pull complete [2024-05-29T07:46:31.661Z] 1469e6f7b9e6: Pull complete [2024-05-29T07:46:31.661Z] eaf3925da568: Pull complete [2024-05-29T07:46:33.573Z] bab4dde63d76: Pull complete [2024-05-29T07:46:33.573Z] bde34c3a00c8: Pull complete [2024-05-29T07:46:33.573Z] b352a97aabf1: Pull complete [2024-05-29T07:46:33.573Z] 4872d77fe225: Pull complete [2024-05-29T07:46:33.573Z] 5851b861e8e6: Pull complete [2024-05-29T07:46:33.573Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-29T07:46:33.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T07:46:33.835Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T07:46:34.143Z] prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container [2024-05-29T07:46:34.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-29T07:46:37.158Z] $ docker top 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 -eo pid,comm [2024-05-29T07:46:37.206Z] 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-05-29T07:46:37.206Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-29T07:46:37.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T07:46:37.372Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T07:46:37.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T07:46:37.515Z] $ docker exec 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 ssh-agent [2024-05-29T07:46:37.614Z] SSH_AUTH_SOCK=/tmp/ssh-4XTV0YsizJ4x/agent.31 [2024-05-29T07:46:37.614Z] SSH_AGENT_PID=37 [2024-05-29T07:46:37.621Z] Running ssh-add (command line suppressed) [2024-05-29T07:46:37.732Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-53@tmp/private_key_14155220708045098368.key (/w/workspace/edgexfoundry_device-uart_PR-53@tmp/private_key_14155220708045098368.key) [2024-05-29T07:46:37.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T07:46:38.088Z] + git tag --points-at HEAD [Pipeline] } [2024-05-29T07:46:38.127Z] $ docker exec --env ******** --env ******** 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 ssh-agent -k [2024-05-29T07:46:38.224Z] unset SSH_AUTH_SOCK; [2024-05-29T07:46:38.225Z] unset SSH_AGENT_PID; [2024-05-29T07:46:38.225Z] echo Agent pid 37 killed; [2024-05-29T07:46:38.229Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-29T07:46:38.344Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T07:46:38.344Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T07:46:38.448Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T07:46:38.462Z] $ docker exec 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 ssh-agent [2024-05-29T07:46:38.567Z] SSH_AUTH_SOCK=/tmp/ssh-ITOeKBdiZhd8/agent.70 [2024-05-29T07:46:38.567Z] SSH_AGENT_PID=76 [2024-05-29T07:46:38.572Z] Running ssh-add (command line suppressed) [2024-05-29T07:46:38.681Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-53@tmp/private_key_18378797147649698314.key (/w/workspace/edgexfoundry_device-uart_PR-53@tmp/private_key_18378797147649698314.key) [2024-05-29T07:46:38.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T07:46:39.046Z] + git semver init [2024-05-29T07:46:39.305Z] 2024-05-29 07:46:39,266 [run_init] DEBUG init version:0.0.0 force:False [2024-05-29T07:46:39.305Z] 2024-05-29 07:46:39,267 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-53/.semver [2024-05-29T07:46:39.305Z] 2024-05-29 07:46:39,268 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-53/.semver [2024-05-29T07:46:39.305Z] 2024-05-29 07:46:39,269 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-53/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-53, universal_newlines=False, shell=None, istream=None) [2024-05-29T07:46:40.688Z] 2024-05-29 07:46:40,383 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-53/.git/info/exclude [2024-05-29T07:46:40.688Z] 2024-05-29 07:46:40,384 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-53/.semver/PR-53 with force:False [2024-05-29T07:46:40.688Z] 2024-05-29 07:46:40,384 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-53/.semver/PR-53 [2024-05-29T07:46:40.688Z] 2024-05-29 07:46:40,389 [execute] INFO git cat-file --batch-check [2024-05-29T07:46:40.688Z] 2024-05-29 07:46:40,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-53/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T07:46:40.688Z] 2024-05-29 07:46:40,398 [execute] INFO git cat-file --batch [2024-05-29T07:46:40.688Z] 2024-05-29 07:46:40,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-53/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T07:46:40.688Z] 2024-05-29 07:46:40,404 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-53/.semver/PR-53 [2024-05-29T07:46:40.688Z] 0.0.0 [Pipeline] } [2024-05-29T07:46:40.733Z] $ docker exec --env ******** --env ******** 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 ssh-agent -k [2024-05-29T07:46:40.854Z] unset SSH_AUTH_SOCK; [2024-05-29T07:46:40.855Z] unset SSH_AGENT_PID; [2024-05-29T07:46:40.857Z] echo Agent pid 76 killed; [2024-05-29T07:46:40.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-29T07:46:41.334Z] + git semver [Pipeline] } [2024-05-29T07:46:41.644Z] $ docker stop --time=1 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 [2024-05-29T07:46:42.962Z] $ docker rm -f --volumes 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T07:46:43.389Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-29T07:46:43.737Z] Stashed 1 file(s) [Pipeline] echo [2024-05-29T07:46:43.765Z] [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-05-29T07:46:44.510Z] provisioning config files... [2024-05-29T07:46:44.523Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-53@tmp/config4658399202341075144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:46:44.909Z] ---> ****-login.sh [2024-05-29T07:46:44.909Z] nexus3.edgexfoundry.org:10001 [2024-05-29T07:46:44.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:44.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:44.909Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:44.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:44.909Z] [2024-05-29T07:46:44.909Z] Login Succeeded [2024-05-29T07:46:44.909Z] nexus3.edgexfoundry.org:10002 [2024-05-29T07:46:44.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:44.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:44.909Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:44.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:44.909Z] [2024-05-29T07:46:44.909Z] Login Succeeded [2024-05-29T07:46:44.909Z] nexus3.edgexfoundry.org:10003 [2024-05-29T07:46:45.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:45.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:45.169Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:45.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:45.169Z] [2024-05-29T07:46:45.169Z] Login Succeeded [2024-05-29T07:46:45.169Z] nexus3.edgexfoundry.org:10004 [2024-05-29T07:46:45.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:45.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:45.170Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:45.170Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:45.170Z] [2024-05-29T07:46:45.170Z] Login Succeeded [2024-05-29T07:46:45.170Z] ****.io [2024-05-29T07:46:45.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:46:45.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:46:45.431Z] Configure a credential helper to remove this warning. See [2024-05-29T07:46:45.431Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:46:45.431Z] [2024-05-29T07:46:45.431Z] Login Succeeded [2024-05-29T07:46:45.431Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T07:46:45.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T07:46:45.718Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-29T07:46:46.044Z] + grep+ ^go [0-9].[0-9]* go.mod [2024-05-29T07:46:46.044Z] cut -d -f 2 [Pipeline] echo [2024-05-29T07:46:46.094Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T07:46:46.146Z] ========================================================= [2024-05-29T07:46:46.146Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-29T07:46:46.146Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:46:46.690Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-29T07:46:46.950Z] Sending build context to Docker daemon 54.02MB [2024-05-29T07:46:46.950Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T07:46:46.950Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-29T07:46:47.208Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-29T07:46:47.208Z] 619be1103602: Pulling fs layer [2024-05-29T07:46:47.208Z] 7862e08f4a3e: Pulling fs layer [2024-05-29T07:46:47.208Z] 5df492c9dc93: Pulling fs layer [2024-05-29T07:46:47.208Z] 7629e6793208: Pulling fs layer [2024-05-29T07:46:47.208Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T07:46:47.208Z] 8de7f028bff5: Pulling fs layer [2024-05-29T07:46:47.208Z] 44042ff1420b: Pulling fs layer [2024-05-29T07:46:47.208Z] 5cdaf54b7214: Pulling fs layer [2024-05-29T07:46:47.208Z] 38f3e5a9071a: Pulling fs layer [2024-05-29T07:46:47.208Z] 7629e6793208: Waiting [2024-05-29T07:46:47.208Z] 5cdaf54b7214: Waiting [2024-05-29T07:46:47.208Z] 8de7f028bff5: Waiting [2024-05-29T07:46:47.208Z] 4f4fb700ef54: Waiting [2024-05-29T07:46:47.208Z] 7862e08f4a3e: Verifying Checksum [2024-05-29T07:46:47.208Z] 7862e08f4a3e: Download complete [2024-05-29T07:46:47.208Z] 7629e6793208: Download complete [2024-05-29T07:46:47.208Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T07:46:47.208Z] 4f4fb700ef54: Download complete [2024-05-29T07:46:47.208Z] 8de7f028bff5: Download complete [2024-05-29T07:46:47.208Z] 619be1103602: Verifying Checksum [2024-05-29T07:46:47.208Z] 619be1103602: Download complete [2024-05-29T07:46:47.208Z] 44042ff1420b: Verifying Checksum [2024-05-29T07:46:47.208Z] 44042ff1420b: Download complete [2024-05-29T07:46:47.511Z] 619be1103602: Pull complete [2024-05-29T07:46:47.511Z] 38f3e5a9071a: Verifying Checksum [2024-05-29T07:46:47.511Z] 38f3e5a9071a: Download complete [2024-05-29T07:46:47.511Z] 7862e08f4a3e: Pull complete [2024-05-29T07:46:47.778Z] 5df492c9dc93: Verifying Checksum [2024-05-29T07:46:47.778Z] 5df492c9dc93: Download complete [2024-05-29T07:46:48.051Z] 5cdaf54b7214: Verifying Checksum [2024-05-29T07:46:48.051Z] 5cdaf54b7214: Download complete [2024-05-29T07:46:51.353Z] 5df492c9dc93: Pull complete [2024-05-29T07:46:51.353Z] 7629e6793208: Pull complete [2024-05-29T07:46:51.353Z] 4f4fb700ef54: Pull complete [2024-05-29T07:46:51.353Z] 8de7f028bff5: Pull complete [2024-05-29T07:46:51.353Z] 44042ff1420b: Pull complete [2024-05-29T07:46:53.887Z] 5cdaf54b7214: Pull complete [2024-05-29T07:46:54.147Z] 38f3e5a9071a: Pull complete [2024-05-29T07:46:54.147Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-29T07:46:54.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-29T07:46:54.147Z] ---> 60b93f829570 [2024-05-29T07:46:54.147Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T07:46:58.637Z] ---> Running in a45a1341d73d [2024-05-29T07:46:58.637Z] Removing intermediate container a45a1341d73d [2024-05-29T07:46:58.637Z] ---> 4eae4fda6f4d [2024-05-29T07:46:58.637Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T07:46:58.637Z] ---> Running in 97bc6c579516 [2024-05-29T07:46:58.637Z] Removing intermediate container 97bc6c579516 [2024-05-29T07:46:58.637Z] ---> 8aca14493849 [2024-05-29T07:46:58.637Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-29T07:46:58.637Z] ---> Running in c472debd4c15 [2024-05-29T07:46:58.637Z] Removing intermediate container c472debd4c15 [2024-05-29T07:46:58.637Z] ---> a965bcbb71a9 [2024-05-29T07:46:58.637Z] Step 6/12 : WORKDIR /device-uart [2024-05-29T07:46:58.637Z] ---> Running in 5f0c0c7d8dd2 [2024-05-29T07:46:58.638Z] Removing intermediate container 5f0c0c7d8dd2 [2024-05-29T07:46:58.638Z] ---> a44b5c619c19 [2024-05-29T07:46:58.638Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T07:46:58.638Z] ---> Running in 6b4b38e2c49d [2024-05-29T07:46:58.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T07:46:59.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T07:46:59.157Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T07:46:59.280Z] Still waiting to schedule task [2024-05-29T07:46:59.280Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-29T07:46:59.416Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-29T07:46:59.416Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T07:46:59.416Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T07:46:59.416Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T07:46:59.416Z] OK: 268 MiB in 56 packages [2024-05-29T07:46:59.983Z] Removing intermediate container 6b4b38e2c49d [2024-05-29T07:46:59.983Z] ---> 852bc20e4579 [2024-05-29T07:46:59.983Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-29T07:47:01.895Z] ---> d8ad51758ed6 [2024-05-29T07:47:01.895Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T07:47:01.895Z] ---> Running in 5c2bc565258f [2024-05-29T07:47:33.990Z] Removing intermediate container 5c2bc565258f [2024-05-29T07:47:33.990Z] ---> 68d675712354 [2024-05-29T07:47:33.990Z] Step 10/12 : COPY . . [2024-05-29T07:47:33.990Z] ---> c27b109b1def [2024-05-29T07:47:33.990Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T07:47:33.990Z] ---> Running in a7c071055f65 [2024-05-29T07:47:33.990Z] Removing intermediate container a7c071055f65 [2024-05-29T07:47:33.990Z] ---> 1a2469110872 [2024-05-29T07:47:33.990Z] Step 12/12 : RUN ${MAKE} [2024-05-29T07:47:33.990Z] ---> Running in 4c9f6866997a [2024-05-29T07:47:34.250Z] noop [2024-05-29T07:47:34.510Z] Removing intermediate container 4c9f6866997a [2024-05-29T07:47:34.510Z] ---> 408616eea945 [2024-05-29T07:47:34.510Z] Successfully built 408616eea945 [2024-05-29T07:47:34.510Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:47:34.999Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T07:47:34.999Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T07:47:35.171Z] prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container [2024-05-29T07:47:35.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T07:47:35.604Z] $ docker top 73a2eb11fbe9db7bba056014f07c2cc7a1f0d96ec4ec0544a721c1bd6471d2ab -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T07:47:36.007Z] + go version [2024-05-29T07:47:36.007Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-29T07:47:36.056Z] $ docker stop --time=1 73a2eb11fbe9db7bba056014f07c2cc7a1f0d96ec4ec0544a721c1bd6471d2ab [2024-05-29T07:47:37.334Z] $ docker rm -f --volumes 73a2eb11fbe9db7bba056014f07c2cc7a1f0d96ec4ec0544a721c1bd6471d2ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:47:38.217Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T07:47:38.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T07:47:38.394Z] prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container [2024-05-29T07:47:38.426Z] $ 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-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T07:47:38.775Z] $ docker top 4e065e3097c8f9617c1d2f52f3d820770eb3e1849aee0d78bf89fdda078be56e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T07:47:39.188Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-53 [Pipeline] fileExists [Pipeline] sh [2024-05-29T07:47:39.568Z] + make test [2024-05-29T07:47:39.568Z] go test ./... -coverprofile=coverage.out [2024-05-29T07:47:40.946Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-05-29T07:47:53.136Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-05-29T07:47:53.136Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-05-29T07:47:58.401Z] go vet ./... [2024-05-29T07:48:00.932Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T07:48:00.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T07:48:01.190Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-29T07:48:01.237Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-29T07:48:01.619Z] + go mod tidy [Pipeline] } [2024-05-29T07:48:01.904Z] $ docker stop --time=1 4e065e3097c8f9617c1d2f52f3d820770eb3e1849aee0d78bf89fdda078be56e [2024-05-29T07:48:04.815Z] $ docker rm -f --volumes 4e065e3097c8f9617c1d2f52f3d820770eb3e1849aee0d78bf89fdda078be56e [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T07:48:05.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T07:48:05.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-29T07:48:06.209Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T07:48:06.526Z] + ls -al . [2024-05-29T07:48:06.527Z] total 160 [2024-05-29T07:48:06.527Z] drwxrwxr-x 9 jenkins jenkins 4096 May 29 07:47 . [2024-05-29T07:48:06.527Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 07:46 .. [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 140 May 29 07:46 .dockerignore [2024-05-29T07:48:06.527Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 07:47 .git [2024-05-29T07:48:06.527Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:46 .github [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 335 May 29 07:46 .gitignore [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 07:46 .golangci.yml [2024-05-29T07:48:06.527Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 07:46 .semver [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 9960 May 29 07:46 Attribution.txt [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 1908 May 29 07:46 CHANGELOG.md [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 1886 May 29 07:46 Dockerfile [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 07:46 GOVERNANCE.md [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 675 May 29 07:46 Jenkinsfile [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 07:46 LICENSE [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 1872 May 29 07:46 Makefile [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 617 May 29 07:46 OWNERS.md [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 8892 May 29 07:46 README.md [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 07:46 VERSION [2024-05-29T07:48:06.527Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 07:46 bin [2024-05-29T07:48:06.527Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:46 cmd [2024-05-29T07:48:06.527Z] -rw-r--r-- 1 jenkins jenkins 10 May 29 07:47 coverage.out [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 3644 May 29 07:46 go.mod [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 34414 May 29 07:46 go.sum [2024-05-29T07:48:06.527Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:46 internal [2024-05-29T07:48:06.527Z] drwxrwxr-x 6 jenkins jenkins 4096 May 29 07:46 vendor [2024-05-29T07:48:06.527Z] -rw-rw-r-- 1 jenkins jenkins 209 May 29 07:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:48:06.942Z] + 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=d29d59aa91c5e4b626911b2529954fa1a9089a75 --label arch=amd64 --label version=0.0.0 . [2024-05-29T07:48:07.203Z] Sending build context to Docker daemon 54.02MB [2024-05-29T07:48:07.203Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T07:48:07.203Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-29T07:48:07.203Z] ---> 408616eea945 [2024-05-29T07:48:07.203Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T07:48:07.768Z] ---> Running in 360a9651ea2e [2024-05-29T07:48:07.768Z] Removing intermediate container 360a9651ea2e [2024-05-29T07:48:07.768Z] ---> 5be289d0871d [2024-05-29T07:48:07.768Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T07:48:07.768Z] ---> Running in ef86363e2465 [2024-05-29T07:48:07.768Z] Removing intermediate container ef86363e2465 [2024-05-29T07:48:07.768Z] ---> 6dc55d0f1bb4 [2024-05-29T07:48:07.768Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-29T07:48:07.768Z] ---> Running in 9b6c04cb490b [2024-05-29T07:48:08.027Z] Removing intermediate container 9b6c04cb490b [2024-05-29T07:48:08.027Z] ---> 246f20055fbc [2024-05-29T07:48:08.027Z] Step 6/26 : WORKDIR /device-uart [2024-05-29T07:48:08.027Z] ---> Running in 3f7becf0812d [2024-05-29T07:48:08.027Z] Removing intermediate container 3f7becf0812d [2024-05-29T07:48:08.027Z] ---> 22ff91d09e28 [2024-05-29T07:48:08.027Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T07:48:08.027Z] ---> Running in eb3739938ae0 [2024-05-29T07:48:08.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T07:48:08.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T07:48:08.802Z] OK: 268 MiB in 56 packages [2024-05-29T07:48:09.061Z] Removing intermediate container eb3739938ae0 [2024-05-29T07:48:09.061Z] ---> de65c9602793 [2024-05-29T07:48:09.061Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-29T07:48:11.071Z] ---> 9e1ba9b4c8e0 [2024-05-29T07:48:11.071Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T07:48:11.071Z] ---> Running in c3ac9fda7fdd [2024-05-29T07:48:11.071Z] skipping... [2024-05-29T07:48:11.331Z] Removing intermediate container c3ac9fda7fdd [2024-05-29T07:48:11.331Z] ---> abc1120f1254 [2024-05-29T07:48:11.331Z] Step 10/26 : COPY . . [2024-05-29T07:48:13.869Z] ---> 6374ec61a8a8 [2024-05-29T07:48:13.869Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T07:48:13.869Z] ---> Running in 388427d126a7 [2024-05-29T07:48:13.869Z] Removing intermediate container 388427d126a7 [2024-05-29T07:48:13.869Z] ---> f2866dffe0d0 [2024-05-29T07:48:13.869Z] Step 12/26 : RUN ${MAKE} [2024-05-29T07:48:13.869Z] ---> Running in b147e7584e6a [2024-05-29T07:48:13.869Z] 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.1.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-05-29T07:48:29.375Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1014 in /w/workspace/edgexfoundry_device-uart_PR-53 [Pipeline] { [Pipeline] ws [2024-05-29T07:48:29.450Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-05-29T07:48:32.580Z] The recommended git tool is: git [2024-05-29T07:48:35.817Z] Removing intermediate container b147e7584e6a [2024-05-29T07:48:35.817Z] ---> dcc3df661db6 [2024-05-29T07:48:35.817Z] Step 13/26 : FROM alpine:3.18 [2024-05-29T07:48:35.817Z] 3.18: Pulling from library/alpine [2024-05-29T07:48:35.817Z] 619be1103602: Already exists [2024-05-29T07:48:35.817Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T07:48:35.817Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T07:48:35.817Z] ---> d3782b16ccc9 [2024-05-29T07:48:35.817Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-05-29T07:48:35.817Z] ---> Running in 801cfdadc6e3 [2024-05-29T07:48:35.817Z] Removing intermediate container 801cfdadc6e3 [2024-05-29T07:48:35.817Z] ---> 26c253b907bc [2024-05-29T07:48:35.817Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-29T07:48:35.817Z] ---> Running in 04a5144cdd30 [2024-05-29T07:48:35.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T07:48:35.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T07:48:35.818Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T07:48:35.818Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T07:48:35.818Z] OK: 7 MiB in 16 packages [2024-05-29T07:48:35.818Z] Removing intermediate container 04a5144cdd30 [2024-05-29T07:48:35.818Z] ---> 25105e43e0b9 [2024-05-29T07:48:35.818Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-29T07:48:35.818Z] ---> Running in 03250f242905 [2024-05-29T07:48:35.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T07:48:35.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T07:48:35.818Z] Upgrading critical system libraries and apk-tools: [2024-05-29T07:48:35.818Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T07:48:35.818Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T07:48:35.818Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T07:48:35.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T07:48:35.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T07:48:35.818Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T07:48:35.818Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T07:48:35.818Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T07:48:35.818Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T07:48:35.818Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T07:48:35.818Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T07:48:35.818Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T07:48:35.818Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T07:48:35.818Z] OK: 7 MiB in 16 packages [2024-05-29T07:48:36.392Z] Removing intermediate container 03250f242905 [2024-05-29T07:48:36.393Z] ---> ab4b8ff82d88 [2024-05-29T07:48:36.393Z] Step 17/26 : WORKDIR / [2024-05-29T07:48:36.393Z] ---> Running in 8fc1743b3e30 [2024-05-29T07:48:36.393Z] Removing intermediate container 8fc1743b3e30 [2024-05-29T07:48:36.393Z] ---> 50a2eb961537 [2024-05-29T07:48:36.393Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-05-29T07:48:36.651Z] ---> f07dd516a618 [2024-05-29T07:48:36.651Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-05-29T07:48:36.651Z] ---> aea826f70427 [2024-05-29T07:48:36.651Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-05-29T07:48:37.586Z] ---> 83b0d40d23f9 [2024-05-29T07:48:37.586Z] Step 21/26 : EXPOSE 59995 [2024-05-29T07:48:37.586Z] ---> Running in 4b4413fa3cf6 [2024-05-29T07:48:37.586Z] Removing intermediate container 4b4413fa3cf6 [2024-05-29T07:48:37.586Z] ---> a008882d2293 [2024-05-29T07:48:37.586Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-05-29T07:48:37.586Z] ---> Running in fe3a6c914b7b [2024-05-29T07:48:37.586Z] Removing intermediate container fe3a6c914b7b [2024-05-29T07:48:37.586Z] ---> f4b57f7fadba [2024-05-29T07:48:37.586Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-29T07:48:37.586Z] ---> Running in d5cee746fc50 [2024-05-29T07:48:37.844Z] Removing intermediate container d5cee746fc50 [2024-05-29T07:48:37.844Z] ---> 0a6c7f5b6590 [2024-05-29T07:48:37.844Z] Step 24/26 : LABEL arch=amd64 [2024-05-29T07:48:37.844Z] ---> Running in 6e8a3ba53f6b [2024-05-29T07:48:37.844Z] Removing intermediate container 6e8a3ba53f6b [2024-05-29T07:48:37.844Z] ---> abccad81e009 [2024-05-29T07:48:37.844Z] Step 25/26 : LABEL git_sha=d29d59aa91c5e4b626911b2529954fa1a9089a75 [2024-05-29T07:48:37.844Z] ---> Running in 17dcefb73ed0 [2024-05-29T07:48:37.844Z] Removing intermediate container 17dcefb73ed0 [2024-05-29T07:48:37.844Z] ---> cfc8a12e4721 [2024-05-29T07:48:37.844Z] Step 26/26 : LABEL version=0.0.0 [2024-05-29T07:48:38.103Z] ---> Running in 9305dfb41540 [2024-05-29T07:48:38.103Z] Removing intermediate container 9305dfb41540 [2024-05-29T07:48:38.103Z] ---> 2355276d3672 [2024-05-29T07:48:38.103Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T07:48:38.103Z] Successfully built 2355276d3672 [2024-05-29T07:48:38.103Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:48:39.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T07:48:39.231Z] [2024-05-29T07:48:39.231Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:48:39.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T07:48:39.625Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-29T07:48:39.625Z] 5eb5b503b376: Pulling fs layer [2024-05-29T07:48:39.625Z] 5c69ac0246d0: Pulling fs layer [2024-05-29T07:48:39.625Z] ec43610c2a17: Pulling fs layer [2024-05-29T07:48:39.625Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-29T07:48:39.625Z] 33b1e0a273af: Pulling fs layer [2024-05-29T07:48:39.625Z] 5d3b04190fa2: Pulling fs layer [2024-05-29T07:48:39.625Z] 2f39f015ded8: Pulling fs layer [2024-05-29T07:48:39.625Z] 3a2ae6a8a46f: Waiting [2024-05-29T07:48:39.625Z] 33b1e0a273af: Waiting [2024-05-29T07:48:39.625Z] 5d3b04190fa2: Waiting [2024-05-29T07:48:39.625Z] 2f39f015ded8: Waiting [2024-05-29T07:48:39.625Z] 5c69ac0246d0: Download complete [2024-05-29T07:48:39.625Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-29T07:48:39.625Z] 3a2ae6a8a46f: Download complete [2024-05-29T07:48:39.625Z] 33b1e0a273af: Verifying Checksum [2024-05-29T07:48:39.625Z] 33b1e0a273af: Download complete [2024-05-29T07:48:39.625Z] 5d3b04190fa2: Verifying Checksum [2024-05-29T07:48:39.625Z] 5d3b04190fa2: Download complete [2024-05-29T07:48:39.625Z] ec43610c2a17: Verifying Checksum [2024-05-29T07:48:39.625Z] ec43610c2a17: Download complete [2024-05-29T07:48:39.885Z] 5eb5b503b376: Download complete [2024-05-29T07:48:40.374Z] using credential edgex-jenkins-ssh [2024-05-29T07:48:40.399Z] Cloning the remote Git repository [2024-05-29T07:48:40.452Z] 2f39f015ded8: Download complete [2024-05-29T07:48:40.460Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-05-29T07:48:40.579Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-05-29T07:48:40.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-05-29T07:48:40.902Z] > git --version # timeout=10 [2024-05-29T07:48:40.999Z] > git --version # 'git version 2.25.1' [2024-05-29T07:48:41.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T07:48:41.216Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T07:48:41.610Z] 5eb5b503b376: Pull complete [2024-05-29T07:48:41.610Z] 5c69ac0246d0: Pull complete [2024-05-29T07:48:41.610Z] ec43610c2a17: Pull complete [2024-05-29T07:48:41.610Z] 3a2ae6a8a46f: Pull complete [2024-05-29T07:48:42.151Z] 33b1e0a273af: Pull complete [2024-05-29T07:48:42.151Z] 5d3b04190fa2: Pull complete [2024-05-29T07:48:43.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-05-29T07:48:43.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T07:48:44.577Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-05-29T07:48:44.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-05-29T07:48:44.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T07:48:44.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-29T07:48:46.153Z] Merging remotes/origin/napa commit d0925bfba9be57c91a88507a1350afd17db6efb3 into PR head commit d29d59aa91c5e4b626911b2529954fa1a9089a75 [2024-05-29T07:48:46.342Z] 2f39f015ded8: Pull complete [2024-05-29T07:48:46.342Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-29T07:48:46.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T07:48:46.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T07:48:46.612Z] prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container [2024-05-29T07:48:46.637Z] $ 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-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T07:48:47.238Z] Merge succeeded, producing d29d59aa91c5e4b626911b2529954fa1a9089a75 [2024-05-29T07:48:47.238Z] Checking out Revision d29d59aa91c5e4b626911b2529954fa1a9089a75 (PR-53) [2024-05-29T07:48:46.167Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T07:48:46.229Z] > git checkout -f d29d59aa91c5e4b626911b2529954fa1a9089a75 # timeout=10 [2024-05-29T07:48:47.123Z] > git remote # timeout=10 [2024-05-29T07:48:47.143Z] > git config --get remote.origin.url # timeout=10 [2024-05-29T07:48:47.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T07:48:47.187Z] > git merge d0925bfba9be57c91a88507a1350afd17db6efb3 # timeout=10 [2024-05-29T07:48:47.216Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-29T07:48:47.242Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T07:48:47.257Z] > git checkout -f d29d59aa91c5e4b626911b2529954fa1a9089a75 # timeout=10 [2024-05-29T07:48:47.810Z] Commit message: "build: Bump SDK to v3.1.1" [2024-05-29T07:48:47.854Z] > git --version # timeout=10 [2024-05-29T07:48:47.866Z] > git --version # 'git version 2.25.1' [2024-05-29T07:48:47.878Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-29T07:48:50.892Z] $ docker top 4cc5cb6713b6c41c50bc3c8a5dcb597b8524534a6ac43c549b252244e93f1c3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:48:51.413Z] ---> job-cost.sh [2024-05-29T07:48:51.413Z] lf-activate-venv: SKIPPING [2024-05-29T07:48:51.413Z] INFO: No Stack... [2024-05-29T07:48:51.672Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T07:48:51.919Z] [2024-05-29T07:48:51.919Z] GitHub has been notified of this commit’s build result [2024-05-29T07:48:51.919Z] [2024-05-29T07:48:51.931Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-05-29T07:48:52.260Z] + cat /w/workspace/edgexfoundry_device-uart_PR-53/archives/cost.csv [2024-05-29T07:48:52.260Z] + cut -d, -f6 [Pipeline] sh [Pipeline] lock [2024-05-29T07:48:52.550Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [2024-05-29T07:48:52.556Z] Resource [jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] did not exist. Created. [2024-05-29T07:48:52.563Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T07:48:52.799Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-29T07:48:52.799Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T07:48:52.799Z] Dload Upload Total Spent Left Speed [2024-05-29T07:48:52.799Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2024-05-29T07:48:52.996Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-29T07:48:53.076Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T07:48:53.095Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [2024-05-29T07:48:53.145Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // lock [Pipeline] } [2024-05-29T07:48:53.200Z] $ docker stop --time=1 4cc5cb6713b6c41c50bc3c8a5dcb597b8524534a6ac43c549b252244e93f1c3a [2024-05-29T07:48:54.356Z] $ docker rm -f --volumes 4cc5cb6713b6c41c50bc3c8a5dcb597b8524534a6ac43c549b252244e93f1c3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2024-05-29T07:48:54.801Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-29T07:48:54.801Z] + sudo tee /etc/docker/daemon.new [2024-05-29T07:48:54.801Z] { [2024-05-29T07:48:54.801Z] "registry-mirrors": [ [2024-05-29T07:48:54.801Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-29T07:48:54.801Z] ], [2024-05-29T07:48:54.801Z] "bip": "10.250.0.254/24", [2024-05-29T07:48:54.801Z] "hosts": [ [2024-05-29T07:48:54.801Z] "tcp://0.0.0.0:5555", [2024-05-29T07:48:54.801Z] "unix:///var/run/docker.sock" [2024-05-29T07:48:54.801Z] ], [2024-05-29T07:48:54.801Z] "mtu": 1458, [2024-05-29T07:48:54.801Z] "selinux-enabled": true, [2024-05-29T07:48:54.801Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-29T07:48:54.801Z] } [Pipeline] } [Pipeline] sh [2024-05-29T07:48:55.203Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-29T07:48:55.565Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T07:49:13.886Z] provisioning config files... [2024-05-29T07:49:13.914Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config2552285036426275128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:49:14.417Z] ---> ****-login.sh [2024-05-29T07:49:14.417Z] nexus3.edgexfoundry.org:10001 [2024-05-29T07:49:15.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:49:15.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:49:15.007Z] Configure a credential helper to remove this warning. See [2024-05-29T07:49:15.007Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:49:15.007Z] [2024-05-29T07:49:15.007Z] Login Succeeded [2024-05-29T07:49:15.007Z] nexus3.edgexfoundry.org:10002 [2024-05-29T07:49:15.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:49:15.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:49:15.279Z] Configure a credential helper to remove this warning. See [2024-05-29T07:49:15.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:49:15.279Z] [2024-05-29T07:49:15.279Z] Login Succeeded [2024-05-29T07:49:15.279Z] nexus3.edgexfoundry.org:10003 [2024-05-29T07:49:15.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:49:15.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:49:15.825Z] Configure a credential helper to remove this warning. See [2024-05-29T07:49:15.825Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:49:15.825Z] [2024-05-29T07:49:15.825Z] Login Succeeded [2024-05-29T07:49:15.825Z] nexus3.edgexfoundry.org:10004 [2024-05-29T07:49:16.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:49:16.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:49:16.095Z] Configure a credential helper to remove this warning. See [2024-05-29T07:49:16.095Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:49:16.095Z] [2024-05-29T07:49:16.095Z] Login Succeeded [2024-05-29T07:49:16.095Z] ****.io [2024-05-29T07:49:16.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T07:49:16.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T07:49:16.637Z] Configure a credential helper to remove this warning. See [2024-05-29T07:49:16.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T07:49:16.637Z] [2024-05-29T07:49:16.637Z] Login Succeeded [2024-05-29T07:49:16.637Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T07:49:16.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T07:49:17.157Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-29T07:49:17.517Z] + cut -d -f 2 [2024-05-29T07:49:17.517Z] + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo [2024-05-29T07:49:17.594Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T07:49:17.642Z] ========================================================= [2024-05-29T07:49:17.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-29T07:49:17.642Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:49:18.188Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-29T07:49:20.801Z] Sending build context to Docker daemon 42.52MB [2024-05-29T07:49:20.801Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T07:49:20.801Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-29T07:49:20.801Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-29T07:49:20.801Z] c6b39de5b339: Pulling fs layer [2024-05-29T07:49:20.801Z] a69c41024577: Pulling fs layer [2024-05-29T07:49:20.801Z] d6de4b400683: Pulling fs layer [2024-05-29T07:49:20.801Z] 35cb2a7552d0: Pulling fs layer [2024-05-29T07:49:20.801Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T07:49:20.801Z] 9e011611b7f5: Pulling fs layer [2024-05-29T07:49:20.801Z] 3bd174042beb: Pulling fs layer [2024-05-29T07:49:20.801Z] 4476f39b5e91: Pulling fs layer [2024-05-29T07:49:20.801Z] 9e011611b7f5: Waiting [2024-05-29T07:49:20.801Z] 35cb2a7552d0: Waiting [2024-05-29T07:49:20.801Z] 3bd174042beb: Waiting [2024-05-29T07:49:20.801Z] 4f4fb700ef54: Waiting [2024-05-29T07:49:20.801Z] 4476f39b5e91: Waiting [2024-05-29T07:49:20.801Z] a69c41024577: Verifying Checksum [2024-05-29T07:49:20.801Z] a69c41024577: Download complete [2024-05-29T07:49:20.801Z] 35cb2a7552d0: Verifying Checksum [2024-05-29T07:49:20.801Z] 35cb2a7552d0: Download complete [2024-05-29T07:49:20.801Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T07:49:20.801Z] 4f4fb700ef54: Download complete [2024-05-29T07:49:20.801Z] 9e011611b7f5: Verifying Checksum [2024-05-29T07:49:20.801Z] 9e011611b7f5: Download complete [2024-05-29T07:49:20.801Z] c6b39de5b339: Verifying Checksum [2024-05-29T07:49:20.801Z] c6b39de5b339: Download complete [2024-05-29T07:49:21.390Z] 4476f39b5e91: Verifying Checksum [2024-05-29T07:49:21.390Z] 4476f39b5e91: Download complete [2024-05-29T07:49:21.659Z] c6b39de5b339: Pull complete [2024-05-29T07:49:22.247Z] a69c41024577: Pull complete [2024-05-29T07:49:22.832Z] d6de4b400683: Verifying Checksum [2024-05-29T07:49:22.832Z] d6de4b400683: Download complete [2024-05-29T07:49:23.795Z] 3bd174042beb: Verifying Checksum [2024-05-29T07:49:23.795Z] 3bd174042beb: Download complete [2024-05-29T07:49:36.115Z] d6de4b400683: Pull complete [2024-05-29T07:49:36.115Z] 35cb2a7552d0: Pull complete [2024-05-29T07:49:36.115Z] 4f4fb700ef54: Pull complete [2024-05-29T07:49:36.115Z] 9e011611b7f5: Pull complete [2024-05-29T07:49:44.349Z] 3bd174042beb: Pull complete [2024-05-29T07:49:46.293Z] 4476f39b5e91: Pull complete [2024-05-29T07:49:46.293Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-29T07:49:46.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-29T07:49:46.293Z] ---> 981a0608b64a [2024-05-29T07:49:46.293Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T07:49:48.245Z] ---> Running in bf3a5460d432 [2024-05-29T07:49:48.525Z] Removing intermediate container bf3a5460d432 [2024-05-29T07:49:48.525Z] ---> 992d27f7e495 [2024-05-29T07:49:48.525Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T07:49:48.793Z] ---> Running in 9ed05265e7d5 [2024-05-29T07:49:49.060Z] Removing intermediate container 9ed05265e7d5 [2024-05-29T07:49:49.060Z] ---> 685b158502e9 [2024-05-29T07:49:49.060Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-29T07:49:49.060Z] ---> Running in 8b3d16fb0c07 [2024-05-29T07:49:49.328Z] Removing intermediate container 8b3d16fb0c07 [2024-05-29T07:49:49.328Z] ---> f7456cca9c81 [2024-05-29T07:49:49.328Z] Step 6/12 : WORKDIR /device-uart [2024-05-29T07:49:49.328Z] ---> Running in d7a5807ce2de [2024-05-29T07:49:49.598Z] Removing intermediate container d7a5807ce2de [2024-05-29T07:49:49.598Z] ---> e0486564c5fe [2024-05-29T07:49:49.598Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T07:49:49.871Z] ---> Running in ca4dc742a8a4 [2024-05-29T07:49:50.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T07:49:51.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T07:49:52.380Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T07:49:52.380Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-29T07:49:52.380Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T07:49:52.663Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T07:49:52.663Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T07:49:52.663Z] OK: 271 MiB in 56 packages [2024-05-29T07:49:53.624Z] Removing intermediate container ca4dc742a8a4 [2024-05-29T07:49:53.624Z] ---> 71acac3c754e [2024-05-29T07:49:53.624Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-29T07:50:00.290Z] ---> e9154ddb802d [2024-05-29T07:50:00.290Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T07:50:00.290Z] ---> Running in b66c7878b184 [2024-05-29T07:50:56.699Z] Removing intermediate container b66c7878b184 [2024-05-29T07:50:56.699Z] ---> b279a476a475 [2024-05-29T07:50:56.699Z] Step 10/12 : COPY . . [2024-05-29T07:51:00.045Z] ---> 7733981d5f4e [2024-05-29T07:51:00.045Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T07:51:00.045Z] ---> Running in 642ce8d0d3f3 [2024-05-29T07:51:00.314Z] Removing intermediate container 642ce8d0d3f3 [2024-05-29T07:51:00.314Z] ---> 6517ae508138 [2024-05-29T07:51:00.314Z] Step 12/12 : RUN ${MAKE} [2024-05-29T07:51:00.583Z] ---> Running in 4636fc40a757 [2024-05-29T07:51:01.544Z] noop [2024-05-29T07:51:02.131Z] Removing intermediate container 4636fc40a757 [2024-05-29T07:51:02.131Z] ---> 249ce7d29035 [2024-05-29T07:51:02.398Z] Successfully built 249ce7d29035 [2024-05-29T07:51:02.398Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:51:02.915Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T07:51:02.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T07:51:03.217Z] prd-ubuntu20.04-docker-arm64-4c-16g-1014 does not seem to be running inside a container [2024-05-29T07:51:03.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T07:51:04.485Z] $ docker top 49b134e9eded35a4c46ae1a4287e1e27892dc7d7bbd8300e8f10ef2e0f17edbe -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T07:51:05.373Z] + go version [2024-05-29T07:51:05.373Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-29T07:51:05.415Z] $ docker stop --time=1 49b134e9eded35a4c46ae1a4287e1e27892dc7d7bbd8300e8f10ef2e0f17edbe [2024-05-29T07:51:07.049Z] $ docker rm -f --volumes 49b134e9eded35a4c46ae1a4287e1e27892dc7d7bbd8300e8f10ef2e0f17edbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:51:07.992Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T07:51:07.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T07:51:08.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-1014 does not seem to be running inside a container [2024-05-29T07:51:08.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T07:51:09.488Z] $ docker top 61ef52ffb875719395b89077e4a3ac94deabd40ca9ba133b28cbeaff3ccbff32 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T07:51:10.391Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-05-29T07:51:10.804Z] + make test [2024-05-29T07:51:11.072Z] go test ./... -coverprofile=coverage.out [2024-05-29T07:51:13.645Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-05-29T07:53:05.297Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-05-29T07:53:05.297Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-05-29T07:53:05.297Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-29T07:53:05.297Z] go vet ./... [2024-05-29T07:53:27.389Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T07:53:27.389Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T07:53:27.389Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-29T07:53:27.440Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-29T07:53:28.192Z] + go mod tidy [Pipeline] } [2024-05-29T07:53:31.628Z] $ docker stop --time=1 61ef52ffb875719395b89077e4a3ac94deabd40ca9ba133b28cbeaff3ccbff32 [2024-05-29T07:53:33.493Z] $ docker rm -f --volumes 61ef52ffb875719395b89077e4a3ac94deabd40ca9ba133b28cbeaff3ccbff32 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T07:53:34.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T07:53:34.831Z] Warning: overwriting stash ‘coverage-report’ [2024-05-29T07:53:35.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T07:53:36.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T07:53:36.678Z] + ls -al . [2024-05-29T07:53:36.678Z] total 156 [2024-05-29T07:53:36.678Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 07:51 . [2024-05-29T07:53:36.678Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 07:48 .. [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 140 May 29 07:48 .dockerignore [2024-05-29T07:53:36.678Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 07:48 .git [2024-05-29T07:53:36.678Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:48 .github [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 335 May 29 07:48 .gitignore [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 07:48 .golangci.yml [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 9960 May 29 07:48 Attribution.txt [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 1908 May 29 07:48 CHANGELOG.md [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 1886 May 29 07:48 Dockerfile [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 07:48 GOVERNANCE.md [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 675 May 29 07:48 Jenkinsfile [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 07:48 LICENSE [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 1872 May 29 07:48 Makefile [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 617 May 29 07:48 OWNERS.md [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 8892 May 29 07:48 README.md [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 07:46 VERSION [2024-05-29T07:53:36.678Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 07:48 bin [2024-05-29T07:53:36.678Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:48 cmd [2024-05-29T07:53:36.678Z] -rw-r--r-- 1 jenkins jenkins 10 May 29 07:51 coverage.out [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 3644 May 29 07:48 go.mod [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 34414 May 29 07:48 go.sum [2024-05-29T07:53:36.678Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:48 internal [2024-05-29T07:53:36.678Z] drwxrwxr-x 6 jenkins jenkins 4096 May 29 07:48 vendor [2024-05-29T07:53:36.678Z] -rw-rw-r-- 1 jenkins jenkins 209 May 29 07:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:53:37.136Z] + 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=d29d59aa91c5e4b626911b2529954fa1a9089a75 --label arch=arm64 --label version=0.0.0 . [2024-05-29T07:53:39.723Z] Sending build context to Docker daemon 42.52MB [2024-05-29T07:53:39.723Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T07:53:39.723Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-29T07:53:39.723Z] ---> 249ce7d29035 [2024-05-29T07:53:39.723Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T07:53:39.723Z] ---> Running in d8afba4506a5 [2024-05-29T07:53:39.989Z] Removing intermediate container d8afba4506a5 [2024-05-29T07:53:39.989Z] ---> 1550588c6fca [2024-05-29T07:53:39.989Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T07:53:39.989Z] ---> Running in a40e483d016e [2024-05-29T07:53:40.261Z] Removing intermediate container a40e483d016e [2024-05-29T07:53:40.261Z] ---> 12e43ee3ad22 [2024-05-29T07:53:40.261Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-29T07:53:40.533Z] ---> Running in f6e3c53ca959 [2024-05-29T07:53:40.800Z] Removing intermediate container f6e3c53ca959 [2024-05-29T07:53:40.800Z] ---> 6ece556127fb [2024-05-29T07:53:40.800Z] Step 6/26 : WORKDIR /device-uart [2024-05-29T07:53:40.800Z] ---> Running in 92e37f4c06e5 [2024-05-29T07:53:41.068Z] Removing intermediate container 92e37f4c06e5 [2024-05-29T07:53:41.068Z] ---> a28627478729 [2024-05-29T07:53:41.068Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T07:53:41.068Z] ---> Running in a092bf4588cc [2024-05-29T07:53:42.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T07:53:42.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T07:53:43.585Z] OK: 271 MiB in 56 packages [2024-05-29T07:53:44.545Z] Removing intermediate container a092bf4588cc [2024-05-29T07:53:44.545Z] ---> d97d3343a389 [2024-05-29T07:53:44.545Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-29T07:53:51.207Z] ---> 3f071f52892c [2024-05-29T07:53:51.207Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T07:53:51.207Z] ---> Running in b5a4e46f75b1 [2024-05-29T07:53:52.174Z] skipping... [2024-05-29T07:53:52.755Z] Removing intermediate container b5a4e46f75b1 [2024-05-29T07:53:52.755Z] ---> 70a5631d8953 [2024-05-29T07:53:52.755Z] Step 10/26 : COPY . . [2024-05-29T07:54:00.945Z] ---> daf46cde7f15 [2024-05-29T07:54:00.945Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T07:54:00.945Z] ---> Running in e30005809d95 [2024-05-29T07:54:00.945Z] Removing intermediate container e30005809d95 [2024-05-29T07:54:00.945Z] ---> 2a6932d616fa [2024-05-29T07:54:00.945Z] Step 12/26 : RUN ${MAKE} [2024-05-29T07:54:00.945Z] ---> Running in 290d7fdb7492 [2024-05-29T07:54:00.945Z] 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.1.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-05-29T07:56:07.630Z] Removing intermediate container 290d7fdb7492 [2024-05-29T07:56:07.630Z] ---> 08e76ad0bf0a [2024-05-29T07:56:07.630Z] Step 13/26 : FROM alpine:3.18 [2024-05-29T07:56:07.630Z] 3.18: Pulling from library/alpine [2024-05-29T07:56:07.630Z] c6b39de5b339: Already exists [2024-05-29T07:56:07.630Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T07:56:07.630Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T07:56:07.630Z] ---> 33abbf032149 [2024-05-29T07:56:07.630Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-05-29T07:56:07.630Z] ---> Running in f7adb458acd1 [2024-05-29T07:56:07.630Z] Removing intermediate container f7adb458acd1 [2024-05-29T07:56:07.630Z] ---> 241643ce4e70 [2024-05-29T07:56:07.630Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-29T07:56:07.630Z] ---> Running in d5a042057be2 [2024-05-29T07:56:07.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T07:56:07.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T07:56:08.212Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T07:56:08.212Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T07:56:08.212Z] OK: 8 MiB in 16 packages [2024-05-29T07:56:09.175Z] Removing intermediate container d5a042057be2 [2024-05-29T07:56:09.175Z] ---> f071fa47a60d [2024-05-29T07:56:09.175Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-29T07:56:09.175Z] ---> Running in e1b055df56e3 [2024-05-29T07:56:10.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T07:56:10.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T07:56:11.361Z] Upgrading critical system libraries and apk-tools: [2024-05-29T07:56:11.361Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T07:56:11.361Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T07:56:11.361Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T07:56:11.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T07:56:11.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T07:56:12.585Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T07:56:12.585Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T07:56:12.585Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T07:56:12.585Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T07:56:12.585Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T07:56:12.850Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T07:56:12.850Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T07:56:12.850Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T07:56:12.850Z] OK: 8 MiB in 16 packages [2024-05-29T07:56:13.816Z] Removing intermediate container e1b055df56e3 [2024-05-29T07:56:13.816Z] ---> 706ab7f4d94e [2024-05-29T07:56:13.816Z] Step 17/26 : WORKDIR / [2024-05-29T07:56:13.816Z] ---> Running in c91653254aff [2024-05-29T07:56:14.085Z] Removing intermediate container c91653254aff [2024-05-29T07:56:14.085Z] ---> 9892ffae5097 [2024-05-29T07:56:14.085Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-05-29T07:56:14.668Z] ---> e4dc4c4516c2 [2024-05-29T07:56:14.668Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-05-29T07:56:15.254Z] ---> d2a45cf1e1c7 [2024-05-29T07:56:15.254Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-05-29T07:56:16.670Z] ---> 1c31adcfa8fc [2024-05-29T07:56:16.670Z] Step 21/26 : EXPOSE 59995 [2024-05-29T07:56:16.670Z] ---> Running in 774aa8bc876d [2024-05-29T07:56:17.252Z] Removing intermediate container 774aa8bc876d [2024-05-29T07:56:17.252Z] ---> 0463f80c2a32 [2024-05-29T07:56:17.252Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-05-29T07:56:17.252Z] ---> Running in f88a9030cf0a [2024-05-29T07:56:17.520Z] Removing intermediate container f88a9030cf0a [2024-05-29T07:56:17.520Z] ---> 4ba7033b7b06 [2024-05-29T07:56:17.520Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-29T07:56:17.520Z] ---> Running in 56fd2b472197 [2024-05-29T07:56:17.789Z] Removing intermediate container 56fd2b472197 [2024-05-29T07:56:17.789Z] ---> cc08e14b5a01 [2024-05-29T07:56:17.789Z] Step 24/26 : LABEL arch=arm64 [2024-05-29T07:56:17.789Z] ---> Running in e258ea150847 [2024-05-29T07:56:18.062Z] Removing intermediate container e258ea150847 [2024-05-29T07:56:18.062Z] ---> 612f975ddb9b [2024-05-29T07:56:18.062Z] Step 25/26 : LABEL git_sha=d29d59aa91c5e4b626911b2529954fa1a9089a75 [2024-05-29T07:56:18.326Z] ---> Running in c29658038df7 [2024-05-29T07:56:18.590Z] Removing intermediate container c29658038df7 [2024-05-29T07:56:18.590Z] ---> 1041f36c51a6 [2024-05-29T07:56:18.590Z] Step 26/26 : LABEL version=0.0.0 [2024-05-29T07:56:18.590Z] ---> Running in cc339fb2b791 [2024-05-29T07:56:18.854Z] Removing intermediate container cc339fb2b791 [2024-05-29T07:56:18.854Z] ---> cf5be8016b32 [2024-05-29T07:56:18.854Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T07:56:19.118Z] Successfully built cf5be8016b32 [2024-05-29T07:56:19.382Z] 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-05-29T07:56:20.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T07:56:20.381Z] [2024-05-29T07:56:20.381Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:56:20.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T07:56:20.813Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-29T07:56:20.813Z] 8998bd30e6a1: Pulling fs layer [2024-05-29T07:56:20.813Z] 04944245beec: Pulling fs layer [2024-05-29T07:56:20.813Z] 699f458cf7ca: Pulling fs layer [2024-05-29T07:56:20.813Z] 765212b225bb: Pulling fs layer [2024-05-29T07:56:20.813Z] f23df028b6ca: Pulling fs layer [2024-05-29T07:56:20.813Z] 765212b225bb: Waiting [2024-05-29T07:56:20.813Z] d65c8cfc05b1: Pulling fs layer [2024-05-29T07:56:20.813Z] f23df028b6ca: Waiting [2024-05-29T07:56:20.813Z] 2437ff75d9bd: Pulling fs layer [2024-05-29T07:56:20.813Z] d65c8cfc05b1: Waiting [2024-05-29T07:56:21.078Z] 04944245beec: Verifying Checksum [2024-05-29T07:56:21.078Z] 04944245beec: Download complete [2024-05-29T07:56:21.078Z] 765212b225bb: Verifying Checksum [2024-05-29T07:56:21.078Z] 765212b225bb: Download complete [2024-05-29T07:56:21.078Z] f23df028b6ca: Verifying Checksum [2024-05-29T07:56:21.078Z] f23df028b6ca: Download complete [2024-05-29T07:56:21.078Z] d65c8cfc05b1: Verifying Checksum [2024-05-29T07:56:21.078Z] d65c8cfc05b1: Download complete [2024-05-29T07:56:21.078Z] 699f458cf7ca: Verifying Checksum [2024-05-29T07:56:21.078Z] 699f458cf7ca: Download complete [2024-05-29T07:56:21.659Z] 8998bd30e6a1: Verifying Checksum [2024-05-29T07:56:21.659Z] 8998bd30e6a1: Download complete [2024-05-29T07:56:24.227Z] 2437ff75d9bd: Verifying Checksum [2024-05-29T07:56:24.227Z] 2437ff75d9bd: Download complete [2024-05-29T07:56:26.162Z] 8998bd30e6a1: Pull complete [2024-05-29T07:56:26.426Z] 04944245beec: Pull complete [2024-05-29T07:56:28.362Z] 699f458cf7ca: Pull complete [2024-05-29T07:56:28.362Z] 765212b225bb: Pull complete [2024-05-29T07:56:29.320Z] f23df028b6ca: Pull complete [2024-05-29T07:56:29.320Z] d65c8cfc05b1: Pull complete [2024-05-29T07:56:47.518Z] 2437ff75d9bd: Pull complete [2024-05-29T07:56:47.518Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-29T07:56:47.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T07:56:47.518Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T07:56:47.871Z] prd-ubuntu20.04-docker-arm64-4c-16g-1014 does not seem to be running inside a container [2024-05-29T07:56:47.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-29T07:56:50.608Z] $ docker top cd1ddc3a9aa604849055882b60aee7b36c9637c85ca85e98e4b7b675776d04b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:56:51.542Z] ---> job-cost.sh [2024-05-29T07:56:51.542Z] lf-activate-venv: SKIPPING [2024-05-29T07:56:51.542Z] INFO: No Stack... [2024-05-29T07:56:51.809Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-29T07:56:52.765Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T07:56:53.425Z] + cut -d, -f6 [2024-05-29T07:56:53.425Z] + cat /w/workspace/device-uart/1/archives/cost.csv [Pipeline] lock [2024-05-29T07:56:53.480Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [2024-05-29T07:56:53.487Z] Resource [jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] did not exist. Created. [2024-05-29T07:56:53.494Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T07:56:54.252Z] /w/workspace/device-uart/1@tmp/durable-153cb64e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-29T07:56:54.920Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-29T07:56:54.968Z] Warning: overwriting stash ‘stack-cost’ [2024-05-29T07:56:55.357Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T07:56:55.382Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T07:56:55.502Z] $ docker stop --time=1 cd1ddc3a9aa604849055882b60aee7b36c9637c85ca85e98e4b7b675776d04b1 [2024-05-29T07:56:56.990Z] $ docker rm -f --volumes cd1ddc3a9aa604849055882b60aee7b36c9637c85ca85e98e4b7b675776d04b1 [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-05-29T07:56:58.255Z] provisioning config files... [2024-05-29T07:56:58.266Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-53@tmp/config708306087371740394tmp [Pipeline] { [Pipeline] sh [2024-05-29T07:56:58.632Z] + set +x [2024-05-29T07:56:58.632Z] + curl -s https://codecov.io/bash [2024-05-29T07:56:58.632Z] + bash -s -- [2024-05-29T07:56:58.632Z] [2024-05-29T07:56:58.632Z] _____ _ [2024-05-29T07:56:58.632Z] / ____| | | [2024-05-29T07:56:58.632Z] | | ___ __| | ___ ___ _____ __ [2024-05-29T07:56:58.632Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-29T07:56:58.632Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-29T07:56:58.632Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-29T07:56:58.632Z] Bash-1.0.6 [2024-05-29T07:56:58.632Z] [2024-05-29T07:56:58.632Z] [2024-05-29T07:56:58.632Z] ==> git version 2.25.1 found [2024-05-29T07:56:58.632Z] ==> 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-05-29T07:56:58.632Z] Release-Date: 2020-01-08 [2024-05-29T07:56:58.632Z] 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-05-29T07:56:58.632Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-29T07:56:58.632Z] ==> Jenkins CI detected. [2024-05-29T07:56:58.632Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-53 [2024-05-29T07:56:58.632Z] project root: . [2024-05-29T07:56:58.632Z] --> token set from env [2024-05-29T07:56:58.632Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-29T07:56:58.632Z] ==> Running gcov in . (disable via -X gcov) [2024-05-29T07:56:58.892Z] ==> Python coveragepy not found [2024-05-29T07:56:58.892Z] ==> Searching for coverage reports in: [2024-05-29T07:56:58.892Z] + . [2024-05-29T07:56:58.892Z] -> Found 1 reports [2024-05-29T07:56:58.892Z] ==> Detecting git/mercurial file structure [2024-05-29T07:56:58.892Z] ==> Reading reports [2024-05-29T07:56:58.892Z] + ./coverage.out bytes=10 [2024-05-29T07:56:58.892Z] ==> Appending adjustments [2024-05-29T07:56:58.892Z] https://docs.codecov.io/docs/fixing-reports [2024-05-29T07:56:58.892Z] + Found adjustments [2024-05-29T07:56:58.892Z] ==> Gzipping contents [2024-05-29T07:56:58.892Z] 12K /tmp/codecov.7QNWXD.gz [2024-05-29T07:56:58.892Z] ==> Uploading reports [2024-05-29T07:56:58.892Z] url: https://codecov.io [2024-05-29T07:56:58.892Z] query: branch=PR-53&commit=d29d59aa91c5e4b626911b2529954fa1a9089a75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=53&job=&cmd_args= [2024-05-29T07:56:58.892Z] -> Pinging Codecov [2024-05-29T07:56:58.892Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-53&commit=d29d59aa91c5e4b626911b2529954fa1a9089a75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=53&job=&cmd_args= [2024-05-29T07:56:59.462Z] -> Uploading to [2024-05-29T07:56:59.462Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-29/B9AA6E0BBD74AE3A32605C7A7C664919/d29d59aa91c5e4b626911b2529954fa1a9089a75/8054c006-f957-4ac6-90a3-cfe5360bdf25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T075659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27dce2e9bd48e10fa241f9bdedcc5491126b5866129f06c56802cbbb0eea4fd4 [2024-05-29T07:56:59.462Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T07:56:59.462Z] Dload Upload Total Spent Left Speed [2024-05-29T07:56:59.722Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11936 0 0 100 11936 0 54502 --:--:-- --:--:-- --:--:-- 54254 [2024-05-29T07:56:59.722Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] } [2024-05-29T07:56:59.756Z] 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-05-29T07:57:02.119Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-53/archives ] [2024-05-29T07:57:02.120Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-53/archives [2024-05-29T07:57:02.120Z] total 16 [2024-05-29T07:57:02.120Z] drwxr-xr-x 3 root root 4096 May 29 07:48 . [2024-05-29T07:57:02.120Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 07:48 .. [2024-05-29T07:57:02.120Z] drwxr-xr-x 2 root root 4096 May 29 07:48 cost [2024-05-29T07:57:02.120Z] -rw-r--r-- 1 root root 82 May 29 07:48 cost.csv [2024-05-29T07:57:02.120Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-53/archives [2024-05-29T07:57:02.120Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-53/archives [2024-05-29T07:57:02.120Z] total 16 [2024-05-29T07:57:02.120Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 07:48 . [2024-05-29T07:57:02.120Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 07:48 .. [2024-05-29T07:57:02.120Z] drwxr-xr-x 2 jenkins jenkins 4096 May 29 07:48 cost [2024-05-29T07:57:02.120Z] -rw-r--r-- 1 jenkins jenkins 82 May 29 07:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:57:02.464Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:57:03.372Z] ---> package-listing.sh [2024-05-29T07:57:03.372Z] ++ facter osfamily [2024-05-29T07:57:03.372Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-29T07:57:03.634Z] + OS_FAMILY=debian [2024-05-29T07:57:03.634Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-53 [2024-05-29T07:57:03.634Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-29T07:57:03.634Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-29T07:57:03.634Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-29T07:57:03.634Z] + PACKAGES=/tmp/packages_start.txt [2024-05-29T07:57:03.634Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-53 ']' [2024-05-29T07:57:03.634Z] + PACKAGES=/tmp/packages_end.txt [2024-05-29T07:57:03.634Z] + case "${OS_FAMILY}" in [2024-05-29T07:57:03.634Z] + dpkg -l [2024-05-29T07:57:03.634Z] + grep '^ii' [2024-05-29T07:57:03.634Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-29T07:57:03.634Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-29T07:57:03.634Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-29T07:57:03.634Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-53 ']' [2024-05-29T07:57:03.634Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-53/archives/ [2024-05-29T07:57:03.634Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-53/archives/ [Pipeline] echo [2024-05-29T07:57:03.689Z] 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-53/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-29T07:57:03.994Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T07:57:04.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T07:57:04.660Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T07:57:04.851Z] prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container [2024-05-29T07:57:04.876Z] $ 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-53/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-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T07:57:05.099Z] $ docker top c01b43da1302af412d1babde6d45c060e398b13a9ac3deea9d4499d246a2e12d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T07:57:05.529Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-29T07:57:05.854Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-29T07:57:06.176Z] + ls /var/log/sa-host [2024-05-29T07:57:06.176Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T07:57:06.439Z] provisioning config files... [2024-05-29T07:57:06.450Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-53@tmp/config18115563148405184463tmp [Pipeline] { [Pipeline] echo [2024-05-29T07:57:06.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:57:06.874Z] ---> create-netrc.sh [Pipeline] } [2024-05-29T07:57:06.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:57:07.357Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-29T07:57:07.401Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:57:07.726Z] ---> sudo-logs.sh [2024-05-29T07:57:07.726Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-29T07:57:07.847Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:57:08.174Z] ---> job-cost.sh [2024-05-29T07:57:08.174Z] lf-activate-venv: SKIPPING [2024-05-29T07:57:08.174Z] DEBUG: total: 0.2199999988079071 [2024-05-29T07:57:08.174Z] INFO: Retrieving Stack Cost... [2024-05-29T07:57:08.436Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T07:57:09.005Z] INFO: Archiving Costs [Pipeline] echo [2024-05-29T07:57:09.052Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T07:57:09.380Z] ---> logs-deploy.sh [2024-05-29T07:57:09.380Z] lf-activate-venv: SKIPPING [2024-05-29T07:57:09.380Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-53/1 [2024-05-29T07:57:09.380Z] INFO: archiving workspace using pattern(s): [2024-05-29T07:57:10.324Z] Archives upload complete. [2024-05-29T07:57:10.324Z] INFO: archiving logs to Nexus