Pull request #81 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98+fb93fa34bb594df6e041f35dbb663b8f249074b4 (3c45e46591126f02803d3ff176472f1646f05a30) 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-ssh8060722451212038301.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-ssh8677612193407128938.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15161949784426367738.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4759178894686307794.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6252878376892401612.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1827638492808546026.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23533 in /w/workspace/edgexfoundry_device-uart_PR-81 [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-81 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fb93fa34bb594df6e041f35dbb663b8f249074b4 into PR head commit 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 Merge succeeded, producing 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 Checking out Revision 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 (PR-81) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 # 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 fb93fa34bb594df6e041f35dbb663b8f249074b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-22T18:13:43.647Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-22T18:13:43.857Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-22T18:13:43.988Z] ========================================================= [2024-10-22T18:13:43.989Z] EdgeX Global Pipelines Version Info [2024-10-22T18:13:43.989Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:13:44.773Z] ------------------- [2024-10-22T18:13:44.773Z] stable info: [2024-10-22T18:13:44.773Z] ------------------- [2024-10-22T18:13:44.773Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-22T18:13:44.773Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-22T18:13:44.773Z] Message: update stable to v1.0.265 [2024-10-22T18:13:45.346Z] ------------------- [2024-10-22T18:13:45.346Z] experimental info: [2024-10-22T18:13:45.346Z] ------------------- [2024-10-22T18:13:45.346Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-22T18:13:45.346Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-22T18:13:45.346Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-22T18:13:45.581Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-22T18:13:45.633Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-22T18:13:45.687Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-22T18:13:45.738Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-22T18:13:45.793Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-22T18:13:45.848Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-22T18:13:45.906Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-22T18:13:45.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-22T18:13:46.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-22T18:13:46.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-22T18:13:46.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-22T18:13:46.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-22T18:13:46.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-22T18:13:46.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-22T18:13:46.357Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-22T18:13:46.416Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-22T18:13:46.475Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T18:13:46.534Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T18:13:46.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-22T18:13:46.649Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-22T18:13:46.709Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-22T18:13:46.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-22T18:13:46.818Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-22T18:13:46.875Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-22T18:13:46.931Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-22T18:13:46.988Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-22T18:13:47.047Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-22T18:13:47.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2024-10-22T18:13:47.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2024-10-22T18:13:47.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2024-10-22T18:13:47.284Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [Pipeline] echo [2024-10-22T18:13:47.346Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d1f4e2 [Pipeline] echo [2024-10-22T18:13:47.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:13:47.543Z] provisioning config files... [2024-10-22T18:13:47.556Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-81@tmp/config11253056758938036783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:13:47.959Z] ---> ****-login.sh [2024-10-22T18:13:47.959Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:13:48.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:13:48.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:13:48.487Z] Configure a credential helper to remove this warning. See [2024-10-22T18:13:48.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:13:48.488Z] [2024-10-22T18:13:48.488Z] Login Succeeded [2024-10-22T18:13:48.488Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:13:48.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:13:48.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:13:48.488Z] Configure a credential helper to remove this warning. See [2024-10-22T18:13:48.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:13:48.488Z] [2024-10-22T18:13:48.488Z] Login Succeeded [2024-10-22T18:13:48.488Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:13:48.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:13:48.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:13:48.749Z] Configure a credential helper to remove this warning. See [2024-10-22T18:13:48.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:13:48.749Z] [2024-10-22T18:13:48.749Z] Login Succeeded [2024-10-22T18:13:48.749Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:13:48.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:13:48.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:13:48.749Z] Configure a credential helper to remove this warning. See [2024-10-22T18:13:48.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:13:48.749Z] [2024-10-22T18:13:48.749Z] Login Succeeded [2024-10-22T18:13:48.749Z] ****.io [2024-10-22T18:13:49.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:13:49.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:13:49.009Z] Configure a credential helper to remove this warning. See [2024-10-22T18:13:49.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:13:49.009Z] [2024-10-22T18:13:49.009Z] Login Succeeded [2024-10-22T18:13:49.009Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:13:49.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-22T18:13:49.733Z] + git rev-list -1 --merges 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98~1..6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [Pipeline] echo [2024-10-22T18:13:49.782Z] -----------> git rev-list -1 --merges 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98~1..6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [false] [Pipeline] sh [2024-10-22T18:13:50.105Z] + git log --format=format:%s -1 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [Pipeline] echo [2024-10-22T18:13:50.150Z] ========================================================= [2024-10-22T18:13:50.150Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-22T18:13:50.150Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:13:50.598Z] + git log --format=format:%s -1 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [Pipeline] echo [2024-10-22T18:13:50.637Z] [semverPrep] GIT_COMMIT: 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-22T18:13:50.695Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-22T18:13:51.113Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-22T18:13:51.114Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-22T18:13:51.114Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-22T18:13:51.114Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-22T18:13:51.114Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-22T18:13:51.114Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-22T18:13:51.114Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:13:51.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:13:51.566Z] [2024-10-22T18:13:51.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:13:51.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:13:51.954Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-22T18:13:51.954Z] b85a868b505f: Pulling fs layer [2024-10-22T18:13:51.954Z] e2be974225ed: Pulling fs layer [2024-10-22T18:13:51.954Z] 339a4e72a1f5: Pulling fs layer [2024-10-22T18:13:51.954Z] 988bab9f4d93: Pulling fs layer [2024-10-22T18:13:51.954Z] 1469e6f7b9e6: Pulling fs layer [2024-10-22T18:13:51.954Z] eaf3925da568: Pulling fs layer [2024-10-22T18:13:51.954Z] bab4dde63d76: Pulling fs layer [2024-10-22T18:13:51.954Z] bde34c3a00c8: Pulling fs layer [2024-10-22T18:13:51.954Z] eaf3925da568: Waiting [2024-10-22T18:13:51.954Z] 988bab9f4d93: Waiting [2024-10-22T18:13:51.954Z] 1469e6f7b9e6: Waiting [2024-10-22T18:13:51.954Z] bab4dde63d76: Waiting [2024-10-22T18:13:51.954Z] bde34c3a00c8: Waiting [2024-10-22T18:13:51.954Z] b352a97aabf1: Pulling fs layer [2024-10-22T18:13:51.954Z] 4872d77fe225: Pulling fs layer [2024-10-22T18:13:51.954Z] 5851b861e8e6: Pulling fs layer [2024-10-22T18:13:51.954Z] 4872d77fe225: Waiting [2024-10-22T18:13:51.954Z] b352a97aabf1: Waiting [2024-10-22T18:13:51.954Z] 5851b861e8e6: Waiting [2024-10-22T18:13:51.954Z] e2be974225ed: Download complete [2024-10-22T18:13:52.216Z] 988bab9f4d93: Verifying Checksum [2024-10-22T18:13:52.216Z] 988bab9f4d93: Download complete [2024-10-22T18:13:52.216Z] 339a4e72a1f5: Verifying Checksum [2024-10-22T18:13:52.216Z] 339a4e72a1f5: Download complete [2024-10-22T18:13:52.216Z] 1469e6f7b9e6: Verifying Checksum [2024-10-22T18:13:52.216Z] 1469e6f7b9e6: Download complete [2024-10-22T18:13:52.216Z] eaf3925da568: Verifying Checksum [2024-10-22T18:13:52.216Z] eaf3925da568: Download complete [2024-10-22T18:13:52.216Z] bde34c3a00c8: Download complete [2024-10-22T18:13:52.216Z] b352a97aabf1: Verifying Checksum [2024-10-22T18:13:52.216Z] b352a97aabf1: Download complete [2024-10-22T18:13:52.216Z] 4872d77fe225: Verifying Checksum [2024-10-22T18:13:52.216Z] 4872d77fe225: Download complete [2024-10-22T18:13:52.216Z] 5851b861e8e6: Verifying Checksum [2024-10-22T18:13:52.216Z] 5851b861e8e6: Download complete [2024-10-22T18:13:52.216Z] b85a868b505f: Verifying Checksum [2024-10-22T18:13:52.216Z] b85a868b505f: Download complete [2024-10-22T18:13:52.475Z] bab4dde63d76: Verifying Checksum [2024-10-22T18:13:52.475Z] bab4dde63d76: Download complete [2024-10-22T18:13:53.410Z] b85a868b505f: Pull complete [2024-10-22T18:13:53.670Z] e2be974225ed: Pull complete [2024-10-22T18:13:54.240Z] 339a4e72a1f5: Pull complete [2024-10-22T18:13:54.240Z] 988bab9f4d93: Pull complete [2024-10-22T18:13:54.499Z] 1469e6f7b9e6: Pull complete [2024-10-22T18:13:54.762Z] eaf3925da568: Pull complete [2024-10-22T18:13:56.677Z] bab4dde63d76: Pull complete [2024-10-22T18:13:56.677Z] bde34c3a00c8: Pull complete [2024-10-22T18:13:56.677Z] b352a97aabf1: Pull complete [2024-10-22T18:13:56.936Z] 4872d77fe225: Pull complete [2024-10-22T18:13:56.936Z] 5851b861e8e6: Pull complete [2024-10-22T18:13:56.936Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-22T18:13:56.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:13:56.936Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:13:57.217Z] prd-ubuntu20.04-docker-8c-8g-23533 does not seem to be running inside a container [2024-10-22T18:13:57.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-81 -v /w/workspace/edgexfoundry_device-uart_PR-81:/w/workspace/edgexfoundry_device-uart_PR-81:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-81@tmp:/w/workspace/edgexfoundry_device-uart_PR-81@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-22T18:14:03.119Z] $ docker top 061b03467fde2f677493fbc653a9015111205a22f26029961b90e8bb7583c652 -eo pid,comm [2024-10-22T18:14:03.174Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-22T18:14:03.174Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-22T18:14:03.336Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T18:14:03.336Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T18:14:03.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T18:14:03.437Z] $ docker exec 061b03467fde2f677493fbc653a9015111205a22f26029961b90e8bb7583c652 ssh-agent [2024-10-22T18:14:03.540Z] SSH_AUTH_SOCK=/tmp/ssh-5mT31uEsPodB/agent.33 [2024-10-22T18:14:03.540Z] SSH_AGENT_PID=39 [2024-10-22T18:14:03.546Z] Running ssh-add (command line suppressed) [2024-10-22T18:14:03.644Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-81@tmp/private_key_7034107743139332799.key (/w/workspace/edgexfoundry_device-uart_PR-81@tmp/private_key_7034107743139332799.key) [2024-10-22T18:14:03.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T18:14:04.003Z] + git tag --points-at HEAD [Pipeline] } [2024-10-22T18:14:04.029Z] $ docker exec --env ******** --env ******** 061b03467fde2f677493fbc653a9015111205a22f26029961b90e8bb7583c652 ssh-agent -k [2024-10-22T18:14:04.125Z] unset SSH_AUTH_SOCK; [2024-10-22T18:14:04.126Z] unset SSH_AGENT_PID; [2024-10-22T18:14:04.126Z] echo Agent pid 39 killed; [2024-10-22T18:14:04.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-22T18:14:04.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T18:14:04.253Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T18:14:04.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T18:14:04.351Z] $ docker exec 061b03467fde2f677493fbc653a9015111205a22f26029961b90e8bb7583c652 ssh-agent [2024-10-22T18:14:04.461Z] SSH_AUTH_SOCK=/tmp/ssh-lHIOhmyMZICz/agent.72 [2024-10-22T18:14:04.461Z] SSH_AGENT_PID=78 [2024-10-22T18:14:04.466Z] Running ssh-add (command line suppressed) [2024-10-22T18:14:04.563Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-81@tmp/private_key_17609919838835263674.key (/w/workspace/edgexfoundry_device-uart_PR-81@tmp/private_key_17609919838835263674.key) [2024-10-22T18:14:04.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T18:14:04.928Z] + git semver init [2024-10-22T18:14:05.190Z] 2024-10-22 18:14:05,107 [run_init] DEBUG init version:0.0.0 force:False [2024-10-22T18:14:05.190Z] 2024-10-22 18:14:05,107 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-81/.semver [2024-10-22T18:14:05.190Z] 2024-10-22 18:14:05,108 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-81/.semver [2024-10-22T18:14:05.190Z] 2024-10-22 18:14:05,108 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-81/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-81, universal_newlines=False, shell=None, istream=None) [2024-10-22T18:14:06.576Z] 2024-10-22 18:14:06,275 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-81/.git/info/exclude [2024-10-22T18:14:06.576Z] 2024-10-22 18:14:06,276 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-81/.semver/PR-81 with force:False [2024-10-22T18:14:06.576Z] 2024-10-22 18:14:06,276 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-81/.semver/PR-81 [2024-10-22T18:14:06.576Z] 2024-10-22 18:14:06,280 [execute] INFO git cat-file --batch-check [2024-10-22T18:14:06.576Z] 2024-10-22 18:14:06,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T18:14:06.576Z] 2024-10-22 18:14:06,286 [execute] INFO git cat-file --batch [2024-10-22T18:14:06.576Z] 2024-10-22 18:14:06,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T18:14:06.576Z] 2024-10-22 18:14:06,291 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-81/.semver/PR-81 [2024-10-22T18:14:06.576Z] 0.0.0 [Pipeline] } [2024-10-22T18:14:06.603Z] $ docker exec --env ******** --env ******** 061b03467fde2f677493fbc653a9015111205a22f26029961b90e8bb7583c652 ssh-agent -k [2024-10-22T18:14:06.693Z] unset SSH_AUTH_SOCK; [2024-10-22T18:14:06.693Z] unset SSH_AGENT_PID; [2024-10-22T18:14:06.693Z] echo Agent pid 78 killed; [2024-10-22T18:14:06.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-22T18:14:07.178Z] + git semver [Pipeline] } [2024-10-22T18:14:07.465Z] $ docker stop --time=1 061b03467fde2f677493fbc653a9015111205a22f26029961b90e8bb7583c652 [2024-10-22T18:14:08.807Z] $ docker rm -f --volumes 061b03467fde2f677493fbc653a9015111205a22f26029961b90e8bb7583c652 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T18:14:09.375Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-22T18:14:09.758Z] Stashed 1 file(s) [Pipeline] echo [2024-10-22T18:14:09.782Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:14:10.515Z] provisioning config files... [2024-10-22T18:14:10.525Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-81@tmp/config1905981518955412568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:14:10.897Z] ---> ****-login.sh [2024-10-22T18:14:10.897Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:14:10.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:14:10.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:14:10.897Z] Configure a credential helper to remove this warning. See [2024-10-22T18:14:10.897Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:14:10.897Z] [2024-10-22T18:14:10.897Z] Login Succeeded [2024-10-22T18:14:10.897Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:14:10.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:14:10.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:14:10.897Z] Configure a credential helper to remove this warning. See [2024-10-22T18:14:10.897Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:14:10.897Z] [2024-10-22T18:14:10.897Z] Login Succeeded [2024-10-22T18:14:10.897Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:14:11.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:14:11.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:14:11.156Z] Configure a credential helper to remove this warning. See [2024-10-22T18:14:11.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:14:11.156Z] [2024-10-22T18:14:11.156Z] Login Succeeded [2024-10-22T18:14:11.156Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:14:11.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:14:11.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:14:11.156Z] Configure a credential helper to remove this warning. See [2024-10-22T18:14:11.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:14:11.156Z] [2024-10-22T18:14:11.156Z] Login Succeeded [2024-10-22T18:14:11.156Z] ****.io [2024-10-22T18:14:11.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:14:11.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:14:11.416Z] Configure a credential helper to remove this warning. See [2024-10-22T18:14:11.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:14:11.416Z] [2024-10-22T18:14:11.416Z] Login Succeeded [2024-10-22T18:14:11.416Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:14:11.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T18:14:11.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:14:11.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:14:11.804Z] ========================================================= [2024-10-22T18:14:11.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-22T18:14:11.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:14:12.330Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-22T18:14:12.330Z] Sending build context to Docker daemon 25.63MB [2024-10-22T18:14:12.330Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T18:14:12.330Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-22T18:14:12.590Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-22T18:14:12.590Z] 43c4264eed91: Pulling fs layer [2024-10-22T18:14:12.590Z] 4cc291be95ef: Pulling fs layer [2024-10-22T18:14:12.590Z] 2ac1f1163629: Pulling fs layer [2024-10-22T18:14:12.590Z] 5c3c966382ef: Pulling fs layer [2024-10-22T18:14:12.590Z] 4f4fb700ef54: Pulling fs layer [2024-10-22T18:14:12.590Z] 5d5c8e513c77: Pulling fs layer [2024-10-22T18:14:12.590Z] 9f66e0745190: Pulling fs layer [2024-10-22T18:14:12.590Z] f49a43e4bbc0: Pulling fs layer [2024-10-22T18:14:12.590Z] 561ebcabdf7f: Pulling fs layer [2024-10-22T18:14:12.590Z] 5c3c966382ef: Waiting [2024-10-22T18:14:12.590Z] f49a43e4bbc0: Waiting [2024-10-22T18:14:12.590Z] 561ebcabdf7f: Waiting [2024-10-22T18:14:12.590Z] 5d5c8e513c77: Waiting [2024-10-22T18:14:12.590Z] 9f66e0745190: Waiting [2024-10-22T18:14:12.590Z] 4cc291be95ef: Verifying Checksum [2024-10-22T18:14:12.590Z] 4cc291be95ef: Download complete [2024-10-22T18:14:12.590Z] 5c3c966382ef: Verifying Checksum [2024-10-22T18:14:12.590Z] 5c3c966382ef: Download complete [2024-10-22T18:14:12.590Z] 4f4fb700ef54: Verifying Checksum [2024-10-22T18:14:12.590Z] 4f4fb700ef54: Download complete [2024-10-22T18:14:12.590Z] 5d5c8e513c77: Download complete [2024-10-22T18:14:12.590Z] 43c4264eed91: Verifying Checksum [2024-10-22T18:14:12.590Z] 43c4264eed91: Download complete [2024-10-22T18:14:12.590Z] 9f66e0745190: Verifying Checksum [2024-10-22T18:14:12.590Z] 9f66e0745190: Download complete [2024-10-22T18:14:12.850Z] 43c4264eed91: Pull complete [2024-10-22T18:14:12.850Z] 561ebcabdf7f: Verifying Checksum [2024-10-22T18:14:12.850Z] 561ebcabdf7f: Download complete [2024-10-22T18:14:12.850Z] 4cc291be95ef: Pull complete [2024-10-22T18:14:13.110Z] 2ac1f1163629: Download complete [2024-10-22T18:14:13.370Z] f49a43e4bbc0: Verifying Checksum [2024-10-22T18:14:13.370Z] f49a43e4bbc0: Download complete [2024-10-22T18:14:16.654Z] 2ac1f1163629: Pull complete [2024-10-22T18:14:16.654Z] 5c3c966382ef: Pull complete [2024-10-22T18:14:16.654Z] 4f4fb700ef54: Pull complete [2024-10-22T18:14:16.654Z] 5d5c8e513c77: Pull complete [2024-10-22T18:14:16.654Z] 9f66e0745190: Pull complete [2024-10-22T18:14:19.184Z] f49a43e4bbc0: Pull complete [2024-10-22T18:14:19.445Z] 561ebcabdf7f: Pull complete [2024-10-22T18:14:19.445Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-22T18:14:19.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-22T18:14:19.445Z] ---> 3a752c3f9dda [2024-10-22T18:14:19.445Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-22T18:14:24.791Z] ---> Running in a02069cacf5e [2024-10-22T18:14:24.791Z] Removing intermediate container a02069cacf5e [2024-10-22T18:14:24.791Z] ---> 266c21351671 [2024-10-22T18:14:24.791Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-22T18:14:24.791Z] ---> Running in a61feb71ebc7 [2024-10-22T18:14:24.791Z] Removing intermediate container a61feb71ebc7 [2024-10-22T18:14:24.791Z] ---> de5008c6bc53 [2024-10-22T18:14:24.791Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-22T18:14:24.791Z] ---> Running in 2f6653b6b50e [2024-10-22T18:14:24.791Z] Removing intermediate container 2f6653b6b50e [2024-10-22T18:14:24.791Z] ---> 4118dec205bb [2024-10-22T18:14:24.791Z] Step 6/12 : WORKDIR /device-uart [2024-10-22T18:14:24.791Z] ---> Running in 3dfb13c65510 [2024-10-22T18:14:24.791Z] Removing intermediate container 3dfb13c65510 [2024-10-22T18:14:24.791Z] ---> 83989b971ed7 [2024-10-22T18:14:24.791Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-22T18:14:24.791Z] ---> Running in dc8dd6665637 [2024-10-22T18:14:25.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:14:25.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:14:25.292Z] Still waiting to schedule task [2024-10-22T18:14:25.293Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23529’ [2024-10-22T18:14:25.311Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-22T18:14:25.311Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-22T18:14:25.570Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-22T18:14:25.570Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-22T18:14:25.570Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T18:14:25.570Z] OK: 250 MiB in 58 packages [2024-10-22T18:14:25.831Z] Removing intermediate container dc8dd6665637 [2024-10-22T18:14:25.831Z] ---> e6335279d753 [2024-10-22T18:14:25.831Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-22T18:14:26.089Z] ---> 9dc82acbb0f5 [2024-10-22T18:14:26.089Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T18:14:26.089Z] ---> Running in 52dccc3633df [2024-10-22T18:15:22.345Z] Removing intermediate container 52dccc3633df [2024-10-22T18:15:22.345Z] ---> c7babf387f05 [2024-10-22T18:15:22.345Z] Step 10/12 : COPY . . [2024-10-22T18:15:22.345Z] ---> c3f61da8acf9 [2024-10-22T18:15:22.345Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-22T18:15:22.345Z] ---> Running in ab17cd448597 [2024-10-22T18:15:22.345Z] Removing intermediate container ab17cd448597 [2024-10-22T18:15:22.345Z] ---> e38b7c273c53 [2024-10-22T18:15:22.345Z] Step 12/12 : RUN ${MAKE} [2024-10-22T18:15:22.345Z] ---> Running in 6f3fd6d9cbe7 [2024-10-22T18:15:22.345Z] noop [2024-10-22T18:15:22.345Z] Removing intermediate container 6f3fd6d9cbe7 [2024-10-22T18:15:22.345Z] ---> 729de52a8ea9 [2024-10-22T18:15:22.345Z] Successfully built 729de52a8ea9 [2024-10-22T18:15:22.345Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:15:22.867Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T18:15:22.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:15:23.051Z] prd-ubuntu20.04-docker-8c-8g-23533 does not seem to be running inside a container [2024-10-22T18:15:23.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-81 -v /w/workspace/edgexfoundry_device-uart_PR-81:/w/workspace/edgexfoundry_device-uart_PR-81:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-81@tmp:/w/workspace/edgexfoundry_device-uart_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-22T18:15:23.409Z] $ docker top 5de428b8960fe5806b3b2a5dadf2c6d4780b71297814423a8e3b0cf3ddbbdbc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:15:23.833Z] + go version [2024-10-22T18:15:23.833Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-22T18:15:23.870Z] $ docker stop --time=1 5de428b8960fe5806b3b2a5dadf2c6d4780b71297814423a8e3b0cf3ddbbdbc1 [2024-10-22T18:15:25.121Z] $ docker rm -f --volumes 5de428b8960fe5806b3b2a5dadf2c6d4780b71297814423a8e3b0cf3ddbbdbc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:15:25.939Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T18:15:25.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:15:26.122Z] prd-ubuntu20.04-docker-8c-8g-23533 does not seem to be running inside a container [2024-10-22T18:15:26.153Z] $ 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-81 -v /w/workspace/edgexfoundry_device-uart_PR-81:/w/workspace/edgexfoundry_device-uart_PR-81:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-81@tmp:/w/workspace/edgexfoundry_device-uart_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-22T18:15:26.473Z] $ docker top 6f3905ffb39b2ebd19479a18854d493aae59322d71948f363f14a6b533606e5f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:15:26.905Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-81 [Pipeline] fileExists [Pipeline] sh [2024-10-22T18:15:27.304Z] + make test [2024-10-22T18:15:27.304Z] go test ./... -coverprofile=coverage.out [2024-10-22T18:15:28.681Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-22T18:15:46.755Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-22T18:15:46.755Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-22T18:15:58.962Z] go vet ./... [2024-10-22T18:16:03.160Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-22T18:16:03.160Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-22T18:16:03.160Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-22T18:16:03.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-22T18:16:03.493Z] $ docker stop --time=1 6f3905ffb39b2ebd19479a18854d493aae59322d71948f363f14a6b533606e5f [2024-10-22T18:16:07.403Z] $ docker rm -f --volumes 6f3905ffb39b2ebd19479a18854d493aae59322d71948f363f14a6b533606e5f [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T18:16:08.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-22T18:16:08.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-22T18:16:09.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T18:16:09.381Z] + ls -al . [2024-10-22T18:16:09.381Z] total 236 [2024-10-22T18:16:09.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:15 . [2024-10-22T18:16:09.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:13 .. [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 18:13 .dockerignore [2024-10-22T18:16:09.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:15 .git [2024-10-22T18:16:09.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 .github [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 22 18:13 .gitignore [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 22 18:13 .golangci.yml [2024-10-22T18:16:09.381Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:14 .semver [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 22 18:13 Attribution.txt [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 22 18:13 CHANGELOG.md [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 22 18:13 Dockerfile [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:13 GOVERNANCE.md [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 22 18:13 Jenkinsfile [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 22 18:13 LICENSE [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 2409 Oct 22 18:13 Makefile [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 22 18:13 OWNERS.md [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 22 18:13 README.md [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:14 VERSION [2024-10-22T18:16:09.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:13 bin [2024-10-22T18:16:09.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 cmd [2024-10-22T18:16:09.381Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 22 18:15 coverage.out [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 22 18:13 go.mod [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 22 18:13 go.sum [2024-10-22T18:16:09.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 internal [2024-10-22T18:16:09.381Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 22 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:16:09.814Z] + 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=6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 --label arch=amd64 --label version=0.0.0 . [2024-10-22T18:16:09.814Z] Sending build context to Docker daemon 25.64MB [2024-10-22T18:16:09.814Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T18:16:09.814Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-22T18:16:09.814Z] ---> 729de52a8ea9 [2024-10-22T18:16:09.814Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-22T18:16:10.074Z] ---> Running in 61508a39ba7d [2024-10-22T18:16:10.074Z] Removing intermediate container 61508a39ba7d [2024-10-22T18:16:10.074Z] ---> 0b4ef24d98be [2024-10-22T18:16:10.074Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-22T18:16:10.334Z] ---> Running in 499b92147c88 [2024-10-22T18:16:10.334Z] Removing intermediate container 499b92147c88 [2024-10-22T18:16:10.334Z] ---> 231fa73b621e [2024-10-22T18:16:10.334Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-22T18:16:10.334Z] ---> Running in ff4773e96830 [2024-10-22T18:16:10.334Z] Removing intermediate container ff4773e96830 [2024-10-22T18:16:10.334Z] ---> d908ce0cb083 [2024-10-22T18:16:10.334Z] Step 6/26 : WORKDIR /device-uart [2024-10-22T18:16:10.334Z] ---> Running in 493293d5dd3d [2024-10-22T18:16:10.592Z] Removing intermediate container 493293d5dd3d [2024-10-22T18:16:10.592Z] ---> 8bd646bcb6ff [2024-10-22T18:16:10.592Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-22T18:16:10.592Z] ---> Running in fd399af457a8 [2024-10-22T18:16:10.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:16:10.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:16:11.423Z] OK: 250 MiB in 58 packages [2024-10-22T18:16:11.681Z] Removing intermediate container fd399af457a8 [2024-10-22T18:16:11.681Z] ---> 5afacbbf9af1 [2024-10-22T18:16:11.681Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-22T18:16:11.681Z] ---> f0561339660e [2024-10-22T18:16:11.681Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T18:16:11.681Z] ---> Running in e379eb80308a [2024-10-22T18:16:12.637Z] Removing intermediate container e379eb80308a [2024-10-22T18:16:12.637Z] ---> bb1137de76d5 [2024-10-22T18:16:12.637Z] Step 10/26 : COPY . . [2024-10-22T18:16:13.207Z] ---> b5f5025587b8 [2024-10-22T18:16:13.207Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-22T18:16:13.207Z] ---> Running in 2ec245392b26 [2024-10-22T18:16:13.207Z] Removing intermediate container 2ec245392b26 [2024-10-22T18:16:13.207Z] ---> 6c05c7e153f0 [2024-10-22T18:16:13.207Z] Step 12/26 : RUN ${MAKE} [2024-10-22T18:16:13.207Z] ---> Running in e7d7e45e9021 [2024-10-22T18:16:13.466Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.48" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-uart ./cmd [2024-10-22T18:16:52.200Z] Removing intermediate container e7d7e45e9021 [2024-10-22T18:16:52.200Z] ---> abb03ab3f59a [2024-10-22T18:16:52.200Z] Step 13/26 : FROM alpine:3.20 [2024-10-22T18:16:52.200Z] 3.20: Pulling from library/alpine [2024-10-22T18:16:52.200Z] 43c4264eed91: Already exists [2024-10-22T18:16:52.200Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-22T18:16:52.200Z] Status: Downloaded newer image for alpine:3.20 [2024-10-22T18:16:52.200Z] ---> 91ef0af61f39 [2024-10-22T18:16:52.200Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-22T18:16:52.200Z] ---> Running in 756b533de716 [2024-10-22T18:16:52.200Z] Removing intermediate container 756b533de716 [2024-10-22T18:16:52.200Z] ---> caddfa9a53f7 [2024-10-22T18:16:52.200Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-22T18:16:52.200Z] ---> Running in 19ca7b91e302 [2024-10-22T18:16:52.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:16:52.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:16:52.200Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-22T18:16:52.200Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T18:16:52.200Z] OK: 8 MiB in 15 packages [2024-10-22T18:16:52.200Z] Removing intermediate container 19ca7b91e302 [2024-10-22T18:16:52.200Z] ---> 09a9c053b58a [2024-10-22T18:16:52.200Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-22T18:16:52.201Z] ---> Running in 77ad41ba86ee [2024-10-22T18:16:52.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:16:52.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:16:52.201Z] Upgrading critical system libraries and apk-tools: [2024-10-22T18:16:52.201Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-22T18:16:52.201Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T18:16:52.201Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T18:16:52.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:16:52.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:16:52.201Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T18:16:52.201Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T18:16:52.201Z] OK: 8 MiB in 15 packages [2024-10-22T18:16:52.201Z] Removing intermediate container 77ad41ba86ee [2024-10-22T18:16:52.201Z] ---> 5f9fe932c504 [2024-10-22T18:16:52.201Z] Step 17/26 : WORKDIR / [2024-10-22T18:16:52.201Z] ---> Running in 936538cd8762 [2024-10-22T18:16:52.201Z] Removing intermediate container 936538cd8762 [2024-10-22T18:16:52.201Z] ---> 96f04eafe98d [2024-10-22T18:16:52.201Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-22T18:16:52.201Z] ---> 273a722bec2f [2024-10-22T18:16:52.201Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-22T18:16:52.201Z] ---> 547989ccbc25 [2024-10-22T18:16:52.201Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-22T18:16:52.769Z] ---> c191dc4e833e [2024-10-22T18:16:52.769Z] Step 21/26 : EXPOSE 59995 [2024-10-22T18:16:52.769Z] ---> Running in 98d5f9270313 [2024-10-22T18:16:52.769Z] Removing intermediate container 98d5f9270313 [2024-10-22T18:16:52.769Z] ---> c583b3c33846 [2024-10-22T18:16:52.769Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-22T18:16:52.769Z] ---> Running in 5611095b13c8 [2024-10-22T18:16:52.769Z] Removing intermediate container 5611095b13c8 [2024-10-22T18:16:52.769Z] ---> 043673f871af [2024-10-22T18:16:52.769Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-22T18:16:53.027Z] ---> Running in 038cb284dbb2 [2024-10-22T18:16:53.027Z] Removing intermediate container 038cb284dbb2 [2024-10-22T18:16:53.027Z] ---> c49aeb7b0fe0 [2024-10-22T18:16:53.027Z] Step 24/26 : LABEL arch=amd64 [2024-10-22T18:16:53.027Z] ---> Running in d5bff6314b7a [2024-10-22T18:16:53.027Z] Removing intermediate container d5bff6314b7a [2024-10-22T18:16:53.027Z] ---> dbef6b4b9f16 [2024-10-22T18:16:53.027Z] Step 25/26 : LABEL git_sha=6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [2024-10-22T18:16:53.027Z] ---> Running in 965251cabe6c [2024-10-22T18:16:53.287Z] Removing intermediate container 965251cabe6c [2024-10-22T18:16:53.287Z] ---> 453139fbfc46 [2024-10-22T18:16:53.287Z] Step 26/26 : LABEL version=0.0.0 [2024-10-22T18:16:53.287Z] ---> Running in 505930e0c390 [2024-10-22T18:16:53.287Z] Removing intermediate container 505930e0c390 [2024-10-22T18:16:53.287Z] ---> 56c0706e90c8 [2024-10-22T18:16:53.287Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-22T18:16:53.287Z] Successfully built 56c0706e90c8 [2024-10-22T18:16:53.287Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:16:54.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:16:54.311Z] [2024-10-22T18:16:54.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:16:54.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:16:54.719Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-22T18:16:54.719Z] 5eb5b503b376: Pulling fs layer [2024-10-22T18:16:54.719Z] 5c69ac0246d0: Pulling fs layer [2024-10-22T18:16:54.719Z] ec43610c2a17: Pulling fs layer [2024-10-22T18:16:54.719Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-22T18:16:54.719Z] 33b1e0a273af: Pulling fs layer [2024-10-22T18:16:54.719Z] 5d3b04190fa2: Pulling fs layer [2024-10-22T18:16:54.719Z] 2f39f015ded8: Pulling fs layer [2024-10-22T18:16:54.719Z] 3a2ae6a8a46f: Waiting [2024-10-22T18:16:54.719Z] 33b1e0a273af: Waiting [2024-10-22T18:16:54.719Z] 2f39f015ded8: Waiting [2024-10-22T18:16:54.719Z] 5d3b04190fa2: Waiting [2024-10-22T18:16:54.719Z] 5c69ac0246d0: Download complete [2024-10-22T18:16:54.719Z] 3a2ae6a8a46f: Download complete [2024-10-22T18:16:54.719Z] 33b1e0a273af: Verifying Checksum [2024-10-22T18:16:54.719Z] 33b1e0a273af: Download complete [2024-10-22T18:16:54.719Z] 5d3b04190fa2: Verifying Checksum [2024-10-22T18:16:54.719Z] 5d3b04190fa2: Download complete [2024-10-22T18:16:54.719Z] ec43610c2a17: Verifying Checksum [2024-10-22T18:16:54.719Z] ec43610c2a17: Download complete [2024-10-22T18:16:54.976Z] 5eb5b503b376: Download complete [2024-10-22T18:16:55.541Z] 2f39f015ded8: Download complete [2024-10-22T18:16:56.108Z] 5eb5b503b376: Pull complete [2024-10-22T18:16:56.369Z] 5c69ac0246d0: Pull complete [2024-10-22T18:16:56.628Z] ec43610c2a17: Pull complete [2024-10-22T18:16:56.888Z] 3a2ae6a8a46f: Pull complete [2024-10-22T18:16:56.888Z] 33b1e0a273af: Pull complete [2024-10-22T18:16:57.155Z] 5d3b04190fa2: Pull complete [2024-10-22T18:17:01.349Z] 2f39f015ded8: Pull complete [2024-10-22T18:17:01.349Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-22T18:17:01.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:17:01.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:17:01.587Z] prd-ubuntu20.04-docker-8c-8g-23533 does not seem to be running inside a container [2024-10-22T18:17:01.616Z] $ 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-81 -v /w/workspace/edgexfoundry_device-uart_PR-81:/w/workspace/edgexfoundry_device-uart_PR-81:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-81@tmp:/w/workspace/edgexfoundry_device-uart_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-22T18:17:06.801Z] $ docker top 91804e0d4b8196c3d29f968829a7013aeb745d075e058fbfd6d5af5f589742d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:17:07.274Z] ---> job-cost.sh [2024-10-22T18:17:07.274Z] lf-activate-venv: SKIPPING [2024-10-22T18:17:07.274Z] INFO: No Stack... [2024-10-22T18:17:07.533Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T18:17:07.791Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T18:17:08.116Z] + cat /w/workspace/edgexfoundry_device-uart_PR-81/archives/cost.csv [2024-10-22T18:17:08.116Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T18:17:08.169Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-81-1-stack-cost] [2024-10-22T18:17:08.176Z] Resource [jenkins-edgexfoundry-device-uart-PR-81-1-stack-cost] did not exist. Created. [2024-10-22T18:17:08.186Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-81-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T18:17:08.609Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-22T18:17:08.668Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T18:17:08.706Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-81-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T18:17:08.795Z] $ docker stop --time=1 91804e0d4b8196c3d29f968829a7013aeb745d075e058fbfd6d5af5f589742d0 [2024-10-22T18:17:09.944Z] $ docker rm -f --volumes 91804e0d4b8196c3d29f968829a7013aeb745d075e058fbfd6d5af5f589742d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-22T18:17:17.917Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23535 in /w/workspace/edgexfoundry_device-uart_PR-81 [Pipeline] { [Pipeline] ws [2024-10-22T18:17:17.996Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-22T18:17:18.085Z] The recommended git tool is: git [2024-10-22T18:17:27.079Z] using credential edgex-jenkins-ssh [2024-10-22T18:17:27.104Z] Cloning the remote Git repository [2024-10-22T18:17:27.162Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-22T18:17:27.380Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-22T18:17:27.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-22T18:17:27.732Z] > git --version # timeout=10 [2024-10-22T18:17:27.774Z] > git --version # 'git version 2.25.1' [2024-10-22T18:17:27.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:17:27.996Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T18:17:30.554Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-22T18:17:30.586Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T18:17:31.937Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-22T18:17:32.642Z] Merging remotes/origin/main commit fb93fa34bb594df6e041f35dbb663b8f249074b4 into PR head commit 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [2024-10-22T18:17:32.990Z] Merge succeeded, producing 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [2024-10-22T18:17:32.991Z] Checking out Revision 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 (PR-81) [2024-10-22T18:17:32.034Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-22T18:17:32.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:17:32.102Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-22T18:17:32.660Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T18:17:32.747Z] > git checkout -f 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 # timeout=10 [2024-10-22T18:17:32.836Z] > git remote # timeout=10 [2024-10-22T18:17:32.884Z] > git config --get remote.origin.url # timeout=10 [2024-10-22T18:17:32.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:17:32.934Z] > git merge fb93fa34bb594df6e041f35dbb663b8f249074b4 # timeout=10 [2024-10-22T18:17:32.966Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-22T18:17:32.992Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T18:17:33.023Z] > git checkout -f 6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 # timeout=10 [2024-10-22T18:17:33.731Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-22T18:17:33.784Z] > git --version # timeout=10 [2024-10-22T18:17:33.797Z] > git --version # 'git version 2.25.1' [2024-10-22T18:17:33.811Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:17:38.754Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-22T18:17:38.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T18:17:38.754Z] Dload Upload Total Spent Left Speed [2024-10-22T18:17:38.754Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 250k 0 --:--:-- --:--:-- --:--:-- 250k [Pipeline] sh [2024-10-22T18:17:39.112Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-22T18:17:39.462Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-22T18:17:39.462Z] + sudo tee /etc/docker/daemon.new [2024-10-22T18:17:39.462Z] { [2024-10-22T18:17:39.462Z] "registry-mirrors": [ [2024-10-22T18:17:39.462Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-22T18:17:39.462Z] ], [2024-10-22T18:17:39.462Z] "bip": "10.250.0.254/24", [2024-10-22T18:17:39.462Z] "hosts": [ [2024-10-22T18:17:39.462Z] "tcp://0.0.0.0:5555", [2024-10-22T18:17:39.462Z] "unix:///var/run/docker.sock" [2024-10-22T18:17:39.462Z] ], [2024-10-22T18:17:39.462Z] "mtu": 1458, [2024-10-22T18:17:39.462Z] "selinux-enabled": true, [2024-10-22T18:17:39.462Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-22T18:17:39.462Z] } [Pipeline] sh [2024-10-22T18:17:39.816Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-22T18:17:40.168Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:17:58.527Z] provisioning config files... [2024-10-22T18:17:58.553Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config8858674533240697588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:17:59.050Z] ---> ****-login.sh [2024-10-22T18:17:59.050Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:17:59.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:17:59.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:17:59.589Z] Configure a credential helper to remove this warning. See [2024-10-22T18:17:59.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:17:59.589Z] [2024-10-22T18:17:59.589Z] Login Succeeded [2024-10-22T18:17:59.589Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:17:59.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:17:59.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:17:59.858Z] Configure a credential helper to remove this warning. See [2024-10-22T18:17:59.858Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:17:59.858Z] [2024-10-22T18:17:59.858Z] Login Succeeded [2024-10-22T18:17:59.858Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:18:00.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:18:00.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:18:00.403Z] Configure a credential helper to remove this warning. See [2024-10-22T18:18:00.403Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:18:00.403Z] [2024-10-22T18:18:00.403Z] Login Succeeded [2024-10-22T18:18:00.403Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:18:00.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:18:00.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:18:00.675Z] Configure a credential helper to remove this warning. See [2024-10-22T18:18:00.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:18:00.675Z] [2024-10-22T18:18:00.675Z] Login Succeeded [2024-10-22T18:18:00.675Z] ****.io [2024-10-22T18:18:00.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:18:00.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:18:00.944Z] Configure a credential helper to remove this warning. See [2024-10-22T18:18:00.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:18:00.944Z] [2024-10-22T18:18:00.944Z] Login Succeeded [2024-10-22T18:18:01.212Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:18:01.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T18:18:01.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:18:01.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:18:01.813Z] ========================================================= [2024-10-22T18:18:01.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-22T18:18:01.813Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:18:02.360Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-22T18:18:02.630Z] Sending build context to Docker daemon 12.89MB [2024-10-22T18:18:02.899Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T18:18:02.899Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-22T18:18:02.899Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-22T18:18:02.899Z] cf04c63912e1: Pulling fs layer [2024-10-22T18:18:02.899Z] 55b35a11ae5e: Pulling fs layer [2024-10-22T18:18:02.899Z] a37a00ec5f00: Pulling fs layer [2024-10-22T18:18:02.899Z] 50b3750afda1: Pulling fs layer [2024-10-22T18:18:02.899Z] 4f4fb700ef54: Pulling fs layer [2024-10-22T18:18:02.899Z] 80978eb59214: Pulling fs layer [2024-10-22T18:18:02.899Z] c9f46d7d2bd2: Pulling fs layer [2024-10-22T18:18:02.899Z] c5a475d317c9: Pulling fs layer [2024-10-22T18:18:02.899Z] 4f4fb700ef54: Waiting [2024-10-22T18:18:02.899Z] 80978eb59214: Waiting [2024-10-22T18:18:02.899Z] c9f46d7d2bd2: Waiting [2024-10-22T18:18:02.899Z] c5a475d317c9: Waiting [2024-10-22T18:18:02.899Z] 50b3750afda1: Waiting [2024-10-22T18:18:02.899Z] 55b35a11ae5e: Verifying Checksum [2024-10-22T18:18:02.899Z] 55b35a11ae5e: Download complete [2024-10-22T18:18:02.899Z] 50b3750afda1: Verifying Checksum [2024-10-22T18:18:02.899Z] 50b3750afda1: Download complete [2024-10-22T18:18:03.213Z] 4f4fb700ef54: Verifying Checksum [2024-10-22T18:18:03.213Z] 4f4fb700ef54: Download complete [2024-10-22T18:18:03.213Z] 80978eb59214: Verifying Checksum [2024-10-22T18:18:03.213Z] 80978eb59214: Download complete [2024-10-22T18:18:03.213Z] cf04c63912e1: Verifying Checksum [2024-10-22T18:18:03.213Z] cf04c63912e1: Download complete [2024-10-22T18:18:03.493Z] c5a475d317c9: Verifying Checksum [2024-10-22T18:18:03.493Z] c5a475d317c9: Download complete [2024-10-22T18:18:04.082Z] cf04c63912e1: Pull complete [2024-10-22T18:18:04.669Z] 55b35a11ae5e: Pull complete [2024-10-22T18:18:04.952Z] a37a00ec5f00: Verifying Checksum [2024-10-22T18:18:04.952Z] a37a00ec5f00: Download complete [2024-10-22T18:18:05.916Z] c9f46d7d2bd2: Verifying Checksum [2024-10-22T18:18:05.916Z] c9f46d7d2bd2: Download complete [2024-10-22T18:18:18.230Z] a37a00ec5f00: Pull complete [2024-10-22T18:18:18.503Z] 50b3750afda1: Pull complete [2024-10-22T18:18:18.772Z] 4f4fb700ef54: Pull complete [2024-10-22T18:18:18.773Z] 80978eb59214: Pull complete [2024-10-22T18:18:27.001Z] c9f46d7d2bd2: Pull complete [2024-10-22T18:18:28.943Z] c5a475d317c9: Pull complete [2024-10-22T18:18:28.943Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-22T18:18:28.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-22T18:18:28.943Z] ---> be29e6b0f0d4 [2024-10-22T18:18:28.943Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-22T18:18:30.886Z] ---> Running in c4283c370b97 [2024-10-22T18:18:30.886Z] Removing intermediate container c4283c370b97 [2024-10-22T18:18:30.886Z] ---> cf777d9fa506 [2024-10-22T18:18:30.886Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-22T18:18:30.886Z] ---> Running in d88066d3d6d3 [2024-10-22T18:18:31.152Z] Removing intermediate container d88066d3d6d3 [2024-10-22T18:18:31.152Z] ---> cec92cfe4220 [2024-10-22T18:18:31.152Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-22T18:18:31.152Z] ---> Running in 7dd49d7f7fd4 [2024-10-22T18:18:31.419Z] Removing intermediate container 7dd49d7f7fd4 [2024-10-22T18:18:31.419Z] ---> ef85cb4f9b45 [2024-10-22T18:18:31.419Z] Step 6/12 : WORKDIR /device-uart [2024-10-22T18:18:31.693Z] ---> Running in 297a0e75c7a9 [2024-10-22T18:18:31.964Z] Removing intermediate container 297a0e75c7a9 [2024-10-22T18:18:31.964Z] ---> 075ca9fb4fc3 [2024-10-22T18:18:31.964Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-22T18:18:31.964Z] ---> Running in 85497daa3de4 [2024-10-22T18:18:34.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:18:34.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:18:35.964Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-22T18:18:35.964Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-22T18:18:35.964Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-22T18:18:35.964Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-22T18:18:35.964Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T18:18:35.964Z] OK: 242 MiB in 58 packages [2024-10-22T18:18:36.937Z] Removing intermediate container 85497daa3de4 [2024-10-22T18:18:36.937Z] ---> d138fb69a423 [2024-10-22T18:18:36.937Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-22T18:18:37.206Z] ---> 550a181cde14 [2024-10-22T18:18:37.206Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T18:18:37.475Z] ---> Running in f15da7398218 [2024-10-22T18:20:29.135Z] Removing intermediate container f15da7398218 [2024-10-22T18:20:29.135Z] ---> 9cd3a45a8b72 [2024-10-22T18:20:29.135Z] Step 10/12 : COPY . . [2024-10-22T18:20:29.135Z] ---> 060e73f5f73a [2024-10-22T18:20:29.135Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-22T18:20:29.135Z] ---> Running in b0e3eec5c76b [2024-10-22T18:20:29.135Z] Removing intermediate container b0e3eec5c76b [2024-10-22T18:20:29.135Z] ---> 578a5e0a613c [2024-10-22T18:20:29.135Z] Step 12/12 : RUN ${MAKE} [2024-10-22T18:20:29.135Z] ---> Running in e17e44788c82 [2024-10-22T18:20:30.099Z] noop [2024-10-22T18:20:30.689Z] Removing intermediate container e17e44788c82 [2024-10-22T18:20:30.689Z] ---> 29e5e49dc867 [2024-10-22T18:20:30.689Z] Successfully built 29e5e49dc867 [2024-10-22T18:20:30.689Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:20:31.201Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T18:20:31.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:20:31.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-23535 does not seem to be running inside a container [2024-10-22T18:20:31.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-22T18:20:32.732Z] $ docker top fc4feaa7c09a75c0fdd6d754ad21c9f504e5a8987672f5cf31f370e061eb7beb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:20:33.633Z] + go version [2024-10-22T18:20:33.633Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-22T18:20:33.670Z] $ docker stop --time=1 fc4feaa7c09a75c0fdd6d754ad21c9f504e5a8987672f5cf31f370e061eb7beb [2024-10-22T18:20:35.236Z] $ docker rm -f --volumes fc4feaa7c09a75c0fdd6d754ad21c9f504e5a8987672f5cf31f370e061eb7beb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:20:36.193Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T18:20:36.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:20:36.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-23535 does not seem to be running inside a container [2024-10-22T18:20:36.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-22T18:20:37.802Z] $ docker top e9172afe07c3cb31956107a86e68c2721c744742c8ed700dc3687c25309fa1a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:20:38.408Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-22T18:20:39.409Z] + make test [2024-10-22T18:20:39.409Z] go test ./... -coverprofile=coverage.out [2024-10-22T18:20:46.045Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-10-22T18:23:53.737Z] github.com/edgexfoundry/device-uart/cmd coverage: 0.0% of statements [2024-10-22T18:23:53.737Z] github.com/edgexfoundry/device-uart/internal/driver coverage: 0.0% of statements [2024-10-22T18:23:53.737Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-22T18:23:53.737Z] go vet ./... [2024-10-22T18:24:40.588Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-22T18:24:40.588Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-22T18:24:40.588Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-22T18:24:40.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-22T18:24:40.671Z] $ docker stop --time=1 e9172afe07c3cb31956107a86e68c2721c744742c8ed700dc3687c25309fa1a2 [2024-10-22T18:24:42.658Z] $ docker rm -f --volumes e9172afe07c3cb31956107a86e68c2721c744742c8ed700dc3687c25309fa1a2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T18:24:44.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-22T18:24:44.764Z] Warning: overwriting stash ‘coverage-report’ [2024-10-22T18:24:45.280Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:24:46.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T18:24:46.378Z] + ls -al . [2024-10-22T18:24:46.378Z] total 232 [2024-10-22T18:24:46.378Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 22 18:20 . [2024-10-22T18:24:46.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:17 .. [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 18:17 .dockerignore [2024-10-22T18:24:46.378Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:17 .git [2024-10-22T18:24:46.378Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 .github [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 22 18:17 .gitignore [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 198 Oct 22 18:17 .golangci.yml [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 18662 Oct 22 18:17 Attribution.txt [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 1908 Oct 22 18:17 CHANGELOG.md [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 1918 Oct 22 18:17 Dockerfile [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:17 GOVERNANCE.md [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 675 Oct 22 18:17 Jenkinsfile [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 22 18:17 LICENSE [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 2409 Oct 22 18:17 Makefile [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 22 18:17 OWNERS.md [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 8892 Oct 22 18:17 README.md [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:14 VERSION [2024-10-22T18:24:46.378Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:17 bin [2024-10-22T18:24:46.378Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 cmd [2024-10-22T18:24:46.378Z] -rw-r--r-- 1 jenkins jenkins 6770 Oct 22 18:23 coverage.out [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 6936 Oct 22 18:17 go.mod [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 100395 Oct 22 18:17 go.sum [2024-10-22T18:24:46.378Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 internal [2024-10-22T18:24:46.378Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 22 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:24:46.837Z] + 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=6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 --label arch=arm64 --label version=0.0.0 . [2024-10-22T18:24:47.424Z] Sending build context to Docker daemon 12.9MB [2024-10-22T18:24:47.424Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T18:24:47.424Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-22T18:24:47.424Z] ---> 29e5e49dc867 [2024-10-22T18:24:47.424Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-22T18:24:47.424Z] ---> Running in 6c776ffbc61c [2024-10-22T18:24:47.692Z] Removing intermediate container 6c776ffbc61c [2024-10-22T18:24:47.692Z] ---> bcd721b7490f [2024-10-22T18:24:47.692Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-22T18:24:47.961Z] ---> Running in cad4cf74e9e8 [2024-10-22T18:24:48.227Z] Removing intermediate container cad4cf74e9e8 [2024-10-22T18:24:48.227Z] ---> 0a54bed617f9 [2024-10-22T18:24:48.227Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-22T18:24:48.227Z] ---> Running in 480e97882e76 [2024-10-22T18:24:48.493Z] Removing intermediate container 480e97882e76 [2024-10-22T18:24:48.493Z] ---> b5a30e0f9e91 [2024-10-22T18:24:48.493Z] Step 6/26 : WORKDIR /device-uart [2024-10-22T18:24:48.759Z] ---> Running in 954555c2b9dc [2024-10-22T18:24:49.030Z] Removing intermediate container 954555c2b9dc [2024-10-22T18:24:49.030Z] ---> 504f544315d2 [2024-10-22T18:24:49.030Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-22T18:24:49.030Z] ---> Running in 3b343797480f [2024-10-22T18:24:50.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:24:50.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:24:51.493Z] OK: 242 MiB in 58 packages [2024-10-22T18:24:54.066Z] Removing intermediate container 3b343797480f [2024-10-22T18:24:54.066Z] ---> d31b963f4c42 [2024-10-22T18:24:54.066Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-22T18:24:54.066Z] ---> b487cae7c1b4 [2024-10-22T18:24:54.066Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T18:24:54.347Z] ---> Running in 0135ae8091f9 [2024-10-22T18:24:56.287Z] Removing intermediate container 0135ae8091f9 [2024-10-22T18:24:56.287Z] ---> 470daeebe0af [2024-10-22T18:24:56.287Z] Step 10/26 : COPY . . [2024-10-22T18:24:57.694Z] ---> f81b13ea260c [2024-10-22T18:24:57.694Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-22T18:24:57.694Z] ---> Running in b68d65d8e9b2 [2024-10-22T18:24:57.961Z] Removing intermediate container b68d65d8e9b2 [2024-10-22T18:24:57.961Z] ---> 064f53b96212 [2024-10-22T18:24:57.961Z] Step 12/26 : RUN ${MAKE} [2024-10-22T18:24:57.961Z] ---> Running in 8ba152dcf968 [2024-10-22T18:24:58.918Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.48" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-uart ./cmd [2024-10-22T18:28:50.767Z] Removing intermediate container 8ba152dcf968 [2024-10-22T18:28:50.767Z] ---> bb26600b1c7f [2024-10-22T18:28:50.767Z] Step 13/26 : FROM alpine:3.20 [2024-10-22T18:28:50.767Z] 3.20: Pulling from library/alpine [2024-10-22T18:28:50.767Z] cf04c63912e1: Already exists [2024-10-22T18:28:50.767Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-22T18:28:50.767Z] Status: Downloaded newer image for alpine:3.20 [2024-10-22T18:28:50.767Z] ---> c157a85ed455 [2024-10-22T18:28:50.767Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-22T18:28:50.767Z] ---> Running in 82aa231f20c6 [2024-10-22T18:28:50.767Z] Removing intermediate container 82aa231f20c6 [2024-10-22T18:28:50.767Z] ---> 383846424ec1 [2024-10-22T18:28:50.768Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-22T18:28:50.768Z] ---> Running in ba368bb06c79 [2024-10-22T18:28:50.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:50.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:50.768Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-22T18:28:50.768Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T18:28:50.768Z] OK: 9 MiB in 15 packages [2024-10-22T18:28:50.768Z] Removing intermediate container ba368bb06c79 [2024-10-22T18:28:50.768Z] ---> 270d50af2649 [2024-10-22T18:28:50.768Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-22T18:28:50.768Z] ---> Running in 4f2fd486e157 [2024-10-22T18:28:50.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:50.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:50.768Z] Upgrading critical system libraries and apk-tools: [2024-10-22T18:28:50.768Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-22T18:28:50.768Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T18:28:50.768Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T18:28:50.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:50.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:50.768Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T18:28:50.768Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T18:28:50.768Z] OK: 9 MiB in 15 packages [2024-10-22T18:28:50.768Z] Removing intermediate container 4f2fd486e157 [2024-10-22T18:28:50.768Z] ---> 1dd5c35979f7 [2024-10-22T18:28:50.768Z] Step 17/26 : WORKDIR / [2024-10-22T18:28:50.768Z] ---> Running in a53137757cf7 [2024-10-22T18:28:50.768Z] Removing intermediate container a53137757cf7 [2024-10-22T18:28:50.768Z] ---> 889d4c2fbbcf [2024-10-22T18:28:50.768Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-10-22T18:28:50.768Z] ---> f62e28d899e9 [2024-10-22T18:28:50.768Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-10-22T18:28:50.768Z] ---> 8ee83eee0be9 [2024-10-22T18:28:50.768Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-10-22T18:28:51.361Z] ---> 8e01ac3578ad [2024-10-22T18:28:51.361Z] Step 21/26 : EXPOSE 59995 [2024-10-22T18:28:51.627Z] ---> Running in 9da3e1914c0a [2024-10-22T18:28:51.893Z] Removing intermediate container 9da3e1914c0a [2024-10-22T18:28:51.893Z] ---> 5ec8c985bde3 [2024-10-22T18:28:51.893Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-10-22T18:28:51.893Z] ---> Running in 959b039898e8 [2024-10-22T18:28:52.159Z] Removing intermediate container 959b039898e8 [2024-10-22T18:28:52.159Z] ---> 664d40fca9b5 [2024-10-22T18:28:52.159Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-22T18:28:52.425Z] ---> Running in 1a42df2e9506 [2024-10-22T18:28:52.692Z] Removing intermediate container 1a42df2e9506 [2024-10-22T18:28:52.692Z] ---> a1c8d3cf4cf8 [2024-10-22T18:28:52.692Z] Step 24/26 : LABEL arch=arm64 [2024-10-22T18:28:52.692Z] ---> Running in 55b9496cd9b0 [2024-10-22T18:28:52.961Z] Removing intermediate container 55b9496cd9b0 [2024-10-22T18:28:52.961Z] ---> 27e3a32d93ed [2024-10-22T18:28:52.961Z] Step 25/26 : LABEL git_sha=6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [2024-10-22T18:28:52.961Z] ---> Running in ddd6549c8444 [2024-10-22T18:28:53.230Z] Removing intermediate container ddd6549c8444 [2024-10-22T18:28:53.230Z] ---> 8f537c32d4fe [2024-10-22T18:28:53.230Z] Step 26/26 : LABEL version=0.0.0 [2024-10-22T18:28:53.498Z] ---> Running in 82abf5c9aed1 [2024-10-22T18:28:53.765Z] Removing intermediate container 82abf5c9aed1 [2024-10-22T18:28:53.765Z] ---> 4faf6b010c54 [2024-10-22T18:28:53.765Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-22T18:28:53.765Z] Successfully built 4faf6b010c54 [2024-10-22T18:28:53.765Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:28:54.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:28:54.697Z] [2024-10-22T18:28:54.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:28:55.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:28:55.114Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-22T18:28:55.114Z] 8998bd30e6a1: Pulling fs layer [2024-10-22T18:28:55.114Z] 04944245beec: Pulling fs layer [2024-10-22T18:28:55.114Z] 699f458cf7ca: Pulling fs layer [2024-10-22T18:28:55.114Z] 765212b225bb: Pulling fs layer [2024-10-22T18:28:55.114Z] f23df028b6ca: Pulling fs layer [2024-10-22T18:28:55.114Z] d65c8cfc05b1: Pulling fs layer [2024-10-22T18:28:55.114Z] 2437ff75d9bd: Pulling fs layer [2024-10-22T18:28:55.114Z] 765212b225bb: Waiting [2024-10-22T18:28:55.114Z] d65c8cfc05b1: Waiting [2024-10-22T18:28:55.114Z] f23df028b6ca: Waiting [2024-10-22T18:28:55.114Z] 2437ff75d9bd: Waiting [2024-10-22T18:28:55.381Z] 04944245beec: Verifying Checksum [2024-10-22T18:28:55.381Z] 04944245beec: Download complete [2024-10-22T18:28:55.381Z] 765212b225bb: Verifying Checksum [2024-10-22T18:28:55.381Z] 765212b225bb: Download complete [2024-10-22T18:28:55.381Z] f23df028b6ca: Download complete [2024-10-22T18:28:55.381Z] d65c8cfc05b1: Verifying Checksum [2024-10-22T18:28:55.381Z] d65c8cfc05b1: Download complete [2024-10-22T18:28:55.381Z] 699f458cf7ca: Verifying Checksum [2024-10-22T18:28:55.381Z] 699f458cf7ca: Download complete [2024-10-22T18:28:55.965Z] 8998bd30e6a1: Verifying Checksum [2024-10-22T18:28:55.965Z] 8998bd30e6a1: Download complete [2024-10-22T18:28:58.542Z] 2437ff75d9bd: Verifying Checksum [2024-10-22T18:28:58.542Z] 2437ff75d9bd: Download complete [2024-10-22T18:29:00.488Z] 8998bd30e6a1: Pull complete [2024-10-22T18:29:01.072Z] 04944245beec: Pull complete [2024-10-22T18:29:03.032Z] 699f458cf7ca: Pull complete [2024-10-22T18:29:03.032Z] 765212b225bb: Pull complete [2024-10-22T18:29:03.997Z] f23df028b6ca: Pull complete [2024-10-22T18:29:03.997Z] d65c8cfc05b1: Pull complete [2024-10-22T18:29:22.302Z] 2437ff75d9bd: Pull complete [2024-10-22T18:29:22.302Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-22T18:29:22.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:29:22.302Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:29:22.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-23535 does not seem to be running inside a container [2024-10-22T18:29:22.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-22T18:29:25.659Z] $ docker top 617d564c3c75cac221d5a20c26ad03f3cd3696578b30b41959f22da911c57caf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:26.580Z] ---> job-cost.sh [2024-10-22T18:29:26.580Z] lf-activate-venv: SKIPPING [2024-10-22T18:29:26.580Z] INFO: No Stack... [2024-10-22T18:29:27.160Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-22T18:29:27.744Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T18:29:28.076Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-10-22T18:29:28.076Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T18:29:28.160Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-81-1-stack-cost] [2024-10-22T18:29:28.170Z] Resource [jenkins-edgexfoundry-device-uart-PR-81-1-stack-cost] did not exist. Created. [2024-10-22T18:29:28.176Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-81-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T18:29:28.611Z] /w/workspace/device-uart/1@tmp/durable-150d0b8f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-22T18:29:29.285Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-22T18:29:29.327Z] Warning: overwriting stash ‘stack-cost’ [2024-10-22T18:29:29.373Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T18:29:29.394Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-81-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T18:29:29.487Z] $ docker stop --time=1 617d564c3c75cac221d5a20c26ad03f3cd3696578b30b41959f22da911c57caf [2024-10-22T18:29:31.471Z] $ docker rm -f --volumes 617d564c3c75cac221d5a20c26ad03f3cd3696578b30b41959f22da911c57caf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-22T18:29:32.694Z] provisioning config files... [2024-10-22T18:29:32.702Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-81@tmp/config14053969671080701822tmp [Pipeline] { [Pipeline] sh [2024-10-22T18:29:33.058Z] + set +x [2024-10-22T18:29:33.058Z] + + curlbash -s -s https://codecov.io/bash -- [2024-10-22T18:29:33.058Z] [2024-10-22T18:29:33.058Z] [2024-10-22T18:29:33.058Z] _____ _ [2024-10-22T18:29:33.058Z] / ____| | | [2024-10-22T18:29:33.058Z] | | ___ __| | ___ ___ _____ __ [2024-10-22T18:29:33.058Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-22T18:29:33.058Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-22T18:29:33.058Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-22T18:29:33.058Z] Bash-1.0.6 [2024-10-22T18:29:33.058Z] [2024-10-22T18:29:33.058Z] [2024-10-22T18:29:33.058Z] ==> git version 2.25.1 found [2024-10-22T18:29:33.058Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-22T18:29:33.058Z] Release-Date: 2020-01-08 [2024-10-22T18:29:33.058Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-22T18:29:33.058Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-22T18:29:33.058Z] ==> Jenkins CI detected. [2024-10-22T18:29:33.058Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-81 [2024-10-22T18:29:33.058Z] project root: . [2024-10-22T18:29:33.058Z] --> token set from env [2024-10-22T18:29:33.058Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-22T18:29:33.058Z] ==> Running gcov in . (disable via -X gcov) [2024-10-22T18:29:33.058Z] ==> Python coveragepy not found [2024-10-22T18:29:33.058Z] ==> Searching for coverage reports in: [2024-10-22T18:29:33.058Z] + . [2024-10-22T18:29:33.058Z] -> Found 1 reports [2024-10-22T18:29:33.058Z] ==> Detecting git/mercurial file structure [2024-10-22T18:29:33.317Z] ==> Reading reports [2024-10-22T18:29:33.317Z] + ./coverage.out bytes=6770 [2024-10-22T18:29:33.317Z] ==> Appending adjustments [2024-10-22T18:29:33.317Z] https://docs.codecov.io/docs/fixing-reports [2024-10-22T18:29:33.317Z] + Found adjustments [2024-10-22T18:29:33.317Z] ==> Gzipping contents [2024-10-22T18:29:33.317Z] 4.0K /tmp/codecov.DFCELx.gz [2024-10-22T18:29:33.317Z] ==> Uploading reports [2024-10-22T18:29:33.317Z] url: https://codecov.io [2024-10-22T18:29:33.317Z] query: branch=PR-81&commit=6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-81%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=81&job=&cmd_args= [2024-10-22T18:29:33.317Z] -> Pinging Codecov [2024-10-22T18:29:33.317Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-81&commit=6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-81%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=81&job=&cmd_args= [2024-10-22T18:29:43.305Z] -> Uploading to [2024-10-22T18:29:43.305Z] https://storage.googleapis.com/codecov/shelter/v4/github/lf-edge/device-uart/6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98/bd0a4af9-89bb-40e3-bcf1-08c659dd5d38.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241022%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241022T182939Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=cf235f37f4945cbd8ac1db348933a84e09b316687bf040ee7ca2f5539cb82cdf [2024-10-22T18:29:43.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T18:29:43.305Z] Dload Upload Total Spent Left Speed [2024-10-22T18:29:43.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1341 0 0 100 1341 0 5451 --:--:-- --:--:-- --:--:-- 5429 [2024-10-22T18:29:43.305Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/6d1f4e2f3a77e76586e7caddeafcb92d3aa24e98 [Pipeline] } [2024-10-22T18:29:43.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-22T18:29:45.714Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-81/archives ] [2024-10-22T18:29:45.714Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-81/archives [2024-10-22T18:29:45.714Z] total 16 [2024-10-22T18:29:45.714Z] drwxr-xr-x 3 root root 4096 Oct 22 18:17 . [2024-10-22T18:29:45.714Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 18:17 .. [2024-10-22T18:29:45.714Z] drwxr-xr-x 2 root root 4096 Oct 22 18:17 cost [2024-10-22T18:29:45.714Z] -rw-r--r-- 1 root root 82 Oct 22 18:17 cost.csv [2024-10-22T18:29:45.714Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-81/archives [2024-10-22T18:29:45.714Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-81/archives [2024-10-22T18:29:45.714Z] total 16 [2024-10-22T18:29:45.714Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:17 . [2024-10-22T18:29:45.714Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 18:17 .. [2024-10-22T18:29:45.714Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 18:17 cost [2024-10-22T18:29:45.714Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 22 18:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:46.063Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:46.978Z] ---> package-listing.sh [2024-10-22T18:29:46.978Z] ++ facter osfamily [2024-10-22T18:29:46.978Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-22T18:29:47.238Z] + OS_FAMILY=debian [2024-10-22T18:29:47.238Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-81 [2024-10-22T18:29:47.238Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-22T18:29:47.238Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-22T18:29:47.238Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-22T18:29:47.238Z] + PACKAGES=/tmp/packages_start.txt [2024-10-22T18:29:47.238Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-81 ']' [2024-10-22T18:29:47.238Z] + PACKAGES=/tmp/packages_end.txt [2024-10-22T18:29:47.238Z] + case "${OS_FAMILY}" in [2024-10-22T18:29:47.238Z] + dpkg -l [2024-10-22T18:29:47.238Z] + grep '^ii' [2024-10-22T18:29:47.238Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-22T18:29:47.238Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-22T18:29:47.238Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-22T18:29:47.238Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-81 ']' [2024-10-22T18:29:47.238Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-81/archives/ [2024-10-22T18:29:47.238Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-81/archives/ [Pipeline] echo [2024-10-22T18:29:47.285Z] 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-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-22T18:29:47.588Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:29:48.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:29:48.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:29:48.404Z] prd-ubuntu20.04-docker-8c-8g-23533 does not seem to be running inside a container [2024-10-22T18:29:48.434Z] $ 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-81/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-81 -v /w/workspace/edgexfoundry_device-uart_PR-81:/w/workspace/edgexfoundry_device-uart_PR-81:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-81@tmp:/w/workspace/edgexfoundry_device-uart_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-22T18:29:48.662Z] $ docker top f1bcb5a90c2bb6e0c5c85389ff6c2c8f1c46112f3231fbc2071591eacdfdfeba -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:29:49.088Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-22T18:29:49.405Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-22T18:29:49.730Z] + ls /var/log/sa-host [2024-10-22T18:29:49.730Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:29:49.890Z] provisioning config files... [2024-10-22T18:29:49.898Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-81@tmp/config16156178529507638163tmp [Pipeline] { [Pipeline] echo [2024-10-22T18:29:49.969Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:50.292Z] ---> create-netrc.sh [Pipeline] } [2024-10-22T18:29:50.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:50.749Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-22T18:29:50.791Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:51.115Z] ---> sudo-logs.sh [2024-10-22T18:29:51.115Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-22T18:29:51.216Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:51.549Z] ---> job-cost.sh [2024-10-22T18:29:51.549Z] lf-activate-venv: SKIPPING [2024-10-22T18:29:51.549Z] DEBUG: total: 0.2199999988079071 [2024-10-22T18:29:51.549Z] INFO: Retrieving Stack Cost... [2024-10-22T18:29:51.808Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T18:29:52.380Z] INFO: Archiving Costs [Pipeline] echo [2024-10-22T18:29:52.423Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:52.748Z] ---> logs-deploy.sh [2024-10-22T18:29:52.748Z] lf-activate-venv: SKIPPING [2024-10-22T18:29:52.748Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-81/1 [2024-10-22T18:29:52.748Z] INFO: archiving workspace using pattern(s): [2024-10-22T18:29:53.688Z] Archives upload complete. [2024-10-22T18:29:53.688Z] INFO: archiving logs to Nexus