Pull request #50 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from faf11dc8766dc1815638bbb61542875372543fca+08fb917c2f38b4ae53e716333c1e5812fb96cea3 (cc926deac02ed74d84f60b51f244661c67383f26) 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-ssh9736143776740940749.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-ssh3414283978363140252.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-50/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-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6394550934711689507.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-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16887734008051242300.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-ssh3708328898189418150.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-50/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-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10430456336015433194.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-597 in /w/workspace/edgexfoundry_device-uart_PR-50 [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-50 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 08fb917c2f38b4ae53e716333c1e5812fb96cea3 into PR head commit faf11dc8766dc1815638bbb61542875372543fca Merge succeeded, producing faf11dc8766dc1815638bbb61542875372543fca Checking out Revision faf11dc8766dc1815638bbb61542875372543fca (PR-50) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f faf11dc8766dc1815638bbb61542875372543fca # 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 08fb917c2f38b4ae53e716333c1e5812fb96cea3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f faf11dc8766dc1815638bbb61542875372543fca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-21T18:21:38.466Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-21T18:21:38.666Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-21T18:21:38.767Z] ========================================================= [2024-03-21T18:21:38.767Z] EdgeX Global Pipelines Version Info [2024-03-21T18:21:38.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:21:39.905Z] ------------------- [2024-03-21T18:21:39.905Z] stable info: [2024-03-21T18:21:39.905Z] ------------------- [2024-03-21T18:21:39.905Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-21T18:21:39.906Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T18:21:39.906Z] Message: update stable to v1.0.258 [2024-03-21T18:21:40.166Z] ------------------- [2024-03-21T18:21:40.167Z] experimental info: [2024-03-21T18:21:40.167Z] ------------------- [2024-03-21T18:21:40.167Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-21T18:21:40.167Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T18:21:40.167Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-21T18:21:40.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-03-21T18:21:40.444Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-03-21T18:21:40.495Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-21T18:21:40.545Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-21T18:21:40.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-21T18:21:40.641Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-21T18:21:40.686Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-21T18:21:40.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-21T18:21:40.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-21T18:21:40.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-21T18:21:40.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-21T18:21:40.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-03-21T18:21:40.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-21T18:21:41.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-21T18:21:41.095Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T18:21:41.147Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T18:21:41.201Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T18:21:41.253Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T18:21:41.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-21T18:21:41.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-21T18:21:41.400Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-21T18:21:41.446Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-21T18:21:41.494Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-21T18:21:41.542Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-21T18:21:41.586Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-21T18:21:41.638Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-21T18:21:41.686Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-21T18:21:41.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo [2024-03-21T18:21:41.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo [2024-03-21T18:21:41.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo [2024-03-21T18:21:41.885Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = faf11dc8766dc1815638bbb61542875372543fca [Pipeline] echo [2024-03-21T18:21:41.946Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = faf11dc [Pipeline] echo [2024-03-21T18:21:41.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T18:21:42.133Z] provisioning config files... [2024-03-21T18:21:42.149Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-50@tmp/config13885039090870164471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:21:42.537Z] ---> ****-login.sh [2024-03-21T18:21:42.538Z] nexus3.edgexfoundry.org:10001 [2024-03-21T18:21:42.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:21:42.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:21:42.801Z] Configure a credential helper to remove this warning. See [2024-03-21T18:21:42.801Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:21:42.801Z] [2024-03-21T18:21:42.801Z] Login Succeeded [2024-03-21T18:21:42.801Z] nexus3.edgexfoundry.org:10002 [2024-03-21T18:21:43.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:21:43.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:21:43.061Z] Configure a credential helper to remove this warning. See [2024-03-21T18:21:43.061Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:21:43.061Z] [2024-03-21T18:21:43.061Z] Login Succeeded [2024-03-21T18:21:43.061Z] nexus3.edgexfoundry.org:10003 [2024-03-21T18:21:43.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:21:43.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:21:43.061Z] Configure a credential helper to remove this warning. See [2024-03-21T18:21:43.062Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:21:43.062Z] [2024-03-21T18:21:43.062Z] Login Succeeded [2024-03-21T18:21:43.062Z] nexus3.edgexfoundry.org:10004 [2024-03-21T18:21:43.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:21:43.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:21:43.323Z] Configure a credential helper to remove this warning. See [2024-03-21T18:21:43.323Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:21:43.323Z] [2024-03-21T18:21:43.323Z] Login Succeeded [2024-03-21T18:21:43.323Z] ****.io [2024-03-21T18:21:43.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:21:43.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:21:43.585Z] Configure a credential helper to remove this warning. See [2024-03-21T18:21:43.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:21:43.585Z] [2024-03-21T18:21:43.585Z] Login Succeeded [2024-03-21T18:21:43.585Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T18:21:43.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-21T18:21:44.286Z] + git rev-list -1 --merges faf11dc8766dc1815638bbb61542875372543fca~1..faf11dc8766dc1815638bbb61542875372543fca [Pipeline] echo [2024-03-21T18:21:44.329Z] -----------> git rev-list -1 --merges faf11dc8766dc1815638bbb61542875372543fca~1..faf11dc8766dc1815638bbb61542875372543fca faf11dc8766dc1815638bbb61542875372543fca [false] [Pipeline] sh [2024-03-21T18:21:44.652Z] + git log --format=format:%s -1 faf11dc8766dc1815638bbb61542875372543fca [Pipeline] echo [2024-03-21T18:21:44.688Z] ========================================================= [2024-03-21T18:21:44.688Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-21T18:21:44.688Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T18:21:45.153Z] + git log --format=format:%s -1 faf11dc8766dc1815638bbb61542875372543fca [Pipeline] echo [2024-03-21T18:21:45.189Z] [semverPrep] GIT_COMMIT: faf11dc8766dc1815638bbb61542875372543fca, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-21T18:21:45.222Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-21T18:21:45.633Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T18:21:45.633Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-21T18:21:45.633Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-21T18:21:45.633Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-21T18:21:45.633Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-21T18:21:45.633Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-21T18:21:45.633Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:21:46.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T18:21:46.125Z] [2024-03-21T18:21:46.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:21:46.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T18:21:46.516Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-21T18:21:46.516Z] b85a868b505f: Pulling fs layer [2024-03-21T18:21:46.516Z] e2be974225ed: Pulling fs layer [2024-03-21T18:21:46.516Z] 339a4e72a1f5: Pulling fs layer [2024-03-21T18:21:46.516Z] 988bab9f4d93: Pulling fs layer [2024-03-21T18:21:46.516Z] 1469e6f7b9e6: Pulling fs layer [2024-03-21T18:21:46.516Z] eaf3925da568: Pulling fs layer [2024-03-21T18:21:46.516Z] bab4dde63d76: Pulling fs layer [2024-03-21T18:21:46.516Z] bde34c3a00c8: Pulling fs layer [2024-03-21T18:21:46.516Z] b352a97aabf1: Pulling fs layer [2024-03-21T18:21:46.516Z] 4872d77fe225: Pulling fs layer [2024-03-21T18:21:46.516Z] 5851b861e8e6: Pulling fs layer [2024-03-21T18:21:46.516Z] 988bab9f4d93: Waiting [2024-03-21T18:21:46.516Z] 4872d77fe225: Waiting [2024-03-21T18:21:46.516Z] 1469e6f7b9e6: Waiting [2024-03-21T18:21:46.516Z] 5851b861e8e6: Waiting [2024-03-21T18:21:46.516Z] eaf3925da568: Waiting [2024-03-21T18:21:46.516Z] bab4dde63d76: Waiting [2024-03-21T18:21:46.516Z] bde34c3a00c8: Waiting [2024-03-21T18:21:46.516Z] b352a97aabf1: Waiting [2024-03-21T18:21:46.516Z] e2be974225ed: Verifying Checksum [2024-03-21T18:21:46.516Z] e2be974225ed: Download complete [2024-03-21T18:21:46.516Z] 988bab9f4d93: Verifying Checksum [2024-03-21T18:21:46.516Z] 988bab9f4d93: Download complete [2024-03-21T18:21:46.516Z] 1469e6f7b9e6: Verifying Checksum [2024-03-21T18:21:46.516Z] 1469e6f7b9e6: Download complete [2024-03-21T18:21:46.516Z] 339a4e72a1f5: Verifying Checksum [2024-03-21T18:21:46.516Z] 339a4e72a1f5: Download complete [2024-03-21T18:21:46.779Z] eaf3925da568: Download complete [2024-03-21T18:21:46.779Z] bde34c3a00c8: Verifying Checksum [2024-03-21T18:21:46.779Z] bde34c3a00c8: Download complete [2024-03-21T18:21:46.779Z] b352a97aabf1: Verifying Checksum [2024-03-21T18:21:46.779Z] b352a97aabf1: Download complete [2024-03-21T18:21:46.779Z] 4872d77fe225: Verifying Checksum [2024-03-21T18:21:46.779Z] 4872d77fe225: Download complete [2024-03-21T18:21:46.779Z] 5851b861e8e6: Verifying Checksum [2024-03-21T18:21:46.779Z] 5851b861e8e6: Download complete [2024-03-21T18:21:46.779Z] b85a868b505f: Download complete [2024-03-21T18:21:47.039Z] bab4dde63d76: Verifying Checksum [2024-03-21T18:21:47.039Z] bab4dde63d76: Download complete [2024-03-21T18:21:47.975Z] b85a868b505f: Pull complete [2024-03-21T18:21:47.975Z] e2be974225ed: Pull complete [2024-03-21T18:21:48.545Z] 339a4e72a1f5: Pull complete [2024-03-21T18:21:48.545Z] 988bab9f4d93: Pull complete [2024-03-21T18:21:48.806Z] 1469e6f7b9e6: Pull complete [2024-03-21T18:21:48.806Z] eaf3925da568: Pull complete [2024-03-21T18:21:50.725Z] bab4dde63d76: Pull complete [2024-03-21T18:21:50.725Z] bde34c3a00c8: Pull complete [2024-03-21T18:21:50.725Z] b352a97aabf1: Pull complete [2024-03-21T18:21:50.725Z] 4872d77fe225: Pull complete [2024-03-21T18:21:50.985Z] 5851b861e8e6: Pull complete [2024-03-21T18:21:50.985Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-21T18:21:50.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T18:21:50.985Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T18:21:51.279Z] prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container [2024-03-21T18:21:51.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-50 -v /w/workspace/edgexfoundry_device-uart_PR-50:/w/workspace/edgexfoundry_device-uart_PR-50:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-50@tmp:/w/workspace/edgexfoundry_device-uart_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-21T18:21:54.597Z] $ docker top 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a -eo pid,comm [2024-03-21T18:21:54.652Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-21T18:21:54.652Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T18:21:54.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T18:21:54.809Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T18:21:54.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T18:21:54.923Z] $ docker exec 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a ssh-agent [2024-03-21T18:21:55.028Z] SSH_AUTH_SOCK=/tmp/ssh-eDuWsM1NlnL3/agent.32 [2024-03-21T18:21:55.028Z] SSH_AGENT_PID=38 [2024-03-21T18:21:55.035Z] Running ssh-add (command line suppressed) [2024-03-21T18:21:55.142Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-50@tmp/private_key_18345663177847943122.key (/w/workspace/edgexfoundry_device-uart_PR-50@tmp/private_key_18345663177847943122.key) [2024-03-21T18:21:55.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T18:21:55.492Z] + git tag --points-at HEAD [Pipeline] } [2024-03-21T18:21:55.519Z] $ docker exec --env ******** --env ******** 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a ssh-agent -k [2024-03-21T18:21:55.604Z] unset SSH_AUTH_SOCK; [2024-03-21T18:21:55.604Z] unset SSH_AGENT_PID; [2024-03-21T18:21:55.604Z] echo Agent pid 38 killed; [2024-03-21T18:21:55.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-21T18:21:55.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T18:21:55.722Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T18:21:55.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T18:21:55.840Z] $ docker exec 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a ssh-agent [2024-03-21T18:21:55.945Z] SSH_AUTH_SOCK=/tmp/ssh-ICbw4NKqi1Q1/agent.72 [2024-03-21T18:21:55.945Z] SSH_AGENT_PID=78 [2024-03-21T18:21:55.950Z] Running ssh-add (command line suppressed) [2024-03-21T18:21:56.046Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-50@tmp/private_key_9245850406460965108.key (/w/workspace/edgexfoundry_device-uart_PR-50@tmp/private_key_9245850406460965108.key) [2024-03-21T18:21:56.059Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T18:21:56.395Z] + git semver init [2024-03-21T18:21:56.657Z] 2024-03-21 18:21:56,570 [run_init] DEBUG init version:0.0.0 force:False [2024-03-21T18:21:56.657Z] 2024-03-21 18:21:56,570 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-50/.semver [2024-03-21T18:21:56.657Z] 2024-03-21 18:21:56,571 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-50/.semver [2024-03-21T18:21:56.658Z] 2024-03-21 18:21:56,571 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-50/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-50, universal_newlines=False, shell=None, istream=None) [2024-03-21T18:21:58.055Z] 2024-03-21 18:21:57,738 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-50/.git/info/exclude [2024-03-21T18:21:58.055Z] 2024-03-21 18:21:57,738 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-50/.semver/PR-50 with force:False [2024-03-21T18:21:58.055Z] 2024-03-21 18:21:57,738 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-50/.semver/PR-50 [2024-03-21T18:21:58.055Z] 2024-03-21 18:21:57,743 [execute] INFO git cat-file --batch-check [2024-03-21T18:21:58.055Z] 2024-03-21 18:21:57,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-50/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T18:21:58.055Z] 2024-03-21 18:21:57,750 [execute] INFO git cat-file --batch [2024-03-21T18:21:58.055Z] 2024-03-21 18:21:57,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-50/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T18:21:58.055Z] 2024-03-21 18:21:57,755 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-50/.semver/PR-50 [2024-03-21T18:21:58.055Z] 0.0.0 [Pipeline] } [2024-03-21T18:21:58.083Z] $ docker exec --env ******** --env ******** 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a ssh-agent -k [2024-03-21T18:21:58.175Z] unset SSH_AUTH_SOCK; [2024-03-21T18:21:58.176Z] unset SSH_AGENT_PID; [2024-03-21T18:21:58.176Z] echo Agent pid 78 killed; [2024-03-21T18:21:58.185Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T18:21:58.625Z] + git semver [Pipeline] } [2024-03-21T18:21:58.911Z] $ docker stop --time=1 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a [2024-03-21T18:22:00.224Z] $ docker rm -f --volumes 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T18:22:00.645Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-21T18:22:00.944Z] Stashed 1 file(s) [Pipeline] echo [2024-03-21T18:22:00.960Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T18:22:01.577Z] provisioning config files... [2024-03-21T18:22:01.588Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-50@tmp/config2437030278007474877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:22:01.942Z] ---> ****-login.sh [2024-03-21T18:22:01.942Z] nexus3.edgexfoundry.org:10001 [2024-03-21T18:22:01.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:22:01.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:22:01.942Z] Configure a credential helper to remove this warning. See [2024-03-21T18:22:01.942Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:22:01.942Z] [2024-03-21T18:22:01.942Z] Login Succeeded [2024-03-21T18:22:01.942Z] nexus3.edgexfoundry.org:10002 [2024-03-21T18:22:01.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:22:01.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:22:01.942Z] Configure a credential helper to remove this warning. See [2024-03-21T18:22:01.942Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:22:01.942Z] [2024-03-21T18:22:01.942Z] Login Succeeded [2024-03-21T18:22:01.942Z] nexus3.edgexfoundry.org:10003 [2024-03-21T18:22:02.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:22:02.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:22:02.203Z] Configure a credential helper to remove this warning. See [2024-03-21T18:22:02.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:22:02.203Z] [2024-03-21T18:22:02.203Z] Login Succeeded [2024-03-21T18:22:02.203Z] nexus3.edgexfoundry.org:10004 [2024-03-21T18:22:02.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:22:02.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:22:02.203Z] Configure a credential helper to remove this warning. See [2024-03-21T18:22:02.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:22:02.203Z] [2024-03-21T18:22:02.203Z] Login Succeeded [2024-03-21T18:22:02.203Z] ****.io [2024-03-21T18:22:02.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:22:02.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:22:02.463Z] Configure a credential helper to remove this warning. See [2024-03-21T18:22:02.463Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:22:02.463Z] [2024-03-21T18:22:02.463Z] Login Succeeded [2024-03-21T18:22:02.463Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T18:22:02.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T18:22:02.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T18:22:02.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T18:22:02.789Z] ========================================================= [2024-03-21T18:22:02.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-21T18:22:02.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:22:03.277Z] + 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 . [2024-03-21T18:22:03.277Z] Sending build context to Docker daemon 23.13MB [2024-03-21T18:22:03.277Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T18:22:03.277Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-21T18:22:03.536Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-21T18:22:03.536Z] 7264a8db6415: Pulling fs layer [2024-03-21T18:22:03.536Z] c4d48a809fc2: Pulling fs layer [2024-03-21T18:22:03.536Z] 4f1c88b9dad5: Pulling fs layer [2024-03-21T18:22:03.536Z] ad3a456e5733: Pulling fs layer [2024-03-21T18:22:03.536Z] 69c7f0334f64: Pulling fs layer [2024-03-21T18:22:03.536Z] ad3a456e5733: Waiting [2024-03-21T18:22:03.536Z] 1f1c1a5573a3: Pulling fs layer [2024-03-21T18:22:03.536Z] ce7588e14bc9: Pulling fs layer [2024-03-21T18:22:03.536Z] b5e4710f87ac: Pulling fs layer [2024-03-21T18:22:03.536Z] ce7588e14bc9: Waiting [2024-03-21T18:22:03.536Z] 69c7f0334f64: Waiting [2024-03-21T18:22:03.536Z] b5e4710f87ac: Waiting [2024-03-21T18:22:03.536Z] 1f1c1a5573a3: Waiting [2024-03-21T18:22:03.536Z] c4d48a809fc2: Verifying Checksum [2024-03-21T18:22:03.536Z] c4d48a809fc2: Download complete [2024-03-21T18:22:03.536Z] ad3a456e5733: Download complete [2024-03-21T18:22:03.536Z] 69c7f0334f64: Verifying Checksum [2024-03-21T18:22:03.536Z] 69c7f0334f64: Download complete [2024-03-21T18:22:03.536Z] 7264a8db6415: Verifying Checksum [2024-03-21T18:22:03.536Z] 7264a8db6415: Download complete [2024-03-21T18:22:03.536Z] 1f1c1a5573a3: Verifying Checksum [2024-03-21T18:22:03.536Z] 1f1c1a5573a3: Download complete [2024-03-21T18:22:03.536Z] 7264a8db6415: Pull complete [2024-03-21T18:22:03.794Z] b5e4710f87ac: Verifying Checksum [2024-03-21T18:22:03.794Z] b5e4710f87ac: Download complete [2024-03-21T18:22:03.794Z] c4d48a809fc2: Pull complete [2024-03-21T18:22:04.054Z] 4f1c88b9dad5: Verifying Checksum [2024-03-21T18:22:04.054Z] 4f1c88b9dad5: Download complete [2024-03-21T18:22:04.315Z] ce7588e14bc9: Verifying Checksum [2024-03-21T18:22:04.315Z] ce7588e14bc9: Download complete [2024-03-21T18:22:07.620Z] 4f1c88b9dad5: Pull complete [2024-03-21T18:22:07.620Z] ad3a456e5733: Pull complete [2024-03-21T18:22:07.620Z] 69c7f0334f64: Pull complete [2024-03-21T18:22:07.620Z] 1f1c1a5573a3: Pull complete [2024-03-21T18:22:09.528Z] ce7588e14bc9: Pull complete [2024-03-21T18:22:10.096Z] b5e4710f87ac: Pull complete [2024-03-21T18:22:10.096Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-21T18:22:10.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-21T18:22:10.096Z] ---> 88b5674ff536 [2024-03-21T18:22:10.096Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T18:22:16.398Z] Still waiting to schedule task [2024-03-21T18:22:16.398Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-21T18:22:16.666Z] ---> Running in 7d0e8c188b1c [2024-03-21T18:22:16.666Z] Removing intermediate container 7d0e8c188b1c [2024-03-21T18:22:16.666Z] ---> 24d7e4856976 [2024-03-21T18:22:16.666Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T18:22:16.666Z] ---> Running in 7210a92aa8f3 [2024-03-21T18:22:16.666Z] Removing intermediate container 7210a92aa8f3 [2024-03-21T18:22:16.666Z] ---> a23fce8342b8 [2024-03-21T18:22:16.666Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-21T18:22:16.666Z] ---> Running in 35db6b3202c1 [2024-03-21T18:22:16.666Z] Removing intermediate container 35db6b3202c1 [2024-03-21T18:22:16.666Z] ---> 957fdda365f4 [2024-03-21T18:22:16.666Z] Step 6/12 : WORKDIR /device-uart [2024-03-21T18:22:16.666Z] ---> Running in 54bc664f4f8c [2024-03-21T18:22:16.666Z] Removing intermediate container 54bc664f4f8c [2024-03-21T18:22:16.666Z] ---> c442da13fb1a [2024-03-21T18:22:16.666Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T18:22:16.666Z] ---> Running in 84ba587f75d5 [2024-03-21T18:22:16.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T18:22:16.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T18:22:16.926Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T18:22:16.926Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-21T18:22:16.926Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T18:22:17.188Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T18:22:17.188Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T18:22:17.188Z] OK: 268 MiB in 56 packages [2024-03-21T18:22:17.758Z] Removing intermediate container 84ba587f75d5 [2024-03-21T18:22:17.758Z] ---> 546416eb062e [2024-03-21T18:22:17.758Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-21T18:22:17.758Z] ---> fc53c0501ccc [2024-03-21T18:22:17.758Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T18:22:17.758Z] ---> Running in d1f044dc2f23 [2024-03-21T18:23:25.463Z] Removing intermediate container d1f044dc2f23 [2024-03-21T18:23:25.463Z] ---> 00132602bbe2 [2024-03-21T18:23:25.463Z] Step 10/12 : COPY . . [2024-03-21T18:23:25.463Z] ---> 6b138cca86f6 [2024-03-21T18:23:25.463Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T18:23:25.463Z] ---> Running in 73c8c557c1c6 [2024-03-21T18:23:25.463Z] Removing intermediate container 73c8c557c1c6 [2024-03-21T18:23:25.463Z] ---> 29a923321e4a [2024-03-21T18:23:25.463Z] Step 12/12 : RUN ${MAKE} [2024-03-21T18:23:25.463Z] ---> Running in 3e84a4f5af97 [2024-03-21T18:23:25.463Z] noop [2024-03-21T18:23:25.463Z] Removing intermediate container 3e84a4f5af97 [2024-03-21T18:23:25.463Z] ---> 717a4199b9e4 [2024-03-21T18:23:25.463Z] Successfully built 717a4199b9e4 [2024-03-21T18:23:25.463Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:23:25.928Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T18:23:25.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T18:23:26.086Z] prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container [2024-03-21T18:23:26.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-50 -v /w/workspace/edgexfoundry_device-uart_PR-50:/w/workspace/edgexfoundry_device-uart_PR-50:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-50@tmp:/w/workspace/edgexfoundry_device-uart_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-21T18:23:26.453Z] $ docker top ac4e6e979c378a510a3e598ad44af9f490a204e1fe9cb7744d70ba634336be7c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T18:23:26.843Z] + go version [2024-03-21T18:23:26.843Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-21T18:23:26.878Z] $ docker stop --time=1 ac4e6e979c378a510a3e598ad44af9f490a204e1fe9cb7744d70ba634336be7c [2024-03-21T18:23:28.125Z] $ docker rm -f --volumes ac4e6e979c378a510a3e598ad44af9f490a204e1fe9cb7744d70ba634336be7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:23:28.899Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T18:23:28.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T18:23:29.057Z] prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container [2024-03-21T18:23:29.088Z] $ 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-50 -v /w/workspace/edgexfoundry_device-uart_PR-50:/w/workspace/edgexfoundry_device-uart_PR-50:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-50@tmp:/w/workspace/edgexfoundry_device-uart_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-21T18:23:29.415Z] $ docker top 576bc95df4baada62714f6a4a5f860326530ba01dec64927565826a8c7ed7aaf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T18:23:29.815Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-50 [Pipeline] fileExists [Pipeline] sh [2024-03-21T18:23:30.179Z] + make test [2024-03-21T18:23:30.179Z] go test ./... -coverprofile=coverage.out [2024-03-21T18:23:32.080Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-03-21T18:23:43.506Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-598 in /w/workspace/edgexfoundry_device-uart_PR-50 [Pipeline] { [Pipeline] ws [2024-03-21T18:23:43.571Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-03-21T18:23:46.667Z] The recommended git tool is: git [2024-03-21T18:23:46.948Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-03-21T18:23:46.948Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-03-21T18:23:51.362Z] using credential edgex-jenkins-ssh [2024-03-21T18:23:51.382Z] Cloning the remote Git repository [2024-03-21T18:23:51.423Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-03-21T18:23:51.519Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-03-21T18:23:51.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-03-21T18:23:51.673Z] > git --version # timeout=10 [2024-03-21T18:23:51.691Z] > git --version # 'git version 2.25.1' [2024-03-21T18:23:51.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T18:23:51.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T18:23:53.770Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-03-21T18:23:53.812Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T18:23:55.062Z] go vet ./... [2024-03-21T18:23:55.160Z] Merging remotes/origin/main commit 08fb917c2f38b4ae53e716333c1e5812fb96cea3 into PR head commit faf11dc8766dc1815638bbb61542875372543fca [2024-03-21T18:23:55.410Z] Merge succeeded, producing faf11dc8766dc1815638bbb61542875372543fca [2024-03-21T18:23:55.410Z] Checking out Revision faf11dc8766dc1815638bbb61542875372543fca (PR-50) [2024-03-21T18:23:54.643Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-03-21T18:23:54.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-03-21T18:23:54.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T18:23:54.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-21T18:23:55.176Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T18:23:55.241Z] > git checkout -f faf11dc8766dc1815638bbb61542875372543fca # timeout=10 [2024-03-21T18:23:55.311Z] > git remote # timeout=10 [2024-03-21T18:23:55.330Z] > git config --get remote.origin.url # timeout=10 [2024-03-21T18:23:55.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T18:23:55.369Z] > git merge 08fb917c2f38b4ae53e716333c1e5812fb96cea3 # timeout=10 [2024-03-21T18:23:55.392Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-21T18:23:55.417Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T18:23:55.430Z] > git checkout -f faf11dc8766dc1815638bbb61542875372543fca # timeout=10 [2024-03-21T18:23:55.889Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-21T18:23:55.937Z] > git --version # timeout=10 [2024-03-21T18:23:55.949Z] > git --version # 'git version 2.25.1' [2024-03-21T18:23:55.961Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T18:24:00.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T18:24:00.325Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T18:24:00.325Z] ./bin/test-attribution-txt.sh [2024-03-21T18:24:00.325Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T18:24:00.325Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T18:24:00.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T18:24:00.511Z] $ docker stop --time=1 576bc95df4baada62714f6a4a5f860326530ba01dec64927565826a8c7ed7aaf [2024-03-21T18:24:00.720Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-21T18:24:00.720Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T18:24:00.720Z] Dload Upload Total Spent Left Speed [2024-03-21T18:24:00.720Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [2024-03-21T18:24:07.824Z] $ docker rm -f --volumes 576bc95df4baada62714f6a4a5f860326530ba01dec64927565826a8c7ed7aaf [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2024-03-21T18:24:08.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T18:24:08.506Z] Stashed 1 file(s) [2024-03-21T18:24:08.511Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-03-21T18:24:08.917Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-21T18:24:08.917Z] + sudo tee /etc/docker/daemon.new [2024-03-21T18:24:08.917Z] { [2024-03-21T18:24:08.917Z] "registry-mirrors": [ [2024-03-21T18:24:08.917Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-21T18:24:08.917Z] ], [2024-03-21T18:24:08.917Z] "bip": "10.250.0.254/24", [2024-03-21T18:24:08.917Z] "hosts": [ [2024-03-21T18:24:08.917Z] "tcp://0.0.0.0:5555", [2024-03-21T18:24:08.917Z] "unix:///var/run/docker.sock" [2024-03-21T18:24:08.917Z] ], [2024-03-21T18:24:08.917Z] "mtu": 1458, [2024-03-21T18:24:08.917Z] "selinux-enabled": true, [2024-03-21T18:24:08.917Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-21T18:24:08.917Z] } [Pipeline] sh [Pipeline] sh [2024-03-21T18:24:09.302Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-21T18:24:09.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T18:24:09.636Z] + sudo service docker restart [2024-03-21T18:24:09.718Z] + ls -al . [2024-03-21T18:24:09.718Z] total 224 [2024-03-21T18:24:09.718Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 18:23 . [2024-03-21T18:24:09.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 18:21 .. [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 18:21 .dockerignore [2024-03-21T18:24:09.718Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 18:23 .git [2024-03-21T18:24:09.718Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:21 .github [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 21 18:21 .gitignore [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 18:21 .golangci.yml [2024-03-21T18:24:09.718Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 18:21 .semver [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 9941 Mar 21 18:21 Attribution.txt [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 1908 Mar 21 18:21 CHANGELOG.md [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 1886 Mar 21 18:21 Dockerfile [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 18:21 GOVERNANCE.md [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 675 Mar 21 18:21 Jenkinsfile [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 18:21 LICENSE [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 1872 Mar 21 18:21 Makefile [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 21 18:21 OWNERS.md [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 8892 Mar 21 18:21 README.md [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 18:22 VERSION [2024-03-21T18:24:09.718Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 18:21 bin [2024-03-21T18:24:09.718Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:21 cmd [2024-03-21T18:24:09.718Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 21 18:23 coverage.out [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 7068 Mar 21 18:21 go.mod [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 101736 Mar 21 18:21 go.sum [2024-03-21T18:24:09.718Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:21 internal [2024-03-21T18:24:09.718Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 21 18:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:24:10.144Z] + 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=faf11dc8766dc1815638bbb61542875372543fca --label arch=amd64 --label version=0.0.0 . [2024-03-21T18:24:10.144Z] Sending build context to Docker daemon 23.13MB [2024-03-21T18:24:10.144Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T18:24:10.144Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-21T18:24:10.144Z] ---> 717a4199b9e4 [2024-03-21T18:24:10.144Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T18:24:10.710Z] ---> Running in a4d969a66640 [2024-03-21T18:24:10.710Z] Removing intermediate container a4d969a66640 [2024-03-21T18:24:10.710Z] ---> 21820c5aaaf4 [2024-03-21T18:24:10.710Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T18:24:10.710Z] ---> Running in 4d1b1ec96c3a [2024-03-21T18:24:10.969Z] Removing intermediate container 4d1b1ec96c3a [2024-03-21T18:24:10.969Z] ---> 05f8ee261bc1 [2024-03-21T18:24:10.969Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-21T18:24:10.969Z] ---> Running in dfe84b1a2fc5 [2024-03-21T18:24:10.969Z] Removing intermediate container dfe84b1a2fc5 [2024-03-21T18:24:10.969Z] ---> c7c45bb49645 [2024-03-21T18:24:10.969Z] Step 6/26 : WORKDIR /device-uart [2024-03-21T18:24:10.969Z] ---> Running in 0736b11af171 [2024-03-21T18:24:10.969Z] Removing intermediate container 0736b11af171 [2024-03-21T18:24:10.969Z] ---> 6832dd7fc4f6 [2024-03-21T18:24:10.969Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T18:24:10.969Z] ---> Running in 3d5b5205f6aa [2024-03-21T18:24:11.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T18:24:11.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T18:24:11.796Z] OK: 268 MiB in 56 packages [2024-03-21T18:24:12.055Z] Removing intermediate container 3d5b5205f6aa [2024-03-21T18:24:12.055Z] ---> fb23576be33c [2024-03-21T18:24:12.055Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-21T18:24:12.315Z] ---> 5ca28715f435 [2024-03-21T18:24:12.315Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T18:24:12.315Z] ---> Running in f40bdbee3f60 [2024-03-21T18:24:12.881Z] Removing intermediate container f40bdbee3f60 [2024-03-21T18:24:12.881Z] ---> bdc266b8355f [2024-03-21T18:24:12.881Z] Step 10/26 : COPY . . [2024-03-21T18:24:14.257Z] ---> 2ae039ce026d [2024-03-21T18:24:14.257Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T18:24:14.257Z] ---> Running in 70b1a8c9c89a [2024-03-21T18:24:14.257Z] Removing intermediate container 70b1a8c9c89a [2024-03-21T18:24:14.257Z] ---> 0450ff1c4e52 [2024-03-21T18:24:14.257Z] Step 12/26 : RUN ${MAKE} [2024-03-21T18:24:14.257Z] ---> Running in d8ce23f47856 [2024-03-21T18:24:14.257Z] 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.12" -trimpath -mod=readonly -o cmd/device-uart ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T18:24:27.934Z] provisioning config files... [2024-03-21T18:24:27.959Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config1776601399154798343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:24:28.414Z] ---> ****-login.sh [2024-03-21T18:24:28.414Z] nexus3.edgexfoundry.org:10001 [2024-03-21T18:24:28.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:24:28.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:24:28.951Z] Configure a credential helper to remove this warning. See [2024-03-21T18:24:28.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:24:28.952Z] [2024-03-21T18:24:28.952Z] Login Succeeded [2024-03-21T18:24:28.952Z] nexus3.edgexfoundry.org:10002 [2024-03-21T18:24:29.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:24:29.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:24:29.490Z] Configure a credential helper to remove this warning. See [2024-03-21T18:24:29.490Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:24:29.490Z] [2024-03-21T18:24:29.490Z] Login Succeeded [2024-03-21T18:24:29.490Z] nexus3.edgexfoundry.org:10003 [2024-03-21T18:24:29.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:24:29.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:24:29.767Z] Configure a credential helper to remove this warning. See [2024-03-21T18:24:29.768Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:24:29.768Z] [2024-03-21T18:24:29.768Z] Login Succeeded [2024-03-21T18:24:29.768Z] nexus3.edgexfoundry.org:10004 [2024-03-21T18:24:30.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:24:30.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:24:30.036Z] Configure a credential helper to remove this warning. See [2024-03-21T18:24:30.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:24:30.036Z] [2024-03-21T18:24:30.036Z] Login Succeeded [2024-03-21T18:24:30.036Z] ****.io [2024-03-21T18:24:30.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T18:24:30.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T18:24:30.573Z] Configure a credential helper to remove this warning. See [2024-03-21T18:24:30.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T18:24:30.573Z] [2024-03-21T18:24:30.573Z] Login Succeeded [2024-03-21T18:24:30.573Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T18:24:30.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T18:24:31.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T18:24:31.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T18:24:31.090Z] ========================================================= [2024-03-21T18:24:31.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-21T18:24:31.090Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:24:31.593Z] + 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 . [2024-03-21T18:24:31.862Z] Sending build context to Docker daemon 11.63MB [2024-03-21T18:24:32.134Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T18:24:32.134Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-21T18:24:32.134Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-21T18:24:32.134Z] 9fda8d8052c6: Pulling fs layer [2024-03-21T18:24:32.134Z] 5d54e960e981: Pulling fs layer [2024-03-21T18:24:32.134Z] c4a7e357bf2a: Pulling fs layer [2024-03-21T18:24:32.134Z] f0e02332f6b5: Pulling fs layer [2024-03-21T18:24:32.134Z] 872ee5b61b7b: Pulling fs layer [2024-03-21T18:24:32.134Z] 0c6a40ed1a82: Pulling fs layer [2024-03-21T18:24:32.134Z] 94ae7d8d031c: Pulling fs layer [2024-03-21T18:24:32.134Z] f0e02332f6b5: Waiting [2024-03-21T18:24:32.134Z] 872ee5b61b7b: Waiting [2024-03-21T18:24:32.134Z] 0c6a40ed1a82: Waiting [2024-03-21T18:24:32.134Z] 94ae7d8d031c: Waiting [2024-03-21T18:24:32.134Z] 5d54e960e981: Download complete [2024-03-21T18:24:32.134Z] f0e02332f6b5: Verifying Checksum [2024-03-21T18:24:32.134Z] f0e02332f6b5: Download complete [2024-03-21T18:24:32.134Z] 872ee5b61b7b: Verifying Checksum [2024-03-21T18:24:32.134Z] 872ee5b61b7b: Download complete [2024-03-21T18:24:32.410Z] 9fda8d8052c6: Verifying Checksum [2024-03-21T18:24:32.410Z] 9fda8d8052c6: Download complete [2024-03-21T18:24:32.679Z] 94ae7d8d031c: Verifying Checksum [2024-03-21T18:24:32.679Z] 94ae7d8d031c: Download complete [2024-03-21T18:24:33.264Z] 9fda8d8052c6: Pull complete [2024-03-21T18:24:33.540Z] 5d54e960e981: Pull complete [2024-03-21T18:24:34.128Z] c4a7e357bf2a: Verifying Checksum [2024-03-21T18:24:34.128Z] c4a7e357bf2a: Download complete [2024-03-21T18:24:35.098Z] 0c6a40ed1a82: Verifying Checksum [2024-03-21T18:24:35.098Z] 0c6a40ed1a82: Download complete [2024-03-21T18:24:46.334Z] Removing intermediate container d8ce23f47856 [2024-03-21T18:24:46.335Z] ---> 99a97fdb650b [2024-03-21T18:24:46.335Z] Step 13/26 : FROM alpine:3.18 [2024-03-21T18:24:46.335Z] 3.18: Pulling from library/alpine [2024-03-21T18:24:46.335Z] 619be1103602: Pulling fs layer [2024-03-21T18:24:46.335Z] 619be1103602: Verifying Checksum [2024-03-21T18:24:46.335Z] 619be1103602: Download complete [2024-03-21T18:24:46.335Z] 619be1103602: Pull complete [2024-03-21T18:24:46.335Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T18:24:46.335Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T18:24:46.335Z] ---> d3782b16ccc9 [2024-03-21T18:24:46.335Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-21T18:24:46.335Z] ---> Running in a2e0a6eb6c05 [2024-03-21T18:24:46.335Z] Removing intermediate container a2e0a6eb6c05 [2024-03-21T18:24:46.335Z] ---> ea49639254fb [2024-03-21T18:24:46.335Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-21T18:24:46.335Z] ---> Running in 5d0ee03576f7 [2024-03-21T18:24:46.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T18:24:46.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T18:24:47.117Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T18:24:47.117Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T18:24:47.117Z] OK: 7 MiB in 16 packages [2024-03-21T18:24:47.376Z] Removing intermediate container 5d0ee03576f7 [2024-03-21T18:24:47.376Z] ---> 933f6676f82f [2024-03-21T18:24:47.376Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-21T18:24:47.376Z] ---> Running in 9b7c0d6875e9 [2024-03-21T18:24:47.398Z] c4a7e357bf2a: Pull complete [2024-03-21T18:24:47.398Z] f0e02332f6b5: Pull complete [2024-03-21T18:24:47.398Z] 872ee5b61b7b: Pull complete [2024-03-21T18:24:47.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T18:24:47.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T18:24:47.905Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T18:24:47.905Z] OK: 7 MiB in 16 packages [2024-03-21T18:24:48.164Z] Removing intermediate container 9b7c0d6875e9 [2024-03-21T18:24:48.164Z] ---> 1b9c7ebf35a4 [2024-03-21T18:24:48.164Z] Step 17/26 : WORKDIR / [2024-03-21T18:24:48.164Z] ---> Running in e2cc0b6fc2a2 [2024-03-21T18:24:48.423Z] Removing intermediate container e2cc0b6fc2a2 [2024-03-21T18:24:48.423Z] ---> 5bb7392a069a [2024-03-21T18:24:48.423Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-03-21T18:24:48.423Z] ---> 77fb20abe84d [2024-03-21T18:24:48.423Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-03-21T18:24:48.423Z] ---> 1a1ea78317d6 [2024-03-21T18:24:48.423Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-03-21T18:24:50.326Z] ---> a286b3193e1c [2024-03-21T18:24:50.326Z] Step 21/26 : EXPOSE 59995 [2024-03-21T18:24:50.326Z] ---> Running in 881cd6b8c73e [2024-03-21T18:24:50.326Z] Removing intermediate container 881cd6b8c73e [2024-03-21T18:24:50.326Z] ---> e80bb5cdc54e [2024-03-21T18:24:50.326Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-03-21T18:24:50.326Z] ---> Running in 479c8e18b2ab [2024-03-21T18:24:50.326Z] Removing intermediate container 479c8e18b2ab [2024-03-21T18:24:50.326Z] ---> 82810ef4b22a [2024-03-21T18:24:50.326Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-21T18:24:50.326Z] ---> Running in dc0f03d7fcad [2024-03-21T18:24:50.326Z] Removing intermediate container dc0f03d7fcad [2024-03-21T18:24:50.326Z] ---> 89f5fc6a089e [2024-03-21T18:24:50.326Z] Step 24/26 : LABEL arch=amd64 [2024-03-21T18:24:50.326Z] ---> Running in 5ec4b32af0f8 [2024-03-21T18:24:50.584Z] Removing intermediate container 5ec4b32af0f8 [2024-03-21T18:24:50.584Z] ---> 8c6301df85d4 [2024-03-21T18:24:50.584Z] Step 25/26 : LABEL git_sha=faf11dc8766dc1815638bbb61542875372543fca [2024-03-21T18:24:50.584Z] ---> Running in 9b0082518913 [2024-03-21T18:24:50.584Z] Removing intermediate container 9b0082518913 [2024-03-21T18:24:50.584Z] ---> 3222efc25e89 [2024-03-21T18:24:50.584Z] Step 26/26 : LABEL version=0.0.0 [2024-03-21T18:24:50.584Z] ---> Running in ca1b466664bc [2024-03-21T18:24:50.584Z] Removing intermediate container ca1b466664bc [2024-03-21T18:24:50.584Z] ---> 79b077077d8c [2024-03-21T18:24:50.584Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T18:24:50.584Z] Successfully built 79b077077d8c [2024-03-21T18:24:50.844Z] 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 [2024-03-21T18:24:51.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T18:24:51.804Z] [2024-03-21T18:24:51.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:24:52.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T18:24:52.195Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-21T18:24:52.195Z] 5eb5b503b376: Pulling fs layer [2024-03-21T18:24:52.195Z] 5c69ac0246d0: Pulling fs layer [2024-03-21T18:24:52.195Z] ec43610c2a17: Pulling fs layer [2024-03-21T18:24:52.195Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-21T18:24:52.195Z] 33b1e0a273af: Pulling fs layer [2024-03-21T18:24:52.195Z] 5d3b04190fa2: Pulling fs layer [2024-03-21T18:24:52.195Z] 2f39f015ded8: Pulling fs layer [2024-03-21T18:24:52.195Z] 3a2ae6a8a46f: Waiting [2024-03-21T18:24:52.195Z] 33b1e0a273af: Waiting [2024-03-21T18:24:52.195Z] 5d3b04190fa2: Waiting [2024-03-21T18:24:52.195Z] 2f39f015ded8: Waiting [2024-03-21T18:24:52.195Z] 5c69ac0246d0: Verifying Checksum [2024-03-21T18:24:52.195Z] 5c69ac0246d0: Download complete [2024-03-21T18:24:52.195Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-21T18:24:52.195Z] 3a2ae6a8a46f: Download complete [2024-03-21T18:24:52.195Z] 33b1e0a273af: Verifying Checksum [2024-03-21T18:24:52.195Z] 33b1e0a273af: Download complete [2024-03-21T18:24:52.195Z] 5d3b04190fa2: Verifying Checksum [2024-03-21T18:24:52.195Z] 5d3b04190fa2: Download complete [2024-03-21T18:24:52.453Z] ec43610c2a17: Verifying Checksum [2024-03-21T18:24:52.453Z] ec43610c2a17: Download complete [2024-03-21T18:24:52.453Z] 5eb5b503b376: Verifying Checksum [2024-03-21T18:24:52.453Z] 5eb5b503b376: Download complete [2024-03-21T18:24:53.017Z] 2f39f015ded8: Download complete [2024-03-21T18:24:53.586Z] 5eb5b503b376: Pull complete [2024-03-21T18:24:53.845Z] 5c69ac0246d0: Pull complete [2024-03-21T18:24:54.104Z] ec43610c2a17: Pull complete [2024-03-21T18:24:54.364Z] 3a2ae6a8a46f: Pull complete [2024-03-21T18:24:54.364Z] 33b1e0a273af: Pull complete [2024-03-21T18:24:54.623Z] 5d3b04190fa2: Pull complete [2024-03-21T18:24:55.583Z] 0c6a40ed1a82: Pull complete [2024-03-21T18:24:56.540Z] 94ae7d8d031c: Pull complete [2024-03-21T18:24:56.540Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-21T18:24:56.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-21T18:24:56.540Z] ---> 86de565de09d [2024-03-21T18:24:56.540Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T18:24:57.952Z] ---> Running in 32629e0b3430 [2024-03-21T18:24:57.952Z] Removing intermediate container 32629e0b3430 [2024-03-21T18:24:57.952Z] ---> a0a460a077a3 [2024-03-21T18:24:57.952Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T18:24:58.219Z] ---> Running in 5aadc1b09f07 [2024-03-21T18:24:58.485Z] Removing intermediate container 5aadc1b09f07 [2024-03-21T18:24:58.485Z] ---> d28689709538 [2024-03-21T18:24:58.485Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-21T18:24:58.485Z] ---> Running in 45634967966f [2024-03-21T18:24:58.753Z] Removing intermediate container 45634967966f [2024-03-21T18:24:58.753Z] ---> a8e14026acf6 [2024-03-21T18:24:58.753Z] Step 6/12 : WORKDIR /device-uart [2024-03-21T18:24:58.753Z] ---> Running in be2456c2233b [2024-03-21T18:24:58.809Z] 2f39f015ded8: Pull complete [2024-03-21T18:24:58.809Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-21T18:24:58.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T18:24:58.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T18:24:59.056Z] prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container [2024-03-21T18:24:59.087Z] $ 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-50 -v /w/workspace/edgexfoundry_device-uart_PR-50:/w/workspace/edgexfoundry_device-uart_PR-50:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-50@tmp:/w/workspace/edgexfoundry_device-uart_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-21T18:24:59.334Z] Removing intermediate container be2456c2233b [2024-03-21T18:24:59.334Z] ---> eeb26505906d [2024-03-21T18:24:59.334Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T18:24:59.334Z] ---> Running in 52b000b4121d [2024-03-21T18:25:00.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T18:25:00.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T18:25:01.850Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T18:25:01.850Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-21T18:25:01.850Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T18:25:01.850Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T18:25:01.850Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T18:25:01.850Z] OK: 271 MiB in 56 packages [2024-03-21T18:25:02.820Z] Removing intermediate container 52b000b4121d [2024-03-21T18:25:02.820Z] ---> 93da5b6f97eb [2024-03-21T18:25:02.820Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-21T18:25:03.405Z] ---> 1d639c992049 [2024-03-21T18:25:03.405Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T18:25:03.405Z] ---> Running in 061ae269db95 [2024-03-21T18:25:06.918Z] $ docker top eec60960a8302391ae02f46b92dce5b9dc57b6504e5228b86b46116b80f9e679 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:25:07.488Z] ---> job-cost.sh [2024-03-21T18:25:07.488Z] lf-activate-venv: SKIPPING [2024-03-21T18:25:07.488Z] INFO: No Stack... [2024-03-21T18:25:07.748Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T18:25:08.316Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T18:25:08.711Z] + cat /w/workspace/edgexfoundry_device-uart_PR-50/archives/cost.csv [2024-03-21T18:25:08.711Z] + cut -d, -f6 [Pipeline] lock [2024-03-21T18:25:08.754Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [2024-03-21T18:25:08.758Z] Resource [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] did not exist. Created. [2024-03-21T18:25:08.762Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T18:25:09.162Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-21T18:25:09.210Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T18:25:09.243Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T18:25:09.340Z] $ docker stop --time=1 eec60960a8302391ae02f46b92dce5b9dc57b6504e5228b86b46116b80f9e679 [2024-03-21T18:25:10.486Z] $ docker rm -f --volumes eec60960a8302391ae02f46b92dce5b9dc57b6504e5228b86b46116b80f9e679 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-21T18:27:10.071Z] Removing intermediate container 061ae269db95 [2024-03-21T18:27:10.071Z] ---> 77dc760441dc [2024-03-21T18:27:10.071Z] Step 10/12 : COPY . . [2024-03-21T18:27:10.071Z] ---> cff7deb103bd [2024-03-21T18:27:10.071Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T18:27:10.071Z] ---> Running in 5ffdbee11ec3 [2024-03-21T18:27:10.071Z] Removing intermediate container 5ffdbee11ec3 [2024-03-21T18:27:10.071Z] ---> 9ff491e97889 [2024-03-21T18:27:10.071Z] Step 12/12 : RUN ${MAKE} [2024-03-21T18:27:10.071Z] ---> Running in 339d47f6ee9c [2024-03-21T18:27:10.071Z] noop [2024-03-21T18:27:10.071Z] Removing intermediate container 339d47f6ee9c [2024-03-21T18:27:10.071Z] ---> 8ca9c1dbcadf [2024-03-21T18:27:10.071Z] Successfully built 8ca9c1dbcadf [2024-03-21T18:27:10.071Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:27:10.573Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T18:27:10.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T18:27:10.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2024-03-21T18:27:10.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-21T18:27:12.146Z] $ docker top 32e942194690bc443b9f538944d47c148f1634fc4db2bdadd1d6365f724802d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T18:27:13.019Z] + go version [2024-03-21T18:27:13.019Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-21T18:27:13.048Z] $ docker stop --time=1 32e942194690bc443b9f538944d47c148f1634fc4db2bdadd1d6365f724802d9 [2024-03-21T18:27:14.635Z] $ docker rm -f --volumes 32e942194690bc443b9f538944d47c148f1634fc4db2bdadd1d6365f724802d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:27:15.495Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T18:27:15.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T18:27:15.763Z] prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2024-03-21T18:27:15.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-21T18:27:16.928Z] $ docker top 0bc5bf182dbcf7cc2dd880718d71e26264e003dde2690d3048db7ad3573dddb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T18:27:17.807Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-03-21T18:27:18.194Z] + make test [2024-03-21T18:27:18.195Z] go test ./... -coverprofile=coverage.out [2024-03-21T18:27:23.660Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-03-21T18:29:45.475Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-03-21T18:29:45.475Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-03-21T18:29:45.475Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-21T18:29:45.475Z] go vet ./... [2024-03-21T18:30:12.188Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T18:30:12.188Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T18:30:12.188Z] ./bin/test-attribution-txt.sh [2024-03-21T18:30:12.188Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T18:30:12.188Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T18:30:12.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T18:30:12.272Z] $ docker stop --time=1 0bc5bf182dbcf7cc2dd880718d71e26264e003dde2690d3048db7ad3573dddb0 [2024-03-21T18:30:14.116Z] $ docker rm -f --volumes 0bc5bf182dbcf7cc2dd880718d71e26264e003dde2690d3048db7ad3573dddb0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T18:30:15.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T18:30:15.659Z] Warning: overwriting stash ‘coverage-report’ [2024-03-21T18:30:16.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T18:30:16.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T18:30:17.003Z] + ls -al . [2024-03-21T18:30:17.003Z] total 220 [2024-03-21T18:30:17.003Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 18:27 . [2024-03-21T18:30:17.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 18:23 .. [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 18:23 .dockerignore [2024-03-21T18:30:17.003Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 18:23 .git [2024-03-21T18:30:17.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:23 .github [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 21 18:23 .gitignore [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 18:23 .golangci.yml [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 9941 Mar 21 18:23 Attribution.txt [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 1908 Mar 21 18:23 CHANGELOG.md [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 1886 Mar 21 18:23 Dockerfile [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 18:23 GOVERNANCE.md [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 675 Mar 21 18:23 Jenkinsfile [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 18:23 LICENSE [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 1872 Mar 21 18:23 Makefile [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 21 18:23 OWNERS.md [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 8892 Mar 21 18:23 README.md [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 18:22 VERSION [2024-03-21T18:30:17.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 18:23 bin [2024-03-21T18:30:17.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:23 cmd [2024-03-21T18:30:17.003Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 21 18:27 coverage.out [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 7068 Mar 21 18:23 go.mod [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 101736 Mar 21 18:23 go.sum [2024-03-21T18:30:17.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:23 internal [2024-03-21T18:30:17.003Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 21 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:30:17.436Z] + 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=faf11dc8766dc1815638bbb61542875372543fca --label arch=arm64 --label version=0.0.0 . [2024-03-21T18:30:17.706Z] Sending build context to Docker daemon 11.63MB [2024-03-21T18:30:17.974Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T18:30:17.974Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-21T18:30:17.974Z] ---> 8ca9c1dbcadf [2024-03-21T18:30:17.974Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T18:30:17.974Z] ---> Running in 9ec465693e1b [2024-03-21T18:30:18.241Z] Removing intermediate container 9ec465693e1b [2024-03-21T18:30:18.241Z] ---> 55794840050a [2024-03-21T18:30:18.241Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T18:30:18.241Z] ---> Running in 574d9fb6c127 [2024-03-21T18:30:18.508Z] Removing intermediate container 574d9fb6c127 [2024-03-21T18:30:18.508Z] ---> 9e4989491d74 [2024-03-21T18:30:18.508Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-21T18:30:18.776Z] ---> Running in 680f1c85e4c6 [2024-03-21T18:30:19.048Z] Removing intermediate container 680f1c85e4c6 [2024-03-21T18:30:19.048Z] ---> 05cd422d1e0c [2024-03-21T18:30:19.048Z] Step 6/26 : WORKDIR /device-uart [2024-03-21T18:30:19.048Z] ---> Running in d013b80b2e94 [2024-03-21T18:30:19.318Z] Removing intermediate container d013b80b2e94 [2024-03-21T18:30:19.318Z] ---> 403b2800cff1 [2024-03-21T18:30:19.318Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T18:30:19.318Z] ---> Running in d8b1bc39ae2e [2024-03-21T18:30:20.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T18:30:20.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T18:30:21.828Z] OK: 271 MiB in 56 packages [2024-03-21T18:30:22.794Z] Removing intermediate container d8b1bc39ae2e [2024-03-21T18:30:22.794Z] ---> 0cb8c9ab3377 [2024-03-21T18:30:22.794Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-21T18:30:23.065Z] ---> a9b1fe3f4040 [2024-03-21T18:30:23.065Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T18:30:23.065Z] ---> Running in caa44a95a246 [2024-03-21T18:30:25.651Z] Removing intermediate container caa44a95a246 [2024-03-21T18:30:25.651Z] ---> 89bb755cd6f6 [2024-03-21T18:30:25.651Z] Step 10/26 : COPY . . [2024-03-21T18:30:26.232Z] ---> ab12e4975ff3 [2024-03-21T18:30:26.232Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T18:30:26.497Z] ---> Running in 591ec978c1d6 [2024-03-21T18:30:26.767Z] Removing intermediate container 591ec978c1d6 [2024-03-21T18:30:26.767Z] ---> 227a98a23537 [2024-03-21T18:30:26.767Z] Step 12/26 : RUN ${MAKE} [2024-03-21T18:30:26.767Z] ---> Running in 3acfd51225f6 [2024-03-21T18:30:27.726Z] 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.12" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-03-21T18:33:04.418Z] Removing intermediate container 3acfd51225f6 [2024-03-21T18:33:04.418Z] ---> 8887fe2c155e [2024-03-21T18:33:04.418Z] Step 13/26 : FROM alpine:3.18 [2024-03-21T18:33:04.418Z] 3.18: Pulling from library/alpine [2024-03-21T18:33:04.418Z] c6b39de5b339: Pulling fs layer [2024-03-21T18:33:04.418Z] c6b39de5b339: Verifying Checksum [2024-03-21T18:33:04.418Z] c6b39de5b339: Pull complete [2024-03-21T18:33:04.418Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T18:33:04.418Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T18:33:04.418Z] ---> 33abbf032149 [2024-03-21T18:33:04.418Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-21T18:33:04.418Z] ---> Running in a634f27bb4d6 [2024-03-21T18:33:04.418Z] Removing intermediate container a634f27bb4d6 [2024-03-21T18:33:04.418Z] ---> 1f3a0b0d75d5 [2024-03-21T18:33:04.418Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-21T18:33:04.418Z] ---> Running in 2558447d957e [2024-03-21T18:33:04.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T18:33:04.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T18:33:04.418Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T18:33:04.418Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T18:33:04.418Z] OK: 8 MiB in 16 packages [2024-03-21T18:33:04.418Z] Removing intermediate container 2558447d957e [2024-03-21T18:33:04.418Z] ---> a2ded8f637a7 [2024-03-21T18:33:04.418Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-21T18:33:04.418Z] ---> Running in c2b0cb5d7f2a [2024-03-21T18:33:04.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T18:33:04.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T18:33:04.418Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T18:33:04.418Z] OK: 8 MiB in 16 packages [2024-03-21T18:33:04.418Z] Removing intermediate container c2b0cb5d7f2a [2024-03-21T18:33:04.418Z] ---> fb5f330167de [2024-03-21T18:33:04.418Z] Step 17/26 : WORKDIR / [2024-03-21T18:33:04.418Z] ---> Running in 02a9d5235dc5 [2024-03-21T18:33:04.687Z] Removing intermediate container 02a9d5235dc5 [2024-03-21T18:33:04.687Z] ---> 9c728657b077 [2024-03-21T18:33:04.687Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-03-21T18:33:05.270Z] ---> 92462c55e2d6 [2024-03-21T18:33:05.270Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-03-21T18:33:05.853Z] ---> 0fca71d23c4d [2024-03-21T18:33:05.853Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-03-21T18:33:09.281Z] ---> 9d2de97d6931 [2024-03-21T18:33:09.281Z] Step 21/26 : EXPOSE 59995 [2024-03-21T18:33:09.281Z] ---> Running in 5a0610c3a165 [2024-03-21T18:33:09.281Z] Removing intermediate container 5a0610c3a165 [2024-03-21T18:33:09.281Z] ---> b68b860a8200 [2024-03-21T18:33:09.281Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-03-21T18:33:09.281Z] ---> Running in 4b5cb4395d0c [2024-03-21T18:33:09.281Z] Removing intermediate container 4b5cb4395d0c [2024-03-21T18:33:09.281Z] ---> 4ca6f71102b9 [2024-03-21T18:33:09.281Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-21T18:33:09.281Z] ---> Running in cab1dbc0fb78 [2024-03-21T18:33:09.281Z] Removing intermediate container cab1dbc0fb78 [2024-03-21T18:33:09.281Z] ---> 8429078057a9 [2024-03-21T18:33:09.281Z] Step 24/26 : LABEL arch=arm64 [2024-03-21T18:33:09.281Z] ---> Running in 68fd90078e82 [2024-03-21T18:33:09.281Z] Removing intermediate container 68fd90078e82 [2024-03-21T18:33:09.281Z] ---> d6fbd2b64205 [2024-03-21T18:33:09.281Z] Step 25/26 : LABEL git_sha=faf11dc8766dc1815638bbb61542875372543fca [2024-03-21T18:33:09.281Z] ---> Running in d43ec6ae7a12 [2024-03-21T18:33:09.546Z] Removing intermediate container d43ec6ae7a12 [2024-03-21T18:33:09.547Z] ---> 7e0eca4a41c8 [2024-03-21T18:33:09.547Z] Step 26/26 : LABEL version=0.0.0 [2024-03-21T18:33:09.817Z] ---> Running in 22084932655c [2024-03-21T18:33:10.083Z] Removing intermediate container 22084932655c [2024-03-21T18:33:10.083Z] ---> f897e45670e0 [2024-03-21T18:33:10.083Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T18:33:10.083Z] Successfully built f897e45670e0 [2024-03-21T18:33:10.083Z] 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 [2024-03-21T18:33:10.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T18:33:10.982Z] [2024-03-21T18:33:10.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:33:11.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T18:33:11.400Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-21T18:33:11.400Z] 8998bd30e6a1: Pulling fs layer [2024-03-21T18:33:11.400Z] 04944245beec: Pulling fs layer [2024-03-21T18:33:11.400Z] 699f458cf7ca: Pulling fs layer [2024-03-21T18:33:11.400Z] 765212b225bb: Pulling fs layer [2024-03-21T18:33:11.400Z] f23df028b6ca: Pulling fs layer [2024-03-21T18:33:11.400Z] d65c8cfc05b1: Pulling fs layer [2024-03-21T18:33:11.400Z] 2437ff75d9bd: Pulling fs layer [2024-03-21T18:33:11.400Z] f23df028b6ca: Waiting [2024-03-21T18:33:11.400Z] d65c8cfc05b1: Waiting [2024-03-21T18:33:11.400Z] 2437ff75d9bd: Waiting [2024-03-21T18:33:11.400Z] 765212b225bb: Waiting [2024-03-21T18:33:11.668Z] 04944245beec: Verifying Checksum [2024-03-21T18:33:11.668Z] 04944245beec: Download complete [2024-03-21T18:33:11.668Z] 765212b225bb: Verifying Checksum [2024-03-21T18:33:11.668Z] 765212b225bb: Download complete [2024-03-21T18:33:11.668Z] f23df028b6ca: Verifying Checksum [2024-03-21T18:33:11.669Z] f23df028b6ca: Download complete [2024-03-21T18:33:11.669Z] d65c8cfc05b1: Verifying Checksum [2024-03-21T18:33:11.669Z] d65c8cfc05b1: Download complete [2024-03-21T18:33:11.669Z] 699f458cf7ca: Verifying Checksum [2024-03-21T18:33:11.669Z] 699f458cf7ca: Download complete [2024-03-21T18:33:13.203Z] 8998bd30e6a1: Verifying Checksum [2024-03-21T18:33:13.203Z] 8998bd30e6a1: Download complete [2024-03-21T18:33:15.783Z] 2437ff75d9bd: Verifying Checksum [2024-03-21T18:33:15.783Z] 2437ff75d9bd: Download complete [2024-03-21T18:33:17.722Z] 8998bd30e6a1: Pull complete [2024-03-21T18:33:17.990Z] 04944245beec: Pull complete [2024-03-21T18:33:19.398Z] 699f458cf7ca: Pull complete [2024-03-21T18:33:19.666Z] 765212b225bb: Pull complete [2024-03-21T18:33:20.627Z] f23df028b6ca: Pull complete [2024-03-21T18:33:20.893Z] d65c8cfc05b1: Pull complete [2024-03-21T18:33:39.097Z] 2437ff75d9bd: Pull complete [2024-03-21T18:33:39.097Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-21T18:33:39.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T18:33:39.097Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T18:33:39.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2024-03-21T18:33:39.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-21T18:33:42.155Z] $ docker top fcde1358e66a7a43b3d45d3e5be0191a1d3c566edc2199829ed7edf1e3ddab0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:33:43.087Z] ---> job-cost.sh [2024-03-21T18:33:43.087Z] lf-activate-venv: SKIPPING [2024-03-21T18:33:43.087Z] INFO: No Stack... [2024-03-21T18:33:43.352Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-21T18:33:44.306Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T18:33:44.960Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-03-21T18:33:44.960Z] + cut -d, -f6 [Pipeline] lock [2024-03-21T18:33:45.033Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [2024-03-21T18:33:45.040Z] Resource [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] did not exist. Created. [2024-03-21T18:33:45.045Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T18:33:45.767Z] /w/workspace/device-uart/1@tmp/durable-511c7755/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-21T18:33:46.432Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-21T18:33:46.466Z] Warning: overwriting stash ‘stack-cost’ [2024-03-21T18:33:46.509Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T18:33:46.526Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T18:33:46.618Z] $ docker stop --time=1 fcde1358e66a7a43b3d45d3e5be0191a1d3c566edc2199829ed7edf1e3ddab0c [2024-03-21T18:33:48.119Z] $ docker rm -f --volumes fcde1358e66a7a43b3d45d3e5be0191a1d3c566edc2199829ed7edf1e3ddab0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-03-21T18:33:49.204Z] provisioning config files... [2024-03-21T18:33:49.211Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-50@tmp/config5021296901540547092tmp [Pipeline] { [Pipeline] sh [2024-03-21T18:33:49.556Z] + set +x [2024-03-21T18:33:49.556Z] + curl -s https://codecov.io/bash [2024-03-21T18:33:49.556Z] + bash -s -- [2024-03-21T18:33:49.556Z] [2024-03-21T18:33:49.556Z] _____ _ [2024-03-21T18:33:49.556Z] / ____| | | [2024-03-21T18:33:49.556Z] | | ___ __| | ___ ___ _____ __ [2024-03-21T18:33:49.556Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-21T18:33:49.556Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-21T18:33:49.556Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-21T18:33:49.556Z] Bash-1.0.6 [2024-03-21T18:33:49.556Z] [2024-03-21T18:33:49.556Z] [2024-03-21T18:33:49.556Z] ==> git version 2.25.1 found [2024-03-21T18:33:49.556Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-03-21T18:33:49.556Z] Release-Date: 2020-01-08 [2024-03-21T18:33:49.556Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-21T18:33:49.556Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-21T18:33:49.556Z] ==> Jenkins CI detected. [2024-03-21T18:33:49.556Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-50 [2024-03-21T18:33:49.556Z] project root: . [2024-03-21T18:33:49.556Z] --> token set from env [2024-03-21T18:33:49.556Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-21T18:33:49.556Z] ==> Running gcov in . (disable via -X gcov) [2024-03-21T18:33:49.821Z] ==> Python coveragepy not found [2024-03-21T18:33:49.821Z] ==> Searching for coverage reports in: [2024-03-21T18:33:49.821Z] + . [2024-03-21T18:33:49.821Z] -> Found 1 reports [2024-03-21T18:33:49.821Z] ==> Detecting git/mercurial file structure [2024-03-21T18:33:49.821Z] ==> Reading reports [2024-03-21T18:33:49.821Z] + ./coverage.out bytes=10 [2024-03-21T18:33:49.821Z] ==> Appending adjustments [2024-03-21T18:33:49.821Z] https://docs.codecov.io/docs/fixing-reports [2024-03-21T18:33:49.821Z] + Found adjustments [2024-03-21T18:33:49.821Z] ==> Gzipping contents [2024-03-21T18:33:49.821Z] 4.0K /tmp/codecov.DqGAzu.gz [2024-03-21T18:33:49.821Z] ==> Uploading reports [2024-03-21T18:33:49.821Z] url: https://codecov.io [2024-03-21T18:33:49.821Z] query: branch=PR-50&commit=faf11dc8766dc1815638bbb61542875372543fca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-50%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=50&job=&cmd_args= [2024-03-21T18:33:49.821Z] -> Pinging Codecov [2024-03-21T18:33:49.821Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-50&commit=faf11dc8766dc1815638bbb61542875372543fca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-50%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=50&job=&cmd_args= [2024-03-21T18:33:50.392Z] -> Uploading to [2024-03-21T18:33:50.392Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-21/B9AA6E0BBD74AE3A32605C7A7C664919/faf11dc8766dc1815638bbb61542875372543fca/b8adee0d-ec7d-4e28-a1ab-2f4e4fbc4ca8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T183350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7e52274b3886fd47a730351821ead6fc61fabe6626ba4ffbe3b6d56e5e43ccb [2024-03-21T18:33:50.392Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T18:33:50.392Z] Dload Upload Total Spent Left Speed [2024-03-21T18:33:50.653Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2044 --:--:-- --:--:-- --:--:-- 2044 [2024-03-21T18:33:50.653Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/faf11dc8766dc1815638bbb61542875372543fca [Pipeline] } [2024-03-21T18:33:50.681Z] 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 [2024-03-21T18:33:52.723Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-50/archives ] [2024-03-21T18:33:52.723Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-50/archives [2024-03-21T18:33:52.723Z] total 16 [2024-03-21T18:33:52.723Z] drwxr-xr-x 3 root root 4096 Mar 21 18:25 . [2024-03-21T18:33:52.723Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 18:25 .. [2024-03-21T18:33:52.723Z] drwxr-xr-x 2 root root 4096 Mar 21 18:25 cost [2024-03-21T18:33:52.723Z] -rw-r--r-- 1 root root 82 Mar 21 18:25 cost.csv [2024-03-21T18:33:52.724Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-50/archives [2024-03-21T18:33:52.724Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-50/archives [2024-03-21T18:33:52.724Z] total 16 [2024-03-21T18:33:52.724Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 18:25 . [2024-03-21T18:33:52.724Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 18:25 .. [2024-03-21T18:33:52.724Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 18:25 cost [2024-03-21T18:33:52.724Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 21 18:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:33:53.057Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:33:53.953Z] ---> package-listing.sh [2024-03-21T18:33:53.954Z] ++ facter osfamily [2024-03-21T18:33:53.954Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-21T18:33:54.214Z] + OS_FAMILY=debian [2024-03-21T18:33:54.214Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-50 [2024-03-21T18:33:54.214Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-21T18:33:54.214Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-21T18:33:54.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-21T18:33:54.214Z] + PACKAGES=/tmp/packages_start.txt [2024-03-21T18:33:54.214Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-50 ']' [2024-03-21T18:33:54.214Z] + PACKAGES=/tmp/packages_end.txt [2024-03-21T18:33:54.214Z] + case "${OS_FAMILY}" in [2024-03-21T18:33:54.214Z] + dpkg -l [2024-03-21T18:33:54.214Z] + grep '^ii' [2024-03-21T18:33:54.214Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-21T18:33:54.214Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-21T18:33:54.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-21T18:33:54.214Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-50 ']' [2024-03-21T18:33:54.214Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-50/archives/ [2024-03-21T18:33:54.214Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-50/archives/ [Pipeline] echo [2024-03-21T18:33:54.249Z] 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-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-21T18:33:54.543Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T18:33:55.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T18:33:55.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T18:33:55.348Z] prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container [2024-03-21T18:33:55.386Z] $ 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-50/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-50 -v /w/workspace/edgexfoundry_device-uart_PR-50:/w/workspace/edgexfoundry_device-uart_PR-50:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-50@tmp:/w/workspace/edgexfoundry_device-uart_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-21T18:33:55.593Z] $ docker top 9781ac2a706a4eca5c996abd0964919a69cf2fe9bc5e85722569811e3fd356f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T18:33:55.999Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-21T18:33:56.372Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-21T18:33:56.756Z] + ls /var/log/sa-host [2024-03-21T18:33:56.756Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T18:33:57.056Z] provisioning config files... [2024-03-21T18:33:57.079Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-50@tmp/config18001344875566651899tmp [Pipeline] { [Pipeline] echo [2024-03-21T18:33:57.140Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:33:57.488Z] ---> create-netrc.sh [Pipeline] } [2024-03-21T18:33:57.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:33:57.953Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-21T18:33:57.989Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:33:58.297Z] ---> sudo-logs.sh [2024-03-21T18:33:58.297Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-21T18:33:58.389Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:33:58.699Z] ---> job-cost.sh [2024-03-21T18:33:58.700Z] lf-activate-venv: SKIPPING [2024-03-21T18:33:58.700Z] DEBUG: total: 0.2199999988079071 [2024-03-21T18:33:58.700Z] INFO: Retrieving Stack Cost... [2024-03-21T18:33:58.959Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T18:33:59.526Z] INFO: Archiving Costs [Pipeline] echo [2024-03-21T18:33:59.559Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T18:33:59.866Z] ---> logs-deploy.sh [2024-03-21T18:33:59.866Z] lf-activate-venv: SKIPPING [2024-03-21T18:33:59.866Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-50/1 [2024-03-21T18:33:59.866Z] INFO: archiving workspace using pattern(s): [2024-03-21T18:34:00.806Z] Archives upload complete. [2024-03-21T18:34:00.806Z] INFO: archiving logs to Nexus