Pull request #25 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-uart Obtained Jenkinsfile from 5089f3c862426ed73dedf318d808310baa83536c+eed745f62e362350c96cbc5d7056f691b368baad (11abcb81d9e967e478993d4d52453978e2edce66) 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-ssh17043554190213772557.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh18091745104611005236.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-25/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-25/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15120139775031371169.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-25/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12047300413505679162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh9314823997573600542.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-25/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-25/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16274941701550101631.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6751 in /w/workspace/edgexfoundry_device-uart_PR-25 [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-25 # 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/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eed745f62e362350c96cbc5d7056f691b368baad into PR head commit 5089f3c862426ed73dedf318d808310baa83536c Merge succeeded, producing 5089f3c862426ed73dedf318d808310baa83536c Checking out Revision 5089f3c862426ed73dedf318d808310baa83536c (PR-25) > git config core.sparsecheckout # timeout=10 > git checkout -f 5089f3c862426ed73dedf318d808310baa83536c # 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 eed745f62e362350c96cbc5d7056f691b368baad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5089f3c862426ed73dedf318d808310baa83536c # timeout=10 Commit message: "ci: add automated release workflow on tag creation" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T17:26:06.434Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:26:06.643Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:26:06.741Z] ========================================================= [2023-09-20T17:26:06.741Z] EdgeX Global Pipelines Version Info [2023-09-20T17:26:06.741Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:26:07.474Z] ------------------- [2023-09-20T17:26:07.474Z] stable info: [2023-09-20T17:26:07.474Z] ------------------- [2023-09-20T17:26:07.474Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:26:07.474Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:26:07.474Z] Message: update stable to v1.0.254 [2023-09-20T17:26:08.046Z] ------------------- [2023-09-20T17:26:08.046Z] experimental info: [2023-09-20T17:26:08.046Z] ------------------- [2023-09-20T17:26:08.046Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:26:08.046Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:26:08.046Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:26:08.320Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-09-20T17:26:08.366Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-09-20T17:26:08.408Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:26:08.452Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:26:08.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:26:08.541Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T17:26:08.595Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T17:26:08.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T17:26:08.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T17:26:08.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:26:08.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:26:08.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-09-20T17:26:08.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:26:08.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:26:08.944Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:26:08.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:26:09.028Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:26:09.076Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:26:09.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:26:09.156Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:26:09.203Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T17:26:09.246Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T17:26:09.290Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T17:26:09.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T17:26:09.388Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T17:26:09.438Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:26:09.495Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T17:26:09.546Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo [2023-09-20T17:26:09.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo [2023-09-20T17:26:09.639Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo [2023-09-20T17:26:09.679Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5089f3c862426ed73dedf318d808310baa83536c [Pipeline] echo [2023-09-20T17:26:09.730Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5089f3c [Pipeline] echo [2023-09-20T17:26:09.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:26:09.889Z] provisioning config files... [2023-09-20T17:26:09.907Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-25@tmp/config14770241777016020750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:26:10.247Z] ---> docker-login.sh [2023-09-20T17:26:10.247Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:26:10.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:10.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:10.509Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:10.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:10.509Z] [2023-09-20T17:26:10.509Z] Login Succeeded [2023-09-20T17:26:10.509Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:26:10.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:10.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:10.774Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:10.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:10.774Z] [2023-09-20T17:26:10.774Z] Login Succeeded [2023-09-20T17:26:10.774Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:26:10.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:10.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:10.774Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:10.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:10.774Z] [2023-09-20T17:26:10.774Z] Login Succeeded [2023-09-20T17:26:10.774Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:26:11.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:11.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:11.033Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:11.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:11.033Z] [2023-09-20T17:26:11.033Z] Login Succeeded [2023-09-20T17:26:11.033Z] docker.io [2023-09-20T17:26:11.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:11.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:11.291Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:11.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:11.291Z] [2023-09-20T17:26:11.291Z] Login Succeeded [2023-09-20T17:26:11.291Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:26:11.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T17:26:11.952Z] + git rev-list -1 --merges 5089f3c862426ed73dedf318d808310baa83536c~1..5089f3c862426ed73dedf318d808310baa83536c [Pipeline] echo [2023-09-20T17:26:12.056Z] -----------> git rev-list -1 --merges 5089f3c862426ed73dedf318d808310baa83536c~1..5089f3c862426ed73dedf318d808310baa83536c 5089f3c862426ed73dedf318d808310baa83536c [false] [Pipeline] sh [2023-09-20T17:26:12.367Z] + git log --format=format:%s -1 5089f3c862426ed73dedf318d808310baa83536c [Pipeline] echo [2023-09-20T17:26:12.399Z] ========================================================= [2023-09-20T17:26:12.399Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:26:12.399Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:26:12.834Z] + git log --format=format:%s -1 5089f3c862426ed73dedf318d808310baa83536c [Pipeline] echo [2023-09-20T17:26:12.874Z] [semverPrep] GIT_COMMIT: 5089f3c862426ed73dedf318d808310baa83536c, Commit Message: ci: add automated release workflow on tag creation [Pipeline] echo [2023-09-20T17:26:12.909Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T17:26:13.279Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:26:13.279Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:26:13.279Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:26:13.279Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:26:13.279Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:26:13.279Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:26:13.279Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:26:13.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:26:13.709Z] [2023-09-20T17:26:13.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:26:14.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:26:14.091Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:26:14.091Z] b85a868b505f: Pulling fs layer [2023-09-20T17:26:14.091Z] e2be974225ed: Pulling fs layer [2023-09-20T17:26:14.091Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:26:14.091Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:26:14.091Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:26:14.091Z] eaf3925da568: Pulling fs layer [2023-09-20T17:26:14.091Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:26:14.091Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:26:14.091Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:26:14.091Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:26:14.091Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:26:14.091Z] 988bab9f4d93: Waiting [2023-09-20T17:26:14.091Z] bde34c3a00c8: Waiting [2023-09-20T17:26:14.091Z] b352a97aabf1: Waiting [2023-09-20T17:26:14.091Z] 5851b861e8e6: Waiting [2023-09-20T17:26:14.091Z] eaf3925da568: Waiting [2023-09-20T17:26:14.091Z] 1469e6f7b9e6: Waiting [2023-09-20T17:26:14.091Z] 4872d77fe225: Waiting [2023-09-20T17:26:14.091Z] bab4dde63d76: Waiting [2023-09-20T17:26:14.091Z] e2be974225ed: Verifying Checksum [2023-09-20T17:26:14.091Z] e2be974225ed: Download complete [2023-09-20T17:26:14.091Z] 988bab9f4d93: Verifying Checksum [2023-09-20T17:26:14.091Z] 988bab9f4d93: Download complete [2023-09-20T17:26:14.351Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:26:14.351Z] 1469e6f7b9e6: Download complete [2023-09-20T17:26:14.351Z] eaf3925da568: Verifying Checksum [2023-09-20T17:26:14.351Z] eaf3925da568: Download complete [2023-09-20T17:26:14.351Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:26:14.351Z] 339a4e72a1f5: Download complete [2023-09-20T17:26:14.351Z] bde34c3a00c8: Verifying Checksum [2023-09-20T17:26:14.351Z] bde34c3a00c8: Download complete [2023-09-20T17:26:14.351Z] b352a97aabf1: Download complete [2023-09-20T17:26:14.351Z] 4872d77fe225: Download complete [2023-09-20T17:26:14.351Z] 5851b861e8e6: Download complete [2023-09-20T17:26:14.351Z] b85a868b505f: Verifying Checksum [2023-09-20T17:26:14.351Z] b85a868b505f: Download complete [2023-09-20T17:26:14.918Z] bab4dde63d76: Verifying Checksum [2023-09-20T17:26:14.918Z] bab4dde63d76: Download complete [2023-09-20T17:26:15.908Z] b85a868b505f: Pull complete [2023-09-20T17:26:15.908Z] e2be974225ed: Pull complete [2023-09-20T17:26:16.524Z] 339a4e72a1f5: Pull complete [2023-09-20T17:26:16.524Z] 988bab9f4d93: Pull complete [2023-09-20T17:26:16.781Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:26:16.781Z] eaf3925da568: Pull complete [2023-09-20T17:26:18.679Z] bab4dde63d76: Pull complete [2023-09-20T17:26:18.679Z] bde34c3a00c8: Pull complete [2023-09-20T17:26:18.679Z] b352a97aabf1: Pull complete [2023-09-20T17:26:18.679Z] 4872d77fe225: Pull complete [2023-09-20T17:26:18.679Z] 5851b861e8e6: Pull complete [2023-09-20T17:26:18.679Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:26:18.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:26:18.679Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:26:18.909Z] prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container [2023-09-20T17:26:18.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@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-devops/py-git-semver:0.1.4 cat [2023-09-20T17:26:23.314Z] $ docker top e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 -eo pid,comm [2023-09-20T17:26:23.368Z] 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). [2023-09-20T17:26:23.368Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:26:23.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:26:23.503Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:26:23.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:26:23.626Z] $ docker exec e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 ssh-agent [2023-09-20T17:26:23.736Z] SSH_AUTH_SOCK=/tmp/ssh-dt3tl4B8RtrD/agent.32 [2023-09-20T17:26:23.736Z] SSH_AGENT_PID=38 [2023-09-20T17:26:23.743Z] Running ssh-add (command line suppressed) [2023-09-20T17:26:23.855Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-25@tmp/private_key_599392649755782894.key (/w/workspace/edgexfoundry_device-uart_PR-25@tmp/private_key_599392649755782894.key) [2023-09-20T17:26:23.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:26:24.195Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:26:24.217Z] $ docker exec --env ******** --env ******** e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 ssh-agent -k [2023-09-20T17:26:24.322Z] unset SSH_AUTH_SOCK; [2023-09-20T17:26:24.322Z] unset SSH_AGENT_PID; [2023-09-20T17:26:24.322Z] echo Agent pid 38 killed; [2023-09-20T17:26:24.438Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:26:24.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:26:24.532Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:26:24.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:26:24.632Z] $ docker exec e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 ssh-agent [2023-09-20T17:26:24.734Z] SSH_AUTH_SOCK=/tmp/ssh-TxD2PtRgmDti/agent.70 [2023-09-20T17:26:24.734Z] SSH_AGENT_PID=76 [2023-09-20T17:26:24.738Z] Running ssh-add (command line suppressed) [2023-09-20T17:26:24.839Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-25@tmp/private_key_2294364609336481594.key (/w/workspace/edgexfoundry_device-uart_PR-25@tmp/private_key_2294364609336481594.key) [2023-09-20T17:26:24.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:26:25.182Z] + git semver init [2023-09-20T17:26:25.442Z] 2023-09-20 17:26:25,341 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:26:25.442Z] 2023-09-20 17:26:25,342 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-25/.semver [2023-09-20T17:26:25.442Z] 2023-09-20 17:26:25,342 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-25/.semver [2023-09-20T17:26:25.442Z] 2023-09-20 17:26:25,342 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-25/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-25, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:26:26.378Z] 2023-09-20 17:26:26,138 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-25/.git/info/exclude [2023-09-20T17:26:26.378Z] 2023-09-20 17:26:26,139 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-25/.semver/PR-25 with force:False [2023-09-20T17:26:26.378Z] 2023-09-20 17:26:26,139 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-25/.semver/PR-25 [2023-09-20T17:26:26.378Z] 2023-09-20 17:26:26,143 [execute] INFO git cat-file --batch-check [2023-09-20T17:26:26.378Z] 2023-09-20 17:26:26,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-25/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:26:26.378Z] 2023-09-20 17:26:26,148 [execute] INFO git cat-file --batch [2023-09-20T17:26:26.378Z] 2023-09-20 17:26:26,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-25/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:26:26.378Z] 2023-09-20 17:26:26,153 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-25/.semver/PR-25 [2023-09-20T17:26:26.378Z] 0.0.0 [Pipeline] } [2023-09-20T17:26:26.403Z] $ docker exec --env ******** --env ******** e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 ssh-agent -k [2023-09-20T17:26:26.495Z] unset SSH_AUTH_SOCK; [2023-09-20T17:26:26.495Z] unset SSH_AGENT_PID; [2023-09-20T17:26:26.496Z] echo Agent pid 76 killed; [2023-09-20T17:26:26.506Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:26:26.925Z] + git semver [Pipeline] } [2023-09-20T17:26:27.205Z] $ docker stop --time=1 e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 [2023-09-20T17:26:28.517Z] $ docker rm -f --volumes e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:26:28.919Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:26:29.215Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:26:29.232Z] [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 [2023-09-20T17:26:29.792Z] provisioning config files... [2023-09-20T17:26:29.801Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-25@tmp/config16991743574785508098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:26:30.146Z] ---> docker-login.sh [2023-09-20T17:26:30.146Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:26:30.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:30.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:30.146Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:30.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:30.146Z] [2023-09-20T17:26:30.146Z] Login Succeeded [2023-09-20T17:26:30.146Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:26:30.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:30.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:30.146Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:30.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:30.146Z] [2023-09-20T17:26:30.146Z] Login Succeeded [2023-09-20T17:26:30.146Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:26:30.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:30.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:30.406Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:30.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:30.406Z] [2023-09-20T17:26:30.406Z] Login Succeeded [2023-09-20T17:26:30.406Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:26:30.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:30.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:30.406Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:30.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:30.406Z] [2023-09-20T17:26:30.406Z] Login Succeeded [2023-09-20T17:26:30.406Z] docker.io [2023-09-20T17:26:30.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:30.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:30.670Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:30.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:30.670Z] [2023-09-20T17:26:30.670Z] Login Succeeded [2023-09-20T17:26:30.670Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:26:30.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:26:30.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:26:30.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:26:31.108Z] ========================================================= [2023-09-20T17:26:31.108Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T17:26:31.108Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:26:31.603Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:26:31.604Z] Sending build context to Docker daemon 11.13MB [2023-09-20T17:26:31.604Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:26:31.604Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:26:31.863Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T17:26:31.863Z] 7264a8db6415: Pulling fs layer [2023-09-20T17:26:31.863Z] c4d48a809fc2: Pulling fs layer [2023-09-20T17:26:31.863Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T17:26:31.863Z] ad3a456e5733: Pulling fs layer [2023-09-20T17:26:31.863Z] 33e27b845d1e: Pulling fs layer [2023-09-20T17:26:31.863Z] ad3a456e5733: Waiting [2023-09-20T17:26:31.863Z] c68163c4e522: Pulling fs layer [2023-09-20T17:26:31.863Z] 33e27b845d1e: Waiting [2023-09-20T17:26:31.863Z] c68163c4e522: Waiting [2023-09-20T17:26:31.863Z] 50da416c3ac9: Pulling fs layer [2023-09-20T17:26:31.863Z] 50da416c3ac9: Waiting [2023-09-20T17:26:31.863Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T17:26:31.863Z] 23d2d4c4bb30: Waiting [2023-09-20T17:26:31.863Z] c4d48a809fc2: Download complete [2023-09-20T17:26:31.863Z] ad3a456e5733: Verifying Checksum [2023-09-20T17:26:31.863Z] ad3a456e5733: Download complete [2023-09-20T17:26:31.863Z] 33e27b845d1e: Download complete [2023-09-20T17:26:31.863Z] 7264a8db6415: Verifying Checksum [2023-09-20T17:26:31.863Z] 7264a8db6415: Download complete [2023-09-20T17:26:32.126Z] c68163c4e522: Verifying Checksum [2023-09-20T17:26:32.126Z] c68163c4e522: Download complete [2023-09-20T17:26:32.126Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T17:26:32.126Z] 23d2d4c4bb30: Download complete [2023-09-20T17:26:32.398Z] 7264a8db6415: Pull complete [2023-09-20T17:26:32.398Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T17:26:32.398Z] 4f1c88b9dad5: Download complete [2023-09-20T17:26:32.662Z] c4d48a809fc2: Pull complete [2023-09-20T17:26:32.920Z] 50da416c3ac9: Verifying Checksum [2023-09-20T17:26:32.920Z] 50da416c3ac9: Download complete [2023-09-20T17:26:35.449Z] 4f1c88b9dad5: Pull complete [2023-09-20T17:26:35.449Z] ad3a456e5733: Pull complete [2023-09-20T17:26:35.449Z] 33e27b845d1e: Pull complete [2023-09-20T17:26:35.449Z] c68163c4e522: Pull complete [2023-09-20T17:26:37.977Z] 50da416c3ac9: Pull complete [2023-09-20T17:26:38.241Z] 23d2d4c4bb30: Pull complete [2023-09-20T17:26:38.241Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T17:26:38.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T17:26:38.241Z] ---> 0786185ac409 [2023-09-20T17:26:38.241Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:26:44.620Z] Still waiting to schedule task [2023-09-20T17:26:44.620Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:26:44.620Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:26:44.620Z] ‘prd-ubuntu20.04-docker-8c-8g-6728’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:26:44.620Z] ‘prd-ubuntu20.04-docker-8c-8g-6758’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:26:44.620Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6729’ is offline [2023-09-20T17:26:44.620Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6752’ is offline [2023-09-20T17:26:44.620Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6754’ is offline [2023-09-20T17:26:44.621Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6755’ is offline [2023-09-20T17:26:44.621Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6756’ is offline [2023-09-20T17:26:46.392Z] ---> Running in aa36ecf0ebd0 [2023-09-20T17:26:46.393Z] Removing intermediate container aa36ecf0ebd0 [2023-09-20T17:26:46.393Z] ---> 84398ccc8d47 [2023-09-20T17:26:46.393Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:26:46.966Z] ---> Running in 9395eacac8e8 [2023-09-20T17:26:47.908Z] Removing intermediate container 9395eacac8e8 [2023-09-20T17:26:47.908Z] ---> a53facf66f83 [2023-09-20T17:26:47.908Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:26:48.167Z] ---> Running in b9f2acac2df9 [2023-09-20T17:26:48.428Z] Removing intermediate container b9f2acac2df9 [2023-09-20T17:26:48.428Z] ---> 6568920ffe9f [2023-09-20T17:26:48.428Z] Step 6/12 : WORKDIR /device-uart [2023-09-20T17:26:48.687Z] ---> Running in 308e0de86c04 [2023-09-20T17:26:48.945Z] Removing intermediate container 308e0de86c04 [2023-09-20T17:26:48.945Z] ---> abdafd82c032 [2023-09-20T17:26:48.945Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:26:48.945Z] ---> Running in b257dd19ad8e [2023-09-20T17:26:49.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:26:49.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:26:49.772Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:26:49.772Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:26:49.772Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:26:49.772Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:26:50.031Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:26:50.031Z] OK: 268 MiB in 56 packages [2023-09-20T17:26:51.747Z] Removing intermediate container b257dd19ad8e [2023-09-20T17:26:51.747Z] ---> 08ee90adf27f [2023-09-20T17:26:51.747Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T17:26:51.747Z] ---> 062d374f8ec6 [2023-09-20T17:26:51.747Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:26:51.747Z] ---> Running in 8fbfab327d33 [2023-09-20T17:27:49.219Z] Removing intermediate container 8fbfab327d33 [2023-09-20T17:27:49.219Z] ---> 988afc5cd886 [2023-09-20T17:27:49.219Z] Step 10/12 : COPY . . [2023-09-20T17:27:49.219Z] ---> d7b8516d26fd [2023-09-20T17:27:49.219Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:27:49.219Z] ---> Running in 580dee3e0f76 [2023-09-20T17:27:49.219Z] Removing intermediate container 580dee3e0f76 [2023-09-20T17:27:49.219Z] ---> 8722a4b0f2c1 [2023-09-20T17:27:49.219Z] Step 12/12 : RUN ${MAKE} [2023-09-20T17:27:49.219Z] ---> Running in cf7e8d311b15 [2023-09-20T17:27:49.219Z] noop [2023-09-20T17:27:49.219Z] Removing intermediate container cf7e8d311b15 [2023-09-20T17:27:49.219Z] ---> ce90f58af73d [2023-09-20T17:27:49.219Z] Successfully built ce90f58af73d [2023-09-20T17:27:49.219Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:27:49.658Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:27:49.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:27:49.794Z] prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container [2023-09-20T17:27:49.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T17:27:50.779Z] $ docker top 5b5db8985da8ed10449b59215614b9b838e94c718d3abc73debb4b80eefa5391 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:27:51.168Z] + go version [2023-09-20T17:27:51.168Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T17:27:51.199Z] $ docker stop --time=1 5b5db8985da8ed10449b59215614b9b838e94c718d3abc73debb4b80eefa5391 [2023-09-20T17:27:52.500Z] $ docker rm -f --volumes 5b5db8985da8ed10449b59215614b9b838e94c718d3abc73debb4b80eefa5391 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:27:53.204Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:27:53.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:27:53.358Z] prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container [2023-09-20T17:27:53.383Z] $ 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-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T17:27:53.696Z] $ docker top b7c9498477e6d8964bdb5cf8e41ff47a2a73aed04e3d845585adca0159d996a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:27:54.081Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-25 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:27:54.452Z] + make test [2023-09-20T17:27:54.452Z] go test ./... -coverprofile=coverage.out [2023-09-20T17:27:55.829Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-09-20T17:28:05.790Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-09-20T17:28:05.790Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-09-20T17:28:11.047Z] go vet ./... [2023-09-20T17:28:13.635Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:28:13.635Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:28:13.635Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:28:13.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:28:13.698Z] $ docker stop --time=1 b7c9498477e6d8964bdb5cf8e41ff47a2a73aed04e3d845585adca0159d996a4 [2023-09-20T17:28:19.071Z] $ docker rm -f --volumes b7c9498477e6d8964bdb5cf8e41ff47a2a73aed04e3d845585adca0159d996a4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:28:19.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:28:19.674Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T17:28:20.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:28:20.579Z] + ls -al . [2023-09-20T17:28:20.579Z] total 148 [2023-09-20T17:28:20.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:27 . [2023-09-20T17:28:20.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 .. [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:26 .dockerignore [2023-09-20T17:28:20.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:28 .git [2023-09-20T17:28:20.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 .github [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 17:26 .gitignore [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:26 .golangci.yml [2023-09-20T17:28:20.579Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:26 .semver [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 9941 Sep 20 17:26 Attribution.txt [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 1777 Sep 20 17:26 Dockerfile [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:26 GOVERNANCE.md [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 675 Sep 20 17:26 Jenkinsfile [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:26 LICENSE [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 20 17:26 Makefile [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:26 OWNERS.md [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 7340 Sep 20 17:26 README.md [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:26 VERSION [2023-09-20T17:28:20.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 bin [2023-09-20T17:28:20.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 cmd [2023-09-20T17:28:20.579Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 20 17:27 coverage.out [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 3719 Sep 20 17:26 go.mod [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 33980 Sep 20 17:26 go.sum [2023-09-20T17:28:20.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 internal [2023-09-20T17:28:20.579Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:28:20.981Z] + 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=5089f3c862426ed73dedf318d808310baa83536c --label arch=amd64 --label version=0.0.0 . [2023-09-20T17:28:20.982Z] Sending build context to Docker daemon 11.13MB [2023-09-20T17:28:20.982Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:28:20.982Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T17:28:20.982Z] ---> ce90f58af73d [2023-09-20T17:28:20.982Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:28:21.550Z] ---> Running in 504befe69517 [2023-09-20T17:28:21.550Z] Removing intermediate container 504befe69517 [2023-09-20T17:28:21.550Z] ---> f03b0c87943a [2023-09-20T17:28:21.550Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:28:21.550Z] ---> Running in 2d5014801894 [2023-09-20T17:28:21.808Z] Removing intermediate container 2d5014801894 [2023-09-20T17:28:21.808Z] ---> 5b755114ed5b [2023-09-20T17:28:21.808Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:28:21.808Z] ---> Running in b82a35ad49a9 [2023-09-20T17:28:21.808Z] Removing intermediate container b82a35ad49a9 [2023-09-20T17:28:21.808Z] ---> 16e24fd08200 [2023-09-20T17:28:21.808Z] Step 6/25 : WORKDIR /device-uart [2023-09-20T17:28:21.808Z] ---> Running in 091097a410e3 [2023-09-20T17:28:21.808Z] Removing intermediate container 091097a410e3 [2023-09-20T17:28:21.808Z] ---> 32b082f6b6e1 [2023-09-20T17:28:21.808Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:28:22.066Z] ---> Running in 1b3ee99da72e [2023-09-20T17:28:22.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:28:22.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:28:22.900Z] OK: 268 MiB in 56 packages [2023-09-20T17:28:23.467Z] Removing intermediate container 1b3ee99da72e [2023-09-20T17:28:23.467Z] ---> d0a455eca3ac [2023-09-20T17:28:23.467Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-20T17:28:23.467Z] ---> 62d4441b9875 [2023-09-20T17:28:23.467Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:28:23.467Z] ---> Running in afcd5e62f4b2 [2023-09-20T17:28:24.033Z] Removing intermediate container afcd5e62f4b2 [2023-09-20T17:28:24.033Z] ---> cd48d538c012 [2023-09-20T17:28:24.033Z] Step 10/25 : COPY . . [2023-09-20T17:28:24.600Z] ---> 094707cba7e8 [2023-09-20T17:28:24.600Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:28:24.600Z] ---> Running in 130e1440e087 [2023-09-20T17:28:24.600Z] Removing intermediate container 130e1440e087 [2023-09-20T17:28:24.600Z] ---> 521795e2bc2b [2023-09-20T17:28:24.600Z] Step 12/25 : RUN ${MAKE} [2023-09-20T17:28:24.600Z] ---> Running in bf8fd61f9e39 [2023-09-20T17:28:24.857Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-09-20T17:28:51.425Z] Removing intermediate container bf8fd61f9e39 [2023-09-20T17:28:51.425Z] ---> e7d0705d6d9f [2023-09-20T17:28:51.425Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T17:28:51.425Z] 3.18: Pulling from library/alpine [2023-09-20T17:28:51.425Z] 7264a8db6415: Already exists [2023-09-20T17:28:51.425Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:28:51.425Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:28:51.425Z] ---> 7e01a0d0a1dc [2023-09-20T17:28:51.425Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-20T17:28:51.425Z] ---> Running in 99b5762b121e [2023-09-20T17:28:51.425Z] Removing intermediate container 99b5762b121e [2023-09-20T17:28:51.425Z] ---> 3bf58eececfd [2023-09-20T17:28:51.425Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:28:51.425Z] ---> Running in fcfaf385c42f [2023-09-20T17:28:51.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:28:51.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:28:51.425Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:28:51.425Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:28:51.425Z] OK: 7 MiB in 16 packages [2023-09-20T17:28:51.425Z] Removing intermediate container fcfaf385c42f [2023-09-20T17:28:51.425Z] ---> d823834170ec [2023-09-20T17:28:51.425Z] Step 16/25 : WORKDIR / [2023-09-20T17:28:51.425Z] ---> Running in 05da437218d0 [2023-09-20T17:28:51.425Z] Removing intermediate container 05da437218d0 [2023-09-20T17:28:51.425Z] ---> a06d4e70a2f1 [2023-09-20T17:28:51.425Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-09-20T17:28:51.425Z] ---> 968bb715d2ca [2023-09-20T17:28:51.425Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-09-20T17:28:51.425Z] ---> 8720af488595 [2023-09-20T17:28:51.425Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-09-20T17:28:51.425Z] ---> a393f75a0edc [2023-09-20T17:28:51.425Z] Step 20/25 : EXPOSE 59995 [2023-09-20T17:28:52.378Z] ---> Running in 8d34fe5d91e0 [2023-09-20T17:28:52.636Z] Removing intermediate container 8d34fe5d91e0 [2023-09-20T17:28:52.636Z] ---> ffc38a61edc1 [2023-09-20T17:28:52.636Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-09-20T17:28:52.895Z] ---> Running in 52c5017d25fd [2023-09-20T17:28:52.895Z] Removing intermediate container 52c5017d25fd [2023-09-20T17:28:52.895Z] ---> 7436dd3d034d [2023-09-20T17:28:52.895Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T17:28:53.153Z] ---> Running in 42d2a57c2a56 [2023-09-20T17:28:53.153Z] Removing intermediate container 42d2a57c2a56 [2023-09-20T17:28:53.153Z] ---> 15798d6ad241 [2023-09-20T17:28:53.153Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T17:28:53.153Z] ---> Running in 1e7e0d6ffb71 [2023-09-20T17:28:53.153Z] Removing intermediate container 1e7e0d6ffb71 [2023-09-20T17:28:53.153Z] ---> 8ef59789d6b5 [2023-09-20T17:28:53.153Z] Step 24/25 : LABEL git_sha=5089f3c862426ed73dedf318d808310baa83536c [2023-09-20T17:28:53.153Z] ---> Running in 77f4b23f2a11 [2023-09-20T17:28:53.153Z] Removing intermediate container 77f4b23f2a11 [2023-09-20T17:28:53.153Z] ---> 2c75d2ff10d3 [2023-09-20T17:28:53.153Z] Step 25/25 : LABEL version=0.0.0 [2023-09-20T17:28:53.412Z] ---> Running in 94ec96dd3d88 [2023-09-20T17:28:53.412Z] Removing intermediate container 94ec96dd3d88 [2023-09-20T17:28:53.412Z] ---> e9c98ec5ca3e [2023-09-20T17:28:53.412Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:28:53.412Z] Successfully built e9c98ec5ca3e [2023-09-20T17:28:53.412Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:28:54.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:28:54.315Z] [2023-09-20T17:28:54.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:28:54.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:28:54.689Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:28:54.689Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:28:54.689Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:28:54.689Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:28:54.689Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:28:54.689Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:28:54.689Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:28:54.689Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:28:54.689Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:28:54.689Z] 33b1e0a273af: Waiting [2023-09-20T17:28:54.689Z] 5d3b04190fa2: Waiting [2023-09-20T17:28:54.689Z] 2f39f015ded8: Waiting [2023-09-20T17:28:54.689Z] 5c69ac0246d0: Verifying Checksum [2023-09-20T17:28:54.689Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T17:28:54.689Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:28:54.689Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:28:54.689Z] 33b1e0a273af: Download complete [2023-09-20T17:28:54.689Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T17:28:54.689Z] 5d3b04190fa2: Download complete [2023-09-20T17:28:54.689Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:28:54.689Z] ec43610c2a17: Download complete [2023-09-20T17:28:54.947Z] 5eb5b503b376: Verifying Checksum [2023-09-20T17:28:54.947Z] 5eb5b503b376: Download complete [2023-09-20T17:28:55.515Z] 2f39f015ded8: Download complete [2023-09-20T17:28:56.079Z] 5eb5b503b376: Pull complete [2023-09-20T17:28:56.080Z] 5c69ac0246d0: Pull complete [2023-09-20T17:28:56.646Z] ec43610c2a17: Pull complete [2023-09-20T17:28:56.646Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:28:56.646Z] 33b1e0a273af: Pull complete [2023-09-20T17:28:56.906Z] 5d3b04190fa2: Pull complete [2023-09-20T17:29:01.090Z] 2f39f015ded8: Pull complete [2023-09-20T17:29:01.090Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:29:01.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:29:01.090Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:29:01.302Z] prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container [2023-09-20T17:29:01.326Z] $ 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-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:29:06.765Z] $ docker top 5427f04dfe9ff20b681c9b8208ca12ba6f0acf2490f78724e303346e3fde9cbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:29:07.220Z] ---> job-cost.sh [2023-09-20T17:29:07.220Z] lf-activate-venv: SKIPPING [2023-09-20T17:29:07.220Z] INFO: No Stack... [2023-09-20T17:29:07.478Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:29:07.736Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:29:08.049Z] + cat /w/workspace/edgexfoundry_device-uart_PR-25/archives/cost.csv [2023-09-20T17:29:08.049Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:29:08.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [2023-09-20T17:29:08.091Z] Resource [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] did not exist. Created. [2023-09-20T17:29:08.092Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:29:08.480Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:29:08.534Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:29:08.563Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:29:08.635Z] $ docker stop --time=1 5427f04dfe9ff20b681c9b8208ca12ba6f0acf2490f78724e303346e3fde9cbe [2023-09-20T17:29:09.792Z] $ docker rm -f --volumes 5427f04dfe9ff20b681c9b8208ca12ba6f0acf2490f78724e303346e3fde9cbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:37:39.786Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6951 in /w/workspace/edgexfoundry_device-uart_PR-25 [Pipeline] { [Pipeline] ws [2023-09-20T17:37:39.851Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2023-09-20T17:37:39.936Z] The recommended git tool is: git [2023-09-20T17:37:46.362Z] using credential edgex-jenkins-ssh [2023-09-20T17:37:46.382Z] Cloning the remote Git repository [2023-09-20T17:37:46.433Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-09-20T17:37:46.541Z] > git init /w/workspace/device-uart/1 # timeout=10 [2023-09-20T17:37:46.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-09-20T17:37:46.721Z] > git --version # timeout=10 [2023-09-20T17:37:46.745Z] > git --version # 'git version 2.25.1' [2023-09-20T17:37:46.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:37:46.924Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:37:48.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-09-20T17:37:48.101Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:37:49.834Z] Merging remotes/origin/main commit eed745f62e362350c96cbc5d7056f691b368baad into PR head commit 5089f3c862426ed73dedf318d808310baa83536c [2023-09-20T17:37:50.173Z] Merge succeeded, producing 5089f3c862426ed73dedf318d808310baa83536c [2023-09-20T17:37:50.174Z] Checking out Revision 5089f3c862426ed73dedf318d808310baa83536c (PR-25) [2023-09-20T17:37:49.232Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-09-20T17:37:49.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-09-20T17:37:49.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:37:49.295Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T17:37:49.854Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:37:49.941Z] > git checkout -f 5089f3c862426ed73dedf318d808310baa83536c # timeout=10 [2023-09-20T17:37:50.050Z] > git remote # timeout=10 [2023-09-20T17:37:50.083Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T17:37:50.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:37:50.121Z] > git merge eed745f62e362350c96cbc5d7056f691b368baad # timeout=10 [2023-09-20T17:37:50.150Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T17:37:50.177Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:37:50.196Z] > git checkout -f 5089f3c862426ed73dedf318d808310baa83536c # timeout=10 [2023-09-20T17:37:53.760Z] Commit message: "ci: add automated release workflow on tag creation" [2023-09-20T17:37:53.811Z] > git --version # timeout=10 [2023-09-20T17:37:53.826Z] > git --version # 'git version 2.25.1' [2023-09-20T17:37:53.844Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:37:55.039Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:37:55.039Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:37:55.039Z] Dload Upload Total Spent Left Speed [2023-09-20T17:37:55.039Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-09-20T17:37:55.861Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:37:56.218Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:37:56.218Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:37:56.218Z] { [2023-09-20T17:37:56.218Z] "registry-mirrors": [ [2023-09-20T17:37:56.218Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:37:56.218Z] ], [2023-09-20T17:37:56.218Z] "bip": "10.250.0.254/24", [2023-09-20T17:37:56.218Z] "hosts": [ [2023-09-20T17:37:56.218Z] "tcp://0.0.0.0:5555", [2023-09-20T17:37:56.218Z] "unix:///var/run/docker.sock" [2023-09-20T17:37:56.218Z] ], [2023-09-20T17:37:56.218Z] "mtu": 1458, [2023-09-20T17:37:56.218Z] "selinux-enabled": true, [2023-09-20T17:37:56.218Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:37:56.218Z] } [Pipeline] sh [2023-09-20T17:37:56.572Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:37:56.924Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:38:15.248Z] provisioning config files... [2023-09-20T17:38:15.277Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config2468259069447707821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:38:15.668Z] ---> docker-login.sh [2023-09-20T17:38:15.668Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:38:15.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:16.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:16.208Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:16.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:16.208Z] [2023-09-20T17:38:16.208Z] Login Succeeded [2023-09-20T17:38:16.208Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:38:16.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:16.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:16.747Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:16.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:16.747Z] [2023-09-20T17:38:16.747Z] Login Succeeded [2023-09-20T17:38:16.747Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:38:16.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:17.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:17.016Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:17.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:17.016Z] [2023-09-20T17:38:17.016Z] Login Succeeded [2023-09-20T17:38:17.016Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:38:17.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:17.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:17.287Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:17.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:17.287Z] [2023-09-20T17:38:17.287Z] Login Succeeded [2023-09-20T17:38:17.287Z] docker.io [2023-09-20T17:38:17.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:17.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:17.825Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:17.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:17.825Z] [2023-09-20T17:38:17.825Z] Login Succeeded [2023-09-20T17:38:17.825Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:38:17.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:38:18.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:38:18.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:38:18.281Z] ========================================================= [2023-09-20T17:38:18.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T17:38:18.281Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:38:18.785Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:38:19.055Z] Sending build context to Docker daemon 5.609MB [2023-09-20T17:38:19.055Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:38:19.055Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:38:19.325Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T17:38:19.325Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T17:38:19.325Z] 5d54e960e981: Pulling fs layer [2023-09-20T17:38:19.325Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T17:38:19.325Z] f0e02332f6b5: Pulling fs layer [2023-09-20T17:38:19.325Z] cefa15bbcfad: Pulling fs layer [2023-09-20T17:38:19.325Z] 17808c966233: Pulling fs layer [2023-09-20T17:38:19.325Z] f4c1fc716caa: Pulling fs layer [2023-09-20T17:38:19.325Z] f0e02332f6b5: Waiting [2023-09-20T17:38:19.325Z] cefa15bbcfad: Waiting [2023-09-20T17:38:19.325Z] 17808c966233: Waiting [2023-09-20T17:38:19.325Z] f4c1fc716caa: Waiting [2023-09-20T17:38:19.325Z] 5d54e960e981: Verifying Checksum [2023-09-20T17:38:19.325Z] 5d54e960e981: Download complete [2023-09-20T17:38:19.325Z] f0e02332f6b5: Verifying Checksum [2023-09-20T17:38:19.325Z] f0e02332f6b5: Download complete [2023-09-20T17:38:19.325Z] cefa15bbcfad: Verifying Checksum [2023-09-20T17:38:19.325Z] cefa15bbcfad: Download complete [2023-09-20T17:38:19.325Z] 9fda8d8052c6: Download complete [2023-09-20T17:38:19.911Z] f4c1fc716caa: Verifying Checksum [2023-09-20T17:38:19.911Z] f4c1fc716caa: Download complete [2023-09-20T17:38:21.336Z] c4a7e357bf2a: Download complete [2023-09-20T17:38:21.922Z] 9fda8d8052c6: Pull complete [2023-09-20T17:38:21.922Z] 17808c966233: Verifying Checksum [2023-09-20T17:38:21.922Z] 17808c966233: Download complete [2023-09-20T17:38:22.507Z] 5d54e960e981: Pull complete [2023-09-20T17:38:32.612Z] c4a7e357bf2a: Pull complete [2023-09-20T17:38:32.612Z] f0e02332f6b5: Pull complete [2023-09-20T17:38:32.612Z] cefa15bbcfad: Pull complete [2023-09-20T17:38:40.857Z] 17808c966233: Pull complete [2023-09-20T17:38:41.127Z] f4c1fc716caa: Pull complete [2023-09-20T17:38:41.127Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T17:38:41.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T17:38:41.127Z] ---> ea914061e18c [2023-09-20T17:38:41.127Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:38:43.095Z] ---> Running in c9038d0065d0 [2023-09-20T17:38:43.365Z] Removing intermediate container c9038d0065d0 [2023-09-20T17:38:43.365Z] ---> 5c8beebef31e [2023-09-20T17:38:43.365Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:38:43.634Z] ---> Running in 50e05195f47b [2023-09-20T17:38:43.919Z] Removing intermediate container 50e05195f47b [2023-09-20T17:38:43.919Z] ---> 0d5fb31fb272 [2023-09-20T17:38:43.919Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:38:43.919Z] ---> Running in c66ff37e34d8 [2023-09-20T17:38:44.195Z] Removing intermediate container c66ff37e34d8 [2023-09-20T17:38:44.195Z] ---> 9a9df0a04310 [2023-09-20T17:38:44.195Z] Step 6/12 : WORKDIR /device-uart [2023-09-20T17:38:44.464Z] ---> Running in db463f37ac56 [2023-09-20T17:38:44.739Z] Removing intermediate container db463f37ac56 [2023-09-20T17:38:44.739Z] ---> 5f39d14afd6e [2023-09-20T17:38:44.739Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:38:44.739Z] ---> Running in 16570b2b04d1 [2023-09-20T17:38:46.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:38:46.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:38:47.383Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:38:47.383Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:38:47.383Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:38:47.656Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:38:47.656Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:38:47.656Z] OK: 270 MiB in 56 packages [2023-09-20T17:38:49.075Z] Removing intermediate container 16570b2b04d1 [2023-09-20T17:38:49.075Z] ---> f6f6e421645d [2023-09-20T17:38:49.075Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T17:38:49.358Z] ---> 03c6b82e4eb1 [2023-09-20T17:38:49.358Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:38:49.630Z] ---> Running in 0e9b49c6d463 [2023-09-20T17:40:11.325Z] Removing intermediate container 0e9b49c6d463 [2023-09-20T17:40:11.325Z] ---> 017ff267d2ac [2023-09-20T17:40:11.325Z] Step 10/12 : COPY . . [2023-09-20T17:40:11.325Z] ---> 26e844912437 [2023-09-20T17:40:11.325Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:40:11.325Z] ---> Running in 34beb79717ef [2023-09-20T17:40:11.325Z] Removing intermediate container 34beb79717ef [2023-09-20T17:40:11.325Z] ---> a44b7bd7102e [2023-09-20T17:40:11.325Z] Step 12/12 : RUN ${MAKE} [2023-09-20T17:40:11.325Z] ---> Running in 1d0886d63f01 [2023-09-20T17:40:11.325Z] noop [2023-09-20T17:40:11.325Z] Removing intermediate container 1d0886d63f01 [2023-09-20T17:40:11.325Z] ---> 2102a37efdd0 [2023-09-20T17:40:11.325Z] Successfully built 2102a37efdd0 [2023-09-20T17:40:11.326Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:11.808Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:40:11.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:40:12.091Z] prd-ubuntu20.04-docker-arm64-4c-16g-6951 does not seem to be running inside a container [2023-09-20T17:40:12.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:40:13.982Z] $ docker top 393135903bc078dc59bb72f368277c120320df26f8937864204d21b1a011ede8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:40:14.894Z] + go version [2023-09-20T17:40:14.894Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T17:40:14.929Z] $ docker stop --time=1 393135903bc078dc59bb72f368277c120320df26f8937864204d21b1a011ede8 [2023-09-20T17:40:16.597Z] $ docker rm -f --volumes 393135903bc078dc59bb72f368277c120320df26f8937864204d21b1a011ede8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:17.464Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:40:17.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:40:17.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-6951 does not seem to be running inside a container [2023-09-20T17:40:17.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:40:19.019Z] $ docker top c338fcfd379061ce3f263b14216890f5dd5b927b2d90985fe02b03635c6b19e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:40:19.886Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:40:20.589Z] + make test [2023-09-20T17:40:20.589Z] go test ./... -coverprofile=coverage.out [2023-09-20T17:40:27.244Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-09-20T17:42:03.958Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-09-20T17:42:03.958Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-09-20T17:42:03.958Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T17:42:03.958Z] go vet ./... [2023-09-20T17:42:36.231Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:42:36.231Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:42:36.231Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:42:36.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:42:36.294Z] $ docker stop --time=1 c338fcfd379061ce3f263b14216890f5dd5b927b2d90985fe02b03635c6b19e4 [2023-09-20T17:42:38.371Z] $ docker rm -f --volumes c338fcfd379061ce3f263b14216890f5dd5b927b2d90985fe02b03635c6b19e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:42:39.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:42:39.845Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T17:42:40.322Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:42:40.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:42:41.251Z] + ls -al . [2023-09-20T17:42:41.251Z] total 144 [2023-09-20T17:42:41.251Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 20 17:40 . [2023-09-20T17:42:41.251Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:37 .. [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:37 .dockerignore [2023-09-20T17:42:41.251Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:37 .git [2023-09-20T17:42:41.251Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:37 .github [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 17:37 .gitignore [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:37 .golangci.yml [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 9941 Sep 20 17:37 Attribution.txt [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 1777 Sep 20 17:37 Dockerfile [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:37 GOVERNANCE.md [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 675 Sep 20 17:37 Jenkinsfile [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:37 LICENSE [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 20 17:37 Makefile [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:37 OWNERS.md [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 7340 Sep 20 17:37 README.md [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:26 VERSION [2023-09-20T17:42:41.251Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:37 bin [2023-09-20T17:42:41.251Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:37 cmd [2023-09-20T17:42:41.251Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 20 17:40 coverage.out [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 3719 Sep 20 17:37 go.mod [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 33980 Sep 20 17:37 go.sum [2023-09-20T17:42:41.251Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:37 internal [2023-09-20T17:42:41.251Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:42:41.685Z] + 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=5089f3c862426ed73dedf318d808310baa83536c --label arch=arm64 --label version=0.0.0 . [2023-09-20T17:42:41.966Z] Sending build context to Docker daemon 5.61MB [2023-09-20T17:42:41.966Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:42:41.966Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T17:42:41.966Z] ---> 2102a37efdd0 [2023-09-20T17:42:41.966Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:42:42.262Z] ---> Running in 721692432f12 [2023-09-20T17:42:42.530Z] Removing intermediate container 721692432f12 [2023-09-20T17:42:42.530Z] ---> 77b5f532e566 [2023-09-20T17:42:42.530Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:42:42.530Z] ---> Running in 36b4927988b2 [2023-09-20T17:42:43.115Z] Removing intermediate container 36b4927988b2 [2023-09-20T17:42:43.115Z] ---> 27167ba552ff [2023-09-20T17:42:43.115Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:42:43.115Z] ---> Running in 6007f562c485 [2023-09-20T17:42:43.384Z] Removing intermediate container 6007f562c485 [2023-09-20T17:42:43.384Z] ---> 67728a61e427 [2023-09-20T17:42:43.384Z] Step 6/25 : WORKDIR /device-uart [2023-09-20T17:42:43.653Z] ---> Running in f330fe3f1622 [2023-09-20T17:42:43.923Z] Removing intermediate container f330fe3f1622 [2023-09-20T17:42:43.923Z] ---> 9712a0120988 [2023-09-20T17:42:43.923Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:42:44.194Z] ---> Running in 2e198810bd59 [2023-09-20T17:42:45.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:42:45.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:42:47.159Z] OK: 270 MiB in 56 packages [2023-09-20T17:42:48.153Z] Removing intermediate container 2e198810bd59 [2023-09-20T17:42:48.153Z] ---> 5a81b96d91be [2023-09-20T17:42:48.153Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-20T17:42:49.167Z] ---> 60a1b454fe53 [2023-09-20T17:42:49.167Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:42:49.167Z] ---> Running in e6c291753ccf [2023-09-20T17:42:51.933Z] Removing intermediate container e6c291753ccf [2023-09-20T17:42:51.933Z] ---> a6c53e630488 [2023-09-20T17:42:51.933Z] Step 10/25 : COPY . . [2023-09-20T17:42:52.570Z] ---> 68e778e54e4d [2023-09-20T17:42:52.570Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:42:52.570Z] ---> Running in 97026cef012c [2023-09-20T17:42:52.868Z] Removing intermediate container 97026cef012c [2023-09-20T17:42:52.868Z] ---> cfe24c3d66ac [2023-09-20T17:42:52.868Z] Step 12/25 : RUN ${MAKE} [2023-09-20T17:42:53.158Z] ---> Running in d0fcfd2e7b23 [2023-09-20T17:42:54.126Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-09-20T17:45:00.918Z] Removing intermediate container d0fcfd2e7b23 [2023-09-20T17:45:00.918Z] ---> f16cb7800d56 [2023-09-20T17:45:00.918Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T17:45:00.918Z] 3.18: Pulling from library/alpine [2023-09-20T17:45:00.918Z] 9fda8d8052c6: Already exists [2023-09-20T17:45:00.918Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:45:00.918Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:45:00.918Z] ---> f6648c04cd6c [2023-09-20T17:45:00.918Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-20T17:45:00.918Z] ---> Running in 2f1e29df0ebb [2023-09-20T17:45:00.918Z] Removing intermediate container 2f1e29df0ebb [2023-09-20T17:45:00.918Z] ---> 3e0681914cbc [2023-09-20T17:45:00.918Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:45:00.918Z] ---> Running in f8cf8dffcb3e [2023-09-20T17:45:00.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:45:00.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:45:00.918Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:45:00.918Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:45:00.918Z] OK: 8 MiB in 16 packages [2023-09-20T17:45:00.918Z] Removing intermediate container f8cf8dffcb3e [2023-09-20T17:45:00.918Z] ---> aa83090f38fc [2023-09-20T17:45:00.918Z] Step 16/25 : WORKDIR / [2023-09-20T17:45:00.918Z] ---> Running in e67e676edb65 [2023-09-20T17:45:00.918Z] Removing intermediate container e67e676edb65 [2023-09-20T17:45:00.918Z] ---> ee515445edb0 [2023-09-20T17:45:00.918Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-09-20T17:45:00.918Z] ---> 757c6fef411c [2023-09-20T17:45:00.918Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-09-20T17:45:00.918Z] ---> a5047f19d16e [2023-09-20T17:45:00.918Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-09-20T17:45:00.918Z] ---> 7863e4d05b96 [2023-09-20T17:45:00.918Z] Step 20/25 : EXPOSE 59995 [2023-09-20T17:45:00.918Z] ---> Running in 4d6b42e9ff52 [2023-09-20T17:45:00.918Z] Removing intermediate container 4d6b42e9ff52 [2023-09-20T17:45:00.918Z] ---> 89ca5e445fec [2023-09-20T17:45:00.918Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-09-20T17:45:00.918Z] ---> Running in 702a94209eed [2023-09-20T17:45:00.918Z] Removing intermediate container 702a94209eed [2023-09-20T17:45:00.918Z] ---> 9d2d88a8b97d [2023-09-20T17:45:00.918Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T17:45:00.918Z] ---> Running in 9f1bca14a816 [2023-09-20T17:45:00.918Z] Removing intermediate container 9f1bca14a816 [2023-09-20T17:45:00.918Z] ---> 86230d840b5e [2023-09-20T17:45:00.918Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T17:45:00.918Z] ---> Running in b9d1a7fc1ad8 [2023-09-20T17:45:00.918Z] Removing intermediate container b9d1a7fc1ad8 [2023-09-20T17:45:00.918Z] ---> 6b54074438a7 [2023-09-20T17:45:00.918Z] Step 24/25 : LABEL git_sha=5089f3c862426ed73dedf318d808310baa83536c [2023-09-20T17:45:00.918Z] ---> Running in 39de6b4042d0 [2023-09-20T17:45:00.918Z] Removing intermediate container 39de6b4042d0 [2023-09-20T17:45:00.918Z] ---> 17c22b50d07c [2023-09-20T17:45:00.918Z] Step 25/25 : LABEL version=0.0.0 [2023-09-20T17:45:00.918Z] ---> Running in 79181a6ae8d6 [2023-09-20T17:45:00.918Z] Removing intermediate container 79181a6ae8d6 [2023-09-20T17:45:00.918Z] ---> a488fb95f4a5 [2023-09-20T17:45:00.918Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:45:00.918Z] Successfully built a488fb95f4a5 [2023-09-20T17:45:00.918Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:45:01.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:45:01.727Z] [2023-09-20T17:45:01.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:45:02.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:45:02.135Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:45:02.135Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:45:02.135Z] 04944245beec: Pulling fs layer [2023-09-20T17:45:02.135Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:45:02.135Z] 765212b225bb: Pulling fs layer [2023-09-20T17:45:02.135Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:45:02.135Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:45:02.135Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:45:02.135Z] 765212b225bb: Waiting [2023-09-20T17:45:02.135Z] f23df028b6ca: Waiting [2023-09-20T17:45:02.135Z] d65c8cfc05b1: Waiting [2023-09-20T17:45:02.135Z] 2437ff75d9bd: Waiting [2023-09-20T17:45:02.404Z] 04944245beec: Verifying Checksum [2023-09-20T17:45:02.404Z] 04944245beec: Download complete [2023-09-20T17:45:02.404Z] 765212b225bb: Verifying Checksum [2023-09-20T17:45:02.404Z] 765212b225bb: Download complete [2023-09-20T17:45:02.404Z] f23df028b6ca: Verifying Checksum [2023-09-20T17:45:02.404Z] f23df028b6ca: Download complete [2023-09-20T17:45:02.404Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:45:02.404Z] d65c8cfc05b1: Download complete [2023-09-20T17:45:02.673Z] 699f458cf7ca: Verifying Checksum [2023-09-20T17:45:02.673Z] 699f458cf7ca: Download complete [2023-09-20T17:45:02.943Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T17:45:02.943Z] 8998bd30e6a1: Download complete [2023-09-20T17:45:04.884Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:45:04.884Z] 2437ff75d9bd: Download complete [2023-09-20T17:45:06.830Z] 8998bd30e6a1: Pull complete [2023-09-20T17:45:07.099Z] 04944245beec: Pull complete [2023-09-20T17:45:08.520Z] 699f458cf7ca: Pull complete [2023-09-20T17:45:08.520Z] 765212b225bb: Pull complete [2023-09-20T17:45:09.482Z] f23df028b6ca: Pull complete [2023-09-20T17:45:09.482Z] d65c8cfc05b1: Pull complete [2023-09-20T17:45:24.477Z] 2437ff75d9bd: Pull complete [2023-09-20T17:45:24.477Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T17:45:24.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:45:24.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:45:24.820Z] prd-ubuntu20.04-docker-arm64-4c-16g-6951 does not seem to be running inside a container [2023-09-20T17:45:24.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T17:45:27.581Z] $ docker top 932d998383bffbd1ba34b6ea0c8cb19364f3725f4447a6a63cc9a76bfd1f276c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:45:28.169Z] ---> job-cost.sh [2023-09-20T17:45:28.436Z] lf-activate-venv: SKIPPING [2023-09-20T17:45:28.436Z] INFO: No Stack... [2023-09-20T17:45:28.701Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T17:45:29.660Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:45:30.313Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2023-09-20T17:45:30.313Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:45:30.401Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [2023-09-20T17:45:30.406Z] Resource [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] did not exist. Created. [2023-09-20T17:45:30.407Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:45:30.813Z] /w/workspace/device-uart/1@tmp/durable-57e67b58/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T17:45:31.163Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T17:45:31.194Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T17:45:31.237Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:45:31.257Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:45:31.333Z] $ docker stop --time=1 932d998383bffbd1ba34b6ea0c8cb19364f3725f4447a6a63cc9a76bfd1f276c [2023-09-20T17:45:32.828Z] $ docker rm -f --volumes 932d998383bffbd1ba34b6ea0c8cb19364f3725f4447a6a63cc9a76bfd1f276c [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 [2023-09-20T17:45:33.884Z] provisioning config files... [2023-09-20T17:45:33.891Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-25@tmp/config11481119675087807938tmp [Pipeline] { [Pipeline] sh [2023-09-20T17:45:34.226Z] + set +x [2023-09-20T17:45:34.226Z] + curl -s https://codecov.io/bash [2023-09-20T17:45:34.226Z] + bash -s -- [2023-09-20T17:45:34.226Z] [2023-09-20T17:45:34.226Z] _____ _ [2023-09-20T17:45:34.226Z] / ____| | | [2023-09-20T17:45:34.226Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T17:45:34.226Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T17:45:34.226Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T17:45:34.226Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T17:45:34.226Z] Bash-1.0.6 [2023-09-20T17:45:34.226Z] [2023-09-20T17:45:34.226Z] [2023-09-20T17:45:34.226Z] ==> git version 2.25.1 found [2023-09-20T17:45:34.226Z] ==> 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 [2023-09-20T17:45:34.226Z] Release-Date: 2020-01-08 [2023-09-20T17:45:34.226Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-20T17:45:34.226Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T17:45:34.226Z] ==> Jenkins CI detected. [2023-09-20T17:45:34.226Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-25 [2023-09-20T17:45:34.226Z] project root: . [2023-09-20T17:45:34.226Z] --> token set from env [2023-09-20T17:45:34.226Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T17:45:34.226Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T17:45:34.226Z] ==> Python coveragepy not found [2023-09-20T17:45:34.226Z] ==> Searching for coverage reports in: [2023-09-20T17:45:34.226Z] + . [2023-09-20T17:45:34.226Z] -> Found 1 reports [2023-09-20T17:45:34.226Z] ==> Detecting git/mercurial file structure [2023-09-20T17:45:34.226Z] ==> Reading reports [2023-09-20T17:45:34.485Z] + ./coverage.out bytes=10 [2023-09-20T17:45:34.485Z] ==> Appending adjustments [2023-09-20T17:45:34.485Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T17:45:34.485Z] + Found adjustments [2023-09-20T17:45:34.485Z] ==> Gzipping contents [2023-09-20T17:45:34.485Z] 4.0K /tmp/codecov.Mx3Ixw.gz [2023-09-20T17:45:34.485Z] ==> Uploading reports [2023-09-20T17:45:34.485Z] url: https://codecov.io [2023-09-20T17:45:34.485Z] query: branch=PR-25&commit=5089f3c862426ed73dedf318d808310baa83536c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=25&job=&cmd_args= [2023-09-20T17:45:34.485Z] -> Pinging Codecov [2023-09-20T17:45:34.485Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-25&commit=5089f3c862426ed73dedf318d808310baa83536c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=25&job=&cmd_args= [2023-09-20T17:45:34.485Z] -> Uploading to [2023-09-20T17:45:34.485Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/B9AA6E0BBD74AE3A32605C7A7C664919/5089f3c862426ed73dedf318d808310baa83536c/e4f76173-cb9b-4bea-afb4-ca19bc89a8b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T174534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e0e760f19a38ea8876361a9a6e718fbef94744eb776a14d7866ae19dfb4e85c [2023-09-20T17:45:34.485Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:45:34.485Z] Dload Upload Total Spent Left Speed [2023-09-20T17:45:34.747Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2871 --:--:-- --:--:-- --:--:-- 2871 [2023-09-20T17:45:34.747Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/5089f3c862426ed73dedf318d808310baa83536c [Pipeline] } [2023-09-20T17:45:34.775Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-20T17:45:36.593Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-25/archives ] [2023-09-20T17:45:36.594Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-25/archives [2023-09-20T17:45:36.594Z] total 16 [2023-09-20T17:45:36.594Z] drwxr-xr-x 3 root root 4096 Sep 20 17:29 . [2023-09-20T17:45:36.594Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:29 .. [2023-09-20T17:45:36.594Z] drwxr-xr-x 2 root root 4096 Sep 20 17:29 cost [2023-09-20T17:45:36.594Z] -rw-r--r-- 1 root root 82 Sep 20 17:29 cost.csv [2023-09-20T17:45:36.594Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-25/archives [2023-09-20T17:45:36.594Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-25/archives [2023-09-20T17:45:36.594Z] total 16 [2023-09-20T17:45:36.594Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:29 . [2023-09-20T17:45:36.594Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:29 .. [2023-09-20T17:45:36.594Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:29 cost [2023-09-20T17:45:36.594Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 20 17:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:45:36.917Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:45:37.795Z] ---> package-listing.sh [2023-09-20T17:45:37.795Z] ++ facter osfamily [2023-09-20T17:45:37.795Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T17:45:38.054Z] + OS_FAMILY=debian [2023-09-20T17:45:38.054Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-25 [2023-09-20T17:45:38.054Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T17:45:38.054Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T17:45:38.054Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T17:45:38.054Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T17:45:38.054Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-25 ']' [2023-09-20T17:45:38.054Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T17:45:38.054Z] + case "${OS_FAMILY}" in [2023-09-20T17:45:38.054Z] + dpkg -l [2023-09-20T17:45:38.054Z] + grep '^ii' [2023-09-20T17:45:38.054Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T17:45:38.054Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T17:45:38.054Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T17:45:38.054Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-25 ']' [2023-09-20T17:45:38.054Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-25/archives/ [2023-09-20T17:45:38.054Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-25/archives/ [Pipeline] echo [2023-09-20T17:45:38.088Z] 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-25/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T17:45:38.379Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:45:38.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:45:38.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:45:39.157Z] prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container [2023-09-20T17:45:39.184Z] $ 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-25/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-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:45:39.378Z] $ docker top 95a64300ffec3b137ebd7235f139c029378c9bd565aa39d1747eec82a157155f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:45:39.770Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T17:45:40.075Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T17:45:40.383Z] + ls /var/log/sa-host [2023-09-20T17:45:40.384Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:45:40.598Z] provisioning config files... [2023-09-20T17:45:40.606Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-25@tmp/config16214289535379066429tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:45:40.656Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:45:40.968Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T17:45:41.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:45:41.414Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T17:45:41.443Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:45:41.762Z] ---> sudo-logs.sh [2023-09-20T17:45:41.762Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T17:45:41.854Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:45:42.165Z] ---> job-cost.sh [2023-09-20T17:45:42.165Z] lf-activate-venv: SKIPPING [2023-09-20T17:45:42.165Z] DEBUG: total: 0.2199999988079071 [2023-09-20T17:45:42.165Z] INFO: Retrieving Stack Cost... [2023-09-20T17:45:42.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:45:42.993Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T17:45:43.030Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:45:43.341Z] ---> logs-deploy.sh [2023-09-20T17:45:43.341Z] lf-activate-venv: SKIPPING [2023-09-20T17:45:43.341Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-25/1 [2023-09-20T17:45:43.341Z] INFO: archiving workspace using pattern(s): [2023-09-20T17:45:44.346Z] Archives upload complete. [2023-09-20T17:45:44.346Z] INFO: archiving logs to Nexus