Pull request #54 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40f46dea90bc09a8b51054a3263c7715ce065b2e+0191fcbf31d47e6537e79896ea60966564fcaee0 (2df29fb485fe2cb6293750d3a5b59da2cb730644) 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-ssh6413185165514591366.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6400956960715579498.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 590556114a56c6d90cc8043840e039c2f74196dc 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-54/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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11360193625703794762.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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1189355095650510547.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh10900645322026163932.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-54/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-54/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1886742726835941258.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1103’ Running on prd-ubuntu20.04-docker-8c-8g-1105 in /w/workspace/edgexfoundry_device-uart_PR-54 [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-54 # 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 0191fcbf31d47e6537e79896ea60966564fcaee0 into PR head commit 40f46dea90bc09a8b51054a3263c7715ce065b2e Merge succeeded, producing 40f46dea90bc09a8b51054a3263c7715ce065b2e Checking out Revision 40f46dea90bc09a8b51054a3263c7715ce065b2e (PR-54) 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 590556114a56c6d90cc8043840e039c2f74196dc > 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/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40f46dea90bc09a8b51054a3263c7715ce065b2e # 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 0191fcbf31d47e6537e79896ea60966564fcaee0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40f46dea90bc09a8b51054a3263c7715ce065b2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-29T18:48:43.531Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-29T18:48:43.751Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-29T18:48:43.880Z] ========================================================= [2024-05-29T18:48:43.880Z] EdgeX Global Pipelines Version Info [2024-05-29T18:48:43.880Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-29T18:48:44.638Z] ------------------- [2024-05-29T18:48:44.638Z] stable info: [2024-05-29T18:48:44.638Z] ------------------- [2024-05-29T18:48:44.638Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T18:48:44.638Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-29T18:48:44.638Z] Message: update stable to v1.0.260 [2024-05-29T18:48:45.206Z] ------------------- [2024-05-29T18:48:45.206Z] experimental info: [2024-05-29T18:48:45.206Z] ------------------- [2024-05-29T18:48:45.206Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T18:48:45.206Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-29T18:48:45.206Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-29T18:48:45.454Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-05-29T18:48:45.514Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-05-29T18:48:45.567Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-29T18:48:45.629Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-29T18:48:45.686Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-29T18:48:45.752Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-29T18:48:45.814Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-29T18:48:45.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-29T18:48:45.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-29T18:48:45.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-29T18:48:46.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-29T18:48:46.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-05-29T18:48:46.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-29T18:48:46.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-29T18:48:46.293Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T18:48:46.358Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T18:48:46.414Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T18:48:46.469Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T18:48:46.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-29T18:48:46.585Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-29T18:48:46.641Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-29T18:48:46.700Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-29T18:48:46.758Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-29T18:48:46.817Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-29T18:48:46.877Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-29T18:48:46.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-29T18:48:47.001Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-29T18:48:47.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo [2024-05-29T18:48:47.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo [2024-05-29T18:48:47.168Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo [2024-05-29T18:48:47.225Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40f46dea90bc09a8b51054a3263c7715ce065b2e [Pipeline] echo [2024-05-29T18:48:47.280Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40f46de [Pipeline] echo [2024-05-29T18:48:47.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T18:48:47.492Z] provisioning config files... [2024-05-29T18:48:47.504Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-54@tmp/config6822868260018342211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T18:48:47.880Z] ---> ****-login.sh [2024-05-29T18:48:47.880Z] nexus3.edgexfoundry.org:10001 [2024-05-29T18:48:48.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:48:48.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:48:48.140Z] Configure a credential helper to remove this warning. See [2024-05-29T18:48:48.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:48:48.140Z] [2024-05-29T18:48:48.140Z] Login Succeeded [2024-05-29T18:48:48.140Z] nexus3.edgexfoundry.org:10002 [2024-05-29T18:48:48.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:48:48.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:48:48.398Z] Configure a credential helper to remove this warning. See [2024-05-29T18:48:48.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:48:48.398Z] [2024-05-29T18:48:48.398Z] Login Succeeded [2024-05-29T18:48:48.398Z] nexus3.edgexfoundry.org:10003 [2024-05-29T18:48:48.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:48:48.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:48:48.399Z] Configure a credential helper to remove this warning. See [2024-05-29T18:48:48.399Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:48:48.399Z] [2024-05-29T18:48:48.399Z] Login Succeeded [2024-05-29T18:48:48.399Z] nexus3.edgexfoundry.org:10004 [2024-05-29T18:48:48.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:48:48.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:48:48.399Z] Configure a credential helper to remove this warning. See [2024-05-29T18:48:48.399Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:48:48.399Z] [2024-05-29T18:48:48.399Z] Login Succeeded [2024-05-29T18:48:48.399Z] ****.io [2024-05-29T18:48:48.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:48:49.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:48:49.600Z] Configure a credential helper to remove this warning. See [2024-05-29T18:48:49.600Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:48:49.600Z] [2024-05-29T18:48:49.600Z] Login Succeeded [2024-05-29T18:48:49.600Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T18:48:49.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-29T18:48:50.321Z] + git rev-list -1 --merges 40f46dea90bc09a8b51054a3263c7715ce065b2e~1..40f46dea90bc09a8b51054a3263c7715ce065b2e [Pipeline] echo [2024-05-29T18:48:50.370Z] -----------> git rev-list -1 --merges 40f46dea90bc09a8b51054a3263c7715ce065b2e~1..40f46dea90bc09a8b51054a3263c7715ce065b2e 40f46dea90bc09a8b51054a3263c7715ce065b2e [false] [Pipeline] sh [2024-05-29T18:48:50.703Z] + git log --format=format:%s -1 40f46dea90bc09a8b51054a3263c7715ce065b2e [Pipeline] echo [2024-05-29T18:48:50.743Z] ========================================================= [2024-05-29T18:48:50.743Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-29T18:48:50.743Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T18:48:51.197Z] + git log --format=format:%s -1 40f46dea90bc09a8b51054a3263c7715ce065b2e [Pipeline] echo [2024-05-29T18:48:51.247Z] [semverPrep] GIT_COMMIT: 40f46dea90bc09a8b51054a3263c7715ce065b2e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-05-29T18:48:51.288Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-29T18:48:51.685Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-29T18:48:51.685Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-29T18:48:51.685Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-29T18:48:51.685Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-29T18:48:51.685Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-29T18:48:51.685Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-29T18:48:51.685Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:48:52.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T18:48:52.143Z] [2024-05-29T18:48:52.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:48:52.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T18:48:52.531Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-29T18:48:52.531Z] b85a868b505f: Pulling fs layer [2024-05-29T18:48:52.531Z] e2be974225ed: Pulling fs layer [2024-05-29T18:48:52.531Z] 339a4e72a1f5: Pulling fs layer [2024-05-29T18:48:52.531Z] 988bab9f4d93: Pulling fs layer [2024-05-29T18:48:52.531Z] 1469e6f7b9e6: Pulling fs layer [2024-05-29T18:48:52.531Z] eaf3925da568: Pulling fs layer [2024-05-29T18:48:52.531Z] bab4dde63d76: Pulling fs layer [2024-05-29T18:48:52.531Z] bde34c3a00c8: Pulling fs layer [2024-05-29T18:48:52.531Z] b352a97aabf1: Pulling fs layer [2024-05-29T18:48:52.531Z] 4872d77fe225: Pulling fs layer [2024-05-29T18:48:52.531Z] 5851b861e8e6: Pulling fs layer [2024-05-29T18:48:52.531Z] bde34c3a00c8: Waiting [2024-05-29T18:48:52.531Z] 988bab9f4d93: Waiting [2024-05-29T18:48:52.531Z] b352a97aabf1: Waiting [2024-05-29T18:48:52.531Z] 1469e6f7b9e6: Waiting [2024-05-29T18:48:52.531Z] 4872d77fe225: Waiting [2024-05-29T18:48:52.531Z] 5851b861e8e6: Waiting [2024-05-29T18:48:52.531Z] eaf3925da568: Waiting [2024-05-29T18:48:52.531Z] bab4dde63d76: Waiting [2024-05-29T18:48:52.531Z] e2be974225ed: Download complete [2024-05-29T18:48:52.531Z] 988bab9f4d93: Download complete [2024-05-29T18:48:52.531Z] 1469e6f7b9e6: Verifying Checksum [2024-05-29T18:48:52.531Z] 1469e6f7b9e6: Download complete [2024-05-29T18:48:52.791Z] eaf3925da568: Verifying Checksum [2024-05-29T18:48:52.791Z] eaf3925da568: Download complete [2024-05-29T18:48:52.791Z] 339a4e72a1f5: Verifying Checksum [2024-05-29T18:48:52.791Z] 339a4e72a1f5: Download complete [2024-05-29T18:48:52.791Z] bde34c3a00c8: Verifying Checksum [2024-05-29T18:48:52.791Z] bde34c3a00c8: Download complete [2024-05-29T18:48:52.791Z] b352a97aabf1: Download complete [2024-05-29T18:48:52.791Z] 4872d77fe225: Verifying Checksum [2024-05-29T18:48:52.791Z] 4872d77fe225: Download complete [2024-05-29T18:48:52.791Z] 5851b861e8e6: Download complete [2024-05-29T18:48:52.791Z] b85a868b505f: Verifying Checksum [2024-05-29T18:48:52.791Z] b85a868b505f: Download complete [2024-05-29T18:48:53.051Z] bab4dde63d76: Verifying Checksum [2024-05-29T18:48:53.051Z] bab4dde63d76: Download complete [2024-05-29T18:48:53.987Z] b85a868b505f: Pull complete [2024-05-29T18:48:54.245Z] e2be974225ed: Pull complete [2024-05-29T18:48:54.813Z] 339a4e72a1f5: Pull complete [2024-05-29T18:48:54.813Z] 988bab9f4d93: Pull complete [2024-05-29T18:48:55.076Z] 1469e6f7b9e6: Pull complete [2024-05-29T18:48:55.076Z] eaf3925da568: Pull complete [2024-05-29T18:48:56.987Z] bab4dde63d76: Pull complete [2024-05-29T18:48:56.987Z] bde34c3a00c8: Pull complete [2024-05-29T18:48:56.987Z] b352a97aabf1: Pull complete [2024-05-29T18:48:56.987Z] 4872d77fe225: Pull complete [2024-05-29T18:48:56.987Z] 5851b861e8e6: Pull complete [2024-05-29T18:48:56.987Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-29T18:48:56.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T18:48:56.987Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T18:48:57.286Z] prd-ubuntu20.04-docker-8c-8g-1105 does not seem to be running inside a container [2024-05-29T18:48:57.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-54 -v /w/workspace/edgexfoundry_device-uart_PR-54:/w/workspace/edgexfoundry_device-uart_PR-54:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-54@tmp:/w/workspace/edgexfoundry_device-uart_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-29T18:49:00.279Z] $ docker top aa6080996a5517d9e4752d186b7bd0accc9e25597842a783aaa50188c510732f -eo pid,comm [2024-05-29T18:49:00.331Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-05-29T18:49:00.331Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-29T18:49:00.572Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T18:49:00.572Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T18:49:00.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T18:49:00.699Z] $ docker exec aa6080996a5517d9e4752d186b7bd0accc9e25597842a783aaa50188c510732f ssh-agent [2024-05-29T18:49:00.802Z] SSH_AUTH_SOCK=/tmp/ssh-dmO9wkrLAe4o/agent.33 [2024-05-29T18:49:00.802Z] SSH_AGENT_PID=39 [2024-05-29T18:49:00.809Z] Running ssh-add (command line suppressed) [2024-05-29T18:49:00.919Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-54@tmp/private_key_13227785081405798525.key (/w/workspace/edgexfoundry_device-uart_PR-54@tmp/private_key_13227785081405798525.key) [2024-05-29T18:49:00.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T18:49:01.281Z] + git tag --points-at HEAD [Pipeline] } [2024-05-29T18:49:01.312Z] $ docker exec --env ******** --env ******** aa6080996a5517d9e4752d186b7bd0accc9e25597842a783aaa50188c510732f ssh-agent -k [2024-05-29T18:49:01.407Z] unset SSH_AUTH_SOCK; [2024-05-29T18:49:01.408Z] unset SSH_AGENT_PID; [2024-05-29T18:49:01.408Z] echo Agent pid 39 killed; [2024-05-29T18:49:01.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-29T18:49:01.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T18:49:01.534Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T18:49:01.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T18:49:01.654Z] $ docker exec aa6080996a5517d9e4752d186b7bd0accc9e25597842a783aaa50188c510732f ssh-agent [2024-05-29T18:49:01.771Z] SSH_AUTH_SOCK=/tmp/ssh-fNkEchWLaXRQ/agent.72 [2024-05-29T18:49:01.771Z] SSH_AGENT_PID=78 [2024-05-29T18:49:01.776Z] Running ssh-add (command line suppressed) [2024-05-29T18:49:01.876Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-54@tmp/private_key_9075027481953815010.key (/w/workspace/edgexfoundry_device-uart_PR-54@tmp/private_key_9075027481953815010.key) [2024-05-29T18:49:01.886Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T18:49:02.230Z] + git semver init [2024-05-29T18:49:02.490Z] 2024-05-29 18:49:02,407 [run_init] DEBUG init version:0.0.0 force:False [2024-05-29T18:49:02.490Z] 2024-05-29 18:49:02,408 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-54/.semver [2024-05-29T18:49:02.490Z] 2024-05-29 18:49:02,408 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-54/.semver [2024-05-29T18:49:02.490Z] 2024-05-29 18:49:02,409 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-54/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-54, universal_newlines=False, shell=None, istream=None) [2024-05-29T18:49:04.400Z] 2024-05-29 18:49:03,896 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-54/.git/info/exclude [2024-05-29T18:49:04.400Z] 2024-05-29 18:49:03,897 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-54/.semver/PR-54 with force:False [2024-05-29T18:49:04.400Z] 2024-05-29 18:49:03,897 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-54/.semver/PR-54 [2024-05-29T18:49:04.400Z] 2024-05-29 18:49:03,902 [execute] INFO git cat-file --batch-check [2024-05-29T18:49:04.400Z] 2024-05-29 18:49:03,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-54/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T18:49:04.400Z] 2024-05-29 18:49:03,908 [execute] INFO git cat-file --batch [2024-05-29T18:49:04.400Z] 2024-05-29 18:49:03,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-54/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T18:49:04.400Z] 2024-05-29 18:49:03,913 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-54/.semver/PR-54 [2024-05-29T18:49:04.400Z] 0.0.0 [Pipeline] } [2024-05-29T18:49:04.429Z] $ docker exec --env ******** --env ******** aa6080996a5517d9e4752d186b7bd0accc9e25597842a783aaa50188c510732f ssh-agent -k [2024-05-29T18:49:04.526Z] unset SSH_AUTH_SOCK; [2024-05-29T18:49:04.527Z] unset SSH_AGENT_PID; [2024-05-29T18:49:04.527Z] echo Agent pid 78 killed; [2024-05-29T18:49:04.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-29T18:49:04.983Z] + git semver [Pipeline] } [2024-05-29T18:49:05.272Z] $ docker stop --time=1 aa6080996a5517d9e4752d186b7bd0accc9e25597842a783aaa50188c510732f [2024-05-29T18:49:06.564Z] $ docker rm -f --volumes aa6080996a5517d9e4752d186b7bd0accc9e25597842a783aaa50188c510732f [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T18:49:06.977Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-29T18:49:07.275Z] Stashed 1 file(s) [Pipeline] echo [2024-05-29T18:49:07.298Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T18:49:08.080Z] provisioning config files... [2024-05-29T18:49:08.091Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-54@tmp/config6030104899567828616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T18:49:08.464Z] ---> ****-login.sh [2024-05-29T18:49:08.464Z] nexus3.edgexfoundry.org:10001 [2024-05-29T18:49:08.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:49:08.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:49:08.465Z] Configure a credential helper to remove this warning. See [2024-05-29T18:49:08.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:49:08.465Z] [2024-05-29T18:49:08.465Z] Login Succeeded [2024-05-29T18:49:08.465Z] nexus3.edgexfoundry.org:10002 [2024-05-29T18:49:08.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:49:08.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:49:08.465Z] Configure a credential helper to remove this warning. See [2024-05-29T18:49:08.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:49:08.465Z] [2024-05-29T18:49:08.465Z] Login Succeeded [2024-05-29T18:49:08.465Z] nexus3.edgexfoundry.org:10003 [2024-05-29T18:49:08.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:49:08.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:49:08.724Z] Configure a credential helper to remove this warning. See [2024-05-29T18:49:08.724Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:49:08.724Z] [2024-05-29T18:49:08.724Z] Login Succeeded [2024-05-29T18:49:08.724Z] nexus3.edgexfoundry.org:10004 [2024-05-29T18:49:08.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:49:08.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:49:08.725Z] Configure a credential helper to remove this warning. See [2024-05-29T18:49:08.725Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:49:08.725Z] [2024-05-29T18:49:08.725Z] Login Succeeded [2024-05-29T18:49:08.725Z] ****.io [2024-05-29T18:49:08.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:49:08.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:49:08.985Z] Configure a credential helper to remove this warning. See [2024-05-29T18:49:08.985Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:49:08.985Z] [2024-05-29T18:49:08.985Z] Login Succeeded [2024-05-29T18:49:08.985Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T18:49:09.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T18:49:09.241Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T18:49:09.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T18:49:09.351Z] ========================================================= [2024-05-29T18:49:09.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-29T18:49:09.351Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:49:09.892Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-29T18:49:09.892Z] Sending build context to Docker daemon 29.06MB [2024-05-29T18:49:09.892Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T18:49:09.892Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-29T18:49:10.151Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-29T18:49:10.151Z] 619be1103602: Pulling fs layer [2024-05-29T18:49:10.151Z] 7862e08f4a3e: Pulling fs layer [2024-05-29T18:49:10.151Z] 5df492c9dc93: Pulling fs layer [2024-05-29T18:49:10.151Z] 7629e6793208: Pulling fs layer [2024-05-29T18:49:10.151Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T18:49:10.151Z] fb5054dd5b73: Pulling fs layer [2024-05-29T18:49:10.151Z] eeca6798cff9: Pulling fs layer [2024-05-29T18:49:10.151Z] aa269ceb94a6: Pulling fs layer [2024-05-29T18:49:10.151Z] ada007ff1a6a: Pulling fs layer [2024-05-29T18:49:10.151Z] eeca6798cff9: Waiting [2024-05-29T18:49:10.151Z] aa269ceb94a6: Waiting [2024-05-29T18:49:10.151Z] ada007ff1a6a: Waiting [2024-05-29T18:49:10.151Z] fb5054dd5b73: Waiting [2024-05-29T18:49:10.151Z] 7629e6793208: Waiting [2024-05-29T18:49:10.151Z] 7862e08f4a3e: Download complete [2024-05-29T18:49:10.151Z] 7629e6793208: Verifying Checksum [2024-05-29T18:49:10.151Z] 7629e6793208: Download complete [2024-05-29T18:49:10.151Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T18:49:10.151Z] 4f4fb700ef54: Download complete [2024-05-29T18:49:10.151Z] fb5054dd5b73: Verifying Checksum [2024-05-29T18:49:10.151Z] fb5054dd5b73: Download complete [2024-05-29T18:49:10.151Z] 619be1103602: Verifying Checksum [2024-05-29T18:49:10.151Z] 619be1103602: Download complete [2024-05-29T18:49:10.151Z] eeca6798cff9: Verifying Checksum [2024-05-29T18:49:10.151Z] eeca6798cff9: Download complete [2024-05-29T18:49:10.412Z] 619be1103602: Pull complete [2024-05-29T18:49:10.412Z] ada007ff1a6a: Verifying Checksum [2024-05-29T18:49:10.412Z] ada007ff1a6a: Download complete [2024-05-29T18:49:10.412Z] 7862e08f4a3e: Pull complete [2024-05-29T18:49:10.671Z] 5df492c9dc93: Verifying Checksum [2024-05-29T18:49:10.671Z] 5df492c9dc93: Download complete [2024-05-29T18:49:11.238Z] aa269ceb94a6: Verifying Checksum [2024-05-29T18:49:11.238Z] aa269ceb94a6: Download complete [2024-05-29T18:49:13.779Z] 5df492c9dc93: Pull complete [2024-05-29T18:49:13.779Z] 7629e6793208: Pull complete [2024-05-29T18:49:13.779Z] 4f4fb700ef54: Pull complete [2024-05-29T18:49:14.037Z] fb5054dd5b73: Pull complete [2024-05-29T18:49:14.037Z] eeca6798cff9: Pull complete [2024-05-29T18:49:16.573Z] aa269ceb94a6: Pull complete [2024-05-29T18:49:16.833Z] ada007ff1a6a: Pull complete [2024-05-29T18:49:16.833Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-29T18:49:16.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-29T18:49:16.833Z] ---> f489d0715acc [2024-05-29T18:49:16.833Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T18:49:22.121Z] ---> Running in 3233e51af392 [2024-05-29T18:49:22.121Z] Removing intermediate container 3233e51af392 [2024-05-29T18:49:22.121Z] ---> a8a5dc7eb8a3 [2024-05-29T18:49:22.121Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T18:49:22.121Z] ---> Running in db2a4da3d7ae [2024-05-29T18:49:22.121Z] Removing intermediate container db2a4da3d7ae [2024-05-29T18:49:22.121Z] ---> ae5196cdc2f5 [2024-05-29T18:49:22.121Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-29T18:49:22.121Z] ---> Running in 0ff3d80792b7 [2024-05-29T18:49:22.121Z] Removing intermediate container 0ff3d80792b7 [2024-05-29T18:49:22.121Z] ---> 21cf8f0d356a [2024-05-29T18:49:22.121Z] Step 6/12 : WORKDIR /device-uart [2024-05-29T18:49:22.121Z] ---> Running in 09b73ca43225 [2024-05-29T18:49:22.121Z] Removing intermediate container 09b73ca43225 [2024-05-29T18:49:22.121Z] ---> 5f7dee29e029 [2024-05-29T18:49:22.121Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T18:49:22.121Z] ---> Running in d52f991c26aa [2024-05-29T18:49:22.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T18:49:22.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T18:49:22.640Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T18:49:22.640Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-29T18:49:22.640Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T18:49:22.640Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T18:49:22.640Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T18:49:22.640Z] OK: 268 MiB in 56 packages [2024-05-29T18:49:22.874Z] Still waiting to schedule task [2024-05-29T18:49:22.874Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1104’ [2024-05-29T18:49:23.208Z] Removing intermediate container d52f991c26aa [2024-05-29T18:49:23.208Z] ---> 87319e8c9071 [2024-05-29T18:49:23.208Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-29T18:49:23.208Z] ---> 06edd3020739 [2024-05-29T18:49:23.208Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T18:49:23.208Z] ---> Running in 631965210fa1 [2024-05-29T18:50:19.490Z] Removing intermediate container 631965210fa1 [2024-05-29T18:50:19.490Z] ---> aed57d659df3 [2024-05-29T18:50:19.490Z] Step 10/12 : COPY . . [2024-05-29T18:50:19.490Z] ---> c89a5a6094e0 [2024-05-29T18:50:19.490Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T18:50:19.490Z] ---> Running in 7f53eb3418e6 [2024-05-29T18:50:19.490Z] Removing intermediate container 7f53eb3418e6 [2024-05-29T18:50:19.490Z] ---> 126cef926459 [2024-05-29T18:50:19.490Z] Step 12/12 : RUN ${MAKE} [2024-05-29T18:50:19.490Z] ---> Running in b9c56e4e5f4a [2024-05-29T18:50:19.490Z] noop [2024-05-29T18:50:19.490Z] Removing intermediate container b9c56e4e5f4a [2024-05-29T18:50:19.490Z] ---> fae16718b6ed [2024-05-29T18:50:19.490Z] Successfully built fae16718b6ed [2024-05-29T18:50:19.490Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:50:19.984Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T18:50:19.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T18:50:20.165Z] prd-ubuntu20.04-docker-8c-8g-1105 does not seem to be running inside a container [2024-05-29T18:50:20.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-54 -v /w/workspace/edgexfoundry_device-uart_PR-54:/w/workspace/edgexfoundry_device-uart_PR-54:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-54@tmp:/w/workspace/edgexfoundry_device-uart_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T18:50:20.576Z] $ docker top 2b3862e6f75be9a2af6816f6891d213435f57495e092c54e1ff7b2f7bf7f2d92 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T18:50:20.993Z] + go version [2024-05-29T18:50:20.993Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-29T18:50:21.031Z] $ docker stop --time=1 2b3862e6f75be9a2af6816f6891d213435f57495e092c54e1ff7b2f7bf7f2d92 [2024-05-29T18:50:22.305Z] $ docker rm -f --volumes 2b3862e6f75be9a2af6816f6891d213435f57495e092c54e1ff7b2f7bf7f2d92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:50:23.094Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T18:50:23.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T18:50:23.272Z] prd-ubuntu20.04-docker-8c-8g-1105 does not seem to be running inside a container [2024-05-29T18:50:23.305Z] $ 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-54 -v /w/workspace/edgexfoundry_device-uart_PR-54:/w/workspace/edgexfoundry_device-uart_PR-54:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-54@tmp:/w/workspace/edgexfoundry_device-uart_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T18:50:23.667Z] $ docker top 6e00e6e32a32dd5ff4f2ffc60e714fdf4783bb6f31a0f8487dad2af2ca73a2ad -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T18:50:24.087Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-54 [Pipeline] fileExists [Pipeline] sh [2024-05-29T18:50:24.468Z] + make test [2024-05-29T18:50:24.468Z] go test ./... -coverprofile=coverage.out [2024-05-29T18:50:26.370Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-05-29T18:50:48.281Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-05-29T18:50:48.281Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-05-29T18:50:54.836Z] go vet ./... [2024-05-29T18:51:01.396Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T18:51:01.396Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T18:51:01.396Z] ./bin/test-attribution-txt.sh [2024-05-29T18:51:01.396Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-29T18:51:01.397Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-29T18:51:01.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-29T18:51:01.491Z] $ docker stop --time=1 6e00e6e32a32dd5ff4f2ffc60e714fdf4783bb6f31a0f8487dad2af2ca73a2ad [2024-05-29T18:51:05.580Z] $ docker rm -f --volumes 6e00e6e32a32dd5ff4f2ffc60e714fdf4783bb6f31a0f8487dad2af2ca73a2ad [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T18:51:06.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T18:51:06.305Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-29T18:51:06.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T18:51:07.260Z] + ls -al . [2024-05-29T18:51:07.260Z] total 224 [2024-05-29T18:51:07.260Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 18:50 . [2024-05-29T18:51:07.260Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 18:48 .. [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 140 May 29 18:48 .dockerignore [2024-05-29T18:51:07.260Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 18:50 .git [2024-05-29T18:51:07.260Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 18:48 .github [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 343 May 29 18:48 .gitignore [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 18:48 .golangci.yml [2024-05-29T18:51:07.260Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 18:49 .semver [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 9941 May 29 18:48 Attribution.txt [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 1908 May 29 18:48 CHANGELOG.md [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 1886 May 29 18:48 Dockerfile [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 18:48 GOVERNANCE.md [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 675 May 29 18:48 Jenkinsfile [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 18:48 LICENSE [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 1872 May 29 18:48 Makefile [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 617 May 29 18:48 OWNERS.md [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 8892 May 29 18:48 README.md [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 18:49 VERSION [2024-05-29T18:51:07.260Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 18:48 bin [2024-05-29T18:51:07.260Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 18:48 cmd [2024-05-29T18:51:07.260Z] -rw-r--r-- 1 jenkins jenkins 10 May 29 18:50 coverage.out [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 7020 May 29 18:48 go.mod [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 101763 May 29 18:48 go.sum [2024-05-29T18:51:07.260Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 18:48 internal [2024-05-29T18:51:07.260Z] -rw-rw-r-- 1 jenkins jenkins 209 May 29 18:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:51:07.680Z] + 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=40f46dea90bc09a8b51054a3263c7715ce065b2e --label arch=amd64 --label version=0.0.0 . [2024-05-29T18:51:07.681Z] Sending build context to Docker daemon 29.06MB [2024-05-29T18:51:07.681Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T18:51:07.681Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-29T18:51:07.681Z] ---> fae16718b6ed [2024-05-29T18:51:07.681Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T18:51:08.251Z] ---> Running in 1b3fb3877492 [2024-05-29T18:51:08.251Z] Removing intermediate container 1b3fb3877492 [2024-05-29T18:51:08.251Z] ---> 0999ab364c9c [2024-05-29T18:51:08.251Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T18:51:08.510Z] ---> Running in 7ca297531c74 [2024-05-29T18:51:08.510Z] Removing intermediate container 7ca297531c74 [2024-05-29T18:51:08.510Z] ---> cc2b89cc7b45 [2024-05-29T18:51:08.510Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-29T18:51:08.510Z] ---> Running in 87c08afe0785 [2024-05-29T18:51:08.510Z] Removing intermediate container 87c08afe0785 [2024-05-29T18:51:08.510Z] ---> c261a6e317cf [2024-05-29T18:51:08.510Z] Step 6/26 : WORKDIR /device-uart [2024-05-29T18:51:08.510Z] ---> Running in 0b36d71885b3 [2024-05-29T18:51:08.769Z] Removing intermediate container 0b36d71885b3 [2024-05-29T18:51:08.769Z] ---> e823e5cdfd16 [2024-05-29T18:51:08.769Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T18:51:08.769Z] ---> Running in a1133f2f709f [2024-05-29T18:51:09.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T18:51:09.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T18:51:09.549Z] OK: 268 MiB in 56 packages [2024-05-29T18:51:09.808Z] Removing intermediate container a1133f2f709f [2024-05-29T18:51:09.808Z] ---> e889cc349b9b [2024-05-29T18:51:09.808Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-29T18:51:10.068Z] ---> 1a9817786387 [2024-05-29T18:51:10.068Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T18:51:10.068Z] ---> Running in 4714e0c25ead [2024-05-29T18:51:10.634Z] Removing intermediate container 4714e0c25ead [2024-05-29T18:51:10.634Z] ---> 2c7e26e960a6 [2024-05-29T18:51:10.634Z] Step 10/26 : COPY . . [2024-05-29T18:51:11.590Z] ---> 4453ca613ef9 [2024-05-29T18:51:11.590Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T18:51:11.590Z] ---> Running in a671c8f4c3c8 [2024-05-29T18:51:11.590Z] Removing intermediate container a671c8f4c3c8 [2024-05-29T18:51:11.590Z] ---> 2e70ae320618 [2024-05-29T18:51:11.590Z] Step 12/26 : RUN ${MAKE} [2024-05-29T18:51:11.590Z] ---> Running in 43de29a2a855 [2024-05-29T18:51:11.848Z] 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.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-05-29T18:51:50.563Z] Removing intermediate container 43de29a2a855 [2024-05-29T18:51:50.563Z] ---> 36057b5a566f [2024-05-29T18:51:50.563Z] Step 13/26 : FROM alpine:3.18 [2024-05-29T18:51:50.563Z] 3.18: Pulling from library/alpine [2024-05-29T18:51:50.563Z] 619be1103602: Already exists [2024-05-29T18:51:50.563Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T18:51:50.563Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T18:51:50.563Z] ---> d3782b16ccc9 [2024-05-29T18:51:50.563Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-05-29T18:51:50.563Z] ---> Running in d97490fcc3f5 [2024-05-29T18:51:50.563Z] Removing intermediate container d97490fcc3f5 [2024-05-29T18:51:50.563Z] ---> 46d6e07ecd40 [2024-05-29T18:51:50.563Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-29T18:51:50.563Z] ---> Running in 5ab2be4ddd72 [2024-05-29T18:51:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T18:51:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T18:51:50.563Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T18:51:50.563Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T18:51:50.563Z] OK: 7 MiB in 16 packages [2024-05-29T18:51:50.563Z] Removing intermediate container 5ab2be4ddd72 [2024-05-29T18:51:50.563Z] ---> 81108b0b11f4 [2024-05-29T18:51:50.563Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-29T18:51:50.563Z] ---> Running in db66a5a3f77a [2024-05-29T18:51:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T18:51:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T18:51:50.563Z] Upgrading critical system libraries and apk-tools: [2024-05-29T18:51:50.563Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T18:51:50.563Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T18:51:50.563Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T18:51:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T18:51:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T18:51:50.563Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T18:51:50.563Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T18:51:50.563Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T18:51:50.563Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T18:51:50.563Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T18:51:50.563Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T18:51:50.563Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T18:51:50.563Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T18:51:50.563Z] OK: 7 MiB in 16 packages [2024-05-29T18:51:50.563Z] Removing intermediate container db66a5a3f77a [2024-05-29T18:51:50.563Z] ---> 92cee82b81bb [2024-05-29T18:51:50.563Z] Step 17/26 : WORKDIR / [2024-05-29T18:51:50.563Z] ---> Running in b9447a441f2e [2024-05-29T18:51:50.563Z] Removing intermediate container b9447a441f2e [2024-05-29T18:51:50.563Z] ---> 2bef84c5084d [2024-05-29T18:51:50.563Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-05-29T18:51:50.563Z] ---> 6e1ec8fb95ff [2024-05-29T18:51:50.563Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-05-29T18:51:50.563Z] ---> 15ba586ef234 [2024-05-29T18:51:50.563Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-05-29T18:51:50.563Z] ---> f33e92728075 [2024-05-29T18:51:50.563Z] Step 21/26 : EXPOSE 59995 [2024-05-29T18:51:50.563Z] ---> Running in eaf498de75fd [2024-05-29T18:51:50.563Z] Removing intermediate container eaf498de75fd [2024-05-29T18:51:50.563Z] ---> 689dc1a68d05 [2024-05-29T18:51:50.563Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-05-29T18:51:50.563Z] ---> Running in 63e31e66d510 [2024-05-29T18:51:50.563Z] Removing intermediate container 63e31e66d510 [2024-05-29T18:51:50.563Z] ---> 7d7eda1287e7 [2024-05-29T18:51:50.563Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-29T18:51:50.563Z] ---> Running in f16f9feb24c1 [2024-05-29T18:51:50.563Z] Removing intermediate container f16f9feb24c1 [2024-05-29T18:51:50.563Z] ---> cc62655320d9 [2024-05-29T18:51:50.563Z] Step 24/26 : LABEL arch=amd64 [2024-05-29T18:51:50.563Z] ---> Running in b9d081bc15ce [2024-05-29T18:51:50.563Z] Removing intermediate container b9d081bc15ce [2024-05-29T18:51:50.563Z] ---> e5de5c1f37c3 [2024-05-29T18:51:50.563Z] Step 25/26 : LABEL git_sha=40f46dea90bc09a8b51054a3263c7715ce065b2e [2024-05-29T18:51:50.563Z] ---> Running in e83c2698ad41 [2024-05-29T18:51:50.563Z] Removing intermediate container e83c2698ad41 [2024-05-29T18:51:50.563Z] ---> 91bdfa0f4c7f [2024-05-29T18:51:50.563Z] Step 26/26 : LABEL version=0.0.0 [2024-05-29T18:51:50.563Z] ---> Running in 2db03b172715 [2024-05-29T18:51:50.563Z] Removing intermediate container 2db03b172715 [2024-05-29T18:51:50.563Z] ---> 1bb3caf4616b [2024-05-29T18:51:50.563Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T18:51:50.825Z] Successfully built 1bb3caf4616b [2024-05-29T18:51:50.825Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:51:51.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T18:51:51.871Z] [2024-05-29T18:51:51.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:51:52.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T18:51:52.260Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-29T18:51:52.260Z] 5eb5b503b376: Pulling fs layer [2024-05-29T18:51:52.260Z] 5c69ac0246d0: Pulling fs layer [2024-05-29T18:51:52.260Z] ec43610c2a17: Pulling fs layer [2024-05-29T18:51:52.260Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-29T18:51:52.260Z] 33b1e0a273af: Pulling fs layer [2024-05-29T18:51:52.260Z] 5d3b04190fa2: Pulling fs layer [2024-05-29T18:51:52.260Z] 2f39f015ded8: Pulling fs layer [2024-05-29T18:51:52.260Z] 3a2ae6a8a46f: Waiting [2024-05-29T18:51:52.260Z] 5d3b04190fa2: Waiting [2024-05-29T18:51:52.260Z] 2f39f015ded8: Waiting [2024-05-29T18:51:52.260Z] 33b1e0a273af: Waiting [2024-05-29T18:51:52.260Z] 5c69ac0246d0: Download complete [2024-05-29T18:51:52.260Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-29T18:51:52.260Z] 3a2ae6a8a46f: Download complete [2024-05-29T18:51:52.260Z] 33b1e0a273af: Verifying Checksum [2024-05-29T18:51:52.260Z] 33b1e0a273af: Download complete [2024-05-29T18:51:52.260Z] ec43610c2a17: Verifying Checksum [2024-05-29T18:51:52.260Z] ec43610c2a17: Download complete [2024-05-29T18:51:52.260Z] 5d3b04190fa2: Verifying Checksum [2024-05-29T18:51:52.260Z] 5d3b04190fa2: Download complete [2024-05-29T18:51:52.518Z] 5eb5b503b376: Verifying Checksum [2024-05-29T18:51:52.518Z] 5eb5b503b376: Download complete [2024-05-29T18:51:53.086Z] 2f39f015ded8: Download complete [2024-05-29T18:51:53.652Z] 5eb5b503b376: Pull complete [2024-05-29T18:51:53.652Z] 5c69ac0246d0: Pull complete [2024-05-29T18:51:54.219Z] ec43610c2a17: Pull complete [2024-05-29T18:51:54.219Z] 3a2ae6a8a46f: Pull complete [2024-05-29T18:51:54.481Z] 33b1e0a273af: Pull complete [2024-05-29T18:51:54.481Z] 5d3b04190fa2: Pull complete [2024-05-29T18:51:58.666Z] 2f39f015ded8: Pull complete [2024-05-29T18:51:58.666Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-29T18:51:58.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T18:51:58.666Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T18:51:58.952Z] prd-ubuntu20.04-docker-8c-8g-1105 does not seem to be running inside a container [2024-05-29T18:51:58.983Z] $ 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-54 -v /w/workspace/edgexfoundry_device-uart_PR-54:/w/workspace/edgexfoundry_device-uart_PR-54:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-54@tmp:/w/workspace/edgexfoundry_device-uart_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T18:52:03.099Z] $ docker top c62bbbc3d3137d5cc60ce202b752363634ce63aad26703fde48ed6a865c99de9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T18:52:03.572Z] ---> job-cost.sh [2024-05-29T18:52:03.572Z] lf-activate-venv: SKIPPING [2024-05-29T18:52:03.572Z] INFO: No Stack... [2024-05-29T18:52:03.831Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T18:52:04.398Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T18:52:04.724Z] + cat /w/workspace/edgexfoundry_device-uart_PR-54/archives/cost.csv [2024-05-29T18:52:04.724Z] + cut -d, -f6 [Pipeline] lock [2024-05-29T18:52:04.770Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-54-1-stack-cost] [2024-05-29T18:52:04.776Z] Resource [jenkins-edgexfoundry-device-uart-PR-54-1-stack-cost] did not exist. Created. [2024-05-29T18:52:04.782Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-54-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T18:52:05.196Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-29T18:52:05.254Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T18:52:05.291Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-54-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T18:52:05.381Z] $ docker stop --time=1 c62bbbc3d3137d5cc60ce202b752363634ce63aad26703fde48ed6a865c99de9 [2024-05-29T18:52:06.528Z] $ docker rm -f --volumes c62bbbc3d3137d5cc60ce202b752363634ce63aad26703fde48ed6a865c99de9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-29T18:52:54.749Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1106 in /w/workspace/edgexfoundry_device-uart_PR-54 [Pipeline] { [Pipeline] ws [2024-05-29T18:52:54.817Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-05-29T18:52:57.928Z] The recommended git tool is: git [2024-05-29T18:53:05.405Z] using credential edgex-jenkins-ssh [2024-05-29T18:53:05.441Z] Cloning the remote Git repository [2024-05-29T18:53:05.489Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-05-29T18:53:05.621Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-05-29T18:53:05.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-05-29T18:53:06.000Z] > git --version # timeout=10 [2024-05-29T18:53:06.043Z] > git --version # 'git version 2.25.1' [2024-05-29T18:53:06.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T18:53:06.242Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T18:53:08.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-05-29T18:53:08.978Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T18:53:10.508Z] Merging remotes/origin/main commit 0191fcbf31d47e6537e79896ea60966564fcaee0 into PR head commit 40f46dea90bc09a8b51054a3263c7715ce065b2e [2024-05-29T18:53:10.793Z] Merge succeeded, producing 40f46dea90bc09a8b51054a3263c7715ce065b2e [2024-05-29T18:53:10.794Z] Checking out Revision 40f46dea90bc09a8b51054a3263c7715ce065b2e (PR-54) [2024-05-29T18:53:11.283Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-05-29T18:53:11.324Z] > git --version # timeout=10 [2024-05-29T18:53:11.336Z] > git --version # 'git version 2.25.1' [2024-05-29T18:53:11.352Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-29T18:53:10.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-05-29T18:53:10.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-05-29T18:53:10.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T18:53:10.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-29T18:53:10.524Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T18:53:10.585Z] > git checkout -f 40f46dea90bc09a8b51054a3263c7715ce065b2e # timeout=10 [2024-05-29T18:53:10.675Z] > git remote # timeout=10 [2024-05-29T18:53:10.706Z] > git config --get remote.origin.url # timeout=10 [2024-05-29T18:53:10.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T18:53:10.741Z] > git merge 0191fcbf31d47e6537e79896ea60966564fcaee0 # timeout=10 [2024-05-29T18:53:10.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-29T18:53:10.795Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T18:53:10.807Z] > git checkout -f 40f46dea90bc09a8b51054a3263c7715ce065b2e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T18:53:16.403Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-29T18:53:16.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T18:53:16.403Z] Dload Upload Total Spent Left Speed [2024-05-29T18:53:16.403Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-05-29T18:53:16.753Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-29T18:53:17.099Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-29T18:53:17.099Z] + sudo tee /etc/docker/daemon.new [2024-05-29T18:53:17.099Z] { [2024-05-29T18:53:17.099Z] "registry-mirrors": [ [2024-05-29T18:53:17.099Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-29T18:53:17.099Z] ], [2024-05-29T18:53:17.099Z] "bip": "10.250.0.254/24", [2024-05-29T18:53:17.099Z] "hosts": [ [2024-05-29T18:53:17.099Z] "tcp://0.0.0.0:5555", [2024-05-29T18:53:17.099Z] "unix:///var/run/docker.sock" [2024-05-29T18:53:17.099Z] ], [2024-05-29T18:53:17.099Z] "mtu": 1458, [2024-05-29T18:53:17.099Z] "selinux-enabled": true, [2024-05-29T18:53:17.099Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-29T18:53:17.099Z] } [Pipeline] sh [2024-05-29T18:53:17.449Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-29T18:53:17.801Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T18:53:36.160Z] provisioning config files... [2024-05-29T18:53:36.191Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config13273689458440037006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T18:53:36.685Z] ---> ****-login.sh [2024-05-29T18:53:36.685Z] nexus3.edgexfoundry.org:10001 [2024-05-29T18:53:37.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:53:37.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:53:37.279Z] Configure a credential helper to remove this warning. See [2024-05-29T18:53:37.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:53:37.279Z] [2024-05-29T18:53:37.279Z] Login Succeeded [2024-05-29T18:53:37.279Z] nexus3.edgexfoundry.org:10002 [2024-05-29T18:53:37.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:53:37.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:53:37.548Z] Configure a credential helper to remove this warning. See [2024-05-29T18:53:37.548Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:53:37.549Z] [2024-05-29T18:53:37.549Z] Login Succeeded [2024-05-29T18:53:37.549Z] nexus3.edgexfoundry.org:10003 [2024-05-29T18:53:37.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:53:38.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:53:38.090Z] Configure a credential helper to remove this warning. See [2024-05-29T18:53:38.090Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:53:38.090Z] [2024-05-29T18:53:38.090Z] Login Succeeded [2024-05-29T18:53:38.090Z] nexus3.edgexfoundry.org:10004 [2024-05-29T18:53:38.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:53:38.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:53:38.358Z] Configure a credential helper to remove this warning. See [2024-05-29T18:53:38.358Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:53:38.358Z] [2024-05-29T18:53:38.358Z] Login Succeeded [2024-05-29T18:53:38.358Z] ****.io [2024-05-29T18:53:38.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T18:53:38.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T18:53:38.891Z] Configure a credential helper to remove this warning. See [2024-05-29T18:53:38.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T18:53:38.891Z] [2024-05-29T18:53:38.891Z] Login Succeeded [2024-05-29T18:53:38.891Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T18:53:38.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T18:53:39.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T18:53:39.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T18:53:39.465Z] ========================================================= [2024-05-29T18:53:39.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-29T18:53:39.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:53:39.998Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-29T18:53:40.267Z] Sending build context to Docker daemon 14.59MB [2024-05-29T18:53:40.538Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T18:53:40.538Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-29T18:53:40.538Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-29T18:53:40.538Z] c6b39de5b339: Pulling fs layer [2024-05-29T18:53:40.538Z] a69c41024577: Pulling fs layer [2024-05-29T18:53:40.538Z] d6de4b400683: Pulling fs layer [2024-05-29T18:53:40.538Z] 35cb2a7552d0: Pulling fs layer [2024-05-29T18:53:40.538Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T18:53:40.538Z] 464afbd9ba4c: Pulling fs layer [2024-05-29T18:53:40.538Z] 00f215d4a9da: Pulling fs layer [2024-05-29T18:53:40.538Z] d496ad576159: Pulling fs layer [2024-05-29T18:53:40.538Z] 35cb2a7552d0: Waiting [2024-05-29T18:53:40.538Z] 4f4fb700ef54: Waiting [2024-05-29T18:53:40.538Z] 464afbd9ba4c: Waiting [2024-05-29T18:53:40.538Z] 00f215d4a9da: Waiting [2024-05-29T18:53:40.538Z] a69c41024577: Verifying Checksum [2024-05-29T18:53:40.538Z] a69c41024577: Download complete [2024-05-29T18:53:40.538Z] 35cb2a7552d0: Download complete [2024-05-29T18:53:40.810Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T18:53:40.810Z] 4f4fb700ef54: Download complete [2024-05-29T18:53:40.810Z] 464afbd9ba4c: Verifying Checksum [2024-05-29T18:53:40.810Z] 464afbd9ba4c: Download complete [2024-05-29T18:53:40.810Z] c6b39de5b339: Verifying Checksum [2024-05-29T18:53:40.810Z] c6b39de5b339: Download complete [2024-05-29T18:53:41.077Z] d496ad576159: Verifying Checksum [2024-05-29T18:53:41.077Z] d496ad576159: Download complete [2024-05-29T18:53:41.661Z] c6b39de5b339: Pull complete [2024-05-29T18:53:42.243Z] a69c41024577: Pull complete [2024-05-29T18:53:42.510Z] d6de4b400683: Verifying Checksum [2024-05-29T18:53:42.510Z] d6de4b400683: Download complete [2024-05-29T18:53:43.920Z] 00f215d4a9da: Verifying Checksum [2024-05-29T18:53:43.920Z] 00f215d4a9da: Download complete [2024-05-29T18:53:56.236Z] d6de4b400683: Pull complete [2024-05-29T18:53:56.236Z] 35cb2a7552d0: Pull complete [2024-05-29T18:53:56.236Z] 4f4fb700ef54: Pull complete [2024-05-29T18:53:56.236Z] 464afbd9ba4c: Pull complete [2024-05-29T18:54:04.472Z] 00f215d4a9da: Pull complete [2024-05-29T18:54:05.433Z] d496ad576159: Pull complete [2024-05-29T18:54:05.433Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-29T18:54:05.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-29T18:54:05.433Z] ---> f246e2811388 [2024-05-29T18:54:05.433Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T18:54:07.375Z] ---> Running in bbafea2b2b5a [2024-05-29T18:54:07.642Z] Removing intermediate container bbafea2b2b5a [2024-05-29T18:54:07.642Z] ---> 21147983daef [2024-05-29T18:54:07.642Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T18:54:07.642Z] ---> Running in 56a1a9381955 [2024-05-29T18:54:07.917Z] Removing intermediate container 56a1a9381955 [2024-05-29T18:54:07.917Z] ---> 014d2f431ea7 [2024-05-29T18:54:07.917Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-29T18:54:07.917Z] ---> Running in c0a968214129 [2024-05-29T18:54:08.513Z] Removing intermediate container c0a968214129 [2024-05-29T18:54:08.513Z] ---> 87187411e673 [2024-05-29T18:54:08.513Z] Step 6/12 : WORKDIR /device-uart [2024-05-29T18:54:08.513Z] ---> Running in 9e509c475bd5 [2024-05-29T18:54:08.783Z] Removing intermediate container 9e509c475bd5 [2024-05-29T18:54:08.783Z] ---> 503d872b55fe [2024-05-29T18:54:08.783Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T18:54:08.783Z] ---> Running in 3dcf72a02d76 [2024-05-29T18:54:10.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T18:54:10.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T18:54:11.438Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T18:54:11.438Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-29T18:54:11.438Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T18:54:11.707Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T18:54:11.707Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T18:54:11.707Z] OK: 271 MiB in 56 packages [2024-05-29T18:54:13.138Z] Removing intermediate container 3dcf72a02d76 [2024-05-29T18:54:13.138Z] ---> 3ca069fc31d1 [2024-05-29T18:54:13.138Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-29T18:54:13.408Z] ---> 387d0a01c5b5 [2024-05-29T18:54:13.408Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T18:54:13.408Z] ---> Running in d23c2c52cb38 [2024-05-29T18:56:05.363Z] Removing intermediate container d23c2c52cb38 [2024-05-29T18:56:05.363Z] ---> b69b57fc6922 [2024-05-29T18:56:05.363Z] Step 10/12 : COPY . . [2024-05-29T18:56:05.363Z] ---> a1c5b4e1f8e2 [2024-05-29T18:56:05.363Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T18:56:05.363Z] ---> Running in c0a91bc36649 [2024-05-29T18:56:05.363Z] Removing intermediate container c0a91bc36649 [2024-05-29T18:56:05.363Z] ---> 90afa010cfb5 [2024-05-29T18:56:05.363Z] Step 12/12 : RUN ${MAKE} [2024-05-29T18:56:05.363Z] ---> Running in bcb122769d17 [2024-05-29T18:56:05.637Z] noop [2024-05-29T18:56:06.222Z] Removing intermediate container bcb122769d17 [2024-05-29T18:56:06.222Z] ---> c7fc4919e148 [2024-05-29T18:56:06.222Z] Successfully built c7fc4919e148 [2024-05-29T18:56:06.222Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:56:06.746Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T18:56:06.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T18:56:07.057Z] prd-ubuntu20.04-docker-arm64-4c-16g-1106 does not seem to be running inside a container [2024-05-29T18:56:07.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T18:56:08.371Z] $ docker top bcc447853d96e3017a4adef3fa93b4320375a106eea6da65a1ed1d5cbc883308 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T18:56:09.272Z] + go version [2024-05-29T18:56:09.272Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-29T18:56:09.306Z] $ docker stop --time=1 bcc447853d96e3017a4adef3fa93b4320375a106eea6da65a1ed1d5cbc883308 [2024-05-29T18:56:10.935Z] $ docker rm -f --volumes bcc447853d96e3017a4adef3fa93b4320375a106eea6da65a1ed1d5cbc883308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T18:56:11.958Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T18:56:11.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T18:56:12.246Z] prd-ubuntu20.04-docker-arm64-4c-16g-1106 does not seem to be running inside a container [2024-05-29T18:56:12.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T18:56:13.459Z] $ docker top fd316446b49b73379082eec8fd6df82998ba6982dbbc2198611955aabb73c339 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T18:56:14.376Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-05-29T18:56:15.101Z] + make test [2024-05-29T18:56:15.101Z] go test ./... -coverprofile=coverage.out [2024-05-29T18:56:20.451Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-05-29T18:59:27.181Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-05-29T18:59:27.181Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-05-29T18:59:28.135Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-29T18:59:28.135Z] go vet ./... [2024-05-29T19:00:15.341Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T19:00:15.341Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T19:00:15.341Z] ./bin/test-attribution-txt.sh [2024-05-29T19:00:15.341Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-29T19:00:15.341Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-29T19:00:15.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-29T19:00:15.419Z] $ docker stop --time=1 fd316446b49b73379082eec8fd6df82998ba6982dbbc2198611955aabb73c339 [2024-05-29T19:00:17.339Z] $ docker rm -f --volumes fd316446b49b73379082eec8fd6df82998ba6982dbbc2198611955aabb73c339 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T19:00:18.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T19:00:18.994Z] Warning: overwriting stash ‘coverage-report’ [2024-05-29T19:00:19.476Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T19:00:20.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T19:00:20.476Z] + ls -al . [2024-05-29T19:00:20.476Z] total 220 [2024-05-29T19:00:20.476Z] drwxrwxr-x 7 jenkins jenkins 4096 May 29 18:56 . [2024-05-29T19:00:20.476Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 18:53 .. [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 140 May 29 18:53 .dockerignore [2024-05-29T19:00:20.476Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 18:53 .git [2024-05-29T19:00:20.476Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 18:53 .github [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 343 May 29 18:53 .gitignore [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 18:53 .golangci.yml [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 9941 May 29 18:53 Attribution.txt [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 1908 May 29 18:53 CHANGELOG.md [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 1886 May 29 18:53 Dockerfile [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 18:53 GOVERNANCE.md [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 675 May 29 18:53 Jenkinsfile [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 18:53 LICENSE [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 1872 May 29 18:53 Makefile [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 617 May 29 18:53 OWNERS.md [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 8892 May 29 18:53 README.md [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 18:49 VERSION [2024-05-29T19:00:20.476Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 18:53 bin [2024-05-29T19:00:20.476Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 18:53 cmd [2024-05-29T19:00:20.476Z] -rw-r--r-- 1 jenkins jenkins 10 May 29 18:56 coverage.out [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 7020 May 29 18:53 go.mod [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 101763 May 29 18:53 go.sum [2024-05-29T19:00:20.476Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 18:53 internal [2024-05-29T19:00:20.476Z] -rw-rw-r-- 1 jenkins jenkins 209 May 29 18:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T19:00:20.933Z] + 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=40f46dea90bc09a8b51054a3263c7715ce065b2e --label arch=arm64 --label version=0.0.0 . [2024-05-29T19:00:21.520Z] Sending build context to Docker daemon 14.59MB [2024-05-29T19:00:21.520Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T19:00:21.520Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-29T19:00:21.520Z] ---> c7fc4919e148 [2024-05-29T19:00:21.520Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T19:00:21.520Z] ---> Running in e89807379fa6 [2024-05-29T19:00:21.788Z] Removing intermediate container e89807379fa6 [2024-05-29T19:00:21.788Z] ---> 97854e496758 [2024-05-29T19:00:21.788Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T19:00:22.059Z] ---> Running in 19649c532cb1 [2024-05-29T19:00:22.429Z] Removing intermediate container 19649c532cb1 [2024-05-29T19:00:22.429Z] ---> 9864b33977f3 [2024-05-29T19:00:22.429Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-29T19:00:22.429Z] ---> Running in dc3bd2525f26 [2024-05-29T19:00:22.695Z] Removing intermediate container dc3bd2525f26 [2024-05-29T19:00:22.695Z] ---> 95a35e009b29 [2024-05-29T19:00:22.695Z] Step 6/26 : WORKDIR /device-uart [2024-05-29T19:00:22.695Z] ---> Running in e5d00a2a9d98 [2024-05-29T19:00:23.277Z] Removing intermediate container e5d00a2a9d98 [2024-05-29T19:00:23.277Z] ---> af51b7e77296 [2024-05-29T19:00:23.277Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T19:00:23.277Z] ---> Running in 3903f9003e29 [2024-05-29T19:00:24.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T19:00:24.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T19:00:25.796Z] OK: 271 MiB in 56 packages [2024-05-29T19:00:26.759Z] Removing intermediate container 3903f9003e29 [2024-05-29T19:00:26.759Z] ---> e6f6645aa0f1 [2024-05-29T19:00:26.759Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-29T19:00:27.341Z] ---> b20aaf79498a [2024-05-29T19:00:27.341Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T19:00:27.341Z] ---> Running in 14be7b7bef4e [2024-05-29T19:00:29.297Z] Removing intermediate container 14be7b7bef4e [2024-05-29T19:00:29.297Z] ---> 19383c9f9fa4 [2024-05-29T19:00:29.297Z] Step 10/26 : COPY . . [2024-05-29T19:00:30.706Z] ---> 76a107c54d16 [2024-05-29T19:00:30.706Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T19:00:30.706Z] ---> Running in f521829f1504 [2024-05-29T19:00:30.988Z] Removing intermediate container f521829f1504 [2024-05-29T19:00:30.988Z] ---> 935ab0743467 [2024-05-29T19:00:30.988Z] Step 12/26 : RUN ${MAKE} [2024-05-29T19:00:31.255Z] ---> Running in 21bafb3053d1 [2024-05-29T19:00:32.220Z] 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.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-05-29T19:03:53.978Z] Removing intermediate container 21bafb3053d1 [2024-05-29T19:03:53.978Z] ---> e7d773b76723 [2024-05-29T19:03:53.978Z] Step 13/26 : FROM alpine:3.18 [2024-05-29T19:03:53.978Z] 3.18: Pulling from library/alpine [2024-05-29T19:03:53.978Z] c6b39de5b339: Already exists [2024-05-29T19:03:53.978Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T19:03:53.978Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T19:03:53.978Z] ---> 33abbf032149 [2024-05-29T19:03:53.978Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-05-29T19:03:53.978Z] ---> Running in b524d2be9ee8 [2024-05-29T19:03:53.978Z] Removing intermediate container b524d2be9ee8 [2024-05-29T19:03:53.978Z] ---> 8f74b6fe42a5 [2024-05-29T19:03:53.978Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-29T19:03:53.978Z] ---> Running in f24f98da07b3 [2024-05-29T19:03:53.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T19:03:53.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T19:03:54.564Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T19:03:54.564Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T19:03:54.564Z] OK: 8 MiB in 16 packages [2024-05-29T19:03:55.527Z] Removing intermediate container f24f98da07b3 [2024-05-29T19:03:55.527Z] ---> 38d17576d70f [2024-05-29T19:03:55.527Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-29T19:03:55.527Z] ---> Running in 9e2fb2624260 [2024-05-29T19:03:56.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T19:03:56.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T19:03:57.717Z] Upgrading critical system libraries and apk-tools: [2024-05-29T19:03:57.717Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T19:03:57.717Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T19:03:57.983Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T19:03:57.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T19:03:58.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T19:03:59.211Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T19:03:59.211Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T19:03:59.211Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T19:03:59.211Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T19:03:59.211Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T19:03:59.211Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T19:03:59.211Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T19:03:59.211Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T19:03:59.211Z] OK: 8 MiB in 16 packages [2024-05-29T19:04:00.630Z] Removing intermediate container 9e2fb2624260 [2024-05-29T19:04:00.630Z] ---> bc89f446d24c [2024-05-29T19:04:00.630Z] Step 17/26 : WORKDIR / [2024-05-29T19:04:00.630Z] ---> Running in 878754fc6173 [2024-05-29T19:04:00.630Z] Removing intermediate container 878754fc6173 [2024-05-29T19:04:00.630Z] ---> d2270d76f9c8 [2024-05-29T19:04:00.630Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-05-29T19:04:01.213Z] ---> a20336691b1c [2024-05-29T19:04:01.213Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-05-29T19:04:01.795Z] ---> 30988f1f1687 [2024-05-29T19:04:01.795Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-05-29T19:04:03.730Z] ---> b9c0f4dc56e9 [2024-05-29T19:04:03.730Z] Step 21/26 : EXPOSE 59995 [2024-05-29T19:04:03.730Z] ---> Running in 4cf18b5fccaa [2024-05-29T19:04:03.995Z] Removing intermediate container 4cf18b5fccaa [2024-05-29T19:04:03.996Z] ---> f0ed779eb967 [2024-05-29T19:04:03.996Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-05-29T19:04:04.268Z] ---> Running in d4e3ef0b77e4 [2024-05-29T19:04:04.535Z] Removing intermediate container d4e3ef0b77e4 [2024-05-29T19:04:04.535Z] ---> 3dd2ed03f205 [2024-05-29T19:04:04.535Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-29T19:04:04.535Z] ---> Running in ab88510ed0cb [2024-05-29T19:04:04.804Z] Removing intermediate container ab88510ed0cb [2024-05-29T19:04:04.804Z] ---> e42166c41b72 [2024-05-29T19:04:04.804Z] Step 24/26 : LABEL arch=arm64 [2024-05-29T19:04:05.072Z] ---> Running in 33a9b437f083 [2024-05-29T19:04:05.339Z] Removing intermediate container 33a9b437f083 [2024-05-29T19:04:05.339Z] ---> c8762bad82b2 [2024-05-29T19:04:05.339Z] Step 25/26 : LABEL git_sha=40f46dea90bc09a8b51054a3263c7715ce065b2e [2024-05-29T19:04:05.339Z] ---> Running in a512edd8e66c [2024-05-29T19:04:05.607Z] Removing intermediate container a512edd8e66c [2024-05-29T19:04:05.607Z] ---> f1fba62a12a8 [2024-05-29T19:04:05.607Z] Step 26/26 : LABEL version=0.0.0 [2024-05-29T19:04:05.607Z] ---> Running in 2dc5599eb6f5 [2024-05-29T19:04:05.875Z] Removing intermediate container 2dc5599eb6f5 [2024-05-29T19:04:05.875Z] ---> 01f36b3c0d85 [2024-05-29T19:04:05.875Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T19:04:06.142Z] Successfully built 01f36b3c0d85 [2024-05-29T19:04:06.142Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T19:04:07.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T19:04:07.084Z] [2024-05-29T19:04:07.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T19:04:07.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T19:04:07.520Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-29T19:04:07.520Z] 8998bd30e6a1: Pulling fs layer [2024-05-29T19:04:07.520Z] 04944245beec: Pulling fs layer [2024-05-29T19:04:07.520Z] 699f458cf7ca: Pulling fs layer [2024-05-29T19:04:07.520Z] 765212b225bb: Pulling fs layer [2024-05-29T19:04:07.520Z] f23df028b6ca: Pulling fs layer [2024-05-29T19:04:07.520Z] d65c8cfc05b1: Pulling fs layer [2024-05-29T19:04:07.520Z] 2437ff75d9bd: Pulling fs layer [2024-05-29T19:04:07.520Z] 765212b225bb: Waiting [2024-05-29T19:04:07.520Z] f23df028b6ca: Waiting [2024-05-29T19:04:07.520Z] d65c8cfc05b1: Waiting [2024-05-29T19:04:07.520Z] 2437ff75d9bd: Waiting [2024-05-29T19:04:07.790Z] 04944245beec: Verifying Checksum [2024-05-29T19:04:07.790Z] 04944245beec: Download complete [2024-05-29T19:04:07.790Z] 765212b225bb: Verifying Checksum [2024-05-29T19:04:07.790Z] 765212b225bb: Download complete [2024-05-29T19:04:07.790Z] f23df028b6ca: Download complete [2024-05-29T19:04:07.790Z] d65c8cfc05b1: Verifying Checksum [2024-05-29T19:04:07.790Z] d65c8cfc05b1: Download complete [2024-05-29T19:04:07.790Z] 699f458cf7ca: Verifying Checksum [2024-05-29T19:04:07.790Z] 699f458cf7ca: Download complete [2024-05-29T19:04:08.375Z] 8998bd30e6a1: Verifying Checksum [2024-05-29T19:04:08.375Z] 8998bd30e6a1: Download complete [2024-05-29T19:04:10.959Z] 2437ff75d9bd: Verifying Checksum [2024-05-29T19:04:10.959Z] 2437ff75d9bd: Download complete [2024-05-29T19:04:12.901Z] 8998bd30e6a1: Pull complete [2024-05-29T19:04:13.484Z] 04944245beec: Pull complete [2024-05-29T19:04:14.891Z] 699f458cf7ca: Pull complete [2024-05-29T19:04:15.158Z] 765212b225bb: Pull complete [2024-05-29T19:04:16.117Z] f23df028b6ca: Pull complete [2024-05-29T19:04:16.383Z] d65c8cfc05b1: Pull complete [2024-05-29T19:04:34.568Z] 2437ff75d9bd: Pull complete [2024-05-29T19:04:34.568Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-29T19:04:34.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T19:04:34.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T19:04:34.959Z] prd-ubuntu20.04-docker-arm64-4c-16g-1106 does not seem to be running inside a container [2024-05-29T19:04:35.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-29T19:04:37.547Z] $ docker top 1b560d1b403f033d1f89dc2d0299e5f7417663c80afe764948690986a7f78a3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T19:04:38.452Z] ---> job-cost.sh [2024-05-29T19:04:38.452Z] lf-activate-venv: SKIPPING [2024-05-29T19:04:38.452Z] INFO: No Stack... [2024-05-29T19:04:38.718Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-29T19:04:39.669Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T19:04:40.009Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-05-29T19:04:40.009Z] + cut -d, -f6 [Pipeline] lock [2024-05-29T19:04:40.094Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-54-1-stack-cost] [2024-05-29T19:04:47.675Z] Resource [jenkins-edgexfoundry-device-uart-PR-54-1-stack-cost] did not exist. Created. [2024-05-29T19:04:47.848Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-54-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T19:04:48.592Z] /w/workspace/device-uart/1@tmp/durable-dd91051a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-29T19:04:48.950Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-29T19:04:48.999Z] Warning: overwriting stash ‘stack-cost’ [2024-05-29T19:04:49.044Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T19:04:49.076Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-54-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T19:04:49.169Z] $ docker stop --time=1 1b560d1b403f033d1f89dc2d0299e5f7417663c80afe764948690986a7f78a3b [2024-05-29T19:04:50.629Z] $ docker rm -f --volumes 1b560d1b403f033d1f89dc2d0299e5f7417663c80afe764948690986a7f78a3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-05-29T19:04:51.839Z] provisioning config files... [2024-05-29T19:04:51.848Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-54@tmp/config8899352569103325191tmp [Pipeline] { [Pipeline] sh [2024-05-29T19:04:52.203Z] + set +x [2024-05-29T19:04:52.203Z] + + curl -s https://codecov.io/bash [2024-05-29T19:04:52.203Z] bash -s -- [2024-05-29T19:04:52.203Z] [2024-05-29T19:04:52.203Z] _____ _ [2024-05-29T19:04:52.203Z] / ____| | | [2024-05-29T19:04:52.203Z] | | ___ __| | ___ ___ _____ __ [2024-05-29T19:04:52.203Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-29T19:04:52.203Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-29T19:04:52.203Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-29T19:04:52.203Z] Bash-1.0.6 [2024-05-29T19:04:52.203Z] [2024-05-29T19:04:52.203Z] [2024-05-29T19:04:52.203Z] ==> git version 2.25.1 found [2024-05-29T19:04:52.203Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-05-29T19:04:52.203Z] Release-Date: 2020-01-08 [2024-05-29T19:04:52.203Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-29T19:04:52.203Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-29T19:04:52.203Z] ==> Jenkins CI detected. [2024-05-29T19:04:52.203Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-54 [2024-05-29T19:04:52.203Z] project root: . [2024-05-29T19:04:52.203Z] --> token set from env [2024-05-29T19:04:52.203Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-29T19:04:52.203Z] ==> Running gcov in . (disable via -X gcov) [2024-05-29T19:04:52.203Z] ==> Python coveragepy not found [2024-05-29T19:04:52.203Z] ==> Searching for coverage reports in: [2024-05-29T19:04:52.203Z] + . [2024-05-29T19:04:52.462Z] -> Found 1 reports [2024-05-29T19:04:52.462Z] ==> Detecting git/mercurial file structure [2024-05-29T19:04:52.462Z] ==> Reading reports [2024-05-29T19:04:52.462Z] + ./coverage.out bytes=10 [2024-05-29T19:04:52.462Z] ==> Appending adjustments [2024-05-29T19:04:52.462Z] https://docs.codecov.io/docs/fixing-reports [2024-05-29T19:04:52.462Z] + Found adjustments [2024-05-29T19:04:52.462Z] ==> Gzipping contents [2024-05-29T19:04:52.462Z] 4.0K /tmp/codecov.YwZ9TA.gz [2024-05-29T19:04:52.462Z] ==> Uploading reports [2024-05-29T19:04:52.462Z] url: https://codecov.io [2024-05-29T19:04:52.462Z] query: branch=PR-54&commit=40f46dea90bc09a8b51054a3263c7715ce065b2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-54%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=54&job=&cmd_args= [2024-05-29T19:04:52.462Z] -> Pinging Codecov [2024-05-29T19:04:52.463Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-54&commit=40f46dea90bc09a8b51054a3263c7715ce065b2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-54%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=54&job=&cmd_args= [2024-05-29T19:04:53.032Z] -> Uploading to [2024-05-29T19:04:53.032Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-29/B9AA6E0BBD74AE3A32605C7A7C664919/40f46dea90bc09a8b51054a3263c7715ce065b2e/fda009db-1016-444b-9789-628e9bf0e3a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T190452Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b3f26d7a17cb995fd5c3747fd8dff380d9cdfcacc860f1ee147bfdebaac4d5c [2024-05-29T19:04:53.032Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T19:04:53.032Z] Dload Upload Total Spent Left Speed [2024-05-29T19:04:53.291Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2913 --:--:-- --:--:-- --:--:-- 2899 100 603 0 0 100 603 0 2668 --:--:-- --:--:-- --:--:-- 2656 [2024-05-29T19:04:53.291Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/40f46dea90bc09a8b51054a3263c7715ce065b2e [Pipeline] } [2024-05-29T19:04:53.323Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-29T19:04:55.592Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-54/archives ] [2024-05-29T19:04:55.592Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-54/archives [2024-05-29T19:04:55.592Z] total 16 [2024-05-29T19:04:55.592Z] drwxr-xr-x 3 root root 4096 May 29 18:52 . [2024-05-29T19:04:55.592Z] drwxrwxr-x 9 jenkins jenkins 4096 May 29 18:52 .. [2024-05-29T19:04:55.592Z] drwxr-xr-x 2 root root 4096 May 29 18:52 cost [2024-05-29T19:04:55.592Z] -rw-r--r-- 1 root root 82 May 29 18:52 cost.csv [2024-05-29T19:04:55.592Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-54/archives [2024-05-29T19:04:55.592Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-54/archives [2024-05-29T19:04:55.592Z] total 16 [2024-05-29T19:04:55.592Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 18:52 . [2024-05-29T19:04:55.592Z] drwxrwxr-x 9 jenkins jenkins 4096 May 29 18:52 .. [2024-05-29T19:04:55.592Z] drwxr-xr-x 2 jenkins jenkins 4096 May 29 18:52 cost [2024-05-29T19:04:55.592Z] -rw-r--r-- 1 jenkins jenkins 82 May 29 18:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-29T19:04:55.945Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T19:04:56.848Z] ---> package-listing.sh [2024-05-29T19:04:56.848Z] ++ facter osfamily [2024-05-29T19:04:56.848Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-29T19:04:57.107Z] + OS_FAMILY=debian [2024-05-29T19:04:57.107Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-54 [2024-05-29T19:04:57.107Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-29T19:04:57.107Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-29T19:04:57.107Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-29T19:04:57.107Z] + PACKAGES=/tmp/packages_start.txt [2024-05-29T19:04:57.107Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-54 ']' [2024-05-29T19:04:57.107Z] + PACKAGES=/tmp/packages_end.txt [2024-05-29T19:04:57.107Z] + case "${OS_FAMILY}" in [2024-05-29T19:04:57.107Z] + dpkg -l [2024-05-29T19:04:57.107Z] + grep '^ii' [2024-05-29T19:04:57.107Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-29T19:04:57.107Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-29T19:04:57.107Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-29T19:04:57.107Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-54 ']' [2024-05-29T19:04:57.107Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-54/archives/ [2024-05-29T19:04:57.107Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-54/archives/ [Pipeline] echo [2024-05-29T19:04:57.149Z] 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-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-29T19:04:57.450Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T19:04:58.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T19:04:58.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T19:04:58.266Z] prd-ubuntu20.04-docker-8c-8g-1105 does not seem to be running inside a container [2024-05-29T19:04:58.285Z] $ 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-54/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-54 -v /w/workspace/edgexfoundry_device-uart_PR-54:/w/workspace/edgexfoundry_device-uart_PR-54:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-54@tmp:/w/workspace/edgexfoundry_device-uart_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T19:04:58.487Z] $ docker top 8de4cdeefdff2f613f6f473b4b4cd6806515cfbf21d3527a37c4c0c62c68b75d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T19:04:58.914Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-29T19:04:59.237Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-29T19:04:59.633Z] + ls /var/log/sa-host [2024-05-29T19:04:59.633Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T19:04:59.783Z] provisioning config files... [2024-05-29T19:04:59.807Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-54@tmp/config1178488816509366454tmp [Pipeline] { [Pipeline] echo [2024-05-29T19:04:59.876Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T19:05:00.235Z] ---> create-netrc.sh [Pipeline] } [2024-05-29T19:05:00.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-29T19:05:00.688Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-29T19:05:00.726Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T19:05:01.058Z] ---> sudo-logs.sh [2024-05-29T19:05:01.058Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-29T19:05:01.162Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T19:05:01.492Z] ---> job-cost.sh [2024-05-29T19:05:01.492Z] lf-activate-venv: SKIPPING [2024-05-29T19:05:01.492Z] DEBUG: total: 0.2199999988079071 [2024-05-29T19:05:01.492Z] INFO: Retrieving Stack Cost... [2024-05-29T19:05:01.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T19:05:02.319Z] INFO: Archiving Costs [Pipeline] echo [2024-05-29T19:05:02.366Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T19:05:02.691Z] ---> logs-deploy.sh [2024-05-29T19:05:02.691Z] lf-activate-venv: SKIPPING [2024-05-29T19:05:02.691Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-54/1 [2024-05-29T19:05:02.691Z] INFO: archiving workspace using pattern(s): [2024-05-29T19:05:03.629Z] Archives upload complete. [2024-05-29T19:05:03.629Z] INFO: archiving logs to Nexus