Pull request #40 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c0042f00274a5264b41da98ad68c34f2b48bcfd8+8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 (0e52266c9109ff73ea4181b439b2092713e5fe0c) 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-ssh6686417074397643382.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-ssh11249653336766474556.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-40/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-40/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3325297032801648494.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-40/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh547795951840659657.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-ssh3049121449796647480.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-40/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-40/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10295035798334761285.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26317’ Running on prd-ubuntu20.04-docker-8c-8g-26320 in /w/workspace/edgexfoundry_device-uart_PR-40 [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-40 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 into PR head commit c0042f00274a5264b41da98ad68c34f2b48bcfd8 Merge succeeded, producing c0042f00274a5264b41da98ad68c34f2b48bcfd8 Checking out Revision c0042f00274a5264b41da98ad68c34f2b48bcfd8 (PR-40) 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 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/40/head:refs/remotes/origin/PR-40 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0042f00274a5264b41da98ad68c34f2b48bcfd8 # 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 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0042f00274a5264b41da98ad68c34f2b48bcfd8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:11:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:11:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:11:11 ========================================================= 18:11:11 EdgeX Global Pipelines Version Info 18:11:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:11:12 ------------------- 18:11:12 stable info: 18:11:12 ------------------- 18:11:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:11:12 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:11:12 Message: update stable to v1.0.258 18:11:12 ------------------- 18:11:12 experimental info: 18:11:12 ------------------- 18:11:12 Commited By: **** collab-it+edgex@linuxfoundation.org 18:11:12 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:11:12 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:11:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:11:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-40 [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-40 [Pipeline] echo 18:11:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-40 [Pipeline] echo 18:11:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0042f00274a5264b41da98ad68c34f2b48bcfd8 [Pipeline] echo 18:11:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0042f0 [Pipeline] echo 18:11:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:15 provisioning config files... 18:11:15 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-40@tmp/config5102020895985191415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:15 ---> ****-login.sh 18:11:15 nexus3.edgexfoundry.org:10001 18:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:16 Configure a credential helper to remove this warning. See 18:11:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:16 18:11:16 Login Succeeded 18:11:16 nexus3.edgexfoundry.org:10002 18:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:16 Configure a credential helper to remove this warning. See 18:11:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:16 18:11:16 Login Succeeded 18:11:16 nexus3.edgexfoundry.org:10003 18:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:16 Configure a credential helper to remove this warning. See 18:11:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:16 18:11:16 Login Succeeded 18:11:16 nexus3.edgexfoundry.org:10004 18:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:16 Configure a credential helper to remove this warning. See 18:11:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:16 18:11:16 Login Succeeded 18:11:16 ****.io 18:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:16 Configure a credential helper to remove this warning. See 18:11:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:16 18:11:16 Login Succeeded 18:11:16 ---> ****-login.sh ends [Pipeline] } 18:11:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:11:17 + git rev-list -1 --merges c0042f00274a5264b41da98ad68c34f2b48bcfd8~1..c0042f00274a5264b41da98ad68c34f2b48bcfd8 [Pipeline] echo 18:11:17 -----------> git rev-list -1 --merges c0042f00274a5264b41da98ad68c34f2b48bcfd8~1..c0042f00274a5264b41da98ad68c34f2b48bcfd8 c0042f00274a5264b41da98ad68c34f2b48bcfd8 [false] [Pipeline] sh 18:11:18 + git log --format=format:%s -1 c0042f00274a5264b41da98ad68c34f2b48bcfd8 [Pipeline] echo 18:11:18 ========================================================= 18:11:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:11:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:18 + git log --format=format:%s -1 c0042f00274a5264b41da98ad68c34f2b48bcfd8 [Pipeline] echo 18:11:18 [semverPrep] GIT_COMMIT: c0042f00274a5264b41da98ad68c34f2b48bcfd8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:11:18 [semverPrep] This is not a build commit. [Pipeline] sh 18:11:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:11:19 + grep -v github /etc/ssh/ssh_known_hosts 18:11:19 + [ -e /tmp/ssh_known_hosts ] 18:11:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:11:19 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:11:19 sudo tee -a /etc/ssh/ssh_known_hosts 18:11:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:19 18:11:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:19 0.1.4: Pulling from edgex-devops/py-git-semver 18:11:19 b85a868b505f: Pulling fs layer 18:11:19 e2be974225ed: Pulling fs layer 18:11:19 339a4e72a1f5: Pulling fs layer 18:11:19 988bab9f4d93: Pulling fs layer 18:11:19 1469e6f7b9e6: Pulling fs layer 18:11:19 eaf3925da568: Pulling fs layer 18:11:19 bab4dde63d76: Pulling fs layer 18:11:19 bde34c3a00c8: Pulling fs layer 18:11:19 b352a97aabf1: Pulling fs layer 18:11:19 4872d77fe225: Pulling fs layer 18:11:19 988bab9f4d93: Waiting 18:11:19 5851b861e8e6: Pulling fs layer 18:11:19 1469e6f7b9e6: Waiting 18:11:19 b352a97aabf1: Waiting 18:11:19 eaf3925da568: Waiting 18:11:19 4872d77fe225: Waiting 18:11:19 bab4dde63d76: Waiting 18:11:19 bde34c3a00c8: Waiting 18:11:20 e2be974225ed: Verifying Checksum 18:11:20 e2be974225ed: Download complete 18:11:20 988bab9f4d93: Download complete 18:11:20 1469e6f7b9e6: Verifying Checksum 18:11:20 1469e6f7b9e6: Download complete 18:11:20 eaf3925da568: Download complete 18:11:20 339a4e72a1f5: Verifying Checksum 18:11:20 339a4e72a1f5: Download complete 18:11:20 bde34c3a00c8: Verifying Checksum 18:11:20 bde34c3a00c8: Download complete 18:11:20 b352a97aabf1: Verifying Checksum 18:11:20 4872d77fe225: Verifying Checksum 18:11:20 4872d77fe225: Download complete 18:11:20 5851b861e8e6: Verifying Checksum 18:11:20 5851b861e8e6: Download complete 18:11:20 b85a868b505f: Download complete 18:11:20 bab4dde63d76: Verifying Checksum 18:11:20 bab4dde63d76: Download complete 18:11:21 b85a868b505f: Pull complete 18:11:21 e2be974225ed: Pull complete 18:11:22 339a4e72a1f5: Pull complete 18:11:22 988bab9f4d93: Pull complete 18:11:22 1469e6f7b9e6: Pull complete 18:11:22 eaf3925da568: Pull complete 18:11:24 bab4dde63d76: Pull complete 18:11:24 bde34c3a00c8: Pull complete 18:11:24 b352a97aabf1: Pull complete 18:11:24 4872d77fe225: Pull complete 18:11:24 5851b861e8e6: Pull complete 18:11:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:11:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:25 prd-ubuntu20.04-docker-8c-8g-26320 does not seem to be running inside a container 18:11:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-40 -v /w/workspace/edgexfoundry_device-uart_PR-40:/w/workspace/edgexfoundry_device-uart_PR-40:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-40@tmp:/w/workspace/edgexfoundry_device-uart_PR-40@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:11:33 $ docker top b3ac8332f25e19ee506d37e735ace80ca65716a5c41a6564a750c8917dcc0c48 -eo pid,comm 18:11:33 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:11:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:11:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:33 [ssh-agent] Looking for ssh-agent implementation... 18:11:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:34 $ docker exec b3ac8332f25e19ee506d37e735ace80ca65716a5c41a6564a750c8917dcc0c48 ssh-agent 18:11:34 SSH_AUTH_SOCK=/tmp/ssh-4F11gwUVlgeO/agent.32 18:11:34 SSH_AGENT_PID=38 18:11:34 Running ssh-add (command line suppressed) 18:11:34 Identity added: /w/workspace/edgexfoundry_device-uart_PR-40@tmp/private_key_3208160222891864865.key (/w/workspace/edgexfoundry_device-uart_PR-40@tmp/private_key_3208160222891864865.key) 18:11:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:34 + git tag --points-at HEAD [Pipeline] } 18:11:34 $ docker exec --env ******** --env ******** b3ac8332f25e19ee506d37e735ace80ca65716a5c41a6564a750c8917dcc0c48 ssh-agent -k 18:11:34 unset SSH_AUTH_SOCK; 18:11:34 unset SSH_AGENT_PID; 18:11:34 echo Agent pid 38 killed; 18:11:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:11:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:34 [ssh-agent] Looking for ssh-agent implementation... 18:11:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:34 $ docker exec b3ac8332f25e19ee506d37e735ace80ca65716a5c41a6564a750c8917dcc0c48 ssh-agent 18:11:35 SSH_AUTH_SOCK=/tmp/ssh-Tm5FnI0TOsBp/agent.70 18:11:35 SSH_AGENT_PID=76 18:11:35 Running ssh-add (command line suppressed) 18:11:35 Identity added: /w/workspace/edgexfoundry_device-uart_PR-40@tmp/private_key_14014191279561339091.key (/w/workspace/edgexfoundry_device-uart_PR-40@tmp/private_key_14014191279561339091.key) 18:11:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:35 + git semver init 18:11:35 2023-12-28 18:11:35,749 [run_init] DEBUG init version:0.0.0 force:False 18:11:35 2023-12-28 18:11:35,750 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-40/.semver 18:11:35 2023-12-28 18:11:35,750 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-40/.semver 18:11:35 2023-12-28 18:11:35,750 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-40/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-40, universal_newlines=False, shell=None, istream=None) 18:11:37 2023-12-28 18:11:37,177 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-40/.git/info/exclude 18:11:37 2023-12-28 18:11:37,177 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-40/.semver/PR-40 with force:False 18:11:37 2023-12-28 18:11:37,178 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-40/.semver/PR-40 18:11:37 2023-12-28 18:11:37,182 [execute] INFO git cat-file --batch-check 18:11:37 2023-12-28 18:11:37,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-40/.semver, universal_newlines=False, shell=None, istream=) 18:11:37 2023-12-28 18:11:37,188 [execute] INFO git cat-file --batch 18:11:37 2023-12-28 18:11:37,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-40/.semver, universal_newlines=False, shell=None, istream=) 18:11:37 2023-12-28 18:11:37,193 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-40/.semver/PR-40 18:11:37 0.0.0 [Pipeline] } 18:11:37 $ docker exec --env ******** --env ******** b3ac8332f25e19ee506d37e735ace80ca65716a5c41a6564a750c8917dcc0c48 ssh-agent -k 18:11:37 unset SSH_AUTH_SOCK; 18:11:37 unset SSH_AGENT_PID; 18:11:37 echo Agent pid 76 killed; 18:11:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:11:37 + git semver [Pipeline] } 18:11:38 $ docker stop --time=1 b3ac8332f25e19ee506d37e735ace80ca65716a5c41a6564a750c8917dcc0c48 18:11:39 $ docker rm -f --volumes b3ac8332f25e19ee506d37e735ace80ca65716a5c41a6564a750c8917dcc0c48 [Pipeline] // withDockerContainer [Pipeline] sh 18:11:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:11:40 Stashed 1 file(s) [Pipeline] echo 18:11:40 [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:11:41 provisioning config files... 18:11:41 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-40@tmp/config11749844427094880887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:41 ---> ****-login.sh 18:11:41 nexus3.edgexfoundry.org:10001 18:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:41 Configure a credential helper to remove this warning. See 18:11:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:41 18:11:41 Login Succeeded 18:11:41 nexus3.edgexfoundry.org:10002 18:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:41 Configure a credential helper to remove this warning. See 18:11:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:41 18:11:41 Login Succeeded 18:11:41 nexus3.edgexfoundry.org:10003 18:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:42 Configure a credential helper to remove this warning. See 18:11:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:42 18:11:42 Login Succeeded 18:11:42 nexus3.edgexfoundry.org:10004 18:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:42 Configure a credential helper to remove this warning. See 18:11:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:42 18:11:42 Login Succeeded 18:11:42 ****.io 18:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:42 Configure a credential helper to remove this warning. See 18:11:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:42 18:11:42 Login Succeeded 18:11:42 ---> ****-login.sh ends [Pipeline] } 18:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:11:42 ========================================================= 18:11:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:11:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:43 + 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:11:43 Sending build context to Docker daemon 23.07MB 18:11:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:11:43 Step 2/12 : FROM ${BASE} AS builder 18:11:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:11:43 7264a8db6415: Pulling fs layer 18:11:43 c4d48a809fc2: Pulling fs layer 18:11:43 4f1c88b9dad5: Pulling fs layer 18:11:43 ad3a456e5733: Pulling fs layer 18:11:43 69c7f0334f64: Pulling fs layer 18:11:43 1f1c1a5573a3: Pulling fs layer 18:11:43 ce7588e14bc9: Pulling fs layer 18:11:43 b5e4710f87ac: Pulling fs layer 18:11:43 1f1c1a5573a3: Waiting 18:11:43 ce7588e14bc9: Waiting 18:11:43 b5e4710f87ac: Waiting 18:11:43 ad3a456e5733: Waiting 18:11:43 69c7f0334f64: Waiting 18:11:43 c4d48a809fc2: Download complete 18:11:43 ad3a456e5733: Verifying Checksum 18:11:43 ad3a456e5733: Download complete 18:11:43 69c7f0334f64: Download complete 18:11:43 7264a8db6415: Verifying Checksum 18:11:43 7264a8db6415: Download complete 18:11:43 1f1c1a5573a3: Verifying Checksum 18:11:43 1f1c1a5573a3: Download complete 18:11:43 7264a8db6415: Pull complete 18:11:43 b5e4710f87ac: Download complete 18:11:43 4f1c88b9dad5: Verifying Checksum 18:11:43 4f1c88b9dad5: Download complete 18:11:44 c4d48a809fc2: Pull complete 18:11:44 ce7588e14bc9: Verifying Checksum 18:11:44 ce7588e14bc9: Download complete 18:11:48 4f1c88b9dad5: Pull complete 18:11:48 ad3a456e5733: Pull complete 18:11:49 69c7f0334f64: Pull complete 18:11:49 1f1c1a5573a3: Pull complete 18:11:54 ce7588e14bc9: Pull complete 18:11:54 b5e4710f87ac: Pull complete 18:11:54 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:11:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:11:55 ---> 88b5674ff536 18:11:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:11:56 Still waiting to schedule task 18:11:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-26318’ is offline 18:12:17 ---> Running in b726f2e1db06 18:12:17 Removing intermediate container b726f2e1db06 18:12:17 ---> 2f6d0dfe81cd 18:12:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:12:17 ---> Running in a3ee844f39b1 18:12:17 Removing intermediate container a3ee844f39b1 18:12:17 ---> 7ca9283f40b1 18:12:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:12:17 ---> Running in 14497ddd713c 18:12:17 Removing intermediate container 14497ddd713c 18:12:17 ---> 0e6744949baf 18:12:17 Step 6/12 : WORKDIR /device-uart 18:12:17 ---> Running in a9628619ba76 18:12:17 Removing intermediate container a9628619ba76 18:12:17 ---> 4c580dfcfdfc 18:12:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:12:17 ---> Running in 1ecd33b5c62c 18:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:17 (1/4) Installing openssh-keygen (9.3_p2-r1) 18:12:17 (2/4) Installing libedit (20221030.3.1-r1) 18:12:17 (3/4) Installing openssh-client-common (9.3_p2-r1) 18:12:17 (4/4) Installing openssh-client-default (9.3_p2-r1) 18:12:17 Executing busybox-1.36.1-r5.trigger 18:12:17 OK: 268 MiB in 56 packages 18:12:19 Removing intermediate container 1ecd33b5c62c 18:12:19 ---> 7d2fd91fc9c6 18:12:19 Step 8/12 : COPY go.mod vendor* ./ 18:12:19 ---> 220b71952cbd 18:12:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:12:19 ---> Running in 40428178a2d3 18:13:27 Removing intermediate container 40428178a2d3 18:13:27 ---> 560fe56e254b 18:13:27 Step 10/12 : COPY . . 18:13:27 ---> 38c6d3a0489d 18:13:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:13:27 ---> Running in 1692fa473654 18:13:27 Removing intermediate container 1692fa473654 18:13:27 ---> 790ed2a7e63e 18:13:27 Step 12/12 : RUN ${MAKE} 18:13:27 ---> Running in 006d7211ca8e 18:13:27 noop 18:13:27 Removing intermediate container 006d7211ca8e 18:13:27 ---> 18294b39691a 18:13:27 Successfully built 18294b39691a 18:13:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:27 + docker inspect -f . ci-base-image-x86_64 18:13:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:28 prd-ubuntu20.04-docker-8c-8g-26320 does not seem to be running inside a container 18:13:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-40 -v /w/workspace/edgexfoundry_device-uart_PR-40:/w/workspace/edgexfoundry_device-uart_PR-40:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-40@tmp:/w/workspace/edgexfoundry_device-uart_PR-40@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:13:29 $ docker top f20018d2099b63ec5c3b6cf5fc264df1885afc85ff859c919f9bcd3f17cdf4b9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:29 + go version 18:13:29 go version go1.21.0 linux/amd64 [Pipeline] } 18:13:29 $ docker stop --time=1 f20018d2099b63ec5c3b6cf5fc264df1885afc85ff859c919f9bcd3f17cdf4b9 18:13:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26321 in /w/workspace/edgexfoundry_device-uart_PR-40 18:13:32 $ docker rm -f --volumes f20018d2099b63ec5c3b6cf5fc264df1885afc85ff859c919f9bcd3f17cdf4b9 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 18:13:32 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:33 + docker inspect -f . ci-base-image-x86_64 18:13:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:33 prd-ubuntu20.04-docker-8c-8g-26320 does not seem to be running inside a container 18:13:33 $ 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-40 -v /w/workspace/edgexfoundry_device-uart_PR-40:/w/workspace/edgexfoundry_device-uart_PR-40:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-40@tmp:/w/workspace/edgexfoundry_device-uart_PR-40@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:13:34 The recommended git tool is: git 18:13:34 $ docker top e24cbcc5c61aefccdb90d403235b22e22c0861df4fbed25903f3bfab0b55d54f -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-40 [Pipeline] fileExists [Pipeline] sh 18:13:35 + make test 18:13:35 go test ./... -coverprofile=coverage.out 18:13:39 using credential edgex-jenkins-ssh 18:13:39 Cloning the remote Git repository 18:13:39 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:13:39 > git init /w/workspace/device-uart/1 # timeout=10 18:13:39 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:13:39 > git --version # timeout=10 18:13:39 > git --version # 'git version 2.25.1' 18:13:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:41 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:13:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:42 ? github.com/edgexfoundry/device-uart [no test files] 18:13:43 Merging remotes/origin/main commit 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 into PR head commit c0042f00274a5264b41da98ad68c34f2b48bcfd8 18:13:42 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:13:42 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:13:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:13:43 > git config core.sparsecheckout # timeout=10 18:13:43 > git checkout -f c0042f00274a5264b41da98ad68c34f2b48bcfd8 # timeout=10 18:13:43 Merge succeeded, producing c0042f00274a5264b41da98ad68c34f2b48bcfd8 18:13:43 Checking out Revision c0042f00274a5264b41da98ad68c34f2b48bcfd8 (PR-40) 18:13:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:13:43 > git --version # timeout=10 18:13:44 > git --version # 'git version 2.25.1' 18:13:44 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:13:43 > git remote # timeout=10 18:13:43 > git config --get remote.origin.url # timeout=10 18:13:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:43 > git merge 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 # timeout=10 18:13:43 > git rev-parse HEAD^{commit} # timeout=10 18:13:43 > git config core.sparsecheckout # timeout=10 18:13:43 > git checkout -f c0042f00274a5264b41da98ad68c34f2b48bcfd8 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:13:45 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:45 Dload Upload Total Spent Left Speed 18:13:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 94641 0 --:--:-- --:--:-- --:--:-- 94641 [Pipeline] sh 18:13:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:13:46 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:13:46 sudo tee /etc/docker/daemon.new 18:13:46 { 18:13:46 "registry-mirrors": [ 18:13:46 "https://nexus3.edgexfoundry.org:10001" 18:13:46 ], 18:13:46 "bip": "10.250.0.254/24", 18:13:46 "hosts": [ 18:13:46 "tcp://0.0.0.0:5555", 18:13:46 "unix:///var/run/docker.sock" 18:13:46 ], 18:13:46 "mtu": 1458, 18:13:46 "selinux-enabled": true, 18:13:46 "seccomp-profile": "/etc/docker/seccomp.json" 18:13:46 } [Pipeline] sh 18:13:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:13:46 + sudo service docker restart 18:13:50 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:13:50 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:13:57 go vet ./... 18:14:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:14:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:14:00 ./bin/test-attribution-txt.sh [Pipeline] echo 18:14:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:14:00 $ docker stop --time=1 e24cbcc5c61aefccdb90d403235b22e22c0861df4fbed25903f3bfab0b55d54f 18:14:09 $ docker rm -f --volumes e24cbcc5c61aefccdb90d403235b22e22c0861df4fbed25903f3bfab0b55d54f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:10 provisioning config files... 18:14:10 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config1399738868002536087tmp [Pipeline] { 18:14:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] libraryResource 18:14:10 Stashed 1 file(s) [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } 18:14:11 ---> ****-login.sh 18:14:11 nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 18:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:11 Configure a credential helper to remove this warning. See 18:14:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:11 18:14:11 Login Succeeded 18:14:11 nexus3.edgexfoundry.org:10002 18:14:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:11 Configure a credential helper to remove this warning. See 18:14:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:11 18:14:11 Login Succeeded 18:14:11 nexus3.edgexfoundry.org:10003 18:14:12 + ls -al . 18:14:12 total 156 18:14:12 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 18:13 . 18:14:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:11 .. 18:14:12 -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 18:11 .dockerignore 18:14:12 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 18:13 .git 18:14:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:11 .github 18:14:12 -rw-rw-r-- 1 jenkins jenkins 343 Dec 28 18:11 .gitignore 18:14:12 -rw-rw-r-- 1 jenkins jenkins 41 Dec 28 18:11 .golangci.yml 18:14:12 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 18:11 .semver 18:14:12 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 28 18:11 Attribution.txt 18:14:12 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 28 18:11 CHANGELOG.md 18:14:12 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 28 18:11 Dockerfile 18:14:12 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 18:11 GOVERNANCE.md 18:14:12 -rw-rw-r-- 1 jenkins jenkins 675 Dec 28 18:11 Jenkinsfile 18:14:12 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 28 18:11 LICENSE 18:14:12 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 28 18:11 Makefile 18:14:12 -rw-rw-r-- 1 jenkins jenkins 617 Dec 28 18:11 OWNERS.md 18:14:12 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 28 18:11 README.md 18:14:12 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 18:11 VERSION 18:14:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 18:11 bin 18:14:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:11 cmd 18:14:12 -rw-r--r-- 1 jenkins jenkins 10 Dec 28 18:13 coverage.out 18:14:12 -rw-rw-r-- 1 jenkins jenkins 3716 Dec 28 18:11 go.mod 18:14:12 -rw-rw-r-- 1 jenkins jenkins 34812 Dec 28 18:11 go.sum 18:14:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:11 internal 18:14:12 -rw-rw-r-- 1 jenkins jenkins 209 Dec 28 18:11 version.go [Pipeline] isUnix 18:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:12 Configure a credential helper to remove this warning. See 18:14:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:12 18:14:12 Login Succeeded 18:14:12 nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:12 Configure a credential helper to remove this warning. See 18:14:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:12 18:14:12 Login Succeeded 18:14:12 ****.io 18:14:12 + 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=c0042f00274a5264b41da98ad68c34f2b48bcfd8 --label arch=amd64 --label version=0.0.0 . 18:14:12 Sending build context to Docker daemon 23.07MB 18:14:12 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:14:12 Step 2/26 : FROM ${BASE} AS builder 18:14:12 ---> 18294b39691a 18:14:12 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:12 Configure a credential helper to remove this warning. See 18:14:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:12 18:14:12 Login Succeeded 18:14:12 ---> ****-login.sh ends [Pipeline] } 18:14:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:14:13 ---> Running in e639b424062a 18:14:13 Removing intermediate container e639b424062a 18:14:13 ---> 058a3017b9f2 18:14:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" [Pipeline] echo 18:14:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:14:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:14:13 ========================================================= 18:14:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:14:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:14 ---> Running in 1e8f842db378 18:14:14 Removing intermediate container 1e8f842db378 18:14:14 ---> d8b5478d25ca 18:14:14 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:14:14 + 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:14:14 ---> Running in 30a2fd971c4b 18:14:15 Removing intermediate container 30a2fd971c4b 18:14:15 ---> e0be3c7154ef 18:14:15 Step 6/26 : WORKDIR /device-uart 18:14:15 ---> Running in 38906cd3f06f 18:14:16 Removing intermediate container 38906cd3f06f 18:14:16 ---> 6840d1ab0efe 18:14:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:17 ---> Running in 67bc675a6b21 18:14:17 #0 building with "default" instance using docker driver 18:14:17 18:14:17 #1 [internal] load .dockerignore 18:14:17 #1 transferring context: 18:14:17 #1 transferring context: 182B 0.0s done 18:14:17 #1 DONE 0.1s 18:14:17 18:14:17 #2 [internal] load build definition from Dockerfile 18:14:17 #2 transferring dockerfile: 1.93kB 0.0s done 18:14:17 #2 DONE 0.1s 18:14:17 18:14:17 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:14:17 #3 DONE 0.1s 18:14:17 18:14:17 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:14:17 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 18:14:17 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 18:14:17 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 18:14:17 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 18:14:17 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 18:14:17 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 18:14:17 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 18:14:17 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 18:14:17 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 18:14:17 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.71MB / 63.99MB 0.3s 18:14:17 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 18:14:17 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 18:14:17 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 18:14:17 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.4s 18:14:17 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 18:14:17 #4 ... 18:14:17 18:14:17 #5 [internal] load build context 18:14:17 #5 transferring context: 11.51MB 0.4s done 18:14:17 #5 DONE 0.5s 18:14:17 18:14:17 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:14:17 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.68MB / 97.63MB 0.5s 18:14:17 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 18:14:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:14:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:14:17 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.33MB / 63.99MB 0.6s 18:14:17 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.6s 18:14:17 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.02MB / 63.99MB 0.7s 18:14:17 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 18:14:17 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.83MB / 97.63MB 0.7s 18:14:17 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 18:14:18 OK: 268 MiB in 56 packages 18:14:18 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.9s 18:14:18 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.9s 18:14:18 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 1.0s 18:14:18 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.0s 18:14:18 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 18:14:18 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.1s 18:14:18 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.70MB / 97.63MB 1.1s 18:14:18 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 18:14:18 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.33MB / 63.99MB 1.3s 18:14:18 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.3s 18:14:18 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.53MB / 63.99MB 1.4s 18:14:18 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.4s 18:14:18 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.5s 18:14:18 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 1.5s 18:14:19 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 18:14:19 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.30MB / 97.63MB 1.7s 18:14:19 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.57MB / 97.63MB 1.8s 18:14:19 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18:14:19 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.10MB / 97.63MB 1.9s 18:14:19 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.0s 18:14:19 Removing intermediate container 67bc675a6b21 18:14:19 ---> bea857b33d39 18:14:19 Step 8/26 : COPY go.mod vendor* ./ 18:14:19 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 18:14:19 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 18:14:19 ---> af9dc82ee689 18:14:19 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:20 ---> Running in 29d6a003aeb0 18:14:22 Removing intermediate container 29d6a003aeb0 18:14:22 ---> 48490015107b 18:14:22 Step 10/26 : COPY . . 18:14:23 ---> 364d8afd32bf 18:14:23 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:14:23 ---> Running in da5efcd3f623 18:14:23 Removing intermediate container da5efcd3f623 18:14:23 ---> 2687ef0f0d9a 18:14:23 Step 12/26 : RUN ${MAKE} 18:14:24 ---> Running in 216821edb7c4 18:14:24 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.5" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:14:24 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.5s 18:14:30 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 18:14:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.7s done 18:14:37 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 18:14:37 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 18:14:37 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 18:14:37 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18:14:42 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 18:14:45 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done 18:14:46 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 18:14:48 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 18:14:48 #4 DONE 31.6s 18:14:49 18:14:49 #6 [builder 2/7] WORKDIR /device-uart 18:14:50 #6 DONE 1.6s 18:14:50 18:14:50 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:14:50 Removing intermediate container 216821edb7c4 18:14:50 ---> 76f18cfcd7c3 18:14:50 Step 13/26 : FROM alpine:3.18 18:14:50 3.18: Pulling from library/alpine 18:14:50 c926b61bad3b: Pulling fs layer 18:14:50 c926b61bad3b: Verifying Checksum 18:14:50 c926b61bad3b: Download complete 18:14:50 c926b61bad3b: Pull complete 18:14:50 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:14:50 Status: Downloaded newer image for alpine:3.18 18:14:50 ---> b541f2080109 18:14:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:14:50 ---> Running in 50319391b2b4 18:14:51 #7 0.703 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:14:51 Removing intermediate container 50319391b2b4 18:14:51 ---> 4aae7fbf47b8 18:14:51 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:14:51 #7 1.082 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:14:51 ---> Running in 421eb35fc03e 18:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:14:52 (1/1) Installing dumb-init (1.2.5-r2) 18:14:52 Executing busybox-1.36.1-r5.trigger 18:14:52 OK: 7 MiB in 16 packages 18:14:52 #7 2.100 (1/4) Installing openssh-keygen (9.3_p2-r1) 18:14:52 #7 2.125 (2/4) Installing libedit (20221030.3.1-r1) 18:14:52 #7 2.138 (3/4) Installing openssh-client-common (9.3_p2-r1) 18:14:52 #7 2.204 (4/4) Installing openssh-client-default (9.3_p2-r1) 18:14:52 #7 2.230 Executing busybox-1.36.1-r5.trigger 18:14:52 #7 2.266 OK: 271 MiB in 56 packages 18:14:53 #7 DONE 2.7s 18:14:53 18:14:53 #8 [builder 4/7] COPY go.mod vendor* ./ 18:14:53 #8 DONE 0.2s 18:14:53 18:14:53 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:53 Removing intermediate container 421eb35fc03e 18:14:53 ---> 6e1431f86886 18:14:53 Step 16/26 : RUN apk --no-cache upgrade 18:14:53 ---> Running in b788a3d68295 18:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:14:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:14:54 OK: 7 MiB in 16 packages 18:14:55 Removing intermediate container b788a3d68295 18:14:55 ---> 5d5023ee397f 18:14:55 Step 17/26 : WORKDIR / 18:14:55 ---> Running in fbdc5270b0dc 18:14:56 Removing intermediate container fbdc5270b0dc 18:14:56 ---> 6cd7d63c89c9 18:14:56 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:14:56 ---> 49a8467d4bf7 18:14:56 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:14:57 ---> 77b5b4e4b9c4 18:14:57 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:14:59 ---> 918b225f238d 18:14:59 Step 21/26 : EXPOSE 59995 18:14:59 ---> Running in 3c55e6474b46 18:14:59 Removing intermediate container 3c55e6474b46 18:14:59 ---> 50811979bc8e 18:14:59 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:14:59 ---> Running in dd2e4a90fc48 18:15:00 Removing intermediate container dd2e4a90fc48 18:15:00 ---> 47d42619aa5f 18:15:00 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:15:00 ---> Running in 12a502aa1d1e 18:15:00 Removing intermediate container 12a502aa1d1e 18:15:00 ---> 3881c03276e4 18:15:00 Step 24/26 : LABEL arch=amd64 18:15:00 ---> Running in 3bf7bb893675 18:15:01 Removing intermediate container 3bf7bb893675 18:15:01 ---> c93b38931b1f 18:15:01 Step 25/26 : LABEL git_sha=c0042f00274a5264b41da98ad68c34f2b48bcfd8 18:15:01 ---> Running in 9bb0ce0e842b 18:15:01 Removing intermediate container 9bb0ce0e842b 18:15:01 ---> acb5f6dd3a3c 18:15:01 Step 26/26 : LABEL version=0.0.0 18:15:01 ---> Running in 3380ab0baa6a 18:15:01 Removing intermediate container 3380ab0baa6a 18:15:01 ---> 37a7b71de3ea 18:15:01 [Warning] One or more build-args [ARCH] were not consumed 18:15:01 Successfully built 37a7b71de3ea 18:15:01 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:15:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:03 18:15:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:04 latest: Pulling from edgex-lftools-log-publisher 18:15:04 5eb5b503b376: Pulling fs layer 18:15:04 5c69ac0246d0: Pulling fs layer 18:15:04 ec43610c2a17: Pulling fs layer 18:15:04 3a2ae6a8a46f: Pulling fs layer 18:15:04 33b1e0a273af: Pulling fs layer 18:15:04 5d3b04190fa2: Pulling fs layer 18:15:04 2f39f015ded8: Pulling fs layer 18:15:04 33b1e0a273af: Waiting 18:15:04 2f39f015ded8: Waiting 18:15:04 3a2ae6a8a46f: Waiting 18:15:04 5c69ac0246d0: Download complete 18:15:04 3a2ae6a8a46f: Verifying Checksum 18:15:04 3a2ae6a8a46f: Download complete 18:15:04 33b1e0a273af: Verifying Checksum 18:15:04 33b1e0a273af: Download complete 18:15:04 ec43610c2a17: Verifying Checksum 18:15:04 ec43610c2a17: Download complete 18:15:04 5d3b04190fa2: Verifying Checksum 18:15:04 5d3b04190fa2: Download complete 18:15:04 5eb5b503b376: Verifying Checksum 18:15:04 5eb5b503b376: Download complete 18:15:05 2f39f015ded8: Download complete 18:15:06 5eb5b503b376: Pull complete 18:15:06 5c69ac0246d0: Pull complete 18:15:07 ec43610c2a17: Pull complete 18:15:07 3a2ae6a8a46f: Pull complete 18:15:08 33b1e0a273af: Pull complete 18:15:09 5d3b04190fa2: Pull complete 18:15:14 2f39f015ded8: Pull complete 18:15:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:15:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:14 prd-ubuntu20.04-docker-8c-8g-26320 does not seem to be running inside a container 18:15:14 $ 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-40 -v /w/workspace/edgexfoundry_device-uart_PR-40:/w/workspace/edgexfoundry_device-uart_PR-40:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-40@tmp:/w/workspace/edgexfoundry_device-uart_PR-40@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:15:20 #9 DONE 22.5s 18:15:20 18:15:20 #10 [builder 6/7] COPY . . 18:15:20 #10 DONE 0.3s 18:15:20 18:15:20 #11 [builder 7/7] RUN echo noop 18:15:20 #11 0.592 noop 18:15:20 #11 DONE 0.7s 18:15:20 18:15:20 #12 exporting to image 18:15:20 #12 exporting layers 18:15:27 $ docker top 4abb495bfff680e2cca16a62313d7a769b84d9113b2dd3e5417897f6d948276b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:28 ---> job-cost.sh 18:15:28 lf-activate-venv: SKIPPING 18:15:28 INFO: No Stack... 18:15:28 INFO: Retrieving Pricing Info for: v3-standard-8 18:15:28 INFO: Archiving Costs [Pipeline] sh 18:15:29 + cat /w/workspace/edgexfoundry_device-uart_PR-40/archives/cost.csv 18:15:29 + cut -d, -f6 [Pipeline] lock 18:15:29 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-40-1-stack-cost] 18:15:29 Resource [jenkins-edgexfoundry-device-uart-PR-40-1-stack-cost] did not exist. Created. 18:15:29 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-40-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:15:29 + echo total: 0.2199999988079071 [Pipeline] stash 18:15:29 Stashed 1 file(s) [Pipeline] } 18:15:29 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-40-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:15:29 $ docker stop --time=1 4abb495bfff680e2cca16a62313d7a769b84d9113b2dd3e5417897f6d948276b 18:15:31 $ docker rm -f --volumes 4abb495bfff680e2cca16a62313d7a769b84d9113b2dd3e5417897f6d948276b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:15:42 #12 exporting layers 22.4s done 18:15:42 #12 writing image sha256:c8ad53dbfbccc02dd8eb4983451276e84adda12ee47a3c006af76d1b7c254963 done 18:15:42 #12 naming to docker.io/library/ci-base-image-arm64 done 18:15:42 #12 DONE 22.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:42 + docker inspect -f . ci-base-image-arm64 18:15:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:43 prd-ubuntu20.04-docker-arm64-4c-16g-26321 does not seem to be running inside a container 18:15:43 $ 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 ******** ci-base-image-arm64 cat 18:15:44 $ docker top ef939ed01965bfbafaa03248cf5087e4dfbcb41aafd459e4e638c6b1cd3766e2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:44 + go version 18:15:44 go version go1.21.0 linux/arm64 [Pipeline] } 18:15:44 $ docker stop --time=1 ef939ed01965bfbafaa03248cf5087e4dfbcb41aafd459e4e638c6b1cd3766e2 18:15:46 $ docker rm -f --volumes ef939ed01965bfbafaa03248cf5087e4dfbcb41aafd459e4e638c6b1cd3766e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:47 + docker inspect -f . ci-base-image-arm64 18:15:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:47 prd-ubuntu20.04-docker-arm64-4c-16g-26321 does not seem to be running inside a container 18:15:48 $ 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 ******** ci-base-image-arm64 cat 18:15:48 $ docker top cbc4f49b75b8b1ebbef574411ac0b3f82b97c8f54ae6801a368684dc8f0b9664 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:49 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:15:49 + make test 18:15:49 go test ./... -coverprofile=coverage.out 18:15:54 ? github.com/edgexfoundry/device-uart [no test files] 18:16:41 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:16:41 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:16:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:16:41 go vet ./... 18:16:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:16:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:16:53 ./bin/test-attribution-txt.sh [Pipeline] echo 18:16:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:16:53 $ docker stop --time=1 cbc4f49b75b8b1ebbef574411ac0b3f82b97c8f54ae6801a368684dc8f0b9664 18:16:55 $ docker rm -f --volumes cbc4f49b75b8b1ebbef574411ac0b3f82b97c8f54ae6801a368684dc8f0b9664 [Pipeline] // withDockerContainer [Pipeline] sh 18:16:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:16:56 Warning: overwriting stash ‘coverage-report’ 18:16:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:16:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:16:58 + ls -al . 18:16:58 total 152 18:16:58 drwxrwxr-x 7 jenkins jenkins 4096 Dec 28 18:15 . 18:16:58 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:13 .. 18:16:58 -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 18:13 .dockerignore 18:16:58 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 18:13 .git 18:16:58 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:13 .github 18:16:58 -rw-rw-r-- 1 jenkins jenkins 343 Dec 28 18:13 .gitignore 18:16:58 -rw-rw-r-- 1 jenkins jenkins 41 Dec 28 18:13 .golangci.yml 18:16:58 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 28 18:13 Attribution.txt 18:16:58 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 28 18:13 CHANGELOG.md 18:16:58 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 28 18:13 Dockerfile 18:16:58 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 18:13 GOVERNANCE.md 18:16:58 -rw-rw-r-- 1 jenkins jenkins 675 Dec 28 18:13 Jenkinsfile 18:16:58 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 28 18:13 LICENSE 18:16:58 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 28 18:13 Makefile 18:16:58 -rw-rw-r-- 1 jenkins jenkins 617 Dec 28 18:13 OWNERS.md 18:16:58 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 28 18:13 README.md 18:16:58 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 18:11 VERSION 18:16:58 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 18:13 bin 18:16:58 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:13 cmd 18:16:58 -rw-r--r-- 1 jenkins jenkins 10 Dec 28 18:15 coverage.out 18:16:58 -rw-rw-r-- 1 jenkins jenkins 3716 Dec 28 18:13 go.mod 18:16:58 -rw-rw-r-- 1 jenkins jenkins 34812 Dec 28 18:13 go.sum 18:16:58 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:13 internal 18:16:58 -rw-rw-r-- 1 jenkins jenkins 209 Dec 28 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:58 + 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=c0042f00274a5264b41da98ad68c34f2b48bcfd8 --label arch=arm64 --label version=0.0.0 . 18:16:59 #0 building with "default" instance using docker driver 18:16:59 18:16:59 #1 [internal] load build definition from Dockerfile 18:16:59 #1 transferring dockerfile: 1.93kB done 18:16:59 #1 DONE 0.0s 18:16:59 18:16:59 #2 [internal] load .dockerignore 18:16:59 #2 transferring context: 182B done 18:16:59 #2 DONE 0.0s 18:16:59 18:16:59 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 18:16:59 #3 DONE 0.0s 18:16:59 18:16:59 #4 [internal] load metadata for docker.io/library/alpine:3.18 18:16:59 #4 DONE 0.2s 18:16:59 18:16:59 #5 [internal] load build context 18:16:59 #5 transferring context: 5.58kB 0.0s done 18:16:59 #5 DONE 0.1s 18:16:59 18:16:59 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:16:59 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 18:16:59 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 18:16:59 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 18:16:59 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 18:16:59 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.14MB / 3.33MB 0.1s 18:17:00 #6 ... 18:17:00 18:17:00 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 18:17:00 #7 DONE 0.2s 18:17:00 18:17:00 #8 [builder 2/7] WORKDIR /device-uart 18:17:00 #8 DONE 0.1s 18:17:00 18:17:00 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:17:00 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 18:17:00 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 18:17:00 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 18:17:00 #6 DONE 0.9s 18:17:00 18:17:00 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:17:01 #9 0.593 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:01 #9 0.924 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:17:02 #9 ... 18:17:02 18:17:02 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:17:02 #10 0.719 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:02 #10 1.193 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:17:02 #10 2.253 OK: 271 MiB in 56 packages 18:17:02 #10 DONE 2.5s 18:17:02 18:17:02 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:17:02 #9 1.890 (1/1) Installing dumb-init (1.2.5-r2) 18:17:02 #9 1.901 Executing busybox-1.36.1-r5.trigger 18:17:02 #9 1.927 OK: 8 MiB in 16 packages 18:17:02 #9 ... 18:17:02 18:17:02 #11 [builder 4/7] COPY go.mod vendor* ./ 18:17:02 #11 DONE 0.2s 18:17:02 18:17:02 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:17:02 #12 ... 18:17:02 18:17:02 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:17:02 #9 DONE 2.2s 18:17:03 18:17:03 #13 [stage-1 3/7] RUN apk --no-cache upgrade 18:17:03 #13 0.762 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:04 #13 ... 18:17:04 18:17:04 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:17:04 #12 DONE 1.2s 18:17:04 18:17:04 #13 [stage-1 3/7] RUN apk --no-cache upgrade 18:17:04 #13 1.097 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:17:04 #13 ... 18:17:04 18:17:04 #14 [builder 6/7] COPY . . 18:17:04 #14 DONE 0.3s 18:17:04 18:17:04 #15 [builder 7/7] RUN make build 18:17:05 #15 0.667 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.5" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:17:07 #15 ... 18:17:07 18:17:07 #13 [stage-1 3/7] RUN apk --no-cache upgrade 18:17:07 #13 2.150 OK: 8 MiB in 16 packages 18:17:07 #13 DONE 4.9s 18:17:08 18:17:08 #15 [builder 7/7] RUN make build 18:18:15 #15 DONE 63.2s 18:18:15 18:18:15 #16 [stage-1 4/7] COPY --from=builder /device-uart/Attribution.txt / 18:18:15 #16 DONE 0.1s 18:18:15 18:18:15 #17 [stage-1 5/7] COPY --from=builder /device-uart/LICENSE / 18:18:15 #17 DONE 0.1s 18:18:15 18:18:15 #18 [stage-1 6/7] COPY --from=builder /device-uart/cmd/ / 18:18:15 #18 DONE 0.4s 18:18:15 18:18:15 #19 exporting to image 18:18:15 #19 exporting layers 18:18:15 #19 exporting layers 0.4s done 18:18:15 #19 writing image sha256:a23f83f39c8eeff507fe57d9ecd061186b207602419c0facd7229bc898e303b1 done 18:18:15 #19 naming to docker.io/library/device-uart-arm64 done 18:18:15 #19 DONE 0.4s [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:18:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:17 18:18:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:19 arm64: Pulling from edgex-lftools-log-publisher 18:18:19 8998bd30e6a1: Pulling fs layer 18:18:19 04944245beec: Pulling fs layer 18:18:19 699f458cf7ca: Pulling fs layer 18:18:19 765212b225bb: Pulling fs layer 18:18:19 f23df028b6ca: Pulling fs layer 18:18:19 765212b225bb: Waiting 18:18:19 f23df028b6ca: Waiting 18:18:19 d65c8cfc05b1: Pulling fs layer 18:18:19 d65c8cfc05b1: Waiting 18:18:19 2437ff75d9bd: Pulling fs layer 18:18:19 2437ff75d9bd: Waiting 18:18:19 04944245beec: Verifying Checksum 18:18:19 04944245beec: Download complete 18:18:19 765212b225bb: Verifying Checksum 18:18:19 765212b225bb: Download complete 18:18:19 f23df028b6ca: Verifying Checksum 18:18:19 f23df028b6ca: Download complete 18:18:19 d65c8cfc05b1: Download complete 18:18:19 699f458cf7ca: Verifying Checksum 18:18:19 699f458cf7ca: Download complete 18:18:20 8998bd30e6a1: Verifying Checksum 18:18:20 8998bd30e6a1: Download complete 18:18:22 2437ff75d9bd: Verifying Checksum 18:18:22 2437ff75d9bd: Download complete 18:18:27 8998bd30e6a1: Pull complete 18:18:27 04944245beec: Pull complete 18:18:29 699f458cf7ca: Pull complete 18:18:29 765212b225bb: Pull complete 18:18:33 f23df028b6ca: Pull complete 18:18:33 d65c8cfc05b1: Pull complete 18:19:00 2437ff75d9bd: Pull complete 18:19:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:19:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:00 prd-ubuntu20.04-docker-arm64-4c-16g-26321 does not seem to be running inside a container 18:19:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:19:03 $ docker top 050d4c78bffaf8397c3e5cad7cfff0b8b0d6dc99860ab3d6537d584e58f062ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:04 ---> job-cost.sh 18:19:04 lf-activate-venv: SKIPPING 18:19:04 INFO: No Stack... 18:19:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:19:05 INFO: Archiving Costs [Pipeline] sh 18:19:06 + + cut -d, -f6 18:19:06 cat /w/workspace/device-uart/1/archives/cost.csv [Pipeline] lock 18:19:06 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-40-1-stack-cost] 18:19:06 Resource [jenkins-edgexfoundry-device-uart-PR-40-1-stack-cost] did not exist. Created. 18:19:06 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-40-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:19:06 /w/workspace/device-uart/1@tmp/durable-e8789e5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:19:06 + echo total: 0.2199999988079071 [Pipeline] stash 18:19:06 Warning: overwriting stash ‘stack-cost’ 18:19:07 Stashed 1 file(s) [Pipeline] } 18:19:07 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-40-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:19:07 $ docker stop --time=1 050d4c78bffaf8397c3e5cad7cfff0b8b0d6dc99860ab3d6537d584e58f062ce 18:19:08 $ docker rm -f --volumes 050d4c78bffaf8397c3e5cad7cfff0b8b0d6dc99860ab3d6537d584e58f062ce [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:19:10 provisioning config files... 18:19:10 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-40@tmp/config6987602844136037041tmp [Pipeline] { [Pipeline] sh 18:19:11 + set +x 18:19:11 + bash -s -- 18:19:11 + curl -s https://codecov.io/bash 18:19:11 18:19:11 _____ _ 18:19:11 / ____| | | 18:19:11 | | ___ __| | ___ ___ _____ __ 18:19:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:19:11 | |___| (_) | (_| | __/ (_| (_) \ V / 18:19:11 \_____\___/ \__,_|\___|\___\___/ \_/ 18:19:11 Bash-1.0.6 18:19:11 18:19:11 18:19:11 ==> git version 2.25.1 found 18:19:11 ==> 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:19:11 Release-Date: 2020-01-08 18:19:11 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:19:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:19:11 ==> Jenkins CI detected. 18:19:11 current dir:  /w/workspace/edgexfoundry_device-uart_PR-40 18:19:11 project root: . 18:19:11 --> token set from env 18:19:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:19:11 ==> Running gcov in . (disable via -X gcov) 18:19:11 ==> Python coveragepy not found 18:19:11 ==> Searching for coverage reports in: 18:19:11 + . 18:19:11 -> Found 1 reports 18:19:11 ==> Detecting git/mercurial file structure 18:19:11 ==> Reading reports 18:19:11 + ./coverage.out bytes=10 18:19:11 ==> Appending adjustments 18:19:11 https://docs.codecov.io/docs/fixing-reports 18:19:11 + Found adjustments 18:19:11 ==> Gzipping contents 18:19:11 4.0K /tmp/codecov.AxnAU5.gz 18:19:11 ==> Uploading reports 18:19:11 url: https://codecov.io 18:19:11 query: branch=PR-40&commit=c0042f00274a5264b41da98ad68c34f2b48bcfd8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-40%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=40&job=&cmd_args= 18:19:11 -> Pinging Codecov 18:19:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-40&commit=c0042f00274a5264b41da98ad68c34f2b48bcfd8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-40%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=40&job=&cmd_args= 18:19:12 -> Uploading to 18:19:12 https://storage.googleapis.com/codecov/v4/raw/2023-12-28/B9AA6E0BBD74AE3A32605C7A7C664919/c0042f00274a5264b41da98ad68c34f2b48bcfd8/e828ad43-11ae-4a57-9078-d41425539178.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231228T181911Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e5ae112cb8a5c65539c1315583979d0de8acf02a05628e50a0b0d09efc533e20 18:19:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:19:12 Dload Upload Total Spent Left Speed 18:19:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2250 --:--:-- --:--:-- --:--:-- 2241 18:19:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/c0042f00274a5264b41da98ad68c34f2b48bcfd8 [Pipeline] } 18:19:12 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:19:15 + [ -d /w/workspace/edgexfoundry_device-uart_PR-40/archives ] 18:19:15 + ls -al /w/workspace/edgexfoundry_device-uart_PR-40/archives 18:19:15 total 16 18:19:15 drwxr-xr-x 3 root root 4096 Dec 28 18:15 . 18:19:15 drwxrwxr-x 9 jenkins jenkins 4096 Dec 28 18:15 .. 18:19:15 drwxr-xr-x 2 root root 4096 Dec 28 18:15 cost 18:19:15 -rw-r--r-- 1 root root 82 Dec 28 18:15 cost.csv 18:19:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-40/archives 18:19:15 + ls -al /w/workspace/edgexfoundry_device-uart_PR-40/archives 18:19:15 total 16 18:19:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 18:15 . 18:19:15 drwxrwxr-x 9 jenkins jenkins 4096 Dec 28 18:15 .. 18:19:15 drwxr-xr-x 2 jenkins jenkins 4096 Dec 28 18:15 cost 18:19:15 -rw-r--r-- 1 jenkins jenkins 82 Dec 28 18:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:19:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:19:17 ---> package-listing.sh 18:19:17 ++ facter osfamily 18:19:17 ++ tr '[:upper:]' '[:lower:]' 18:19:17 + OS_FAMILY=debian 18:19:17 + workspace=/w/workspace/edgexfoundry_device-uart_PR-40 18:19:17 + START_PACKAGES=/tmp/packages_start.txt 18:19:17 + END_PACKAGES=/tmp/packages_end.txt 18:19:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:19:17 + PACKAGES=/tmp/packages_start.txt 18:19:17 + '[' /w/workspace/edgexfoundry_device-uart_PR-40 ']' 18:19:17 + PACKAGES=/tmp/packages_end.txt 18:19:17 + case "${OS_FAMILY}" in 18:19:17 + dpkg -l 18:19:17 + grep '^ii' 18:19:17 + '[' -f /tmp/packages_start.txt ']' 18:19:17 + '[' -f /tmp/packages_end.txt ']' 18:19:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:19:17 + '[' /w/workspace/edgexfoundry_device-uart_PR-40 ']' 18:19:17 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-40/archives/ 18:19:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-40/archives/ [Pipeline] echo 18:19:17 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-40/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:19:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:19:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:18 prd-ubuntu20.04-docker-8c-8g-26320 does not seem to be running inside a container 18:19:18 $ 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-40/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-40 -v /w/workspace/edgexfoundry_device-uart_PR-40:/w/workspace/edgexfoundry_device-uart_PR-40:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-40@tmp:/w/workspace/edgexfoundry_device-uart_PR-40@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:19:19 $ docker top 88aadc6be7a9ba4532be578e57e0f20ee6a38e04518e717a4ce1835df41ab708 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:19 + touch /tmp/pre-build-complete [Pipeline] sh 18:19:19 + mkdir -p /var/log/sysstat [Pipeline] sh 18:19:20 + ls /var/log/sa-host 18:19:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:19:20 provisioning config files... 18:19:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-40@tmp/config8917338795878575505tmp [Pipeline] { [Pipeline] echo 18:19:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:19:21 ---> create-netrc.sh [Pipeline] } 18:19:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:19:21 ---> python-tools-install.sh [Pipeline] echo 18:19:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:19:21 ---> sudo-logs.sh 18:19:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:19:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:19:22 ---> job-cost.sh 18:19:22 lf-activate-venv: SKIPPING 18:19:22 DEBUG: total: 0.2199999988079071 18:19:22 INFO: Retrieving Stack Cost... 18:19:22 INFO: Retrieving Pricing Info for: v3-standard-8 18:19:23 INFO: Archiving Costs [Pipeline] echo 18:19:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:19:23 ---> logs-deploy.sh 18:19:23 lf-activate-venv: SKIPPING 18:19:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-40/1 18:19:23 INFO: archiving workspace using pattern(s): 18:19:24 Archives upload complete. 18:19:24 INFO: archiving logs to Nexus 18:19:25 ---> uname -a: 18:19:25 Linux prd-ubuntu20-04-docker-8c-8g-26320 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:19:25 18:19:25 18:19:25 ---> lscpu: 18:19:25 Architecture: x86_64 18:19:25 CPU op-mode(s): 32-bit, 64-bit 18:19:25 Byte Order: Little Endian 18:19:25 Address sizes: 40 bits physical, 48 bits virtual 18:19:25 CPU(s): 8 18:19:25 On-line CPU(s) list: 0-7 18:19:25 Thread(s) per core: 1 18:19:25 Core(s) per socket: 1 18:19:25 Socket(s): 8 18:19:25 NUMA node(s): 1 18:19:25 Vendor ID: AuthenticAMD 18:19:25 CPU family: 23 18:19:25 Model: 49 18:19:25 Model name: AMD EPYC-Rome Processor 18:19:25 Stepping: 0 18:19:25 CPU MHz: 2800.000 18:19:25 BogoMIPS: 5600.00 18:19:25 Virtualization: AMD-V 18:19:25 Hypervisor vendor: KVM 18:19:25 Virtualization type: full 18:19:25 L1d cache: 256 KiB 18:19:25 L1i cache: 256 KiB 18:19:25 L2 cache: 4 MiB 18:19:25 L3 cache: 128 MiB 18:19:25 NUMA node0 CPU(s): 0-7 18:19:25 Vulnerability Itlb multihit: Not affected 18:19:25 Vulnerability L1tf: Not affected 18:19:25 Vulnerability Mds: Not affected 18:19:25 Vulnerability Meltdown: Not affected 18:19:25 Vulnerability Mmio stale data: Not affected 18:19:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:19:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:19:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:19:25 Vulnerability Srbds: Not affected 18:19:25 Vulnerability Tsx async abort: Not affected 18:19:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:19:25 18:19:25 18:19:25 ---> nproc: 18:19:25 8 18:19:25 18:19:25 18:19:25 ---> df -h: 18:19:25 Filesystem Size Used Avail Use% Mounted on 18:19:25 overlay 155G 12G 144G 8% / 18:19:25 tmpfs 64M 0 64M 0% /dev 18:19:25 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:19:25 shm 64M 0 64M 0% /dev/shm 18:19:25 /dev/vda1 155G 12G 144G 8% /facter-os 18:19:25 18:19:25