Pull request #63 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92e2326a733f2903df72cb25f03abd09c9e8f46d+613adc0de45787bd800a7a9fb2523a657efd5d33 (3218870d575ed61ca63ef041ecb0fa305453580b) 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-ssh3660075623788671933.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18162172203669061731.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-63/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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9644580417722959815.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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9858888387073585488.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15364569283411568528.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-63/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-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2720267758863935802.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6778 in /w/workspace/edgexfoundry_device-uart_PR-63 [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-63 # 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/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 613adc0de45787bd800a7a9fb2523a657efd5d33 into PR head commit 92e2326a733f2903df72cb25f03abd09c9e8f46d Merge succeeded, producing 92e2326a733f2903df72cb25f03abd09c9e8f46d Checking out Revision 92e2326a733f2903df72cb25f03abd09c9e8f46d (PR-63) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 92e2326a733f2903df72cb25f03abd09c9e8f46d # 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 613adc0de45787bd800a7a9fb2523a657efd5d33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92e2326a733f2903df72cb25f03abd09c9e8f46d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-30T19:01:38.207Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-30T19:01:38.448Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-30T19:01:38.589Z] ========================================================= [2024-07-30T19:01:38.589Z] EdgeX Global Pipelines Version Info [2024-07-30T19:01:38.589Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:01:39.354Z] ------------------- [2024-07-30T19:01:39.354Z] stable info: [2024-07-30T19:01:39.354Z] ------------------- [2024-07-30T19:01:39.354Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-30T19:01:39.354Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-30T19:01:39.354Z] Message: update stable to v1.0.260 [2024-07-30T19:01:39.925Z] ------------------- [2024-07-30T19:01:39.925Z] experimental info: [2024-07-30T19:01:39.925Z] ------------------- [2024-07-30T19:01:39.925Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-30T19:01:39.925Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-30T19:01:39.925Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-30T19:01:40.155Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-07-30T19:01:40.215Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-07-30T19:01:40.271Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-30T19:01:40.332Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-30T19:01:40.396Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-30T19:01:40.461Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-30T19:01:40.524Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-30T19:01:40.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-30T19:01:40.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-30T19:01:40.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-30T19:01:40.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-30T19:01:40.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-07-30T19:01:40.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-30T19:01:40.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-30T19:01:41.026Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-30T19:01:41.089Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-30T19:01:41.153Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T19:01:41.212Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T19:01:41.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-30T19:01:41.342Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-30T19:01:41.407Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-30T19:01:41.470Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-30T19:01:41.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-30T19:01:41.587Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-30T19:01:41.654Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-30T19:01:41.713Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-30T19:01:41.768Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-30T19:01:41.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-63 [Pipeline] echo [2024-07-30T19:01:41.884Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-63 [Pipeline] echo [2024-07-30T19:01:41.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-63 [Pipeline] echo [2024-07-30T19:01:42.003Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] echo [2024-07-30T19:01:42.063Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92e2326 [Pipeline] echo [2024-07-30T19:01:42.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T19:01:42.304Z] provisioning config files... [2024-07-30T19:01:42.318Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-63@tmp/config5483014375603035202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:01:42.713Z] ---> ****-login.sh [2024-07-30T19:01:42.714Z] nexus3.edgexfoundry.org:10001 [2024-07-30T19:01:42.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:01:43.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:01:43.236Z] Configure a credential helper to remove this warning. See [2024-07-30T19:01:43.236Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:01:43.236Z] [2024-07-30T19:01:43.236Z] Login Succeeded [2024-07-30T19:01:43.236Z] nexus3.edgexfoundry.org:10002 [2024-07-30T19:01:43.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:01:43.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:01:43.237Z] Configure a credential helper to remove this warning. See [2024-07-30T19:01:43.237Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:01:43.237Z] [2024-07-30T19:01:43.237Z] Login Succeeded [2024-07-30T19:01:43.237Z] nexus3.edgexfoundry.org:10003 [2024-07-30T19:01:43.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:01:43.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:01:43.237Z] Configure a credential helper to remove this warning. See [2024-07-30T19:01:43.237Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:01:43.237Z] [2024-07-30T19:01:43.237Z] Login Succeeded [2024-07-30T19:01:43.237Z] nexus3.edgexfoundry.org:10004 [2024-07-30T19:01:43.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:01:43.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:01:43.499Z] Configure a credential helper to remove this warning. See [2024-07-30T19:01:43.499Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:01:43.499Z] [2024-07-30T19:01:43.499Z] Login Succeeded [2024-07-30T19:01:43.499Z] ****.io [2024-07-30T19:01:43.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:01:43.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:01:43.762Z] Configure a credential helper to remove this warning. See [2024-07-30T19:01:43.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:01:43.762Z] [2024-07-30T19:01:43.762Z] Login Succeeded [2024-07-30T19:01:43.762Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T19:01:43.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-30T19:01:44.500Z] + git rev-list -1 --merges 92e2326a733f2903df72cb25f03abd09c9e8f46d~1..92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] echo [2024-07-30T19:01:44.551Z] -----------> git rev-list -1 --merges 92e2326a733f2903df72cb25f03abd09c9e8f46d~1..92e2326a733f2903df72cb25f03abd09c9e8f46d 92e2326a733f2903df72cb25f03abd09c9e8f46d [false] [Pipeline] sh [2024-07-30T19:01:44.881Z] + git log --format=format:%s -1 92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] echo [2024-07-30T19:01:44.929Z] ========================================================= [2024-07-30T19:01:44.929Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-30T19:01:44.929Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T19:01:45.382Z] + git log --format=format:%s -1 92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] echo [2024-07-30T19:01:45.422Z] [semverPrep] GIT_COMMIT: 92e2326a733f2903df72cb25f03abd09c9e8f46d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-30T19:01:45.466Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-30T19:01:45.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-30T19:01:45.913Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-30T19:01:45.913Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-30T19:01:45.913Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-30T19:01:45.913Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-07-30T19:01:45.913Z] -a /etc/ssh/ssh_known_hosts [2024-07-30T19:01:45.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:01:46.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T19:01:46.461Z] [2024-07-30T19:01:46.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:01:46.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T19:01:46.874Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-30T19:01:46.874Z] b85a868b505f: Pulling fs layer [2024-07-30T19:01:46.874Z] e2be974225ed: Pulling fs layer [2024-07-30T19:01:46.874Z] 339a4e72a1f5: Pulling fs layer [2024-07-30T19:01:46.874Z] 988bab9f4d93: Pulling fs layer [2024-07-30T19:01:46.874Z] 1469e6f7b9e6: Pulling fs layer [2024-07-30T19:01:46.874Z] eaf3925da568: Pulling fs layer [2024-07-30T19:01:46.874Z] bab4dde63d76: Pulling fs layer [2024-07-30T19:01:46.874Z] bde34c3a00c8: Pulling fs layer [2024-07-30T19:01:46.874Z] b352a97aabf1: Pulling fs layer [2024-07-30T19:01:46.874Z] 4872d77fe225: Pulling fs layer [2024-07-30T19:01:46.874Z] 5851b861e8e6: Pulling fs layer [2024-07-30T19:01:46.874Z] b352a97aabf1: Waiting [2024-07-30T19:01:46.874Z] bde34c3a00c8: Waiting [2024-07-30T19:01:46.874Z] eaf3925da568: Waiting [2024-07-30T19:01:46.874Z] 4872d77fe225: Waiting [2024-07-30T19:01:46.874Z] 5851b861e8e6: Waiting [2024-07-30T19:01:46.874Z] bab4dde63d76: Waiting [2024-07-30T19:01:46.874Z] 1469e6f7b9e6: Waiting [2024-07-30T19:01:46.874Z] e2be974225ed: Verifying Checksum [2024-07-30T19:01:46.874Z] e2be974225ed: Download complete [2024-07-30T19:01:46.874Z] 988bab9f4d93: Download complete [2024-07-30T19:01:47.134Z] 339a4e72a1f5: Verifying Checksum [2024-07-30T19:01:47.134Z] 339a4e72a1f5: Download complete [2024-07-30T19:01:47.134Z] 1469e6f7b9e6: Verifying Checksum [2024-07-30T19:01:47.134Z] 1469e6f7b9e6: Download complete [2024-07-30T19:01:47.134Z] eaf3925da568: Verifying Checksum [2024-07-30T19:01:47.134Z] eaf3925da568: Download complete [2024-07-30T19:01:47.134Z] bde34c3a00c8: Verifying Checksum [2024-07-30T19:01:47.134Z] bde34c3a00c8: Download complete [2024-07-30T19:01:47.134Z] b352a97aabf1: Verifying Checksum [2024-07-30T19:01:47.134Z] b352a97aabf1: Download complete [2024-07-30T19:01:47.134Z] 4872d77fe225: Verifying Checksum [2024-07-30T19:01:47.134Z] 4872d77fe225: Download complete [2024-07-30T19:01:47.134Z] 5851b861e8e6: Verifying Checksum [2024-07-30T19:01:47.134Z] 5851b861e8e6: Download complete [2024-07-30T19:01:47.134Z] b85a868b505f: Verifying Checksum [2024-07-30T19:01:47.134Z] b85a868b505f: Download complete [2024-07-30T19:01:47.393Z] bab4dde63d76: Verifying Checksum [2024-07-30T19:01:47.393Z] bab4dde63d76: Download complete [2024-07-30T19:01:48.328Z] b85a868b505f: Pull complete [2024-07-30T19:01:48.588Z] e2be974225ed: Pull complete [2024-07-30T19:01:48.848Z] 339a4e72a1f5: Pull complete [2024-07-30T19:01:48.848Z] 988bab9f4d93: Pull complete [2024-07-30T19:01:49.107Z] 1469e6f7b9e6: Pull complete [2024-07-30T19:01:49.367Z] eaf3925da568: Pull complete [2024-07-30T19:01:51.328Z] bab4dde63d76: Pull complete [2024-07-30T19:01:51.328Z] bde34c3a00c8: Pull complete [2024-07-30T19:01:51.328Z] b352a97aabf1: Pull complete [2024-07-30T19:01:51.328Z] 4872d77fe225: Pull complete [2024-07-30T19:01:51.328Z] 5851b861e8e6: Pull complete [2024-07-30T19:01:51.328Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-30T19:01:51.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T19:01:51.328Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T19:01:51.627Z] prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container [2024-07-30T19:01:51.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@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-07-30T19:01:54.044Z] $ docker top b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b -eo pid,comm [2024-07-30T19:01:54.097Z] 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-07-30T19:01:54.097Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-30T19:01:54.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-30T19:01:54.273Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-30T19:01:54.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-30T19:01:54.390Z] $ docker exec b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b ssh-agent [2024-07-30T19:01:54.503Z] SSH_AUTH_SOCK=/tmp/ssh-46BuZliT5GSo/agent.32 [2024-07-30T19:01:54.503Z] SSH_AGENT_PID=38 [2024-07-30T19:01:54.509Z] Running ssh-add (command line suppressed) [2024-07-30T19:01:54.613Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-63@tmp/private_key_9661934462048243455.key (/w/workspace/edgexfoundry_device-uart_PR-63@tmp/private_key_9661934462048243455.key) [2024-07-30T19:01:54.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-30T19:01:54.970Z] + git tag --points-at HEAD [Pipeline] } [2024-07-30T19:01:54.995Z] $ docker exec --env ******** --env ******** b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b ssh-agent -k [2024-07-30T19:01:55.086Z] unset SSH_AUTH_SOCK; [2024-07-30T19:01:55.087Z] unset SSH_AGENT_PID; [2024-07-30T19:01:55.087Z] echo Agent pid 38 killed; [2024-07-30T19:01:55.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-30T19:01:55.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-30T19:01:55.219Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-30T19:01:55.336Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-30T19:01:55.337Z] $ docker exec b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b ssh-agent [2024-07-30T19:01:55.439Z] SSH_AUTH_SOCK=/tmp/ssh-M6dIjoAXdiel/agent.72 [2024-07-30T19:01:55.439Z] SSH_AGENT_PID=78 [2024-07-30T19:01:55.444Z] Running ssh-add (command line suppressed) [2024-07-30T19:01:55.546Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-63@tmp/private_key_14938937991550089665.key (/w/workspace/edgexfoundry_device-uart_PR-63@tmp/private_key_14938937991550089665.key) [2024-07-30T19:01:55.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-30T19:01:55.916Z] + git semver init [2024-07-30T19:01:56.176Z] 2024-07-30 19:01:56,076 [run_init] DEBUG init version:0.0.0 force:False [2024-07-30T19:01:56.176Z] 2024-07-30 19:01:56,077 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-63/.semver [2024-07-30T19:01:56.176Z] 2024-07-30 19:01:56,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-63/.semver [2024-07-30T19:01:56.176Z] 2024-07-30 19:01:56,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-63/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-63, universal_newlines=False, shell=None, istream=None) [2024-07-30T19:01:57.557Z] 2024-07-30 19:01:57,207 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-63/.git/info/exclude [2024-07-30T19:01:57.557Z] 2024-07-30 19:01:57,208 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-63/.semver/PR-63 with force:False [2024-07-30T19:01:57.557Z] 2024-07-30 19:01:57,208 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-63/.semver/PR-63 [2024-07-30T19:01:57.557Z] 2024-07-30 19:01:57,212 [execute] INFO git cat-file --batch-check [2024-07-30T19:01:57.557Z] 2024-07-30 19:01:57,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-63/.semver, universal_newlines=False, shell=None, istream=) [2024-07-30T19:01:57.557Z] 2024-07-30 19:01:57,219 [execute] INFO git cat-file --batch [2024-07-30T19:01:57.557Z] 2024-07-30 19:01:57,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-63/.semver, universal_newlines=False, shell=None, istream=) [2024-07-30T19:01:57.557Z] 2024-07-30 19:01:57,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-63/.semver/PR-63 [2024-07-30T19:01:57.557Z] 0.0.0 [Pipeline] } [2024-07-30T19:01:57.588Z] $ docker exec --env ******** --env ******** b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b ssh-agent -k [2024-07-30T19:01:57.686Z] unset SSH_AUTH_SOCK; [2024-07-30T19:01:57.686Z] unset SSH_AGENT_PID; [2024-07-30T19:01:57.686Z] echo Agent pid 78 killed; [2024-07-30T19:01:57.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-30T19:01:58.258Z] + git semver [Pipeline] } [2024-07-30T19:01:58.541Z] $ docker stop --time=1 b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b [2024-07-30T19:01:59.815Z] $ docker rm -f --volumes b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T19:02:00.302Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-30T19:02:00.608Z] Stashed 1 file(s) [Pipeline] echo [2024-07-30T19:02:00.636Z] [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-07-30T19:02:01.371Z] provisioning config files... [2024-07-30T19:02:01.381Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-63@tmp/config14782207446405478987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:02:01.750Z] ---> ****-login.sh [2024-07-30T19:02:01.750Z] nexus3.edgexfoundry.org:10001 [2024-07-30T19:02:01.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:02:01.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:02:01.750Z] Configure a credential helper to remove this warning. See [2024-07-30T19:02:01.750Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:02:01.750Z] [2024-07-30T19:02:01.750Z] Login Succeeded [2024-07-30T19:02:01.750Z] nexus3.edgexfoundry.org:10002 [2024-07-30T19:02:01.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:02:01.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:02:01.751Z] Configure a credential helper to remove this warning. See [2024-07-30T19:02:01.751Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:02:01.751Z] [2024-07-30T19:02:01.751Z] Login Succeeded [2024-07-30T19:02:01.751Z] nexus3.edgexfoundry.org:10003 [2024-07-30T19:02:02.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:02:02.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:02:02.010Z] Configure a credential helper to remove this warning. See [2024-07-30T19:02:02.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:02:02.010Z] [2024-07-30T19:02:02.010Z] Login Succeeded [2024-07-30T19:02:02.010Z] nexus3.edgexfoundry.org:10004 [2024-07-30T19:02:02.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:02:02.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:02:02.010Z] Configure a credential helper to remove this warning. See [2024-07-30T19:02:02.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:02:02.010Z] [2024-07-30T19:02:02.010Z] Login Succeeded [2024-07-30T19:02:02.010Z] ****.io [2024-07-30T19:02:02.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:02:02.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:02:02.269Z] Configure a credential helper to remove this warning. See [2024-07-30T19:02:02.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:02:02.269Z] [2024-07-30T19:02:02.269Z] Login Succeeded [2024-07-30T19:02:02.269Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T19:02:02.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-30T19:02:02.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T19:02:02.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T19:02:02.645Z] ========================================================= [2024-07-30T19:02:02.645Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-30T19:02:02.645Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:02:03.184Z] + 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-07-30T19:02:03.184Z] Sending build context to Docker daemon 25.54MB [2024-07-30T19:02:03.184Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T19:02:03.184Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-30T19:02:03.184Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-30T19:02:03.184Z] 619be1103602: Pulling fs layer [2024-07-30T19:02:03.184Z] 7862e08f4a3e: Pulling fs layer [2024-07-30T19:02:03.184Z] 5df492c9dc93: Pulling fs layer [2024-07-30T19:02:03.184Z] 7629e6793208: Pulling fs layer [2024-07-30T19:02:03.184Z] 4f4fb700ef54: Pulling fs layer [2024-07-30T19:02:03.184Z] fb5054dd5b73: Pulling fs layer [2024-07-30T19:02:03.184Z] eeca6798cff9: Pulling fs layer [2024-07-30T19:02:03.184Z] aa269ceb94a6: Pulling fs layer [2024-07-30T19:02:03.184Z] ada007ff1a6a: Pulling fs layer [2024-07-30T19:02:03.184Z] eeca6798cff9: Waiting [2024-07-30T19:02:03.184Z] 7629e6793208: Waiting [2024-07-30T19:02:03.184Z] 4f4fb700ef54: Waiting [2024-07-30T19:02:03.184Z] fb5054dd5b73: Waiting [2024-07-30T19:02:03.184Z] ada007ff1a6a: Waiting [2024-07-30T19:02:03.184Z] aa269ceb94a6: Waiting [2024-07-30T19:02:03.448Z] 7862e08f4a3e: Verifying Checksum [2024-07-30T19:02:03.448Z] 7862e08f4a3e: Download complete [2024-07-30T19:02:03.448Z] 7629e6793208: Verifying Checksum [2024-07-30T19:02:03.448Z] 7629e6793208: Download complete [2024-07-30T19:02:03.448Z] 4f4fb700ef54: Verifying Checksum [2024-07-30T19:02:03.448Z] 4f4fb700ef54: Download complete [2024-07-30T19:02:03.448Z] 619be1103602: Verifying Checksum [2024-07-30T19:02:03.448Z] 619be1103602: Download complete [2024-07-30T19:02:03.448Z] fb5054dd5b73: Verifying Checksum [2024-07-30T19:02:03.448Z] fb5054dd5b73: Download complete [2024-07-30T19:02:03.448Z] eeca6798cff9: Verifying Checksum [2024-07-30T19:02:03.448Z] eeca6798cff9: Download complete [2024-07-30T19:02:03.448Z] 619be1103602: Pull complete [2024-07-30T19:02:03.707Z] 7862e08f4a3e: Pull complete [2024-07-30T19:02:03.707Z] ada007ff1a6a: Verifying Checksum [2024-07-30T19:02:03.707Z] ada007ff1a6a: Download complete [2024-07-30T19:02:03.707Z] 5df492c9dc93: Verifying Checksum [2024-07-30T19:02:03.707Z] 5df492c9dc93: Download complete [2024-07-30T19:02:04.274Z] aa269ceb94a6: Verifying Checksum [2024-07-30T19:02:04.274Z] aa269ceb94a6: Download complete [2024-07-30T19:02:06.802Z] 5df492c9dc93: Pull complete [2024-07-30T19:02:06.802Z] 7629e6793208: Pull complete [2024-07-30T19:02:06.802Z] 4f4fb700ef54: Pull complete [2024-07-30T19:02:06.802Z] fb5054dd5b73: Pull complete [2024-07-30T19:02:07.061Z] eeca6798cff9: Pull complete [2024-07-30T19:02:09.589Z] aa269ceb94a6: Pull complete [2024-07-30T19:02:09.589Z] ada007ff1a6a: Pull complete [2024-07-30T19:02:09.589Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-30T19:02:09.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-30T19:02:09.589Z] ---> f489d0715acc [2024-07-30T19:02:09.589Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-30T19:02:12.874Z] ---> Running in 0688b0ddc9ef [2024-07-30T19:02:12.874Z] Removing intermediate container 0688b0ddc9ef [2024-07-30T19:02:12.874Z] ---> bd85cbced90d [2024-07-30T19:02:12.874Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-30T19:02:12.874Z] ---> Running in 5f7637efab09 [2024-07-30T19:02:12.874Z] Removing intermediate container 5f7637efab09 [2024-07-30T19:02:12.874Z] ---> 980965db8522 [2024-07-30T19:02:12.874Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-30T19:02:12.874Z] ---> Running in 2ca90a1e2173 [2024-07-30T19:02:12.874Z] Removing intermediate container 2ca90a1e2173 [2024-07-30T19:02:12.874Z] ---> 3881ac01cb21 [2024-07-30T19:02:12.874Z] Step 6/12 : WORKDIR /device-uart [2024-07-30T19:02:12.874Z] ---> Running in a66579fe6d1d [2024-07-30T19:02:12.874Z] Removing intermediate container a66579fe6d1d [2024-07-30T19:02:12.874Z] ---> 039753a18b12 [2024-07-30T19:02:12.874Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-30T19:02:12.874Z] ---> Running in 2cc8a9fa01fd [2024-07-30T19:02:12.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T19:02:13.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T19:02:13.392Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-30T19:02:13.392Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-30T19:02:13.392Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-30T19:02:13.392Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-30T19:02:13.392Z] Executing busybox-1.36.1-r5.trigger [2024-07-30T19:02:13.392Z] OK: 268 MiB in 56 packages [2024-07-30T19:02:13.959Z] Removing intermediate container 2cc8a9fa01fd [2024-07-30T19:02:13.959Z] ---> 1c6419851ec3 [2024-07-30T19:02:13.959Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-30T19:02:13.959Z] ---> e128fb118dfa [2024-07-30T19:02:13.959Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T19:02:13.959Z] ---> Running in 15e028638d80 [2024-07-30T19:02:16.145Z] Still waiting to schedule task [2024-07-30T19:02:16.146Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-30T19:03:00.636Z] Removing intermediate container 15e028638d80 [2024-07-30T19:03:00.637Z] ---> 6ba272c5ac4c [2024-07-30T19:03:00.637Z] Step 10/12 : COPY . . [2024-07-30T19:03:00.637Z] ---> a29b2d483dd9 [2024-07-30T19:03:00.637Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T19:03:00.637Z] ---> Running in 2444868f4464 [2024-07-30T19:03:00.637Z] Removing intermediate container 2444868f4464 [2024-07-30T19:03:00.637Z] ---> b549f2d64a33 [2024-07-30T19:03:00.637Z] Step 12/12 : RUN ${MAKE} [2024-07-30T19:03:00.637Z] ---> Running in ea2fd4b9a127 [2024-07-30T19:03:00.637Z] noop [2024-07-30T19:03:00.637Z] Removing intermediate container ea2fd4b9a127 [2024-07-30T19:03:00.637Z] ---> 20d045b380b1 [2024-07-30T19:03:00.637Z] Successfully built 20d045b380b1 [2024-07-30T19:03:00.637Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:03:01.126Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-30T19:03:01.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T19:03:01.311Z] prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container [2024-07-30T19:03:01.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@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-07-30T19:03:01.709Z] $ docker top 2d189e5bf38edeb57ef2d657f54040ab657f289d4ff96447bf56f710ba567dc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T19:03:02.135Z] + go version [2024-07-30T19:03:02.136Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-30T19:03:02.168Z] $ docker stop --time=1 2d189e5bf38edeb57ef2d657f54040ab657f289d4ff96447bf56f710ba567dc3 [2024-07-30T19:03:03.446Z] $ docker rm -f --volumes 2d189e5bf38edeb57ef2d657f54040ab657f289d4ff96447bf56f710ba567dc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:03:04.255Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-30T19:03:04.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T19:03:04.436Z] prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container [2024-07-30T19:03:04.461Z] $ 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-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@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-07-30T19:03:04.802Z] $ docker top c442be1f9509f0088601f876aa85e10385d1b99e897dcad7418ec8518c5304b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T19:03:05.218Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-63 [Pipeline] fileExists [Pipeline] sh [2024-07-30T19:03:05.606Z] + make test [2024-07-30T19:03:05.606Z] go test ./... -coverprofile=coverage.out [2024-07-30T19:03:06.982Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-30T19:03:25.082Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-30T19:03:25.082Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-30T19:03:35.059Z] go vet ./... [2024-07-30T19:03:41.616Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-30T19:03:41.616Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-30T19:03:41.616Z] ./bin/test-attribution-txt.sh [2024-07-30T19:03:41.616Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-30T19:03:41.616Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-30T19:03:41.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-30T19:03:41.706Z] $ docker stop --time=1 c442be1f9509f0088601f876aa85e10385d1b99e897dcad7418ec8518c5304b8 [2024-07-30T19:03:43.546Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6779 in /w/workspace/edgexfoundry_device-uart_PR-63 [2024-07-30T19:03:43.619Z] $ docker rm -f --volumes c442be1f9509f0088601f876aa85e10385d1b99e897dcad7418ec8518c5304b8 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-07-30T19:03:44.056Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-07-30T19:03:44.261Z] + sudo chown -R jenkins:jenkins . [2024-07-30T19:03:47.156Z] The recommended git tool is: git [Pipeline] stash [2024-07-30T19:03:47.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-30T19:03:47.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-30T19:03:48.316Z] + ls -al . [2024-07-30T19:03:48.317Z] total 224 [2024-07-30T19:03:48.317Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 19:03 . [2024-07-30T19:03:48.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 19:01 .. [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 19:01 .dockerignore [2024-07-30T19:03:48.317Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 19:03 .git [2024-07-30T19:03:48.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:01 .github [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 30 19:01 .gitignore [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 19:01 .golangci.yml [2024-07-30T19:03:48.317Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 19:01 .semver [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 30 19:01 Attribution.txt [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 30 19:01 CHANGELOG.md [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 30 19:01 Dockerfile [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 19:01 GOVERNANCE.md [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 30 19:01 Jenkinsfile [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 19:01 LICENSE [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 30 19:01 Makefile [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 30 19:01 OWNERS.md [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 30 19:01 README.md [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 19:02 VERSION [2024-07-30T19:03:48.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 19:01 bin [2024-07-30T19:03:48.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:01 cmd [2024-07-30T19:03:48.317Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 30 19:03 coverage.out [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 6964 Jul 30 19:01 go.mod [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 101892 Jul 30 19:01 go.sum [2024-07-30T19:03:48.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:01 internal [2024-07-30T19:03:48.317Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 30 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:03:48.737Z] + 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=92e2326a733f2903df72cb25f03abd09c9e8f46d --label arch=amd64 --label version=0.0.0 . [2024-07-30T19:03:48.737Z] Sending build context to Docker daemon 25.54MB [2024-07-30T19:03:48.737Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T19:03:48.737Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-30T19:03:48.737Z] ---> 20d045b380b1 [2024-07-30T19:03:48.737Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-30T19:03:48.998Z] ---> Running in 35cb5f582ce8 [2024-07-30T19:03:48.998Z] Removing intermediate container 35cb5f582ce8 [2024-07-30T19:03:48.998Z] ---> de00df2a40d2 [2024-07-30T19:03:48.998Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-30T19:03:48.998Z] ---> Running in e23b865ffaa9 [2024-07-30T19:03:48.998Z] Removing intermediate container e23b865ffaa9 [2024-07-30T19:03:48.998Z] ---> 5e499fbd8657 [2024-07-30T19:03:48.998Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-30T19:03:48.998Z] ---> Running in 8c9543a026d0 [2024-07-30T19:03:49.255Z] Removing intermediate container 8c9543a026d0 [2024-07-30T19:03:49.255Z] ---> 724e83794b0e [2024-07-30T19:03:49.255Z] Step 6/26 : WORKDIR /device-uart [2024-07-30T19:03:49.255Z] ---> Running in 704251b32f6d [2024-07-30T19:03:49.255Z] Removing intermediate container 704251b32f6d [2024-07-30T19:03:49.255Z] ---> 3c68780bf9a7 [2024-07-30T19:03:49.255Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-30T19:03:49.255Z] ---> Running in e42fbaf48eb5 [2024-07-30T19:03:49.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T19:03:49.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T19:03:50.034Z] OK: 268 MiB in 56 packages [2024-07-30T19:03:50.293Z] Removing intermediate container e42fbaf48eb5 [2024-07-30T19:03:50.293Z] ---> 5f2fb2a520c7 [2024-07-30T19:03:50.293Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-30T19:03:50.293Z] ---> cf66e31a523b [2024-07-30T19:03:50.293Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T19:03:50.293Z] ---> Running in 0861f4d6b507 [2024-07-30T19:03:51.236Z] Removing intermediate container 0861f4d6b507 [2024-07-30T19:03:51.236Z] ---> afc3257f0a45 [2024-07-30T19:03:51.236Z] Step 10/26 : COPY . . [2024-07-30T19:03:51.498Z] ---> fe3d2c15b4f3 [2024-07-30T19:03:51.498Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T19:03:51.498Z] ---> Running in ef7b9beabedf [2024-07-30T19:03:51.498Z] Removing intermediate container ef7b9beabedf [2024-07-30T19:03:51.498Z] ---> 6d8f6e51a8df [2024-07-30T19:03:51.498Z] Step 12/26 : RUN ${MAKE} [2024-07-30T19:03:51.498Z] ---> Running in b91d61e6896b [2024-07-30T19:03:51.545Z] using credential edgex-jenkins-ssh [2024-07-30T19:03:51.565Z] Cloning the remote Git repository [2024-07-30T19:03:51.758Z] 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.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-30T19:03:51.604Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-07-30T19:03:51.690Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-07-30T19:03:51.900Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-30T19:03:51.901Z] > git --version # timeout=10 [2024-07-30T19:03:51.922Z] > git --version # 'git version 2.25.1' [2024-07-30T19:03:51.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T19:03:52.137Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-30T19:03:54.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-30T19:03:54.279Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-30T19:03:55.674Z] Merging remotes/origin/main commit 613adc0de45787bd800a7a9fb2523a657efd5d33 into PR head commit 92e2326a733f2903df72cb25f03abd09c9e8f46d [2024-07-30T19:03:55.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-07-30T19:03:55.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-07-30T19:03:55.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T19:03:55.206Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-30T19:03:55.690Z] > git config core.sparsecheckout # timeout=10 [2024-07-30T19:03:55.762Z] > git checkout -f 92e2326a733f2903df72cb25f03abd09c9e8f46d # timeout=10 [2024-07-30T19:03:55.841Z] > git remote # timeout=10 [2024-07-30T19:03:55.940Z] Merge succeeded, producing 92e2326a733f2903df72cb25f03abd09c9e8f46d [2024-07-30T19:03:55.941Z] Checking out Revision 92e2326a733f2903df72cb25f03abd09c9e8f46d (PR-63) [2024-07-30T19:03:56.461Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-30T19:03:56.504Z] > git --version # timeout=10 [2024-07-30T19:03:56.517Z] > git --version # 'git version 2.25.1' [2024-07-30T19:03:56.534Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-30T19:03:55.860Z] > git config --get remote.origin.url # timeout=10 [2024-07-30T19:03:55.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T19:03:55.895Z] > git merge 613adc0de45787bd800a7a9fb2523a657efd5d33 # timeout=10 [2024-07-30T19:03:55.923Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-30T19:03:55.945Z] > git config core.sparsecheckout # timeout=10 [2024-07-30T19:03:55.957Z] > git checkout -f 92e2326a733f2903df72cb25f03abd09c9e8f46d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T19:04:01.398Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-30T19:04:01.398Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-30T19:04:01.398Z] Dload Upload Total Spent Left Speed [2024-07-30T19:04:01.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 47687 0 --:--:-- --:--:-- --:--:-- 47687 [Pipeline] sh [2024-07-30T19:04:02.010Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-30T19:04:02.363Z] + sudo tee /etc/docker/daemon.new [2024-07-30T19:04:02.363Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-30T19:04:02.363Z] { [2024-07-30T19:04:02.363Z] "registry-mirrors": [ [2024-07-30T19:04:02.363Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-30T19:04:02.363Z] ], [2024-07-30T19:04:02.363Z] "bip": "10.250.0.254/24", [2024-07-30T19:04:02.363Z] "hosts": [ [2024-07-30T19:04:02.363Z] "tcp://0.0.0.0:5555", [2024-07-30T19:04:02.363Z] "unix:///var/run/docker.sock" [2024-07-30T19:04:02.363Z] ], [2024-07-30T19:04:02.363Z] "mtu": 1458, [2024-07-30T19:04:02.363Z] "selinux-enabled": true, [2024-07-30T19:04:02.363Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-30T19:04:02.363Z] } [Pipeline] sh [2024-07-30T19:04:02.721Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-30T19:04:03.076Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T19:04:21.428Z] provisioning config files... [2024-07-30T19:04:21.451Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config6168310236882804437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:04:21.999Z] ---> ****-login.sh [2024-07-30T19:04:21.999Z] nexus3.edgexfoundry.org:10001 [2024-07-30T19:04:22.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:04:22.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:04:22.594Z] Configure a credential helper to remove this warning. See [2024-07-30T19:04:22.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:04:22.594Z] [2024-07-30T19:04:22.594Z] Login Succeeded [2024-07-30T19:04:22.594Z] nexus3.edgexfoundry.org:10002 [2024-07-30T19:04:22.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:04:22.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:04:22.863Z] Configure a credential helper to remove this warning. See [2024-07-30T19:04:22.863Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:04:22.863Z] [2024-07-30T19:04:22.863Z] Login Succeeded [2024-07-30T19:04:22.863Z] nexus3.edgexfoundry.org:10003 [2024-07-30T19:04:23.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:04:23.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:04:23.402Z] Configure a credential helper to remove this warning. See [2024-07-30T19:04:23.402Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:04:23.402Z] [2024-07-30T19:04:23.402Z] Login Succeeded [2024-07-30T19:04:23.402Z] nexus3.edgexfoundry.org:10004 [2024-07-30T19:04:23.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T19:04:23.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:04:23.670Z] Configure a credential helper to remove this warning. See [2024-07-30T19:04:23.670Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:04:23.670Z] [2024-07-30T19:04:23.670Z] Login Succeeded [2024-07-30T19:04:23.670Z] ****.io [2024-07-30T19:04:23.822Z] Removing intermediate container b91d61e6896b [2024-07-30T19:04:23.822Z] ---> 02ba3de8b2a7 [2024-07-30T19:04:23.822Z] Step 13/26 : FROM alpine:3.18 [2024-07-30T19:04:23.822Z] 3.18: Pulling from library/alpine [2024-07-30T19:04:23.822Z] 930bdd4d222e: Pulling fs layer [2024-07-30T19:04:23.822Z] 930bdd4d222e: Verifying Checksum [2024-07-30T19:04:23.822Z] 930bdd4d222e: Download complete [2024-07-30T19:04:23.822Z] 930bdd4d222e: Pull complete [2024-07-30T19:04:23.822Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-30T19:04:23.822Z] Status: Downloaded newer image for alpine:3.18 [2024-07-30T19:04:23.822Z] ---> 18f865063206 [2024-07-30T19:04:23.822Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-30T19:04:23.822Z] ---> Running in fbb4df4a5fdf [2024-07-30T19:04:23.822Z] Removing intermediate container fbb4df4a5fdf [2024-07-30T19:04:23.822Z] ---> 8abeb0e114da [2024-07-30T19:04:23.822Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-30T19:04:23.822Z] ---> Running in f5d09f400a26 [2024-07-30T19:04:23.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T19:04:23.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T19:04:23.822Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-30T19:04:23.822Z] Executing busybox-1.36.1-r7.trigger [2024-07-30T19:04:23.822Z] OK: 7 MiB in 16 packages [2024-07-30T19:04:23.822Z] Removing intermediate container f5d09f400a26 [2024-07-30T19:04:23.822Z] ---> 474a4495e7b4 [2024-07-30T19:04:23.822Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-30T19:04:23.822Z] ---> Running in 9c7ea9cf245c [2024-07-30T19:04:23.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T19:04:23.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T19:04:23.822Z] OK: 7 MiB in 16 packages [2024-07-30T19:04:23.822Z] Removing intermediate container 9c7ea9cf245c [2024-07-30T19:04:23.822Z] ---> af9dc55abf7c [2024-07-30T19:04:23.822Z] Step 17/26 : WORKDIR / [2024-07-30T19:04:23.822Z] ---> Running in e5db4543fe3f [2024-07-30T19:04:23.822Z] Removing intermediate container e5db4543fe3f [2024-07-30T19:04:23.822Z] ---> 19288fbfeab2 [2024-07-30T19:04:23.822Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-30T19:04:23.822Z] ---> 5ca18819fab6 [2024-07-30T19:04:23.822Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-30T19:04:23.822Z] ---> 57363b86d612 [2024-07-30T19:04:23.822Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-30T19:04:23.822Z] ---> ab3d59abbbbb [2024-07-30T19:04:23.822Z] Step 21/26 : EXPOSE 59995 [2024-07-30T19:04:23.822Z] ---> Running in eab141ccbd56 [2024-07-30T19:04:23.822Z] Removing intermediate container eab141ccbd56 [2024-07-30T19:04:23.822Z] ---> 1ba763370ae3 [2024-07-30T19:04:23.822Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-30T19:04:23.822Z] ---> Running in c8c5e48d1616 [2024-07-30T19:04:23.822Z] Removing intermediate container c8c5e48d1616 [2024-07-30T19:04:23.822Z] ---> e8a36ad89b79 [2024-07-30T19:04:23.822Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-30T19:04:23.822Z] ---> Running in 69e18304b3f0 [2024-07-30T19:04:23.822Z] Removing intermediate container 69e18304b3f0 [2024-07-30T19:04:23.822Z] ---> b2788389dd51 [2024-07-30T19:04:23.823Z] Step 24/26 : LABEL arch=amd64 [2024-07-30T19:04:23.823Z] ---> Running in 7f74fa5f2687 [2024-07-30T19:04:23.823Z] Removing intermediate container 7f74fa5f2687 [2024-07-30T19:04:23.823Z] ---> 790bd9e6856d [2024-07-30T19:04:23.823Z] Step 25/26 : LABEL git_sha=92e2326a733f2903df72cb25f03abd09c9e8f46d [2024-07-30T19:04:23.823Z] ---> Running in e2f47e3164f2 [2024-07-30T19:04:23.823Z] Removing intermediate container e2f47e3164f2 [2024-07-30T19:04:23.823Z] ---> 4bcad32dd2d7 [2024-07-30T19:04:23.823Z] Step 26/26 : LABEL version=0.0.0 [2024-07-30T19:04:23.823Z] ---> Running in f7ff06746fea [2024-07-30T19:04:23.823Z] Removing intermediate container f7ff06746fea [2024-07-30T19:04:23.823Z] ---> c52480bfd2cd [2024-07-30T19:04:23.823Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-30T19:04:23.823Z] Successfully built c52480bfd2cd [2024-07-30T19:04:23.823Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [2024-07-30T19:04:23.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [2024-07-30T19:04:24.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T19:04:24.203Z] Configure a credential helper to remove this warning. See [2024-07-30T19:04:24.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T19:04:24.203Z] [2024-07-30T19:04:24.203Z] Login Succeeded [2024-07-30T19:04:24.203Z] ---> ****-login.sh ends [Pipeline] // stage [Pipeline] } [2024-07-30T19:04:24.272Z] Deleting 1 temporary files [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2024-07-30T19:04:24.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T19:04:24.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T19:04:24.904Z] ========================================================= [2024-07-30T19:04:24.904Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-30T19:04:24.904Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2024-07-30T19:04:25.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T19:04:25.026Z] [2024-07-30T19:04:25.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-07-30T19:04:25.538Z] + 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-07-30T19:04:25.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T19:04:25.596Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-30T19:04:25.596Z] 5eb5b503b376: Pulling fs layer [2024-07-30T19:04:25.596Z] 5c69ac0246d0: Pulling fs layer [2024-07-30T19:04:25.596Z] ec43610c2a17: Pulling fs layer [2024-07-30T19:04:25.596Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-30T19:04:25.596Z] 33b1e0a273af: Pulling fs layer [2024-07-30T19:04:25.596Z] 5d3b04190fa2: Pulling fs layer [2024-07-30T19:04:25.596Z] 2f39f015ded8: Pulling fs layer [2024-07-30T19:04:25.596Z] 3a2ae6a8a46f: Waiting [2024-07-30T19:04:25.596Z] 33b1e0a273af: Waiting [2024-07-30T19:04:25.596Z] 5d3b04190fa2: Waiting [2024-07-30T19:04:25.596Z] 2f39f015ded8: Waiting [2024-07-30T19:04:25.596Z] 5c69ac0246d0: Verifying Checksum [2024-07-30T19:04:25.596Z] 5c69ac0246d0: Download complete [2024-07-30T19:04:25.596Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-30T19:04:25.596Z] 3a2ae6a8a46f: Download complete [2024-07-30T19:04:25.596Z] 33b1e0a273af: Verifying Checksum [2024-07-30T19:04:25.596Z] 33b1e0a273af: Download complete [2024-07-30T19:04:25.596Z] 5d3b04190fa2: Verifying Checksum [2024-07-30T19:04:25.596Z] 5d3b04190fa2: Download complete [2024-07-30T19:04:25.596Z] ec43610c2a17: Verifying Checksum [2024-07-30T19:04:25.596Z] ec43610c2a17: Download complete [2024-07-30T19:04:25.855Z] 5eb5b503b376: Verifying Checksum [2024-07-30T19:04:25.855Z] 5eb5b503b376: Download complete [2024-07-30T19:04:26.132Z] Sending build context to Docker daemon 12.84MB [2024-07-30T19:04:26.132Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T19:04:26.132Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-30T19:04:26.132Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-30T19:04:26.132Z] c6b39de5b339: Pulling fs layer [2024-07-30T19:04:26.132Z] a69c41024577: Pulling fs layer [2024-07-30T19:04:26.132Z] d6de4b400683: Pulling fs layer [2024-07-30T19:04:26.132Z] 35cb2a7552d0: Pulling fs layer [2024-07-30T19:04:26.132Z] 4f4fb700ef54: Pulling fs layer [2024-07-30T19:04:26.132Z] 464afbd9ba4c: Pulling fs layer [2024-07-30T19:04:26.132Z] 00f215d4a9da: Pulling fs layer [2024-07-30T19:04:26.132Z] d496ad576159: Pulling fs layer [2024-07-30T19:04:26.132Z] 4f4fb700ef54: Waiting [2024-07-30T19:04:26.132Z] 464afbd9ba4c: Waiting [2024-07-30T19:04:26.132Z] 00f215d4a9da: Waiting [2024-07-30T19:04:26.132Z] d496ad576159: Waiting [2024-07-30T19:04:26.132Z] 35cb2a7552d0: Waiting [2024-07-30T19:04:26.132Z] a69c41024577: Verifying Checksum [2024-07-30T19:04:26.132Z] a69c41024577: Download complete [2024-07-30T19:04:26.132Z] 35cb2a7552d0: Verifying Checksum [2024-07-30T19:04:26.132Z] 35cb2a7552d0: Download complete [2024-07-30T19:04:26.132Z] 4f4fb700ef54: Download complete [2024-07-30T19:04:26.402Z] c6b39de5b339: Verifying Checksum [2024-07-30T19:04:26.402Z] c6b39de5b339: Download complete [2024-07-30T19:04:26.402Z] 464afbd9ba4c: Verifying Checksum [2024-07-30T19:04:26.402Z] 464afbd9ba4c: Download complete [2024-07-30T19:04:26.421Z] 2f39f015ded8: Download complete [2024-07-30T19:04:26.670Z] d496ad576159: Verifying Checksum [2024-07-30T19:04:26.670Z] d496ad576159: Download complete [2024-07-30T19:04:26.986Z] 5eb5b503b376: Pull complete [2024-07-30T19:04:26.986Z] 5c69ac0246d0: Pull complete [2024-07-30T19:04:27.257Z] c6b39de5b339: Pull complete [2024-07-30T19:04:27.550Z] ec43610c2a17: Pull complete [2024-07-30T19:04:27.550Z] 3a2ae6a8a46f: Pull complete [2024-07-30T19:04:27.809Z] 33b1e0a273af: Pull complete [2024-07-30T19:04:27.809Z] 5d3b04190fa2: Pull complete [2024-07-30T19:04:27.846Z] a69c41024577: Pull complete [2024-07-30T19:04:28.114Z] d6de4b400683: Verifying Checksum [2024-07-30T19:04:28.114Z] d6de4b400683: Download complete [2024-07-30T19:04:29.074Z] 00f215d4a9da: Download complete [2024-07-30T19:04:31.993Z] 2f39f015ded8: Pull complete [2024-07-30T19:04:31.993Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-30T19:04:31.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T19:04:31.993Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T19:04:32.278Z] prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container [2024-07-30T19:04:32.300Z] $ 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-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@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-07-30T19:04:33.426Z] $ docker top ca81abc5885202ee3192bf1fe9839530b659115a3a4b792bb28284780e9fc605 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:04:33.920Z] ---> job-cost.sh [2024-07-30T19:04:33.920Z] lf-activate-venv: SKIPPING [2024-07-30T19:04:33.920Z] INFO: No Stack... [2024-07-30T19:04:34.178Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-30T19:04:34.437Z] INFO: Archiving Costs [Pipeline] sh [2024-07-30T19:04:34.761Z] + cat /w/workspace/edgexfoundry_device-uart_PR-63/archives/cost.csv [2024-07-30T19:04:34.761Z] + cut -d, -f6 [Pipeline] lock [2024-07-30T19:04:34.827Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [2024-07-30T19:04:34.833Z] Resource [jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] did not exist. Created. [2024-07-30T19:04:34.840Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-30T19:04:35.279Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-30T19:04:35.342Z] Stashed 1 file(s) [Pipeline] } [2024-07-30T19:04:35.390Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-30T19:04:35.495Z] $ docker stop --time=1 ca81abc5885202ee3192bf1fe9839530b659115a3a4b792bb28284780e9fc605 [2024-07-30T19:04:36.654Z] $ docker rm -f --volumes ca81abc5885202ee3192bf1fe9839530b659115a3a4b792bb28284780e9fc605 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-30T19:04:41.394Z] d6de4b400683: Pull complete [2024-07-30T19:04:41.394Z] 35cb2a7552d0: Pull complete [2024-07-30T19:04:41.394Z] 4f4fb700ef54: Pull complete [2024-07-30T19:04:41.394Z] 464afbd9ba4c: Pull complete [2024-07-30T19:04:51.483Z] 00f215d4a9da: Pull complete [2024-07-30T19:04:51.754Z] d496ad576159: Pull complete [2024-07-30T19:04:51.754Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-30T19:04:51.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-30T19:04:51.754Z] ---> f246e2811388 [2024-07-30T19:04:51.754Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-30T19:04:52.714Z] ---> Running in 956aa7c32740 [2024-07-30T19:04:52.981Z] Removing intermediate container 956aa7c32740 [2024-07-30T19:04:52.981Z] ---> 56063ee941aa [2024-07-30T19:04:52.981Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-30T19:04:52.981Z] ---> Running in f17c9e6c0842 [2024-07-30T19:04:53.247Z] Removing intermediate container f17c9e6c0842 [2024-07-30T19:04:53.247Z] ---> 6a7169c54061 [2024-07-30T19:04:53.247Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-30T19:04:53.247Z] ---> Running in 93e8c83c5622 [2024-07-30T19:04:53.514Z] Removing intermediate container 93e8c83c5622 [2024-07-30T19:04:53.514Z] ---> 774cb7d28113 [2024-07-30T19:04:53.514Z] Step 6/12 : WORKDIR /device-uart [2024-07-30T19:04:53.514Z] ---> Running in 5d8e4671ec28 [2024-07-30T19:04:54.103Z] Removing intermediate container 5d8e4671ec28 [2024-07-30T19:04:54.103Z] ---> 90a1847ce3ac [2024-07-30T19:04:54.103Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-30T19:04:54.103Z] ---> Running in 71f420649737 [2024-07-30T19:04:55.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T19:04:55.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T19:04:56.259Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-30T19:04:56.259Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-30T19:04:56.259Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-30T19:04:56.529Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-30T19:04:56.529Z] Executing busybox-1.36.1-r5.trigger [2024-07-30T19:04:56.529Z] OK: 271 MiB in 56 packages [2024-07-30T19:04:57.489Z] Removing intermediate container 71f420649737 [2024-07-30T19:04:57.489Z] ---> 4ab1b992a444 [2024-07-30T19:04:57.489Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-30T19:04:58.073Z] ---> 50bd98b22ec4 [2024-07-30T19:04:58.073Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T19:04:58.073Z] ---> Running in 86f6d42a2ca4 [2024-07-30T19:06:49.728Z] Removing intermediate container 86f6d42a2ca4 [2024-07-30T19:06:49.728Z] ---> c0c01078d507 [2024-07-30T19:06:49.728Z] Step 10/12 : COPY . . [2024-07-30T19:06:49.728Z] ---> d0631a3a8b8f [2024-07-30T19:06:49.728Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T19:06:49.728Z] ---> Running in 4ab94b367a3e [2024-07-30T19:06:49.728Z] Removing intermediate container 4ab94b367a3e [2024-07-30T19:06:49.728Z] ---> 33f3627dd06f [2024-07-30T19:06:49.728Z] Step 12/12 : RUN ${MAKE} [2024-07-30T19:06:49.728Z] ---> Running in a063e8a43472 [2024-07-30T19:06:49.728Z] noop [2024-07-30T19:06:49.728Z] Removing intermediate container a063e8a43472 [2024-07-30T19:06:49.728Z] ---> cad2b0c5c94d [2024-07-30T19:06:49.728Z] Successfully built cad2b0c5c94d [2024-07-30T19:06:49.728Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:06:50.251Z] + docker inspect -f . ci-base-image-arm64 [2024-07-30T19:06:50.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T19:06:50.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-6779 does not seem to be running inside a container [2024-07-30T19:06:50.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-30T19:06:51.751Z] $ docker top c247fc81de3f85374770e5f78a14fe4f2141b9eb8a6f196257b21b260f765c9f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T19:06:52.670Z] + go version [2024-07-30T19:06:52.670Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-30T19:06:52.712Z] $ docker stop --time=1 c247fc81de3f85374770e5f78a14fe4f2141b9eb8a6f196257b21b260f765c9f [2024-07-30T19:06:54.295Z] $ docker rm -f --volumes c247fc81de3f85374770e5f78a14fe4f2141b9eb8a6f196257b21b260f765c9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:06:55.212Z] + docker inspect -f . ci-base-image-arm64 [2024-07-30T19:06:55.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T19:06:55.502Z] prd-ubuntu20.04-docker-arm64-4c-16g-6779 does not seem to be running inside a container [2024-07-30T19:06:55.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-30T19:06:56.724Z] $ docker top 5785d65a2985ded18c69dc3f4b55a0b994efe9cfe89b3ed8002ff77f89e5c61a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T19:07:11.490Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-07-30T19:07:11.902Z] + make test [2024-07-30T19:07:11.902Z] go test ./... -coverprofile=coverage.out [2024-07-30T19:07:17.250Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-07-30T19:10:24.000Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-07-30T19:10:24.000Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-07-30T19:10:24.000Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-30T19:10:24.000Z] go vet ./... [2024-07-30T19:11:02.880Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-30T19:11:02.880Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-30T19:11:02.880Z] ./bin/test-attribution-txt.sh [2024-07-30T19:11:02.880Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-30T19:11:02.880Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-30T19:11:02.930Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-30T19:11:02.976Z] $ docker stop --time=1 5785d65a2985ded18c69dc3f4b55a0b994efe9cfe89b3ed8002ff77f89e5c61a [2024-07-30T19:11:04.842Z] $ docker rm -f --volumes 5785d65a2985ded18c69dc3f4b55a0b994efe9cfe89b3ed8002ff77f89e5c61a [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T19:11:06.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-30T19:11:06.481Z] Warning: overwriting stash ‘coverage-report’ [2024-07-30T19:11:06.874Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T19:11:07.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-30T19:11:07.870Z] + ls -al . [2024-07-30T19:11:07.870Z] total 220 [2024-07-30T19:11:07.870Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 30 19:07 . [2024-07-30T19:11:07.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 19:03 .. [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 19:03 .dockerignore [2024-07-30T19:11:07.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 19:04 .git [2024-07-30T19:11:07.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:03 .github [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 30 19:03 .gitignore [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 19:03 .golangci.yml [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 9941 Jul 30 19:03 Attribution.txt [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 1908 Jul 30 19:03 CHANGELOG.md [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 1886 Jul 30 19:03 Dockerfile [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 19:03 GOVERNANCE.md [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 30 19:03 Jenkinsfile [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 19:03 LICENSE [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 30 19:03 Makefile [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 30 19:03 OWNERS.md [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 8892 Jul 30 19:03 README.md [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 19:02 VERSION [2024-07-30T19:11:07.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 19:03 bin [2024-07-30T19:11:07.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:03 cmd [2024-07-30T19:11:07.870Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 30 19:07 coverage.out [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 6964 Jul 30 19:03 go.mod [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 101892 Jul 30 19:03 go.sum [2024-07-30T19:11:07.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:03 internal [2024-07-30T19:11:07.870Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 30 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:11:08.320Z] + 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=92e2326a733f2903df72cb25f03abd09c9e8f46d --label arch=arm64 --label version=0.0.0 . [2024-07-30T19:11:08.914Z] Sending build context to Docker daemon 12.84MB [2024-07-30T19:11:08.914Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T19:11:08.914Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-30T19:11:08.914Z] ---> cad2b0c5c94d [2024-07-30T19:11:08.914Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-30T19:11:08.914Z] ---> Running in 3d9a25aaca6d [2024-07-30T19:11:09.184Z] Removing intermediate container 3d9a25aaca6d [2024-07-30T19:11:09.184Z] ---> 53ba185f911c [2024-07-30T19:11:09.184Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-30T19:11:09.453Z] ---> Running in ee2202436968 [2024-07-30T19:11:09.719Z] Removing intermediate container ee2202436968 [2024-07-30T19:11:09.719Z] ---> 25b789fcca3e [2024-07-30T19:11:09.719Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-30T19:11:09.719Z] ---> Running in beddb17ebc00 [2024-07-30T19:11:09.987Z] Removing intermediate container beddb17ebc00 [2024-07-30T19:11:09.987Z] ---> 1bc72e795820 [2024-07-30T19:11:09.987Z] Step 6/26 : WORKDIR /device-uart [2024-07-30T19:11:09.987Z] ---> Running in 2f9642a63af0 [2024-07-30T19:11:10.257Z] Removing intermediate container 2f9642a63af0 [2024-07-30T19:11:10.257Z] ---> 19c470100992 [2024-07-30T19:11:10.257Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-30T19:11:10.257Z] ---> Running in c93260bb6b03 [2024-07-30T19:11:11.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T19:11:11.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T19:11:12.890Z] OK: 271 MiB in 56 packages [2024-07-30T19:11:13.895Z] Removing intermediate container c93260bb6b03 [2024-07-30T19:11:13.895Z] ---> bf1577b9fb41 [2024-07-30T19:11:13.895Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-30T19:11:14.178Z] ---> d6a154e0cf4f [2024-07-30T19:11:14.178Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T19:11:14.178Z] ---> Running in d0028180e293 [2024-07-30T19:11:16.794Z] Removing intermediate container d0028180e293 [2024-07-30T19:11:16.794Z] ---> cb3625f791ec [2024-07-30T19:11:16.794Z] Step 10/26 : COPY . . [2024-07-30T19:11:17.767Z] ---> 10ef04006a9f [2024-07-30T19:11:17.767Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T19:11:17.767Z] ---> Running in 51626b554ce8 [2024-07-30T19:11:18.041Z] Removing intermediate container 51626b554ce8 [2024-07-30T19:11:18.041Z] ---> 179313af6ab4 [2024-07-30T19:11:18.041Z] Step 12/26 : RUN ${MAKE} [2024-07-30T19:11:18.308Z] ---> Running in f188c656c598 [2024-07-30T19:11:19.269Z] 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.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-07-30T19:14:41.018Z] Removing intermediate container f188c656c598 [2024-07-30T19:14:41.018Z] ---> 10217d009834 [2024-07-30T19:14:41.018Z] Step 13/26 : FROM alpine:3.18 [2024-07-30T19:14:41.018Z] 3.18: Pulling from library/alpine [2024-07-30T19:14:41.018Z] 4983c3fe2029: Pulling fs layer [2024-07-30T19:14:41.018Z] 4983c3fe2029: Verifying Checksum [2024-07-30T19:14:41.018Z] 4983c3fe2029: Download complete [2024-07-30T19:14:41.018Z] 4983c3fe2029: Pull complete [2024-07-30T19:14:41.018Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-30T19:14:41.018Z] Status: Downloaded newer image for alpine:3.18 [2024-07-30T19:14:41.018Z] ---> a0237000ae83 [2024-07-30T19:14:41.018Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-07-30T19:14:41.018Z] ---> Running in 1091e77b48e5 [2024-07-30T19:14:41.018Z] Removing intermediate container 1091e77b48e5 [2024-07-30T19:14:41.018Z] ---> 610b22a4fd74 [2024-07-30T19:14:41.018Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-30T19:14:41.018Z] ---> Running in b523ebfdc5b2 [2024-07-30T19:14:41.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T19:14:41.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T19:14:41.018Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-30T19:14:41.018Z] Executing busybox-1.36.1-r7.trigger [2024-07-30T19:14:41.018Z] OK: 8 MiB in 16 packages [2024-07-30T19:14:41.018Z] Removing intermediate container b523ebfdc5b2 [2024-07-30T19:14:41.018Z] ---> ab4929c9107a [2024-07-30T19:14:41.018Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-30T19:14:41.018Z] ---> Running in abb87402ea08 [2024-07-30T19:14:41.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T19:14:41.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T19:14:41.973Z] OK: 8 MiB in 16 packages [2024-07-30T19:14:42.944Z] Removing intermediate container abb87402ea08 [2024-07-30T19:14:42.944Z] ---> 1822844c8ece [2024-07-30T19:14:42.944Z] Step 17/26 : WORKDIR / [2024-07-30T19:14:42.944Z] ---> Running in 4086f0911103 [2024-07-30T19:14:42.944Z] Removing intermediate container 4086f0911103 [2024-07-30T19:14:42.944Z] ---> bef2c7f3005d [2024-07-30T19:14:42.944Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-07-30T19:14:43.529Z] ---> df65c36ece5a [2024-07-30T19:14:43.529Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-07-30T19:14:44.113Z] ---> 209e976efc7f [2024-07-30T19:14:44.114Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-07-30T19:14:46.689Z] ---> c75c97593c4c [2024-07-30T19:14:46.689Z] Step 21/26 : EXPOSE 59995 [2024-07-30T19:14:46.689Z] ---> Running in 8cdd70c499ab [2024-07-30T19:14:46.689Z] Removing intermediate container 8cdd70c499ab [2024-07-30T19:14:46.689Z] ---> c6f0d970ab17 [2024-07-30T19:14:46.689Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-07-30T19:14:46.689Z] ---> Running in 9c4dbaa09d40 [2024-07-30T19:14:46.957Z] Removing intermediate container 9c4dbaa09d40 [2024-07-30T19:14:46.957Z] ---> caa6cd6f2b3b [2024-07-30T19:14:46.957Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-30T19:14:46.957Z] ---> Running in 8f91e3daff64 [2024-07-30T19:14:47.225Z] Removing intermediate container 8f91e3daff64 [2024-07-30T19:14:47.225Z] ---> 6a5caf92e8be [2024-07-30T19:14:47.225Z] Step 24/26 : LABEL arch=arm64 [2024-07-30T19:14:47.225Z] ---> Running in fc77343578b4 [2024-07-30T19:14:47.492Z] Removing intermediate container fc77343578b4 [2024-07-30T19:14:47.492Z] ---> 4efa68df3d59 [2024-07-30T19:14:47.492Z] Step 25/26 : LABEL git_sha=92e2326a733f2903df72cb25f03abd09c9e8f46d [2024-07-30T19:14:47.763Z] ---> Running in 27789539ad4b [2024-07-30T19:14:48.035Z] Removing intermediate container 27789539ad4b [2024-07-30T19:14:48.036Z] ---> 3b0793f697ed [2024-07-30T19:14:48.036Z] Step 26/26 : LABEL version=0.0.0 [2024-07-30T19:14:48.036Z] ---> Running in 41f98ca75ad8 [2024-07-30T19:14:48.302Z] Removing intermediate container 41f98ca75ad8 [2024-07-30T19:14:48.302Z] ---> 58f532f06eb1 [2024-07-30T19:14:48.302Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-30T19:14:48.302Z] Successfully built 58f532f06eb1 [2024-07-30T19:14:48.302Z] 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-07-30T19:14:49.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T19:14:49.300Z] [2024-07-30T19:14:49.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:14:49.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T19:14:49.728Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-30T19:14:49.728Z] 8998bd30e6a1: Pulling fs layer [2024-07-30T19:14:49.728Z] 04944245beec: Pulling fs layer [2024-07-30T19:14:49.728Z] 699f458cf7ca: Pulling fs layer [2024-07-30T19:14:49.728Z] 765212b225bb: Pulling fs layer [2024-07-30T19:14:49.728Z] f23df028b6ca: Pulling fs layer [2024-07-30T19:14:49.728Z] d65c8cfc05b1: Pulling fs layer [2024-07-30T19:14:49.728Z] 2437ff75d9bd: Pulling fs layer [2024-07-30T19:14:49.728Z] f23df028b6ca: Waiting [2024-07-30T19:14:49.728Z] d65c8cfc05b1: Waiting [2024-07-30T19:14:49.728Z] 765212b225bb: Waiting [2024-07-30T19:14:49.728Z] 2437ff75d9bd: Waiting [2024-07-30T19:14:49.993Z] 04944245beec: Verifying Checksum [2024-07-30T19:14:49.993Z] 04944245beec: Download complete [2024-07-30T19:14:49.993Z] 765212b225bb: Verifying Checksum [2024-07-30T19:14:49.993Z] 765212b225bb: Download complete [2024-07-30T19:14:49.993Z] f23df028b6ca: Verifying Checksum [2024-07-30T19:14:49.993Z] f23df028b6ca: Download complete [2024-07-30T19:14:49.993Z] d65c8cfc05b1: Verifying Checksum [2024-07-30T19:14:49.993Z] d65c8cfc05b1: Download complete [2024-07-30T19:14:50.260Z] 699f458cf7ca: Verifying Checksum [2024-07-30T19:14:50.260Z] 699f458cf7ca: Download complete [2024-07-30T19:14:50.525Z] 8998bd30e6a1: Verifying Checksum [2024-07-30T19:14:50.525Z] 8998bd30e6a1: Download complete [2024-07-30T19:14:53.101Z] 2437ff75d9bd: Download complete [2024-07-30T19:14:55.041Z] 8998bd30e6a1: Pull complete [2024-07-30T19:14:55.624Z] 04944245beec: Pull complete [2024-07-30T19:14:57.025Z] 699f458cf7ca: Pull complete [2024-07-30T19:14:57.290Z] 765212b225bb: Pull complete [2024-07-30T19:14:58.243Z] f23df028b6ca: Pull complete [2024-07-30T19:14:58.243Z] d65c8cfc05b1: Pull complete [2024-07-30T19:15:16.440Z] 2437ff75d9bd: Pull complete [2024-07-30T19:15:16.440Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-30T19:15:16.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T19:15:16.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T19:15:16.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-6779 does not seem to be running inside a container [2024-07-30T19:15:16.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-30T19:15:19.435Z] $ docker top 85e34540b8366f860c1badab846b9951f9befe718635ed7c48e08da600070595 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:15:20.323Z] ---> job-cost.sh [2024-07-30T19:15:20.323Z] lf-activate-venv: SKIPPING [2024-07-30T19:15:20.323Z] INFO: No Stack... [2024-07-30T19:15:20.587Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-30T19:15:21.538Z] INFO: Archiving Costs [Pipeline] sh [2024-07-30T19:15:22.203Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-07-30T19:15:22.203Z] + cut -d, -f6 [Pipeline] lock [2024-07-30T19:15:22.295Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [2024-07-30T19:15:22.304Z] Resource [jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] did not exist. Created. [2024-07-30T19:15:22.311Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-30T19:15:23.063Z] /w/workspace/device-uart/1@tmp/durable-1b399076/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-30T19:15:23.436Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-30T19:15:23.480Z] Warning: overwriting stash ‘stack-cost’ [2024-07-30T19:15:23.552Z] Stashed 1 file(s) [Pipeline] } [2024-07-30T19:15:23.576Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-30T19:15:23.681Z] $ docker stop --time=1 85e34540b8366f860c1badab846b9951f9befe718635ed7c48e08da600070595 [2024-07-30T19:15:25.153Z] $ docker rm -f --volumes 85e34540b8366f860c1badab846b9951f9befe718635ed7c48e08da600070595 [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-07-30T19:15:26.407Z] provisioning config files... [2024-07-30T19:15:26.416Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-63@tmp/config250116889125597932tmp [Pipeline] { [Pipeline] sh [2024-07-30T19:15:26.775Z] + set +x [2024-07-30T19:15:26.775Z] + + curl -s https://codecov.io/bash [2024-07-30T19:15:26.775Z] bash -s -- [2024-07-30T19:15:26.775Z] [2024-07-30T19:15:26.775Z] _____ _ [2024-07-30T19:15:26.775Z] / ____| | | [2024-07-30T19:15:26.775Z] | | ___ __| | ___ ___ _____ __ [2024-07-30T19:15:26.775Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-30T19:15:26.775Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-30T19:15:26.775Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-30T19:15:26.775Z] Bash-1.0.6 [2024-07-30T19:15:26.775Z] [2024-07-30T19:15:26.775Z] [2024-07-30T19:15:26.775Z] ==> git version 2.25.1 found [2024-07-30T19:15:26.775Z] ==> 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-07-30T19:15:26.775Z] Release-Date: 2020-01-08 [2024-07-30T19:15:26.775Z] 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-07-30T19:15:26.775Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-30T19:15:26.775Z] ==> Jenkins CI detected. [2024-07-30T19:15:26.775Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-63 [2024-07-30T19:15:26.775Z] project root: . [2024-07-30T19:15:26.775Z] --> token set from env [2024-07-30T19:15:26.775Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-30T19:15:26.775Z] ==> Running gcov in . (disable via -X gcov) [2024-07-30T19:15:26.775Z] ==> Python coveragepy not found [2024-07-30T19:15:26.775Z] ==> Searching for coverage reports in: [2024-07-30T19:15:26.775Z] + . [2024-07-30T19:15:26.775Z] -> Found 1 reports [2024-07-30T19:15:26.775Z] ==> Detecting git/mercurial file structure [2024-07-30T19:15:27.034Z] ==> Reading reports [2024-07-30T19:15:27.034Z] + ./coverage.out bytes=10 [2024-07-30T19:15:27.034Z] ==> Appending adjustments [2024-07-30T19:15:27.034Z] https://docs.codecov.io/docs/fixing-reports [2024-07-30T19:15:27.034Z] + Found adjustments [2024-07-30T19:15:27.034Z] ==> Gzipping contents [2024-07-30T19:15:27.034Z] 4.0K /tmp/codecov.vzns7J.gz [2024-07-30T19:15:27.034Z] ==> Uploading reports [2024-07-30T19:15:27.034Z] url: https://codecov.io [2024-07-30T19:15:27.034Z] query: branch=PR-63&commit=92e2326a733f2903df72cb25f03abd09c9e8f46d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-63%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=63&job=&cmd_args= [2024-07-30T19:15:27.034Z] -> Pinging Codecov [2024-07-30T19:15:27.034Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-63&commit=92e2326a733f2903df72cb25f03abd09c9e8f46d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-63%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=63&job=&cmd_args= [2024-07-30T19:15:27.294Z] -> Uploading to [2024-07-30T19:15:27.294Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-30/B9AA6E0BBD74AE3A32605C7A7C664919/92e2326a733f2903df72cb25f03abd09c9e8f46d/24815281-8e90-40c1-b687-eeafb9905d7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T191527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=579306f1ba93756a28d5e01658efe991d314ac27cbb910817dd433df83b7761c [2024-07-30T19:15:27.294Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-30T19:15:27.294Z] Dload Upload Total Spent Left Speed [2024-07-30T19:15:27.554Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2431 --:--:-- --:--:-- --:--:-- 2431 [2024-07-30T19:15:27.554Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] } [2024-07-30T19:15:27.587Z] 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-07-30T19:15:29.975Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-63/archives ] [2024-07-30T19:15:29.975Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-63/archives [2024-07-30T19:15:29.975Z] total 16 [2024-07-30T19:15:29.975Z] drwxr-xr-x 3 root root 4096 Jul 30 19:04 . [2024-07-30T19:15:29.975Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 19:04 .. [2024-07-30T19:15:29.975Z] drwxr-xr-x 2 root root 4096 Jul 30 19:04 cost [2024-07-30T19:15:29.975Z] -rw-r--r-- 1 root root 82 Jul 30 19:04 cost.csv [2024-07-30T19:15:29.975Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-63/archives [2024-07-30T19:15:29.975Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-63/archives [2024-07-30T19:15:29.975Z] total 16 [2024-07-30T19:15:29.975Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 19:04 . [2024-07-30T19:15:29.975Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 19:04 .. [2024-07-30T19:15:29.975Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 19:04 cost [2024-07-30T19:15:29.975Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 30 19:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:15:30.321Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:15:31.230Z] ---> package-listing.sh [2024-07-30T19:15:31.230Z] ++ facter osfamily [2024-07-30T19:15:31.230Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-30T19:15:31.489Z] + OS_FAMILY=debian [2024-07-30T19:15:31.489Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-63 [2024-07-30T19:15:31.489Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-30T19:15:31.489Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-30T19:15:31.489Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-30T19:15:31.489Z] + PACKAGES=/tmp/packages_start.txt [2024-07-30T19:15:31.489Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-63 ']' [2024-07-30T19:15:31.489Z] + PACKAGES=/tmp/packages_end.txt [2024-07-30T19:15:31.489Z] + case "${OS_FAMILY}" in [2024-07-30T19:15:31.489Z] + dpkg -l [2024-07-30T19:15:31.489Z] + grep '^ii' [2024-07-30T19:15:31.489Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-30T19:15:31.489Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-30T19:15:31.489Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-30T19:15:31.489Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-63 ']' [2024-07-30T19:15:31.489Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-63/archives/ [2024-07-30T19:15:31.489Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-63/archives/ [Pipeline] echo [2024-07-30T19:15:31.532Z] 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-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-30T19:15:31.833Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T19:15:32.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T19:15:32.499Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T19:15:32.752Z] prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container [2024-07-30T19:15:32.778Z] $ 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-63/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-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@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-07-30T19:15:32.948Z] $ docker top 5ff0ccf3a2617125287f7050d609c5cc087653f9d06c4d7a968c2023a78f232d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T19:15:33.372Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-30T19:15:33.779Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-30T19:15:34.141Z] + ls /var/log/sa-host [2024-07-30T19:15:34.141Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T19:15:34.424Z] provisioning config files... [2024-07-30T19:15:34.460Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-63@tmp/config6490830096562761666tmp [Pipeline] { [Pipeline] echo [2024-07-30T19:15:34.521Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:15:34.850Z] ---> create-netrc.sh [Pipeline] } [2024-07-30T19:15:34.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:15:35.305Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-30T19:15:35.345Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:15:35.662Z] ---> sudo-logs.sh [2024-07-30T19:15:35.663Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-30T19:15:35.759Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:15:36.071Z] ---> job-cost.sh [2024-07-30T19:15:36.071Z] lf-activate-venv: SKIPPING [2024-07-30T19:15:36.071Z] DEBUG: total: 0.2199999988079071 [2024-07-30T19:15:36.071Z] INFO: Retrieving Stack Cost... [2024-07-30T19:15:36.641Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-30T19:15:36.902Z] INFO: Archiving Costs [Pipeline] echo [2024-07-30T19:15:36.950Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T19:15:37.275Z] ---> logs-deploy.sh [2024-07-30T19:15:37.275Z] lf-activate-venv: SKIPPING [2024-07-30T19:15:37.275Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-63/1 [2024-07-30T19:15:37.275Z] INFO: archiving workspace using pattern(s): [2024-07-30T19:15:38.214Z] Archives upload complete. [2024-07-30T19:15:38.474Z] INFO: archiving logs to Nexus