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 18:21:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:21:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:21:38 ========================================================= 18:21:38 EdgeX Global Pipelines Version Info 18:21:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:21:39 ------------------- 18:21:39 stable info: 18:21:39 ------------------- 18:21:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:21:39 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:21:39 Message: update stable to v1.0.258 18:21:40 ------------------- 18:21:40 experimental info: 18:21:40 ------------------- 18:21:40 Commited By: **** collab-it+edgex@linuxfoundation.org 18:21:40 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:21:40 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = faf11dc8766dc1815638bbb61542875372543fca [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = faf11dc [Pipeline] echo 18:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:21:42 provisioning config files... 18:21:42 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-50@tmp/config13885039090870164471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:21:42 ---> ****-login.sh 18:21:42 nexus3.edgexfoundry.org:10001 18:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:21:42 Configure a credential helper to remove this warning. See 18:21:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:21:42 18:21:42 Login Succeeded 18:21:42 nexus3.edgexfoundry.org:10002 18:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:21:43 Configure a credential helper to remove this warning. See 18:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:21:43 18:21:43 Login Succeeded 18:21:43 nexus3.edgexfoundry.org:10003 18:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:21:43 Configure a credential helper to remove this warning. See 18:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:21:43 18:21:43 Login Succeeded 18:21:43 nexus3.edgexfoundry.org:10004 18:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:21:43 Configure a credential helper to remove this warning. See 18:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:21:43 18:21:43 Login Succeeded 18:21:43 ****.io 18:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:21:43 Configure a credential helper to remove this warning. See 18:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:21:43 18:21:43 Login Succeeded 18:21:43 ---> ****-login.sh ends [Pipeline] } 18:21:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:21:44 + git rev-list -1 --merges faf11dc8766dc1815638bbb61542875372543fca~1..faf11dc8766dc1815638bbb61542875372543fca [Pipeline] echo 18:21:44 -----------> git rev-list -1 --merges faf11dc8766dc1815638bbb61542875372543fca~1..faf11dc8766dc1815638bbb61542875372543fca faf11dc8766dc1815638bbb61542875372543fca [false] [Pipeline] sh 18:21:44 + git log --format=format:%s -1 faf11dc8766dc1815638bbb61542875372543fca [Pipeline] echo 18:21:44 ========================================================= 18:21:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:21:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:21:45 + git log --format=format:%s -1 faf11dc8766dc1815638bbb61542875372543fca [Pipeline] echo 18:21:45 [semverPrep] GIT_COMMIT: faf11dc8766dc1815638bbb61542875372543fca, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:21:45 [semverPrep] This is not a build commit. [Pipeline] sh 18:21:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:21:45 + grep -v github /etc/ssh/ssh_known_hosts 18:21:45 + [ -e /tmp/ssh_known_hosts ] 18:21:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:21:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:21:45 + sudo tee -a /etc/ssh/ssh_known_hosts 18:21:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:21:46 18:21:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:21:46 0.1.4: Pulling from edgex-devops/py-git-semver 18:21:46 b85a868b505f: Pulling fs layer 18:21:46 e2be974225ed: Pulling fs layer 18:21:46 339a4e72a1f5: Pulling fs layer 18:21:46 988bab9f4d93: Pulling fs layer 18:21:46 1469e6f7b9e6: Pulling fs layer 18:21:46 eaf3925da568: Pulling fs layer 18:21:46 bab4dde63d76: Pulling fs layer 18:21:46 bde34c3a00c8: Pulling fs layer 18:21:46 b352a97aabf1: Pulling fs layer 18:21:46 4872d77fe225: Pulling fs layer 18:21:46 5851b861e8e6: Pulling fs layer 18:21:46 988bab9f4d93: Waiting 18:21:46 4872d77fe225: Waiting 18:21:46 1469e6f7b9e6: Waiting 18:21:46 5851b861e8e6: Waiting 18:21:46 eaf3925da568: Waiting 18:21:46 bab4dde63d76: Waiting 18:21:46 bde34c3a00c8: Waiting 18:21:46 b352a97aabf1: Waiting 18:21:46 e2be974225ed: Verifying Checksum 18:21:46 e2be974225ed: Download complete 18:21:46 988bab9f4d93: Verifying Checksum 18:21:46 988bab9f4d93: Download complete 18:21:46 1469e6f7b9e6: Verifying Checksum 18:21:46 1469e6f7b9e6: Download complete 18:21:46 339a4e72a1f5: Verifying Checksum 18:21:46 339a4e72a1f5: Download complete 18:21:46 eaf3925da568: Download complete 18:21:46 bde34c3a00c8: Verifying Checksum 18:21:46 bde34c3a00c8: Download complete 18:21:46 b352a97aabf1: Verifying Checksum 18:21:46 b352a97aabf1: Download complete 18:21:46 4872d77fe225: Verifying Checksum 18:21:46 4872d77fe225: Download complete 18:21:46 5851b861e8e6: Verifying Checksum 18:21:46 5851b861e8e6: Download complete 18:21:46 b85a868b505f: Download complete 18:21:47 bab4dde63d76: Verifying Checksum 18:21:47 bab4dde63d76: Download complete 18:21:47 b85a868b505f: Pull complete 18:21:47 e2be974225ed: Pull complete 18:21:48 339a4e72a1f5: Pull complete 18:21:48 988bab9f4d93: Pull complete 18:21:48 1469e6f7b9e6: Pull complete 18:21:48 eaf3925da568: Pull complete 18:21:50 bab4dde63d76: Pull complete 18:21:50 bde34c3a00c8: Pull complete 18:21:50 b352a97aabf1: Pull complete 18:21:50 4872d77fe225: Pull complete 18:21:50 5851b861e8e6: Pull complete 18:21:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:21:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:21:51 prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container 18:21:51 $ 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 18:21:54 $ docker top 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a -eo pid,comm 18:21:54 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). 18:21:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:21:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:21:54 [ssh-agent] Looking for ssh-agent implementation... 18:21:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:21:54 $ docker exec 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a ssh-agent 18:21:55 SSH_AUTH_SOCK=/tmp/ssh-eDuWsM1NlnL3/agent.32 18:21:55 SSH_AGENT_PID=38 18:21:55 Running ssh-add (command line suppressed) 18:21:55 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) 18:21:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:21:55 + git tag --points-at HEAD [Pipeline] } 18:21:55 $ docker exec --env ******** --env ******** 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a ssh-agent -k 18:21:55 unset SSH_AUTH_SOCK; 18:21:55 unset SSH_AGENT_PID; 18:21:55 echo Agent pid 38 killed; 18:21:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:21:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:21:55 [ssh-agent] Looking for ssh-agent implementation... 18:21:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:21:55 $ docker exec 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a ssh-agent 18:21:55 SSH_AUTH_SOCK=/tmp/ssh-ICbw4NKqi1Q1/agent.72 18:21:55 SSH_AGENT_PID=78 18:21:55 Running ssh-add (command line suppressed) 18:21:56 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) 18:21:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:21:56 + git semver init 18:21:56 2024-03-21 18:21:56,570 [run_init] DEBUG init version:0.0.0 force:False 18:21:56 2024-03-21 18:21:56,570 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-50/.semver 18:21:56 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 18:21:56 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) 18:21:58 2024-03-21 18:21:57,738 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-50/.git/info/exclude 18:21:58 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 18:21:58 2024-03-21 18:21:57,738 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-50/.semver/PR-50 18:21:58 2024-03-21 18:21:57,743 [execute] INFO git cat-file --batch-check 18:21:58 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=) 18:21:58 2024-03-21 18:21:57,750 [execute] INFO git cat-file --batch 18:21:58 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=) 18:21:58 2024-03-21 18:21:57,755 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-50/.semver/PR-50 18:21:58 0.0.0 [Pipeline] } 18:21:58 $ docker exec --env ******** --env ******** 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a ssh-agent -k 18:21:58 unset SSH_AUTH_SOCK; 18:21:58 unset SSH_AGENT_PID; 18:21:58 echo Agent pid 78 killed; 18:21:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:21:58 + git semver [Pipeline] } 18:21:58 $ docker stop --time=1 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a 18:22:00 $ docker rm -f --volumes 77f2b06aa0e532a387d16ee64f3170af6ddbac15370aaf892d696c4a73b0b18a [Pipeline] // withDockerContainer [Pipeline] sh 18:22:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:22:00 Stashed 1 file(s) [Pipeline] echo 18:22:00 [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 18:22:01 provisioning config files... 18:22:01 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-50@tmp/config2437030278007474877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:01 ---> ****-login.sh 18:22:01 nexus3.edgexfoundry.org:10001 18:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:22:01 Configure a credential helper to remove this warning. See 18:22:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:22:01 18:22:01 Login Succeeded 18:22:01 nexus3.edgexfoundry.org:10002 18:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:22:01 Configure a credential helper to remove this warning. See 18:22:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:22:01 18:22:01 Login Succeeded 18:22:01 nexus3.edgexfoundry.org:10003 18:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:22:02 Configure a credential helper to remove this warning. See 18:22:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:22:02 18:22:02 Login Succeeded 18:22:02 nexus3.edgexfoundry.org:10004 18:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:22:02 Configure a credential helper to remove this warning. See 18:22:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:22:02 18:22:02 Login Succeeded 18:22:02 ****.io 18:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:22:02 Configure a credential helper to remove this warning. See 18:22:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:22:02 18:22:02 Login Succeeded 18:22:02 ---> ****-login.sh ends [Pipeline] } 18:22:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:22:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:22:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:22:02 ========================================================= 18:22:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:22:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:03 + 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 . 18:22:03 Sending build context to Docker daemon 23.13MB 18:22:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:22:03 Step 2/12 : FROM ${BASE} AS builder 18:22:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:22:03 7264a8db6415: Pulling fs layer 18:22:03 c4d48a809fc2: Pulling fs layer 18:22:03 4f1c88b9dad5: Pulling fs layer 18:22:03 ad3a456e5733: Pulling fs layer 18:22:03 69c7f0334f64: Pulling fs layer 18:22:03 ad3a456e5733: Waiting 18:22:03 1f1c1a5573a3: Pulling fs layer 18:22:03 ce7588e14bc9: Pulling fs layer 18:22:03 b5e4710f87ac: Pulling fs layer 18:22:03 ce7588e14bc9: Waiting 18:22:03 69c7f0334f64: Waiting 18:22:03 b5e4710f87ac: Waiting 18:22:03 1f1c1a5573a3: Waiting 18:22:03 c4d48a809fc2: Verifying Checksum 18:22:03 c4d48a809fc2: Download complete 18:22:03 ad3a456e5733: Download complete 18:22:03 69c7f0334f64: Verifying Checksum 18:22:03 69c7f0334f64: Download complete 18:22:03 7264a8db6415: Verifying Checksum 18:22:03 7264a8db6415: Download complete 18:22:03 1f1c1a5573a3: Verifying Checksum 18:22:03 1f1c1a5573a3: Download complete 18:22:03 7264a8db6415: Pull complete 18:22:03 b5e4710f87ac: Verifying Checksum 18:22:03 b5e4710f87ac: Download complete 18:22:03 c4d48a809fc2: Pull complete 18:22:04 4f1c88b9dad5: Verifying Checksum 18:22:04 4f1c88b9dad5: Download complete 18:22:04 ce7588e14bc9: Verifying Checksum 18:22:04 ce7588e14bc9: Download complete 18:22:07 4f1c88b9dad5: Pull complete 18:22:07 ad3a456e5733: Pull complete 18:22:07 69c7f0334f64: Pull complete 18:22:07 1f1c1a5573a3: Pull complete 18:22:09 ce7588e14bc9: Pull complete 18:22:10 b5e4710f87ac: Pull complete 18:22:10 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:22:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:22:10 ---> 88b5674ff536 18:22:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:22:16 Still waiting to schedule task 18:22:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:22:16 ---> Running in 7d0e8c188b1c 18:22:16 Removing intermediate container 7d0e8c188b1c 18:22:16 ---> 24d7e4856976 18:22:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:22:16 ---> Running in 7210a92aa8f3 18:22:16 Removing intermediate container 7210a92aa8f3 18:22:16 ---> a23fce8342b8 18:22:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:22:16 ---> Running in 35db6b3202c1 18:22:16 Removing intermediate container 35db6b3202c1 18:22:16 ---> 957fdda365f4 18:22:16 Step 6/12 : WORKDIR /device-uart 18:22:16 ---> Running in 54bc664f4f8c 18:22:16 Removing intermediate container 54bc664f4f8c 18:22:16 ---> c442da13fb1a 18:22:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:22:16 ---> Running in 84ba587f75d5 18:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:22:16 (1/4) Installing openssh-keygen (9.3_p2-r1) 18:22:16 (2/4) Installing libedit (20221030.3.1-r1) 18:22:16 (3/4) Installing openssh-client-common (9.3_p2-r1) 18:22:17 (4/4) Installing openssh-client-default (9.3_p2-r1) 18:22:17 Executing busybox-1.36.1-r5.trigger 18:22:17 OK: 268 MiB in 56 packages 18:22:17 Removing intermediate container 84ba587f75d5 18:22:17 ---> 546416eb062e 18:22:17 Step 8/12 : COPY go.mod vendor* ./ 18:22:17 ---> fc53c0501ccc 18:22:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:22:17 ---> Running in d1f044dc2f23 18:23:25 Removing intermediate container d1f044dc2f23 18:23:25 ---> 00132602bbe2 18:23:25 Step 10/12 : COPY . . 18:23:25 ---> 6b138cca86f6 18:23:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:23:25 ---> Running in 73c8c557c1c6 18:23:25 Removing intermediate container 73c8c557c1c6 18:23:25 ---> 29a923321e4a 18:23:25 Step 12/12 : RUN ${MAKE} 18:23:25 ---> Running in 3e84a4f5af97 18:23:25 noop 18:23:25 Removing intermediate container 3e84a4f5af97 18:23:25 ---> 717a4199b9e4 18:23:25 Successfully built 717a4199b9e4 18:23:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:25 + docker inspect -f . ci-base-image-x86_64 18:23:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:26 prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container 18:23:26 $ 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 18:23:26 $ docker top ac4e6e979c378a510a3e598ad44af9f490a204e1fe9cb7744d70ba634336be7c -eo pid,comm [Pipeline] { [Pipeline] sh 18:23:26 + go version 18:23:26 go version go1.21.0 linux/amd64 [Pipeline] } 18:23:26 $ docker stop --time=1 ac4e6e979c378a510a3e598ad44af9f490a204e1fe9cb7744d70ba634336be7c 18:23:28 $ 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 18:23:28 + docker inspect -f . ci-base-image-x86_64 18:23:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:29 prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container 18:23:29 $ 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 18:23:29 $ docker top 576bc95df4baada62714f6a4a5f860326530ba01dec64927565826a8c7ed7aaf -eo pid,comm [Pipeline] { [Pipeline] sh 18:23:29 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-50 [Pipeline] fileExists [Pipeline] sh 18:23:30 + make test 18:23:30 go test ./... -coverprofile=coverage.out 18:23:32 ? github.com/edgexfoundry/device-uart [no test files] 18:23:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-598 in /w/workspace/edgexfoundry_device-uart_PR-50 [Pipeline] { [Pipeline] ws 18:23:43 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:23:46 The recommended git tool is: git 18:23:46 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:23:46 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:23:51 using credential edgex-jenkins-ssh 18:23:51 Cloning the remote Git repository 18:23:51 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:23:51 > git init /w/workspace/device-uart/1 # timeout=10 18:23:51 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:23:51 > git --version # timeout=10 18:23:51 > git --version # 'git version 2.25.1' 18:23:51 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:23:53 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:23:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:23:55 go vet ./... 18:23:55 Merging remotes/origin/main commit 08fb917c2f38b4ae53e716333c1e5812fb96cea3 into PR head commit faf11dc8766dc1815638bbb61542875372543fca 18:23:55 Merge succeeded, producing faf11dc8766dc1815638bbb61542875372543fca 18:23:55 Checking out Revision faf11dc8766dc1815638bbb61542875372543fca (PR-50) 18:23:54 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:23:54 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:23:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:54 > 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 18:23:55 > git config core.sparsecheckout # timeout=10 18:23:55 > git checkout -f faf11dc8766dc1815638bbb61542875372543fca # timeout=10 18:23:55 > git remote # timeout=10 18:23:55 > git config --get remote.origin.url # timeout=10 18:23:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:55 > git merge 08fb917c2f38b4ae53e716333c1e5812fb96cea3 # timeout=10 18:23:55 > git rev-parse HEAD^{commit} # timeout=10 18:23:55 > git config core.sparsecheckout # timeout=10 18:23:55 > git checkout -f faf11dc8766dc1815638bbb61542875372543fca # timeout=10 18:23:55 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:23:55 > git --version # timeout=10 18:23:55 > git --version # 'git version 2.25.1' 18:23:55 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:24:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:24:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:24:00 ./bin/test-attribution-txt.sh 18:24:00 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:24:00 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:24:00 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:24:00 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:24:00 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:24:00 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:24:00 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:24:00 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:24:00 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:24:00 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 18:24:00 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:24:00 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:24:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:24:00 $ docker stop --time=1 576bc95df4baada62714f6a4a5f860326530ba01dec64927565826a8c7ed7aaf 18:24:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:24:00 % Total % Received % Xferd Average Speed Time Time Time Current 18:24:00 Dload Upload Total Spent Left Speed 18:24:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k 18:24:07 $ docker rm -f --volumes 576bc95df4baada62714f6a4a5f860326530ba01dec64927565826a8c7ed7aaf [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 18:24:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:24:08 Stashed 1 file(s) 18:24:08 + 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) 18:24:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:24:08 + sudo tee /etc/docker/daemon.new 18:24:08 { 18:24:08 "registry-mirrors": [ 18:24:08 "https://nexus3.edgexfoundry.org:10001" 18:24:08 ], 18:24:08 "bip": "10.250.0.254/24", 18:24:08 "hosts": [ 18:24:08 "tcp://0.0.0.0:5555", 18:24:08 "unix:///var/run/docker.sock" 18:24:08 ], 18:24:08 "mtu": 1458, 18:24:08 "selinux-enabled": true, 18:24:08 "seccomp-profile": "/etc/docker/seccomp.json" 18:24:08 } [Pipeline] sh [Pipeline] sh 18:24:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:24:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:24:09 + sudo service docker restart 18:24:09 + ls -al . 18:24:09 total 224 18:24:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 18:23 . 18:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 18:21 .. 18:24:09 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 18:21 .dockerignore 18:24:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 18:23 .git 18:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:21 .github 18:24:09 -rw-rw-r-- 1 jenkins jenkins 343 Mar 21 18:21 .gitignore 18:24:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 18:21 .golangci.yml 18:24:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 18:21 .semver 18:24:09 -rw-rw-r-- 1 jenkins jenkins 9941 Mar 21 18:21 Attribution.txt 18:24:09 -rw-rw-r-- 1 jenkins jenkins 1908 Mar 21 18:21 CHANGELOG.md 18:24:09 -rw-rw-r-- 1 jenkins jenkins 1886 Mar 21 18:21 Dockerfile 18:24:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 18:21 GOVERNANCE.md 18:24:09 -rw-rw-r-- 1 jenkins jenkins 675 Mar 21 18:21 Jenkinsfile 18:24:09 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 18:21 LICENSE 18:24:09 -rw-rw-r-- 1 jenkins jenkins 1872 Mar 21 18:21 Makefile 18:24:09 -rw-rw-r-- 1 jenkins jenkins 617 Mar 21 18:21 OWNERS.md 18:24:09 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 21 18:21 README.md 18:24:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 18:22 VERSION 18:24:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 18:21 bin 18:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:21 cmd 18:24:09 -rw-r--r-- 1 jenkins jenkins 10 Mar 21 18:23 coverage.out 18:24:09 -rw-rw-r-- 1 jenkins jenkins 7068 Mar 21 18:21 go.mod 18:24:09 -rw-rw-r-- 1 jenkins jenkins 101736 Mar 21 18:21 go.sum 18:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:21 internal 18:24:09 -rw-rw-r-- 1 jenkins jenkins 209 Mar 21 18:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:10 + 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 . 18:24:10 Sending build context to Docker daemon 23.13MB 18:24:10 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:24:10 Step 2/26 : FROM ${BASE} AS builder 18:24:10 ---> 717a4199b9e4 18:24:10 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:24:10 ---> Running in a4d969a66640 18:24:10 Removing intermediate container a4d969a66640 18:24:10 ---> 21820c5aaaf4 18:24:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:24:10 ---> Running in 4d1b1ec96c3a 18:24:10 Removing intermediate container 4d1b1ec96c3a 18:24:10 ---> 05f8ee261bc1 18:24:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:24:10 ---> Running in dfe84b1a2fc5 18:24:10 Removing intermediate container dfe84b1a2fc5 18:24:10 ---> c7c45bb49645 18:24:10 Step 6/26 : WORKDIR /device-uart 18:24:10 ---> Running in 0736b11af171 18:24:10 Removing intermediate container 0736b11af171 18:24:10 ---> 6832dd7fc4f6 18:24:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:10 ---> Running in 3d5b5205f6aa 18:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:24:11 OK: 268 MiB in 56 packages 18:24:12 Removing intermediate container 3d5b5205f6aa 18:24:12 ---> fb23576be33c 18:24:12 Step 8/26 : COPY go.mod vendor* ./ 18:24:12 ---> 5ca28715f435 18:24:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:12 ---> Running in f40bdbee3f60 18:24:12 Removing intermediate container f40bdbee3f60 18:24:12 ---> bdc266b8355f 18:24:12 Step 10/26 : COPY . . 18:24:14 ---> 2ae039ce026d 18:24:14 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:24:14 ---> Running in 70b1a8c9c89a 18:24:14 Removing intermediate container 70b1a8c9c89a 18:24:14 ---> 0450ff1c4e52 18:24:14 Step 12/26 : RUN ${MAKE} 18:24:14 ---> Running in d8ce23f47856 18:24:14 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 18:24:27 provisioning config files... 18:24:27 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config1776601399154798343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:28 ---> ****-login.sh 18:24:28 nexus3.edgexfoundry.org:10001 18:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:24:28 Configure a credential helper to remove this warning. See 18:24:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:24:28 18:24:28 Login Succeeded 18:24:28 nexus3.edgexfoundry.org:10002 18:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:24:29 Configure a credential helper to remove this warning. See 18:24:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:24:29 18:24:29 Login Succeeded 18:24:29 nexus3.edgexfoundry.org:10003 18:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:24:29 Configure a credential helper to remove this warning. See 18:24:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:24:29 18:24:29 Login Succeeded 18:24:29 nexus3.edgexfoundry.org:10004 18:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:24:30 Configure a credential helper to remove this warning. See 18:24:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:24:30 18:24:30 Login Succeeded 18:24:30 ****.io 18:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:24:30 Configure a credential helper to remove this warning. See 18:24:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:24:30 18:24:30 Login Succeeded 18:24:30 ---> ****-login.sh ends [Pipeline] } 18:24:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:24:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:24:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:24:31 ========================================================= 18:24:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:24:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:31 + 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 . 18:24:31 Sending build context to Docker daemon 11.63MB 18:24:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:24:32 Step 2/12 : FROM ${BASE} AS builder 18:24:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:24:32 9fda8d8052c6: Pulling fs layer 18:24:32 5d54e960e981: Pulling fs layer 18:24:32 c4a7e357bf2a: Pulling fs layer 18:24:32 f0e02332f6b5: Pulling fs layer 18:24:32 872ee5b61b7b: Pulling fs layer 18:24:32 0c6a40ed1a82: Pulling fs layer 18:24:32 94ae7d8d031c: Pulling fs layer 18:24:32 f0e02332f6b5: Waiting 18:24:32 872ee5b61b7b: Waiting 18:24:32 0c6a40ed1a82: Waiting 18:24:32 94ae7d8d031c: Waiting 18:24:32 5d54e960e981: Download complete 18:24:32 f0e02332f6b5: Verifying Checksum 18:24:32 f0e02332f6b5: Download complete 18:24:32 872ee5b61b7b: Verifying Checksum 18:24:32 872ee5b61b7b: Download complete 18:24:32 9fda8d8052c6: Verifying Checksum 18:24:32 9fda8d8052c6: Download complete 18:24:32 94ae7d8d031c: Verifying Checksum 18:24:32 94ae7d8d031c: Download complete 18:24:33 9fda8d8052c6: Pull complete 18:24:33 5d54e960e981: Pull complete 18:24:34 c4a7e357bf2a: Verifying Checksum 18:24:34 c4a7e357bf2a: Download complete 18:24:35 0c6a40ed1a82: Verifying Checksum 18:24:35 0c6a40ed1a82: Download complete 18:24:46 Removing intermediate container d8ce23f47856 18:24:46 ---> 99a97fdb650b 18:24:46 Step 13/26 : FROM alpine:3.18 18:24:46 3.18: Pulling from library/alpine 18:24:46 619be1103602: Pulling fs layer 18:24:46 619be1103602: Verifying Checksum 18:24:46 619be1103602: Download complete 18:24:46 619be1103602: Pull complete 18:24:46 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:24:46 Status: Downloaded newer image for alpine:3.18 18:24:46 ---> d3782b16ccc9 18:24:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:24:46 ---> Running in a2e0a6eb6c05 18:24:46 Removing intermediate container a2e0a6eb6c05 18:24:46 ---> ea49639254fb 18:24:46 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:24:46 ---> Running in 5d0ee03576f7 18:24:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:24:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:24:47 (1/1) Installing dumb-init (1.2.5-r2) 18:24:47 Executing busybox-1.36.1-r5.trigger 18:24:47 OK: 7 MiB in 16 packages 18:24:47 Removing intermediate container 5d0ee03576f7 18:24:47 ---> 933f6676f82f 18:24:47 Step 16/26 : RUN apk --no-cache upgrade 18:24:47 ---> Running in 9b7c0d6875e9 18:24:47 c4a7e357bf2a: Pull complete 18:24:47 f0e02332f6b5: Pull complete 18:24:47 872ee5b61b7b: Pull complete 18:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:24:47 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:24:47 OK: 7 MiB in 16 packages 18:24:48 Removing intermediate container 9b7c0d6875e9 18:24:48 ---> 1b9c7ebf35a4 18:24:48 Step 17/26 : WORKDIR / 18:24:48 ---> Running in e2cc0b6fc2a2 18:24:48 Removing intermediate container e2cc0b6fc2a2 18:24:48 ---> 5bb7392a069a 18:24:48 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:24:48 ---> 77fb20abe84d 18:24:48 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:24:48 ---> 1a1ea78317d6 18:24:48 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:24:50 ---> a286b3193e1c 18:24:50 Step 21/26 : EXPOSE 59995 18:24:50 ---> Running in 881cd6b8c73e 18:24:50 Removing intermediate container 881cd6b8c73e 18:24:50 ---> e80bb5cdc54e 18:24:50 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:24:50 ---> Running in 479c8e18b2ab 18:24:50 Removing intermediate container 479c8e18b2ab 18:24:50 ---> 82810ef4b22a 18:24:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:24:50 ---> Running in dc0f03d7fcad 18:24:50 Removing intermediate container dc0f03d7fcad 18:24:50 ---> 89f5fc6a089e 18:24:50 Step 24/26 : LABEL arch=amd64 18:24:50 ---> Running in 5ec4b32af0f8 18:24:50 Removing intermediate container 5ec4b32af0f8 18:24:50 ---> 8c6301df85d4 18:24:50 Step 25/26 : LABEL git_sha=faf11dc8766dc1815638bbb61542875372543fca 18:24:50 ---> Running in 9b0082518913 18:24:50 Removing intermediate container 9b0082518913 18:24:50 ---> 3222efc25e89 18:24:50 Step 26/26 : LABEL version=0.0.0 18:24:50 ---> Running in ca1b466664bc 18:24:50 Removing intermediate container ca1b466664bc 18:24:50 ---> 79b077077d8c 18:24:50 [Warning] One or more build-args [ARCH] were not consumed 18:24:50 Successfully built 79b077077d8c 18:24:50 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 18:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:51 18:24:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:52 latest: Pulling from edgex-lftools-log-publisher 18:24:52 5eb5b503b376: Pulling fs layer 18:24:52 5c69ac0246d0: Pulling fs layer 18:24:52 ec43610c2a17: Pulling fs layer 18:24:52 3a2ae6a8a46f: Pulling fs layer 18:24:52 33b1e0a273af: Pulling fs layer 18:24:52 5d3b04190fa2: Pulling fs layer 18:24:52 2f39f015ded8: Pulling fs layer 18:24:52 3a2ae6a8a46f: Waiting 18:24:52 33b1e0a273af: Waiting 18:24:52 5d3b04190fa2: Waiting 18:24:52 2f39f015ded8: Waiting 18:24:52 5c69ac0246d0: Verifying Checksum 18:24:52 5c69ac0246d0: Download complete 18:24:52 3a2ae6a8a46f: Verifying Checksum 18:24:52 3a2ae6a8a46f: Download complete 18:24:52 33b1e0a273af: Verifying Checksum 18:24:52 33b1e0a273af: Download complete 18:24:52 5d3b04190fa2: Verifying Checksum 18:24:52 5d3b04190fa2: Download complete 18:24:52 ec43610c2a17: Verifying Checksum 18:24:52 ec43610c2a17: Download complete 18:24:52 5eb5b503b376: Verifying Checksum 18:24:52 5eb5b503b376: Download complete 18:24:53 2f39f015ded8: Download complete 18:24:53 5eb5b503b376: Pull complete 18:24:53 5c69ac0246d0: Pull complete 18:24:54 ec43610c2a17: Pull complete 18:24:54 3a2ae6a8a46f: Pull complete 18:24:54 33b1e0a273af: Pull complete 18:24:54 5d3b04190fa2: Pull complete 18:24:55 0c6a40ed1a82: Pull complete 18:24:56 94ae7d8d031c: Pull complete 18:24:56 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:24:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:24:56 ---> 86de565de09d 18:24:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:24:57 ---> Running in 32629e0b3430 18:24:57 Removing intermediate container 32629e0b3430 18:24:57 ---> a0a460a077a3 18:24:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:24:58 ---> Running in 5aadc1b09f07 18:24:58 Removing intermediate container 5aadc1b09f07 18:24:58 ---> d28689709538 18:24:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:24:58 ---> Running in 45634967966f 18:24:58 Removing intermediate container 45634967966f 18:24:58 ---> a8e14026acf6 18:24:58 Step 6/12 : WORKDIR /device-uart 18:24:58 ---> Running in be2456c2233b 18:24:58 2f39f015ded8: Pull complete 18:24:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:24:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:59 prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container 18:24:59 $ 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 18:24:59 Removing intermediate container be2456c2233b 18:24:59 ---> eeb26505906d 18:24:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:59 ---> Running in 52b000b4121d 18:25:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:25:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:25:01 (1/4) Installing openssh-keygen (9.3_p2-r1) 18:25:01 (2/4) Installing libedit (20221030.3.1-r1) 18:25:01 (3/4) Installing openssh-client-common (9.3_p2-r1) 18:25:01 (4/4) Installing openssh-client-default (9.3_p2-r1) 18:25:01 Executing busybox-1.36.1-r5.trigger 18:25:01 OK: 271 MiB in 56 packages 18:25:02 Removing intermediate container 52b000b4121d 18:25:02 ---> 93da5b6f97eb 18:25:02 Step 8/12 : COPY go.mod vendor* ./ 18:25:03 ---> 1d639c992049 18:25:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:03 ---> Running in 061ae269db95 18:25:06 $ docker top eec60960a8302391ae02f46b92dce5b9dc57b6504e5228b86b46116b80f9e679 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:07 ---> job-cost.sh 18:25:07 lf-activate-venv: SKIPPING 18:25:07 INFO: No Stack... 18:25:07 INFO: Retrieving Pricing Info for: v3-standard-8 18:25:08 INFO: Archiving Costs [Pipeline] sh 18:25:08 + cat /w/workspace/edgexfoundry_device-uart_PR-50/archives/cost.csv 18:25:08 + cut -d, -f6 [Pipeline] lock 18:25:08 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] 18:25:08 Resource [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] did not exist. Created. 18:25:08 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:25:09 + echo total: 0.2199999988079071 [Pipeline] stash 18:25:09 Stashed 1 file(s) [Pipeline] } 18:25:09 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:25:09 $ docker stop --time=1 eec60960a8302391ae02f46b92dce5b9dc57b6504e5228b86b46116b80f9e679 18:25:10 $ docker rm -f --volumes eec60960a8302391ae02f46b92dce5b9dc57b6504e5228b86b46116b80f9e679 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:27:10 Removing intermediate container 061ae269db95 18:27:10 ---> 77dc760441dc 18:27:10 Step 10/12 : COPY . . 18:27:10 ---> cff7deb103bd 18:27:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:27:10 ---> Running in 5ffdbee11ec3 18:27:10 Removing intermediate container 5ffdbee11ec3 18:27:10 ---> 9ff491e97889 18:27:10 Step 12/12 : RUN ${MAKE} 18:27:10 ---> Running in 339d47f6ee9c 18:27:10 noop 18:27:10 Removing intermediate container 339d47f6ee9c 18:27:10 ---> 8ca9c1dbcadf 18:27:10 Successfully built 8ca9c1dbcadf 18:27:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:10 + docker inspect -f . ci-base-image-arm64 18:27:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:10 prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container 18:27:10 $ 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 18:27:12 $ docker top 32e942194690bc443b9f538944d47c148f1634fc4db2bdadd1d6365f724802d9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:27:13 + go version 18:27:13 go version go1.21.0 linux/arm64 [Pipeline] } 18:27:13 $ docker stop --time=1 32e942194690bc443b9f538944d47c148f1634fc4db2bdadd1d6365f724802d9 18:27:14 $ 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 18:27:15 + docker inspect -f . ci-base-image-arm64 18:27:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:15 prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container 18:27:15 $ 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 18:27:16 $ docker top 0bc5bf182dbcf7cc2dd880718d71e26264e003dde2690d3048db7ad3573dddb0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:27:17 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:27:18 + make test 18:27:18 go test ./... -coverprofile=coverage.out 18:27:23 ? github.com/edgexfoundry/device-uart [no test files] 18:29:45 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:29:45 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:29:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:29:45 go vet ./... 18:30:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:30:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:30:12 ./bin/test-attribution-txt.sh 18:30:12 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:30:12 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:30:12 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:30:12 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:30:12 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:30:12 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:30:12 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:30:12 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:30:12 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:30:12 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 18:30:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:30:12 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:30:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:30:12 $ docker stop --time=1 0bc5bf182dbcf7cc2dd880718d71e26264e003dde2690d3048db7ad3573dddb0 18:30:14 $ docker rm -f --volumes 0bc5bf182dbcf7cc2dd880718d71e26264e003dde2690d3048db7ad3573dddb0 [Pipeline] // withDockerContainer [Pipeline] sh 18:30:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:30:15 Warning: overwriting stash ‘coverage-report’ 18:30:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:30:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:30:17 + ls -al . 18:30:17 total 220 18:30:17 drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 18:27 . 18:30:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 18:23 .. 18:30:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 18:23 .dockerignore 18:30:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 18:23 .git 18:30:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:23 .github 18:30:17 -rw-rw-r-- 1 jenkins jenkins 343 Mar 21 18:23 .gitignore 18:30:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 18:23 .golangci.yml 18:30:17 -rw-rw-r-- 1 jenkins jenkins 9941 Mar 21 18:23 Attribution.txt 18:30:17 -rw-rw-r-- 1 jenkins jenkins 1908 Mar 21 18:23 CHANGELOG.md 18:30:17 -rw-rw-r-- 1 jenkins jenkins 1886 Mar 21 18:23 Dockerfile 18:30:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 18:23 GOVERNANCE.md 18:30:17 -rw-rw-r-- 1 jenkins jenkins 675 Mar 21 18:23 Jenkinsfile 18:30:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 18:23 LICENSE 18:30:17 -rw-rw-r-- 1 jenkins jenkins 1872 Mar 21 18:23 Makefile 18:30:17 -rw-rw-r-- 1 jenkins jenkins 617 Mar 21 18:23 OWNERS.md 18:30:17 -rw-rw-r-- 1 jenkins jenkins 8892 Mar 21 18:23 README.md 18:30:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 18:22 VERSION 18:30:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 18:23 bin 18:30:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:23 cmd 18:30:17 -rw-r--r-- 1 jenkins jenkins 10 Mar 21 18:27 coverage.out 18:30:17 -rw-rw-r-- 1 jenkins jenkins 7068 Mar 21 18:23 go.mod 18:30:17 -rw-rw-r-- 1 jenkins jenkins 101736 Mar 21 18:23 go.sum 18:30:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:23 internal 18:30:17 -rw-rw-r-- 1 jenkins jenkins 209 Mar 21 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:17 + 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 . 18:30:17 Sending build context to Docker daemon 11.63MB 18:30:17 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:30:17 Step 2/26 : FROM ${BASE} AS builder 18:30:17 ---> 8ca9c1dbcadf 18:30:17 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:30:17 ---> Running in 9ec465693e1b 18:30:18 Removing intermediate container 9ec465693e1b 18:30:18 ---> 55794840050a 18:30:18 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:30:18 ---> Running in 574d9fb6c127 18:30:18 Removing intermediate container 574d9fb6c127 18:30:18 ---> 9e4989491d74 18:30:18 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:30:18 ---> Running in 680f1c85e4c6 18:30:19 Removing intermediate container 680f1c85e4c6 18:30:19 ---> 05cd422d1e0c 18:30:19 Step 6/26 : WORKDIR /device-uart 18:30:19 ---> Running in d013b80b2e94 18:30:19 Removing intermediate container d013b80b2e94 18:30:19 ---> 403b2800cff1 18:30:19 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:30:19 ---> Running in d8b1bc39ae2e 18:30:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:30:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:30:21 OK: 271 MiB in 56 packages 18:30:22 Removing intermediate container d8b1bc39ae2e 18:30:22 ---> 0cb8c9ab3377 18:30:22 Step 8/26 : COPY go.mod vendor* ./ 18:30:23 ---> a9b1fe3f4040 18:30:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:30:23 ---> Running in caa44a95a246 18:30:25 Removing intermediate container caa44a95a246 18:30:25 ---> 89bb755cd6f6 18:30:25 Step 10/26 : COPY . . 18:30:26 ---> ab12e4975ff3 18:30:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:30:26 ---> Running in 591ec978c1d6 18:30:26 Removing intermediate container 591ec978c1d6 18:30:26 ---> 227a98a23537 18:30:26 Step 12/26 : RUN ${MAKE} 18:30:26 ---> Running in 3acfd51225f6 18:30:27 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 18:33:04 Removing intermediate container 3acfd51225f6 18:33:04 ---> 8887fe2c155e 18:33:04 Step 13/26 : FROM alpine:3.18 18:33:04 3.18: Pulling from library/alpine 18:33:04 c6b39de5b339: Pulling fs layer 18:33:04 c6b39de5b339: Verifying Checksum 18:33:04 c6b39de5b339: Pull complete 18:33:04 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:33:04 Status: Downloaded newer image for alpine:3.18 18:33:04 ---> 33abbf032149 18:33:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:33:04 ---> Running in a634f27bb4d6 18:33:04 Removing intermediate container a634f27bb4d6 18:33:04 ---> 1f3a0b0d75d5 18:33:04 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:33:04 ---> Running in 2558447d957e 18:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:33:04 (1/1) Installing dumb-init (1.2.5-r2) 18:33:04 Executing busybox-1.36.1-r5.trigger 18:33:04 OK: 8 MiB in 16 packages 18:33:04 Removing intermediate container 2558447d957e 18:33:04 ---> a2ded8f637a7 18:33:04 Step 16/26 : RUN apk --no-cache upgrade 18:33:04 ---> Running in c2b0cb5d7f2a 18:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:33:04 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:33:04 OK: 8 MiB in 16 packages 18:33:04 Removing intermediate container c2b0cb5d7f2a 18:33:04 ---> fb5f330167de 18:33:04 Step 17/26 : WORKDIR / 18:33:04 ---> Running in 02a9d5235dc5 18:33:04 Removing intermediate container 02a9d5235dc5 18:33:04 ---> 9c728657b077 18:33:04 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:33:05 ---> 92462c55e2d6 18:33:05 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:33:05 ---> 0fca71d23c4d 18:33:05 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:33:09 ---> 9d2de97d6931 18:33:09 Step 21/26 : EXPOSE 59995 18:33:09 ---> Running in 5a0610c3a165 18:33:09 Removing intermediate container 5a0610c3a165 18:33:09 ---> b68b860a8200 18:33:09 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:33:09 ---> Running in 4b5cb4395d0c 18:33:09 Removing intermediate container 4b5cb4395d0c 18:33:09 ---> 4ca6f71102b9 18:33:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:33:09 ---> Running in cab1dbc0fb78 18:33:09 Removing intermediate container cab1dbc0fb78 18:33:09 ---> 8429078057a9 18:33:09 Step 24/26 : LABEL arch=arm64 18:33:09 ---> Running in 68fd90078e82 18:33:09 Removing intermediate container 68fd90078e82 18:33:09 ---> d6fbd2b64205 18:33:09 Step 25/26 : LABEL git_sha=faf11dc8766dc1815638bbb61542875372543fca 18:33:09 ---> Running in d43ec6ae7a12 18:33:09 Removing intermediate container d43ec6ae7a12 18:33:09 ---> 7e0eca4a41c8 18:33:09 Step 26/26 : LABEL version=0.0.0 18:33:09 ---> Running in 22084932655c 18:33:10 Removing intermediate container 22084932655c 18:33:10 ---> f897e45670e0 18:33:10 [Warning] One or more build-args [ARCH] were not consumed 18:33:10 Successfully built f897e45670e0 18:33:10 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 18:33:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:33:10 18:33:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:33:11 arm64: Pulling from edgex-lftools-log-publisher 18:33:11 8998bd30e6a1: Pulling fs layer 18:33:11 04944245beec: Pulling fs layer 18:33:11 699f458cf7ca: Pulling fs layer 18:33:11 765212b225bb: Pulling fs layer 18:33:11 f23df028b6ca: Pulling fs layer 18:33:11 d65c8cfc05b1: Pulling fs layer 18:33:11 2437ff75d9bd: Pulling fs layer 18:33:11 f23df028b6ca: Waiting 18:33:11 d65c8cfc05b1: Waiting 18:33:11 2437ff75d9bd: Waiting 18:33:11 765212b225bb: Waiting 18:33:11 04944245beec: Verifying Checksum 18:33:11 04944245beec: Download complete 18:33:11 765212b225bb: Verifying Checksum 18:33:11 765212b225bb: Download complete 18:33:11 f23df028b6ca: Verifying Checksum 18:33:11 f23df028b6ca: Download complete 18:33:11 d65c8cfc05b1: Verifying Checksum 18:33:11 d65c8cfc05b1: Download complete 18:33:11 699f458cf7ca: Verifying Checksum 18:33:11 699f458cf7ca: Download complete 18:33:13 8998bd30e6a1: Verifying Checksum 18:33:13 8998bd30e6a1: Download complete 18:33:15 2437ff75d9bd: Verifying Checksum 18:33:15 2437ff75d9bd: Download complete 18:33:17 8998bd30e6a1: Pull complete 18:33:17 04944245beec: Pull complete 18:33:19 699f458cf7ca: Pull complete 18:33:19 765212b225bb: Pull complete 18:33:20 f23df028b6ca: Pull complete 18:33:20 d65c8cfc05b1: Pull complete 18:33:39 2437ff75d9bd: Pull complete 18:33:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:33:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:33:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:39 prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container 18:33:39 $ 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 18:33:42 $ docker top fcde1358e66a7a43b3d45d3e5be0191a1d3c566edc2199829ed7edf1e3ddab0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:33:43 ---> job-cost.sh 18:33:43 lf-activate-venv: SKIPPING 18:33:43 INFO: No Stack... 18:33:43 INFO: Retrieving Pricing Info for: v3-standard-4 18:33:44 INFO: Archiving Costs [Pipeline] sh 18:33:44 + cat /w/workspace/device-uart/1/archives/cost.csv 18:33:44 + cut -d, -f6 [Pipeline] lock 18:33:45 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] 18:33:45 Resource [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] did not exist. Created. 18:33:45 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:33:45 /w/workspace/device-uart/1@tmp/durable-511c7755/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:33:46 + echo total: 0.10999999940395355 [Pipeline] stash 18:33:46 Warning: overwriting stash ‘stack-cost’ 18:33:46 Stashed 1 file(s) [Pipeline] } 18:33:46 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:33:46 $ docker stop --time=1 fcde1358e66a7a43b3d45d3e5be0191a1d3c566edc2199829ed7edf1e3ddab0c 18:33:48 $ 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 18:33:49 provisioning config files... 18:33:49 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-50@tmp/config5021296901540547092tmp [Pipeline] { [Pipeline] sh 18:33:49 + set +x 18:33:49 + curl -s https://codecov.io/bash 18:33:49 + bash -s -- 18:33:49 18:33:49 _____ _ 18:33:49 / ____| | | 18:33:49 | | ___ __| | ___ ___ _____ __ 18:33:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:33:49 | |___| (_) | (_| | __/ (_| (_) \ V / 18:33:49 \_____\___/ \__,_|\___|\___\___/ \_/ 18:33:49 Bash-1.0.6 18:33:49 18:33:49 18:33:49 ==> git version 2.25.1 found 18:33:49 ==> 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 18:33:49 Release-Date: 2020-01-08 18:33:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:33:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:33:49 ==> Jenkins CI detected. 18:33:49 current dir:  /w/workspace/edgexfoundry_device-uart_PR-50 18:33:49 project root: . 18:33:49 --> token set from env 18:33:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:33:49 ==> Running gcov in . (disable via -X gcov) 18:33:49 ==> Python coveragepy not found 18:33:49 ==> Searching for coverage reports in: 18:33:49 + . 18:33:49 -> Found 1 reports 18:33:49 ==> Detecting git/mercurial file structure 18:33:49 ==> Reading reports 18:33:49 + ./coverage.out bytes=10 18:33:49 ==> Appending adjustments 18:33:49 https://docs.codecov.io/docs/fixing-reports 18:33:49 + Found adjustments 18:33:49 ==> Gzipping contents 18:33:49 4.0K /tmp/codecov.DqGAzu.gz 18:33:49 ==> Uploading reports 18:33:49 url: https://codecov.io 18:33:49 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= 18:33:49 -> Pinging Codecov 18:33:49 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= 18:33:50 -> Uploading to 18:33:50 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 18:33:50 % Total % Received % Xferd Average Speed Time Time Time Current 18:33:50 Dload Upload Total Spent Left Speed 18:33:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2044 --:--:-- --:--:-- --:--:-- 2044 18:33:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/faf11dc8766dc1815638bbb61542875372543fca [Pipeline] } 18:33:50 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 18:33:52 + [ -d /w/workspace/edgexfoundry_device-uart_PR-50/archives ] 18:33:52 + ls -al /w/workspace/edgexfoundry_device-uart_PR-50/archives 18:33:52 total 16 18:33:52 drwxr-xr-x 3 root root 4096 Mar 21 18:25 . 18:33:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 18:25 .. 18:33:52 drwxr-xr-x 2 root root 4096 Mar 21 18:25 cost 18:33:52 -rw-r--r-- 1 root root 82 Mar 21 18:25 cost.csv 18:33:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-50/archives 18:33:52 + ls -al /w/workspace/edgexfoundry_device-uart_PR-50/archives 18:33:52 total 16 18:33:52 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 18:25 . 18:33:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 18:25 .. 18:33:52 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 18:25 cost 18:33:52 -rw-r--r-- 1 jenkins jenkins 82 Mar 21 18:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:33:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:33:53 ---> package-listing.sh 18:33:53 ++ facter osfamily 18:33:53 ++ tr '[:upper:]' '[:lower:]' 18:33:54 + OS_FAMILY=debian 18:33:54 + workspace=/w/workspace/edgexfoundry_device-uart_PR-50 18:33:54 + START_PACKAGES=/tmp/packages_start.txt 18:33:54 + END_PACKAGES=/tmp/packages_end.txt 18:33:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:33:54 + PACKAGES=/tmp/packages_start.txt 18:33:54 + '[' /w/workspace/edgexfoundry_device-uart_PR-50 ']' 18:33:54 + PACKAGES=/tmp/packages_end.txt 18:33:54 + case "${OS_FAMILY}" in 18:33:54 + dpkg -l 18:33:54 + grep '^ii' 18:33:54 + '[' -f /tmp/packages_start.txt ']' 18:33:54 + '[' -f /tmp/packages_end.txt ']' 18:33:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:33:54 + '[' /w/workspace/edgexfoundry_device-uart_PR-50 ']' 18:33:54 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-50/archives/ 18:33:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-50/archives/ [Pipeline] echo 18:33:54 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 18:33:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:33:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:55 prd-ubuntu20.04-docker-8c-8g-597 does not seem to be running inside a container 18:33:55 $ 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 18:33:55 $ docker top 9781ac2a706a4eca5c996abd0964919a69cf2fe9bc5e85722569811e3fd356f0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:33:55 + touch /tmp/pre-build-complete [Pipeline] sh 18:33:56 + mkdir -p /var/log/sysstat [Pipeline] sh 18:33:56 + ls /var/log/sa-host 18:33:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:33:57 provisioning config files... 18:33:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-50@tmp/config18001344875566651899tmp [Pipeline] { [Pipeline] echo 18:33:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:33:57 ---> create-netrc.sh [Pipeline] } 18:33:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:33:57 ---> python-tools-install.sh [Pipeline] echo 18:33:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:33:58 ---> sudo-logs.sh 18:33:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:33:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:33:58 ---> job-cost.sh 18:33:58 lf-activate-venv: SKIPPING 18:33:58 DEBUG: total: 0.2199999988079071 18:33:58 INFO: Retrieving Stack Cost... 18:33:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:33:59 INFO: Archiving Costs [Pipeline] echo 18:33:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:33:59 ---> logs-deploy.sh 18:33:59 lf-activate-venv: SKIPPING 18:33:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-50/1 18:33:59 INFO: archiving workspace using pattern(s): 18:34:00 Archives upload complete. 18:34:00 INFO: archiving logs to Nexus