Pull request #85 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-uart Obtained Jenkinsfile from eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc+2cd3421d87aeff7694e6397f4de46170b3861cfd (efa2639cd5fafc7617bb44fca10c314c6e1f8df0) 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-ssh61245276972093750.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13062910319674734277.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-85/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-85/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5511589638208689393.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-85/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3570277007182836041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7759849435980839942.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-85/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-85/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh866787022566677071.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24746 in /w/workspace/edgexfoundry_device-uart_PR-85 [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-85 # 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/85/head:refs/remotes/origin/PR-85 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2cd3421d87aeff7694e6397f4de46170b3861cfd into PR head commit eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc Merge succeeded, producing eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc Checking out Revision eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc (PR-85) > git config core.sparsecheckout # timeout=10 > git checkout -f eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc # 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 2cd3421d87aeff7694e6397f4de46170b3861cfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-07T09:23:44.674Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-07T09:23:44.898Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-07T09:23:45.011Z] ========================================================= [2024-11-07T09:23:45.011Z] EdgeX Global Pipelines Version Info [2024-11-07T09:23:45.011Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:23:45.777Z] ------------------- [2024-11-07T09:23:45.777Z] stable info: [2024-11-07T09:23:45.777Z] ------------------- [2024-11-07T09:23:45.777Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-07T09:23:45.777Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:23:45.777Z] Message: update stable to v1.0.265 [2024-11-07T09:23:46.348Z] ------------------- [2024-11-07T09:23:46.348Z] experimental info: [2024-11-07T09:23:46.348Z] ------------------- [2024-11-07T09:23:46.348Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-07T09:23:46.348Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-07T09:23:46.348Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-07T09:23:46.581Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-11-07T09:23:46.653Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-11-07T09:23:46.715Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-07T09:23:46.782Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-07T09:23:46.838Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-07T09:23:46.895Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-07T09:23:46.951Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-07T09:23:47.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-07T09:23:47.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-07T09:23:47.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-07T09:23:47.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-07T09:23:47.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-11-07T09:23:47.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-07T09:23:47.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-07T09:23:47.453Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:23:47.519Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:23:47.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:23:47.652Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:23:47.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-07T09:23:47.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-07T09:23:47.836Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-07T09:23:47.893Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-07T09:23:47.953Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-07T09:23:48.020Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-07T09:23:48.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-07T09:23:48.140Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-07T09:23:48.199Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-07T09:23:48.261Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-85 [Pipeline] echo [2024-11-07T09:23:48.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-85 [Pipeline] echo [2024-11-07T09:23:48.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-85 [Pipeline] echo [2024-11-07T09:23:48.431Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [Pipeline] echo [2024-11-07T09:23:48.489Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eff0ecc [Pipeline] echo [2024-11-07T09:23:48.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:23:48.708Z] provisioning config files... [2024-11-07T09:23:48.725Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-85@tmp/config11299580425709235667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:23:49.118Z] ---> ****-login.sh [2024-11-07T09:23:49.118Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:23:49.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:49.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:49.379Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:49.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:49.379Z] [2024-11-07T09:23:49.379Z] Login Succeeded [2024-11-07T09:23:49.379Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:23:49.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:49.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:49.379Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:49.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:49.379Z] [2024-11-07T09:23:49.379Z] Login Succeeded [2024-11-07T09:23:49.379Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:23:49.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:49.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:49.640Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:49.640Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:49.640Z] [2024-11-07T09:23:49.640Z] Login Succeeded [2024-11-07T09:23:49.640Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:23:49.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:49.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:49.640Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:49.640Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:49.640Z] [2024-11-07T09:23:49.640Z] Login Succeeded [2024-11-07T09:23:49.640Z] ****.io [2024-11-07T09:23:49.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:23:49.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:23:49.901Z] Configure a credential helper to remove this warning. See [2024-11-07T09:23:49.901Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:23:49.901Z] [2024-11-07T09:23:49.901Z] Login Succeeded [2024-11-07T09:23:49.901Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:23:49.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-07T09:23:50.628Z] + git rev-list -1 --merges eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc~1..eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [Pipeline] echo [2024-11-07T09:23:50.677Z] -----------> git rev-list -1 --merges eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc~1..eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [false] [Pipeline] sh [2024-11-07T09:23:51.005Z] + git log --format=format:%s -1 eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [Pipeline] echo [2024-11-07T09:23:51.047Z] ========================================================= [2024-11-07T09:23:51.047Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-07T09:23:51.047Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:23:51.511Z] + git log --format=format:%s -1 eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [Pipeline] echo [2024-11-07T09:23:51.550Z] [semverPrep] GIT_COMMIT: eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-07T09:23:51.598Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-07T09:23:51.998Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-07T09:23:51.998Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-07T09:23:51.998Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-07T09:23:51.998Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-07T09:23:51.998Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-07T09:23:51.998Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-07T09:23:51.998Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:23:52.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:23:52.518Z] [2024-11-07T09:23:52.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:23:52.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:23:52.949Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-07T09:23:52.949Z] b85a868b505f: Pulling fs layer [2024-11-07T09:23:52.949Z] e2be974225ed: Pulling fs layer [2024-11-07T09:23:52.949Z] 339a4e72a1f5: Pulling fs layer [2024-11-07T09:23:52.949Z] 988bab9f4d93: Pulling fs layer [2024-11-07T09:23:52.949Z] 1469e6f7b9e6: Pulling fs layer [2024-11-07T09:23:52.949Z] eaf3925da568: Pulling fs layer [2024-11-07T09:23:52.949Z] bab4dde63d76: Pulling fs layer [2024-11-07T09:23:52.949Z] bde34c3a00c8: Pulling fs layer [2024-11-07T09:23:52.949Z] b352a97aabf1: Pulling fs layer [2024-11-07T09:23:52.949Z] 4872d77fe225: Pulling fs layer [2024-11-07T09:23:52.949Z] 5851b861e8e6: Pulling fs layer [2024-11-07T09:23:52.949Z] 988bab9f4d93: Waiting [2024-11-07T09:23:52.949Z] bde34c3a00c8: Waiting [2024-11-07T09:23:52.949Z] bab4dde63d76: Waiting [2024-11-07T09:23:52.949Z] b352a97aabf1: Waiting [2024-11-07T09:23:52.949Z] eaf3925da568: Waiting [2024-11-07T09:23:52.949Z] 5851b861e8e6: Waiting [2024-11-07T09:23:52.949Z] e2be974225ed: Verifying Checksum [2024-11-07T09:23:52.949Z] e2be974225ed: Download complete [2024-11-07T09:23:52.949Z] 988bab9f4d93: Verifying Checksum [2024-11-07T09:23:52.949Z] 988bab9f4d93: Download complete [2024-11-07T09:23:52.949Z] 1469e6f7b9e6: Verifying Checksum [2024-11-07T09:23:52.949Z] 1469e6f7b9e6: Download complete [2024-11-07T09:23:53.210Z] eaf3925da568: Verifying Checksum [2024-11-07T09:23:53.210Z] eaf3925da568: Download complete [2024-11-07T09:23:53.210Z] 339a4e72a1f5: Verifying Checksum [2024-11-07T09:23:53.210Z] 339a4e72a1f5: Download complete [2024-11-07T09:23:53.210Z] bde34c3a00c8: Verifying Checksum [2024-11-07T09:23:53.210Z] bde34c3a00c8: Download complete [2024-11-07T09:23:53.210Z] b352a97aabf1: Verifying Checksum [2024-11-07T09:23:53.210Z] b352a97aabf1: Download complete [2024-11-07T09:23:53.210Z] 4872d77fe225: Verifying Checksum [2024-11-07T09:23:53.210Z] 4872d77fe225: Download complete [2024-11-07T09:23:53.210Z] 5851b861e8e6: Verifying Checksum [2024-11-07T09:23:53.210Z] 5851b861e8e6: Download complete [2024-11-07T09:23:53.210Z] b85a868b505f: Verifying Checksum [2024-11-07T09:23:53.210Z] b85a868b505f: Download complete [2024-11-07T09:23:53.472Z] bab4dde63d76: Verifying Checksum [2024-11-07T09:23:53.472Z] bab4dde63d76: Download complete [2024-11-07T09:23:54.409Z] b85a868b505f: Pull complete [2024-11-07T09:23:54.670Z] e2be974225ed: Pull complete [2024-11-07T09:23:55.238Z] 339a4e72a1f5: Pull complete [2024-11-07T09:23:55.238Z] 988bab9f4d93: Pull complete [2024-11-07T09:23:55.499Z] 1469e6f7b9e6: Pull complete [2024-11-07T09:23:55.499Z] eaf3925da568: Pull complete [2024-11-07T09:23:57.410Z] bab4dde63d76: Pull complete [2024-11-07T09:23:57.669Z] bde34c3a00c8: Pull complete [2024-11-07T09:23:57.669Z] b352a97aabf1: Pull complete [2024-11-07T09:23:57.930Z] 4872d77fe225: Pull complete [2024-11-07T09:23:57.931Z] 5851b861e8e6: Pull complete [2024-11-07T09:23:57.931Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-07T09:23:57.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:23:57.931Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:23:58.236Z] prd-ubuntu20.04-docker-8c-8g-24746 does not seem to be running inside a container [2024-11-07T09:23:58.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-85 -v /w/workspace/edgexfoundry_device-uart_PR-85:/w/workspace/edgexfoundry_device-uart_PR-85:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-85@tmp:/w/workspace/edgexfoundry_device-uart_PR-85@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-11-07T09:24:01.005Z] $ docker top 3b929b6db1ea66013a9a2bd9ad2598764a8013c0929f61823012aa864dd92ef1 -eo pid,comm [2024-11-07T09:24:01.078Z] 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-11-07T09:24:01.078Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-07T09:24:01.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:24:01.265Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:24:01.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:24:01.385Z] $ docker exec 3b929b6db1ea66013a9a2bd9ad2598764a8013c0929f61823012aa864dd92ef1 ssh-agent [2024-11-07T09:24:01.519Z] SSH_AUTH_SOCK=/tmp/ssh-P3p64P5mxhey/agent.32 [2024-11-07T09:24:01.519Z] SSH_AGENT_PID=38 [2024-11-07T09:24:01.525Z] Running ssh-add (command line suppressed) [2024-11-07T09:24:01.622Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-85@tmp/private_key_6596096642070554251.key (/w/workspace/edgexfoundry_device-uart_PR-85@tmp/private_key_6596096642070554251.key) [2024-11-07T09:24:01.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:24:01.992Z] + git tag --points-at HEAD [Pipeline] } [2024-11-07T09:24:02.015Z] $ docker exec --env ******** --env ******** 3b929b6db1ea66013a9a2bd9ad2598764a8013c0929f61823012aa864dd92ef1 ssh-agent -k [2024-11-07T09:24:02.143Z] unset SSH_AUTH_SOCK; [2024-11-07T09:24:02.144Z] unset SSH_AGENT_PID; [2024-11-07T09:24:02.144Z] echo Agent pid 38 killed; [2024-11-07T09:24:02.163Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-07T09:24:02.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:24:02.280Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:24:02.403Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:24:02.399Z] $ docker exec 3b929b6db1ea66013a9a2bd9ad2598764a8013c0929f61823012aa864dd92ef1 ssh-agent [2024-11-07T09:24:02.533Z] SSH_AUTH_SOCK=/tmp/ssh-AK34uL4Of619/agent.72 [2024-11-07T09:24:02.533Z] SSH_AGENT_PID=78 [2024-11-07T09:24:02.537Z] Running ssh-add (command line suppressed) [2024-11-07T09:24:02.639Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-85@tmp/private_key_17155201696941681295.key (/w/workspace/edgexfoundry_device-uart_PR-85@tmp/private_key_17155201696941681295.key) [2024-11-07T09:24:02.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:24:03.011Z] + git semver init [2024-11-07T09:24:03.272Z] 2024-11-07 09:24:03,185 [run_init] DEBUG init version:0.0.0 force:False [2024-11-07T09:24:03.272Z] 2024-11-07 09:24:03,186 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-85/.semver [2024-11-07T09:24:03.272Z] 2024-11-07 09:24:03,187 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-85/.semver [2024-11-07T09:24:03.272Z] 2024-11-07 09:24:03,187 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-85/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-85, universal_newlines=False, shell=None, istream=None) [2024-11-07T09:24:04.696Z] 2024-11-07 09:24:04,415 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-85/.git/info/exclude [2024-11-07T09:24:04.696Z] 2024-11-07 09:24:04,415 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-85/.semver/PR-85 with force:False [2024-11-07T09:24:04.696Z] 2024-11-07 09:24:04,415 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-85/.semver/PR-85 [2024-11-07T09:24:04.696Z] 2024-11-07 09:24:04,419 [execute] INFO git cat-file --batch-check [2024-11-07T09:24:04.696Z] 2024-11-07 09:24:04,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-85/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:24:04.696Z] 2024-11-07 09:24:04,427 [execute] INFO git cat-file --batch [2024-11-07T09:24:04.696Z] 2024-11-07 09:24:04,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-85/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:24:04.696Z] 2024-11-07 09:24:04,433 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-85/.semver/PR-85 [2024-11-07T09:24:04.696Z] 0.0.0 [Pipeline] } [2024-11-07T09:24:04.724Z] $ docker exec --env ******** --env ******** 3b929b6db1ea66013a9a2bd9ad2598764a8013c0929f61823012aa864dd92ef1 ssh-agent -k [2024-11-07T09:24:04.828Z] unset SSH_AUTH_SOCK; [2024-11-07T09:24:04.829Z] unset SSH_AGENT_PID; [2024-11-07T09:24:04.829Z] echo Agent pid 78 killed; [2024-11-07T09:24:04.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-07T09:24:05.314Z] + git semver [Pipeline] } [2024-11-07T09:24:05.599Z] $ docker stop --time=1 3b929b6db1ea66013a9a2bd9ad2598764a8013c0929f61823012aa864dd92ef1 [2024-11-07T09:24:06.907Z] $ docker rm -f --volumes 3b929b6db1ea66013a9a2bd9ad2598764a8013c0929f61823012aa864dd92ef1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:24:07.346Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-07T09:24:07.649Z] Stashed 1 file(s) [Pipeline] echo [2024-11-07T09:24:07.677Z] [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-11-07T09:24:08.422Z] provisioning config files... [2024-11-07T09:24:08.433Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-85@tmp/config343900473612019917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:24:08.808Z] ---> ****-login.sh [2024-11-07T09:24:08.808Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:24:08.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:24:08.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:24:08.808Z] Configure a credential helper to remove this warning. See [2024-11-07T09:24:08.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:24:08.808Z] [2024-11-07T09:24:08.808Z] Login Succeeded [2024-11-07T09:24:08.808Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:24:08.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:24:08.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:24:08.808Z] Configure a credential helper to remove this warning. See [2024-11-07T09:24:08.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:24:08.808Z] [2024-11-07T09:24:08.808Z] Login Succeeded [2024-11-07T09:24:08.808Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:24:09.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:24:09.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:24:09.069Z] Configure a credential helper to remove this warning. See [2024-11-07T09:24:09.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:24:09.069Z] [2024-11-07T09:24:09.069Z] Login Succeeded [2024-11-07T09:24:09.069Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:24:09.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:24:09.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:24:09.069Z] Configure a credential helper to remove this warning. See [2024-11-07T09:24:09.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:24:09.069Z] [2024-11-07T09:24:09.069Z] Login Succeeded [2024-11-07T09:24:09.070Z] ****.io [2024-11-07T09:24:09.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:24:09.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:24:09.330Z] Configure a credential helper to remove this warning. See [2024-11-07T09:24:09.330Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:24:09.330Z] [2024-11-07T09:24:09.330Z] Login Succeeded [2024-11-07T09:24:09.330Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:24:09.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:24:09.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:24:09.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:24:09.722Z] ========================================================= [2024-11-07T09:24:09.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-07T09:24:09.722Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:24:10.254Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-07T09:24:10.254Z] Sending build context to Docker daemon 25.67MB [2024-11-07T09:24:10.254Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:24:10.254Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-07T09:24:10.515Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-07T09:24:10.515Z] 43c4264eed91: Pulling fs layer [2024-11-07T09:24:10.515Z] 4cc291be95ef: Pulling fs layer [2024-11-07T09:24:10.515Z] 2ac1f1163629: Pulling fs layer [2024-11-07T09:24:10.515Z] 5c3c966382ef: Pulling fs layer [2024-11-07T09:24:10.515Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:24:10.515Z] 5d5c8e513c77: Pulling fs layer [2024-11-07T09:24:10.515Z] 9f66e0745190: Pulling fs layer [2024-11-07T09:24:10.515Z] f49a43e4bbc0: Pulling fs layer [2024-11-07T09:24:10.515Z] 561ebcabdf7f: Pulling fs layer [2024-11-07T09:24:10.515Z] 5c3c966382ef: Waiting [2024-11-07T09:24:10.515Z] 9f66e0745190: Waiting [2024-11-07T09:24:10.515Z] f49a43e4bbc0: Waiting [2024-11-07T09:24:10.515Z] 561ebcabdf7f: Waiting [2024-11-07T09:24:10.515Z] 4f4fb700ef54: Waiting [2024-11-07T09:24:10.515Z] 5d5c8e513c77: Waiting [2024-11-07T09:24:10.515Z] 4cc291be95ef: Verifying Checksum [2024-11-07T09:24:10.515Z] 4cc291be95ef: Download complete [2024-11-07T09:24:10.515Z] 5c3c966382ef: Download complete [2024-11-07T09:24:10.515Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:24:10.515Z] 4f4fb700ef54: Download complete [2024-11-07T09:24:10.515Z] 5d5c8e513c77: Verifying Checksum [2024-11-07T09:24:10.515Z] 5d5c8e513c77: Download complete [2024-11-07T09:24:10.515Z] 43c4264eed91: Download complete [2024-11-07T09:24:10.515Z] 9f66e0745190: Verifying Checksum [2024-11-07T09:24:10.515Z] 9f66e0745190: Download complete [2024-11-07T09:24:10.515Z] 43c4264eed91: Pull complete [2024-11-07T09:24:10.774Z] 561ebcabdf7f: Verifying Checksum [2024-11-07T09:24:10.774Z] 561ebcabdf7f: Download complete [2024-11-07T09:24:10.774Z] 4cc291be95ef: Pull complete [2024-11-07T09:24:11.033Z] 2ac1f1163629: Verifying Checksum [2024-11-07T09:24:11.033Z] 2ac1f1163629: Download complete [2024-11-07T09:24:11.292Z] f49a43e4bbc0: Verifying Checksum [2024-11-07T09:24:11.292Z] f49a43e4bbc0: Download complete [2024-11-07T09:24:15.483Z] 2ac1f1163629: Pull complete [2024-11-07T09:24:15.483Z] 5c3c966382ef: Pull complete [2024-11-07T09:24:15.483Z] 4f4fb700ef54: Pull complete [2024-11-07T09:24:15.483Z] 5d5c8e513c77: Pull complete [2024-11-07T09:24:15.483Z] 9f66e0745190: Pull complete [2024-11-07T09:24:17.383Z] f49a43e4bbc0: Pull complete [2024-11-07T09:24:17.971Z] 561ebcabdf7f: Pull complete [2024-11-07T09:24:17.971Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-07T09:24:17.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-07T09:24:17.971Z] ---> 3a752c3f9dda [2024-11-07T09:24:17.971Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:24:22.176Z] ---> Running in 0a9b46312ed7 [2024-11-07T09:24:22.176Z] Removing intermediate container 0a9b46312ed7 [2024-11-07T09:24:22.176Z] ---> fca2058d0e62 [2024-11-07T09:24:22.176Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:24:22.176Z] ---> Running in f8bca62dfc42 [2024-11-07T09:24:22.437Z] Removing intermediate container f8bca62dfc42 [2024-11-07T09:24:22.437Z] ---> f5a388361faf [2024-11-07T09:24:22.437Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:24:22.437Z] ---> Running in 9e8232d3b17e [2024-11-07T09:24:22.437Z] Removing intermediate container 9e8232d3b17e [2024-11-07T09:24:22.437Z] ---> b4e367c89a07 [2024-11-07T09:24:22.437Z] Step 6/12 : WORKDIR /device-uart [2024-11-07T09:24:22.437Z] ---> Running in 8ec89e6ffc88 [2024-11-07T09:24:22.437Z] Removing intermediate container 8ec89e6ffc88 [2024-11-07T09:24:22.437Z] ---> 697de7bfc697 [2024-11-07T09:24:22.437Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:24:22.697Z] ---> Running in b9c5df83f886 [2024-11-07T09:24:22.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:24:22.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:24:23.210Z] Still waiting to schedule task [2024-11-07T09:24:23.210Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-07T09:24:23.214Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-07T09:24:23.214Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-07T09:24:23.214Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-07T09:24:23.473Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-07T09:24:23.473Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:24:23.473Z] OK: 250 MiB in 58 packages [2024-11-07T09:24:23.731Z] Removing intermediate container b9c5df83f886 [2024-11-07T09:24:23.731Z] ---> 0fba0b7b7d44 [2024-11-07T09:24:23.731Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-07T09:24:23.989Z] ---> 77e4b040a195 [2024-11-07T09:24:23.989Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:24:23.989Z] ---> Running in 0f62745629c4 [2024-11-07T09:25:10.766Z] Removing intermediate container 0f62745629c4 [2024-11-07T09:25:10.766Z] ---> 3df743cdce5a [2024-11-07T09:25:10.766Z] Step 10/12 : COPY . . [2024-11-07T09:25:10.766Z] ---> 209e4f475a70 [2024-11-07T09:25:10.766Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:25:10.766Z] ---> Running in 7c5edd50e5cc [2024-11-07T09:25:10.766Z] Removing intermediate container 7c5edd50e5cc [2024-11-07T09:25:10.766Z] ---> e558233c5934 [2024-11-07T09:25:10.766Z] Step 12/12 : RUN ${MAKE} [2024-11-07T09:25:10.766Z] ---> Running in e28a22a69761 [2024-11-07T09:25:10.766Z] noop [2024-11-07T09:25:10.766Z] Removing intermediate container e28a22a69761 [2024-11-07T09:25:10.766Z] ---> 269d31133105 [2024-11-07T09:25:10.766Z] Successfully built 269d31133105 [2024-11-07T09:25:10.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:25:11.258Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:25:11.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:25:11.425Z] prd-ubuntu20.04-docker-8c-8g-24746 does not seem to be running inside a container [2024-11-07T09:25:11.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-85 -v /w/workspace/edgexfoundry_device-uart_PR-85:/w/workspace/edgexfoundry_device-uart_PR-85:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-85@tmp:/w/workspace/edgexfoundry_device-uart_PR-85@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-11-07T09:25:11.813Z] $ docker top 5c882cf37dcae6e3100c29a0f93b1a5a8dc2ef23ba57edc2eda101a2ecdc6691 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:25:12.219Z] + go version [2024-11-07T09:25:12.219Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-07T09:25:12.263Z] $ docker stop --time=1 5c882cf37dcae6e3100c29a0f93b1a5a8dc2ef23ba57edc2eda101a2ecdc6691 [2024-11-07T09:25:13.555Z] $ docker rm -f --volumes 5c882cf37dcae6e3100c29a0f93b1a5a8dc2ef23ba57edc2eda101a2ecdc6691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:25:14.346Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:25:14.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:25:14.513Z] prd-ubuntu20.04-docker-8c-8g-24746 does not seem to be running inside a container [2024-11-07T09:25:14.542Z] $ 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-85 -v /w/workspace/edgexfoundry_device-uart_PR-85:/w/workspace/edgexfoundry_device-uart_PR-85:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-85@tmp:/w/workspace/edgexfoundry_device-uart_PR-85@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-11-07T09:25:14.869Z] $ docker top b76ee452f95d5b861ca2fda39b42e7a0815e16b57872f4656ec2047e23d7321f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:25:15.260Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-85 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:25:15.642Z] + make test [2024-11-07T09:25:15.642Z] go test ./... -coverprofile=coverage.out [2024-11-07T09:25:20.466Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-11-07T09:25:35.889Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-11-07T09:25:35.889Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-11-07T09:25:48.091Z] go vet ./... [2024-11-07T09:25:53.356Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:25:53.356Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:25:53.356Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:25:53.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:25:53.457Z] $ docker stop --time=1 b76ee452f95d5b861ca2fda39b42e7a0815e16b57872f4656ec2047e23d7321f [2024-11-07T09:25:58.473Z] $ docker rm -f --volumes b76ee452f95d5b861ca2fda39b42e7a0815e16b57872f4656ec2047e23d7321f [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:25:59.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:25:59.237Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-07T09:25:59.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:26:00.191Z] + ls -al . [2024-11-07T09:26:00.191Z] total 224 [2024-11-07T09:26:00.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:25 . [2024-11-07T09:26:00.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:23 .. [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:23 .dockerignore [2024-11-07T09:26:00.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:25 .git [2024-11-07T09:26:00.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:23 .github [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 7 09:23 .gitignore [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 198 Nov 7 09:23 .golangci.yml [2024-11-07T09:26:00.191Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:24 .semver [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 18662 Nov 7 09:23 Attribution.txt [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 7 09:23 CHANGELOG.md [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 1919 Nov 7 09:23 Dockerfile [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:23 GOVERNANCE.md [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 7 09:23 Jenkinsfile [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:23 LICENSE [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 2463 Nov 7 09:23 Makefile [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 09:23 OWNERS.md [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 7 09:23 README.md [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:24 VERSION [2024-11-07T09:26:00.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:23 bin [2024-11-07T09:26:00.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:23 cmd [2024-11-07T09:26:00.191Z] -rw-r--r-- 1 jenkins jenkins 6770 Nov 7 09:25 coverage.out [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 6269 Nov 7 09:23 go.mod [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 88303 Nov 7 09:23 go.sum [2024-11-07T09:26:00.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:23 internal [2024-11-07T09:26:00.191Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 7 09:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:26:00.615Z] + 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=eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc --label arch=amd64 --label version=0.0.0 . [2024-11-07T09:26:00.615Z] Sending build context to Docker daemon 25.67MB [2024-11-07T09:26:00.615Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:26:00.615Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-07T09:26:00.615Z] ---> 269d31133105 [2024-11-07T09:26:00.615Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:26:01.182Z] ---> Running in 6dbe5332a998 [2024-11-07T09:26:01.182Z] Removing intermediate container 6dbe5332a998 [2024-11-07T09:26:01.182Z] ---> 928f0314c2b3 [2024-11-07T09:26:01.182Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:26:01.182Z] ---> Running in 79bce60fb8e7 [2024-11-07T09:26:01.182Z] Removing intermediate container 79bce60fb8e7 [2024-11-07T09:26:01.182Z] ---> 75e824ccb46d [2024-11-07T09:26:01.182Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:26:01.441Z] ---> Running in 91c37d8aef81 [2024-11-07T09:26:01.441Z] Removing intermediate container 91c37d8aef81 [2024-11-07T09:26:01.441Z] ---> 40b015882098 [2024-11-07T09:26:01.441Z] Step 6/26 : WORKDIR /device-uart [2024-11-07T09:26:01.441Z] ---> Running in 5428ac551013 [2024-11-07T09:26:01.441Z] Removing intermediate container 5428ac551013 [2024-11-07T09:26:01.441Z] ---> 9b2164b0c70c [2024-11-07T09:26:01.441Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:26:01.441Z] ---> Running in 34c1e7828670 [2024-11-07T09:26:01.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:01.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:02.216Z] OK: 250 MiB in 58 packages [2024-11-07T09:26:02.475Z] Removing intermediate container 34c1e7828670 [2024-11-07T09:26:02.475Z] ---> 2b58d62006b8 [2024-11-07T09:26:02.475Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-07T09:26:02.734Z] ---> a1a24a800484 [2024-11-07T09:26:02.734Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:26:02.734Z] ---> Running in bdcda3c4ea31 [2024-11-07T09:26:03.674Z] Removing intermediate container bdcda3c4ea31 [2024-11-07T09:26:03.674Z] ---> efe5c104cda8 [2024-11-07T09:26:03.674Z] Step 10/26 : COPY . . [2024-11-07T09:26:04.623Z] ---> c0c6814fcb26 [2024-11-07T09:26:04.623Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:26:04.623Z] ---> Running in 84ca7a93ad3e [2024-11-07T09:26:04.623Z] Removing intermediate container 84ca7a93ad3e [2024-11-07T09:26:04.623Z] ---> bf8d2c87b937 [2024-11-07T09:26:04.623Z] Step 12/26 : RUN ${MAKE} [2024-11-07T09:26:04.623Z] ---> Running in 38b7bbbc1f5e [2024-11-07T09:26:04.882Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd [2024-11-07T09:26:36.952Z] Removing intermediate container 38b7bbbc1f5e [2024-11-07T09:26:36.952Z] ---> bc107881c7b4 [2024-11-07T09:26:36.952Z] Step 13/26 : FROM alpine:3.20 [2024-11-07T09:26:36.952Z] 3.20: Pulling from library/alpine [2024-11-07T09:26:36.952Z] 43c4264eed91: Already exists [2024-11-07T09:26:36.952Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:26:36.952Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:26:36.952Z] ---> 91ef0af61f39 [2024-11-07T09:26:36.952Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-11-07T09:26:37.211Z] ---> Running in 96a29a98f96c [2024-11-07T09:26:37.211Z] Removing intermediate container 96a29a98f96c [2024-11-07T09:26:37.211Z] ---> 84d12bd7f584 [2024-11-07T09:26:37.211Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:26:37.211Z] ---> Running in 6b25bfa1cc4b [2024-11-07T09:26:37.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:37.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:37.981Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:26:37.982Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:26:37.982Z] OK: 8 MiB in 15 packages [2024-11-07T09:26:38.550Z] Removing intermediate container 6b25bfa1cc4b [2024-11-07T09:26:38.550Z] ---> cfe652b334a2 [2024-11-07T09:26:38.550Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-07T09:26:38.550Z] ---> Running in f37202134fa8 [2024-11-07T09:26:38.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:38.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:39.067Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:26:39.067Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:26:39.067Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:26:39.325Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:26:39.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:39.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:39.584Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:26:39.584Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:26:39.584Z] OK: 8 MiB in 15 packages [2024-11-07T09:26:40.150Z] Removing intermediate container f37202134fa8 [2024-11-07T09:26:40.150Z] ---> 37992105f719 [2024-11-07T09:26:40.150Z] Step 17/26 : WORKDIR / [2024-11-07T09:26:40.150Z] ---> Running in 7ef716d892eb [2024-11-07T09:26:40.409Z] Removing intermediate container 7ef716d892eb [2024-11-07T09:26:40.409Z] ---> ff4494d470ba [2024-11-07T09:26:40.409Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-11-07T09:26:40.409Z] ---> 2ffa94edf605 [2024-11-07T09:26:40.409Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-11-07T09:26:40.667Z] ---> c237c43cba97 [2024-11-07T09:26:40.667Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-11-07T09:26:42.042Z] ---> f392cd7e5244 [2024-11-07T09:26:42.042Z] Step 21/26 : EXPOSE 59995 [2024-11-07T09:26:42.042Z] ---> Running in be89516b4c74 [2024-11-07T09:26:42.042Z] Removing intermediate container be89516b4c74 [2024-11-07T09:26:42.042Z] ---> fbc6116f05ca [2024-11-07T09:26:42.042Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-11-07T09:26:42.301Z] ---> Running in 58144a4f45b3 [2024-11-07T09:26:42.301Z] Removing intermediate container 58144a4f45b3 [2024-11-07T09:26:42.301Z] ---> cdbba73800b1 [2024-11-07T09:26:42.301Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:26:42.301Z] ---> Running in fdc9e98a32e6 [2024-11-07T09:26:42.301Z] Removing intermediate container fdc9e98a32e6 [2024-11-07T09:26:42.301Z] ---> ddb6424bbbeb [2024-11-07T09:26:42.301Z] Step 24/26 : LABEL arch=amd64 [2024-11-07T09:26:42.301Z] ---> Running in f73af7c03d17 [2024-11-07T09:26:42.559Z] Removing intermediate container f73af7c03d17 [2024-11-07T09:26:42.559Z] ---> ab6e987eb98d [2024-11-07T09:26:42.559Z] Step 25/26 : LABEL git_sha=eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [2024-11-07T09:26:42.559Z] ---> Running in 5b81d096fb4a [2024-11-07T09:26:42.559Z] Removing intermediate container 5b81d096fb4a [2024-11-07T09:26:42.559Z] ---> aa8b29f359b8 [2024-11-07T09:26:42.559Z] Step 26/26 : LABEL version=0.0.0 [2024-11-07T09:26:42.559Z] ---> Running in fd1433625f1d [2024-11-07T09:26:42.559Z] Removing intermediate container fd1433625f1d [2024-11-07T09:26:42.559Z] ---> f3a15a8b642e [2024-11-07T09:26:42.559Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:26:42.559Z] Successfully built f3a15a8b642e [2024-11-07T09:26:42.559Z] 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-11-07T09:26:43.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:26:43.574Z] [2024-11-07T09:26:43.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:26:43.977Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:26:43.977Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-07T09:26:43.977Z] 5eb5b503b376: Pulling fs layer [2024-11-07T09:26:43.977Z] 5c69ac0246d0: Pulling fs layer [2024-11-07T09:26:43.977Z] ec43610c2a17: Pulling fs layer [2024-11-07T09:26:43.977Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-07T09:26:43.977Z] 33b1e0a273af: Pulling fs layer [2024-11-07T09:26:43.977Z] 5d3b04190fa2: Pulling fs layer [2024-11-07T09:26:43.977Z] 2f39f015ded8: Pulling fs layer [2024-11-07T09:26:43.977Z] 33b1e0a273af: Waiting [2024-11-07T09:26:43.977Z] 5d3b04190fa2: Waiting [2024-11-07T09:26:43.977Z] 2f39f015ded8: Waiting [2024-11-07T09:26:43.977Z] 3a2ae6a8a46f: Waiting [2024-11-07T09:26:43.977Z] 5c69ac0246d0: Download complete [2024-11-07T09:26:43.977Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-07T09:26:43.977Z] 3a2ae6a8a46f: Download complete [2024-11-07T09:26:43.977Z] 33b1e0a273af: Verifying Checksum [2024-11-07T09:26:43.977Z] 33b1e0a273af: Download complete [2024-11-07T09:26:43.977Z] 5d3b04190fa2: Download complete [2024-11-07T09:26:43.977Z] ec43610c2a17: Verifying Checksum [2024-11-07T09:26:43.977Z] ec43610c2a17: Download complete [2024-11-07T09:26:44.236Z] 5eb5b503b376: Verifying Checksum [2024-11-07T09:26:44.236Z] 5eb5b503b376: Download complete [2024-11-07T09:26:44.804Z] 2f39f015ded8: Download complete [2024-11-07T09:26:45.372Z] 5eb5b503b376: Pull complete [2024-11-07T09:26:45.372Z] 5c69ac0246d0: Pull complete [2024-11-07T09:26:45.938Z] ec43610c2a17: Pull complete [2024-11-07T09:26:45.938Z] 3a2ae6a8a46f: Pull complete [2024-11-07T09:26:46.195Z] 33b1e0a273af: Pull complete [2024-11-07T09:26:46.195Z] 5d3b04190fa2: Pull complete [2024-11-07T09:26:50.374Z] 2f39f015ded8: Pull complete [2024-11-07T09:26:50.374Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-07T09:26:50.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:26:50.374Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:26:50.625Z] prd-ubuntu20.04-docker-8c-8g-24746 does not seem to be running inside a container [2024-11-07T09:26:50.659Z] $ 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-85 -v /w/workspace/edgexfoundry_device-uart_PR-85:/w/workspace/edgexfoundry_device-uart_PR-85:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-85@tmp:/w/workspace/edgexfoundry_device-uart_PR-85@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-11-07T09:26:55.713Z] $ docker top fddce3dd838abb538ebebcb1cf4220ba5e29ad969d3279b175bf3bcb2e3fc5b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:26:56.164Z] ---> job-cost.sh [2024-11-07T09:26:56.164Z] lf-activate-venv: SKIPPING [2024-11-07T09:26:56.164Z] INFO: No Stack... [2024-11-07T09:26:56.423Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:26:56.682Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:26:57.019Z] + cat /w/workspace/edgexfoundry_device-uart_PR-85/archives/cost.csv [2024-11-07T09:26:57.019Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:26:57.071Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-85-1-stack-cost] [2024-11-07T09:26:57.078Z] Resource [jenkins-edgexfoundry-device-uart-PR-85-1-stack-cost] did not exist. Created. [2024-11-07T09:26:57.085Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:26:57.504Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-07T09:26:57.561Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:26:57.598Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:26:57.697Z] $ docker stop --time=1 fddce3dd838abb538ebebcb1cf4220ba5e29ad969d3279b175bf3bcb2e3fc5b8 [2024-11-07T09:26:59.114Z] $ docker rm -f --volumes fddce3dd838abb538ebebcb1cf4220ba5e29ad969d3279b175bf3bcb2e3fc5b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-07T09:27:44.327Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24749 in /w/workspace/edgexfoundry_device-uart_PR-85 [Pipeline] { [Pipeline] ws [2024-11-07T09:27:44.404Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-11-07T09:27:44.506Z] The recommended git tool is: git [2024-11-07T09:27:52.541Z] using credential edgex-jenkins-ssh [2024-11-07T09:27:52.569Z] Cloning the remote Git repository [2024-11-07T09:27:52.653Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-11-07T09:27:52.825Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-11-07T09:27:53.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-11-07T09:27:53.103Z] > git --version # timeout=10 [2024-11-07T09:27:53.137Z] > git --version # 'git version 2.25.1' [2024-11-07T09:27:53.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:27:53.413Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:27:56.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-11-07T09:27:56.315Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:27:58.280Z] Merging remotes/origin/main commit 2cd3421d87aeff7694e6397f4de46170b3861cfd into PR head commit eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [2024-11-07T09:27:57.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-11-07T09:27:57.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-11-07T09:27:57.668Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:27:57.699Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-07T09:27:58.312Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:27:58.802Z] Merge succeeded, producing eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [2024-11-07T09:27:58.803Z] Checking out Revision eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc (PR-85) [2024-11-07T09:27:58.465Z] > git checkout -f eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc # timeout=10 [2024-11-07T09:27:58.606Z] > git remote # timeout=10 [2024-11-07T09:27:58.641Z] > git config --get remote.origin.url # timeout=10 [2024-11-07T09:27:58.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:27:58.714Z] > git merge 2cd3421d87aeff7694e6397f4de46170b3861cfd # timeout=10 [2024-11-07T09:27:58.762Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-07T09:27:58.810Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:27:58.837Z] > git checkout -f eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc # timeout=10 [2024-11-07T09:28:02.945Z] Commit message: "fix: Only one ldflags flag is allowed" [2024-11-07T09:28:03.039Z] > git --version # timeout=10 [2024-11-07T09:28:03.055Z] > git --version # 'git version 2.25.1' [2024-11-07T09:28:03.081Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:28:05.222Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-07T09:28:05.222Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:28:05.222Z] Dload Upload Total Spent Left Speed [2024-11-07T09:28:05.222Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 164k 0 --:--:-- --:--:-- --:--:-- 167k [Pipeline] sh [2024-11-07T09:28:05.648Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-07T09:28:06.046Z] + sudo tee /etc/docker/daemon.new [2024-11-07T09:28:06.046Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-07T09:28:06.046Z] { [2024-11-07T09:28:06.046Z] "registry-mirrors": [ [2024-11-07T09:28:06.046Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-07T09:28:06.046Z] ], [2024-11-07T09:28:06.046Z] "bip": "10.250.0.254/24", [2024-11-07T09:28:06.046Z] "hosts": [ [2024-11-07T09:28:06.046Z] "tcp://0.0.0.0:5555", [2024-11-07T09:28:06.046Z] "unix:///var/run/docker.sock" [2024-11-07T09:28:06.046Z] ], [2024-11-07T09:28:06.046Z] "mtu": 1458, [2024-11-07T09:28:06.046Z] "selinux-enabled": true, [2024-11-07T09:28:06.046Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-07T09:28:06.046Z] } [Pipeline] sh [2024-11-07T09:28:06.440Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-07T09:28:06.869Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:28:25.429Z] provisioning config files... [2024-11-07T09:28:25.488Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config16720561813365159073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:26.120Z] ---> ****-login.sh [2024-11-07T09:28:26.120Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:28:26.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:27.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:27.019Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:27.019Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:27.019Z] [2024-11-07T09:28:27.020Z] Login Succeeded [2024-11-07T09:28:27.020Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:28:27.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:27.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:27.644Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:27.644Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:27.644Z] [2024-11-07T09:28:27.644Z] Login Succeeded [2024-11-07T09:28:27.644Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:28:27.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:28.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:28.208Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:28.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:28.208Z] [2024-11-07T09:28:28.208Z] Login Succeeded [2024-11-07T09:28:28.208Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:28:28.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:28.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:28.776Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:28.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:28.776Z] [2024-11-07T09:28:28.776Z] Login Succeeded [2024-11-07T09:28:28.776Z] ****.io [2024-11-07T09:28:29.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:29.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:29.344Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:29.344Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:29.344Z] [2024-11-07T09:28:29.344Z] Login Succeeded [2024-11-07T09:28:29.344Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:28:29.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:28:30.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:28:30.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:28:30.221Z] ========================================================= [2024-11-07T09:28:30.221Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-07T09:28:30.221Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:28:30.841Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-07T09:28:31.457Z] Sending build context to Docker daemon 12.91MB [2024-11-07T09:28:31.457Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:28:31.457Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-07T09:28:31.738Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-07T09:28:31.738Z] cf04c63912e1: Pulling fs layer [2024-11-07T09:28:31.738Z] 55b35a11ae5e: Pulling fs layer [2024-11-07T09:28:31.738Z] a37a00ec5f00: Pulling fs layer [2024-11-07T09:28:31.738Z] 50b3750afda1: Pulling fs layer [2024-11-07T09:28:31.738Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:28:31.738Z] 80978eb59214: Pulling fs layer [2024-11-07T09:28:31.738Z] c9f46d7d2bd2: Pulling fs layer [2024-11-07T09:28:31.738Z] c5a475d317c9: Pulling fs layer [2024-11-07T09:28:31.738Z] 80978eb59214: Waiting [2024-11-07T09:28:31.738Z] c9f46d7d2bd2: Waiting [2024-11-07T09:28:31.738Z] c5a475d317c9: Waiting [2024-11-07T09:28:31.738Z] 50b3750afda1: Waiting [2024-11-07T09:28:31.738Z] 4f4fb700ef54: Waiting [2024-11-07T09:28:31.738Z] 55b35a11ae5e: Verifying Checksum [2024-11-07T09:28:31.738Z] 55b35a11ae5e: Download complete [2024-11-07T09:28:31.738Z] 50b3750afda1: Verifying Checksum [2024-11-07T09:28:31.738Z] 50b3750afda1: Download complete [2024-11-07T09:28:31.738Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:28:31.738Z] 4f4fb700ef54: Download complete [2024-11-07T09:28:32.024Z] 80978eb59214: Verifying Checksum [2024-11-07T09:28:32.024Z] 80978eb59214: Download complete [2024-11-07T09:28:32.024Z] cf04c63912e1: Verifying Checksum [2024-11-07T09:28:32.024Z] cf04c63912e1: Download complete [2024-11-07T09:28:32.872Z] c5a475d317c9: Verifying Checksum [2024-11-07T09:28:32.872Z] c5a475d317c9: Download complete [2024-11-07T09:28:33.154Z] cf04c63912e1: Pull complete [2024-11-07T09:28:34.154Z] 55b35a11ae5e: Pull complete [2024-11-07T09:28:34.430Z] a37a00ec5f00: Verifying Checksum [2024-11-07T09:28:34.430Z] a37a00ec5f00: Download complete [2024-11-07T09:28:35.875Z] c9f46d7d2bd2: Verifying Checksum [2024-11-07T09:28:35.875Z] c9f46d7d2bd2: Download complete [2024-11-07T09:28:54.232Z] a37a00ec5f00: Pull complete [2024-11-07T09:28:54.232Z] 50b3750afda1: Pull complete [2024-11-07T09:28:54.232Z] 4f4fb700ef54: Pull complete [2024-11-07T09:28:54.232Z] 80978eb59214: Pull complete [2024-11-07T09:29:02.542Z] c9f46d7d2bd2: Pull complete [2024-11-07T09:29:03.991Z] c5a475d317c9: Pull complete [2024-11-07T09:29:03.991Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-07T09:29:03.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-07T09:29:03.991Z] ---> be29e6b0f0d4 [2024-11-07T09:29:03.991Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:29:06.639Z] ---> Running in 7673276101d0 [2024-11-07T09:29:06.917Z] Removing intermediate container 7673276101d0 [2024-11-07T09:29:06.917Z] ---> 58956b78378e [2024-11-07T09:29:06.917Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:29:06.917Z] ---> Running in 3dd63a9bd16a [2024-11-07T09:29:07.198Z] Removing intermediate container 3dd63a9bd16a [2024-11-07T09:29:07.198Z] ---> 3eccb44279eb [2024-11-07T09:29:07.198Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:29:07.478Z] ---> Running in dd387e39b8d7 [2024-11-07T09:29:07.761Z] Removing intermediate container dd387e39b8d7 [2024-11-07T09:29:07.762Z] ---> 9f1f11780d0e [2024-11-07T09:29:07.762Z] Step 6/12 : WORKDIR /device-uart [2024-11-07T09:29:07.762Z] ---> Running in a6840da3372c [2024-11-07T09:29:08.388Z] Removing intermediate container a6840da3372c [2024-11-07T09:29:08.388Z] ---> 536633f8beeb [2024-11-07T09:29:08.388Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:29:08.388Z] ---> Running in 95697c5c6ed6 [2024-11-07T09:29:09.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:29:10.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:29:12.765Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-07T09:29:12.765Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-07T09:29:12.765Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-07T09:29:12.765Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-07T09:29:12.765Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:29:12.765Z] OK: 242 MiB in 58 packages [2024-11-07T09:29:14.772Z] Removing intermediate container 95697c5c6ed6 [2024-11-07T09:29:14.772Z] ---> bddf52fd9705 [2024-11-07T09:29:14.772Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-07T09:29:15.051Z] ---> 90d51b3d29bb [2024-11-07T09:29:15.051Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:29:15.332Z] ---> Running in 9951b1e93a7d [2024-11-07T09:31:22.303Z] Removing intermediate container 9951b1e93a7d [2024-11-07T09:31:22.303Z] ---> 5fbc52f71664 [2024-11-07T09:31:22.303Z] Step 10/12 : COPY . . [2024-11-07T09:31:22.303Z] ---> a731811d7705 [2024-11-07T09:31:22.303Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:31:22.303Z] ---> Running in 01706e08057f [2024-11-07T09:31:22.303Z] Removing intermediate container 01706e08057f [2024-11-07T09:31:22.303Z] ---> af60354bdd43 [2024-11-07T09:31:22.303Z] Step 12/12 : RUN ${MAKE} [2024-11-07T09:31:22.303Z] ---> Running in 76e8f77ba762 [2024-11-07T09:31:22.303Z] noop [2024-11-07T09:31:22.911Z] Removing intermediate container 76e8f77ba762 [2024-11-07T09:31:22.911Z] ---> 2070e49e61e6 [2024-11-07T09:31:22.911Z] Successfully built 2070e49e61e6 [2024-11-07T09:31:23.183Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:31:23.729Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:31:23.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:31:24.134Z] prd-ubuntu20.04-docker-arm64-4c-16g-24749 does not seem to be running inside a container [2024-11-07T09:31:24.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:31:25.822Z] $ docker top 2c24aa270891fe8346c5066c48f2cefb3ec0e397db242e1e4e054a9b1a331f55 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:31:26.858Z] + go version [2024-11-07T09:31:26.858Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-07T09:31:26.901Z] $ docker stop --time=1 2c24aa270891fe8346c5066c48f2cefb3ec0e397db242e1e4e054a9b1a331f55 [2024-11-07T09:31:28.716Z] $ docker rm -f --volumes 2c24aa270891fe8346c5066c48f2cefb3ec0e397db242e1e4e054a9b1a331f55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:31:29.785Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:31:29.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:31:30.127Z] prd-ubuntu20.04-docker-arm64-4c-16g-24749 does not seem to be running inside a container [2024-11-07T09:31:30.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:31:31.892Z] $ docker top d692b42ecc2321ae5c6ca3b992ac3b232b039322becc10b6b61a507e1fdacd79 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:31:32.912Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:31:33.696Z] + make test [2024-11-07T09:31:33.696Z] go test ./... -coverprofile=coverage.out [2024-11-07T09:31:41.719Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-11-07T09:36:03.943Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-11-07T09:36:03.943Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-11-07T09:36:03.943Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-07T09:36:03.943Z] go vet ./... [2024-11-07T09:36:50.984Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:36:50.984Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:36:50.984Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:36:52.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:36:52.083Z] $ docker stop --time=1 d692b42ecc2321ae5c6ca3b992ac3b232b039322becc10b6b61a507e1fdacd79 [2024-11-07T09:36:54.301Z] $ docker rm -f --volumes d692b42ecc2321ae5c6ca3b992ac3b232b039322becc10b6b61a507e1fdacd79 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:36:56.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:36:56.489Z] Warning: overwriting stash ‘coverage-report’ [2024-11-07T09:36:57.146Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:36:57.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:36:58.173Z] + ls -al . [2024-11-07T09:36:58.173Z] total 220 [2024-11-07T09:36:58.173Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 09:31 . [2024-11-07T09:36:58.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:27 .. [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:27 .dockerignore [2024-11-07T09:36:58.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:27 .git [2024-11-07T09:36:58.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:27 .github [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 7 09:27 .gitignore [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 198 Nov 7 09:27 .golangci.yml [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 18662 Nov 7 09:27 Attribution.txt [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 7 09:27 CHANGELOG.md [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 1919 Nov 7 09:27 Dockerfile [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:27 GOVERNANCE.md [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 7 09:27 Jenkinsfile [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:27 LICENSE [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 2463 Nov 7 09:27 Makefile [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 09:27 OWNERS.md [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 7 09:27 README.md [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:24 VERSION [2024-11-07T09:36:58.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:27 bin [2024-11-07T09:36:58.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:27 cmd [2024-11-07T09:36:58.173Z] -rw-r--r-- 1 jenkins jenkins 6770 Nov 7 09:35 coverage.out [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 6269 Nov 7 09:27 go.mod [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 88303 Nov 7 09:27 go.sum [2024-11-07T09:36:58.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:27 internal [2024-11-07T09:36:58.173Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 7 09:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:36:58.637Z] + 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=eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc --label arch=arm64 --label version=0.0.0 . [2024-11-07T09:36:59.223Z] Sending build context to Docker daemon 12.92MB [2024-11-07T09:36:59.223Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:36:59.223Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-07T09:36:59.223Z] ---> 2070e49e61e6 [2024-11-07T09:36:59.223Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:36:59.223Z] ---> Running in 91b5ca6b0a74 [2024-11-07T09:36:59.808Z] Removing intermediate container 91b5ca6b0a74 [2024-11-07T09:36:59.808Z] ---> 467e33ede2e9 [2024-11-07T09:36:59.808Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:36:59.808Z] ---> Running in a878eedbb85e [2024-11-07T09:37:00.075Z] Removing intermediate container a878eedbb85e [2024-11-07T09:37:00.075Z] ---> 01cabed8f75b [2024-11-07T09:37:00.075Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:37:00.075Z] ---> Running in 72e75f036cb0 [2024-11-07T09:37:00.661Z] Removing intermediate container 72e75f036cb0 [2024-11-07T09:37:00.661Z] ---> f528a047460a [2024-11-07T09:37:00.661Z] Step 6/26 : WORKDIR /device-uart [2024-11-07T09:37:00.661Z] ---> Running in a057a6c858c5 [2024-11-07T09:37:00.936Z] Removing intermediate container a057a6c858c5 [2024-11-07T09:37:00.936Z] ---> dbf814fb5d01 [2024-11-07T09:37:00.936Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:37:01.210Z] ---> Running in ea35f01eb651 [2024-11-07T09:37:02.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:37:02.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:37:04.185Z] OK: 242 MiB in 58 packages [2024-11-07T09:37:05.159Z] Removing intermediate container ea35f01eb651 [2024-11-07T09:37:05.159Z] ---> e284bdb0aa95 [2024-11-07T09:37:05.159Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-07T09:37:06.125Z] ---> 21df839d1261 [2024-11-07T09:37:06.125Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:37:06.125Z] ---> Running in e0e1351f1158 [2024-11-07T09:37:08.714Z] Removing intermediate container e0e1351f1158 [2024-11-07T09:37:08.714Z] ---> 6de87b2c4021 [2024-11-07T09:37:08.714Z] Step 10/26 : COPY . . [2024-11-07T09:37:09.674Z] ---> 5b9ca4682958 [2024-11-07T09:37:09.674Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:37:09.674Z] ---> Running in ccaa6c41c1fe [2024-11-07T09:37:10.264Z] Removing intermediate container ccaa6c41c1fe [2024-11-07T09:37:10.264Z] ---> 294541f39425 [2024-11-07T09:37:10.264Z] Step 12/26 : RUN ${MAKE} [2024-11-07T09:37:10.264Z] ---> Running in 887d555f876a [2024-11-07T09:37:11.228Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd [2024-11-07T09:41:33.095Z] Removing intermediate container 887d555f876a [2024-11-07T09:41:33.095Z] ---> 0586d92f61a2 [2024-11-07T09:41:33.095Z] Step 13/26 : FROM alpine:3.20 [2024-11-07T09:41:33.095Z] 3.20: Pulling from library/alpine [2024-11-07T09:41:33.095Z] cf04c63912e1: Already exists [2024-11-07T09:41:33.095Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:41:33.095Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:41:33.095Z] ---> c157a85ed455 [2024-11-07T09:41:33.095Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-11-07T09:41:33.095Z] ---> Running in 3b8dd6d94952 [2024-11-07T09:41:33.095Z] Removing intermediate container 3b8dd6d94952 [2024-11-07T09:41:33.095Z] ---> 878a3e1a9470 [2024-11-07T09:41:33.095Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:41:33.095Z] ---> Running in 8111c1741937 [2024-11-07T09:41:33.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:33.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:33.095Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:41:33.095Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:41:33.095Z] OK: 9 MiB in 15 packages [2024-11-07T09:41:33.095Z] Removing intermediate container 8111c1741937 [2024-11-07T09:41:33.095Z] ---> 61832aa9096d [2024-11-07T09:41:33.095Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-07T09:41:33.095Z] ---> Running in a49c4f66a5fb [2024-11-07T09:41:33.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:33.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:33.095Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:41:33.095Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:41:33.095Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:41:33.095Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:41:33.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:33.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:33.095Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:41:33.095Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:41:33.095Z] OK: 9 MiB in 15 packages [2024-11-07T09:41:33.095Z] Removing intermediate container a49c4f66a5fb [2024-11-07T09:41:33.095Z] ---> 7baf7aedb300 [2024-11-07T09:41:33.095Z] Step 17/26 : WORKDIR / [2024-11-07T09:41:33.373Z] ---> Running in b3517ca3ed26 [2024-11-07T09:41:33.666Z] Removing intermediate container b3517ca3ed26 [2024-11-07T09:41:33.666Z] ---> 51ebf09ec630 [2024-11-07T09:41:33.666Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-11-07T09:41:34.639Z] ---> 4deb45bbc2a7 [2024-11-07T09:41:34.639Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-11-07T09:41:34.907Z] ---> 78f0eaa019f6 [2024-11-07T09:41:34.907Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-11-07T09:41:38.263Z] ---> 9fdf14aa0d50 [2024-11-07T09:41:38.263Z] Step 21/26 : EXPOSE 59995 [2024-11-07T09:41:38.263Z] ---> Running in 5b5d44bdfbf4 [2024-11-07T09:41:38.539Z] Removing intermediate container 5b5d44bdfbf4 [2024-11-07T09:41:38.540Z] ---> a3aed0cd4b55 [2024-11-07T09:41:38.540Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-11-07T09:41:38.540Z] ---> Running in d1e854d3b7e5 [2024-11-07T09:41:38.815Z] Removing intermediate container d1e854d3b7e5 [2024-11-07T09:41:38.815Z] ---> f0353553638e [2024-11-07T09:41:38.815Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:41:39.091Z] ---> Running in 7c76323088ee [2024-11-07T09:41:39.379Z] Removing intermediate container 7c76323088ee [2024-11-07T09:41:39.379Z] ---> 4fb9b1fc4f97 [2024-11-07T09:41:39.379Z] Step 24/26 : LABEL arch=arm64 [2024-11-07T09:41:39.652Z] ---> Running in f4642e8720b3 [2024-11-07T09:41:39.931Z] Removing intermediate container f4642e8720b3 [2024-11-07T09:41:39.931Z] ---> 7d96eb6e1531 [2024-11-07T09:41:39.931Z] Step 25/26 : LABEL git_sha=eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [2024-11-07T09:41:39.931Z] ---> Running in ea31b5027df6 [2024-11-07T09:41:40.524Z] Removing intermediate container ea31b5027df6 [2024-11-07T09:41:40.524Z] ---> 10bfe8b403b8 [2024-11-07T09:41:40.524Z] Step 26/26 : LABEL version=0.0.0 [2024-11-07T09:41:40.524Z] ---> Running in 0561abbd3975 [2024-11-07T09:41:40.795Z] Removing intermediate container 0561abbd3975 [2024-11-07T09:41:40.795Z] ---> dade4b26870c [2024-11-07T09:41:40.795Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:41:40.795Z] Successfully built dade4b26870c [2024-11-07T09:41:40.795Z] 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-11-07T09:41:41.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:41:41.979Z] [2024-11-07T09:41:41.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:41:42.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:41:42.716Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-07T09:41:42.716Z] 8998bd30e6a1: Pulling fs layer [2024-11-07T09:41:42.716Z] 04944245beec: Pulling fs layer [2024-11-07T09:41:42.716Z] 699f458cf7ca: Pulling fs layer [2024-11-07T09:41:42.716Z] 765212b225bb: Pulling fs layer [2024-11-07T09:41:42.716Z] f23df028b6ca: Pulling fs layer [2024-11-07T09:41:42.716Z] d65c8cfc05b1: Pulling fs layer [2024-11-07T09:41:42.716Z] 2437ff75d9bd: Pulling fs layer [2024-11-07T09:41:42.716Z] 765212b225bb: Waiting [2024-11-07T09:41:42.716Z] d65c8cfc05b1: Waiting [2024-11-07T09:41:42.716Z] 2437ff75d9bd: Waiting [2024-11-07T09:41:42.716Z] f23df028b6ca: Waiting [2024-11-07T09:41:42.716Z] 04944245beec: Verifying Checksum [2024-11-07T09:41:42.716Z] 04944245beec: Download complete [2024-11-07T09:41:42.716Z] 765212b225bb: Verifying Checksum [2024-11-07T09:41:42.716Z] 765212b225bb: Download complete [2024-11-07T09:41:42.716Z] f23df028b6ca: Verifying Checksum [2024-11-07T09:41:42.716Z] f23df028b6ca: Download complete [2024-11-07T09:41:42.716Z] d65c8cfc05b1: Verifying Checksum [2024-11-07T09:41:42.716Z] d65c8cfc05b1: Download complete [2024-11-07T09:41:42.996Z] 699f458cf7ca: Verifying Checksum [2024-11-07T09:41:42.996Z] 699f458cf7ca: Download complete [2024-11-07T09:41:43.591Z] 8998bd30e6a1: Verifying Checksum [2024-11-07T09:41:43.591Z] 8998bd30e6a1: Download complete [2024-11-07T09:41:46.210Z] 2437ff75d9bd: Verifying Checksum [2024-11-07T09:41:46.210Z] 2437ff75d9bd: Download complete [2024-11-07T09:41:48.818Z] 8998bd30e6a1: Pull complete [2024-11-07T09:41:49.096Z] 04944245beec: Pull complete [2024-11-07T09:41:51.068Z] 699f458cf7ca: Pull complete [2024-11-07T09:41:51.068Z] 765212b225bb: Pull complete [2024-11-07T09:41:52.035Z] f23df028b6ca: Pull complete [2024-11-07T09:41:52.303Z] d65c8cfc05b1: Pull complete [2024-11-07T09:42:10.549Z] 2437ff75d9bd: Pull complete [2024-11-07T09:42:10.549Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-07T09:42:10.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:42:10.549Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:42:10.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-24749 does not seem to be running inside a container [2024-11-07T09:42:10.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-07T09:42:14.251Z] $ docker top 8d92f1c5d781d80bea5b8c162f06fb7e450ec7c87288a83955d76b2fb338245b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:15.203Z] ---> job-cost.sh [2024-11-07T09:42:15.204Z] lf-activate-venv: SKIPPING [2024-11-07T09:42:15.204Z] INFO: No Stack... [2024-11-07T09:42:15.470Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-07T09:42:16.427Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:42:17.088Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-11-07T09:42:17.088Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:42:17.175Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-85-1-stack-cost] [2024-11-07T09:42:17.180Z] Resource [jenkins-edgexfoundry-device-uart-PR-85-1-stack-cost] did not exist. Created. [2024-11-07T09:42:17.186Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:42:17.920Z] /w/workspace/device-uart/1@tmp/durable-5383ea1e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-07T09:42:18.274Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-07T09:42:18.325Z] Warning: overwriting stash ‘stack-cost’ [2024-11-07T09:42:18.374Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:42:18.394Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:42:18.489Z] $ docker stop --time=1 8d92f1c5d781d80bea5b8c162f06fb7e450ec7c87288a83955d76b2fb338245b [2024-11-07T09:42:20.025Z] $ docker rm -f --volumes 8d92f1c5d781d80bea5b8c162f06fb7e450ec7c87288a83955d76b2fb338245b [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-11-07T09:42:21.165Z] provisioning config files... [2024-11-07T09:42:21.172Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-85@tmp/config14755427729161440253tmp [Pipeline] { [Pipeline] sh [2024-11-07T09:42:21.528Z] + set +x [2024-11-07T09:42:21.528Z] + curl -s https://codecov.io/bash [2024-11-07T09:42:21.528Z] + bash -s -- [2024-11-07T09:42:21.528Z] [2024-11-07T09:42:21.528Z] _____ _ [2024-11-07T09:42:21.528Z] / ____| | | [2024-11-07T09:42:21.528Z] | | ___ __| | ___ ___ _____ __ [2024-11-07T09:42:21.528Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-07T09:42:21.528Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-07T09:42:21.528Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-07T09:42:21.528Z] Bash-1.0.6 [2024-11-07T09:42:21.528Z] [2024-11-07T09:42:21.528Z] [2024-11-07T09:42:21.528Z] ==> git version 2.25.1 found [2024-11-07T09:42:21.528Z] ==> 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-11-07T09:42:21.528Z] Release-Date: 2020-01-08 [2024-11-07T09:42:21.528Z] 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-11-07T09:42:21.528Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-07T09:42:21.528Z] ==> Jenkins CI detected. [2024-11-07T09:42:21.528Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-85 [2024-11-07T09:42:21.528Z] project root: . [2024-11-07T09:42:21.528Z] --> token set from env [2024-11-07T09:42:21.528Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-07T09:42:21.528Z] ==> Running gcov in . (disable via -X gcov) [2024-11-07T09:42:21.528Z] ==> Python coveragepy not found [2024-11-07T09:42:21.528Z] ==> Searching for coverage reports in: [2024-11-07T09:42:21.528Z] + . [2024-11-07T09:42:21.528Z] -> Found 1 reports [2024-11-07T09:42:21.528Z] ==> Detecting git/mercurial file structure [2024-11-07T09:42:21.528Z] ==> Reading reports [2024-11-07T09:42:21.789Z] + ./coverage.out bytes=6770 [2024-11-07T09:42:21.789Z] ==> Appending adjustments [2024-11-07T09:42:21.789Z] https://docs.codecov.io/docs/fixing-reports [2024-11-07T09:42:21.789Z] + Found adjustments [2024-11-07T09:42:21.789Z] ==> Gzipping contents [2024-11-07T09:42:21.789Z] 4.0K /tmp/codecov.YD46U4.gz [2024-11-07T09:42:21.789Z] ==> Uploading reports [2024-11-07T09:42:21.789Z] url: https://codecov.io [2024-11-07T09:42:21.789Z] query: branch=PR-85&commit=eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=85&job=&cmd_args= [2024-11-07T09:42:21.789Z] -> Pinging Codecov [2024-11-07T09:42:21.789Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-85&commit=eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=85&job=&cmd_args= [2024-11-07T09:42:22.048Z] -> Uploading to [2024-11-07T09:42:22.048Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc/dd4d2d09-dd0f-40c1-a6b2-5ad5507a17d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T094221Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=284bf05cc3168e9821389ff2af673f785d5d335b2a3b3aed557c58ca11202921 [2024-11-07T09:42:22.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:42:22.048Z] Dload Upload Total Spent Left Speed [2024-11-07T09:42:22.309Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 6040 --:--:-- --:--:-- --:--:-- 6040 [2024-11-07T09:42:22.309Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc [Pipeline] } [2024-11-07T09:42:22.342Z] 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-11-07T09:42:24.452Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-85/archives ] [2024-11-07T09:42:24.452Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-85/archives [2024-11-07T09:42:24.452Z] total 16 [2024-11-07T09:42:24.452Z] drwxr-xr-x 3 root root 4096 Nov 7 09:26 . [2024-11-07T09:42:24.452Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:26 .. [2024-11-07T09:42:24.452Z] drwxr-xr-x 2 root root 4096 Nov 7 09:26 cost [2024-11-07T09:42:24.452Z] -rw-r--r-- 1 root root 82 Nov 7 09:26 cost.csv [2024-11-07T09:42:24.452Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-85/archives [2024-11-07T09:42:24.452Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-85/archives [2024-11-07T09:42:24.452Z] total 16 [2024-11-07T09:42:24.452Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:26 . [2024-11-07T09:42:24.452Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:26 .. [2024-11-07T09:42:24.452Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:26 cost [2024-11-07T09:42:24.452Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 7 09:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:24.810Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:25.723Z] ---> package-listing.sh [2024-11-07T09:42:25.723Z] ++ facter osfamily [2024-11-07T09:42:25.723Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-07T09:42:25.982Z] + OS_FAMILY=debian [2024-11-07T09:42:25.982Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-85 [2024-11-07T09:42:25.982Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-07T09:42:25.982Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-07T09:42:25.982Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-07T09:42:25.982Z] + PACKAGES=/tmp/packages_start.txt [2024-11-07T09:42:25.982Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-85 ']' [2024-11-07T09:42:25.982Z] + PACKAGES=/tmp/packages_end.txt [2024-11-07T09:42:25.982Z] + case "${OS_FAMILY}" in [2024-11-07T09:42:25.982Z] + dpkg -l [2024-11-07T09:42:25.982Z] + grep '^ii' [2024-11-07T09:42:25.982Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-07T09:42:25.982Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-07T09:42:25.982Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-07T09:42:25.982Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-85 ']' [2024-11-07T09:42:25.982Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-85/archives/ [2024-11-07T09:42:25.982Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-85/archives/ [Pipeline] echo [2024-11-07T09:42:26.021Z] 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-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-07T09:42:26.396Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:42:26.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:42:26.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:42:27.044Z] prd-ubuntu20.04-docker-8c-8g-24746 does not seem to be running inside a container [2024-11-07T09:42:27.088Z] $ 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-85/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-85 -v /w/workspace/edgexfoundry_device-uart_PR-85:/w/workspace/edgexfoundry_device-uart_PR-85:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-85@tmp:/w/workspace/edgexfoundry_device-uart_PR-85@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-11-07T09:42:27.323Z] $ docker top 6b01f7b05849af05da34d541748e3585630de459e8fb4d3d6ef32929ef8e7ee0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:42:27.707Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-07T09:42:28.023Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-07T09:42:28.342Z] + ls /var/log/sa-host [2024-11-07T09:42:28.342Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:42:28.501Z] provisioning config files... [2024-11-07T09:42:28.511Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-85@tmp/config2085491826236684347tmp [Pipeline] { [Pipeline] echo [2024-11-07T09:42:28.586Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:28.918Z] ---> create-netrc.sh [Pipeline] } [2024-11-07T09:42:28.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:29.362Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-07T09:42:29.401Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:29.729Z] ---> sudo-logs.sh [2024-11-07T09:42:29.729Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-07T09:42:29.838Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:30.164Z] ---> job-cost.sh [2024-11-07T09:42:30.164Z] lf-activate-venv: SKIPPING [2024-11-07T09:42:30.164Z] DEBUG: total: 0.2199999988079071 [2024-11-07T09:42:30.164Z] INFO: Retrieving Stack Cost... [2024-11-07T09:42:30.423Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:42:30.994Z] INFO: Archiving Costs [Pipeline] echo [2024-11-07T09:42:31.038Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:31.370Z] ---> logs-deploy.sh [2024-11-07T09:42:31.371Z] lf-activate-venv: SKIPPING [2024-11-07T09:42:31.371Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-85/1 [2024-11-07T09:42:31.371Z] INFO: archiving workspace using pattern(s): [2024-11-07T09:42:32.310Z] Archives upload complete. [2024-11-07T09:42:32.310Z] INFO: archiving logs to Nexus