Pull request #46 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bab74745aba4971f5e6965fcae55cdff34a9de4f+d91c28011fe1e340ffb33947d534daf2c02bd499 (d15abd0ea1e96927ca379b75e25e6670be3ab4d1) 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-ssh16641756911475563928.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11140363445851659235.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-46/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-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11560654767558283321.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-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15605517700836975093.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8548360554195276578.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-46/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-46/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17588026568292735281.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5271 in /w/workspace/edgexfoundry_device-uart_PR-46 [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-46 # 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/46/head:refs/remotes/origin/PR-46 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d91c28011fe1e340ffb33947d534daf2c02bd499 into PR head commit bab74745aba4971f5e6965fcae55cdff34a9de4f Merge succeeded, producing bab74745aba4971f5e6965fcae55cdff34a9de4f Checking out Revision bab74745aba4971f5e6965fcae55cdff34a9de4f (PR-46) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-08T19:03:19.878Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f bab74745aba4971f5e6965fcae55cdff34a9de4f # 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 d91c28011fe1e340ffb33947d534daf2c02bd499 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bab74745aba4971f5e6965fcae55cdff34a9de4f # timeout=10 [Pipeline] withCredentials [2024-03-08T19:03:20.093Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-08T19:03:20.192Z] ========================================================= [2024-03-08T19:03:20.192Z] EdgeX Global Pipelines Version Info [2024-03-08T19:03:20.192Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:03:20.933Z] ------------------- [2024-03-08T19:03:20.933Z] stable info: [2024-03-08T19:03:20.933Z] ------------------- [2024-03-08T19:03:20.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-08T19:03:20.934Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-08T19:03:20.934Z] Message: update stable to v1.0.258 [2024-03-08T19:03:21.506Z] ------------------- [2024-03-08T19:03:21.506Z] experimental info: [2024-03-08T19:03:21.506Z] ------------------- [2024-03-08T19:03:21.506Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-08T19:03:21.506Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-08T19:03:21.506Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-08T19:03:21.729Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-03-08T19:03:21.782Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-03-08T19:03:21.834Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-08T19:03:21.892Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-08T19:03:21.947Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-08T19:03:22.006Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-08T19:03:22.066Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-08T19:03:22.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-08T19:03:22.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-08T19:03:22.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-08T19:03:22.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-08T19:03:22.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-03-08T19:03:22.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-08T19:03:22.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-08T19:03:22.557Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-08T19:03:22.624Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-08T19:03:22.690Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-08T19:03:22.758Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-08T19:03:22.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-08T19:03:22.898Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-08T19:03:22.967Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-08T19:03:23.035Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-08T19:03:23.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-08T19:03:23.169Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-08T19:03:23.235Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-08T19:03:23.303Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-08T19:03:23.374Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-08T19:03:23.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-46 [Pipeline] echo [2024-03-08T19:03:23.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-46 [Pipeline] echo [2024-03-08T19:03:23.604Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-46 [Pipeline] echo [2024-03-08T19:03:23.676Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bab74745aba4971f5e6965fcae55cdff34a9de4f [Pipeline] echo [2024-03-08T19:03:23.749Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bab7474 [Pipeline] echo [2024-03-08T19:03:23.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T19:03:24.005Z] provisioning config files... [2024-03-08T19:03:24.020Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-46@tmp/config17957602395871995040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:03:24.430Z] ---> ****-login.sh [2024-03-08T19:03:24.430Z] nexus3.edgexfoundry.org:10001 [2024-03-08T19:03:24.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:24.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:24.951Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:24.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:24.951Z] [2024-03-08T19:03:24.951Z] Login Succeeded [2024-03-08T19:03:24.951Z] nexus3.edgexfoundry.org:10002 [2024-03-08T19:03:24.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:24.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:24.951Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:24.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:24.951Z] [2024-03-08T19:03:24.951Z] Login Succeeded [2024-03-08T19:03:24.951Z] nexus3.edgexfoundry.org:10003 [2024-03-08T19:03:24.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:24.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:24.951Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:24.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:24.952Z] [2024-03-08T19:03:24.952Z] Login Succeeded [2024-03-08T19:03:25.212Z] nexus3.edgexfoundry.org:10004 [2024-03-08T19:03:25.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:25.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:25.212Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:25.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:25.213Z] [2024-03-08T19:03:25.213Z] Login Succeeded [2024-03-08T19:03:25.213Z] ****.io [2024-03-08T19:03:25.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:25.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:25.474Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:25.474Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:25.474Z] [2024-03-08T19:03:25.474Z] Login Succeeded [2024-03-08T19:03:25.474Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T19:03:25.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-08T19:03:26.316Z] + git rev-list -1 --merges bab74745aba4971f5e6965fcae55cdff34a9de4f~1..bab74745aba4971f5e6965fcae55cdff34a9de4f [Pipeline] echo [2024-03-08T19:03:26.355Z] -----------> git rev-list -1 --merges bab74745aba4971f5e6965fcae55cdff34a9de4f~1..bab74745aba4971f5e6965fcae55cdff34a9de4f bab74745aba4971f5e6965fcae55cdff34a9de4f [false] [Pipeline] sh [2024-03-08T19:03:26.690Z] + git log --format=format:%s -1 bab74745aba4971f5e6965fcae55cdff34a9de4f [Pipeline] echo [2024-03-08T19:03:26.736Z] ========================================================= [2024-03-08T19:03:26.736Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-08T19:03:26.736Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T19:03:27.244Z] + git log --format=format:%s -1 bab74745aba4971f5e6965fcae55cdff34a9de4f [Pipeline] echo [2024-03-08T19:03:27.278Z] [semverPrep] GIT_COMMIT: bab74745aba4971f5e6965fcae55cdff34a9de4f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-08T19:03:27.328Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-08T19:03:27.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-08T19:03:27.795Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-08T19:03:27.795Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-08T19:03:27.795Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-08T19:03:27.795Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-08T19:03:27.795Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-08T19:03:27.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:03:28.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T19:03:28.313Z] [2024-03-08T19:03:28.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:03:28.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T19:03:28.731Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-08T19:03:28.731Z] b85a868b505f: Pulling fs layer [2024-03-08T19:03:28.731Z] e2be974225ed: Pulling fs layer [2024-03-08T19:03:28.731Z] 339a4e72a1f5: Pulling fs layer [2024-03-08T19:03:28.731Z] 988bab9f4d93: Pulling fs layer [2024-03-08T19:03:28.731Z] 1469e6f7b9e6: Pulling fs layer [2024-03-08T19:03:28.731Z] eaf3925da568: Pulling fs layer [2024-03-08T19:03:28.731Z] bab4dde63d76: Pulling fs layer [2024-03-08T19:03:28.731Z] bde34c3a00c8: Pulling fs layer [2024-03-08T19:03:28.731Z] b352a97aabf1: Pulling fs layer [2024-03-08T19:03:28.731Z] 4872d77fe225: Pulling fs layer [2024-03-08T19:03:28.731Z] 5851b861e8e6: Pulling fs layer [2024-03-08T19:03:28.731Z] 988bab9f4d93: Waiting [2024-03-08T19:03:28.731Z] 1469e6f7b9e6: Waiting [2024-03-08T19:03:28.731Z] eaf3925da568: Waiting [2024-03-08T19:03:28.731Z] b352a97aabf1: Waiting [2024-03-08T19:03:28.731Z] bab4dde63d76: Waiting [2024-03-08T19:03:28.731Z] 5851b861e8e6: Waiting [2024-03-08T19:03:28.731Z] 4872d77fe225: Waiting [2024-03-08T19:03:28.731Z] e2be974225ed: Download complete [2024-03-08T19:03:28.731Z] 988bab9f4d93: Download complete [2024-03-08T19:03:28.731Z] 1469e6f7b9e6: Verifying Checksum [2024-03-08T19:03:28.731Z] 1469e6f7b9e6: Download complete [2024-03-08T19:03:28.731Z] 339a4e72a1f5: Verifying Checksum [2024-03-08T19:03:28.731Z] 339a4e72a1f5: Download complete [2024-03-08T19:03:28.990Z] eaf3925da568: Verifying Checksum [2024-03-08T19:03:28.990Z] eaf3925da568: Download complete [2024-03-08T19:03:28.990Z] bde34c3a00c8: Download complete [2024-03-08T19:03:28.990Z] b352a97aabf1: Download complete [2024-03-08T19:03:28.990Z] 4872d77fe225: Verifying Checksum [2024-03-08T19:03:28.990Z] 4872d77fe225: Download complete [2024-03-08T19:03:28.990Z] 5851b861e8e6: Verifying Checksum [2024-03-08T19:03:28.990Z] 5851b861e8e6: Download complete [2024-03-08T19:03:28.990Z] b85a868b505f: Download complete [2024-03-08T19:03:29.250Z] bab4dde63d76: Verifying Checksum [2024-03-08T19:03:29.250Z] bab4dde63d76: Download complete [2024-03-08T19:03:30.186Z] b85a868b505f: Pull complete [2024-03-08T19:03:30.186Z] e2be974225ed: Pull complete [2024-03-08T19:03:30.756Z] 339a4e72a1f5: Pull complete [2024-03-08T19:03:30.756Z] 988bab9f4d93: Pull complete [2024-03-08T19:03:31.017Z] 1469e6f7b9e6: Pull complete [2024-03-08T19:03:31.017Z] eaf3925da568: Pull complete [2024-03-08T19:03:32.921Z] bab4dde63d76: Pull complete [2024-03-08T19:03:32.921Z] bde34c3a00c8: Pull complete [2024-03-08T19:03:32.921Z] b352a97aabf1: Pull complete [2024-03-08T19:03:32.921Z] 4872d77fe225: Pull complete [2024-03-08T19:03:32.921Z] 5851b861e8e6: Pull complete [2024-03-08T19:03:32.921Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-08T19:03:32.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T19:03:32.921Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T19:03:33.272Z] prd-ubuntu20.04-docker-8c-8g-5271 does not seem to be running inside a container [2024-03-08T19:03:33.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-46 -v /w/workspace/edgexfoundry_device-uart_PR-46:/w/workspace/edgexfoundry_device-uart_PR-46:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-46@tmp:/w/workspace/edgexfoundry_device-uart_PR-46@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-03-08T19:03:34.408Z] $ docker top c3b85d54bf12a89d27044d2906927d8f8bb84a1c7bd5cc237b2f8d9ca7b2ba87 -eo pid,comm [2024-03-08T19:03:34.465Z] 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-03-08T19:03:34.466Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-08T19:03:34.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-08T19:03:34.666Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-08T19:03:34.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-08T19:03:34.769Z] $ docker exec c3b85d54bf12a89d27044d2906927d8f8bb84a1c7bd5cc237b2f8d9ca7b2ba87 ssh-agent [2024-03-08T19:03:34.870Z] SSH_AUTH_SOCK=/tmp/ssh-nMrzVXvwrwps/agent.32 [2024-03-08T19:03:34.870Z] SSH_AGENT_PID=38 [2024-03-08T19:03:34.877Z] Running ssh-add (command line suppressed) [2024-03-08T19:03:34.979Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-46@tmp/private_key_8524263202592977009.key (/w/workspace/edgexfoundry_device-uart_PR-46@tmp/private_key_8524263202592977009.key) [2024-03-08T19:03:34.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-08T19:03:35.355Z] + git tag --points-at HEAD [Pipeline] } [2024-03-08T19:03:35.376Z] $ docker exec --env ******** --env ******** c3b85d54bf12a89d27044d2906927d8f8bb84a1c7bd5cc237b2f8d9ca7b2ba87 ssh-agent -k [2024-03-08T19:03:35.469Z] unset SSH_AUTH_SOCK; [2024-03-08T19:03:35.469Z] unset SSH_AGENT_PID; [2024-03-08T19:03:35.470Z] echo Agent pid 38 killed; [2024-03-08T19:03:35.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-08T19:03:35.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-08T19:03:35.626Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-08T19:03:35.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-08T19:03:35.723Z] $ docker exec c3b85d54bf12a89d27044d2906927d8f8bb84a1c7bd5cc237b2f8d9ca7b2ba87 ssh-agent [2024-03-08T19:03:35.824Z] SSH_AUTH_SOCK=/tmp/ssh-dF8VrDrto5Js/agent.70 [2024-03-08T19:03:35.824Z] SSH_AGENT_PID=76 [2024-03-08T19:03:35.828Z] Running ssh-add (command line suppressed) [2024-03-08T19:03:35.928Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-46@tmp/private_key_8504159225082653470.key (/w/workspace/edgexfoundry_device-uart_PR-46@tmp/private_key_8504159225082653470.key) [2024-03-08T19:03:35.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-08T19:03:36.294Z] + git semver init [2024-03-08T19:03:36.554Z] 2024-03-08 19:03:36,447 [run_init] DEBUG init version:0.0.0 force:False [2024-03-08T19:03:36.554Z] 2024-03-08 19:03:36,448 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-46/.semver [2024-03-08T19:03:36.554Z] 2024-03-08 19:03:36,448 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-46/.semver [2024-03-08T19:03:36.554Z] 2024-03-08 19:03:36,449 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-46/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-46, universal_newlines=False, shell=None, istream=None) [2024-03-08T19:03:37.492Z] 2024-03-08 19:03:37,438 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-46/.git/info/exclude [2024-03-08T19:03:37.492Z] 2024-03-08 19:03:37,439 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-46/.semver/PR-46 with force:False [2024-03-08T19:03:37.492Z] 2024-03-08 19:03:37,439 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-46/.semver/PR-46 [2024-03-08T19:03:37.492Z] 2024-03-08 19:03:37,443 [execute] INFO git cat-file --batch-check [2024-03-08T19:03:37.492Z] 2024-03-08 19:03:37,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-46/.semver, universal_newlines=False, shell=None, istream=) [2024-03-08T19:03:37.492Z] 2024-03-08 19:03:37,449 [execute] INFO git cat-file --batch [2024-03-08T19:03:37.492Z] 2024-03-08 19:03:37,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-46/.semver, universal_newlines=False, shell=None, istream=) [2024-03-08T19:03:37.492Z] 2024-03-08 19:03:37,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-46/.semver/PR-46 [2024-03-08T19:03:37.492Z] 0.0.0 [Pipeline] } [2024-03-08T19:03:37.514Z] $ docker exec --env ******** --env ******** c3b85d54bf12a89d27044d2906927d8f8bb84a1c7bd5cc237b2f8d9ca7b2ba87 ssh-agent -k [2024-03-08T19:03:37.630Z] unset SSH_AUTH_SOCK; [2024-03-08T19:03:37.630Z] unset SSH_AGENT_PID; [2024-03-08T19:03:37.631Z] echo Agent pid 76 killed; [2024-03-08T19:03:37.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-08T19:03:38.148Z] + git semver [Pipeline] } [2024-03-08T19:03:38.427Z] $ docker stop --time=1 c3b85d54bf12a89d27044d2906927d8f8bb84a1c7bd5cc237b2f8d9ca7b2ba87 [2024-03-08T19:03:39.729Z] $ docker rm -f --volumes c3b85d54bf12a89d27044d2906927d8f8bb84a1c7bd5cc237b2f8d9ca7b2ba87 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-08T19:03:40.175Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-08T19:03:40.476Z] Stashed 1 file(s) [Pipeline] echo [2024-03-08T19:03:40.492Z] [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-03-08T19:03:41.356Z] provisioning config files... [2024-03-08T19:03:41.364Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-46@tmp/config14288658376901285483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:03:41.752Z] ---> ****-login.sh [2024-03-08T19:03:41.752Z] nexus3.edgexfoundry.org:10001 [2024-03-08T19:03:41.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:41.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:41.752Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:41.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:41.752Z] [2024-03-08T19:03:41.752Z] Login Succeeded [2024-03-08T19:03:41.753Z] nexus3.edgexfoundry.org:10002 [2024-03-08T19:03:41.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:41.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:41.753Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:41.753Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:41.753Z] [2024-03-08T19:03:41.753Z] Login Succeeded [2024-03-08T19:03:41.753Z] nexus3.edgexfoundry.org:10003 [2024-03-08T19:03:42.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:42.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:42.013Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:42.014Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:42.014Z] [2024-03-08T19:03:42.014Z] Login Succeeded [2024-03-08T19:03:42.014Z] nexus3.edgexfoundry.org:10004 [2024-03-08T19:03:42.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:42.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:42.014Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:42.014Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:42.014Z] [2024-03-08T19:03:42.014Z] Login Succeeded [2024-03-08T19:03:42.014Z] ****.io [2024-03-08T19:03:42.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:03:42.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:03:42.273Z] Configure a credential helper to remove this warning. See [2024-03-08T19:03:42.273Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:03:42.273Z] [2024-03-08T19:03:42.273Z] Login Succeeded [2024-03-08T19:03:42.273Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T19:03:42.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-08T19:03:42.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T19:03:42.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T19:03:42.778Z] ========================================================= [2024-03-08T19:03:42.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-08T19:03:42.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:03:43.347Z] + 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-03-08T19:03:43.347Z] Sending build context to Docker daemon 23.07MB [2024-03-08T19:03:43.347Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T19:03:43.347Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-08T19:03:43.607Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-08T19:03:43.607Z] 7264a8db6415: Pulling fs layer [2024-03-08T19:03:43.607Z] c4d48a809fc2: Pulling fs layer [2024-03-08T19:03:43.607Z] 4f1c88b9dad5: Pulling fs layer [2024-03-08T19:03:43.607Z] ad3a456e5733: Pulling fs layer [2024-03-08T19:03:43.607Z] 69c7f0334f64: Pulling fs layer [2024-03-08T19:03:43.607Z] 1f1c1a5573a3: Pulling fs layer [2024-03-08T19:03:43.607Z] ce7588e14bc9: Pulling fs layer [2024-03-08T19:03:43.607Z] ad3a456e5733: Waiting [2024-03-08T19:03:43.607Z] 1f1c1a5573a3: Waiting [2024-03-08T19:03:43.607Z] 69c7f0334f64: Waiting [2024-03-08T19:03:43.607Z] ce7588e14bc9: Waiting [2024-03-08T19:03:43.607Z] b5e4710f87ac: Pulling fs layer [2024-03-08T19:03:43.607Z] c4d48a809fc2: Download complete [2024-03-08T19:03:43.607Z] ad3a456e5733: Verifying Checksum [2024-03-08T19:03:43.607Z] ad3a456e5733: Download complete [2024-03-08T19:03:43.607Z] 69c7f0334f64: Verifying Checksum [2024-03-08T19:03:43.607Z] 69c7f0334f64: Download complete [2024-03-08T19:03:43.607Z] 7264a8db6415: Verifying Checksum [2024-03-08T19:03:43.607Z] 7264a8db6415: Download complete [2024-03-08T19:03:43.607Z] 1f1c1a5573a3: Verifying Checksum [2024-03-08T19:03:43.607Z] 1f1c1a5573a3: Download complete [2024-03-08T19:03:43.867Z] 7264a8db6415: Pull complete [2024-03-08T19:03:43.867Z] c4d48a809fc2: Pull complete [2024-03-08T19:03:43.867Z] b5e4710f87ac: Verifying Checksum [2024-03-08T19:03:43.867Z] b5e4710f87ac: Download complete [2024-03-08T19:03:44.126Z] 4f1c88b9dad5: Download complete [2024-03-08T19:03:44.384Z] ce7588e14bc9: Verifying Checksum [2024-03-08T19:03:44.384Z] ce7588e14bc9: Download complete [2024-03-08T19:03:47.680Z] 4f1c88b9dad5: Pull complete [2024-03-08T19:03:47.680Z] ad3a456e5733: Pull complete [2024-03-08T19:03:47.680Z] 69c7f0334f64: Pull complete [2024-03-08T19:03:47.680Z] 1f1c1a5573a3: Pull complete [2024-03-08T19:03:50.213Z] ce7588e14bc9: Pull complete [2024-03-08T19:03:50.213Z] b5e4710f87ac: Pull complete [2024-03-08T19:03:50.213Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-08T19:03:50.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-08T19:03:50.213Z] ---> 88b5674ff536 [2024-03-08T19:03:50.213Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-08T19:03:51.590Z] ---> Running in 51380e2a82b7 [2024-03-08T19:03:51.590Z] Removing intermediate container 51380e2a82b7 [2024-03-08T19:03:51.590Z] ---> 2ca72f896860 [2024-03-08T19:03:51.590Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-08T19:03:51.590Z] ---> Running in d7dbfeafb32e [2024-03-08T19:03:51.590Z] Removing intermediate container d7dbfeafb32e [2024-03-08T19:03:51.590Z] ---> cf2cee756e91 [2024-03-08T19:03:51.590Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-08T19:03:51.590Z] ---> Running in 42d1e456a197 [2024-03-08T19:03:51.590Z] Removing intermediate container 42d1e456a197 [2024-03-08T19:03:51.590Z] ---> bc1af6720ad1 [2024-03-08T19:03:51.590Z] Step 6/12 : WORKDIR /device-uart [2024-03-08T19:03:51.590Z] ---> Running in 82d6324fba4e [2024-03-08T19:03:51.852Z] Removing intermediate container 82d6324fba4e [2024-03-08T19:03:51.852Z] ---> e12b1ba44e24 [2024-03-08T19:03:51.852Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-08T19:03:51.852Z] ---> Running in c9a35ddb7b10 [2024-03-08T19:03:52.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T19:03:52.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T19:03:52.372Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-08T19:03:52.633Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-08T19:03:52.633Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-08T19:03:52.633Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-08T19:03:52.633Z] Executing busybox-1.36.1-r5.trigger [2024-03-08T19:03:52.633Z] OK: 268 MiB in 56 packages [2024-03-08T19:03:52.894Z] Removing intermediate container c9a35ddb7b10 [2024-03-08T19:03:52.894Z] ---> 25f565f1d77b [2024-03-08T19:03:52.894Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-08T19:03:53.154Z] ---> 627168a65dda [2024-03-08T19:03:53.154Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T19:03:53.154Z] ---> Running in 78144967fb08 [2024-03-08T19:03:56.131Z] Still waiting to schedule task [2024-03-08T19:03:56.131Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-08T19:04:15.107Z] Removing intermediate container 78144967fb08 [2024-03-08T19:04:15.107Z] ---> 18f5da0ee464 [2024-03-08T19:04:15.107Z] Step 10/12 : COPY . . [2024-03-08T19:04:15.107Z] ---> a78b99edd3b3 [2024-03-08T19:04:15.107Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-08T19:04:15.107Z] ---> Running in f43b3a877c22 [2024-03-08T19:04:15.107Z] Removing intermediate container f43b3a877c22 [2024-03-08T19:04:15.107Z] ---> 7f8553070cfa [2024-03-08T19:04:15.107Z] Step 12/12 : RUN ${MAKE} [2024-03-08T19:04:15.107Z] ---> Running in 9e65dabc4e7a [2024-03-08T19:04:15.107Z] noop [2024-03-08T19:04:15.107Z] Removing intermediate container 9e65dabc4e7a [2024-03-08T19:04:15.107Z] ---> 4c9b9b3f5d7e [2024-03-08T19:04:15.107Z] Successfully built 4c9b9b3f5d7e [2024-03-08T19:04:15.107Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:04:15.639Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-08T19:04:15.639Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T19:04:15.834Z] prd-ubuntu20.04-docker-8c-8g-5271 does not seem to be running inside a container [2024-03-08T19:04:15.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-46 -v /w/workspace/edgexfoundry_device-uart_PR-46:/w/workspace/edgexfoundry_device-uart_PR-46:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-46@tmp:/w/workspace/edgexfoundry_device-uart_PR-46@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-03-08T19:04:16.179Z] $ docker top 190a6d4b7b6fadcb431cdb92d6674a7f1244499ac94da033c1e1a09464bb0aec -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T19:04:16.624Z] + go version [2024-03-08T19:04:16.624Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-08T19:04:16.653Z] $ docker stop --time=1 190a6d4b7b6fadcb431cdb92d6674a7f1244499ac94da033c1e1a09464bb0aec [2024-03-08T19:04:17.911Z] $ docker rm -f --volumes 190a6d4b7b6fadcb431cdb92d6674a7f1244499ac94da033c1e1a09464bb0aec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:04:18.878Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-08T19:04:18.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T19:04:19.094Z] prd-ubuntu20.04-docker-8c-8g-5271 does not seem to be running inside a container [2024-03-08T19:04:19.123Z] $ 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-46 -v /w/workspace/edgexfoundry_device-uart_PR-46:/w/workspace/edgexfoundry_device-uart_PR-46:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-46@tmp:/w/workspace/edgexfoundry_device-uart_PR-46@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-03-08T19:04:19.444Z] $ docker top 0513db92250cec7e9755d96e034aae9af9ac32fae808615387b608bbdea3f13e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T19:04:19.896Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-46 [Pipeline] fileExists [Pipeline] sh [2024-03-08T19:04:20.294Z] + make test [2024-03-08T19:04:20.294Z] go test ./... -coverprofile=coverage.out [2024-03-08T19:04:21.235Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-03-08T19:04:31.209Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-03-08T19:04:31.209Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-03-08T19:04:36.475Z] go vet ./... [2024-03-08T19:04:39.763Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-08T19:04:39.763Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-08T19:04:39.763Z] ./bin/test-attribution-txt.sh [2024-03-08T19:04:39.763Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-08T19:04:39.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-08T19:04:39.881Z] $ docker stop --time=1 0513db92250cec7e9755d96e034aae9af9ac32fae808615387b608bbdea3f13e [2024-03-08T19:04:41.586Z] $ docker rm -f --volumes 0513db92250cec7e9755d96e034aae9af9ac32fae808615387b608bbdea3f13e [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-08T19:04:42.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-08T19:04:42.249Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-08T19:04:43.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-08T19:04:43.595Z] + ls -al . [2024-03-08T19:04:43.595Z] total 156 [2024-03-08T19:04:43.595Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 19:04 . [2024-03-08T19:04:43.595Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 19:03 .. [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 19:03 .dockerignore [2024-03-08T19:04:43.595Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 19:04 .git [2024-03-08T19:04:43.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:03 .github [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 8 19:03 .gitignore [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 19:03 .golangci.yml [2024-03-08T19:04:43.595Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 19:03 .semver [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 9941 Mar 8 19:03 Attribution.txt [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 1908 Mar 8 19:03 CHANGELOG.md [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 1886 Mar 8 19:03 Dockerfile [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 19:03 GOVERNANCE.md [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 675 Mar 8 19:03 Jenkinsfile [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 19:03 LICENSE [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 1872 Mar 8 19:03 Makefile [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 8 19:03 OWNERS.md [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 8892 Mar 8 19:03 README.md [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 19:03 VERSION [2024-03-08T19:04:43.595Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 19:03 bin [2024-03-08T19:04:43.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:03 cmd [2024-03-08T19:04:43.595Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 8 19:04 coverage.out [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 3766 Mar 8 19:03 go.mod [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 36435 Mar 8 19:03 go.sum [2024-03-08T19:04:43.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:03 internal [2024-03-08T19:04:43.595Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 8 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:04:44.031Z] + 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=bab74745aba4971f5e6965fcae55cdff34a9de4f --label arch=amd64 --label version=0.0.0 . [2024-03-08T19:04:44.031Z] Sending build context to Docker daemon 23.07MB [2024-03-08T19:04:44.031Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T19:04:44.031Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-08T19:04:44.031Z] ---> 4c9b9b3f5d7e [2024-03-08T19:04:44.031Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-08T19:04:44.292Z] ---> Running in e7b5556f6a43 [2024-03-08T19:04:44.292Z] Removing intermediate container e7b5556f6a43 [2024-03-08T19:04:44.292Z] ---> f3fe0df03897 [2024-03-08T19:04:44.292Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-08T19:04:44.292Z] ---> Running in 30939ca2032d [2024-03-08T19:04:44.292Z] Removing intermediate container 30939ca2032d [2024-03-08T19:04:44.292Z] ---> 7441558a5726 [2024-03-08T19:04:44.292Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-08T19:04:44.292Z] ---> Running in 65127574e6e8 [2024-03-08T19:04:44.292Z] Removing intermediate container 65127574e6e8 [2024-03-08T19:04:44.292Z] ---> ea8c1d7a4f4f [2024-03-08T19:04:44.292Z] Step 6/26 : WORKDIR /device-uart [2024-03-08T19:04:44.551Z] ---> Running in 73be48fa396f [2024-03-08T19:04:44.551Z] Removing intermediate container 73be48fa396f [2024-03-08T19:04:44.551Z] ---> d56d443beb8d [2024-03-08T19:04:44.551Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-08T19:04:44.551Z] ---> Running in e1166e0360ff [2024-03-08T19:04:44.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T19:04:45.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T19:04:45.070Z] OK: 268 MiB in 56 packages [2024-03-08T19:04:45.646Z] Removing intermediate container e1166e0360ff [2024-03-08T19:04:45.646Z] ---> 3d0e38fe1cc5 [2024-03-08T19:04:45.646Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-08T19:04:45.646Z] ---> 2c409c916353 [2024-03-08T19:04:45.646Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T19:04:45.646Z] ---> Running in 45f204f62fb5 [2024-03-08T19:04:46.218Z] Removing intermediate container 45f204f62fb5 [2024-03-08T19:04:46.218Z] ---> bbe1341813a2 [2024-03-08T19:04:46.218Z] Step 10/26 : COPY . . [2024-03-08T19:04:46.478Z] ---> 79fb149e6fd0 [2024-03-08T19:04:46.478Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-08T19:04:46.478Z] ---> Running in d4db016dcc6d [2024-03-08T19:04:46.737Z] Removing intermediate container d4db016dcc6d [2024-03-08T19:04:46.737Z] ---> feeeda761084 [2024-03-08T19:04:46.737Z] Step 12/26 : RUN ${MAKE} [2024-03-08T19:04:46.737Z] ---> Running in 5de5816014af [2024-03-08T19:04:46.996Z] 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.10" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-03-08T19:05:01.879Z] Removing intermediate container 5de5816014af [2024-03-08T19:05:01.879Z] ---> 61057def0695 [2024-03-08T19:05:01.879Z] Step 13/26 : FROM alpine:3.18 [2024-03-08T19:05:01.879Z] 3.18: Pulling from library/alpine [2024-03-08T19:05:01.879Z] 619be1103602: Pulling fs layer [2024-03-08T19:05:02.138Z] 619be1103602: Download complete [2024-03-08T19:05:02.397Z] 619be1103602: Pull complete [2024-03-08T19:05:02.397Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-08T19:05:02.397Z] Status: Downloaded newer image for alpine:3.18 [2024-03-08T19:05:02.397Z] ---> d3782b16ccc9 [2024-03-08T19:05:02.397Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-08T19:05:02.397Z] ---> Running in b5b4f0933726 [2024-03-08T19:05:02.397Z] Removing intermediate container b5b4f0933726 [2024-03-08T19:05:02.397Z] ---> bb55927dff7d [2024-03-08T19:05:02.397Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-08T19:05:02.397Z] ---> Running in f2284fcbe0dd [2024-03-08T19:05:02.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T19:05:02.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T19:05:03.184Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-08T19:05:03.184Z] Executing busybox-1.36.1-r5.trigger [2024-03-08T19:05:03.184Z] OK: 7 MiB in 16 packages [2024-03-08T19:05:03.443Z] Removing intermediate container f2284fcbe0dd [2024-03-08T19:05:03.443Z] ---> 82a8213a849e [2024-03-08T19:05:03.443Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-08T19:05:03.443Z] ---> Running in 81fb9867efe5 [2024-03-08T19:05:03.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T19:05:03.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T19:05:03.961Z] OK: 7 MiB in 16 packages [2024-03-08T19:05:04.220Z] Removing intermediate container 81fb9867efe5 [2024-03-08T19:05:04.220Z] ---> 551f7b238857 [2024-03-08T19:05:04.220Z] Step 17/26 : WORKDIR / [2024-03-08T19:05:04.220Z] ---> Running in 7a50d0d30486 [2024-03-08T19:05:04.479Z] Removing intermediate container 7a50d0d30486 [2024-03-08T19:05:04.479Z] ---> 9996c4db9c44 [2024-03-08T19:05:04.479Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-03-08T19:05:04.479Z] ---> ea35873a67bc [2024-03-08T19:05:04.479Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-03-08T19:05:04.739Z] ---> a4d207fd92fd [2024-03-08T19:05:04.739Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-03-08T19:05:04.998Z] ---> feaa06498e79 [2024-03-08T19:05:04.998Z] Step 21/26 : EXPOSE 59995 [2024-03-08T19:05:04.998Z] ---> Running in 54cdbb702c3a [2024-03-08T19:05:05.257Z] Removing intermediate container 54cdbb702c3a [2024-03-08T19:05:05.257Z] ---> e12024c75134 [2024-03-08T19:05:05.257Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-03-08T19:05:05.257Z] ---> Running in a5bad5aacf27 [2024-03-08T19:05:05.257Z] Removing intermediate container a5bad5aacf27 [2024-03-08T19:05:05.257Z] ---> c9ec3048cade [2024-03-08T19:05:05.257Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-08T19:05:05.257Z] ---> Running in 728cd45c52ad [2024-03-08T19:05:05.257Z] Removing intermediate container 728cd45c52ad [2024-03-08T19:05:05.257Z] ---> e8ace0638681 [2024-03-08T19:05:05.257Z] Step 24/26 : LABEL arch=amd64 [2024-03-08T19:05:05.257Z] ---> Running in 2f344b652b17 [2024-03-08T19:05:05.520Z] Removing intermediate container 2f344b652b17 [2024-03-08T19:05:05.520Z] ---> 04003a22c9df [2024-03-08T19:05:05.520Z] Step 25/26 : LABEL git_sha=bab74745aba4971f5e6965fcae55cdff34a9de4f [2024-03-08T19:05:05.520Z] ---> Running in 5b0a130e4628 [2024-03-08T19:05:05.520Z] Removing intermediate container 5b0a130e4628 [2024-03-08T19:05:05.520Z] ---> 929906a6f344 [2024-03-08T19:05:05.520Z] Step 26/26 : LABEL version=0.0.0 [2024-03-08T19:05:05.520Z] ---> Running in 11cd8596d8ad [2024-03-08T19:05:05.785Z] Removing intermediate container 11cd8596d8ad [2024-03-08T19:05:05.785Z] ---> 0b9a4312beb5 [2024-03-08T19:05:05.785Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-08T19:05:05.785Z] Successfully built 0b9a4312beb5 [2024-03-08T19:05:05.785Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:05:07.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T19:05:07.263Z] [2024-03-08T19:05:07.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:05:07.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T19:05:07.662Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-08T19:05:07.662Z] 5eb5b503b376: Pulling fs layer [2024-03-08T19:05:07.662Z] 5c69ac0246d0: Pulling fs layer [2024-03-08T19:05:07.662Z] ec43610c2a17: Pulling fs layer [2024-03-08T19:05:07.662Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-08T19:05:07.662Z] 33b1e0a273af: Pulling fs layer [2024-03-08T19:05:07.662Z] 5d3b04190fa2: Pulling fs layer [2024-03-08T19:05:07.662Z] 2f39f015ded8: Pulling fs layer [2024-03-08T19:05:07.662Z] 33b1e0a273af: Waiting [2024-03-08T19:05:07.662Z] 5d3b04190fa2: Waiting [2024-03-08T19:05:07.662Z] 3a2ae6a8a46f: Waiting [2024-03-08T19:05:07.662Z] 2f39f015ded8: Waiting [2024-03-08T19:05:07.662Z] 5c69ac0246d0: Verifying Checksum [2024-03-08T19:05:07.662Z] 5c69ac0246d0: Download complete [2024-03-08T19:05:07.662Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-08T19:05:07.662Z] 3a2ae6a8a46f: Download complete [2024-03-08T19:05:07.662Z] 33b1e0a273af: Verifying Checksum [2024-03-08T19:05:07.662Z] 33b1e0a273af: Download complete [2024-03-08T19:05:07.662Z] ec43610c2a17: Verifying Checksum [2024-03-08T19:05:07.662Z] ec43610c2a17: Download complete [2024-03-08T19:05:07.662Z] 5d3b04190fa2: Verifying Checksum [2024-03-08T19:05:07.663Z] 5d3b04190fa2: Download complete [2024-03-08T19:05:07.921Z] 5eb5b503b376: Verifying Checksum [2024-03-08T19:05:07.921Z] 5eb5b503b376: Download complete [2024-03-08T19:05:08.487Z] 2f39f015ded8: Verifying Checksum [2024-03-08T19:05:08.487Z] 2f39f015ded8: Download complete [2024-03-08T19:05:09.052Z] 5eb5b503b376: Pull complete [2024-03-08T19:05:09.052Z] 5c69ac0246d0: Pull complete [2024-03-08T19:05:09.315Z] ec43610c2a17: Pull complete [2024-03-08T19:05:09.315Z] 3a2ae6a8a46f: Pull complete [2024-03-08T19:05:09.574Z] 33b1e0a273af: Pull complete [2024-03-08T19:05:09.574Z] 5d3b04190fa2: Pull complete [2024-03-08T19:05:13.768Z] 2f39f015ded8: Pull complete [2024-03-08T19:05:13.768Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-08T19:05:13.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T19:05:13.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T19:05:14.113Z] prd-ubuntu20.04-docker-8c-8g-5271 does not seem to be running inside a container [2024-03-08T19:05:14.144Z] $ 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-46 -v /w/workspace/edgexfoundry_device-uart_PR-46:/w/workspace/edgexfoundry_device-uart_PR-46:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-46@tmp:/w/workspace/edgexfoundry_device-uart_PR-46@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-03-08T19:05:15.348Z] $ docker top 6d97898d58f59c3978d8322654a0faca1e9f0b852e5be55613b7d0205c676d4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:05:15.878Z] ---> job-cost.sh [2024-03-08T19:05:15.878Z] lf-activate-venv: SKIPPING [2024-03-08T19:05:15.878Z] INFO: No Stack... [2024-03-08T19:05:16.444Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-08T19:05:16.705Z] INFO: Archiving Costs [Pipeline] sh [2024-03-08T19:05:17.018Z] + cat /w/workspace/edgexfoundry_device-uart_PR-46/archives/cost.csv [2024-03-08T19:05:17.019Z] + cut -d, -f6 [Pipeline] lock [2024-03-08T19:05:17.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-46-1-stack-cost] [2024-03-08T19:05:17.069Z] Resource [jenkins-edgexfoundry-device-uart-PR-46-1-stack-cost] did not exist. Created. [2024-03-08T19:05:17.074Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-46-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-08T19:05:17.539Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-08T19:05:17.594Z] Stashed 1 file(s) [Pipeline] } [2024-03-08T19:05:17.656Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-46-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-08T19:05:17.805Z] $ docker stop --time=1 6d97898d58f59c3978d8322654a0faca1e9f0b852e5be55613b7d0205c676d4f [2024-03-08T19:05:18.959Z] $ docker rm -f --volumes 6d97898d58f59c3978d8322654a0faca1e9f0b852e5be55613b7d0205c676d4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-08T19:05:23.117Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5273 in /w/workspace/edgexfoundry_device-uart_PR-46 [Pipeline] { [Pipeline] ws [2024-03-08T19:05:23.214Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-03-08T19:05:26.339Z] The recommended git tool is: git [2024-03-08T19:05:31.330Z] using credential edgex-jenkins-ssh [2024-03-08T19:05:31.349Z] Cloning the remote Git repository [2024-03-08T19:05:31.389Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-03-08T19:05:31.470Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-03-08T19:05:31.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-03-08T19:05:31.599Z] > git --version # timeout=10 [2024-03-08T19:05:31.619Z] > git --version # 'git version 2.25.1' [2024-03-08T19:05:31.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T19:05:31.759Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-08T19:05:33.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-03-08T19:05:33.781Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-08T19:05:35.172Z] Merging remotes/origin/main commit d91c28011fe1e340ffb33947d534daf2c02bd499 into PR head commit bab74745aba4971f5e6965fcae55cdff34a9de4f [2024-03-08T19:05:34.658Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-03-08T19:05:34.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-03-08T19:05:34.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T19:05:34.707Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-08T19:05:35.195Z] > git config core.sparsecheckout # timeout=10 [2024-03-08T19:05:35.255Z] > git checkout -f bab74745aba4971f5e6965fcae55cdff34a9de4f # timeout=10 [2024-03-08T19:05:35.421Z] Merge succeeded, producing bab74745aba4971f5e6965fcae55cdff34a9de4f [2024-03-08T19:05:35.422Z] Checking out Revision bab74745aba4971f5e6965fcae55cdff34a9de4f (PR-46) [2024-03-08T19:05:35.906Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-08T19:05:35.961Z] > git --version # timeout=10 [2024-03-08T19:05:35.972Z] > git --version # 'git version 2.25.1' [2024-03-08T19:05:35.984Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2024-03-08T19:05:35.333Z] > git remote # timeout=10 [2024-03-08T19:05:35.353Z] > git config --get remote.origin.url # timeout=10 [2024-03-08T19:05:35.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T19:05:35.381Z] > git merge d91c28011fe1e340ffb33947d534daf2c02bd499 # timeout=10 [2024-03-08T19:05:35.407Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-08T19:05:35.428Z] > git config core.sparsecheckout # timeout=10 [2024-03-08T19:05:35.438Z] > git checkout -f bab74745aba4971f5e6965fcae55cdff34a9de4f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T19:05:37.345Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-08T19:05:37.345Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-08T19:05:37.345Z] Dload Upload Total Spent Left Speed [2024-03-08T19:05:37.345Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 120k 0 --:--:-- --:--:-- --:--:-- 120k [Pipeline] sh [2024-03-08T19:05:37.686Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-08T19:05:38.032Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-08T19:05:38.032Z] + sudo tee /etc/docker/daemon.new [2024-03-08T19:05:38.032Z] { [2024-03-08T19:05:38.032Z] "registry-mirrors": [ [2024-03-08T19:05:38.032Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-08T19:05:38.032Z] ], [2024-03-08T19:05:38.032Z] "bip": "10.250.0.254/24", [2024-03-08T19:05:38.032Z] "hosts": [ [2024-03-08T19:05:38.032Z] "tcp://0.0.0.0:5555", [2024-03-08T19:05:38.032Z] "unix:///var/run/docker.sock" [2024-03-08T19:05:38.032Z] ], [2024-03-08T19:05:38.032Z] "mtu": 1458, [2024-03-08T19:05:38.032Z] "selinux-enabled": true, [2024-03-08T19:05:38.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-08T19:05:38.032Z] } [Pipeline] sh [2024-03-08T19:05:38.377Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-08T19:05:38.723Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T19:05:57.050Z] provisioning config files... [2024-03-08T19:05:57.089Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config13096921608801815604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:05:57.578Z] ---> ****-login.sh [2024-03-08T19:05:57.578Z] nexus3.edgexfoundry.org:10001 [2024-03-08T19:05:57.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:05:58.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:05:58.120Z] Configure a credential helper to remove this warning. See [2024-03-08T19:05:58.120Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:05:58.120Z] [2024-03-08T19:05:58.120Z] Login Succeeded [2024-03-08T19:05:58.120Z] nexus3.edgexfoundry.org:10002 [2024-03-08T19:05:58.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:05:58.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:05:58.389Z] Configure a credential helper to remove this warning. See [2024-03-08T19:05:58.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:05:58.389Z] [2024-03-08T19:05:58.389Z] Login Succeeded [2024-03-08T19:05:58.389Z] nexus3.edgexfoundry.org:10003 [2024-03-08T19:05:58.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:05:58.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:05:58.925Z] Configure a credential helper to remove this warning. See [2024-03-08T19:05:58.925Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:05:58.925Z] [2024-03-08T19:05:58.925Z] Login Succeeded [2024-03-08T19:05:58.925Z] nexus3.edgexfoundry.org:10004 [2024-03-08T19:05:59.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:05:59.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:05:59.193Z] Configure a credential helper to remove this warning. See [2024-03-08T19:05:59.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:05:59.193Z] [2024-03-08T19:05:59.193Z] Login Succeeded [2024-03-08T19:05:59.193Z] ****.io [2024-03-08T19:05:59.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T19:05:59.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T19:05:59.741Z] Configure a credential helper to remove this warning. See [2024-03-08T19:05:59.742Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T19:05:59.742Z] [2024-03-08T19:05:59.742Z] Login Succeeded [2024-03-08T19:05:59.742Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T19:05:59.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-08T19:06:00.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T19:06:00.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T19:06:00.466Z] ========================================================= [2024-03-08T19:06:00.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-08T19:06:00.466Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:06:01.114Z] + 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-03-08T19:06:01.701Z] Sending build context to Docker daemon 11.6MB [2024-03-08T19:06:01.701Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T19:06:01.701Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-08T19:06:01.701Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-08T19:06:01.701Z] 9fda8d8052c6: Pulling fs layer [2024-03-08T19:06:01.701Z] 5d54e960e981: Pulling fs layer [2024-03-08T19:06:01.701Z] c4a7e357bf2a: Pulling fs layer [2024-03-08T19:06:01.701Z] f0e02332f6b5: Pulling fs layer [2024-03-08T19:06:01.701Z] 872ee5b61b7b: Pulling fs layer [2024-03-08T19:06:01.701Z] 0c6a40ed1a82: Pulling fs layer [2024-03-08T19:06:01.701Z] 94ae7d8d031c: Pulling fs layer [2024-03-08T19:06:01.701Z] f0e02332f6b5: Waiting [2024-03-08T19:06:01.701Z] 872ee5b61b7b: Waiting [2024-03-08T19:06:01.701Z] 0c6a40ed1a82: Waiting [2024-03-08T19:06:01.701Z] 94ae7d8d031c: Waiting [2024-03-08T19:06:01.701Z] 5d54e960e981: Verifying Checksum [2024-03-08T19:06:01.701Z] 5d54e960e981: Download complete [2024-03-08T19:06:01.701Z] f0e02332f6b5: Verifying Checksum [2024-03-08T19:06:01.701Z] f0e02332f6b5: Download complete [2024-03-08T19:06:01.701Z] 872ee5b61b7b: Verifying Checksum [2024-03-08T19:06:01.701Z] 872ee5b61b7b: Download complete [2024-03-08T19:06:01.972Z] 9fda8d8052c6: Download complete [2024-03-08T19:06:02.562Z] 94ae7d8d031c: Verifying Checksum [2024-03-08T19:06:02.562Z] 94ae7d8d031c: Download complete [2024-03-08T19:06:03.550Z] 9fda8d8052c6: Pull complete [2024-03-08T19:06:04.136Z] 5d54e960e981: Pull complete [2024-03-08T19:06:04.405Z] c4a7e357bf2a: Verifying Checksum [2024-03-08T19:06:04.405Z] c4a7e357bf2a: Download complete [2024-03-08T19:06:05.368Z] 0c6a40ed1a82: Verifying Checksum [2024-03-08T19:06:05.368Z] 0c6a40ed1a82: Download complete [2024-03-08T19:06:17.687Z] c4a7e357bf2a: Pull complete [2024-03-08T19:06:17.687Z] f0e02332f6b5: Pull complete [2024-03-08T19:06:17.687Z] 872ee5b61b7b: Pull complete [2024-03-08T19:06:25.890Z] 0c6a40ed1a82: Pull complete [2024-03-08T19:06:27.829Z] 94ae7d8d031c: Pull complete [2024-03-08T19:06:27.829Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-08T19:06:27.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-08T19:06:27.829Z] ---> 86de565de09d [2024-03-08T19:06:27.829Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-08T19:06:28.409Z] ---> Running in 72f345cd5708 [2024-03-08T19:06:28.675Z] Removing intermediate container 72f345cd5708 [2024-03-08T19:06:28.675Z] ---> 18f1e9a09fa7 [2024-03-08T19:06:28.675Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-08T19:06:28.675Z] ---> Running in 3c8ef9751e90 [2024-03-08T19:06:28.948Z] Removing intermediate container 3c8ef9751e90 [2024-03-08T19:06:28.948Z] ---> f274bbeba2f5 [2024-03-08T19:06:28.948Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-08T19:06:29.215Z] ---> Running in c2441d26d57f [2024-03-08T19:06:29.482Z] Removing intermediate container c2441d26d57f [2024-03-08T19:06:29.482Z] ---> 4ba6736cf88a [2024-03-08T19:06:29.482Z] Step 6/12 : WORKDIR /device-uart [2024-03-08T19:06:29.482Z] ---> Running in 860864bad832 [2024-03-08T19:06:29.749Z] Removing intermediate container 860864bad832 [2024-03-08T19:06:29.749Z] ---> a10dd74d0688 [2024-03-08T19:06:29.749Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-08T19:06:29.749Z] ---> Running in dcfc784ba2a2 [2024-03-08T19:06:31.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T19:06:31.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T19:06:32.116Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-08T19:06:32.116Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-08T19:06:32.116Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-08T19:06:32.383Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-08T19:06:32.383Z] Executing busybox-1.36.1-r5.trigger [2024-03-08T19:06:32.383Z] OK: 271 MiB in 56 packages [2024-03-08T19:06:33.353Z] Removing intermediate container dcfc784ba2a2 [2024-03-08T19:06:33.353Z] ---> 3ac42d873d8c [2024-03-08T19:06:33.353Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-08T19:06:33.940Z] ---> 28ffb445124f [2024-03-08T19:06:33.940Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T19:06:33.940Z] ---> Running in 75c9e850d331 [2024-03-08T19:07:41.921Z] Removing intermediate container 75c9e850d331 [2024-03-08T19:07:41.921Z] ---> c458a4377901 [2024-03-08T19:07:41.921Z] Step 10/12 : COPY . . [2024-03-08T19:07:41.921Z] ---> 917b7e2df54a [2024-03-08T19:07:41.921Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-08T19:07:41.921Z] ---> Running in c2cfd88aa135 [2024-03-08T19:07:41.921Z] Removing intermediate container c2cfd88aa135 [2024-03-08T19:07:41.921Z] ---> fac001699518 [2024-03-08T19:07:41.921Z] Step 12/12 : RUN ${MAKE} [2024-03-08T19:07:41.921Z] ---> Running in 62d79c542d3f [2024-03-08T19:07:41.921Z] noop [2024-03-08T19:07:41.921Z] Removing intermediate container 62d79c542d3f [2024-03-08T19:07:41.921Z] ---> 472972e3dd38 [2024-03-08T19:07:41.921Z] Successfully built 472972e3dd38 [2024-03-08T19:07:41.921Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:07:42.533Z] + docker inspect -f . ci-base-image-arm64 [2024-03-08T19:07:42.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T19:07:42.977Z] prd-ubuntu20.04-docker-arm64-4c-16g-5273 does not seem to be running inside a container [2024-03-08T19:07:43.033Z] $ 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-03-08T19:07:44.168Z] $ docker top d1021c9a1cef34100047a5f1410105d220ea03cd882fdd3f0242bbbb58efa93f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T19:07:45.128Z] + go version [2024-03-08T19:07:45.128Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-08T19:07:45.163Z] $ docker stop --time=1 d1021c9a1cef34100047a5f1410105d220ea03cd882fdd3f0242bbbb58efa93f [2024-03-08T19:07:46.723Z] $ docker rm -f --volumes d1021c9a1cef34100047a5f1410105d220ea03cd882fdd3f0242bbbb58efa93f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:07:47.911Z] + docker inspect -f . ci-base-image-arm64 [2024-03-08T19:07:47.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T19:07:48.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-5273 does not seem to be running inside a container [2024-03-08T19:07:48.283Z] $ 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-03-08T19:07:49.391Z] $ docker top 353e4c63f0a865656384d2980c5006672212bd176fdaf16b26e234f0c86e5aa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T19:07:50.002Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-03-08T19:07:50.433Z] + make test [2024-03-08T19:07:50.433Z] go test ./... -coverprofile=coverage.out [2024-03-08T19:07:53.775Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-03-08T19:09:15.427Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-03-08T19:09:15.427Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-03-08T19:09:16.008Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-08T19:09:16.008Z] go vet ./... [2024-03-08T19:09:38.061Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-08T19:09:38.061Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-08T19:09:38.061Z] ./bin/test-attribution-txt.sh [2024-03-08T19:09:38.061Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-08T19:09:38.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-08T19:09:38.173Z] $ docker stop --time=1 353e4c63f0a865656384d2980c5006672212bd176fdaf16b26e234f0c86e5aa7 [2024-03-08T19:09:39.981Z] $ docker rm -f --volumes 353e4c63f0a865656384d2980c5006672212bd176fdaf16b26e234f0c86e5aa7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-08T19:09:41.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-08T19:09:41.227Z] Warning: overwriting stash ‘coverage-report’ [2024-03-08T19:09:41.602Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T19:09:42.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-08T19:09:42.867Z] + ls -al . [2024-03-08T19:09:42.867Z] total 152 [2024-03-08T19:09:42.867Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 8 19:07 . [2024-03-08T19:09:42.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 19:05 .. [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 19:05 .dockerignore [2024-03-08T19:09:42.867Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 19:05 .git [2024-03-08T19:09:42.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:05 .github [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 8 19:05 .gitignore [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 19:05 .golangci.yml [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 9941 Mar 8 19:05 Attribution.txt [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 1908 Mar 8 19:05 CHANGELOG.md [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 1886 Mar 8 19:05 Dockerfile [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 19:05 GOVERNANCE.md [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 675 Mar 8 19:05 Jenkinsfile [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 19:05 LICENSE [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 1872 Mar 8 19:05 Makefile [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 8 19:05 OWNERS.md [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 8892 Mar 8 19:05 README.md [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 19:03 VERSION [2024-03-08T19:09:42.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 19:05 bin [2024-03-08T19:09:42.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:05 cmd [2024-03-08T19:09:42.867Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 8 19:07 coverage.out [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 3766 Mar 8 19:05 go.mod [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 36435 Mar 8 19:05 go.sum [2024-03-08T19:09:42.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:05 internal [2024-03-08T19:09:42.867Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 8 19:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:09:43.378Z] + 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=bab74745aba4971f5e6965fcae55cdff34a9de4f --label arch=arm64 --label version=0.0.0 . [2024-03-08T19:09:43.652Z] Sending build context to Docker daemon 11.6MB [2024-03-08T19:09:43.652Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T19:09:43.652Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-08T19:09:43.652Z] ---> 472972e3dd38 [2024-03-08T19:09:43.652Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-08T19:09:43.920Z] ---> Running in e6fa3dd15bf2 [2024-03-08T19:09:44.205Z] Removing intermediate container e6fa3dd15bf2 [2024-03-08T19:09:44.205Z] ---> 13767e07e46c [2024-03-08T19:09:44.205Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-08T19:09:44.205Z] ---> Running in e3025750873a [2024-03-08T19:09:44.472Z] Removing intermediate container e3025750873a [2024-03-08T19:09:44.472Z] ---> 4c1dc0df1152 [2024-03-08T19:09:44.472Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-08T19:09:44.739Z] ---> Running in 6b9f9e50d11c [2024-03-08T19:09:45.008Z] Removing intermediate container 6b9f9e50d11c [2024-03-08T19:09:45.008Z] ---> 566dfaceb7d6 [2024-03-08T19:09:45.008Z] Step 6/26 : WORKDIR /device-uart [2024-03-08T19:09:45.008Z] ---> Running in 4a31b3eb7e8c [2024-03-08T19:09:45.277Z] Removing intermediate container 4a31b3eb7e8c [2024-03-08T19:09:45.277Z] ---> 7e0bb8b02a6c [2024-03-08T19:09:45.277Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-08T19:09:45.277Z] ---> Running in bb8cf3ff3a13 [2024-03-08T19:09:46.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T19:09:46.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T19:09:47.777Z] OK: 271 MiB in 56 packages [2024-03-08T19:09:48.751Z] Removing intermediate container bb8cf3ff3a13 [2024-03-08T19:09:48.751Z] ---> 1de5873bdcff [2024-03-08T19:09:48.751Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-08T19:09:49.019Z] ---> 430fea1b0a06 [2024-03-08T19:09:49.019Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T19:09:49.019Z] ---> Running in 202a51e58b7b [2024-03-08T19:09:50.985Z] Removing intermediate container 202a51e58b7b [2024-03-08T19:09:50.985Z] ---> dc540ee4bc0e [2024-03-08T19:09:50.985Z] Step 10/26 : COPY . . [2024-03-08T19:09:51.945Z] ---> 91bd87038a92 [2024-03-08T19:09:51.945Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-08T19:09:51.945Z] ---> Running in f30970f7d5f4 [2024-03-08T19:09:52.216Z] Removing intermediate container f30970f7d5f4 [2024-03-08T19:09:52.216Z] ---> 0c509e3ee601 [2024-03-08T19:09:52.216Z] Step 12/26 : RUN ${MAKE} [2024-03-08T19:09:52.484Z] ---> Running in f103af99f80f [2024-03-08T19:09:53.443Z] 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.10" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-03-08T19:11:30.090Z] Removing intermediate container f103af99f80f [2024-03-08T19:11:30.090Z] ---> a6e6eb53ba4a [2024-03-08T19:11:30.090Z] Step 13/26 : FROM alpine:3.18 [2024-03-08T19:11:31.041Z] 3.18: Pulling from library/alpine [2024-03-08T19:11:31.041Z] c6b39de5b339: Pulling fs layer [2024-03-08T19:11:31.306Z] c6b39de5b339: Verifying Checksum [2024-03-08T19:11:31.306Z] c6b39de5b339: Download complete [2024-03-08T19:11:31.885Z] c6b39de5b339: Pull complete [2024-03-08T19:11:31.885Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-08T19:11:31.885Z] Status: Downloaded newer image for alpine:3.18 [2024-03-08T19:11:31.885Z] ---> 33abbf032149 [2024-03-08T19:11:31.885Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-08T19:11:31.885Z] ---> Running in 9dceb41c50c1 [2024-03-08T19:11:32.155Z] Removing intermediate container 9dceb41c50c1 [2024-03-08T19:11:32.155Z] ---> 96dc82f30007 [2024-03-08T19:11:32.155Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-08T19:11:32.155Z] ---> Running in 34f1d6b3ed2a [2024-03-08T19:11:33.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T19:11:33.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T19:11:34.454Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-08T19:11:34.454Z] Executing busybox-1.36.1-r5.trigger [2024-03-08T19:11:34.721Z] OK: 8 MiB in 16 packages [2024-03-08T19:11:35.309Z] Removing intermediate container 34f1d6b3ed2a [2024-03-08T19:11:35.309Z] ---> afb5196377b3 [2024-03-08T19:11:35.309Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-08T19:11:35.580Z] ---> Running in 285a7bfa0f1d [2024-03-08T19:11:36.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T19:11:36.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T19:11:37.758Z] OK: 8 MiB in 16 packages [2024-03-08T19:11:38.720Z] Removing intermediate container 285a7bfa0f1d [2024-03-08T19:11:38.720Z] ---> 882152e0e540 [2024-03-08T19:11:38.720Z] Step 17/26 : WORKDIR / [2024-03-08T19:11:38.720Z] ---> Running in 4ab7d7aa5f7a [2024-03-08T19:11:38.720Z] Removing intermediate container 4ab7d7aa5f7a [2024-03-08T19:11:38.720Z] ---> 09d32d04d502 [2024-03-08T19:11:38.720Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-03-08T19:11:39.303Z] ---> bd3d2577c566 [2024-03-08T19:11:39.303Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-03-08T19:11:39.889Z] ---> def71049cc2f [2024-03-08T19:11:39.889Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-03-08T19:11:41.295Z] ---> 264a8ddfcdfb [2024-03-08T19:11:41.295Z] Step 21/26 : EXPOSE 59995 [2024-03-08T19:11:41.295Z] ---> Running in 86c47c8b322f [2024-03-08T19:11:41.295Z] Removing intermediate container 86c47c8b322f [2024-03-08T19:11:41.295Z] ---> 6d1e70bfa241 [2024-03-08T19:11:41.295Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-03-08T19:11:41.562Z] ---> Running in 0fdfcc47c61f [2024-03-08T19:11:41.829Z] Removing intermediate container 0fdfcc47c61f [2024-03-08T19:11:41.829Z] ---> 6c38970efd07 [2024-03-08T19:11:41.829Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-08T19:11:41.829Z] ---> Running in e833ea759642 [2024-03-08T19:11:42.093Z] Removing intermediate container e833ea759642 [2024-03-08T19:11:42.093Z] ---> cc748cd5db78 [2024-03-08T19:11:42.093Z] Step 24/26 : LABEL arch=arm64 [2024-03-08T19:11:42.093Z] ---> Running in 43deb45269d5 [2024-03-08T19:11:42.357Z] Removing intermediate container 43deb45269d5 [2024-03-08T19:11:42.357Z] ---> a0aac2f95b3f [2024-03-08T19:11:42.357Z] Step 25/26 : LABEL git_sha=bab74745aba4971f5e6965fcae55cdff34a9de4f [2024-03-08T19:11:42.357Z] ---> Running in ec43dbe9406d [2024-03-08T19:11:42.625Z] Removing intermediate container ec43dbe9406d [2024-03-08T19:11:42.625Z] ---> 3bbe42832145 [2024-03-08T19:11:42.625Z] Step 26/26 : LABEL version=0.0.0 [2024-03-08T19:11:42.892Z] ---> Running in ec15079c3c57 [2024-03-08T19:11:43.156Z] Removing intermediate container ec15079c3c57 [2024-03-08T19:11:43.156Z] ---> da12c0299fdd [2024-03-08T19:11:43.156Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-08T19:11:43.156Z] Successfully built da12c0299fdd [2024-03-08T19:11:43.156Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:11:44.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T19:11:44.371Z] [2024-03-08T19:11:44.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:11:44.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T19:11:44.822Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-08T19:11:44.822Z] 8998bd30e6a1: Pulling fs layer [2024-03-08T19:11:44.822Z] 04944245beec: Pulling fs layer [2024-03-08T19:11:44.822Z] 699f458cf7ca: Pulling fs layer [2024-03-08T19:11:44.822Z] 765212b225bb: Pulling fs layer [2024-03-08T19:11:44.822Z] f23df028b6ca: Pulling fs layer [2024-03-08T19:11:44.822Z] d65c8cfc05b1: Pulling fs layer [2024-03-08T19:11:44.822Z] 765212b225bb: Waiting [2024-03-08T19:11:44.822Z] f23df028b6ca: Waiting [2024-03-08T19:11:44.822Z] 2437ff75d9bd: Pulling fs layer [2024-03-08T19:11:44.822Z] d65c8cfc05b1: Waiting [2024-03-08T19:11:44.822Z] 2437ff75d9bd: Waiting [2024-03-08T19:11:45.091Z] 04944245beec: Verifying Checksum [2024-03-08T19:11:45.091Z] 04944245beec: Download complete [2024-03-08T19:11:45.091Z] 765212b225bb: Verifying Checksum [2024-03-08T19:11:45.091Z] 765212b225bb: Download complete [2024-03-08T19:11:45.091Z] f23df028b6ca: Verifying Checksum [2024-03-08T19:11:45.091Z] f23df028b6ca: Download complete [2024-03-08T19:11:45.091Z] d65c8cfc05b1: Verifying Checksum [2024-03-08T19:11:45.091Z] d65c8cfc05b1: Download complete [2024-03-08T19:11:45.091Z] 699f458cf7ca: Download complete [2024-03-08T19:11:45.674Z] 8998bd30e6a1: Verifying Checksum [2024-03-08T19:11:45.674Z] 8998bd30e6a1: Download complete [2024-03-08T19:11:48.253Z] 2437ff75d9bd: Verifying Checksum [2024-03-08T19:11:48.253Z] 2437ff75d9bd: Download complete [2024-03-08T19:11:50.186Z] 8998bd30e6a1: Pull complete [2024-03-08T19:11:50.451Z] 04944245beec: Pull complete [2024-03-08T19:11:51.852Z] 699f458cf7ca: Pull complete [2024-03-08T19:11:52.118Z] 765212b225bb: Pull complete [2024-03-08T19:11:53.074Z] f23df028b6ca: Pull complete [2024-03-08T19:11:53.341Z] d65c8cfc05b1: Pull complete [2024-03-08T19:12:11.541Z] 2437ff75d9bd: Pull complete [2024-03-08T19:12:11.541Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-08T19:12:11.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T19:12:11.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T19:12:12.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-5273 does not seem to be running inside a container [2024-03-08T19:12:12.087Z] $ 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-03-08T19:12:14.623Z] $ docker top 49c5f3813cb921ea05666df6ffac3dddf6588f5738fbb178b5f1c6b07d1ad306 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:12:15.595Z] ---> job-cost.sh [2024-03-08T19:12:15.595Z] lf-activate-venv: SKIPPING [2024-03-08T19:12:15.595Z] INFO: No Stack... [2024-03-08T19:12:16.173Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-08T19:12:16.750Z] INFO: Archiving Costs [Pipeline] sh [2024-03-08T19:12:17.090Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-03-08T19:12:17.090Z] + cut -d, -f6 [Pipeline] lock [2024-03-08T19:12:17.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-46-1-stack-cost] [2024-03-08T19:12:17.414Z] Resource [jenkins-edgexfoundry-device-uart-PR-46-1-stack-cost] did not exist. Created. [2024-03-08T19:12:17.420Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-46-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-08T19:12:18.219Z] /w/workspace/device-uart/1@tmp/durable-1424a6ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-08T19:12:18.573Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-08T19:12:18.609Z] Warning: overwriting stash ‘stack-cost’ [2024-03-08T19:12:18.654Z] Stashed 1 file(s) [Pipeline] } [2024-03-08T19:12:18.701Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-46-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-08T19:12:18.883Z] $ docker stop --time=1 49c5f3813cb921ea05666df6ffac3dddf6588f5738fbb178b5f1c6b07d1ad306 [2024-03-08T19:12:20.361Z] $ docker rm -f --volumes 49c5f3813cb921ea05666df6ffac3dddf6588f5738fbb178b5f1c6b07d1ad306 [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-03-08T19:12:22.375Z] provisioning config files... [2024-03-08T19:12:22.383Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-46@tmp/config15760550158854182681tmp [Pipeline] { [Pipeline] sh [2024-03-08T19:12:22.811Z] + set +x [2024-03-08T19:12:22.812Z] + + bash -s -- [2024-03-08T19:12:22.812Z] curl -s https://codecov.io/bash [2024-03-08T19:12:22.812Z] [2024-03-08T19:12:22.812Z] _____ _ [2024-03-08T19:12:22.812Z] / ____| | | [2024-03-08T19:12:22.812Z] | | ___ __| | ___ ___ _____ __ [2024-03-08T19:12:22.812Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-08T19:12:22.812Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-08T19:12:22.812Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-08T19:12:22.812Z] Bash-1.0.6 [2024-03-08T19:12:22.812Z] [2024-03-08T19:12:22.812Z] [2024-03-08T19:12:22.812Z] ==> git version 2.25.1 found [2024-03-08T19:12:22.812Z] ==> 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-03-08T19:12:22.812Z] Release-Date: 2020-01-08 [2024-03-08T19:12:22.812Z] 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-03-08T19:12:22.812Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-08T19:12:22.812Z] ==> Jenkins CI detected. [2024-03-08T19:12:22.812Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-46 [2024-03-08T19:12:22.812Z] project root: . [2024-03-08T19:12:22.812Z] --> token set from env [2024-03-08T19:12:22.812Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-08T19:12:22.812Z] ==> Running gcov in . (disable via -X gcov) [2024-03-08T19:12:23.071Z] ==> Python coveragepy not found [2024-03-08T19:12:23.071Z] ==> Searching for coverage reports in: [2024-03-08T19:12:23.071Z] + . [2024-03-08T19:12:23.071Z] -> Found 1 reports [2024-03-08T19:12:23.071Z] ==> Detecting git/mercurial file structure [2024-03-08T19:12:23.071Z] ==> Reading reports [2024-03-08T19:12:23.071Z] + ./coverage.out bytes=10 [2024-03-08T19:12:23.071Z] ==> Appending adjustments [2024-03-08T19:12:23.071Z] https://docs.codecov.io/docs/fixing-reports [2024-03-08T19:12:23.071Z] + Found adjustments [2024-03-08T19:12:23.071Z] ==> Gzipping contents [2024-03-08T19:12:23.071Z] 4.0K /tmp/codecov.6lJnYO.gz [2024-03-08T19:12:23.071Z] ==> Uploading reports [2024-03-08T19:12:23.071Z] url: https://codecov.io [2024-03-08T19:12:23.071Z] query: branch=PR-46&commit=bab74745aba4971f5e6965fcae55cdff34a9de4f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-46%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=46&job=&cmd_args= [2024-03-08T19:12:23.071Z] -> Pinging Codecov [2024-03-08T19:12:23.071Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-46&commit=bab74745aba4971f5e6965fcae55cdff34a9de4f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-46%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=46&job=&cmd_args= [2024-03-08T19:12:23.641Z] -> Uploading to [2024-03-08T19:12:23.641Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-08/B9AA6E0BBD74AE3A32605C7A7C664919/bab74745aba4971f5e6965fcae55cdff34a9de4f/9a4af841-4f7c-4c07-8a61-c2f35da58bc2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240308T191223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f2472668863a07581b46769ad1b08cc37237c40ac278ad4a246c209ad267eea9 [2024-03-08T19:12:23.641Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-08T19:12:23.641Z] Dload Upload Total Spent Left Speed [2024-03-08T19:12:23.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 6281 --:--:-- --:--:-- --:--:-- 6216 100 603 0 0 100 603 0 2192 --:--:-- --:--:-- --:--:-- 2184 [2024-03-08T19:12:23.900Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/bab74745aba4971f5e6965fcae55cdff34a9de4f [Pipeline] } [2024-03-08T19:12:23.930Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-08T19:12:27.243Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-46/archives ] [2024-03-08T19:12:27.244Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-46/archives [2024-03-08T19:12:27.244Z] total 16 [2024-03-08T19:12:27.244Z] drwxr-xr-x 3 root root 4096 Mar 8 19:05 . [2024-03-08T19:12:27.244Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 19:05 .. [2024-03-08T19:12:27.244Z] drwxr-xr-x 2 root root 4096 Mar 8 19:05 cost [2024-03-08T19:12:27.244Z] -rw-r--r-- 1 root root 82 Mar 8 19:05 cost.csv [2024-03-08T19:12:27.244Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-46/archives [2024-03-08T19:12:27.244Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-46/archives [2024-03-08T19:12:27.244Z] total 16 [2024-03-08T19:12:27.244Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 19:05 . [2024-03-08T19:12:27.244Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 19:05 .. [2024-03-08T19:12:27.244Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 19:05 cost [2024-03-08T19:12:27.244Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 8 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:12:27.572Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:12:28.470Z] ---> package-listing.sh [2024-03-08T19:12:28.470Z] ++ facter osfamily [2024-03-08T19:12:28.470Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-08T19:12:28.733Z] + OS_FAMILY=debian [2024-03-08T19:12:28.733Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-46 [2024-03-08T19:12:28.733Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-08T19:12:28.733Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-08T19:12:28.733Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-08T19:12:28.733Z] + PACKAGES=/tmp/packages_start.txt [2024-03-08T19:12:28.733Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-46 ']' [2024-03-08T19:12:28.733Z] + PACKAGES=/tmp/packages_end.txt [2024-03-08T19:12:28.733Z] + case "${OS_FAMILY}" in [2024-03-08T19:12:28.733Z] + dpkg -l [2024-03-08T19:12:28.733Z] + grep '^ii' [2024-03-08T19:12:28.733Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-08T19:12:28.733Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-08T19:12:28.733Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-08T19:12:28.733Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-46 ']' [2024-03-08T19:12:28.733Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-46/archives/ [2024-03-08T19:12:28.733Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-46/archives/ [Pipeline] echo [2024-03-08T19:12:28.774Z] 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-46/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-08T19:12:29.069Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T19:12:29.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T19:12:29.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T19:12:29.997Z] prd-ubuntu20.04-docker-8c-8g-5271 does not seem to be running inside a container [2024-03-08T19:12:30.024Z] $ 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-46/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-46 -v /w/workspace/edgexfoundry_device-uart_PR-46:/w/workspace/edgexfoundry_device-uart_PR-46:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-46@tmp:/w/workspace/edgexfoundry_device-uart_PR-46@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-03-08T19:12:30.217Z] $ docker top 6b857b4b7d2b03128504faacaee50e155aea218785643c35c7e0cf40e321646c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T19:12:30.710Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-08T19:12:31.016Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-08T19:12:31.327Z] + ls /var/log/sa-host [2024-03-08T19:12:31.327Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T19:12:31.604Z] provisioning config files... [2024-03-08T19:12:31.614Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-46@tmp/config5777362182663980017tmp [Pipeline] { [Pipeline] echo [2024-03-08T19:12:31.763Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:12:32.073Z] ---> create-netrc.sh [Pipeline] } [2024-03-08T19:12:32.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:12:32.602Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-08T19:12:32.636Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:12:32.949Z] ---> sudo-logs.sh [2024-03-08T19:12:32.949Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-08T19:12:33.085Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:12:33.407Z] ---> job-cost.sh [2024-03-08T19:12:33.407Z] lf-activate-venv: SKIPPING [2024-03-08T19:12:33.407Z] DEBUG: total: 0.2199999988079071 [2024-03-08T19:12:33.407Z] INFO: Retrieving Stack Cost... [2024-03-08T19:12:33.977Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-08T19:12:34.237Z] INFO: Archiving Costs [Pipeline] echo [2024-03-08T19:12:34.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T19:12:34.598Z] ---> logs-deploy.sh [2024-03-08T19:12:34.598Z] lf-activate-venv: SKIPPING [2024-03-08T19:12:34.598Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-46/1 [2024-03-08T19:12:34.598Z] INFO: archiving workspace using pattern(s): [2024-03-08T19:12:35.534Z] Archives upload complete. [2024-03-08T19:12:35.534Z] INFO: archiving logs to Nexus