Pull request #36 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 ejlee3 for edgexfoundry/device-uart Loading trusted files from base branch main at dec02cb029fa6ce79400670f54c9fa46c31fe080 rather than 5321131828a205e18ab4c76746ba80b7516f550a Obtained Jenkinsfile from dec02cb029fa6ce79400670f54c9fa46c31fe080 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-ssh11717943101862597327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh97956371390312016.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-36/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-36/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17340799921952972961.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-36/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10920872440391320600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh17947472874074967527.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-36/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-36/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5082723921216722120.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-2488 in /w/workspace/edgexfoundry_device-uart_PR-36 [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-36 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dec02cb029fa6ce79400670f54c9fa46c31fe080 into PR head commit 5321131828a205e18ab4c76746ba80b7516f550a Merge succeeded, producing 5321131828a205e18ab4c76746ba80b7516f550a Checking out Revision 5321131828a205e18ab4c76746ba80b7516f550a (PR-36) > 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/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5321131828a205e18ab4c76746ba80b7516f550a # 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 dec02cb029fa6ce79400670f54c9fa46c31fe080 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5321131828a205e18ab4c76746ba80b7516f550a # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T19:11:09.493Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T19:11:09.714Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T19:11:09.825Z] ========================================================= [2023-11-28T19:11:09.826Z] EdgeX Global Pipelines Version Info [2023-11-28T19:11:09.826Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:11:10.940Z] ------------------- [2023-11-28T19:11:10.940Z] stable info: [2023-11-28T19:11:10.940Z] ------------------- [2023-11-28T19:11:10.940Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T19:11:10.940Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T19:11:10.940Z] Message: update stable to v1.0.258 [2023-11-28T19:11:11.201Z] ------------------- [2023-11-28T19:11:11.201Z] experimental info: [2023-11-28T19:11:11.201Z] ------------------- [2023-11-28T19:11:11.201Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T19:11:11.201Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T19:11:11.201Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T19:11:11.559Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-11-28T19:11:11.622Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-11-28T19:11:11.681Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T19:11:11.747Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T19:11:11.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T19:11:11.870Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T19:11:11.926Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T19:11:11.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T19:11:12.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T19:11:12.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T19:11:12.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T19:11:12.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-11-28T19:11:12.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T19:11:12.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T19:11:12.430Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T19:11:12.498Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T19:11:12.568Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T19:11:12.634Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T19:11:12.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T19:11:12.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T19:11:12.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T19:11:12.974Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T19:11:13.078Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T19:11:13.191Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T19:11:13.263Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T19:11:13.455Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T19:11:13.569Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T19:11:13.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo [2023-11-28T19:11:13.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo [2023-11-28T19:11:13.932Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo [2023-11-28T19:11:14.013Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5321131828a205e18ab4c76746ba80b7516f550a [Pipeline] echo [2023-11-28T19:11:14.225Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5321131 [Pipeline] echo [2023-11-28T19:11:14.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:11:14.721Z] provisioning config files... [2023-11-28T19:11:14.736Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-36@tmp/config2386291299901888618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:11:15.447Z] ---> ****-login.sh [2023-11-28T19:11:15.447Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:11:15.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:15.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:15.712Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:15.712Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:15.712Z] [2023-11-28T19:11:15.712Z] Login Succeeded [2023-11-28T19:11:15.712Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:11:15.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:15.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:15.973Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:15.973Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:15.973Z] [2023-11-28T19:11:15.973Z] Login Succeeded [2023-11-28T19:11:15.973Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:11:15.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:15.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:15.973Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:15.973Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:15.973Z] [2023-11-28T19:11:15.973Z] Login Succeeded [2023-11-28T19:11:15.973Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:11:15.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:15.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:15.973Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:15.973Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:15.973Z] [2023-11-28T19:11:15.973Z] Login Succeeded [2023-11-28T19:11:15.973Z] ****.io [2023-11-28T19:11:16.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:16.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:16.494Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:16.494Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:16.494Z] [2023-11-28T19:11:16.494Z] Login Succeeded [2023-11-28T19:11:16.494Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:11:16.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T19:11:17.353Z] + git rev-list -1 --merges 5321131828a205e18ab4c76746ba80b7516f550a~1..5321131828a205e18ab4c76746ba80b7516f550a [Pipeline] echo [2023-11-28T19:11:17.395Z] -----------> git rev-list -1 --merges 5321131828a205e18ab4c76746ba80b7516f550a~1..5321131828a205e18ab4c76746ba80b7516f550a 5321131828a205e18ab4c76746ba80b7516f550a [false] [Pipeline] sh [2023-11-28T19:11:17.729Z] + git log --format=format:%s -1 5321131828a205e18ab4c76746ba80b7516f550a [Pipeline] echo [2023-11-28T19:11:17.769Z] ========================================================= [2023-11-28T19:11:17.769Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T19:11:17.769Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:11:18.253Z] + git log --format=format:%s -1 5321131828a205e18ab4c76746ba80b7516f550a [Pipeline] echo [2023-11-28T19:11:18.289Z] [semverPrep] GIT_COMMIT: 5321131828a205e18ab4c76746ba80b7516f550a, Commit Message: build: Update to latest 3.2.0 dev go-mods [Pipeline] echo [2023-11-28T19:11:18.334Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T19:11:18.753Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T19:11:18.753Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T19:11:18.753Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T19:11:18.753Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T19:11:18.753Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T19:11:18.753Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T19:11:18.753Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:11:19.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:11:19.210Z] [2023-11-28T19:11:19.210Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:11:19.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:11:19.620Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T19:11:19.620Z] b85a868b505f: Pulling fs layer [2023-11-28T19:11:19.620Z] e2be974225ed: Pulling fs layer [2023-11-28T19:11:19.620Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T19:11:19.620Z] 988bab9f4d93: Pulling fs layer [2023-11-28T19:11:19.620Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T19:11:19.620Z] eaf3925da568: Pulling fs layer [2023-11-28T19:11:19.620Z] bab4dde63d76: Pulling fs layer [2023-11-28T19:11:19.620Z] bde34c3a00c8: Pulling fs layer [2023-11-28T19:11:19.620Z] b352a97aabf1: Pulling fs layer [2023-11-28T19:11:19.620Z] 4872d77fe225: Pulling fs layer [2023-11-28T19:11:19.620Z] 5851b861e8e6: Pulling fs layer [2023-11-28T19:11:19.620Z] bab4dde63d76: Waiting [2023-11-28T19:11:19.620Z] bde34c3a00c8: Waiting [2023-11-28T19:11:19.620Z] b352a97aabf1: Waiting [2023-11-28T19:11:19.620Z] 4872d77fe225: Waiting [2023-11-28T19:11:19.620Z] 5851b861e8e6: Waiting [2023-11-28T19:11:19.620Z] 1469e6f7b9e6: Waiting [2023-11-28T19:11:19.620Z] eaf3925da568: Waiting [2023-11-28T19:11:19.620Z] 988bab9f4d93: Waiting [2023-11-28T19:11:19.620Z] e2be974225ed: Verifying Checksum [2023-11-28T19:11:19.620Z] e2be974225ed: Download complete [2023-11-28T19:11:19.620Z] 988bab9f4d93: Verifying Checksum [2023-11-28T19:11:19.620Z] 988bab9f4d93: Download complete [2023-11-28T19:11:19.881Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T19:11:19.881Z] 1469e6f7b9e6: Download complete [2023-11-28T19:11:19.881Z] eaf3925da568: Verifying Checksum [2023-11-28T19:11:19.881Z] eaf3925da568: Download complete [2023-11-28T19:11:19.881Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T19:11:19.881Z] 339a4e72a1f5: Download complete [2023-11-28T19:11:19.881Z] bde34c3a00c8: Verifying Checksum [2023-11-28T19:11:19.881Z] bde34c3a00c8: Download complete [2023-11-28T19:11:19.881Z] b352a97aabf1: Verifying Checksum [2023-11-28T19:11:19.881Z] b352a97aabf1: Download complete [2023-11-28T19:11:19.881Z] 4872d77fe225: Download complete [2023-11-28T19:11:19.881Z] 5851b861e8e6: Verifying Checksum [2023-11-28T19:11:19.881Z] 5851b861e8e6: Download complete [2023-11-28T19:11:19.881Z] b85a868b505f: Verifying Checksum [2023-11-28T19:11:19.881Z] b85a868b505f: Download complete [2023-11-28T19:11:20.148Z] bab4dde63d76: Verifying Checksum [2023-11-28T19:11:20.148Z] bab4dde63d76: Download complete [2023-11-28T19:11:21.551Z] b85a868b505f: Pull complete [2023-11-28T19:11:21.551Z] e2be974225ed: Pull complete [2023-11-28T19:11:21.815Z] 339a4e72a1f5: Pull complete [2023-11-28T19:11:22.092Z] 988bab9f4d93: Pull complete [2023-11-28T19:11:22.352Z] 1469e6f7b9e6: Pull complete [2023-11-28T19:11:22.352Z] eaf3925da568: Pull complete [2023-11-28T19:11:24.266Z] bab4dde63d76: Pull complete [2023-11-28T19:11:24.527Z] bde34c3a00c8: Pull complete [2023-11-28T19:11:24.527Z] b352a97aabf1: Pull complete [2023-11-28T19:11:24.788Z] 4872d77fe225: Pull complete [2023-11-28T19:11:24.788Z] 5851b861e8e6: Pull complete [2023-11-28T19:11:24.788Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T19:11:24.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:11:24.788Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:11:25.188Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-11-28T19:11:25.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-36 -v /w/workspace/edgexfoundry_device-uart_PR-36:/w/workspace/edgexfoundry_device-uart_PR-36:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-36@tmp:/w/workspace/edgexfoundry_device-uart_PR-36@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-11-28T19:11:28.504Z] $ docker top 19e5995a8d1b63e5a13950d406790139e44cbfcf1c3e95766072272bfe0e8e4c -eo pid,comm [2023-11-28T19:11:28.561Z] 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-11-28T19:11:28.561Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T19:11:28.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T19:11:28.765Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T19:11:28.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T19:11:28.886Z] $ docker exec 19e5995a8d1b63e5a13950d406790139e44cbfcf1c3e95766072272bfe0e8e4c ssh-agent [2023-11-28T19:11:28.997Z] SSH_AUTH_SOCK=/tmp/ssh-nfdWq6ULfYQT/agent.33 [2023-11-28T19:11:28.997Z] SSH_AGENT_PID=39 [2023-11-28T19:11:29.004Z] Running ssh-add (command line suppressed) [2023-11-28T19:11:29.117Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-36@tmp/private_key_5528873665377626629.key (/w/workspace/edgexfoundry_device-uart_PR-36@tmp/private_key_5528873665377626629.key) [2023-11-28T19:11:29.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T19:11:29.488Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T19:11:29.511Z] $ docker exec --env ******** --env ******** 19e5995a8d1b63e5a13950d406790139e44cbfcf1c3e95766072272bfe0e8e4c ssh-agent -k [2023-11-28T19:11:29.612Z] unset SSH_AUTH_SOCK; [2023-11-28T19:11:29.613Z] unset SSH_AGENT_PID; [2023-11-28T19:11:29.613Z] echo Agent pid 39 killed; [2023-11-28T19:11:29.623Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T19:11:29.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T19:11:29.760Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T19:11:29.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T19:11:29.885Z] $ docker exec 19e5995a8d1b63e5a13950d406790139e44cbfcf1c3e95766072272bfe0e8e4c ssh-agent [2023-11-28T19:11:30.017Z] SSH_AUTH_SOCK=/tmp/ssh-h7HYB1OR0oBF/agent.71 [2023-11-28T19:11:30.017Z] SSH_AGENT_PID=77 [2023-11-28T19:11:30.022Z] Running ssh-add (command line suppressed) [2023-11-28T19:11:30.120Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-36@tmp/private_key_9938307222463473314.key (/w/workspace/edgexfoundry_device-uart_PR-36@tmp/private_key_9938307222463473314.key) [2023-11-28T19:11:30.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T19:11:30.487Z] + git semver init [2023-11-28T19:11:30.748Z] 2023-11-28 19:11:30,661 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T19:11:30.748Z] 2023-11-28 19:11:30,662 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-36/.semver [2023-11-28T19:11:30.748Z] 2023-11-28 19:11:30,663 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-36/.semver [2023-11-28T19:11:30.748Z] 2023-11-28 19:11:30,663 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-36/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-36, universal_newlines=False, shell=None, istream=None) [2023-11-28T19:11:32.657Z] 2023-11-28 19:11:32,200 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-36/.git/info/exclude [2023-11-28T19:11:32.657Z] 2023-11-28 19:11:32,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-36/.semver/PR-36 with force:False [2023-11-28T19:11:32.657Z] 2023-11-28 19:11:32,201 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-36/.semver/PR-36 [2023-11-28T19:11:32.657Z] 2023-11-28 19:11:32,206 [execute] INFO git cat-file --batch-check [2023-11-28T19:11:32.657Z] 2023-11-28 19:11:32,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-36/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T19:11:32.657Z] 2023-11-28 19:11:32,213 [execute] INFO git cat-file --batch [2023-11-28T19:11:32.657Z] 2023-11-28 19:11:32,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-36/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T19:11:32.657Z] 2023-11-28 19:11:32,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-36/.semver/PR-36 [2023-11-28T19:11:32.657Z] 0.0.0 [Pipeline] } [2023-11-28T19:11:32.683Z] $ docker exec --env ******** --env ******** 19e5995a8d1b63e5a13950d406790139e44cbfcf1c3e95766072272bfe0e8e4c ssh-agent -k [2023-11-28T19:11:32.781Z] unset SSH_AUTH_SOCK; [2023-11-28T19:11:32.781Z] unset SSH_AGENT_PID; [2023-11-28T19:11:32.781Z] echo Agent pid 77 killed; [2023-11-28T19:11:32.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T19:11:33.312Z] + git semver [Pipeline] } [2023-11-28T19:11:33.597Z] $ docker stop --time=1 19e5995a8d1b63e5a13950d406790139e44cbfcf1c3e95766072272bfe0e8e4c [2023-11-28T19:11:34.873Z] $ docker rm -f --volumes 19e5995a8d1b63e5a13950d406790139e44cbfcf1c3e95766072272bfe0e8e4c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:11:35.325Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T19:11:35.660Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T19:11:35.677Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:11:36.722Z] provisioning config files... [2023-11-28T19:11:36.733Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-36@tmp/config10988606406122222686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:11:37.134Z] ---> ****-login.sh [2023-11-28T19:11:37.134Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:11:37.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:37.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:37.134Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:37.134Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:37.134Z] [2023-11-28T19:11:37.134Z] Login Succeeded [2023-11-28T19:11:37.134Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:11:37.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:37.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:37.134Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:37.135Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:37.135Z] [2023-11-28T19:11:37.135Z] Login Succeeded [2023-11-28T19:11:37.135Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:11:37.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:37.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:37.397Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:37.397Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:37.397Z] [2023-11-28T19:11:37.397Z] Login Succeeded [2023-11-28T19:11:37.397Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:11:37.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:37.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:37.397Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:37.397Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:37.397Z] [2023-11-28T19:11:37.397Z] Login Succeeded [2023-11-28T19:11:37.397Z] ****.io [2023-11-28T19:11:37.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:37.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:37.658Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:37.658Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:37.658Z] [2023-11-28T19:11:37.917Z] Login Succeeded [2023-11-28T19:11:37.918Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:11:37.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:11:38.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:11:38.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:11:38.490Z] ========================================================= [2023-11-28T19:11:38.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T19:11:38.490Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:11:39.072Z] + 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-11-28T19:11:39.073Z] Sending build context to Docker daemon 23.06MB [2023-11-28T19:11:39.073Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:11:39.073Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T19:11:39.357Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T19:11:39.357Z] 7264a8db6415: Pulling fs layer [2023-11-28T19:11:39.357Z] c4d48a809fc2: Pulling fs layer [2023-11-28T19:11:39.357Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T19:11:39.357Z] ad3a456e5733: Pulling fs layer [2023-11-28T19:11:39.357Z] 69c7f0334f64: Pulling fs layer [2023-11-28T19:11:39.357Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T19:11:39.357Z] ce7588e14bc9: Pulling fs layer [2023-11-28T19:11:39.357Z] b5e4710f87ac: Pulling fs layer [2023-11-28T19:11:39.357Z] 69c7f0334f64: Waiting [2023-11-28T19:11:39.357Z] ad3a456e5733: Waiting [2023-11-28T19:11:39.357Z] 1f1c1a5573a3: Waiting [2023-11-28T19:11:39.357Z] ce7588e14bc9: Waiting [2023-11-28T19:11:39.357Z] c4d48a809fc2: Verifying Checksum [2023-11-28T19:11:39.357Z] c4d48a809fc2: Download complete [2023-11-28T19:11:39.357Z] ad3a456e5733: Verifying Checksum [2023-11-28T19:11:39.357Z] ad3a456e5733: Download complete [2023-11-28T19:11:39.357Z] 69c7f0334f64: Download complete [2023-11-28T19:11:39.357Z] 7264a8db6415: Download complete [2023-11-28T19:11:39.357Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T19:11:39.616Z] 7264a8db6415: Pull complete [2023-11-28T19:11:39.616Z] b5e4710f87ac: Verifying Checksum [2023-11-28T19:11:39.616Z] b5e4710f87ac: Download complete [2023-11-28T19:11:39.616Z] c4d48a809fc2: Pull complete [2023-11-28T19:11:39.616Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T19:11:39.616Z] 4f1c88b9dad5: Download complete [2023-11-28T19:11:40.184Z] ce7588e14bc9: Verifying Checksum [2023-11-28T19:11:40.184Z] ce7588e14bc9: Download complete [2023-11-28T19:11:43.488Z] 4f1c88b9dad5: Pull complete [2023-11-28T19:11:43.488Z] ad3a456e5733: Pull complete [2023-11-28T19:11:43.488Z] 69c7f0334f64: Pull complete [2023-11-28T19:11:43.488Z] 1f1c1a5573a3: Pull complete [2023-11-28T19:11:46.027Z] ce7588e14bc9: Pull complete [2023-11-28T19:11:46.288Z] b5e4710f87ac: Pull complete [2023-11-28T19:11:46.547Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T19:11:46.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T19:11:46.547Z] ---> 88b5674ff536 [2023-11-28T19:11:46.547Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:11:50.745Z] ---> Running in e9d1f993cf85 [2023-11-28T19:11:50.745Z] Removing intermediate container e9d1f993cf85 [2023-11-28T19:11:50.745Z] ---> ae8136e993c8 [2023-11-28T19:11:50.745Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:11:50.745Z] ---> Running in 010699443f14 [2023-11-28T19:11:50.745Z] Removing intermediate container 010699443f14 [2023-11-28T19:11:50.745Z] ---> 924d6dc14649 [2023-11-28T19:11:50.745Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:11:50.745Z] ---> Running in 7d53086d97e0 [2023-11-28T19:11:50.745Z] Removing intermediate container 7d53086d97e0 [2023-11-28T19:11:50.745Z] ---> 3b020eefcc59 [2023-11-28T19:11:50.745Z] Step 6/12 : WORKDIR /device-uart [2023-11-28T19:11:50.745Z] ---> Running in a6262097ff09 [2023-11-28T19:11:50.745Z] Removing intermediate container a6262097ff09 [2023-11-28T19:11:50.745Z] ---> 67b1c3908b52 [2023-11-28T19:11:50.745Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:11:50.745Z] ---> Running in 8b583beea929 [2023-11-28T19:11:51.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:11:51.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:11:51.264Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T19:11:51.264Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T19:11:51.264Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T19:11:51.264Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T19:11:51.264Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:11:51.264Z] OK: 268 MiB in 56 packages [2023-11-28T19:11:51.371Z] Still waiting to schedule task [2023-11-28T19:11:51.371Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T19:11:51.832Z] Removing intermediate container 8b583beea929 [2023-11-28T19:11:51.832Z] ---> 777847bbd1d5 [2023-11-28T19:11:51.832Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-28T19:11:51.832Z] ---> 521b18c36a41 [2023-11-28T19:11:51.832Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:11:52.092Z] ---> Running in 467d3325f56a [2023-11-28T19:12:30.947Z] Removing intermediate container 467d3325f56a [2023-11-28T19:12:30.947Z] ---> 59402f3db026 [2023-11-28T19:12:30.947Z] Step 10/12 : COPY . . [2023-11-28T19:12:30.947Z] ---> 34a3df4810a7 [2023-11-28T19:12:30.947Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:12:30.947Z] ---> Running in 41ac7e8e1637 [2023-11-28T19:12:30.947Z] Removing intermediate container 41ac7e8e1637 [2023-11-28T19:12:30.947Z] ---> a7e8426fae14 [2023-11-28T19:12:30.947Z] Step 12/12 : RUN ${MAKE} [2023-11-28T19:12:30.947Z] ---> Running in 65a20c934d6b [2023-11-28T19:12:30.947Z] noop [2023-11-28T19:12:31.207Z] Removing intermediate container 65a20c934d6b [2023-11-28T19:12:31.207Z] ---> d23fddc84003 [2023-11-28T19:12:31.207Z] Successfully built d23fddc84003 [2023-11-28T19:12:31.207Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:12:31.750Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T19:12:31.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:12:31.961Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-11-28T19:12:32.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-36 -v /w/workspace/edgexfoundry_device-uart_PR-36:/w/workspace/edgexfoundry_device-uart_PR-36:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-36@tmp:/w/workspace/edgexfoundry_device-uart_PR-36@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-11-28T19:12:32.364Z] $ docker top aa6e021da24c234d01f1fb1b51097b152a122c5b95b67686cf3351c6ddb5f840 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:12:32.826Z] + go version [2023-11-28T19:12:32.826Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T19:12:32.858Z] $ docker stop --time=1 aa6e021da24c234d01f1fb1b51097b152a122c5b95b67686cf3351c6ddb5f840 [2023-11-28T19:12:34.128Z] $ docker rm -f --volumes aa6e021da24c234d01f1fb1b51097b152a122c5b95b67686cf3351c6ddb5f840 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:12:35.085Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T19:12:35.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:12:35.301Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-11-28T19:12:35.334Z] $ 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-36 -v /w/workspace/edgexfoundry_device-uart_PR-36:/w/workspace/edgexfoundry_device-uart_PR-36:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-36@tmp:/w/workspace/edgexfoundry_device-uart_PR-36@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-11-28T19:12:35.779Z] $ docker top 719736c84f43c16f7fca96f4e4a37b9a2b4da6cfcab03c47e433aaeb486f8803 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:12:36.234Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-36 [Pipeline] fileExists [Pipeline] sh [2023-11-28T19:12:36.620Z] + make test [2023-11-28T19:12:36.620Z] go test ./... -coverprofile=coverage.out [2023-11-28T19:12:38.533Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-11-28T19:12:50.749Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-11-28T19:12:50.749Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-11-28T19:12:56.008Z] go vet ./... [2023-11-28T19:13:00.199Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T19:13:00.199Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T19:13:00.199Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T19:13:00.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T19:13:00.314Z] $ docker stop --time=1 719736c84f43c16f7fca96f4e4a37b9a2b4da6cfcab03c47e433aaeb486f8803 [2023-11-28T19:13:03.505Z] $ docker rm -f --volumes 719736c84f43c16f7fca96f4e4a37b9a2b4da6cfcab03c47e433aaeb486f8803 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:13:04.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T19:13:04.178Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T19:13:04.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T19:13:05.269Z] + ls -al . [2023-11-28T19:13:05.269Z] total 156 [2023-11-28T19:13:05.269Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:12 . [2023-11-28T19:13:05.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:11 .. [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 19:11 .dockerignore [2023-11-28T19:13:05.269Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:12 .git [2023-11-28T19:13:05.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:11 .github [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 28 19:11 .gitignore [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:11 .golangci.yml [2023-11-28T19:13:05.269Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:11 .semver [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 9941 Nov 28 19:11 Attribution.txt [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 28 19:11 CHANGELOG.md [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 1886 Nov 28 19:11 Dockerfile [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:11 GOVERNANCE.md [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 28 19:11 Jenkinsfile [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:11 LICENSE [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 1872 Nov 28 19:11 Makefile [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 28 19:11 OWNERS.md [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 28 19:11 README.md [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 19:11 VERSION [2023-11-28T19:13:05.269Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:11 bin [2023-11-28T19:13:05.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:11 cmd [2023-11-28T19:13:05.269Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 28 19:12 coverage.out [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 3716 Nov 28 19:11 go.mod [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 35303 Nov 28 19:11 go.sum [2023-11-28T19:13:05.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:11 internal [2023-11-28T19:13:05.269Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 28 19:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:13:05.725Z] + 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=5321131828a205e18ab4c76746ba80b7516f550a --label arch=amd64 --label version=0.0.0 . [2023-11-28T19:13:05.725Z] Sending build context to Docker daemon 23.06MB [2023-11-28T19:13:05.725Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:13:05.725Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T19:13:05.725Z] ---> d23fddc84003 [2023-11-28T19:13:05.725Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:13:05.984Z] ---> Running in 9f6d46a59e07 [2023-11-28T19:13:06.243Z] Removing intermediate container 9f6d46a59e07 [2023-11-28T19:13:06.243Z] ---> 63b36e935a90 [2023-11-28T19:13:06.243Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:13:06.244Z] ---> Running in 6828008f90af [2023-11-28T19:13:06.244Z] Removing intermediate container 6828008f90af [2023-11-28T19:13:06.244Z] ---> 77a424787ef2 [2023-11-28T19:13:06.244Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:13:06.244Z] ---> Running in 99f9b983f368 [2023-11-28T19:13:06.244Z] Removing intermediate container 99f9b983f368 [2023-11-28T19:13:06.244Z] ---> 98dd784d5501 [2023-11-28T19:13:06.244Z] Step 6/26 : WORKDIR /device-uart [2023-11-28T19:13:06.503Z] ---> Running in 695deda6bba2 [2023-11-28T19:13:06.503Z] Removing intermediate container 695deda6bba2 [2023-11-28T19:13:06.503Z] ---> c69e0225f943 [2023-11-28T19:13:06.503Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:13:06.503Z] ---> Running in be21beac4850 [2023-11-28T19:13:06.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:13:07.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:13:07.284Z] OK: 268 MiB in 56 packages [2023-11-28T19:13:07.543Z] Removing intermediate container be21beac4850 [2023-11-28T19:13:07.543Z] ---> 0d4de02c03f1 [2023-11-28T19:13:07.543Z] Step 8/26 : COPY go.mod vendor* ./ [2023-11-28T19:13:07.804Z] ---> dfe0d3ed3e90 [2023-11-28T19:13:07.804Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:13:07.805Z] ---> Running in 9dd07e53aea7 [2023-11-28T19:13:08.429Z] Removing intermediate container 9dd07e53aea7 [2023-11-28T19:13:08.429Z] ---> f66a1b664891 [2023-11-28T19:13:08.429Z] Step 10/26 : COPY . . [2023-11-28T19:13:09.195Z] ---> c08c261c56f7 [2023-11-28T19:13:09.195Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:13:09.195Z] ---> Running in 3d322c457ff6 [2023-11-28T19:13:09.195Z] Removing intermediate container 3d322c457ff6 [2023-11-28T19:13:09.195Z] ---> 314747b123bb [2023-11-28T19:13:09.195Z] Step 12/26 : RUN ${MAKE} [2023-11-28T19:13:09.195Z] ---> Running in 12cbaad06754 [2023-11-28T19:13:09.472Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-11-28T19:13:31.427Z] Removing intermediate container 12cbaad06754 [2023-11-28T19:13:31.427Z] ---> bc086fe1bb3c [2023-11-28T19:13:31.427Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T19:13:31.427Z] 3.18: Pulling from library/alpine [2023-11-28T19:13:31.427Z] 96526aa774ef: Pulling fs layer [2023-11-28T19:13:31.427Z] 96526aa774ef: Verifying Checksum [2023-11-28T19:13:31.427Z] 96526aa774ef: Download complete [2023-11-28T19:13:31.427Z] 96526aa774ef: Pull complete [2023-11-28T19:13:31.427Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T19:13:31.427Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T19:13:31.427Z] ---> 8ca4688f4f35 [2023-11-28T19:13:31.427Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-28T19:13:31.427Z] ---> Running in bfaa16907566 [2023-11-28T19:13:31.427Z] Removing intermediate container bfaa16907566 [2023-11-28T19:13:31.427Z] ---> 3a96963ce8df [2023-11-28T19:13:31.427Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T19:13:31.427Z] ---> Running in cc1c79f91d3e [2023-11-28T19:13:31.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:13:31.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:13:31.948Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T19:13:31.948Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T19:13:32.209Z] OK: 7 MiB in 16 packages [2023-11-28T19:13:32.468Z] Removing intermediate container cc1c79f91d3e [2023-11-28T19:13:32.469Z] ---> c49c27e62334 [2023-11-28T19:13:32.469Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-28T19:13:32.469Z] ---> Running in a2df0bc37a8c [2023-11-28T19:13:32.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:13:32.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:13:32.988Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:13:32.988Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:13:32.988Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T19:13:32.988Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:13:32.988Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:13:32.988Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:13:32.988Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:13:32.988Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:13:32.988Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:13:32.988Z] OK: 7 MiB in 16 packages [2023-11-28T19:13:33.557Z] Removing intermediate container a2df0bc37a8c [2023-11-28T19:13:33.557Z] ---> 303e3e31b230 [2023-11-28T19:13:33.557Z] Step 17/26 : WORKDIR / [2023-11-28T19:13:33.557Z] ---> Running in 77b02eb04f78 [2023-11-28T19:13:33.820Z] Removing intermediate container 77b02eb04f78 [2023-11-28T19:13:33.820Z] ---> c2b16bf8e955 [2023-11-28T19:13:33.820Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2023-11-28T19:13:33.820Z] ---> 85e7b54ebd11 [2023-11-28T19:13:33.820Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2023-11-28T19:13:34.079Z] ---> 8617ec764c75 [2023-11-28T19:13:34.079Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2023-11-28T19:13:34.684Z] ---> 8e0141dbc757 [2023-11-28T19:13:34.684Z] Step 21/26 : EXPOSE 59995 [2023-11-28T19:13:34.684Z] ---> Running in 0d7ff095a323 [2023-11-28T19:13:34.944Z] Removing intermediate container 0d7ff095a323 [2023-11-28T19:13:34.944Z] ---> 2ea287a61c91 [2023-11-28T19:13:34.944Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2023-11-28T19:13:34.944Z] ---> Running in 3fa0670835e9 [2023-11-28T19:13:34.944Z] Removing intermediate container 3fa0670835e9 [2023-11-28T19:13:34.944Z] ---> e855a01d2865 [2023-11-28T19:13:34.944Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T19:13:34.944Z] ---> Running in 0e7abfe58775 [2023-11-28T19:13:34.944Z] Removing intermediate container 0e7abfe58775 [2023-11-28T19:13:34.944Z] ---> d4f12d519b9c [2023-11-28T19:13:34.944Z] Step 24/26 : LABEL arch=amd64 [2023-11-28T19:13:35.203Z] ---> Running in 54793da5f335 [2023-11-28T19:13:35.203Z] Removing intermediate container 54793da5f335 [2023-11-28T19:13:35.203Z] ---> 5401af0ab35f [2023-11-28T19:13:35.203Z] Step 25/26 : LABEL git_sha=5321131828a205e18ab4c76746ba80b7516f550a [2023-11-28T19:13:35.203Z] ---> Running in 15d923068b30 [2023-11-28T19:13:35.203Z] Removing intermediate container 15d923068b30 [2023-11-28T19:13:35.203Z] ---> 0dc98f45cdda [2023-11-28T19:13:35.203Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T19:13:35.203Z] ---> Running in f977bdb644a3 [2023-11-28T19:13:35.463Z] Removing intermediate container f977bdb644a3 [2023-11-28T19:13:35.463Z] ---> 1c53d75d40af [2023-11-28T19:13:35.463Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T19:13:35.463Z] Successfully built 1c53d75d40af [2023-11-28T19:13:35.463Z] 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-11-28T19:13:36.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:13:36.678Z] [2023-11-28T19:13:36.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:13:37.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:13:37.071Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T19:13:37.071Z] 5eb5b503b376: Pulling fs layer [2023-11-28T19:13:37.071Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T19:13:37.071Z] ec43610c2a17: Pulling fs layer [2023-11-28T19:13:37.071Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T19:13:37.071Z] 33b1e0a273af: Pulling fs layer [2023-11-28T19:13:37.071Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T19:13:37.071Z] 2f39f015ded8: Pulling fs layer [2023-11-28T19:13:37.071Z] 3a2ae6a8a46f: Waiting [2023-11-28T19:13:37.071Z] 33b1e0a273af: Waiting [2023-11-28T19:13:37.071Z] 5d3b04190fa2: Waiting [2023-11-28T19:13:37.071Z] 2f39f015ded8: Waiting [2023-11-28T19:13:37.071Z] 5c69ac0246d0: Download complete [2023-11-28T19:13:37.071Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T19:13:37.071Z] 3a2ae6a8a46f: Download complete [2023-11-28T19:13:37.071Z] 33b1e0a273af: Verifying Checksum [2023-11-28T19:13:37.071Z] 33b1e0a273af: Download complete [2023-11-28T19:13:37.071Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T19:13:37.071Z] 5d3b04190fa2: Download complete [2023-11-28T19:13:37.071Z] ec43610c2a17: Verifying Checksum [2023-11-28T19:13:37.071Z] ec43610c2a17: Download complete [2023-11-28T19:13:37.330Z] 5eb5b503b376: Verifying Checksum [2023-11-28T19:13:37.330Z] 5eb5b503b376: Download complete [2023-11-28T19:13:37.898Z] 2f39f015ded8: Download complete [2023-11-28T19:13:38.464Z] 5eb5b503b376: Pull complete [2023-11-28T19:13:38.721Z] 5c69ac0246d0: Pull complete [2023-11-28T19:13:39.290Z] ec43610c2a17: Pull complete [2023-11-28T19:13:39.290Z] 3a2ae6a8a46f: Pull complete [2023-11-28T19:13:39.550Z] 33b1e0a273af: Pull complete [2023-11-28T19:13:39.550Z] 5d3b04190fa2: Pull complete [2023-11-28T19:13:44.819Z] 2f39f015ded8: Pull complete [2023-11-28T19:13:44.819Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T19:13:44.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:13:44.819Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:13:45.181Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-11-28T19:13:45.217Z] $ 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-36 -v /w/workspace/edgexfoundry_device-uart_PR-36:/w/workspace/edgexfoundry_device-uart_PR-36:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-36@tmp:/w/workspace/edgexfoundry_device-uart_PR-36@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-11-28T19:13:49.532Z] $ docker top 8713676e90e363053578d18a89b8aab478f7d38e515e74bd2dcae03d42061c1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:13:50.045Z] ---> job-cost.sh [2023-11-28T19:13:50.045Z] lf-activate-venv: SKIPPING [2023-11-28T19:13:50.045Z] INFO: No Stack... [2023-11-28T19:13:50.305Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:13:50.874Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:13:51.189Z] + cat /w/workspace/edgexfoundry_device-uart_PR-36/archives/cost.csv [2023-11-28T19:13:51.189Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T19:13:51.227Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-36-1-stack-cost] [2023-11-28T19:13:51.231Z] Resource [jenkins-edgexfoundry-device-uart-PR-36-1-stack-cost] did not exist. Created. [2023-11-28T19:13:51.232Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:13:51.688Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T19:13:51.740Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:13:51.807Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:13:51.959Z] $ docker stop --time=1 8713676e90e363053578d18a89b8aab478f7d38e515e74bd2dcae03d42061c1d [2023-11-28T19:13:53.117Z] $ docker rm -f --volumes 8713676e90e363053578d18a89b8aab478f7d38e515e74bd2dcae03d42061c1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T20:16:59.566Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5048 in /w/workspace/edgexfoundry_device-uart_PR-36 [Pipeline] { [Pipeline] ws [2023-11-28T20:16:59.658Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2023-11-28T20:17:02.791Z] The recommended git tool is: git [2023-11-28T20:17:09.447Z] using credential edgex-jenkins-ssh [2023-11-28T20:17:09.465Z] Cloning the remote Git repository [2023-11-28T20:17:09.516Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-11-28T20:17:09.630Z] > git init /w/workspace/device-uart/1 # timeout=10 [2023-11-28T20:17:09.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-11-28T20:17:09.786Z] > git --version # timeout=10 [2023-11-28T20:17:09.811Z] > git --version # 'git version 2.25.1' [2023-11-28T20:17:09.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T20:17:09.991Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T20:17:12.020Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-11-28T20:17:12.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T20:17:13.810Z] Merging remotes/origin/main commit dec02cb029fa6ce79400670f54c9fa46c31fe080 into PR head commit 5321131828a205e18ab4c76746ba80b7516f550a [2023-11-28T20:17:14.104Z] Merge succeeded, producing 5321131828a205e18ab4c76746ba80b7516f550a [2023-11-28T20:17:14.105Z] Checking out Revision 5321131828a205e18ab4c76746ba80b7516f550a (PR-36) [2023-11-28T20:17:13.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-11-28T20:17:13.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-11-28T20:17:13.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T20:17:13.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T20:17:13.833Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T20:17:13.910Z] > git checkout -f 5321131828a205e18ab4c76746ba80b7516f550a # timeout=10 [2023-11-28T20:17:13.995Z] > git remote # timeout=10 [2023-11-28T20:17:14.017Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T20:17:14.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T20:17:14.055Z] > git merge dec02cb029fa6ce79400670f54c9fa46c31fe080 # timeout=10 [2023-11-28T20:17:14.083Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T20:17:14.114Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T20:17:14.129Z] > git checkout -f 5321131828a205e18ab4c76746ba80b7516f550a # timeout=10 [2023-11-28T20:17:17.737Z] Commit message: "build: Update to latest 3.2.0 dev go-mods" [2023-11-28T20:17:17.795Z] > git --version # timeout=10 [2023-11-28T20:17:17.808Z] > git --version # 'git version 2.25.1' [2023-11-28T20:17:17.830Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T20:17:19.104Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T20:17:19.104Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T20:17:19.104Z] Dload Upload Total Spent Left Speed [2023-11-28T20:17:19.104Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 233k 0 --:--:-- --:--:-- --:--:-- 233k [Pipeline] sh [2023-11-28T20:17:19.448Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T20:17:19.811Z] + sudo tee /etc/docker/daemon.new [2023-11-28T20:17:19.811Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T20:17:19.811Z] { [2023-11-28T20:17:19.811Z] "registry-mirrors": [ [2023-11-28T20:17:19.811Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T20:17:19.811Z] ], [2023-11-28T20:17:19.811Z] "bip": "10.250.0.254/24", [2023-11-28T20:17:19.811Z] "hosts": [ [2023-11-28T20:17:19.811Z] "tcp://0.0.0.0:5555", [2023-11-28T20:17:19.811Z] "unix:///var/run/docker.sock" [2023-11-28T20:17:19.811Z] ], [2023-11-28T20:17:19.811Z] "mtu": 1458, [2023-11-28T20:17:19.811Z] "selinux-enabled": true, [2023-11-28T20:17:19.811Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T20:17:19.811Z] } [Pipeline] sh [2023-11-28T20:17:20.164Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T20:17:20.512Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:17:39.539Z] provisioning config files... [2023-11-28T20:17:39.571Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config3498611216218827189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:17:40.138Z] ---> ****-login.sh [2023-11-28T20:17:40.138Z] nexus3.edgexfoundry.org:10001 [2023-11-28T20:17:40.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:40.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:40.737Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:40.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:40.737Z] [2023-11-28T20:17:40.737Z] Login Succeeded [2023-11-28T20:17:40.737Z] nexus3.edgexfoundry.org:10002 [2023-11-28T20:17:41.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:41.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:41.285Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:41.285Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:41.285Z] [2023-11-28T20:17:41.285Z] Login Succeeded [2023-11-28T20:17:41.285Z] nexus3.edgexfoundry.org:10003 [2023-11-28T20:17:41.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:41.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:41.559Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:41.559Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:41.559Z] [2023-11-28T20:17:41.559Z] Login Succeeded [2023-11-28T20:17:41.559Z] nexus3.edgexfoundry.org:10004 [2023-11-28T20:17:41.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:41.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:41.831Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:41.831Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:41.831Z] [2023-11-28T20:17:41.831Z] Login Succeeded [2023-11-28T20:17:41.831Z] ****.io [2023-11-28T20:17:42.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:42.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:42.692Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:42.692Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:42.692Z] [2023-11-28T20:17:42.692Z] Login Succeeded [2023-11-28T20:17:42.692Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T20:17:42.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T20:17:43.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:17:43.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:17:43.446Z] ========================================================= [2023-11-28T20:17:43.446Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T20:17:43.446Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:17:44.150Z] + 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-11-28T20:17:44.421Z] Sending build context to Docker daemon 11.6MB [2023-11-28T20:17:44.695Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:17:44.695Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T20:17:48.972Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T20:17:48.972Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T20:17:48.972Z] 5d54e960e981: Pulling fs layer [2023-11-28T20:17:48.972Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T20:17:48.972Z] f0e02332f6b5: Pulling fs layer [2023-11-28T20:17:48.972Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T20:17:48.972Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T20:17:48.972Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T20:17:48.972Z] f0e02332f6b5: Waiting [2023-11-28T20:17:48.972Z] 872ee5b61b7b: Waiting [2023-11-28T20:17:48.972Z] 0c6a40ed1a82: Waiting [2023-11-28T20:17:48.972Z] 94ae7d8d031c: Waiting [2023-11-28T20:17:48.972Z] 5d54e960e981: Verifying Checksum [2023-11-28T20:17:48.972Z] 5d54e960e981: Download complete [2023-11-28T20:17:48.972Z] f0e02332f6b5: Verifying Checksum [2023-11-28T20:17:48.972Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T20:17:48.972Z] 872ee5b61b7b: Download complete [2023-11-28T20:17:48.972Z] 9fda8d8052c6: Download complete [2023-11-28T20:17:49.567Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T20:17:49.567Z] 94ae7d8d031c: Download complete [2023-11-28T20:17:49.852Z] 9fda8d8052c6: Pull complete [2023-11-28T20:17:50.442Z] 5d54e960e981: Pull complete [2023-11-28T20:17:50.717Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T20:17:50.717Z] c4a7e357bf2a: Download complete [2023-11-28T20:17:51.685Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T20:17:51.685Z] 0c6a40ed1a82: Download complete [2023-11-28T20:18:04.029Z] c4a7e357bf2a: Pull complete [2023-11-28T20:18:04.309Z] f0e02332f6b5: Pull complete [2023-11-28T20:18:04.582Z] 872ee5b61b7b: Pull complete [2023-11-28T20:18:12.831Z] 0c6a40ed1a82: Pull complete [2023-11-28T20:18:14.784Z] 94ae7d8d031c: Pull complete [2023-11-28T20:18:14.784Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T20:18:14.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T20:18:14.784Z] ---> 86de565de09d [2023-11-28T20:18:14.784Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:18:16.203Z] ---> Running in d524fb6ea454 [2023-11-28T20:18:16.203Z] Removing intermediate container d524fb6ea454 [2023-11-28T20:18:16.203Z] ---> c63babfafca3 [2023-11-28T20:18:16.203Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:18:16.473Z] ---> Running in 1867e98bdfa2 [2023-11-28T20:18:16.751Z] Removing intermediate container 1867e98bdfa2 [2023-11-28T20:18:16.751Z] ---> b0115f95e34d [2023-11-28T20:18:16.751Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:18:16.751Z] ---> Running in 488de87bfdc1 [2023-11-28T20:18:17.020Z] Removing intermediate container 488de87bfdc1 [2023-11-28T20:18:17.020Z] ---> db5e48f386ad [2023-11-28T20:18:17.021Z] Step 6/12 : WORKDIR /device-uart [2023-11-28T20:18:17.292Z] ---> Running in 3205d13f5a3a [2023-11-28T20:18:17.564Z] Removing intermediate container 3205d13f5a3a [2023-11-28T20:18:17.564Z] ---> 66b2b42cdcd3 [2023-11-28T20:18:17.564Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:18:17.564Z] ---> Running in 62624b0f6d67 [2023-11-28T20:18:18.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:18:19.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:18:20.226Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T20:18:20.226Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T20:18:20.226Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T20:18:20.226Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T20:18:20.226Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:18:20.226Z] OK: 271 MiB in 56 packages [2023-11-28T20:18:21.649Z] Removing intermediate container 62624b0f6d67 [2023-11-28T20:18:21.649Z] ---> 6470e3f21579 [2023-11-28T20:18:21.649Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-28T20:18:21.919Z] ---> 6c0ac6c519f7 [2023-11-28T20:18:21.919Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:18:21.919Z] ---> Running in 63ca053e4ffc [2023-11-28T20:19:43.829Z] Removing intermediate container 63ca053e4ffc [2023-11-28T20:19:43.829Z] ---> 2cf76a2a54a7 [2023-11-28T20:19:43.829Z] Step 10/12 : COPY . . [2023-11-28T20:19:43.829Z] ---> 201d2bcd6799 [2023-11-28T20:19:43.829Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:19:43.829Z] ---> Running in 54b7ed79b1b5 [2023-11-28T20:19:43.829Z] Removing intermediate container 54b7ed79b1b5 [2023-11-28T20:19:43.829Z] ---> 4ebfb6a22b28 [2023-11-28T20:19:43.829Z] Step 12/12 : RUN ${MAKE} [2023-11-28T20:19:43.829Z] ---> Running in 07e4d46a2432 [2023-11-28T20:19:43.829Z] noop [2023-11-28T20:19:43.829Z] Removing intermediate container 07e4d46a2432 [2023-11-28T20:19:43.829Z] ---> 0b91477f1011 [2023-11-28T20:19:43.829Z] Successfully built 0b91477f1011 [2023-11-28T20:19:43.829Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:19:44.436Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T20:19:44.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:19:44.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-5048 does not seem to be running inside a container [2023-11-28T20:19:44.888Z] $ 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-11-28T20:19:46.631Z] $ docker top 18901e31c2ab5359156dc2bd667b57ac3552411ddbf3ce0a866f5f9b38dd2ab6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:19:47.624Z] + go version [2023-11-28T20:19:47.624Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T20:19:47.665Z] $ docker stop --time=1 18901e31c2ab5359156dc2bd667b57ac3552411ddbf3ce0a866f5f9b38dd2ab6 [2023-11-28T20:19:49.320Z] $ docker rm -f --volumes 18901e31c2ab5359156dc2bd667b57ac3552411ddbf3ce0a866f5f9b38dd2ab6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:19:50.609Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T20:19:50.609Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:19:50.962Z] prd-ubuntu20.04-docker-arm64-4c-16g-5048 does not seem to be running inside a container [2023-11-28T20:19:51.023Z] $ 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-11-28T20:19:52.226Z] $ docker top 555dc920f44decbd475b679db9045a9d0251dcd26a4f61ff82822a3f3a83d063 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:19:53.183Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2023-11-28T20:19:53.925Z] + make test [2023-11-28T20:19:53.925Z] go test ./... -coverprofile=coverage.out [2023-11-28T20:20:01.829Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-11-28T20:21:53.521Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-11-28T20:21:53.521Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-11-28T20:21:53.521Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T20:21:53.521Z] go vet ./... [2023-11-28T20:22:20.273Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T20:22:20.274Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T20:22:20.274Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T20:22:20.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T20:22:20.397Z] $ docker stop --time=1 555dc920f44decbd475b679db9045a9d0251dcd26a4f61ff82822a3f3a83d063 [2023-11-28T20:22:22.615Z] $ docker rm -f --volumes 555dc920f44decbd475b679db9045a9d0251dcd26a4f61ff82822a3f3a83d063 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T20:22:24.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T20:22:24.250Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T20:22:24.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T20:22:25.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T20:22:26.016Z] + ls -al . [2023-11-28T20:22:26.016Z] total 152 [2023-11-28T20:22:26.016Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 28 20:19 . [2023-11-28T20:22:26.016Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:17 .. [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 20:17 .dockerignore [2023-11-28T20:22:26.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:17 .git [2023-11-28T20:22:26.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:17 .github [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 28 20:17 .gitignore [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:17 .golangci.yml [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 9941 Nov 28 20:17 Attribution.txt [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 1908 Nov 28 20:17 CHANGELOG.md [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 1886 Nov 28 20:17 Dockerfile [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:17 GOVERNANCE.md [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 675 Nov 28 20:17 Jenkinsfile [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:17 LICENSE [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 1872 Nov 28 20:17 Makefile [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 28 20:17 OWNERS.md [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 8892 Nov 28 20:17 README.md [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 19:11 VERSION [2023-11-28T20:22:26.016Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:17 bin [2023-11-28T20:22:26.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:17 cmd [2023-11-28T20:22:26.016Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 28 20:19 coverage.out [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 3716 Nov 28 20:17 go.mod [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 35303 Nov 28 20:17 go.sum [2023-11-28T20:22:26.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:17 internal [2023-11-28T20:22:26.016Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 28 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:22:26.647Z] + 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=5321131828a205e18ab4c76746ba80b7516f550a --label arch=arm64 --label version=0.0.0 . [2023-11-28T20:22:27.251Z] Sending build context to Docker daemon 11.6MB [2023-11-28T20:22:27.251Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:22:27.251Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T20:22:27.251Z] ---> 0b91477f1011 [2023-11-28T20:22:27.251Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:22:27.865Z] ---> Running in 0d7854579b01 [2023-11-28T20:22:28.147Z] Removing intermediate container 0d7854579b01 [2023-11-28T20:22:28.147Z] ---> d132e3ed397b [2023-11-28T20:22:28.147Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:22:28.434Z] ---> Running in 8e7a761ee00e [2023-11-28T20:22:28.727Z] Removing intermediate container 8e7a761ee00e [2023-11-28T20:22:28.727Z] ---> 0fbab9a178ab [2023-11-28T20:22:28.727Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:22:28.727Z] ---> Running in 7611b956ea4a [2023-11-28T20:22:29.336Z] Removing intermediate container 7611b956ea4a [2023-11-28T20:22:29.336Z] ---> e77b7ef0b2d4 [2023-11-28T20:22:29.336Z] Step 6/26 : WORKDIR /device-uart [2023-11-28T20:22:29.336Z] ---> Running in ae084770e1d6 [2023-11-28T20:22:29.918Z] Removing intermediate container ae084770e1d6 [2023-11-28T20:22:29.918Z] ---> 28366109f9fe [2023-11-28T20:22:29.918Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:22:29.918Z] ---> Running in f2c647cfb923 [2023-11-28T20:22:31.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:22:32.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:22:33.558Z] OK: 271 MiB in 56 packages [2023-11-28T20:22:35.529Z] Removing intermediate container f2c647cfb923 [2023-11-28T20:22:35.529Z] ---> e4f4cf836b01 [2023-11-28T20:22:35.529Z] Step 8/26 : COPY go.mod vendor* ./ [2023-11-28T20:22:38.121Z] ---> c2be504b4e4b [2023-11-28T20:22:38.121Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:22:38.121Z] ---> Running in f68c1b3beddc [2023-11-28T20:22:40.718Z] Removing intermediate container f68c1b3beddc [2023-11-28T20:22:40.718Z] ---> 8b0b94170caa [2023-11-28T20:22:40.718Z] Step 10/26 : COPY . . [2023-11-28T20:22:43.328Z] ---> f5e52757bed0 [2023-11-28T20:22:43.328Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:22:43.328Z] ---> Running in 7a9a8cf0d2fc [2023-11-28T20:22:43.328Z] Removing intermediate container 7a9a8cf0d2fc [2023-11-28T20:22:43.328Z] ---> eef765471bd2 [2023-11-28T20:22:43.328Z] Step 12/26 : RUN ${MAKE} [2023-11-28T20:22:43.604Z] ---> Running in cd05edacac6b [2023-11-28T20:22:44.565Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-11-28T20:24:51.273Z] Removing intermediate container cd05edacac6b [2023-11-28T20:24:51.273Z] ---> 01ab4132fab4 [2023-11-28T20:24:51.273Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T20:24:51.273Z] 3.18: Pulling from library/alpine [2023-11-28T20:24:51.273Z] 579b34f0a95b: Pulling fs layer [2023-11-28T20:24:51.273Z] 579b34f0a95b: Download complete [2023-11-28T20:24:51.273Z] 579b34f0a95b: Pull complete [2023-11-28T20:24:51.273Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T20:24:51.273Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T20:24:51.273Z] ---> 3cc203321400 [2023-11-28T20:24:51.273Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-28T20:24:51.273Z] ---> Running in a434895cec92 [2023-11-28T20:24:51.273Z] Removing intermediate container a434895cec92 [2023-11-28T20:24:51.273Z] ---> 44fb2183f952 [2023-11-28T20:24:51.273Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T20:24:51.273Z] ---> Running in 62821c2f9c06 [2023-11-28T20:24:51.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:24:51.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:24:51.273Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T20:24:51.273Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T20:24:51.273Z] OK: 8 MiB in 16 packages [2023-11-28T20:24:51.273Z] Removing intermediate container 62821c2f9c06 [2023-11-28T20:24:51.273Z] ---> b45594e2f68a [2023-11-28T20:24:51.273Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-28T20:24:51.273Z] ---> Running in 64792d869a89 [2023-11-28T20:24:51.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:24:51.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:24:51.273Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:24:51.273Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:24:51.273Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T20:24:51.273Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:24:51.273Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:24:51.273Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:24:51.273Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:24:51.273Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:24:51.273Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:24:51.273Z] OK: 8 MiB in 16 packages [2023-11-28T20:24:51.273Z] Removing intermediate container 64792d869a89 [2023-11-28T20:24:51.273Z] ---> ff5c3a11fb4b [2023-11-28T20:24:51.273Z] Step 17/26 : WORKDIR / [2023-11-28T20:24:51.273Z] ---> Running in 5de94f4488a5 [2023-11-28T20:24:51.273Z] Removing intermediate container 5de94f4488a5 [2023-11-28T20:24:51.273Z] ---> b3881e847eb6 [2023-11-28T20:24:51.273Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2023-11-28T20:24:51.273Z] ---> 572997a5c7f5 [2023-11-28T20:24:51.273Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2023-11-28T20:24:51.273Z] ---> e01e8739d749 [2023-11-28T20:24:51.273Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2023-11-28T20:24:51.273Z] ---> 6b103535f841 [2023-11-28T20:24:51.273Z] Step 21/26 : EXPOSE 59995 [2023-11-28T20:24:51.273Z] ---> Running in c07abb662212 [2023-11-28T20:24:51.273Z] Removing intermediate container c07abb662212 [2023-11-28T20:24:51.273Z] ---> 4972a1c65d2a [2023-11-28T20:24:51.273Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2023-11-28T20:24:51.273Z] ---> Running in 81b76e504098 [2023-11-28T20:24:51.875Z] Removing intermediate container 81b76e504098 [2023-11-28T20:24:51.875Z] ---> 88a976b1f7df [2023-11-28T20:24:51.875Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T20:24:51.875Z] ---> Running in 16cc7f388372 [2023-11-28T20:24:52.144Z] Removing intermediate container 16cc7f388372 [2023-11-28T20:24:52.144Z] ---> e14425a2524e [2023-11-28T20:24:52.144Z] Step 24/26 : LABEL arch=arm64 [2023-11-28T20:24:52.144Z] ---> Running in 8acb080f9118 [2023-11-28T20:24:52.413Z] Removing intermediate container 8acb080f9118 [2023-11-28T20:24:52.413Z] ---> e6693f22813a [2023-11-28T20:24:52.413Z] Step 25/26 : LABEL git_sha=5321131828a205e18ab4c76746ba80b7516f550a [2023-11-28T20:24:52.413Z] ---> Running in f722ed9c4498 [2023-11-28T20:24:53.001Z] Removing intermediate container f722ed9c4498 [2023-11-28T20:24:53.001Z] ---> 477086792df9 [2023-11-28T20:24:53.001Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T20:24:53.001Z] ---> Running in a15a30d4ef11 [2023-11-28T20:24:53.267Z] Removing intermediate container a15a30d4ef11 [2023-11-28T20:24:53.267Z] ---> 961bbf841580 [2023-11-28T20:24:53.267Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T20:24:53.267Z] Successfully built 961bbf841580 [2023-11-28T20:24:53.267Z] 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-11-28T20:24:54.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:24:54.525Z] [2023-11-28T20:24:54.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:24:54.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:24:54.972Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T20:24:54.972Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T20:24:54.972Z] 04944245beec: Pulling fs layer [2023-11-28T20:24:54.972Z] 699f458cf7ca: Pulling fs layer [2023-11-28T20:24:54.972Z] 765212b225bb: Pulling fs layer [2023-11-28T20:24:54.972Z] f23df028b6ca: Pulling fs layer [2023-11-28T20:24:54.972Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T20:24:54.972Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T20:24:54.972Z] f23df028b6ca: Waiting [2023-11-28T20:24:54.972Z] d65c8cfc05b1: Waiting [2023-11-28T20:24:54.972Z] 2437ff75d9bd: Waiting [2023-11-28T20:24:54.972Z] 765212b225bb: Waiting [2023-11-28T20:24:55.244Z] 04944245beec: Verifying Checksum [2023-11-28T20:24:55.244Z] 04944245beec: Download complete [2023-11-28T20:24:55.244Z] 765212b225bb: Verifying Checksum [2023-11-28T20:24:55.244Z] 765212b225bb: Download complete [2023-11-28T20:24:55.244Z] f23df028b6ca: Verifying Checksum [2023-11-28T20:24:55.244Z] f23df028b6ca: Download complete [2023-11-28T20:24:55.244Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T20:24:55.244Z] d65c8cfc05b1: Download complete [2023-11-28T20:24:55.513Z] 699f458cf7ca: Verifying Checksum [2023-11-28T20:24:55.513Z] 699f458cf7ca: Download complete [2023-11-28T20:24:55.783Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T20:24:55.783Z] 8998bd30e6a1: Download complete [2023-11-28T20:24:58.397Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T20:24:58.397Z] 2437ff75d9bd: Download complete [2023-11-28T20:25:00.341Z] 8998bd30e6a1: Pull complete [2023-11-28T20:25:00.925Z] 04944245beec: Pull complete [2023-11-28T20:25:05.183Z] 699f458cf7ca: Pull complete [2023-11-28T20:25:05.183Z] 765212b225bb: Pull complete [2023-11-28T20:25:05.767Z] f23df028b6ca: Pull complete [2023-11-28T20:25:06.035Z] d65c8cfc05b1: Pull complete [2023-11-28T20:25:21.058Z] 2437ff75d9bd: Pull complete [2023-11-28T20:25:21.325Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T20:25:21.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:25:21.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:25:21.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-5048 does not seem to be running inside a container [2023-11-28T20:25:21.891Z] $ 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-11-28T20:25:24.679Z] $ docker top 91a2c059ec327e127ca94b5c4c9dcb462f1df2567134f3d3390f388b5634ffa4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:25.694Z] ---> job-cost.sh [2023-11-28T20:25:25.694Z] lf-activate-venv: SKIPPING [2023-11-28T20:25:25.694Z] INFO: No Stack... [2023-11-28T20:25:25.960Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T20:25:26.925Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T20:25:27.282Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2023-11-28T20:25:27.550Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T20:25:27.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-36-1-stack-cost] [2023-11-28T20:25:27.643Z] Resource [jenkins-edgexfoundry-device-uart-PR-36-1-stack-cost] did not exist. Created. [2023-11-28T20:25:27.643Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T20:25:28.468Z] /w/workspace/device-uart/1@tmp/durable-b85790e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T20:25:29.134Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T20:25:29.168Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T20:25:29.216Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T20:25:29.256Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T20:25:29.445Z] $ docker stop --time=1 91a2c059ec327e127ca94b5c4c9dcb462f1df2567134f3d3390f388b5634ffa4 [2023-11-28T20:25:33.891Z] $ docker rm -f --volumes 91a2c059ec327e127ca94b5c4c9dcb462f1df2567134f3d3390f388b5634ffa4 [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-11-28T20:25:35.900Z] provisioning config files... [2023-11-28T20:25:35.909Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-36@tmp/config8660999934833507392tmp [Pipeline] { [Pipeline] sh [2023-11-28T20:25:36.337Z] + set +x [2023-11-28T20:25:36.337Z] + curl -s https://codecov.io/bash+ [2023-11-28T20:25:36.337Z] bash -s -- [2023-11-28T20:25:36.337Z] [2023-11-28T20:25:36.337Z] _____ _ [2023-11-28T20:25:36.337Z] / ____| | | [2023-11-28T20:25:36.337Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T20:25:36.337Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T20:25:36.337Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T20:25:36.337Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T20:25:36.337Z] Bash-1.0.6 [2023-11-28T20:25:36.337Z] [2023-11-28T20:25:36.337Z] [2023-11-28T20:25:36.337Z] ==> git version 2.25.1 found [2023-11-28T20:25:36.337Z] ==> 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-11-28T20:25:36.337Z] Release-Date: 2020-01-08 [2023-11-28T20:25:36.337Z] 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-11-28T20:25:36.337Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T20:25:36.337Z] ==> Jenkins CI detected. [2023-11-28T20:25:36.337Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-36 [2023-11-28T20:25:36.337Z] project root: . [2023-11-28T20:25:36.337Z] --> token set from env [2023-11-28T20:25:36.337Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T20:25:36.337Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T20:25:36.337Z] ==> Python coveragepy not found [2023-11-28T20:25:36.337Z] ==> Searching for coverage reports in: [2023-11-28T20:25:36.337Z] + . [2023-11-28T20:25:36.337Z] -> Found 1 reports [2023-11-28T20:25:36.337Z] ==> Detecting git/mercurial file structure [2023-11-28T20:25:36.337Z] ==> Reading reports [2023-11-28T20:25:36.337Z] + ./coverage.out bytes=10 [2023-11-28T20:25:36.337Z] ==> Appending adjustments [2023-11-28T20:25:36.337Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T20:25:36.597Z] + Found adjustments [2023-11-28T20:25:36.597Z] ==> Gzipping contents [2023-11-28T20:25:36.597Z] 4.0K /tmp/codecov.2m9Ycv.gz [2023-11-28T20:25:36.597Z] ==> Uploading reports [2023-11-28T20:25:36.597Z] url: https://codecov.io [2023-11-28T20:25:36.597Z] query: branch=PR-36&commit=5321131828a205e18ab4c76746ba80b7516f550a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=36&job=&cmd_args= [2023-11-28T20:25:36.597Z] -> Pinging Codecov [2023-11-28T20:25:36.597Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-36&commit=5321131828a205e18ab4c76746ba80b7516f550a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=36&job=&cmd_args= [2023-11-28T20:25:37.168Z] -> Uploading to [2023-11-28T20:25:37.168Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/B9AA6E0BBD74AE3A32605C7A7C664919/5321131828a205e18ab4c76746ba80b7516f550a/35446195-0718-491e-8047-bc4a34d157b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T202536Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4113ef12318c8473c580ce6ee5705a3992ceae3ab864d7c264dd8dd807874c39 [2023-11-28T20:25:37.168Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T20:25:37.168Z] Dload Upload Total Spent Left Speed [2023-11-28T20:25:37.427Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2481 --:--:-- --:--:-- --:--:-- 2481 [2023-11-28T20:25:37.427Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/5321131828a205e18ab4c76746ba80b7516f550a [Pipeline] } [2023-11-28T20:25:37.452Z] 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-11-28T20:25:40.673Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-36/archives ] [2023-11-28T20:25:40.673Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-36/archives [2023-11-28T20:25:40.673Z] total 16 [2023-11-28T20:25:40.673Z] drwxr-xr-x 3 root root 4096 Nov 28 19:13 . [2023-11-28T20:25:40.673Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:13 .. [2023-11-28T20:25:40.673Z] drwxr-xr-x 2 root root 4096 Nov 28 19:13 cost [2023-11-28T20:25:40.673Z] -rw-r--r-- 1 root root 82 Nov 28 19:13 cost.csv [2023-11-28T20:25:40.673Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-36/archives [2023-11-28T20:25:40.673Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-36/archives [2023-11-28T20:25:40.673Z] total 16 [2023-11-28T20:25:40.673Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:13 . [2023-11-28T20:25:40.673Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:13 .. [2023-11-28T20:25:40.673Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 19:13 cost [2023-11-28T20:25:40.673Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 28 19:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:41.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:41.889Z] ---> package-listing.sh [2023-11-28T20:25:41.889Z] ++ facter osfamily [2023-11-28T20:25:41.889Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T20:25:42.148Z] + OS_FAMILY=debian [2023-11-28T20:25:42.148Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-36 [2023-11-28T20:25:42.148Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T20:25:42.148Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T20:25:42.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T20:25:42.148Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T20:25:42.148Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-36 ']' [2023-11-28T20:25:42.148Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T20:25:42.148Z] + case "${OS_FAMILY}" in [2023-11-28T20:25:42.148Z] + dpkg -l [2023-11-28T20:25:42.148Z] + grep '^ii' [2023-11-28T20:25:42.148Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T20:25:42.148Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T20:25:42.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T20:25:42.148Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-36 ']' [2023-11-28T20:25:42.148Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-36/archives/ [2023-11-28T20:25:42.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-36/archives/ [Pipeline] echo [2023-11-28T20:25:42.181Z] 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-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T20:25:42.475Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:25:43.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:25:43.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:25:43.390Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-11-28T20:25:43.435Z] $ 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-36/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-36 -v /w/workspace/edgexfoundry_device-uart_PR-36:/w/workspace/edgexfoundry_device-uart_PR-36:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-36@tmp:/w/workspace/edgexfoundry_device-uart_PR-36@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-11-28T20:25:43.609Z] $ docker top df1edcde7516211f19571f3f4150a8c8218d1649b84892feac94741b2b90ca8a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:25:44.089Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T20:25:44.402Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T20:25:44.712Z] + ls /var/log/sa-host [2023-11-28T20:25:44.712Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:25:44.896Z] provisioning config files... [2023-11-28T20:25:44.984Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-36@tmp/config10464441918679949948tmp [Pipeline] { [Pipeline] echo [2023-11-28T20:25:45.081Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:45.397Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T20:25:45.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:45.941Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T20:25:45.970Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:46.282Z] ---> sudo-logs.sh [2023-11-28T20:25:46.282Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T20:25:46.458Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:46.770Z] ---> job-cost.sh [2023-11-28T20:25:46.770Z] lf-activate-venv: SKIPPING [2023-11-28T20:25:46.770Z] DEBUG: total: 0.2199999988079071 [2023-11-28T20:25:46.770Z] INFO: Retrieving Stack Cost... [2023-11-28T20:25:47.030Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T20:25:47.598Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T20:25:47.632Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:47.948Z] ---> logs-deploy.sh [2023-11-28T20:25:47.948Z] lf-activate-venv: SKIPPING [2023-11-28T20:25:47.948Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-36/1 [2023-11-28T20:25:47.948Z] INFO: archiving workspace using pattern(s): [2023-11-28T20:25:48.886Z] Archives upload complete. [2023-11-28T20:25:48.886Z] INFO: archiving logs to Nexus