Pull request #85 updated 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 d3f616bb6c298463b0160a7450de9f955e758ebd+2cd3421d87aeff7694e6397f4de46170b3861cfd (5a6ea0154363eb3f5329d5b8fb8bfe90b46fe9ca) 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-ssh1079403224672437673.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-ssh4578809500235704742.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-85/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh14138752473075065147.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 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-ssh2268486335230540975.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-85/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh12679685211637171736.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-24975 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 Merging remotes/origin/main commit 2cd3421d87aeff7694e6397f4de46170b3861cfd into PR head commit d3f616bb6c298463b0160a7450de9f955e758ebd > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f d3f616bb6c298463b0160a7450de9f955e758ebd # 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 Merge succeeded, producing d3f616bb6c298463b0160a7450de9f955e758ebd Checking out Revision d3f616bb6c298463b0160a7450de9f955e758ebd (PR-85) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3f616bb6c298463b0160a7450de9f955e758ebd # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git rev-list --no-walk eff0ecc697f1fa6a5c995c13b9384b385ba6d4bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T03:02:18.925Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T03:02:19.012Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T03:02:19.044Z] ========================================================= [2024-11-08T03:02:19.044Z] EdgeX Global Pipelines Version Info [2024-11-08T03:02:19.044Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:02:19.782Z] ------------------- [2024-11-08T03:02:19.782Z] stable info: [2024-11-08T03:02:19.782Z] ------------------- [2024-11-08T03:02:19.782Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T03:02:19.782Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T03:02:19.782Z] Message: update stable to v1.0.265 [2024-11-08T03:02:20.354Z] ------------------- [2024-11-08T03:02:20.354Z] experimental info: [2024-11-08T03:02:20.354Z] ------------------- [2024-11-08T03:02:20.354Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T03:02:20.354Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T03:02:20.354Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T03:02:20.436Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-11-08T03:02:20.467Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-11-08T03:02:20.489Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T03:02:20.512Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T03:02:20.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T03:02:20.555Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T03:02:20.583Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T03:02:20.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T03:02:20.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T03:02:20.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T03:02:20.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T03:02:20.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-11-08T03:02:20.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T03:02:20.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T03:02:20.797Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T03:02:20.831Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T03:02:20.855Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T03:02:20.883Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T03:02:20.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T03:02:20.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T03:02:20.950Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T03:02:20.978Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T03:02:21.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T03:02:21.034Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T03:02:21.065Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T03:02:21.095Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T03:02:21.121Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T03:02:21.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-85 [Pipeline] echo [2024-11-08T03:02:21.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-85 [Pipeline] echo [2024-11-08T03:02:21.192Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-85 [Pipeline] echo [2024-11-08T03:02:21.217Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3f616bb6c298463b0160a7450de9f955e758ebd [Pipeline] echo [2024-11-08T03:02:21.243Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3f616b [Pipeline] echo [2024-11-08T03:02:21.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:02:21.351Z] provisioning config files... [2024-11-08T03:02:21.366Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-85@tmp/config7589332212425476127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:02:21.707Z] ---> ****-login.sh [2024-11-08T03:02:21.707Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:02:22.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:22.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:22.279Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:22.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:22.279Z] [2024-11-08T03:02:22.279Z] Login Succeeded [2024-11-08T03:02:22.279Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:02:22.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:22.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:22.540Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:22.541Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:22.541Z] [2024-11-08T03:02:22.541Z] Login Succeeded [2024-11-08T03:02:22.541Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:02:22.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:22.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:22.541Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:22.541Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:22.541Z] [2024-11-08T03:02:22.541Z] Login Succeeded [2024-11-08T03:02:22.541Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:02:22.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:22.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:22.802Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:22.802Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:22.802Z] [2024-11-08T03:02:22.802Z] Login Succeeded [2024-11-08T03:02:22.802Z] ****.io [2024-11-08T03:02:22.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:23.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:23.064Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:23.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:23.064Z] [2024-11-08T03:02:23.064Z] Login Succeeded [2024-11-08T03:02:23.064Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:02:23.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T03:02:23.479Z] + git rev-list -1 --merges d3f616bb6c298463b0160a7450de9f955e758ebd~1..d3f616bb6c298463b0160a7450de9f955e758ebd [Pipeline] echo [2024-11-08T03:02:23.509Z] -----------> git rev-list -1 --merges d3f616bb6c298463b0160a7450de9f955e758ebd~1..d3f616bb6c298463b0160a7450de9f955e758ebd d3f616bb6c298463b0160a7450de9f955e758ebd [false] [Pipeline] sh [2024-11-08T03:02:23.810Z] + git log --format=format:%s -1 d3f616bb6c298463b0160a7450de9f955e758ebd [Pipeline] echo [2024-11-08T03:02:23.830Z] ========================================================= [2024-11-08T03:02:23.830Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T03:02:23.830Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:02:24.202Z] + git log --format=format:%s -1 d3f616bb6c298463b0160a7450de9f955e758ebd [Pipeline] echo [2024-11-08T03:02:24.243Z] [semverPrep] GIT_COMMIT: d3f616bb6c298463b0160a7450de9f955e758ebd, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-08T03:02:24.257Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T03:02:24.621Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T03:02:24.622Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T03:02:24.622Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T03:02:24.622Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T03:02:24.622Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T03:02:24.622Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T03:02:24.622Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:02:24.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T03:02:24.986Z] [2024-11-08T03:02:24.986Z] 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-08T03:02:25.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T03:02:25.299Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T03:02:25.299Z] b85a868b505f: Pulling fs layer [2024-11-08T03:02:25.299Z] e2be974225ed: Pulling fs layer [2024-11-08T03:02:25.299Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T03:02:25.299Z] 988bab9f4d93: Pulling fs layer [2024-11-08T03:02:25.299Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T03:02:25.299Z] eaf3925da568: Pulling fs layer [2024-11-08T03:02:25.299Z] bab4dde63d76: Pulling fs layer [2024-11-08T03:02:25.299Z] bde34c3a00c8: Pulling fs layer [2024-11-08T03:02:25.299Z] b352a97aabf1: Pulling fs layer [2024-11-08T03:02:25.299Z] 4872d77fe225: Pulling fs layer [2024-11-08T03:02:25.299Z] 5851b861e8e6: Pulling fs layer [2024-11-08T03:02:25.299Z] 1469e6f7b9e6: Waiting [2024-11-08T03:02:25.299Z] 988bab9f4d93: Waiting [2024-11-08T03:02:25.299Z] bab4dde63d76: Waiting [2024-11-08T03:02:25.299Z] 4872d77fe225: Waiting [2024-11-08T03:02:25.299Z] eaf3925da568: Waiting [2024-11-08T03:02:25.299Z] b352a97aabf1: Waiting [2024-11-08T03:02:25.299Z] e2be974225ed: Download complete [2024-11-08T03:02:25.299Z] 988bab9f4d93: Download complete [2024-11-08T03:02:25.557Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T03:02:25.557Z] 1469e6f7b9e6: Download complete [2024-11-08T03:02:25.557Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T03:02:25.557Z] 339a4e72a1f5: Download complete [2024-11-08T03:02:25.557Z] eaf3925da568: Verifying Checksum [2024-11-08T03:02:25.557Z] eaf3925da568: Download complete [2024-11-08T03:02:25.557Z] bde34c3a00c8: Download complete [2024-11-08T03:02:25.557Z] b352a97aabf1: Download complete [2024-11-08T03:02:25.557Z] 4872d77fe225: Download complete [2024-11-08T03:02:25.557Z] 5851b861e8e6: Verifying Checksum [2024-11-08T03:02:25.557Z] 5851b861e8e6: Download complete [2024-11-08T03:02:25.557Z] b85a868b505f: Verifying Checksum [2024-11-08T03:02:25.557Z] b85a868b505f: Download complete [2024-11-08T03:02:25.817Z] bab4dde63d76: Verifying Checksum [2024-11-08T03:02:25.817Z] bab4dde63d76: Download complete [2024-11-08T03:02:26.756Z] b85a868b505f: Pull complete [2024-11-08T03:02:27.015Z] e2be974225ed: Pull complete [2024-11-08T03:02:27.584Z] 339a4e72a1f5: Pull complete [2024-11-08T03:02:27.584Z] 988bab9f4d93: Pull complete [2024-11-08T03:02:27.865Z] 1469e6f7b9e6: Pull complete [2024-11-08T03:02:28.125Z] eaf3925da568: Pull complete [2024-11-08T03:02:30.032Z] bab4dde63d76: Pull complete [2024-11-08T03:02:30.032Z] bde34c3a00c8: Pull complete [2024-11-08T03:02:30.032Z] b352a97aabf1: Pull complete [2024-11-08T03:02:30.032Z] 4872d77fe225: Pull complete [2024-11-08T03:02:30.312Z] 5851b861e8e6: Pull complete [2024-11-08T03:02:30.313Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T03:02:30.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T03:02:30.313Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:02:30.470Z] prd-ubuntu20.04-docker-8c-8g-24975 does not seem to be running inside a container [2024-11-08T03:02:30.504Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T03:02:36.056Z] $ docker top fd73572978705a3ed4659f3a6f3a54b7af0522ea4f1d41c1cbd1081e981b78e1 -eo pid,comm [2024-11-08T03:02:36.128Z] 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-08T03:02:36.128Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T03:02:36.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T03:02:36.195Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T03:02:36.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T03:02:36.317Z] $ docker exec fd73572978705a3ed4659f3a6f3a54b7af0522ea4f1d41c1cbd1081e981b78e1 ssh-agent [2024-11-08T03:02:36.432Z] SSH_AUTH_SOCK=/tmp/ssh-pVTBT5kxbvFW/agent.32 [2024-11-08T03:02:36.432Z] SSH_AGENT_PID=39 [2024-11-08T03:02:36.439Z] Running ssh-add (command line suppressed) [2024-11-08T03:02:36.554Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-85@tmp/private_key_10423332685484911574.key (/w/workspace/edgexfoundry_device-uart_PR-85@tmp/private_key_10423332685484911574.key) [2024-11-08T03:02:36.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T03:02:36.879Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T03:02:36.891Z] $ docker exec --env ******** --env ******** fd73572978705a3ed4659f3a6f3a54b7af0522ea4f1d41c1cbd1081e981b78e1 ssh-agent -k [2024-11-08T03:02:36.995Z] unset SSH_AUTH_SOCK; [2024-11-08T03:02:36.996Z] unset SSH_AGENT_PID; [2024-11-08T03:02:36.996Z] echo Agent pid 39 killed; [2024-11-08T03:02:37.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T03:02:37.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T03:02:37.048Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T03:02:37.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T03:02:37.165Z] $ docker exec fd73572978705a3ed4659f3a6f3a54b7af0522ea4f1d41c1cbd1081e981b78e1 ssh-agent [2024-11-08T03:02:37.287Z] SSH_AUTH_SOCK=/tmp/ssh-tX3bVaBMPPzY/agent.72 [2024-11-08T03:02:37.287Z] SSH_AGENT_PID=78 [2024-11-08T03:02:37.293Z] Running ssh-add (command line suppressed) [2024-11-08T03:02:37.389Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-85@tmp/private_key_2587535511894916190.key (/w/workspace/edgexfoundry_device-uart_PR-85@tmp/private_key_2587535511894916190.key) [2024-11-08T03:02:37.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T03:02:37.701Z] + git semver init [2024-11-08T03:02:37.965Z] 2024-11-08 03:02:37,882 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T03:02:37.965Z] 2024-11-08 03:02:37,883 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-85/.semver [2024-11-08T03:02:37.965Z] 2024-11-08 03:02:37,884 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-85/.semver [2024-11-08T03:02:37.965Z] 2024-11-08 03:02:37,884 [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-08T03:02:39.344Z] 2024-11-08 03:02:39,036 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-85/.git/info/exclude [2024-11-08T03:02:39.344Z] 2024-11-08 03:02:39,036 [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-08T03:02:39.344Z] 2024-11-08 03:02:39,036 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-85/.semver/PR-85 [2024-11-08T03:02:39.344Z] 2024-11-08 03:02:39,041 [execute] INFO git cat-file --batch-check [2024-11-08T03:02:39.344Z] 2024-11-08 03:02:39,041 [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-08T03:02:39.344Z] 2024-11-08 03:02:39,047 [execute] INFO git cat-file --batch [2024-11-08T03:02:39.344Z] 2024-11-08 03:02:39,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-85/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T03:02:39.344Z] 2024-11-08 03:02:39,052 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-85/.semver/PR-85 [2024-11-08T03:02:39.344Z] 0.0.0 [Pipeline] } [2024-11-08T03:02:39.353Z] $ docker exec --env ******** --env ******** fd73572978705a3ed4659f3a6f3a54b7af0522ea4f1d41c1cbd1081e981b78e1 ssh-agent -k [2024-11-08T03:02:39.450Z] unset SSH_AUTH_SOCK; [2024-11-08T03:02:39.451Z] unset SSH_AGENT_PID; [2024-11-08T03:02:39.453Z] echo Agent pid 78 killed; [2024-11-08T03:02:39.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T03:02:39.788Z] + git semver [Pipeline] } [2024-11-08T03:02:40.062Z] $ docker stop --time=1 fd73572978705a3ed4659f3a6f3a54b7af0522ea4f1d41c1cbd1081e981b78e1 [2024-11-08T03:02:41.411Z] $ docker rm -f --volumes fd73572978705a3ed4659f3a6f3a54b7af0522ea4f1d41c1cbd1081e981b78e1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:02:41.765Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T03:02:42.023Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T03:02:42.027Z] [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-08T03:02:42.227Z] provisioning config files... [2024-11-08T03:02:42.237Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-85@tmp/config3889925728412654540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:02:42.550Z] ---> ****-login.sh [2024-11-08T03:02:42.550Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:02:42.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:42.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:42.551Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:42.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:42.551Z] [2024-11-08T03:02:42.551Z] Login Succeeded [2024-11-08T03:02:42.551Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:02:42.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:42.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:42.551Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:42.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:42.551Z] [2024-11-08T03:02:42.551Z] Login Succeeded [2024-11-08T03:02:42.551Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:02:42.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:42.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:42.813Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:42.813Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:42.813Z] [2024-11-08T03:02:42.813Z] Login Succeeded [2024-11-08T03:02:42.813Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:02:42.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:42.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:42.813Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:42.813Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:42.813Z] [2024-11-08T03:02:42.813Z] Login Succeeded [2024-11-08T03:02:42.813Z] ****.io [2024-11-08T03:02:43.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:02:43.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:02:43.074Z] Configure a credential helper to remove this warning. See [2024-11-08T03:02:43.074Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:02:43.074Z] [2024-11-08T03:02:43.074Z] Login Succeeded [2024-11-08T03:02:43.074Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:02:43.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:02:43.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:02:43.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:02:43.254Z] ========================================================= [2024-11-08T03:02:43.254Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T03:02:43.254Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:02:43.630Z] + 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-08T03:02:43.631Z] Sending build context to Docker daemon 25.67MB [2024-11-08T03:02:43.631Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:02:43.631Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T03:02:43.891Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T03:02:43.891Z] 43c4264eed91: Pulling fs layer [2024-11-08T03:02:43.891Z] 4cc291be95ef: Pulling fs layer [2024-11-08T03:02:43.891Z] 2ac1f1163629: Pulling fs layer [2024-11-08T03:02:43.891Z] 5c3c966382ef: Pulling fs layer [2024-11-08T03:02:43.891Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:02:43.891Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T03:02:43.891Z] 9f66e0745190: Pulling fs layer [2024-11-08T03:02:43.891Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T03:02:43.891Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T03:02:43.891Z] 5c3c966382ef: Waiting [2024-11-08T03:02:43.891Z] f49a43e4bbc0: Waiting [2024-11-08T03:02:43.891Z] 5d5c8e513c77: Waiting [2024-11-08T03:02:43.891Z] 561ebcabdf7f: Waiting [2024-11-08T03:02:43.891Z] 4cc291be95ef: Download complete [2024-11-08T03:02:43.891Z] 5c3c966382ef: Verifying Checksum [2024-11-08T03:02:43.891Z] 5c3c966382ef: Download complete [2024-11-08T03:02:43.891Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T03:02:43.891Z] 4f4fb700ef54: Download complete [2024-11-08T03:02:43.891Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T03:02:43.891Z] 5d5c8e513c77: Download complete [2024-11-08T03:02:43.891Z] 43c4264eed91: Download complete [2024-11-08T03:02:43.891Z] 9f66e0745190: Verifying Checksum [2024-11-08T03:02:43.891Z] 9f66e0745190: Download complete [2024-11-08T03:02:44.149Z] 43c4264eed91: Pull complete [2024-11-08T03:02:44.149Z] 561ebcabdf7f: Verifying Checksum [2024-11-08T03:02:44.149Z] 561ebcabdf7f: Download complete [2024-11-08T03:02:44.149Z] 4cc291be95ef: Pull complete [2024-11-08T03:02:44.407Z] 2ac1f1163629: Download complete [2024-11-08T03:02:44.667Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T03:02:44.667Z] f49a43e4bbc0: Download complete [2024-11-08T03:02:48.859Z] 2ac1f1163629: Pull complete [2024-11-08T03:02:48.859Z] 5c3c966382ef: Pull complete [2024-11-08T03:02:48.859Z] 4f4fb700ef54: Pull complete [2024-11-08T03:02:48.859Z] 5d5c8e513c77: Pull complete [2024-11-08T03:02:48.859Z] 9f66e0745190: Pull complete [2024-11-08T03:02:51.390Z] f49a43e4bbc0: Pull complete [2024-11-08T03:02:51.651Z] 561ebcabdf7f: Pull complete [2024-11-08T03:02:51.652Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T03:02:51.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T03:02:51.652Z] ---> 3a752c3f9dda [2024-11-08T03:02:51.652Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:02:57.165Z] Still waiting to schedule task [2024-11-08T03:02:57.165Z] ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T03:02:57.165Z] ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T03:02:57.165Z] ‘prd-ubuntu20.04-docker-8c-8g-24952’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T03:02:57.165Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24953’ is offline [2024-11-08T03:02:57.166Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24978’ is offline [2024-11-08T03:02:59.798Z] ---> Running in 637e8b6c0052 [2024-11-08T03:02:59.798Z] Removing intermediate container 637e8b6c0052 [2024-11-08T03:02:59.798Z] ---> f6eb96c5a3e5 [2024-11-08T03:02:59.798Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:02:59.798Z] ---> Running in 9aa5050812ec [2024-11-08T03:02:59.798Z] Removing intermediate container 9aa5050812ec [2024-11-08T03:02:59.798Z] ---> 49f1f7ef27e4 [2024-11-08T03:02:59.798Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:02:59.798Z] ---> Running in 41b5f6b6e03b [2024-11-08T03:02:59.798Z] Removing intermediate container 41b5f6b6e03b [2024-11-08T03:02:59.798Z] ---> 4f2352c9c629 [2024-11-08T03:02:59.798Z] Step 6/12 : WORKDIR /device-uart [2024-11-08T03:02:59.798Z] ---> Running in 893bad153355 [2024-11-08T03:02:59.798Z] Removing intermediate container 893bad153355 [2024-11-08T03:02:59.798Z] ---> 59fd72d2c208 [2024-11-08T03:02:59.798Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:02:59.798Z] ---> Running in 86b0b5e3c163 [2024-11-08T03:02:59.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:02:59.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:02:59.798Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T03:02:59.798Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T03:02:59.798Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T03:02:59.798Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T03:02:59.798Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:02:59.798Z] OK: 250 MiB in 58 packages [2024-11-08T03:03:00.367Z] Removing intermediate container 86b0b5e3c163 [2024-11-08T03:03:00.367Z] ---> 893f4dba3514 [2024-11-08T03:03:00.367Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-08T03:03:00.367Z] ---> 28891b67d9fb [2024-11-08T03:03:00.367Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:03:00.367Z] ---> Running in e0af4c991705 [2024-11-08T03:04:22.000Z] Removing intermediate container e0af4c991705 [2024-11-08T03:04:22.000Z] ---> 90ef202c5c38 [2024-11-08T03:04:22.000Z] Step 10/12 : COPY . . [2024-11-08T03:04:22.000Z] ---> cb9637996f26 [2024-11-08T03:04:22.000Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:04:22.265Z] ---> Running in 5ff77783f63d [2024-11-08T03:04:22.525Z] Removing intermediate container 5ff77783f63d [2024-11-08T03:04:22.525Z] ---> 43e89f0de9c3 [2024-11-08T03:04:22.525Z] Step 12/12 : RUN ${MAKE} [2024-11-08T03:04:22.525Z] ---> Running in 88ebcbd334ce [2024-11-08T03:04:22.787Z] noop [2024-11-08T03:04:23.047Z] Removing intermediate container 88ebcbd334ce [2024-11-08T03:04:23.047Z] ---> 02aa97cabfc6 [2024-11-08T03:04:23.047Z] Successfully built 02aa97cabfc6 [2024-11-08T03:04:23.307Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:04:23.641Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T03:04:23.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:04:23.734Z] prd-ubuntu20.04-docker-8c-8g-24975 does not seem to be running inside a container [2024-11-08T03:04:23.770Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T03:04:24.220Z] $ docker top 6197274d13499d4ce2143754f812de0cef0d5d515c2696ca0c02b34c8141a21c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:04:24.576Z] + go version [2024-11-08T03:04:24.836Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T03:04:24.847Z] $ docker stop --time=1 6197274d13499d4ce2143754f812de0cef0d5d515c2696ca0c02b34c8141a21c [2024-11-08T03:04:26.113Z] $ docker rm -f --volumes 6197274d13499d4ce2143754f812de0cef0d5d515c2696ca0c02b34c8141a21c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:04:26.550Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T03:04:26.550Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:04:26.636Z] prd-ubuntu20.04-docker-8c-8g-24975 does not seem to be running inside a container [2024-11-08T03:04:26.669Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T03:04:27.081Z] $ docker top 5e7be5a97073c561e848bfa13940706713b2abd30042febb744430762b97b63e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:04:27.437Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-85 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:04:27.733Z] + make test [2024-11-08T03:04:27.733Z] go test ./... -coverprofile=coverage.out [2024-11-08T03:04:29.635Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-11-08T03:04:51.553Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-11-08T03:04:51.553Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-11-08T03:05:01.587Z] go vet ./... [2024-11-08T03:05:06.915Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:05:06.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:05:06.915Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:05:06.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:05:06.952Z] $ docker stop --time=1 5e7be5a97073c561e848bfa13940706713b2abd30042febb744430762b97b63e [2024-11-08T03:05:14.052Z] $ docker rm -f --volumes 5e7be5a97073c561e848bfa13940706713b2abd30042febb744430762b97b63e [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:05:14.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:05:14.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T03:05:15.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:05:15.419Z] + ls -al . [2024-11-08T03:05:15.419Z] total 224 [2024-11-08T03:05:15.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:04 . [2024-11-08T03:05:15.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:02 .. [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:02 .dockerignore [2024-11-08T03:05:15.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:04 .git [2024-11-08T03:05:15.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:02 .github [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 8 03:02 .gitignore [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 198 Nov 8 03:02 .golangci.yml [2024-11-08T03:05:15.419Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:02 .semver [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 18662 Nov 8 03:02 Attribution.txt [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 8 03:02 CHANGELOG.md [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 1919 Nov 8 03:02 Dockerfile [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:02 GOVERNANCE.md [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 8 03:02 Jenkinsfile [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 03:02 LICENSE [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 2455 Nov 8 03:02 Makefile [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 03:02 OWNERS.md [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 8 03:02 README.md [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 03:02 VERSION [2024-11-08T03:05:15.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:02 bin [2024-11-08T03:05:15.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:02 cmd [2024-11-08T03:05:15.419Z] -rw-r--r-- 1 jenkins jenkins 6770 Nov 8 03:04 coverage.out [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 6269 Nov 8 03:02 go.mod [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 88303 Nov 8 03:02 go.sum [2024-11-08T03:05:15.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:02 internal [2024-11-08T03:05:15.419Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 03:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:05:15.742Z] + 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=d3f616bb6c298463b0160a7450de9f955e758ebd --label arch=amd64 --label version=0.0.0 . [2024-11-08T03:05:15.742Z] Sending build context to Docker daemon 25.68MB [2024-11-08T03:05:15.742Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:05:15.742Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T03:05:15.742Z] ---> 02aa97cabfc6 [2024-11-08T03:05:15.742Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:05:16.309Z] ---> Running in a263e1a41832 [2024-11-08T03:05:16.571Z] Removing intermediate container a263e1a41832 [2024-11-08T03:05:16.571Z] ---> dd8661af9a62 [2024-11-08T03:05:16.571Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:05:16.571Z] ---> Running in f93dcedec0f6 [2024-11-08T03:05:16.571Z] Removing intermediate container f93dcedec0f6 [2024-11-08T03:05:16.571Z] ---> 060d8612e354 [2024-11-08T03:05:16.571Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:05:16.571Z] ---> Running in f13c09c5b439 [2024-11-08T03:05:16.571Z] Removing intermediate container f13c09c5b439 [2024-11-08T03:05:16.571Z] ---> 9ade495bc760 [2024-11-08T03:05:16.571Z] Step 6/26 : WORKDIR /device-uart [2024-11-08T03:05:16.571Z] ---> Running in d922a2f3521b [2024-11-08T03:05:16.829Z] Removing intermediate container d922a2f3521b [2024-11-08T03:05:16.829Z] ---> fc2e00f96bd7 [2024-11-08T03:05:16.829Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:05:16.829Z] ---> Running in 094a9f9b4221 [2024-11-08T03:05:17.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:05:17.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:05:17.606Z] OK: 250 MiB in 58 packages [2024-11-08T03:05:20.140Z] Removing intermediate container 094a9f9b4221 [2024-11-08T03:05:20.140Z] ---> d21fd22a477a [2024-11-08T03:05:20.140Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-08T03:05:21.096Z] ---> 42dfbf9917c2 [2024-11-08T03:05:21.096Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:05:21.664Z] ---> Running in eefc84fd9458 [2024-11-08T03:05:24.952Z] Removing intermediate container eefc84fd9458 [2024-11-08T03:05:24.952Z] ---> 5439fdc7c9a8 [2024-11-08T03:05:24.952Z] Step 10/26 : COPY . . [2024-11-08T03:05:25.574Z] ---> 1980dc7ba62e [2024-11-08T03:05:25.574Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:05:25.834Z] ---> Running in 42533c5de1c9 [2024-11-08T03:05:25.834Z] Removing intermediate container 42533c5de1c9 [2024-11-08T03:05:25.834Z] ---> 45235c50c61e [2024-11-08T03:05:25.834Z] Step 12/26 : RUN ${MAKE} [2024-11-08T03:05:25.834Z] ---> Running in f7e1854eb985 [2024-11-08T03:05:26.093Z] 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 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd [2024-11-08T03:06:12.773Z] Removing intermediate container f7e1854eb985 [2024-11-08T03:06:12.773Z] ---> ddd189a1bd58 [2024-11-08T03:06:12.773Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T03:06:12.773Z] 3.20: Pulling from library/alpine [2024-11-08T03:06:12.773Z] 43c4264eed91: Already exists [2024-11-08T03:06:12.773Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:06:12.773Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:06:12.773Z] ---> 91ef0af61f39 [2024-11-08T03:06:12.773Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-11-08T03:06:13.032Z] ---> Running in 36fbe83080d6 [2024-11-08T03:06:13.292Z] Removing intermediate container 36fbe83080d6 [2024-11-08T03:06:13.292Z] ---> 46d594e18ebf [2024-11-08T03:06:13.292Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:06:13.893Z] ---> Running in 85428aa54761 [2024-11-08T03:06:14.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:06:14.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:06:14.999Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:06:14.999Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:06:14.999Z] OK: 8 MiB in 15 packages [2024-11-08T03:06:16.919Z] Removing intermediate container 85428aa54761 [2024-11-08T03:06:16.919Z] ---> 7eb401863ed5 [2024-11-08T03:06:16.919Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-08T03:06:16.919Z] ---> Running in f1ae72a9b964 [2024-11-08T03:06:17.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:06:17.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:06:17.695Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:06:17.695Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:06:17.695Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:06:17.695Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:06:17.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:06:17.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:06:17.953Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:06:18.212Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:06:18.212Z] OK: 8 MiB in 15 packages [2024-11-08T03:06:18.793Z] Removing intermediate container f1ae72a9b964 [2024-11-08T03:06:18.793Z] ---> f78d1ff53061 [2024-11-08T03:06:18.793Z] Step 17/26 : WORKDIR / [2024-11-08T03:06:18.793Z] ---> Running in c7822f273565 [2024-11-08T03:06:18.793Z] Removing intermediate container c7822f273565 [2024-11-08T03:06:18.793Z] ---> 281fc5c52efd [2024-11-08T03:06:18.793Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-11-08T03:06:18.793Z] ---> d38d18c4a857 [2024-11-08T03:06:18.793Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-11-08T03:06:19.052Z] ---> 9a91eb4414f6 [2024-11-08T03:06:19.052Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-11-08T03:06:22.335Z] ---> 8466776d569f [2024-11-08T03:06:22.335Z] Step 21/26 : EXPOSE 59995 [2024-11-08T03:06:22.335Z] ---> Running in b58e7fee540a [2024-11-08T03:06:22.335Z] Removing intermediate container b58e7fee540a [2024-11-08T03:06:22.335Z] ---> 7227d6f58702 [2024-11-08T03:06:22.335Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-11-08T03:06:22.335Z] ---> Running in 9a7d57f84e7e [2024-11-08T03:06:22.335Z] Removing intermediate container 9a7d57f84e7e [2024-11-08T03:06:22.335Z] ---> d1e15f1146de [2024-11-08T03:06:22.335Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:06:22.335Z] ---> Running in 45c78560c555 [2024-11-08T03:06:22.335Z] Removing intermediate container 45c78560c555 [2024-11-08T03:06:22.335Z] ---> 000f15fa00bf [2024-11-08T03:06:22.335Z] Step 24/26 : LABEL arch=amd64 [2024-11-08T03:06:22.335Z] ---> Running in 77af971100bb [2024-11-08T03:06:22.335Z] Removing intermediate container 77af971100bb [2024-11-08T03:06:22.335Z] ---> ed0894f83c77 [2024-11-08T03:06:22.335Z] Step 25/26 : LABEL git_sha=d3f616bb6c298463b0160a7450de9f955e758ebd [2024-11-08T03:06:22.335Z] ---> Running in 3da3912c1a7e [2024-11-08T03:06:22.335Z] Removing intermediate container 3da3912c1a7e [2024-11-08T03:06:22.335Z] ---> f70889633507 [2024-11-08T03:06:22.335Z] Step 26/26 : LABEL version=0.0.0 [2024-11-08T03:06:22.335Z] ---> Running in d5817e63414f [2024-11-08T03:06:22.335Z] Removing intermediate container d5817e63414f [2024-11-08T03:06:22.335Z] ---> b74f9fc5c634 [2024-11-08T03:06:22.335Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:06:22.335Z] Successfully built b74f9fc5c634 [2024-11-08T03:06:22.335Z] 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-08T03:06:22.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:06:22.838Z] [2024-11-08T03:06:22.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:06:23.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:06:23.149Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T03:06:23.149Z] 5eb5b503b376: Pulling fs layer [2024-11-08T03:06:23.149Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T03:06:23.149Z] ec43610c2a17: Pulling fs layer [2024-11-08T03:06:23.149Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T03:06:23.149Z] 33b1e0a273af: Pulling fs layer [2024-11-08T03:06:23.149Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T03:06:23.149Z] 2f39f015ded8: Pulling fs layer [2024-11-08T03:06:23.149Z] 5d3b04190fa2: Waiting [2024-11-08T03:06:23.149Z] 2f39f015ded8: Waiting [2024-11-08T03:06:23.149Z] 3a2ae6a8a46f: Waiting [2024-11-08T03:06:23.149Z] 33b1e0a273af: Waiting [2024-11-08T03:06:23.149Z] 5c69ac0246d0: Download complete [2024-11-08T03:06:23.149Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T03:06:23.149Z] 3a2ae6a8a46f: Download complete [2024-11-08T03:06:23.149Z] 33b1e0a273af: Verifying Checksum [2024-11-08T03:06:23.149Z] 33b1e0a273af: Download complete [2024-11-08T03:06:23.149Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T03:06:23.149Z] 5d3b04190fa2: Download complete [2024-11-08T03:06:23.149Z] ec43610c2a17: Download complete [2024-11-08T03:06:23.409Z] 5eb5b503b376: Verifying Checksum [2024-11-08T03:06:23.409Z] 5eb5b503b376: Download complete [2024-11-08T03:06:23.974Z] 2f39f015ded8: Download complete [2024-11-08T03:06:24.540Z] 5eb5b503b376: Pull complete [2024-11-08T03:06:24.798Z] 5c69ac0246d0: Pull complete [2024-11-08T03:06:25.375Z] ec43610c2a17: Pull complete [2024-11-08T03:06:25.375Z] 3a2ae6a8a46f: Pull complete [2024-11-08T03:06:25.634Z] 33b1e0a273af: Pull complete [2024-11-08T03:06:25.634Z] 5d3b04190fa2: Pull complete [2024-11-08T03:06:29.816Z] 2f39f015ded8: Pull complete [2024-11-08T03:06:29.816Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T03:06:29.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:06:29.816Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:06:29.924Z] prd-ubuntu20.04-docker-8c-8g-24975 does not seem to be running inside a container [2024-11-08T03:06:29.952Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:06:38.196Z] $ docker top 678e402b33947884d42513b4a303902ed2c32b07819ec854e6ac05b199958100 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:06:38.593Z] ---> job-cost.sh [2024-11-08T03:06:38.593Z] lf-activate-venv: SKIPPING [2024-11-08T03:06:38.593Z] INFO: No Stack... [2024-11-08T03:06:38.852Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:06:39.111Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:06:39.407Z] + cat /w/workspace/edgexfoundry_device-uart_PR-85/archives/cost.csv [2024-11-08T03:06:39.407Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:06:39.422Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-85-2-stack-cost] [2024-11-08T03:06:39.430Z] Resource [jenkins-edgexfoundry-device-uart-PR-85-2-stack-cost] did not exist. Created. [2024-11-08T03:06:39.436Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-85-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:06:39.749Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T03:06:39.785Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:06:39.793Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-85-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:06:39.819Z] $ docker stop --time=1 678e402b33947884d42513b4a303902ed2c32b07819ec854e6ac05b199958100 [2024-11-08T03:06:41.433Z] $ docker rm -f --volumes 678e402b33947884d42513b4a303902ed2c32b07819ec854e6ac05b199958100 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T03:23:52.804Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25678 in /w/workspace/edgexfoundry_device-uart_PR-85 [Pipeline] { [Pipeline] ws [2024-11-08T03:23:52.823Z] Running in /w/workspace/device-uart/2 [Pipeline] { [Pipeline] checkout [2024-11-08T03:23:55.889Z] The recommended git tool is: git [2024-11-08T03:24:01.923Z] using credential edgex-jenkins-ssh [2024-11-08T03:24:01.950Z] Cloning the remote Git repository [2024-11-08T03:24:02.010Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-11-08T03:24:02.137Z] > git init /w/workspace/device-uart/2 # timeout=10 [2024-11-08T03:24:02.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-11-08T03:24:02.331Z] > git --version # timeout=10 [2024-11-08T03:24:02.357Z] > git --version # 'git version 2.25.1' [2024-11-08T03:24:02.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:24:02.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:24:04.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-11-08T03:24:04.952Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:24:06.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-11-08T03:24:06.786Z] Merging remotes/origin/main commit 2cd3421d87aeff7694e6397f4de46170b3861cfd into PR head commit d3f616bb6c298463b0160a7450de9f955e758ebd [2024-11-08T03:24:07.163Z] Merge succeeded, producing d3f616bb6c298463b0160a7450de9f955e758ebd [2024-11-08T03:24:07.163Z] Checking out Revision d3f616bb6c298463b0160a7450de9f955e758ebd (PR-85) [2024-11-08T03:24:06.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-11-08T03:24:06.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:24:06.221Z] > 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-08T03:24:06.807Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:24:06.905Z] > git checkout -f d3f616bb6c298463b0160a7450de9f955e758ebd # timeout=10 [2024-11-08T03:24:07.022Z] > git remote # timeout=10 [2024-11-08T03:24:07.045Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T03:24:07.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:24:07.102Z] > git merge 2cd3421d87aeff7694e6397f4de46170b3861cfd # timeout=10 [2024-11-08T03:24:07.139Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T03:24:07.174Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:24:07.202Z] > git checkout -f d3f616bb6c298463b0160a7450de9f955e758ebd # timeout=10 [2024-11-08T03:24:11.023Z] Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:24:12.890Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T03:24:12.890Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:24:12.890Z] Dload Upload Total Spent Left Speed [2024-11-08T03:24:12.890Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh [2024-11-08T03:24:13.238Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T03:24:13.580Z] + sudo tee /etc/docker/daemon.new [2024-11-08T03:24:13.580Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T03:24:13.580Z] { [2024-11-08T03:24:13.580Z] "registry-mirrors": [ [2024-11-08T03:24:13.580Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T03:24:13.580Z] ], [2024-11-08T03:24:13.580Z] "bip": "10.250.0.254/24", [2024-11-08T03:24:13.580Z] "hosts": [ [2024-11-08T03:24:13.580Z] "tcp://0.0.0.0:5555", [2024-11-08T03:24:13.580Z] "unix:///var/run/docker.sock" [2024-11-08T03:24:13.580Z] ], [2024-11-08T03:24:13.580Z] "mtu": 1458, [2024-11-08T03:24:13.580Z] "selinux-enabled": true, [2024-11-08T03:24:13.580Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T03:24:13.580Z] } [Pipeline] sh [2024-11-08T03:24:13.926Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T03:24:14.281Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:24:32.708Z] provisioning config files... [2024-11-08T03:24:32.736Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/2@tmp/config5465495252244589193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:24:33.184Z] ---> ****-login.sh [2024-11-08T03:24:33.184Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:24:33.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:33.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:33.771Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:33.771Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:33.771Z] [2024-11-08T03:24:33.771Z] Login Succeeded [2024-11-08T03:24:33.771Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:24:34.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:34.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:34.312Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:34.312Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:34.312Z] [2024-11-08T03:24:34.312Z] Login Succeeded [2024-11-08T03:24:34.312Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:24:34.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:34.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:34.583Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:34.583Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:34.583Z] [2024-11-08T03:24:34.583Z] Login Succeeded [2024-11-08T03:24:34.583Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:24:34.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:35.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:35.125Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:35.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:35.125Z] [2024-11-08T03:24:35.125Z] Login Succeeded [2024-11-08T03:24:35.125Z] ****.io [2024-11-08T03:24:35.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:35.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:35.665Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:35.666Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:35.666Z] [2024-11-08T03:24:35.666Z] Login Succeeded [2024-11-08T03:24:35.666Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:24:35.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:24:36.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:24:36.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:24:36.099Z] ========================================================= [2024-11-08T03:24:36.099Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T03:24:36.099Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:24:36.481Z] + 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-08T03:24:37.078Z] Sending build context to Docker daemon 12.91MB [2024-11-08T03:24:37.078Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:24:37.078Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T03:24:37.351Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T03:24:37.351Z] cf04c63912e1: Pulling fs layer [2024-11-08T03:24:37.351Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T03:24:37.351Z] a37a00ec5f00: Pulling fs layer [2024-11-08T03:24:37.351Z] 50b3750afda1: Pulling fs layer [2024-11-08T03:24:37.351Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:24:37.351Z] 80978eb59214: Pulling fs layer [2024-11-08T03:24:37.351Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T03:24:37.351Z] c5a475d317c9: Pulling fs layer [2024-11-08T03:24:37.351Z] 80978eb59214: Waiting [2024-11-08T03:24:37.351Z] c9f46d7d2bd2: Waiting [2024-11-08T03:24:37.351Z] c5a475d317c9: Waiting [2024-11-08T03:24:37.351Z] 50b3750afda1: Waiting [2024-11-08T03:24:37.351Z] 4f4fb700ef54: Waiting [2024-11-08T03:24:37.351Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T03:24:37.351Z] 55b35a11ae5e: Download complete [2024-11-08T03:24:37.351Z] 50b3750afda1: Verifying Checksum [2024-11-08T03:24:37.351Z] 50b3750afda1: Download complete [2024-11-08T03:24:37.351Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T03:24:37.351Z] 4f4fb700ef54: Download complete [2024-11-08T03:24:37.351Z] 80978eb59214: Verifying Checksum [2024-11-08T03:24:37.351Z] 80978eb59214: Download complete [2024-11-08T03:24:37.351Z] cf04c63912e1: Verifying Checksum [2024-11-08T03:24:37.351Z] cf04c63912e1: Download complete [2024-11-08T03:24:37.939Z] c5a475d317c9: Verifying Checksum [2024-11-08T03:24:37.939Z] c5a475d317c9: Download complete [2024-11-08T03:24:38.525Z] cf04c63912e1: Pull complete [2024-11-08T03:24:39.110Z] 55b35a11ae5e: Pull complete [2024-11-08T03:24:39.379Z] a37a00ec5f00: Verifying Checksum [2024-11-08T03:24:39.379Z] a37a00ec5f00: Download complete [2024-11-08T03:24:40.344Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T03:24:40.344Z] c9f46d7d2bd2: Download complete [2024-11-08T03:24:55.373Z] a37a00ec5f00: Pull complete [2024-11-08T03:24:55.374Z] 50b3750afda1: Pull complete [2024-11-08T03:24:55.374Z] 4f4fb700ef54: Pull complete [2024-11-08T03:24:55.374Z] 80978eb59214: Pull complete [2024-11-08T03:25:03.657Z] c9f46d7d2bd2: Pull complete [2024-11-08T03:25:05.080Z] c5a475d317c9: Pull complete [2024-11-08T03:25:05.080Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T03:25:05.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T03:25:05.080Z] ---> be29e6b0f0d4 [2024-11-08T03:25:05.080Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:25:07.708Z] ---> Running in b467819646a2 [2024-11-08T03:25:07.708Z] Removing intermediate container b467819646a2 [2024-11-08T03:25:07.708Z] ---> 405e6593c427 [2024-11-08T03:25:07.708Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:25:07.980Z] ---> Running in 9b352aedc194 [2024-11-08T03:25:08.250Z] Removing intermediate container 9b352aedc194 [2024-11-08T03:25:08.250Z] ---> 5201c6c7fa8e [2024-11-08T03:25:08.250Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:25:08.520Z] ---> Running in 42c34c98d7bb [2024-11-08T03:25:08.791Z] Removing intermediate container 42c34c98d7bb [2024-11-08T03:25:08.791Z] ---> 515e3accce53 [2024-11-08T03:25:08.791Z] Step 6/12 : WORKDIR /device-uart [2024-11-08T03:25:09.064Z] ---> Running in 308854f06496 [2024-11-08T03:25:09.338Z] Removing intermediate container 308854f06496 [2024-11-08T03:25:09.338Z] ---> 1440f1920240 [2024-11-08T03:25:09.338Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:25:09.338Z] ---> Running in fa83ffe11a85 [2024-11-08T03:25:10.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:25:11.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:25:13.015Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T03:25:13.015Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T03:25:13.015Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T03:25:13.291Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T03:25:13.291Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:25:13.291Z] OK: 242 MiB in 58 packages [2024-11-08T03:25:14.739Z] Removing intermediate container fa83ffe11a85 [2024-11-08T03:25:14.739Z] ---> 52006d233c7a [2024-11-08T03:25:14.739Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-08T03:25:15.338Z] ---> 94b74fdf4c82 [2024-11-08T03:25:15.338Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:25:15.612Z] ---> Running in acc5cb10beb3 [2024-11-08T03:27:22.901Z] Removing intermediate container acc5cb10beb3 [2024-11-08T03:27:22.901Z] ---> 7f16b382753e [2024-11-08T03:27:22.901Z] Step 10/12 : COPY . . [2024-11-08T03:27:22.901Z] ---> fc334093dd8c [2024-11-08T03:27:22.901Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:27:22.901Z] ---> Running in b7f02731b4ba [2024-11-08T03:27:22.901Z] Removing intermediate container b7f02731b4ba [2024-11-08T03:27:22.901Z] ---> 59ffe1abbe40 [2024-11-08T03:27:22.901Z] Step 12/12 : RUN ${MAKE} [2024-11-08T03:27:22.901Z] ---> Running in 33c62f9cc349 [2024-11-08T03:27:22.901Z] noop [2024-11-08T03:27:22.901Z] Removing intermediate container 33c62f9cc349 [2024-11-08T03:27:22.901Z] ---> 5eb40c63d806 [2024-11-08T03:27:22.901Z] Successfully built 5eb40c63d806 [2024-11-08T03:27:22.901Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:27:23.285Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:27:23.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:27:23.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-25678 does not seem to be running inside a container [2024-11-08T03:27:23.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:27:24.907Z] $ docker top 3dad35ec2e1d56cc047d32e8d87b946c7dd85d99c5f360d8ea028828cfd36550 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:27:25.785Z] + go version [2024-11-08T03:27:25.785Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T03:27:25.809Z] $ docker stop --time=1 3dad35ec2e1d56cc047d32e8d87b946c7dd85d99c5f360d8ea028828cfd36550 [2024-11-08T03:27:27.562Z] $ docker rm -f --volumes 3dad35ec2e1d56cc047d32e8d87b946c7dd85d99c5f360d8ea028828cfd36550 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:27:28.189Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:27:28.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:27:28.409Z] prd-ubuntu20.04-docker-arm64-4c-16g-25678 does not seem to be running inside a container [2024-11-08T03:27:28.476Z] $ 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/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:27:29.833Z] $ docker top 2618b604024ddae4831304e8cdf1885d05f22a9f6688f9b93a253dc2d1f92674 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:27:30.728Z] + git config --global --add safe.directory /w/workspace/device-uart/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:27:31.391Z] + make test [2024-11-08T03:27:31.391Z] go test ./... -coverprofile=coverage.out [2024-11-08T03:27:38.046Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-11-08T03:31:45.135Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-11-08T03:31:45.135Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-11-08T03:31:45.135Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T03:31:45.135Z] go vet ./... [2024-11-08T03:32:41.634Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:32:41.634Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:32:41.634Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:32:41.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:32:41.686Z] $ docker stop --time=1 2618b604024ddae4831304e8cdf1885d05f22a9f6688f9b93a253dc2d1f92674 [2024-11-08T03:32:44.022Z] $ docker rm -f --volumes 2618b604024ddae4831304e8cdf1885d05f22a9f6688f9b93a253dc2d1f92674 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:32:45.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:32:45.883Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T03:32:46.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:32:46.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:32:47.308Z] + ls -al . [2024-11-08T03:32:47.308Z] total 220 [2024-11-08T03:32:47.308Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 03:27 . [2024-11-08T03:32:47.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:24 .. [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:24 .dockerignore [2024-11-08T03:32:47.308Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:24 .git [2024-11-08T03:32:47.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:24 .github [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 8 03:24 .gitignore [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 198 Nov 8 03:24 .golangci.yml [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 18662 Nov 8 03:24 Attribution.txt [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 8 03:24 CHANGELOG.md [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 1919 Nov 8 03:24 Dockerfile [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:24 GOVERNANCE.md [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 8 03:24 Jenkinsfile [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 03:24 LICENSE [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 2455 Nov 8 03:24 Makefile [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 03:24 OWNERS.md [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 8 03:24 README.md [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 03:02 VERSION [2024-11-08T03:32:47.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:24 bin [2024-11-08T03:32:47.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:24 cmd [2024-11-08T03:32:47.308Z] -rw-r--r-- 1 jenkins jenkins 6770 Nov 8 03:31 coverage.out [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 6269 Nov 8 03:24 go.mod [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 88303 Nov 8 03:24 go.sum [2024-11-08T03:32:47.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:24 internal [2024-11-08T03:32:47.308Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 03:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:32:47.680Z] + 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=d3f616bb6c298463b0160a7450de9f955e758ebd --label arch=arm64 --label version=0.0.0 . [2024-11-08T03:32:48.279Z] Sending build context to Docker daemon 12.92MB [2024-11-08T03:32:48.279Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:32:48.279Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T03:32:48.279Z] ---> 5eb40c63d806 [2024-11-08T03:32:48.279Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:32:48.549Z] ---> Running in f8b14ba38259 [2024-11-08T03:32:48.823Z] Removing intermediate container f8b14ba38259 [2024-11-08T03:32:48.823Z] ---> 34686d825206 [2024-11-08T03:32:48.823Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:32:48.823Z] ---> Running in 10cc5db02cdc [2024-11-08T03:32:49.419Z] Removing intermediate container 10cc5db02cdc [2024-11-08T03:32:49.419Z] ---> dc89a06d9371 [2024-11-08T03:32:49.419Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:32:49.419Z] ---> Running in b6ee9ff952ad [2024-11-08T03:32:49.687Z] Removing intermediate container b6ee9ff952ad [2024-11-08T03:32:49.687Z] ---> 3dd97665877a [2024-11-08T03:32:49.687Z] Step 6/26 : WORKDIR /device-uart [2024-11-08T03:32:49.957Z] ---> Running in ce742a3e9f5b [2024-11-08T03:32:50.238Z] Removing intermediate container ce742a3e9f5b [2024-11-08T03:32:50.238Z] ---> ced1536bcae8 [2024-11-08T03:32:50.238Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:32:50.238Z] ---> Running in 2261f5928e5a [2024-11-08T03:32:51.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:32:52.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:32:54.034Z] OK: 242 MiB in 58 packages [2024-11-08T03:32:55.465Z] Removing intermediate container 2261f5928e5a [2024-11-08T03:32:55.465Z] ---> 8efaf32aee32 [2024-11-08T03:32:55.465Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-08T03:32:55.735Z] ---> 20c741eeb45b [2024-11-08T03:32:55.735Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:32:56.004Z] ---> Running in 9d9a9cf1b858 [2024-11-08T03:32:58.615Z] Removing intermediate container 9d9a9cf1b858 [2024-11-08T03:32:58.615Z] ---> cbca418ed762 [2024-11-08T03:32:58.615Z] Step 10/26 : COPY . . [2024-11-08T03:33:00.043Z] ---> ed34c57898ec [2024-11-08T03:33:00.043Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:33:00.320Z] ---> Running in cd50204792ff [2024-11-08T03:33:00.609Z] Removing intermediate container cd50204792ff [2024-11-08T03:33:00.609Z] ---> 0dc35aa1cb81 [2024-11-08T03:33:00.609Z] Step 12/26 : RUN ${MAKE} [2024-11-08T03:33:00.609Z] ---> Running in eca069221643 [2024-11-08T03:33:02.033Z] 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 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-uart ./cmd [2024-11-08T03:37:39.031Z] Removing intermediate container eca069221643 [2024-11-08T03:37:39.031Z] ---> b434e4bda8ba [2024-11-08T03:37:39.031Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T03:37:39.031Z] 3.20: Pulling from library/alpine [2024-11-08T03:37:39.031Z] cf04c63912e1: Already exists [2024-11-08T03:37:39.031Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:37:39.031Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:37:39.031Z] ---> c157a85ed455 [2024-11-08T03:37:39.031Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-11-08T03:37:39.031Z] ---> Running in 216f59ef01ef [2024-11-08T03:37:39.031Z] Removing intermediate container 216f59ef01ef [2024-11-08T03:37:39.031Z] ---> 3094f24dd2d8 [2024-11-08T03:37:39.031Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:37:39.031Z] ---> Running in c5440e62cdec [2024-11-08T03:37:39.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:37:39.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:37:41.900Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:37:41.900Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:37:41.900Z] OK: 9 MiB in 15 packages [2024-11-08T03:37:42.902Z] Removing intermediate container c5440e62cdec [2024-11-08T03:37:42.902Z] ---> df2a8bfafa1f [2024-11-08T03:37:42.902Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-08T03:37:43.176Z] ---> Running in e79421b90f06 [2024-11-08T03:37:44.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:37:44.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:37:47.242Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:37:47.242Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:37:47.242Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:37:47.242Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:37:47.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:37:47.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:37:49.813Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:37:49.813Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:37:50.086Z] OK: 9 MiB in 15 packages [2024-11-08T03:37:51.526Z] Removing intermediate container e79421b90f06 [2024-11-08T03:37:51.526Z] ---> e19b35682ae0 [2024-11-08T03:37:51.526Z] Step 17/26 : WORKDIR / [2024-11-08T03:37:51.802Z] ---> Running in eb977b4e4e28 [2024-11-08T03:37:52.078Z] Removing intermediate container eb977b4e4e28 [2024-11-08T03:37:52.078Z] ---> 871fcbb2e43a [2024-11-08T03:37:52.078Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-11-08T03:37:53.058Z] ---> 61160cfa9656 [2024-11-08T03:37:53.058Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-11-08T03:37:53.662Z] ---> f0e4573e214b [2024-11-08T03:37:53.662Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-11-08T03:37:57.071Z] ---> b5d3dec5fae8 [2024-11-08T03:37:57.071Z] Step 21/26 : EXPOSE 59995 [2024-11-08T03:37:57.071Z] ---> Running in 7a54164a4834 [2024-11-08T03:37:57.071Z] Removing intermediate container 7a54164a4834 [2024-11-08T03:37:57.071Z] ---> 9f89f9a774b8 [2024-11-08T03:37:57.071Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-11-08T03:37:57.344Z] ---> Running in b1607000c510 [2024-11-08T03:37:57.618Z] Removing intermediate container b1607000c510 [2024-11-08T03:37:57.618Z] ---> 4de8ad49cd72 [2024-11-08T03:37:57.618Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:37:57.618Z] ---> Running in 6a0c189abc65 [2024-11-08T03:37:58.212Z] Removing intermediate container 6a0c189abc65 [2024-11-08T03:37:58.212Z] ---> 4b8456e71eac [2024-11-08T03:37:58.212Z] Step 24/26 : LABEL arch=arm64 [2024-11-08T03:37:58.212Z] ---> Running in a31ddbcefbb8 [2024-11-08T03:37:58.487Z] Removing intermediate container a31ddbcefbb8 [2024-11-08T03:37:58.487Z] ---> 609bb183e006 [2024-11-08T03:37:58.487Z] Step 25/26 : LABEL git_sha=d3f616bb6c298463b0160a7450de9f955e758ebd [2024-11-08T03:37:58.765Z] ---> Running in 17b6189f363c [2024-11-08T03:37:59.047Z] Removing intermediate container 17b6189f363c [2024-11-08T03:37:59.047Z] ---> 85367d9fc10d [2024-11-08T03:37:59.047Z] Step 26/26 : LABEL version=0.0.0 [2024-11-08T03:37:59.321Z] ---> Running in 59a9dffe792b [2024-11-08T03:37:59.597Z] Removing intermediate container 59a9dffe792b [2024-11-08T03:37:59.597Z] ---> 4e015b0590d3 [2024-11-08T03:37:59.597Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:37:59.597Z] Successfully built 4e015b0590d3 [2024-11-08T03:37:59.597Z] 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-08T03:38:00.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:38:00.159Z] [2024-11-08T03:38:00.159Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:38:00.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:38:00.809Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T03:38:00.809Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T03:38:00.809Z] 04944245beec: Pulling fs layer [2024-11-08T03:38:00.809Z] 699f458cf7ca: Pulling fs layer [2024-11-08T03:38:00.809Z] 765212b225bb: Pulling fs layer [2024-11-08T03:38:00.809Z] f23df028b6ca: Pulling fs layer [2024-11-08T03:38:00.809Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T03:38:00.809Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T03:38:00.809Z] f23df028b6ca: Waiting [2024-11-08T03:38:00.809Z] d65c8cfc05b1: Waiting [2024-11-08T03:38:00.809Z] 2437ff75d9bd: Waiting [2024-11-08T03:38:00.809Z] 765212b225bb: Waiting [2024-11-08T03:38:00.809Z] 04944245beec: Verifying Checksum [2024-11-08T03:38:00.809Z] 04944245beec: Download complete [2024-11-08T03:38:00.809Z] 765212b225bb: Verifying Checksum [2024-11-08T03:38:00.809Z] 765212b225bb: Download complete [2024-11-08T03:38:01.085Z] f23df028b6ca: Verifying Checksum [2024-11-08T03:38:01.085Z] f23df028b6ca: Download complete [2024-11-08T03:38:01.085Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T03:38:01.085Z] d65c8cfc05b1: Download complete [2024-11-08T03:38:01.085Z] 699f458cf7ca: Verifying Checksum [2024-11-08T03:38:01.085Z] 699f458cf7ca: Download complete [2024-11-08T03:38:01.691Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T03:38:01.691Z] 8998bd30e6a1: Download complete [2024-11-08T03:38:05.086Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T03:38:05.086Z] 2437ff75d9bd: Download complete [2024-11-08T03:38:07.708Z] 8998bd30e6a1: Pull complete [2024-11-08T03:38:07.981Z] 04944245beec: Pull complete [2024-11-08T03:38:09.965Z] 699f458cf7ca: Pull complete [2024-11-08T03:38:10.240Z] 765212b225bb: Pull complete [2024-11-08T03:38:11.215Z] f23df028b6ca: Pull complete [2024-11-08T03:38:11.491Z] d65c8cfc05b1: Pull complete [2024-11-08T03:38:33.627Z] 2437ff75d9bd: Pull complete [2024-11-08T03:38:33.627Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T03:38:33.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:38:33.627Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:38:33.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-25678 does not seem to be running inside a container [2024-11-08T03:38:34.071Z] $ 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/2 -v /w/workspace/device-uart/2:/w/workspace/device-uart/2:rw,z -v /w/workspace/device-uart/2@tmp:/w/workspace/device-uart/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T03:38:37.856Z] $ docker top 652d5ce6c6b6120ccf0c7a4d39971c7adc7445509ed3c654168b18833a97e465 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:38:38.806Z] ---> job-cost.sh [2024-11-08T03:38:38.807Z] lf-activate-venv: SKIPPING [2024-11-08T03:38:38.807Z] INFO: No Stack... [2024-11-08T03:38:39.405Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T03:38:40.387Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:38:41.070Z] + cut -d, -f6 [2024-11-08T03:38:41.071Z] + cat /w/workspace/device-uart/2/archives/cost.csv [Pipeline] lock [2024-11-08T03:38:41.122Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-85-2-stack-cost] [2024-11-08T03:38:41.131Z] Resource [jenkins-edgexfoundry-device-uart-PR-85-2-stack-cost] did not exist. Created. [2024-11-08T03:38:41.137Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-85-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:38:41.890Z] /w/workspace/device-uart/2@tmp/durable-d91a8df1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T03:38:42.716Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T03:38:42.763Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T03:38:42.827Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:38:42.840Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-85-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:38:42.871Z] $ docker stop --time=1 652d5ce6c6b6120ccf0c7a4d39971c7adc7445509ed3c654168b18833a97e465 [2024-11-08T03:38:44.621Z] $ docker rm -f --volumes 652d5ce6c6b6120ccf0c7a4d39971c7adc7445509ed3c654168b18833a97e465 [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-08T03:38:45.225Z] provisioning config files... [2024-11-08T03:38:45.233Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-85@tmp/config17758559608744262579tmp [Pipeline] { [Pipeline] sh [2024-11-08T03:38:45.544Z] + set +x [2024-11-08T03:38:45.544Z] + curl -s https://codecov.io/bash [2024-11-08T03:38:45.544Z] + bash -s -- [2024-11-08T03:38:45.544Z] [2024-11-08T03:38:45.544Z] _____ _ [2024-11-08T03:38:45.544Z] / ____| | | [2024-11-08T03:38:45.544Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T03:38:45.544Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T03:38:45.544Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T03:38:45.544Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T03:38:45.544Z] Bash-1.0.6 [2024-11-08T03:38:45.544Z] [2024-11-08T03:38:45.544Z] [2024-11-08T03:38:45.545Z] ==> git version 2.25.1 found [2024-11-08T03:38:45.545Z] ==> 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-08T03:38:45.545Z] Release-Date: 2020-01-08 [2024-11-08T03:38:45.545Z] 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-08T03:38:45.545Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T03:38:45.545Z] ==> Jenkins CI detected. [2024-11-08T03:38:45.807Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-85 [2024-11-08T03:38:45.807Z] project root: . [2024-11-08T03:38:45.807Z] --> token set from env [2024-11-08T03:38:45.807Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T03:38:45.807Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T03:38:45.807Z] ==> Python coveragepy not found [2024-11-08T03:38:45.807Z] ==> Searching for coverage reports in: [2024-11-08T03:38:45.807Z] + . [2024-11-08T03:38:45.807Z] -> Found 1 reports [2024-11-08T03:38:45.807Z] ==> Detecting git/mercurial file structure [2024-11-08T03:38:45.807Z] ==> Reading reports [2024-11-08T03:38:45.807Z] + ./coverage.out bytes=6770 [2024-11-08T03:38:45.807Z] ==> Appending adjustments [2024-11-08T03:38:45.807Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T03:38:45.807Z] + Found adjustments [2024-11-08T03:38:45.807Z] ==> Gzipping contents [2024-11-08T03:38:45.807Z] 4.0K /tmp/codecov.oAWW2B.gz [2024-11-08T03:38:45.807Z] ==> Uploading reports [2024-11-08T03:38:45.807Z] url: https://codecov.io [2024-11-08T03:38:45.807Z] query: branch=PR-85&commit=d3f616bb6c298463b0160a7450de9f955e758ebd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-85%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=85&job=&cmd_args= [2024-11-08T03:38:45.807Z] -> Pinging Codecov [2024-11-08T03:38:45.807Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-85&commit=d3f616bb6c298463b0160a7450de9f955e758ebd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-85%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=85&job=&cmd_args= [2024-11-08T03:38:46.070Z] -> Uploading to [2024-11-08T03:38:46.070Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/d3f616bb6c298463b0160a7450de9f955e758ebd/32a0f32d-70ee-47ad-8a9a-5d4cd42d8010.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T033845Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b2dbf3c960200a9c04c6e398864ded07f59e0c2af8c06f5dc22ee69dc7b67a4d [2024-11-08T03:38:46.070Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:38:46.070Z] Dload Upload Total Spent Left Speed [2024-11-08T03:38:46.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 5907 --:--:-- --:--:-- --:--:-- 5907 [2024-11-08T03:38:46.333Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/d3f616bb6c298463b0160a7450de9f955e758ebd [Pipeline] } [2024-11-08T03:38:46.341Z] 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-08T03:38:47.311Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-85/archives ] [2024-11-08T03:38:47.311Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-85/archives [2024-11-08T03:38:47.311Z] total 16 [2024-11-08T03:38:47.311Z] drwxr-xr-x 3 root root 4096 Nov 8 03:06 . [2024-11-08T03:38:47.311Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 03:06 .. [2024-11-08T03:38:47.311Z] drwxr-xr-x 2 root root 4096 Nov 8 03:06 cost [2024-11-08T03:38:47.311Z] -rw-r--r-- 1 root root 82 Nov 8 03:06 cost.csv [2024-11-08T03:38:47.311Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-85/archives [2024-11-08T03:38:47.311Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-85/archives [2024-11-08T03:38:47.311Z] total 16 [2024-11-08T03:38:47.311Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:06 . [2024-11-08T03:38:47.311Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 03:06 .. [2024-11-08T03:38:47.311Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:06 cost [2024-11-08T03:38:47.311Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 8 03:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:38:47.607Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:38:48.484Z] ---> package-listing.sh [2024-11-08T03:38:48.484Z] ++ facter osfamily [2024-11-08T03:38:48.484Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T03:38:48.743Z] + OS_FAMILY=debian [2024-11-08T03:38:48.743Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-85 [2024-11-08T03:38:48.743Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T03:38:48.743Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T03:38:48.743Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T03:38:48.743Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T03:38:48.743Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-85 ']' [2024-11-08T03:38:48.743Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T03:38:48.743Z] + case "${OS_FAMILY}" in [2024-11-08T03:38:48.743Z] + dpkg -l [2024-11-08T03:38:48.743Z] + grep '^ii' [2024-11-08T03:38:48.743Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T03:38:48.743Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T03:38:48.743Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T03:38:48.743Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-85 ']' [2024-11-08T03:38:48.743Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-85/archives/ [2024-11-08T03:38:48.743Z] + 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-08T03:38:48.761Z] 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-08T03:38:49.037Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:38:49.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:38:49.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:38:49.699Z] prd-ubuntu20.04-docker-8c-8g-24975 does not seem to be running inside a container [2024-11-08T03:38:49.724Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:38:49.921Z] $ docker top 122a3e3947ea00d7bab5b0516e63fbbd54681a327d1d049d0a6f18d93b740352 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:38:50.288Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T03:38:50.588Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T03:38:50.880Z] + ls /var/log/sa-host [2024-11-08T03:38:50.880Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:38:51.090Z] provisioning config files... [2024-11-08T03:38:51.098Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-85@tmp/config12608120870530561566tmp [Pipeline] { [Pipeline] echo [2024-11-08T03:38:51.119Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:38:51.403Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T03:38:51.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:38:51.778Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T03:38:51.791Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:38:52.073Z] ---> sudo-logs.sh [2024-11-08T03:38:52.073Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T03:38:52.103Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:38:52.468Z] ---> job-cost.sh [2024-11-08T03:38:52.468Z] lf-activate-venv: SKIPPING [2024-11-08T03:38:52.468Z] DEBUG: total: 0.2199999988079071 [2024-11-08T03:38:52.468Z] INFO: Retrieving Stack Cost... [2024-11-08T03:38:52.728Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:38:52.988Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T03:38:53.261Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:38:53.547Z] ---> logs-deploy.sh [2024-11-08T03:38:53.547Z] lf-activate-venv: SKIPPING [2024-11-08T03:38:53.547Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-85/2 [2024-11-08T03:38:53.547Z] INFO: archiving workspace using pattern(s): [2024-11-08T03:38:54.487Z] Archives upload complete. [2024-11-08T03:38:54.487Z] INFO: archiving logs to Nexus