Pull request #51 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2678f1c9bb6f240346ec65781dd6abb3ca640c76+08fb917c2f38b4ae53e716333c1e5812fb96cea3 (e8d0c773c86cc4acc6da52a6819d5762fbee5c2b) 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-ssh871140911516519158.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13460213984173089401.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-51/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-51/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9040959016198726832.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-51/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10927407807253985543.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3837772689181999384.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-51/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-51/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6828087663427838343.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-304 in /w/workspace/edgexfoundry_device-uart_PR-51 [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-51 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 08fb917c2f38b4ae53e716333c1e5812fb96cea3 into PR head commit 2678f1c9bb6f240346ec65781dd6abb3ca640c76 Merge succeeded, producing 2678f1c9bb6f240346ec65781dd6abb3ca640c76 Checking out Revision 2678f1c9bb6f240346ec65781dd6abb3ca640c76 (PR-51) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 2678f1c9bb6f240346ec65781dd6abb3ca640c76 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 08fb917c2f38b4ae53e716333c1e5812fb96cea3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2678f1c9bb6f240346ec65781dd6abb3ca640c76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-16T18:53:42.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-16T18:53:42.983Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-16T18:53:43.182Z] ========================================================= [2024-05-16T18:53:43.182Z] EdgeX Global Pipelines Version Info [2024-05-16T18:53:43.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:53:43.963Z] ------------------- [2024-05-16T18:53:43.963Z] stable info: [2024-05-16T18:53:43.963Z] ------------------- [2024-05-16T18:53:43.963Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-16T18:53:43.963Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:53:43.963Z] Message: update stable to v1.0.258 [2024-05-16T18:53:44.535Z] ------------------- [2024-05-16T18:53:44.535Z] experimental info: [2024-05-16T18:53:44.535Z] ------------------- [2024-05-16T18:53:44.535Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-16T18:53:44.535Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:53:44.535Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-16T18:53:44.767Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-05-16T18:53:44.831Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-05-16T18:53:44.902Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-16T18:53:45.038Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-16T18:53:45.103Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-16T18:53:45.164Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-16T18:53:45.226Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-16T18:53:45.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-16T18:53:45.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-16T18:53:45.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-16T18:53:45.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-16T18:53:45.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-05-16T18:53:45.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-16T18:53:45.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-16T18:53:45.705Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T18:53:45.766Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T18:53:45.827Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:53:45.884Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:53:45.938Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-16T18:53:45.995Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-16T18:53:46.064Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-16T18:53:46.116Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-16T18:53:46.179Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-16T18:53:46.235Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-16T18:53:46.294Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-16T18:53:46.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-16T18:53:46.415Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-16T18:53:46.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-51 [Pipeline] echo [2024-05-16T18:53:46.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-51 [Pipeline] echo [2024-05-16T18:53:46.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-51 [Pipeline] echo [2024-05-16T18:53:46.655Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2678f1c9bb6f240346ec65781dd6abb3ca640c76 [Pipeline] echo [2024-05-16T18:53:46.713Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2678f1c [Pipeline] echo [2024-05-16T18:53:46.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:53:46.921Z] provisioning config files... [2024-05-16T18:53:46.935Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-51@tmp/config3616696895571380604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:53:47.334Z] ---> ****-login.sh [2024-05-16T18:53:47.334Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:53:47.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:53:47.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:53:47.595Z] Configure a credential helper to remove this warning. See [2024-05-16T18:53:47.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:53:47.595Z] [2024-05-16T18:53:47.595Z] Login Succeeded [2024-05-16T18:53:47.595Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:53:47.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:53:47.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:53:47.595Z] Configure a credential helper to remove this warning. See [2024-05-16T18:53:47.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:53:47.596Z] [2024-05-16T18:53:47.596Z] Login Succeeded [2024-05-16T18:53:47.596Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:53:47.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:53:47.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:53:47.856Z] Configure a credential helper to remove this warning. See [2024-05-16T18:53:47.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:53:47.856Z] [2024-05-16T18:53:47.856Z] Login Succeeded [2024-05-16T18:53:47.856Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:53:47.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:53:47.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:53:47.856Z] Configure a credential helper to remove this warning. See [2024-05-16T18:53:47.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:53:47.856Z] [2024-05-16T18:53:47.856Z] Login Succeeded [2024-05-16T18:53:47.856Z] ****.io [2024-05-16T18:53:47.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:53:48.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:53:48.427Z] Configure a credential helper to remove this warning. See [2024-05-16T18:53:48.427Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:53:48.427Z] [2024-05-16T18:53:48.427Z] Login Succeeded [2024-05-16T18:53:48.427Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:53:48.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-16T18:53:49.193Z] + git rev-list -1 --merges 2678f1c9bb6f240346ec65781dd6abb3ca640c76~1..2678f1c9bb6f240346ec65781dd6abb3ca640c76 [Pipeline] echo [2024-05-16T18:53:49.263Z] -----------> git rev-list -1 --merges 2678f1c9bb6f240346ec65781dd6abb3ca640c76~1..2678f1c9bb6f240346ec65781dd6abb3ca640c76 2678f1c9bb6f240346ec65781dd6abb3ca640c76 [false] [Pipeline] sh [2024-05-16T18:53:49.598Z] + git log --format=format:%s -1 2678f1c9bb6f240346ec65781dd6abb3ca640c76 [Pipeline] echo [2024-05-16T18:53:49.641Z] ========================================================= [2024-05-16T18:53:49.641Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-16T18:53:49.641Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:53:50.119Z] + git log --format=format:%s -1 2678f1c9bb6f240346ec65781dd6abb3ca640c76 [Pipeline] echo [2024-05-16T18:53:50.161Z] [semverPrep] GIT_COMMIT: 2678f1c9bb6f240346ec65781dd6abb3ca640c76, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-05-16T18:53:50.211Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-16T18:53:50.612Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T18:53:50.612Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-16T18:53:50.612Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-16T18:53:50.612Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-16T18:53:50.612Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-16T18:53:50.612Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-16T18:53:50.612Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:53:51.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:53:51.070Z] [2024-05-16T18:53:51.070Z] 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-16T18:53:51.469Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:53:51.469Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-16T18:53:51.469Z] b85a868b505f: Pulling fs layer [2024-05-16T18:53:51.469Z] e2be974225ed: Pulling fs layer [2024-05-16T18:53:51.469Z] 339a4e72a1f5: Pulling fs layer [2024-05-16T18:53:51.469Z] 988bab9f4d93: Pulling fs layer [2024-05-16T18:53:51.469Z] 1469e6f7b9e6: Pulling fs layer [2024-05-16T18:53:51.469Z] eaf3925da568: Pulling fs layer [2024-05-16T18:53:51.469Z] bab4dde63d76: Pulling fs layer [2024-05-16T18:53:51.469Z] bde34c3a00c8: Pulling fs layer [2024-05-16T18:53:51.470Z] b352a97aabf1: Pulling fs layer [2024-05-16T18:53:51.470Z] 4872d77fe225: Pulling fs layer [2024-05-16T18:53:51.470Z] 5851b861e8e6: Pulling fs layer [2024-05-16T18:53:51.470Z] 988bab9f4d93: Waiting [2024-05-16T18:53:51.470Z] 1469e6f7b9e6: Waiting [2024-05-16T18:53:51.470Z] eaf3925da568: Waiting [2024-05-16T18:53:51.470Z] bab4dde63d76: Waiting [2024-05-16T18:53:51.470Z] bde34c3a00c8: Waiting [2024-05-16T18:53:51.470Z] b352a97aabf1: Waiting [2024-05-16T18:53:51.470Z] 4872d77fe225: Waiting [2024-05-16T18:53:51.470Z] 5851b861e8e6: Waiting [2024-05-16T18:53:51.470Z] e2be974225ed: Verifying Checksum [2024-05-16T18:53:51.470Z] 988bab9f4d93: Verifying Checksum [2024-05-16T18:53:51.470Z] 988bab9f4d93: Download complete [2024-05-16T18:53:51.731Z] 1469e6f7b9e6: Verifying Checksum [2024-05-16T18:53:51.731Z] 1469e6f7b9e6: Download complete [2024-05-16T18:53:51.731Z] 339a4e72a1f5: Verifying Checksum [2024-05-16T18:53:51.731Z] eaf3925da568: Verifying Checksum [2024-05-16T18:53:51.731Z] eaf3925da568: Download complete [2024-05-16T18:53:51.731Z] bde34c3a00c8: Download complete [2024-05-16T18:53:51.731Z] b352a97aabf1: Verifying Checksum [2024-05-16T18:53:51.731Z] b352a97aabf1: Download complete [2024-05-16T18:53:51.731Z] 4872d77fe225: Download complete [2024-05-16T18:53:51.731Z] 5851b861e8e6: Verifying Checksum [2024-05-16T18:53:51.731Z] 5851b861e8e6: Download complete [2024-05-16T18:53:51.731Z] b85a868b505f: Verifying Checksum [2024-05-16T18:53:51.731Z] b85a868b505f: Download complete [2024-05-16T18:53:51.991Z] bab4dde63d76: Verifying Checksum [2024-05-16T18:53:51.991Z] bab4dde63d76: Download complete [2024-05-16T18:53:52.936Z] b85a868b505f: Pull complete [2024-05-16T18:53:53.243Z] e2be974225ed: Pull complete [2024-05-16T18:53:53.502Z] 339a4e72a1f5: Pull complete [2024-05-16T18:53:53.764Z] 988bab9f4d93: Pull complete [2024-05-16T18:53:54.024Z] 1469e6f7b9e6: Pull complete [2024-05-16T18:53:54.024Z] eaf3925da568: Pull complete [2024-05-16T18:53:55.933Z] bab4dde63d76: Pull complete [2024-05-16T18:53:55.933Z] bde34c3a00c8: Pull complete [2024-05-16T18:53:56.194Z] b352a97aabf1: Pull complete [2024-05-16T18:53:56.194Z] 4872d77fe225: Pull complete [2024-05-16T18:53:56.194Z] 5851b861e8e6: Pull complete [2024-05-16T18:53:56.194Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-16T18:53:56.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:53:56.194Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:53:56.510Z] prd-ubuntu20.04-docker-8c-8g-304 does not seem to be running inside a container [2024-05-16T18:53:56.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-51 -v /w/workspace/edgexfoundry_device-uart_PR-51:/w/workspace/edgexfoundry_device-uart_PR-51:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-51@tmp:/w/workspace/edgexfoundry_device-uart_PR-51@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-16T18:53:59.098Z] $ docker top 3a132e8c70474a9e7d3b4f30eb8ea590649d467621849b5ff77763c9bca2daab -eo pid,comm [2024-05-16T18:53:59.152Z] 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-16T18:53:59.152Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T18:53:59.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T18:53:59.317Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T18:53:59.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T18:53:59.429Z] $ docker exec 3a132e8c70474a9e7d3b4f30eb8ea590649d467621849b5ff77763c9bca2daab ssh-agent [2024-05-16T18:53:59.547Z] SSH_AUTH_SOCK=/tmp/ssh-NJM9EiF8rw1M/agent.33 [2024-05-16T18:53:59.547Z] SSH_AGENT_PID=39 [2024-05-16T18:53:59.554Z] Running ssh-add (command line suppressed) [2024-05-16T18:53:59.661Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-51@tmp/private_key_6955228129191165440.key (/w/workspace/edgexfoundry_device-uart_PR-51@tmp/private_key_6955228129191165440.key) [2024-05-16T18:53:59.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T18:54:00.015Z] + git tag --points-at HEAD [Pipeline] } [2024-05-16T18:54:00.044Z] $ docker exec --env ******** --env ******** 3a132e8c70474a9e7d3b4f30eb8ea590649d467621849b5ff77763c9bca2daab ssh-agent -k [2024-05-16T18:54:00.138Z] unset SSH_AUTH_SOCK; [2024-05-16T18:54:00.139Z] unset SSH_AGENT_PID; [2024-05-16T18:54:00.139Z] echo Agent pid 39 killed; [2024-05-16T18:54:00.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-16T18:54:00.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T18:54:00.258Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T18:54:00.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T18:54:00.388Z] $ docker exec 3a132e8c70474a9e7d3b4f30eb8ea590649d467621849b5ff77763c9bca2daab ssh-agent [2024-05-16T18:54:00.508Z] SSH_AUTH_SOCK=/tmp/ssh-VuvhYceshaVh/agent.73 [2024-05-16T18:54:00.508Z] SSH_AGENT_PID=79 [2024-05-16T18:54:00.513Z] Running ssh-add (command line suppressed) [2024-05-16T18:54:00.613Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-51@tmp/private_key_17519403743366704999.key (/w/workspace/edgexfoundry_device-uart_PR-51@tmp/private_key_17519403743366704999.key) [2024-05-16T18:54:00.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T18:54:00.975Z] + git semver init [2024-05-16T18:54:01.235Z] 2024-05-16 18:54:01,202 [run_init] DEBUG init version:0.0.0 force:False [2024-05-16T18:54:01.235Z] 2024-05-16 18:54:01,203 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-51/.semver [2024-05-16T18:54:01.235Z] 2024-05-16 18:54:01,203 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-51/.semver [2024-05-16T18:54:01.235Z] 2024-05-16 18:54:01,203 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-51/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-51, universal_newlines=False, shell=None, istream=None) [2024-05-16T18:54:02.617Z] 2024-05-16 18:54:02,268 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-51/.git/info/exclude [2024-05-16T18:54:02.617Z] 2024-05-16 18:54:02,270 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-51/.semver/PR-51 with force:False [2024-05-16T18:54:02.617Z] 2024-05-16 18:54:02,270 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-51/.semver/PR-51 [2024-05-16T18:54:02.617Z] 2024-05-16 18:54:02,274 [execute] INFO git cat-file --batch-check [2024-05-16T18:54:02.617Z] 2024-05-16 18:54:02,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-51/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T18:54:02.617Z] 2024-05-16 18:54:02,281 [execute] INFO git cat-file --batch [2024-05-16T18:54:02.617Z] 2024-05-16 18:54:02,282 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-51/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T18:54:02.617Z] 2024-05-16 18:54:02,286 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-51/.semver/PR-51 [2024-05-16T18:54:02.617Z] 0.0.0 [Pipeline] } [2024-05-16T18:54:02.644Z] $ docker exec --env ******** --env ******** 3a132e8c70474a9e7d3b4f30eb8ea590649d467621849b5ff77763c9bca2daab ssh-agent -k [2024-05-16T18:54:02.750Z] unset SSH_AUTH_SOCK; [2024-05-16T18:54:02.750Z] unset SSH_AGENT_PID; [2024-05-16T18:54:02.750Z] echo Agent pid 79 killed; [2024-05-16T18:54:02.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T18:54:03.236Z] + git semver [Pipeline] } [2024-05-16T18:54:03.524Z] $ docker stop --time=1 3a132e8c70474a9e7d3b4f30eb8ea590649d467621849b5ff77763c9bca2daab [2024-05-16T18:54:04.838Z] $ docker rm -f --volumes 3a132e8c70474a9e7d3b4f30eb8ea590649d467621849b5ff77763c9bca2daab [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:54:05.262Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-16T18:54:05.579Z] Stashed 1 file(s) [Pipeline] echo [2024-05-16T18:54:05.606Z] [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-16T18:54:06.356Z] provisioning config files... [2024-05-16T18:54:06.368Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-51@tmp/config13956006749795129853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:06.720Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-303 in /w/workspace/edgexfoundry_device-uart_PR-51 [Pipeline] { [2024-05-16T18:54:06.759Z] ---> ****-login.sh [2024-05-16T18:54:06.759Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:54:06.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:06.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:06.759Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:06.759Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:06.759Z] [2024-05-16T18:54:06.759Z] Login Succeeded [2024-05-16T18:54:06.759Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:54:06.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:06.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:06.760Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:06.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:06.760Z] [2024-05-16T18:54:06.760Z] Login Succeeded [2024-05-16T18:54:06.760Z] nexus3.edgexfoundry.org:10003 [Pipeline] ws [2024-05-16T18:54:06.816Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-05-16T18:54:06.915Z] The recommended git tool is: git [2024-05-16T18:54:07.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:07.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:07.029Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:07.029Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:07.029Z] [2024-05-16T18:54:07.029Z] Login Succeeded [2024-05-16T18:54:07.029Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:54:07.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:07.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:07.029Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:07.030Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:07.030Z] [2024-05-16T18:54:07.030Z] Login Succeeded [2024-05-16T18:54:07.030Z] ****.io [2024-05-16T18:54:07.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:07.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:07.291Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:07.291Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:07.291Z] [2024-05-16T18:54:07.291Z] Login Succeeded [2024-05-16T18:54:07.291Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:54:07.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T18:54:07.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:54:07.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:54:07.691Z] ========================================================= [2024-05-16T18:54:07.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-16T18:54:07.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:54:08.228Z] + 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-16T18:54:08.228Z] Sending build context to Docker daemon 23.13MB [2024-05-16T18:54:08.228Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:54:08.228Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-16T18:54:08.494Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-16T18:54:08.494Z] 619be1103602: Pulling fs layer [2024-05-16T18:54:08.494Z] 7862e08f4a3e: Pulling fs layer [2024-05-16T18:54:08.494Z] 5df492c9dc93: Pulling fs layer [2024-05-16T18:54:08.494Z] 7629e6793208: Pulling fs layer [2024-05-16T18:54:08.494Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T18:54:08.494Z] fb5054dd5b73: Pulling fs layer [2024-05-16T18:54:08.494Z] 7629e6793208: Waiting [2024-05-16T18:54:08.494Z] 4f4fb700ef54: Waiting [2024-05-16T18:54:08.494Z] eeca6798cff9: Pulling fs layer [2024-05-16T18:54:08.494Z] aa269ceb94a6: Pulling fs layer [2024-05-16T18:54:08.494Z] ada007ff1a6a: Pulling fs layer [2024-05-16T18:54:08.494Z] aa269ceb94a6: Waiting [2024-05-16T18:54:08.494Z] ada007ff1a6a: Waiting [2024-05-16T18:54:08.494Z] eeca6798cff9: Waiting [2024-05-16T18:54:08.494Z] 7862e08f4a3e: Download complete [2024-05-16T18:54:08.494Z] 7629e6793208: Verifying Checksum [2024-05-16T18:54:08.494Z] 7629e6793208: Download complete [2024-05-16T18:54:08.494Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T18:54:08.494Z] 4f4fb700ef54: Download complete [2024-05-16T18:54:08.494Z] fb5054dd5b73: Verifying Checksum [2024-05-16T18:54:08.494Z] fb5054dd5b73: Download complete [2024-05-16T18:54:08.494Z] 619be1103602: Download complete [2024-05-16T18:54:08.494Z] eeca6798cff9: Verifying Checksum [2024-05-16T18:54:08.494Z] eeca6798cff9: Download complete [2024-05-16T18:54:08.754Z] 619be1103602: Pull complete [2024-05-16T18:54:08.754Z] ada007ff1a6a: Verifying Checksum [2024-05-16T18:54:08.754Z] ada007ff1a6a: Download complete [2024-05-16T18:54:08.754Z] 7862e08f4a3e: Pull complete [2024-05-16T18:54:09.012Z] 5df492c9dc93: Verifying Checksum [2024-05-16T18:54:09.012Z] 5df492c9dc93: Download complete [2024-05-16T18:54:09.273Z] aa269ceb94a6: Verifying Checksum [2024-05-16T18:54:09.273Z] aa269ceb94a6: Download complete [2024-05-16T18:54:12.555Z] 5df492c9dc93: Pull complete [2024-05-16T18:54:12.555Z] 7629e6793208: Pull complete [2024-05-16T18:54:12.555Z] 4f4fb700ef54: Pull complete [2024-05-16T18:54:12.813Z] fb5054dd5b73: Pull complete [2024-05-16T18:54:12.813Z] eeca6798cff9: Pull complete [2024-05-16T18:54:12.972Z] using credential edgex-jenkins-ssh [2024-05-16T18:54:13.003Z] Cloning the remote Git repository [2024-05-16T18:54:13.067Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-05-16T18:54:13.195Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-05-16T18:54:13.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-05-16T18:54:13.386Z] > git --version # timeout=10 [2024-05-16T18:54:13.414Z] > git --version # 'git version 2.25.1' [2024-05-16T18:54:13.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:54:13.615Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T18:54:15.353Z] aa269ceb94a6: Pull complete [2024-05-16T18:54:15.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-05-16T18:54:15.920Z] ada007ff1a6a: Pull complete [2024-05-16T18:54:15.920Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-16T18:54:15.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-16T18:54:15.920Z] ---> f489d0715acc [2024-05-16T18:54:15.920Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-16T18:54:15.759Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T18:54:16.952Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-05-16T18:54:17.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-05-16T18:54:17.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:54:17.037Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-16T18:54:17.527Z] Merging remotes/origin/main commit 08fb917c2f38b4ae53e716333c1e5812fb96cea3 into PR head commit 2678f1c9bb6f240346ec65781dd6abb3ca640c76 [2024-05-16T18:54:17.910Z] Merge succeeded, producing 2678f1c9bb6f240346ec65781dd6abb3ca640c76 [2024-05-16T18:54:17.911Z] Checking out Revision 2678f1c9bb6f240346ec65781dd6abb3ca640c76 (PR-51) [2024-05-16T18:54:17.568Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T18:54:17.673Z] > git checkout -f 2678f1c9bb6f240346ec65781dd6abb3ca640c76 # timeout=10 [2024-05-16T18:54:17.774Z] > git remote # timeout=10 [2024-05-16T18:54:17.797Z] > git config --get remote.origin.url # timeout=10 [2024-05-16T18:54:17.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:54:17.853Z] > git merge 08fb917c2f38b4ae53e716333c1e5812fb96cea3 # timeout=10 [2024-05-16T18:54:17.884Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-16T18:54:17.920Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T18:54:17.946Z] > git checkout -f 2678f1c9bb6f240346ec65781dd6abb3ca640c76 # timeout=10 [2024-05-16T18:54:18.631Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-05-16T18:54:18.696Z] > git --version # timeout=10 [2024-05-16T18:54:18.711Z] > git --version # 'git version 2.25.1' [2024-05-16T18:54:18.730Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:54:21.193Z] ---> Running in bda891e4c016 [2024-05-16T18:54:21.457Z] Removing intermediate container bda891e4c016 [2024-05-16T18:54:21.457Z] ---> e6286e929055 [2024-05-16T18:54:21.457Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-16T18:54:21.457Z] ---> Running in 2742956a02d5 [2024-05-16T18:54:21.457Z] Removing intermediate container 2742956a02d5 [2024-05-16T18:54:21.457Z] ---> 999edcb2019c [2024-05-16T18:54:21.457Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-16T18:54:21.457Z] ---> Running in 830849fdf24b [2024-05-16T18:54:21.457Z] Removing intermediate container 830849fdf24b [2024-05-16T18:54:21.457Z] ---> 075364f3d91b [2024-05-16T18:54:21.457Z] Step 6/12 : WORKDIR /device-uart [2024-05-16T18:54:21.716Z] ---> Running in 02f745f1d21c [2024-05-16T18:54:21.716Z] Removing intermediate container 02f745f1d21c [2024-05-16T18:54:21.716Z] ---> 80ce42f06da6 [2024-05-16T18:54:21.716Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-16T18:54:21.716Z] ---> Running in f15bedfabc93 [2024-05-16T18:54:21.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:54:23.902Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-16T18:54:23.903Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T18:54:23.903Z] Dload Upload Total Spent Left Speed [2024-05-16T18:54:23.903Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh [2024-05-16T18:54:24.322Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-16T18:54:24.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:54:24.675Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-16T18:54:24.675Z] + sudo tee /etc/docker/daemon.new [2024-05-16T18:54:24.675Z] { [2024-05-16T18:54:24.675Z] "registry-mirrors": [ [2024-05-16T18:54:24.675Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-16T18:54:24.675Z] ], [2024-05-16T18:54:24.675Z] "bip": "10.250.0.254/24", [2024-05-16T18:54:24.675Z] "hosts": [ [2024-05-16T18:54:24.675Z] "tcp://0.0.0.0:5555", [2024-05-16T18:54:24.675Z] "unix:///var/run/docker.sock" [2024-05-16T18:54:24.675Z] ], [2024-05-16T18:54:24.675Z] "mtu": 1458, [2024-05-16T18:54:24.675Z] "selinux-enabled": true, [2024-05-16T18:54:24.675Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-16T18:54:24.675Z] } [Pipeline] sh [2024-05-16T18:54:25.046Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-05-16T18:54:25.074Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T18:54:25.074Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-16T18:54:25.074Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T18:54:25.074Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T18:54:25.074Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T18:54:25.074Z] OK: 268 MiB in 56 packages [Pipeline] sh [2024-05-16T18:54:25.429Z] + sudo service docker restart [2024-05-16T18:54:25.676Z] Removing intermediate container f15bedfabc93 [2024-05-16T18:54:25.676Z] ---> 0ee3ce831b0d [2024-05-16T18:54:25.676Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-16T18:54:25.676Z] ---> dcb822ba8537 [2024-05-16T18:54:25.676Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:54:25.959Z] ---> Running in 4ba039ded602 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:54:43.901Z] provisioning config files... [2024-05-16T18:54:43.934Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config9140550418387941029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:44.487Z] ---> ****-login.sh [2024-05-16T18:54:44.487Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:54:45.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:45.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:45.079Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:45.079Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:45.079Z] [2024-05-16T18:54:45.079Z] Login Succeeded [2024-05-16T18:54:45.079Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:54:45.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:45.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:45.634Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:45.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:45.634Z] [2024-05-16T18:54:45.634Z] Login Succeeded [2024-05-16T18:54:45.634Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:54:45.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:45.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:45.912Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:45.912Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:45.912Z] [2024-05-16T18:54:45.912Z] Login Succeeded [2024-05-16T18:54:45.912Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:54:46.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:46.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:46.459Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:46.459Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:46.459Z] [2024-05-16T18:54:46.459Z] Login Succeeded [2024-05-16T18:54:46.459Z] ****.io [2024-05-16T18:54:46.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:54:47.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:54:47.008Z] Configure a credential helper to remove this warning. See [2024-05-16T18:54:47.008Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:54:47.008Z] [2024-05-16T18:54:47.008Z] Login Succeeded [2024-05-16T18:54:47.008Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:54:47.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T18:54:47.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:54:47.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:54:47.719Z] ========================================================= [2024-05-16T18:54:47.719Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-16T18:54:47.719Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:54:48.293Z] + 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-16T18:54:48.891Z] Sending build context to Docker daemon 11.63MB [2024-05-16T18:54:48.891Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:54:48.891Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-16T18:54:48.891Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-16T18:54:48.891Z] c6b39de5b339: Pulling fs layer [2024-05-16T18:54:48.891Z] a69c41024577: Pulling fs layer [2024-05-16T18:54:48.891Z] d6de4b400683: Pulling fs layer [2024-05-16T18:54:48.891Z] 35cb2a7552d0: Pulling fs layer [2024-05-16T18:54:48.891Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T18:54:48.891Z] 464afbd9ba4c: Pulling fs layer [2024-05-16T18:54:48.891Z] 00f215d4a9da: Pulling fs layer [2024-05-16T18:54:48.891Z] d496ad576159: Pulling fs layer [2024-05-16T18:54:48.891Z] 4f4fb700ef54: Waiting [2024-05-16T18:54:48.891Z] 464afbd9ba4c: Waiting [2024-05-16T18:54:48.891Z] 00f215d4a9da: Waiting [2024-05-16T18:54:48.891Z] d496ad576159: Waiting [2024-05-16T18:54:48.891Z] 35cb2a7552d0: Waiting [2024-05-16T18:54:48.891Z] a69c41024577: Download complete [2024-05-16T18:54:49.164Z] 35cb2a7552d0: Verifying Checksum [2024-05-16T18:54:49.164Z] 35cb2a7552d0: Download complete [2024-05-16T18:54:49.164Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T18:54:49.164Z] 4f4fb700ef54: Download complete [2024-05-16T18:54:49.164Z] c6b39de5b339: Verifying Checksum [2024-05-16T18:54:49.164Z] c6b39de5b339: Download complete [2024-05-16T18:54:49.435Z] d496ad576159: Verifying Checksum [2024-05-16T18:54:49.435Z] d496ad576159: Download complete [2024-05-16T18:54:50.030Z] c6b39de5b339: Pull complete [2024-05-16T18:54:51.001Z] a69c41024577: Pull complete [2024-05-16T18:54:51.001Z] d6de4b400683: Verifying Checksum [2024-05-16T18:54:51.001Z] d6de4b400683: Download complete [2024-05-16T18:54:51.978Z] 00f215d4a9da: Verifying Checksum [2024-05-16T18:54:51.978Z] 00f215d4a9da: Download complete [2024-05-16T18:55:04.341Z] d6de4b400683: Pull complete [2024-05-16T18:55:04.341Z] 35cb2a7552d0: Pull complete [2024-05-16T18:55:04.925Z] 4f4fb700ef54: Pull complete [2024-05-16T18:55:04.925Z] 464afbd9ba4c: Pull complete [2024-05-16T18:55:15.020Z] 00f215d4a9da: Pull complete [2024-05-16T18:55:15.986Z] d496ad576159: Pull complete [2024-05-16T18:55:15.986Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-16T18:55:15.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-16T18:55:15.986Z] ---> f246e2811388 [2024-05-16T18:55:15.986Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-16T18:55:16.949Z] ---> Running in 465ad869dbd0 [2024-05-16T18:55:16.949Z] Removing intermediate container 465ad869dbd0 [2024-05-16T18:55:16.949Z] ---> 7d4ce1a2d835 [2024-05-16T18:55:16.949Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-16T18:55:17.224Z] ---> Running in 81f34c78506c [2024-05-16T18:55:17.492Z] Removing intermediate container 81f34c78506c [2024-05-16T18:55:17.492Z] ---> 71e827ba6d10 [2024-05-16T18:55:17.492Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-16T18:55:17.492Z] ---> Running in e29efff105ff [2024-05-16T18:55:17.769Z] Removing intermediate container e29efff105ff [2024-05-16T18:55:17.769Z] ---> e82234e99700 [2024-05-16T18:55:17.769Z] Step 6/12 : WORKDIR /device-uart [2024-05-16T18:55:17.769Z] ---> Running in 6b8dc4c62cc0 [2024-05-16T18:55:18.375Z] Removing intermediate container 6b8dc4c62cc0 [2024-05-16T18:55:18.375Z] ---> a8e92c545812 [2024-05-16T18:55:18.375Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-16T18:55:18.375Z] ---> Running in 4353bcc5db4d [2024-05-16T18:55:19.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T18:55:20.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T18:55:21.058Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T18:55:21.058Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-16T18:55:21.058Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T18:55:21.058Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T18:55:21.058Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T18:55:21.058Z] OK: 271 MiB in 56 packages [2024-05-16T18:55:22.036Z] Removing intermediate container 4353bcc5db4d [2024-05-16T18:55:22.036Z] ---> 0c8d010b4dd6 [2024-05-16T18:55:22.036Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-16T18:55:22.245Z] Removing intermediate container 4ba039ded602 [2024-05-16T18:55:22.245Z] ---> 4b8e5eb3efb2 [2024-05-16T18:55:22.245Z] Step 10/12 : COPY . . [2024-05-16T18:55:22.245Z] ---> 37848e7719cf [2024-05-16T18:55:22.245Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T18:55:22.245Z] ---> Running in e3eee5e4ae06 [2024-05-16T18:55:22.245Z] Removing intermediate container e3eee5e4ae06 [2024-05-16T18:55:22.245Z] ---> 4330d08c3e29 [2024-05-16T18:55:22.245Z] Step 12/12 : RUN ${MAKE} [2024-05-16T18:55:22.245Z] ---> Running in f2c78552cb41 [2024-05-16T18:55:22.245Z] noop [2024-05-16T18:55:22.245Z] Removing intermediate container f2c78552cb41 [2024-05-16T18:55:22.245Z] ---> d0a9243abede [2024-05-16T18:55:22.245Z] Successfully built d0a9243abede [2024-05-16T18:55:22.245Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:55:22.634Z] ---> 051cf9edfc0e [2024-05-16T18:55:22.634Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:55:22.745Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T18:55:22.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:55:22.906Z] ---> Running in 6426e035e397 [2024-05-16T18:55:22.924Z] prd-ubuntu20.04-docker-8c-8g-304 does not seem to be running inside a container [2024-05-16T18:55:22.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-51 -v /w/workspace/edgexfoundry_device-uart_PR-51:/w/workspace/edgexfoundry_device-uart_PR-51:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-51@tmp:/w/workspace/edgexfoundry_device-uart_PR-51@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-16T18:55:23.290Z] $ docker top af3124e7771ab3f32ea9d8828fffdd6c769f6d900ae213a3bc93fd0001beb4c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:55:23.733Z] + go version [2024-05-16T18:55:23.733Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-16T18:55:23.776Z] $ docker stop --time=1 af3124e7771ab3f32ea9d8828fffdd6c769f6d900ae213a3bc93fd0001beb4c7 [2024-05-16T18:55:25.059Z] $ docker rm -f --volumes af3124e7771ab3f32ea9d8828fffdd6c769f6d900ae213a3bc93fd0001beb4c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:55:25.900Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T18:55:25.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:55:26.080Z] prd-ubuntu20.04-docker-8c-8g-304 does not seem to be running inside a container [2024-05-16T18:55:26.113Z] $ 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-51 -v /w/workspace/edgexfoundry_device-uart_PR-51:/w/workspace/edgexfoundry_device-uart_PR-51:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-51@tmp:/w/workspace/edgexfoundry_device-uart_PR-51@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-16T18:55:26.487Z] $ docker top c3166dd92764ecb403dabf9e3b96e6cdacffdc8e6a985f660d05064da79ce045 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:55:26.901Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-51 [Pipeline] fileExists [Pipeline] sh [2024-05-16T18:55:27.287Z] + make test [2024-05-16T18:55:27.287Z] go test ./... -coverprofile=coverage.out [2024-05-16T18:55:28.666Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-05-16T18:55:51.708Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-05-16T18:55:51.708Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-05-16T18:55:59.815Z] go vet ./... [2024-05-16T18:56:05.079Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T18:56:05.079Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T18:56:05.079Z] ./bin/test-attribution-txt.sh [2024-05-16T18:56:05.079Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T18:56:05.079Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T18:56:05.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T18:56:05.183Z] $ docker stop --time=1 c3166dd92764ecb403dabf9e3b96e6cdacffdc8e6a985f660d05064da79ce045 [2024-05-16T18:56:07.548Z] $ docker rm -f --volumes c3166dd92764ecb403dabf9e3b96e6cdacffdc8e6a985f660d05064da79ce045 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:56:08.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T18:56:08.255Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-16T18:56:09.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T18:56:09.435Z] + ls -al . [2024-05-16T18:56:09.435Z] total 224 [2024-05-16T18:56:09.435Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:55 . [2024-05-16T18:56:09.435Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:53 .. [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 18:53 .dockerignore [2024-05-16T18:56:09.435Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:55 .git [2024-05-16T18:56:09.435Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:53 .github [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 343 May 16 18:53 .gitignore [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 18:53 .golangci.yml [2024-05-16T18:56:09.435Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:54 .semver [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 9941 May 16 18:53 Attribution.txt [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 1908 May 16 18:53 CHANGELOG.md [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 1886 May 16 18:53 Dockerfile [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 18:53 GOVERNANCE.md [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 675 May 16 18:53 Jenkinsfile [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 18:53 LICENSE [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 1872 May 16 18:53 Makefile [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 617 May 16 18:53 OWNERS.md [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 8892 May 16 18:53 README.md [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:54 VERSION [2024-05-16T18:56:09.435Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:53 bin [2024-05-16T18:56:09.435Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:53 cmd [2024-05-16T18:56:09.435Z] -rw-r--r-- 1 jenkins jenkins 10 May 16 18:55 coverage.out [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 7068 May 16 18:53 go.mod [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 101736 May 16 18:53 go.sum [2024-05-16T18:56:09.435Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:53 internal [2024-05-16T18:56:09.435Z] -rw-rw-r-- 1 jenkins jenkins 209 May 16 18:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:56:09.925Z] + 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=2678f1c9bb6f240346ec65781dd6abb3ca640c76 --label arch=amd64 --label version=0.0.0 . [2024-05-16T18:56:09.925Z] Sending build context to Docker daemon 23.13MB [2024-05-16T18:56:09.925Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:56:09.925Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-16T18:56:09.925Z] ---> d0a9243abede [2024-05-16T18:56:09.925Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-16T18:56:10.183Z] ---> Running in e53d2468e5ca [2024-05-16T18:56:10.183Z] Removing intermediate container e53d2468e5ca [2024-05-16T18:56:10.183Z] ---> c97197355231 [2024-05-16T18:56:10.184Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-16T18:56:10.184Z] ---> Running in ce09c8b542d7 [2024-05-16T18:56:10.184Z] Removing intermediate container ce09c8b542d7 [2024-05-16T18:56:10.184Z] ---> 3a19917185f5 [2024-05-16T18:56:10.184Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-16T18:56:10.184Z] ---> Running in d8240e599a22 [2024-05-16T18:56:10.442Z] Removing intermediate container d8240e599a22 [2024-05-16T18:56:10.442Z] ---> 67d8f8e35c7d [2024-05-16T18:56:10.442Z] Step 6/26 : WORKDIR /device-uart [2024-05-16T18:56:10.442Z] ---> Running in 8248e4518a32 [2024-05-16T18:56:10.442Z] Removing intermediate container 8248e4518a32 [2024-05-16T18:56:10.442Z] ---> 2e74531ad089 [2024-05-16T18:56:10.442Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-16T18:56:10.442Z] ---> Running in d1720dd4fd89 [2024-05-16T18:56:10.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:56:10.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:56:11.216Z] OK: 268 MiB in 56 packages [2024-05-16T18:56:11.476Z] Removing intermediate container d1720dd4fd89 [2024-05-16T18:56:11.476Z] ---> 5137f261a1b5 [2024-05-16T18:56:11.476Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-16T18:56:11.735Z] ---> 7d657cf06155 [2024-05-16T18:56:11.735Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:56:11.735Z] ---> Running in 0f5b41765ba9 [2024-05-16T18:56:12.306Z] Removing intermediate container 0f5b41765ba9 [2024-05-16T18:56:12.306Z] ---> ed7ab38d72a5 [2024-05-16T18:56:12.306Z] Step 10/26 : COPY . . [2024-05-16T18:56:12.872Z] ---> 2cc0ab4e5611 [2024-05-16T18:56:12.872Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T18:56:12.872Z] ---> Running in e94292c2c248 [2024-05-16T18:56:13.131Z] Removing intermediate container e94292c2c248 [2024-05-16T18:56:13.131Z] ---> 3717e91bd15c [2024-05-16T18:56:13.131Z] Step 12/26 : RUN ${MAKE} [2024-05-16T18:56:13.131Z] ---> Running in b18f7b812d0a [2024-05-16T18:56:13.389Z] 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.13" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-05-16T18:56:45.696Z] Removing intermediate container b18f7b812d0a [2024-05-16T18:56:45.696Z] ---> 6c5775607dec [2024-05-16T18:56:45.696Z] Step 13/26 : FROM alpine:3.18 [2024-05-16T18:56:45.696Z] 3.18: Pulling from library/alpine [2024-05-16T18:56:45.696Z] 619be1103602: Already exists [2024-05-16T18:56:45.696Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T18:56:45.696Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T18:56:45.696Z] ---> d3782b16ccc9 [2024-05-16T18:56:45.696Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-05-16T18:56:45.696Z] ---> Running in 59f766e6d2d1 [2024-05-16T18:56:45.696Z] Removing intermediate container 59f766e6d2d1 [2024-05-16T18:56:45.696Z] ---> 99f3cb8701ee [2024-05-16T18:56:45.696Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-16T18:56:45.696Z] ---> Running in 66e901a7ebec [2024-05-16T18:56:45.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:56:45.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:56:45.696Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T18:56:45.696Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T18:56:45.696Z] OK: 7 MiB in 16 packages [2024-05-16T18:56:45.696Z] Removing intermediate container 66e901a7ebec [2024-05-16T18:56:45.696Z] ---> aaa2eb3bf173 [2024-05-16T18:56:45.696Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-16T18:56:45.696Z] ---> Running in 5603570b4148 [2024-05-16T18:56:45.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:56:45.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:56:45.696Z] Upgrading critical system libraries and apk-tools: [2024-05-16T18:56:45.696Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T18:56:45.696Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T18:56:45.696Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T18:56:45.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:56:45.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:56:45.696Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T18:56:45.696Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T18:56:45.696Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T18:56:45.696Z] OK: 7 MiB in 16 packages [2024-05-16T18:56:46.265Z] Removing intermediate container 5603570b4148 [2024-05-16T18:56:46.265Z] ---> 18afafe6e13f [2024-05-16T18:56:46.265Z] Step 17/26 : WORKDIR / [2024-05-16T18:56:46.265Z] ---> Running in afcd89c3479e [2024-05-16T18:56:46.265Z] Removing intermediate container afcd89c3479e [2024-05-16T18:56:46.265Z] ---> 39f5fc6e95bd [2024-05-16T18:56:46.265Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-05-16T18:56:46.525Z] ---> da1d7267abf1 [2024-05-16T18:56:46.525Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-05-16T18:56:46.525Z] ---> c578b961ad80 [2024-05-16T18:56:46.525Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-05-16T18:56:47.917Z] ---> 02e60cd9acf5 [2024-05-16T18:56:47.917Z] Step 21/26 : EXPOSE 59995 [2024-05-16T18:56:47.917Z] ---> Running in 40f039d7ae81 [2024-05-16T18:56:47.917Z] Removing intermediate container 40f039d7ae81 [2024-05-16T18:56:47.917Z] ---> f907c05ce091 [2024-05-16T18:56:47.917Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-05-16T18:56:47.917Z] ---> Running in a15cc860b1d3 [2024-05-16T18:56:48.190Z] Removing intermediate container a15cc860b1d3 [2024-05-16T18:56:48.190Z] ---> f426a59bf54f [2024-05-16T18:56:48.190Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-16T18:56:48.190Z] ---> Running in 85e93a06eede [2024-05-16T18:56:48.190Z] Removing intermediate container 85e93a06eede [2024-05-16T18:56:48.190Z] ---> 140d5a7022bb [2024-05-16T18:56:48.190Z] Step 24/26 : LABEL arch=amd64 [2024-05-16T18:56:48.190Z] ---> Running in 8ba05c6f6b5f [2024-05-16T18:56:48.190Z] Removing intermediate container 8ba05c6f6b5f [2024-05-16T18:56:48.190Z] ---> 73d284c1f415 [2024-05-16T18:56:48.190Z] Step 25/26 : LABEL git_sha=2678f1c9bb6f240346ec65781dd6abb3ca640c76 [2024-05-16T18:56:48.190Z] ---> Running in 0179ae588507 [2024-05-16T18:56:48.449Z] Removing intermediate container 0179ae588507 [2024-05-16T18:56:48.449Z] ---> f1e50e94bf57 [2024-05-16T18:56:48.449Z] Step 26/26 : LABEL version=0.0.0 [2024-05-16T18:56:48.449Z] ---> Running in b7d45a4b81e0 [2024-05-16T18:56:48.449Z] Removing intermediate container b7d45a4b81e0 [2024-05-16T18:56:48.449Z] ---> 9539f894850a [2024-05-16T18:56:48.449Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T18:56:48.449Z] Successfully built 9539f894850a [2024-05-16T18:56:48.449Z] 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-16T18:56:49.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:56:49.502Z] [2024-05-16T18:56:49.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:56:49.908Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:56:49.908Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-16T18:56:49.908Z] 5eb5b503b376: Pulling fs layer [2024-05-16T18:56:49.908Z] 5c69ac0246d0: Pulling fs layer [2024-05-16T18:56:49.908Z] ec43610c2a17: Pulling fs layer [2024-05-16T18:56:49.908Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-16T18:56:49.908Z] 33b1e0a273af: Pulling fs layer [2024-05-16T18:56:49.908Z] 5d3b04190fa2: Pulling fs layer [2024-05-16T18:56:49.908Z] 2f39f015ded8: Pulling fs layer [2024-05-16T18:56:49.908Z] 33b1e0a273af: Waiting [2024-05-16T18:56:49.908Z] 3a2ae6a8a46f: Waiting [2024-05-16T18:56:49.908Z] 2f39f015ded8: Waiting [2024-05-16T18:56:49.908Z] 5c69ac0246d0: Download complete [2024-05-16T18:56:49.908Z] 3a2ae6a8a46f: Download complete [2024-05-16T18:56:49.908Z] 33b1e0a273af: Verifying Checksum [2024-05-16T18:56:49.908Z] 33b1e0a273af: Download complete [2024-05-16T18:56:49.908Z] 5d3b04190fa2: Verifying Checksum [2024-05-16T18:56:49.908Z] 5d3b04190fa2: Download complete [2024-05-16T18:56:49.908Z] ec43610c2a17: Verifying Checksum [2024-05-16T18:56:49.908Z] ec43610c2a17: Download complete [2024-05-16T18:56:50.166Z] 5eb5b503b376: Verifying Checksum [2024-05-16T18:56:50.166Z] 5eb5b503b376: Download complete [2024-05-16T18:56:51.098Z] 2f39f015ded8: Download complete [2024-05-16T18:56:51.362Z] 5eb5b503b376: Pull complete [2024-05-16T18:56:51.633Z] 5c69ac0246d0: Pull complete [2024-05-16T18:56:51.891Z] ec43610c2a17: Pull complete [2024-05-16T18:56:52.150Z] 3a2ae6a8a46f: Pull complete [2024-05-16T18:56:52.150Z] 33b1e0a273af: Pull complete [2024-05-16T18:56:52.410Z] 5d3b04190fa2: Pull complete [2024-05-16T18:56:57.679Z] 2f39f015ded8: Pull complete [2024-05-16T18:56:57.679Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-16T18:56:57.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:56:57.679Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:56:57.949Z] prd-ubuntu20.04-docker-8c-8g-304 does not seem to be running inside a container [2024-05-16T18:56:57.984Z] $ 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-51 -v /w/workspace/edgexfoundry_device-uart_PR-51:/w/workspace/edgexfoundry_device-uart_PR-51:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-51@tmp:/w/workspace/edgexfoundry_device-uart_PR-51@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-16T18:57:02.482Z] $ docker top 5a8fbb95b0567fc86111ac4861b0c7fd18c821c285b21b400ddb99436f89ddcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:57:02.969Z] ---> job-cost.sh [2024-05-16T18:57:02.969Z] lf-activate-venv: SKIPPING [2024-05-16T18:57:02.969Z] INFO: No Stack... [2024-05-16T18:57:03.230Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T18:57:03.509Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T18:57:03.846Z] + cat /w/workspace/edgexfoundry_device-uart_PR-51/archives/cost.csv [2024-05-16T18:57:03.846Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T18:57:03.897Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-51-1-stack-cost] [2024-05-16T18:57:03.903Z] Resource [jenkins-edgexfoundry-device-uart-PR-51-1-stack-cost] did not exist. Created. [2024-05-16T18:57:03.910Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-51-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T18:57:04.351Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-16T18:57:04.411Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T18:57:04.451Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-51-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T18:57:04.563Z] $ docker stop --time=1 5a8fbb95b0567fc86111ac4861b0c7fd18c821c285b21b400ddb99436f89ddcb [2024-05-16T18:57:06.341Z] $ docker rm -f --volumes 5a8fbb95b0567fc86111ac4861b0c7fd18c821c285b21b400ddb99436f89ddcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-16T18:57:14.844Z] Removing intermediate container 6426e035e397 [2024-05-16T18:57:14.844Z] ---> aa1ffb1beba2 [2024-05-16T18:57:14.844Z] Step 10/12 : COPY . . [2024-05-16T18:57:16.269Z] ---> 255be8f031c8 [2024-05-16T18:57:16.269Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T18:57:16.269Z] ---> Running in 9ddbaf8edd17 [2024-05-16T18:57:16.539Z] Removing intermediate container 9ddbaf8edd17 [2024-05-16T18:57:16.539Z] ---> 42eb6176bf35 [2024-05-16T18:57:16.539Z] Step 12/12 : RUN ${MAKE} [2024-05-16T18:57:16.539Z] ---> Running in 0d3ef01fc9a6 [2024-05-16T18:57:17.498Z] noop [2024-05-16T18:57:18.466Z] Removing intermediate container 0d3ef01fc9a6 [2024-05-16T18:57:18.466Z] ---> e2d1aca18a1e [2024-05-16T18:57:18.466Z] Successfully built e2d1aca18a1e [2024-05-16T18:57:18.466Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:57:18.993Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T18:57:18.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:57:19.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-303 does not seem to be running inside a container [2024-05-16T18:57:19.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-16T18:57:20.698Z] $ docker top d91d0bef4955ce390c13bfaca7c1d6dfa15cdbd3f7723acfd3b4acacd708853c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:57:21.622Z] + go version [2024-05-16T18:57:21.622Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-16T18:57:21.665Z] $ docker stop --time=1 d91d0bef4955ce390c13bfaca7c1d6dfa15cdbd3f7723acfd3b4acacd708853c [2024-05-16T18:57:23.333Z] $ docker rm -f --volumes d91d0bef4955ce390c13bfaca7c1d6dfa15cdbd3f7723acfd3b4acacd708853c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:57:24.298Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T18:57:24.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:57:24.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-303 does not seem to be running inside a container [2024-05-16T18:57:24.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-16T18:57:25.992Z] $ docker top cec38e1d7e48fe698da4a3bc2c9db7c0b0b4f48d3efe15521cdec644bb38e890 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:57:26.917Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-05-16T18:57:27.667Z] + make test [2024-05-16T18:57:27.667Z] go test ./... -coverprofile=coverage.out [2024-05-16T18:57:34.331Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-05-16T19:01:11.106Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-05-16T19:01:11.106Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-05-16T19:01:11.106Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-16T19:01:11.106Z] go vet ./... [2024-05-16T19:01:57.973Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T19:01:57.973Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T19:01:57.973Z] ./bin/test-attribution-txt.sh [2024-05-16T19:01:57.973Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T19:01:57.973Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T19:01:58.242Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T19:01:58.509Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T19:01:58.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T19:01:58.607Z] $ docker stop --time=1 cec38e1d7e48fe698da4a3bc2c9db7c0b0b4f48d3efe15521cdec644bb38e890 [2024-05-16T19:02:00.571Z] $ docker rm -f --volumes cec38e1d7e48fe698da4a3bc2c9db7c0b0b4f48d3efe15521cdec644bb38e890 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T19:02:02.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T19:02:02.349Z] Warning: overwriting stash ‘coverage-report’ [2024-05-16T19:02:03.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T19:02:03.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T19:02:04.179Z] + ls -al . [2024-05-16T19:02:04.179Z] total 220 [2024-05-16T19:02:04.179Z] drwxrwxr-x 7 jenkins jenkins 4096 May 16 18:57 . [2024-05-16T19:02:04.179Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:54 .. [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 18:54 .dockerignore [2024-05-16T19:02:04.179Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:54 .git [2024-05-16T19:02:04.179Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:54 .github [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 343 May 16 18:54 .gitignore [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 18:54 .golangci.yml [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 9941 May 16 18:54 Attribution.txt [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 1908 May 16 18:54 CHANGELOG.md [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 1886 May 16 18:54 Dockerfile [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 18:54 GOVERNANCE.md [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 675 May 16 18:54 Jenkinsfile [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 18:54 LICENSE [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 1872 May 16 18:54 Makefile [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 617 May 16 18:54 OWNERS.md [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 8892 May 16 18:54 README.md [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:54 VERSION [2024-05-16T19:02:04.179Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:54 bin [2024-05-16T19:02:04.179Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:54 cmd [2024-05-16T19:02:04.179Z] -rw-r--r-- 1 jenkins jenkins 10 May 16 18:57 coverage.out [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 7068 May 16 18:54 go.mod [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 101736 May 16 18:54 go.sum [2024-05-16T19:02:04.179Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:54 internal [2024-05-16T19:02:04.179Z] -rw-rw-r-- 1 jenkins jenkins 209 May 16 18:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T19:02:04.646Z] + 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=2678f1c9bb6f240346ec65781dd6abb3ca640c76 --label arch=arm64 --label version=0.0.0 . [2024-05-16T19:02:05.254Z] Sending build context to Docker daemon 11.63MB [2024-05-16T19:02:05.254Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T19:02:05.254Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-16T19:02:05.254Z] ---> e2d1aca18a1e [2024-05-16T19:02:05.254Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-16T19:02:05.254Z] ---> Running in edb0b9a41427 [2024-05-16T19:02:05.852Z] Removing intermediate container edb0b9a41427 [2024-05-16T19:02:05.852Z] ---> 285cd16c5d12 [2024-05-16T19:02:05.852Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-16T19:02:05.852Z] ---> Running in d7f48adcad0c [2024-05-16T19:02:06.121Z] Removing intermediate container d7f48adcad0c [2024-05-16T19:02:06.121Z] ---> 8bf48c81e7c5 [2024-05-16T19:02:06.121Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-16T19:02:06.121Z] ---> Running in 84c6165b2634 [2024-05-16T19:02:06.399Z] Removing intermediate container 84c6165b2634 [2024-05-16T19:02:06.399Z] ---> b130ec070d33 [2024-05-16T19:02:06.399Z] Step 6/26 : WORKDIR /device-uart [2024-05-16T19:02:06.669Z] ---> Running in ac4253a9eda6 [2024-05-16T19:02:06.949Z] Removing intermediate container ac4253a9eda6 [2024-05-16T19:02:06.949Z] ---> e8d6b3a0cde2 [2024-05-16T19:02:06.949Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-16T19:02:06.949Z] ---> Running in 5b3d601b6fa8 [2024-05-16T19:02:08.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T19:02:08.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T19:02:10.103Z] OK: 271 MiB in 56 packages [2024-05-16T19:02:10.696Z] Removing intermediate container 5b3d601b6fa8 [2024-05-16T19:02:10.696Z] ---> 7555f4ae4304 [2024-05-16T19:02:10.696Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-16T19:02:11.294Z] ---> 2d01ceb44e59 [2024-05-16T19:02:11.294Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T19:02:11.585Z] ---> Running in 2377b606656c [2024-05-16T19:02:14.183Z] Removing intermediate container 2377b606656c [2024-05-16T19:02:14.183Z] ---> 2065ba090a7d [2024-05-16T19:02:14.183Z] Step 10/26 : COPY . . [2024-05-16T19:02:15.148Z] ---> eba6aa838fff [2024-05-16T19:02:15.148Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T19:02:15.148Z] ---> Running in 58fb9fe40b55 [2024-05-16T19:02:15.420Z] Removing intermediate container 58fb9fe40b55 [2024-05-16T19:02:15.420Z] ---> 39c5d0bae386 [2024-05-16T19:02:15.420Z] Step 12/26 : RUN ${MAKE} [2024-05-16T19:02:15.420Z] ---> Running in 97a76907f054 [2024-05-16T19:02:16.853Z] 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.13" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-05-16T19:05:53.648Z] Removing intermediate container 97a76907f054 [2024-05-16T19:05:53.648Z] ---> d3615263ba51 [2024-05-16T19:05:53.648Z] Step 13/26 : FROM alpine:3.18 [2024-05-16T19:05:53.648Z] 3.18: Pulling from library/alpine [2024-05-16T19:05:53.648Z] c6b39de5b339: Already exists [2024-05-16T19:05:53.648Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T19:05:53.649Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T19:05:53.649Z] ---> 33abbf032149 [2024-05-16T19:05:53.649Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-05-16T19:05:53.649Z] ---> Running in 78e51b79e06a [2024-05-16T19:05:53.649Z] Removing intermediate container 78e51b79e06a [2024-05-16T19:05:53.649Z] ---> ae0d355e4b52 [2024-05-16T19:05:53.649Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-16T19:05:53.649Z] ---> Running in 309c8ff73ecb [2024-05-16T19:05:53.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T19:05:54.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T19:05:55.451Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T19:05:55.451Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T19:05:55.451Z] OK: 8 MiB in 16 packages [2024-05-16T19:05:56.416Z] Removing intermediate container 309c8ff73ecb [2024-05-16T19:05:56.416Z] ---> 54e80057d997 [2024-05-16T19:05:56.416Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-16T19:05:56.416Z] ---> Running in 5e3e424cc517 [2024-05-16T19:05:57.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T19:05:57.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T19:05:58.594Z] Upgrading critical system libraries and apk-tools: [2024-05-16T19:05:58.594Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T19:05:58.594Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T19:05:58.858Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T19:05:58.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T19:05:59.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T19:06:00.077Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T19:06:00.077Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T19:06:00.077Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T19:06:00.077Z] OK: 8 MiB in 16 packages [2024-05-16T19:06:01.033Z] Removing intermediate container 5e3e424cc517 [2024-05-16T19:06:01.033Z] ---> 6f7e275eb3fe [2024-05-16T19:06:01.033Z] Step 17/26 : WORKDIR / [2024-05-16T19:06:01.033Z] ---> Running in bcf72c3c1fbe [2024-05-16T19:06:01.626Z] Removing intermediate container bcf72c3c1fbe [2024-05-16T19:06:01.626Z] ---> 1ff12a618303 [2024-05-16T19:06:01.626Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-05-16T19:06:01.898Z] ---> 601bb957f660 [2024-05-16T19:06:01.898Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-05-16T19:06:02.478Z] ---> 777b6973e13f [2024-05-16T19:06:02.478Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-05-16T19:06:05.060Z] ---> 4112d41a00c3 [2024-05-16T19:06:05.060Z] Step 21/26 : EXPOSE 59995 [2024-05-16T19:06:05.060Z] ---> Running in 3eaff20b54c6 [2024-05-16T19:06:05.060Z] Removing intermediate container 3eaff20b54c6 [2024-05-16T19:06:05.060Z] ---> 7b9b86d23b2d [2024-05-16T19:06:05.060Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-05-16T19:06:05.060Z] ---> Running in 6e7d1512b19e [2024-05-16T19:06:05.327Z] Removing intermediate container 6e7d1512b19e [2024-05-16T19:06:05.327Z] ---> 6c30a762fdea [2024-05-16T19:06:05.327Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-16T19:06:05.327Z] ---> Running in 4366d4af6332 [2024-05-16T19:06:05.593Z] Removing intermediate container 4366d4af6332 [2024-05-16T19:06:05.593Z] ---> 5e89b8072eb0 [2024-05-16T19:06:05.593Z] Step 24/26 : LABEL arch=arm64 [2024-05-16T19:06:05.859Z] ---> Running in f83ccb9c2805 [2024-05-16T19:06:06.126Z] Removing intermediate container f83ccb9c2805 [2024-05-16T19:06:06.126Z] ---> 1b8390c792d1 [2024-05-16T19:06:06.126Z] Step 25/26 : LABEL git_sha=2678f1c9bb6f240346ec65781dd6abb3ca640c76 [2024-05-16T19:06:06.126Z] ---> Running in 8ca3eab47da8 [2024-05-16T19:06:06.391Z] Removing intermediate container 8ca3eab47da8 [2024-05-16T19:06:06.391Z] ---> cdd7eb2de0af [2024-05-16T19:06:06.391Z] Step 26/26 : LABEL version=0.0.0 [2024-05-16T19:06:06.391Z] ---> Running in f8c4640877ce [2024-05-16T19:06:06.657Z] Removing intermediate container f8c4640877ce [2024-05-16T19:06:06.657Z] ---> b36f76626591 [2024-05-16T19:06:06.657Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T19:06:06.657Z] Successfully built b36f76626591 [2024-05-16T19:06:06.657Z] 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-16T19:06:07.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:06:07.607Z] [2024-05-16T19:06:07.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T19:06:08.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:06:08.012Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-16T19:06:08.012Z] 8998bd30e6a1: Pulling fs layer [2024-05-16T19:06:08.012Z] 04944245beec: Pulling fs layer [2024-05-16T19:06:08.012Z] 699f458cf7ca: Pulling fs layer [2024-05-16T19:06:08.012Z] 765212b225bb: Pulling fs layer [2024-05-16T19:06:08.012Z] f23df028b6ca: Pulling fs layer [2024-05-16T19:06:08.012Z] d65c8cfc05b1: Pulling fs layer [2024-05-16T19:06:08.012Z] 2437ff75d9bd: Pulling fs layer [2024-05-16T19:06:08.012Z] 765212b225bb: Waiting [2024-05-16T19:06:08.012Z] f23df028b6ca: Waiting [2024-05-16T19:06:08.012Z] d65c8cfc05b1: Waiting [2024-05-16T19:06:08.012Z] 2437ff75d9bd: Waiting [2024-05-16T19:06:08.276Z] 04944245beec: Verifying Checksum [2024-05-16T19:06:08.276Z] 04944245beec: Download complete [2024-05-16T19:06:08.276Z] 765212b225bb: Verifying Checksum [2024-05-16T19:06:08.276Z] 765212b225bb: Download complete [2024-05-16T19:06:08.276Z] f23df028b6ca: Download complete [2024-05-16T19:06:08.276Z] d65c8cfc05b1: Verifying Checksum [2024-05-16T19:06:08.276Z] d65c8cfc05b1: Download complete [2024-05-16T19:06:08.276Z] 699f458cf7ca: Verifying Checksum [2024-05-16T19:06:08.276Z] 699f458cf7ca: Download complete [2024-05-16T19:06:08.858Z] 8998bd30e6a1: Verifying Checksum [2024-05-16T19:06:08.858Z] 8998bd30e6a1: Download complete [2024-05-16T19:06:11.431Z] 2437ff75d9bd: Verifying Checksum [2024-05-16T19:06:11.431Z] 2437ff75d9bd: Download complete [2024-05-16T19:06:13.373Z] 8998bd30e6a1: Pull complete [2024-05-16T19:06:13.955Z] 04944245beec: Pull complete [2024-05-16T19:06:15.362Z] 699f458cf7ca: Pull complete [2024-05-16T19:06:15.628Z] 765212b225bb: Pull complete [2024-05-16T19:06:16.585Z] f23df028b6ca: Pull complete [2024-05-16T19:06:16.585Z] d65c8cfc05b1: Pull complete [2024-05-16T19:06:34.779Z] 2437ff75d9bd: Pull complete [2024-05-16T19:06:34.779Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-16T19:06:34.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:06:34.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T19:06:35.138Z] prd-ubuntu20.04-docker-arm64-4c-16g-303 does not seem to be running inside a container [2024-05-16T19:06:35.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-16T19:06:37.726Z] $ docker top 7c9a301e227afc77b02f5bf7fe9b19b5b4bb83b34c5816eac1a1b0727a55f24c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:06:38.611Z] ---> job-cost.sh [2024-05-16T19:06:38.612Z] lf-activate-venv: SKIPPING [2024-05-16T19:06:38.612Z] INFO: No Stack... [2024-05-16T19:06:39.187Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-16T19:06:39.766Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T19:06:40.431Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-05-16T19:06:40.431Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T19:06:40.512Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-51-1-stack-cost] [2024-05-16T19:06:40.518Z] Resource [jenkins-edgexfoundry-device-uart-PR-51-1-stack-cost] did not exist. Created. [2024-05-16T19:06:40.525Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-51-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T19:06:41.279Z] /w/workspace/device-uart/1@tmp/durable-18273da6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-16T19:06:41.948Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-16T19:06:41.993Z] Warning: overwriting stash ‘stack-cost’ [2024-05-16T19:06:42.037Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T19:06:42.057Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-51-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T19:06:42.166Z] $ docker stop --time=1 7c9a301e227afc77b02f5bf7fe9b19b5b4bb83b34c5816eac1a1b0727a55f24c [2024-05-16T19:06:43.653Z] $ docker rm -f --volumes 7c9a301e227afc77b02f5bf7fe9b19b5b4bb83b34c5816eac1a1b0727a55f24c [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-16T19:06:44.863Z] provisioning config files... [2024-05-16T19:06:44.885Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-51@tmp/config17021952240887870503tmp [Pipeline] { [Pipeline] sh [2024-05-16T19:06:45.290Z] + set +x [2024-05-16T19:06:45.290Z] + curl -s https://codecov.io/bash [2024-05-16T19:06:45.290Z] + bash -s -- [2024-05-16T19:06:45.290Z] [2024-05-16T19:06:45.290Z] _____ _ [2024-05-16T19:06:45.290Z] / ____| | | [2024-05-16T19:06:45.290Z] | | ___ __| | ___ ___ _____ __ [2024-05-16T19:06:45.290Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-16T19:06:45.290Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-16T19:06:45.290Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-16T19:06:45.290Z] Bash-1.0.6 [2024-05-16T19:06:45.290Z] [2024-05-16T19:06:45.290Z] [2024-05-16T19:06:45.290Z] ==> git version 2.25.1 found [2024-05-16T19:06:45.291Z] ==> 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-16T19:06:45.291Z] Release-Date: 2020-01-08 [2024-05-16T19:06:45.291Z] 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-16T19:06:45.291Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-16T19:06:45.291Z] ==> Jenkins CI detected. [2024-05-16T19:06:45.291Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-51 [2024-05-16T19:06:45.291Z] project root: . [2024-05-16T19:06:45.291Z] --> token set from env [2024-05-16T19:06:45.291Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-16T19:06:45.291Z] ==> Running gcov in . (disable via -X gcov) [2024-05-16T19:06:45.291Z] ==> Python coveragepy not found [2024-05-16T19:06:45.291Z] ==> Searching for coverage reports in: [2024-05-16T19:06:45.291Z] + . [2024-05-16T19:06:45.291Z] -> Found 1 reports [2024-05-16T19:06:45.291Z] ==> Detecting git/mercurial file structure [2024-05-16T19:06:45.291Z] ==> Reading reports [2024-05-16T19:06:45.291Z] + ./coverage.out bytes=10 [2024-05-16T19:06:45.291Z] ==> Appending adjustments [2024-05-16T19:06:45.291Z] https://docs.codecov.io/docs/fixing-reports [2024-05-16T19:06:45.291Z] + Found adjustments [2024-05-16T19:06:45.291Z] ==> Gzipping contents [2024-05-16T19:06:45.570Z] 4.0K /tmp/codecov.UPmq3p.gz [2024-05-16T19:06:45.570Z] ==> Uploading reports [2024-05-16T19:06:45.570Z] url: https://codecov.io [2024-05-16T19:06:45.570Z] query: branch=PR-51&commit=2678f1c9bb6f240346ec65781dd6abb3ca640c76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-51%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=51&job=&cmd_args= [2024-05-16T19:06:45.570Z] -> Pinging Codecov [2024-05-16T19:06:45.570Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-51&commit=2678f1c9bb6f240346ec65781dd6abb3ca640c76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-51%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=51&job=&cmd_args= [2024-05-16T19:06:46.139Z] -> Uploading to [2024-05-16T19:06:46.139Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-16/B9AA6E0BBD74AE3A32605C7A7C664919/2678f1c9bb6f240346ec65781dd6abb3ca640c76/75aa0d7c-d8f5-4e31-b7c8-c7cd344c78e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T190645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=80035cf23fedd2095b89890df329e9695d55799c7b1ea0ce3ff6e32715647592 [2024-05-16T19:06:46.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T19:06:46.139Z] Dload Upload Total Spent Left Speed [2024-05-16T19:06:46.139Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2576 --:--:-- --:--:-- --:--:-- 2576 [2024-05-16T19:06:46.139Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/2678f1c9bb6f240346ec65781dd6abb3ca640c76 [Pipeline] } [2024-05-16T19:06:46.174Z] 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-16T19:06:48.474Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-51/archives ] [2024-05-16T19:06:48.474Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-51/archives [2024-05-16T19:06:48.474Z] total 16 [2024-05-16T19:06:48.474Z] drwxr-xr-x 3 root root 4096 May 16 18:57 . [2024-05-16T19:06:48.474Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 18:57 .. [2024-05-16T19:06:48.474Z] drwxr-xr-x 2 root root 4096 May 16 18:57 cost [2024-05-16T19:06:48.474Z] -rw-r--r-- 1 root root 82 May 16 18:57 cost.csv [2024-05-16T19:06:48.474Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-51/archives [2024-05-16T19:06:48.474Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-51/archives [2024-05-16T19:06:48.474Z] total 16 [2024-05-16T19:06:48.474Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:57 . [2024-05-16T19:06:48.474Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 18:57 .. [2024-05-16T19:06:48.474Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 18:57 cost [2024-05-16T19:06:48.474Z] -rw-r--r-- 1 jenkins jenkins 82 May 16 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:06:48.827Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:06:49.737Z] ---> package-listing.sh [2024-05-16T19:06:49.737Z] ++ facter osfamily [2024-05-16T19:06:49.737Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-16T19:06:49.998Z] + OS_FAMILY=debian [2024-05-16T19:06:49.998Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-51 [2024-05-16T19:06:49.998Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-16T19:06:49.998Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-16T19:06:49.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-16T19:06:49.998Z] + PACKAGES=/tmp/packages_start.txt [2024-05-16T19:06:49.998Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-51 ']' [2024-05-16T19:06:49.998Z] + PACKAGES=/tmp/packages_end.txt [2024-05-16T19:06:49.998Z] + case "${OS_FAMILY}" in [2024-05-16T19:06:49.998Z] + dpkg -l [2024-05-16T19:06:49.998Z] + grep '^ii' [2024-05-16T19:06:49.998Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-16T19:06:49.998Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-16T19:06:49.998Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-16T19:06:49.998Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-51 ']' [2024-05-16T19:06:49.998Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-51/archives/ [2024-05-16T19:06:49.998Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-51/archives/ [Pipeline] echo [2024-05-16T19:06:50.043Z] 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-51/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-16T19:06:50.356Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T19:06:51.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T19:06:51.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T19:06:51.178Z] prd-ubuntu20.04-docker-8c-8g-304 does not seem to be running inside a container [2024-05-16T19:06:51.212Z] $ 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-51/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-51 -v /w/workspace/edgexfoundry_device-uart_PR-51:/w/workspace/edgexfoundry_device-uart_PR-51:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-51@tmp:/w/workspace/edgexfoundry_device-uart_PR-51@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-16T19:06:51.404Z] $ docker top fbb2386f55d1c0d729d77bff0069e9ce210883aba39becd563722aa299e59184 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T19:06:51.822Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-16T19:06:52.147Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-16T19:06:52.464Z] + ls /var/log/sa-host [2024-05-16T19:06:52.464Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T19:06:52.634Z] provisioning config files... [2024-05-16T19:06:52.645Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-51@tmp/config15775836972867496851tmp [Pipeline] { [Pipeline] echo [2024-05-16T19:06:52.721Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:06:53.048Z] ---> create-netrc.sh [Pipeline] } [2024-05-16T19:06:53.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:06:53.518Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-16T19:06:53.561Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:06:53.896Z] ---> sudo-logs.sh [2024-05-16T19:06:53.896Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-16T19:06:54.035Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:06:54.364Z] ---> job-cost.sh [2024-05-16T19:06:54.364Z] lf-activate-venv: SKIPPING [2024-05-16T19:06:54.364Z] DEBUG: total: 0.2199999988079071 [2024-05-16T19:06:54.364Z] INFO: Retrieving Stack Cost... [2024-05-16T19:06:54.934Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T19:06:55.194Z] INFO: Archiving Costs [Pipeline] echo [2024-05-16T19:06:55.235Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:06:55.558Z] ---> logs-deploy.sh [2024-05-16T19:06:55.558Z] lf-activate-venv: SKIPPING [2024-05-16T19:06:55.558Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-51/1 [2024-05-16T19:06:55.558Z] INFO: archiving workspace using pattern(s): [2024-05-16T19:06:56.496Z] Archives upload complete. [2024-05-16T19:06:56.757Z] INFO: archiving logs to Nexus