Pull request #14 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-hcl for edgexfoundry/device-uart Loading trusted files from base branch main at 45a931a0542841c366d3c8b3b227d12dead9e8fd rather than 414bf67073a5e7aa1b2971a2300f259024e65d63 Obtained Jenkinsfile from 45a931a0542841c366d3c8b3b227d12dead9e8fd 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-ssh858353364118201917.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh13528867841832953465.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15442465432146752596.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 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-ssh7306960570319540820.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6619913797097283570.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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-826 in /w/workspace/edgexfoundry_device-uart_PR-14 [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-14 # 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/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 414bf67073a5e7aa1b2971a2300f259024e65d63 Merge succeeded, producing 414bf67073a5e7aa1b2971a2300f259024e65d63 Checking out Revision 414bf67073a5e7aa1b2971a2300f259024e65d63 (PR-14) > git config core.sparsecheckout # timeout=10 > git checkout -f 414bf67073a5e7aa1b2971a2300f259024e65d63 # 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 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 414bf67073a5e7aa1b2971a2300f259024e65d63 # timeout=10 Commit message: "Format code with gofmt" > git rev-list --no-walk 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-11T06:10:17.713Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-11T06:10:17.786Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-11T06:10:17.804Z] ========================================================= [2023-07-11T06:10:17.804Z] EdgeX Global Pipelines Version Info [2023-07-11T06:10:17.804Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:10:18.521Z] ------------------- [2023-07-11T06:10:18.522Z] stable info: [2023-07-11T06:10:18.522Z] ------------------- [2023-07-11T06:10:18.522Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-11T06:10:18.522Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-11T06:10:18.522Z] Message: update stable to v1.0.250 [2023-07-11T06:10:19.091Z] ------------------- [2023-07-11T06:10:19.091Z] experimental info: [2023-07-11T06:10:19.091Z] ------------------- [2023-07-11T06:10:19.091Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-11T06:10:19.091Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-11T06:10:19.091Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-11T06:10:19.273Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-11T06:10:19.292Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-11T06:10:19.310Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-11T06:10:19.329Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-11T06:10:19.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-11T06:10:19.363Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-11T06:10:19.378Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-11T06:10:19.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-11T06:10:19.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-11T06:10:19.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-11T06:10:19.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-11T06:10:19.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-11T06:10:19.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-11T06:10:19.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-11T06:10:19.495Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-11T06:10:19.505Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-11T06:10:19.517Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-11T06:10:19.531Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-11T06:10:19.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-11T06:10:19.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-11T06:10:19.581Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-11T06:10:19.599Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-11T06:10:19.612Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-11T06:10:19.622Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-11T06:10:19.631Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-11T06:10:19.642Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-11T06:10:19.652Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-11T06:10:19.671Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo [2023-07-11T06:10:19.690Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo [2023-07-11T06:10:19.711Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo [2023-07-11T06:10:19.725Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 414bf67073a5e7aa1b2971a2300f259024e65d63 [Pipeline] echo [2023-07-11T06:10:19.739Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 414bf67 [Pipeline] echo [2023-07-11T06:10:19.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T06:10:19.797Z] provisioning config files... [2023-07-11T06:10:19.813Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config11550026364557579089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:10:20.122Z] ---> docker-login.sh [2023-07-11T06:10:20.122Z] nexus3.edgexfoundry.org:10001 [2023-07-11T06:10:20.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:20.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:20.383Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:20.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:20.383Z] [2023-07-11T06:10:20.383Z] Login Succeeded [2023-07-11T06:10:20.383Z] nexus3.edgexfoundry.org:10002 [2023-07-11T06:10:20.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:20.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:20.643Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:20.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:20.643Z] [2023-07-11T06:10:20.643Z] Login Succeeded [2023-07-11T06:10:20.643Z] nexus3.edgexfoundry.org:10003 [2023-07-11T06:10:20.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:20.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:20.643Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:20.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:20.643Z] [2023-07-11T06:10:20.643Z] Login Succeeded [2023-07-11T06:10:20.643Z] nexus3.edgexfoundry.org:10004 [2023-07-11T06:10:20.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:20.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:20.904Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:20.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:20.904Z] [2023-07-11T06:10:20.904Z] Login Succeeded [2023-07-11T06:10:20.904Z] docker.io [2023-07-11T06:10:20.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:21.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:21.164Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:21.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:21.164Z] [2023-07-11T06:10:21.164Z] Login Succeeded [2023-07-11T06:10:21.164Z] ---> docker-login.sh ends [Pipeline] } [2023-07-11T06:10:21.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-11T06:10:21.548Z] + git rev-list -1 --merges 414bf67073a5e7aa1b2971a2300f259024e65d63~1..414bf67073a5e7aa1b2971a2300f259024e65d63 [Pipeline] echo [2023-07-11T06:10:21.601Z] -----------> git rev-list -1 --merges 414bf67073a5e7aa1b2971a2300f259024e65d63~1..414bf67073a5e7aa1b2971a2300f259024e65d63 414bf67073a5e7aa1b2971a2300f259024e65d63 [false] [Pipeline] sh [2023-07-11T06:10:21.889Z] + git log --format=format:%s -1 414bf67073a5e7aa1b2971a2300f259024e65d63 [Pipeline] echo [2023-07-11T06:10:21.904Z] ========================================================= [2023-07-11T06:10:21.904Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-11T06:10:21.904Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T06:10:22.237Z] + git log --format=format:%s -1 414bf67073a5e7aa1b2971a2300f259024e65d63 [Pipeline] echo [2023-07-11T06:10:22.247Z] [semverPrep] GIT_COMMIT: 414bf67073a5e7aa1b2971a2300f259024e65d63, Commit Message: Format code with gofmt [Pipeline] echo [2023-07-11T06:10:22.255Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-11T06:10:22.630Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-11T06:10:22.630Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-11T06:10:22.630Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-11T06:10:22.630Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-11T06:10:22.630Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-11T06:10:22.630Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-11T06:10:22.630Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:10:23.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T06:10:23.045Z] [2023-07-11T06:10:23.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:10:23.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T06:10:23.343Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-11T06:10:23.343Z] b85a868b505f: Pulling fs layer [2023-07-11T06:10:23.343Z] e2be974225ed: Pulling fs layer [2023-07-11T06:10:23.343Z] 339a4e72a1f5: Pulling fs layer [2023-07-11T06:10:23.343Z] 988bab9f4d93: Pulling fs layer [2023-07-11T06:10:23.343Z] 1469e6f7b9e6: Pulling fs layer [2023-07-11T06:10:23.343Z] eaf3925da568: Pulling fs layer [2023-07-11T06:10:23.343Z] bab4dde63d76: Pulling fs layer [2023-07-11T06:10:23.343Z] 988bab9f4d93: Waiting [2023-07-11T06:10:23.343Z] 1469e6f7b9e6: Waiting [2023-07-11T06:10:23.343Z] eaf3925da568: Waiting [2023-07-11T06:10:23.343Z] bde34c3a00c8: Pulling fs layer [2023-07-11T06:10:23.343Z] bab4dde63d76: Waiting [2023-07-11T06:10:23.343Z] bde34c3a00c8: Waiting [2023-07-11T06:10:23.343Z] b352a97aabf1: Pulling fs layer [2023-07-11T06:10:23.343Z] 4872d77fe225: Pulling fs layer [2023-07-11T06:10:23.343Z] 5851b861e8e6: Pulling fs layer [2023-07-11T06:10:23.343Z] b352a97aabf1: Waiting [2023-07-11T06:10:23.343Z] 4872d77fe225: Waiting [2023-07-11T06:10:23.343Z] 5851b861e8e6: Waiting [2023-07-11T06:10:23.343Z] e2be974225ed: Download complete [2023-07-11T06:10:23.343Z] 988bab9f4d93: Verifying Checksum [2023-07-11T06:10:23.343Z] 988bab9f4d93: Download complete [2023-07-11T06:10:23.603Z] 1469e6f7b9e6: Verifying Checksum [2023-07-11T06:10:23.604Z] 1469e6f7b9e6: Download complete [2023-07-11T06:10:23.604Z] 339a4e72a1f5: Verifying Checksum [2023-07-11T06:10:23.604Z] 339a4e72a1f5: Download complete [2023-07-11T06:10:23.604Z] eaf3925da568: Verifying Checksum [2023-07-11T06:10:23.604Z] eaf3925da568: Download complete [2023-07-11T06:10:23.604Z] bde34c3a00c8: Verifying Checksum [2023-07-11T06:10:23.604Z] bde34c3a00c8: Download complete [2023-07-11T06:10:23.604Z] b352a97aabf1: Verifying Checksum [2023-07-11T06:10:23.604Z] b352a97aabf1: Download complete [2023-07-11T06:10:23.604Z] 4872d77fe225: Verifying Checksum [2023-07-11T06:10:23.604Z] 4872d77fe225: Download complete [2023-07-11T06:10:23.604Z] 5851b861e8e6: Verifying Checksum [2023-07-11T06:10:23.604Z] 5851b861e8e6: Download complete [2023-07-11T06:10:23.604Z] b85a868b505f: Verifying Checksum [2023-07-11T06:10:23.604Z] b85a868b505f: Download complete [2023-07-11T06:10:23.865Z] bab4dde63d76: Verifying Checksum [2023-07-11T06:10:23.865Z] bab4dde63d76: Download complete [2023-07-11T06:10:24.847Z] b85a868b505f: Pull complete [2023-07-11T06:10:25.142Z] e2be974225ed: Pull complete [2023-07-11T06:10:25.716Z] 339a4e72a1f5: Pull complete [2023-07-11T06:10:25.716Z] 988bab9f4d93: Pull complete [2023-07-11T06:10:25.976Z] 1469e6f7b9e6: Pull complete [2023-07-11T06:10:26.236Z] eaf3925da568: Pull complete [2023-07-11T06:10:28.145Z] bab4dde63d76: Pull complete [2023-07-11T06:10:28.145Z] bde34c3a00c8: Pull complete [2023-07-11T06:10:28.145Z] b352a97aabf1: Pull complete [2023-07-11T06:10:28.145Z] 4872d77fe225: Pull complete [2023-07-11T06:10:28.145Z] 5851b861e8e6: Pull complete [2023-07-11T06:10:28.406Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-11T06:10:28.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T06:10:28.406Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T06:10:28.500Z] prd-ubuntu20.04-docker-8c-8g-826 does not seem to be running inside a container [2023-07-11T06:10:28.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-11T06:10:31.643Z] $ docker top 182704f4016c2e32f87df47bf21bf2853b855a72e50923c7d08cf115566dfc3d -eo pid,comm [2023-07-11T06:10:31.702Z] 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). [2023-07-11T06:10:31.702Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-11T06:10:31.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-11T06:10:31.734Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-11T06:10:31.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-11T06:10:31.865Z] $ docker exec 182704f4016c2e32f87df47bf21bf2853b855a72e50923c7d08cf115566dfc3d ssh-agent [2023-07-11T06:10:31.982Z] SSH_AUTH_SOCK=/tmp/ssh-xU5woOXBlzlc/agent.33 [2023-07-11T06:10:31.982Z] SSH_AGENT_PID=39 [2023-07-11T06:10:31.989Z] Running ssh-add (command line suppressed) [2023-07-11T06:10:32.102Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_4405638992880393528.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_4405638992880393528.key) [2023-07-11T06:10:32.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-11T06:10:32.409Z] + git tag --points-at HEAD [Pipeline] } [2023-07-11T06:10:32.422Z] $ docker exec --env ******** --env ******** 182704f4016c2e32f87df47bf21bf2853b855a72e50923c7d08cf115566dfc3d ssh-agent -k [2023-07-11T06:10:32.516Z] unset SSH_AUTH_SOCK; [2023-07-11T06:10:32.517Z] unset SSH_AGENT_PID; [2023-07-11T06:10:32.517Z] echo Agent pid 39 killed; [2023-07-11T06:10:32.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-11T06:10:32.549Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-11T06:10:32.549Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-11T06:10:32.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-11T06:10:32.665Z] $ docker exec 182704f4016c2e32f87df47bf21bf2853b855a72e50923c7d08cf115566dfc3d ssh-agent [2023-07-11T06:10:32.784Z] SSH_AUTH_SOCK=/tmp/ssh-DztbX5ey2n5Y/agent.71 [2023-07-11T06:10:32.784Z] SSH_AGENT_PID=77 [2023-07-11T06:10:32.789Z] Running ssh-add (command line suppressed) [2023-07-11T06:10:32.888Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_237525305564435001.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_237525305564435001.key) [2023-07-11T06:10:32.901Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-11T06:10:33.185Z] + git semver init [2023-07-11T06:10:33.444Z] 2023-07-11 06:10:33,370 [run_init] DEBUG init version:0.0.0 force:False [2023-07-11T06:10:33.444Z] 2023-07-11 06:10:33,371 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-07-11T06:10:33.444Z] 2023-07-11 06:10:33,371 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-07-11T06:10:33.444Z] 2023-07-11 06:10:33,371 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-14/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14, universal_newlines=False, shell=None, istream=None) [2023-07-11T06:10:34.384Z] 2023-07-11 06:10:34,287 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude [2023-07-11T06:10:34.384Z] 2023-07-11 06:10:34,288 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 with force:False [2023-07-11T06:10:34.384Z] 2023-07-11 06:10:34,288 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-07-11T06:10:34.384Z] 2023-07-11 06:10:34,292 [execute] INFO git cat-file --batch-check [2023-07-11T06:10:34.384Z] 2023-07-11 06:10:34,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-07-11T06:10:34.384Z] 2023-07-11 06:10:34,299 [execute] INFO git cat-file --batch [2023-07-11T06:10:34.384Z] 2023-07-11 06:10:34,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-07-11T06:10:34.384Z] 2023-07-11 06:10:34,306 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-07-11T06:10:34.384Z] 0.0.0 [Pipeline] } [2023-07-11T06:10:34.395Z] $ docker exec --env ******** --env ******** 182704f4016c2e32f87df47bf21bf2853b855a72e50923c7d08cf115566dfc3d ssh-agent -k [2023-07-11T06:10:34.510Z] unset SSH_AUTH_SOCK; [2023-07-11T06:10:34.510Z] unset SSH_AGENT_PID; [2023-07-11T06:10:34.510Z] echo Agent pid 77 killed; [2023-07-11T06:10:34.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-11T06:10:34.829Z] + git semver [Pipeline] } [2023-07-11T06:10:35.102Z] $ docker stop --time=1 182704f4016c2e32f87df47bf21bf2853b855a72e50923c7d08cf115566dfc3d [2023-07-11T06:10:36.412Z] $ docker rm -f --volumes 182704f4016c2e32f87df47bf21bf2853b855a72e50923c7d08cf115566dfc3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-11T06:10:36.756Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-11T06:10:36.966Z] Stashed 1 file(s) [Pipeline] echo [2023-07-11T06:10:36.968Z] [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 [2023-07-11T06:10:37.088Z] provisioning config files... [2023-07-11T06:10:37.097Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config10948532721062240131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:10:37.394Z] ---> docker-login.sh [2023-07-11T06:10:37.394Z] nexus3.edgexfoundry.org:10001 [2023-07-11T06:10:37.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:37.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:37.394Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:37.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:37.394Z] [2023-07-11T06:10:37.394Z] Login Succeeded [2023-07-11T06:10:37.394Z] nexus3.edgexfoundry.org:10002 [2023-07-11T06:10:37.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:37.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:37.394Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:37.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:37.394Z] [2023-07-11T06:10:37.394Z] Login Succeeded [2023-07-11T06:10:37.394Z] nexus3.edgexfoundry.org:10003 [2023-07-11T06:10:37.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:37.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:37.653Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:37.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:37.653Z] [2023-07-11T06:10:37.653Z] Login Succeeded [2023-07-11T06:10:37.653Z] nexus3.edgexfoundry.org:10004 [2023-07-11T06:10:37.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:37.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:37.653Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:37.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:37.653Z] [2023-07-11T06:10:37.653Z] Login Succeeded [2023-07-11T06:10:37.653Z] docker.io [2023-07-11T06:10:37.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:10:37.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:10:37.912Z] Configure a credential helper to remove this warning. See [2023-07-11T06:10:37.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:10:37.912Z] [2023-07-11T06:10:37.912Z] Login Succeeded [2023-07-11T06:10:37.912Z] ---> docker-login.sh ends [Pipeline] } [2023-07-11T06:10:37.919Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-11T06:10:37.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T06:10:38.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T06:10:38.008Z] ========================================================= [2023-07-11T06:10:38.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-11T06:10:38.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:10:38.315Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-11T06:10:38.315Z] Sending build context to Docker daemon 11.08MB [2023-07-11T06:10:38.315Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T06:10:38.315Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-11T06:10:38.315Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-11T06:10:38.315Z] f56be85fc22e: Pulling fs layer [2023-07-11T06:10:38.315Z] 85791d961cd3: Pulling fs layer [2023-07-11T06:10:38.315Z] d694b5ae8c79: Pulling fs layer [2023-07-11T06:10:38.315Z] 9f32a84ed3da: Pulling fs layer [2023-07-11T06:10:38.315Z] 4d19c01a9841: Pulling fs layer [2023-07-11T06:10:38.315Z] 9325e15d5711: Pulling fs layer [2023-07-11T06:10:38.315Z] 556b6ee489ea: Pulling fs layer [2023-07-11T06:10:38.315Z] 9f32a84ed3da: Waiting [2023-07-11T06:10:38.315Z] 4d19c01a9841: Waiting [2023-07-11T06:10:38.315Z] 9325e15d5711: Waiting [2023-07-11T06:10:38.315Z] c5a4b2cf53e6: Pulling fs layer [2023-07-11T06:10:38.315Z] 556b6ee489ea: Waiting [2023-07-11T06:10:38.315Z] c5a4b2cf53e6: Waiting [2023-07-11T06:10:38.315Z] 85791d961cd3: Verifying Checksum [2023-07-11T06:10:38.315Z] 85791d961cd3: Download complete [2023-07-11T06:10:38.574Z] 9f32a84ed3da: Verifying Checksum [2023-07-11T06:10:38.574Z] 9f32a84ed3da: Download complete [2023-07-11T06:10:38.574Z] 4d19c01a9841: Verifying Checksum [2023-07-11T06:10:38.574Z] 4d19c01a9841: Download complete [2023-07-11T06:10:38.574Z] f56be85fc22e: Verifying Checksum [2023-07-11T06:10:38.574Z] f56be85fc22e: Download complete [2023-07-11T06:10:38.574Z] 9325e15d5711: Verifying Checksum [2023-07-11T06:10:38.574Z] 9325e15d5711: Download complete [2023-07-11T06:10:38.574Z] f56be85fc22e: Pull complete [2023-07-11T06:10:38.836Z] 85791d961cd3: Pull complete [2023-07-11T06:10:39.095Z] c5a4b2cf53e6: Verifying Checksum [2023-07-11T06:10:39.095Z] c5a4b2cf53e6: Download complete [2023-07-11T06:10:39.095Z] d694b5ae8c79: Verifying Checksum [2023-07-11T06:10:39.095Z] d694b5ae8c79: Download complete [2023-07-11T06:10:39.353Z] 556b6ee489ea: Verifying Checksum [2023-07-11T06:10:39.353Z] 556b6ee489ea: Download complete [2023-07-11T06:10:42.634Z] d694b5ae8c79: Pull complete [2023-07-11T06:10:42.893Z] 9f32a84ed3da: Pull complete [2023-07-11T06:10:42.893Z] 4d19c01a9841: Pull complete [2023-07-11T06:10:42.893Z] 9325e15d5711: Pull complete [2023-07-11T06:10:45.422Z] 556b6ee489ea: Pull complete [2023-07-11T06:10:46.354Z] c5a4b2cf53e6: Pull complete [2023-07-11T06:10:46.354Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-07-11T06:10:46.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-11T06:10:46.354Z] ---> c4be618373d6 [2023-07-11T06:10:46.355Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T06:10:50.577Z] ---> Running in 29b4df7884dd [2023-07-11T06:10:50.837Z] Removing intermediate container 29b4df7884dd [2023-07-11T06:10:50.837Z] ---> 7cde13ddaa0b [2023-07-11T06:10:50.837Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T06:10:50.837Z] ---> Running in c3e1395475af [2023-07-11T06:10:50.837Z] Removing intermediate container c3e1395475af [2023-07-11T06:10:50.837Z] ---> 41962171217d [2023-07-11T06:10:50.837Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-11T06:10:51.096Z] ---> Running in 5cbe41f75a16 [2023-07-11T06:10:51.096Z] Removing intermediate container 5cbe41f75a16 [2023-07-11T06:10:51.096Z] ---> 69ce88a50f75 [2023-07-11T06:10:51.096Z] Step 6/12 : WORKDIR /device-uart [2023-07-11T06:10:51.096Z] ---> Running in 72494003476a [2023-07-11T06:10:51.355Z] Removing intermediate container 72494003476a [2023-07-11T06:10:51.355Z] ---> 54acb313a737 [2023-07-11T06:10:51.355Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T06:10:51.355Z] ---> Running in a3765e706bd9 [2023-07-11T06:10:51.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-11T06:10:51.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-11T06:10:51.870Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-11T06:10:51.870Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-11T06:10:51.870Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-11T06:10:51.870Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-11T06:10:51.870Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T06:10:51.870Z] OK: 269 MiB in 57 packages [2023-07-11T06:10:52.051Z] Still waiting to schedule task [2023-07-11T06:10:52.052Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-11T06:10:52.438Z] Removing intermediate container a3765e706bd9 [2023-07-11T06:10:52.438Z] ---> 391776184ab2 [2023-07-11T06:10:52.438Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-11T06:10:52.697Z] ---> 429c8b8f3a67 [2023-07-11T06:10:52.697Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T06:10:52.697Z] ---> Running in 49525d97a118 [2023-07-11T06:12:00.429Z] Removing intermediate container 49525d97a118 [2023-07-11T06:12:00.429Z] ---> 5b550c792e41 [2023-07-11T06:12:00.429Z] Step 10/12 : COPY . . [2023-07-11T06:12:00.429Z] ---> 3b1cdf587a3f [2023-07-11T06:12:00.429Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T06:12:00.429Z] ---> Running in be842a867519 [2023-07-11T06:12:00.429Z] Removing intermediate container be842a867519 [2023-07-11T06:12:00.429Z] ---> 891a93dff2a4 [2023-07-11T06:12:00.429Z] Step 12/12 : RUN ${MAKE} [2023-07-11T06:12:00.429Z] ---> Running in 66decf070c68 [2023-07-11T06:12:00.429Z] noop [2023-07-11T06:12:00.429Z] Removing intermediate container 66decf070c68 [2023-07-11T06:12:00.429Z] ---> bda7c97617e1 [2023-07-11T06:12:00.429Z] Successfully built bda7c97617e1 [2023-07-11T06:12:00.429Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:12:00.748Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-11T06:12:00.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T06:12:00.819Z] prd-ubuntu20.04-docker-8c-8g-826 does not seem to be running inside a container [2023-07-11T06:12:00.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-11T06:12:01.199Z] $ docker top ff1d54144cc4e3c2053f94d4b76d2777c0bc123c8edf7a7a58d49f63c99ae720 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T06:12:01.549Z] + go version [2023-07-11T06:12:01.549Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-07-11T06:12:01.561Z] $ docker stop --time=1 ff1d54144cc4e3c2053f94d4b76d2777c0bc123c8edf7a7a58d49f63c99ae720 [2023-07-11T06:12:02.826Z] $ docker rm -f --volumes ff1d54144cc4e3c2053f94d4b76d2777c0bc123c8edf7a7a58d49f63c99ae720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:12:03.241Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-11T06:12:03.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T06:12:03.309Z] prd-ubuntu20.04-docker-8c-8g-826 does not seem to be running inside a container [2023-07-11T06:12:03.337Z] $ 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-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-11T06:12:03.671Z] $ docker top 815593ea1319de729d023f2345109870852b6143a333d76c02463d779f34c09f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T06:12:04.019Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh [2023-07-11T06:12:04.315Z] + make test [2023-07-11T06:12:04.315Z] go test ./... -coverprofile=coverage.out [2023-07-11T06:12:09.583Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-11T06:12:19.547Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-11T06:12:19.547Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-11T06:12:26.103Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-07-11T06:12:28.633Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-11T06:12:28.633Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-11T06:12:28.633Z] ./bin/test-attribution-txt.sh [2023-07-11T06:12:28.633Z] An attribution for github.com/edgexfoundry/device-sdk-go/v3 is missing from Attribution.txt, please add [2023-07-11T06:12:28.633Z] An attribution for github.com/edgexfoundry/go-mod-core-contracts/v3 is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for github.com/edgexfoundry/go-mod-bootstrap/v3 is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for github.com/edgexfoundry/go-mod-messaging/v3 is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for github.com/edgexfoundry/go-mod-registry/v3 is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for github.com/nats-io/nats-server/v2 is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-07-11T06:12:28.891Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-07-11T06:12:28.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-11T06:12:28.919Z] $ docker stop --time=1 815593ea1319de729d023f2345109870852b6143a333d76c02463d779f34c09f [2023-07-11T06:12:31.809Z] $ docker rm -f --volumes 815593ea1319de729d023f2345109870852b6143a333d76c02463d779f34c09f [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-11T06:12:32.268Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-11T06:12:32.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-11T06:12:32.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-11T06:12:33.126Z] + ls -al . [2023-07-11T06:12:33.126Z] total 144 [2023-07-11T06:12:33.126Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 11 06:12 . [2023-07-11T06:12:33.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 06:10 .. [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 06:10 .dockerignore [2023-07-11T06:12:33.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:10 .git [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 06:10 .gitignore [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 06:10 .golangci.yml [2023-07-11T06:12:33.126Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 06:10 .semver [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 8847 Jul 11 06:10 Attribution.txt [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 1782 Jul 11 06:10 Dockerfile [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 06:10 GOVERNANCE.md [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 11 06:10 Jenkinsfile [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 06:10 LICENSE [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 1680 Jul 11 06:10 Makefile [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 06:10 OWNERS.md [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 11 06:10 README.md [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 06:10 VERSION [2023-07-11T06:12:33.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 06:10 bin [2023-07-11T06:12:33.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:10 cmd [2023-07-11T06:12:33.126Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 11 06:12 coverage.out [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 3480 Jul 11 06:10 go.mod [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 33104 Jul 11 06:10 go.sum [2023-07-11T06:12:33.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:10 internal [2023-07-11T06:12:33.126Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:12:33.452Z] + 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=414bf67073a5e7aa1b2971a2300f259024e65d63 --label arch=amd64 --label version=0.0.0 . [2023-07-11T06:12:33.452Z] Sending build context to Docker daemon 11.08MB [2023-07-11T06:12:33.452Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T06:12:33.452Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-11T06:12:33.452Z] ---> bda7c97617e1 [2023-07-11T06:12:33.452Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T06:12:33.709Z] ---> Running in cbdca1771b7b [2023-07-11T06:12:33.709Z] Removing intermediate container cbdca1771b7b [2023-07-11T06:12:33.709Z] ---> 3205fc11f53d [2023-07-11T06:12:33.709Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T06:12:33.709Z] ---> Running in 4f992dbba029 [2023-07-11T06:12:33.709Z] Removing intermediate container 4f992dbba029 [2023-07-11T06:12:33.709Z] ---> 5cdc43dfe5b8 [2023-07-11T06:12:33.709Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-11T06:12:33.709Z] ---> Running in 4ff7ee9cfdb1 [2023-07-11T06:12:33.968Z] Removing intermediate container 4ff7ee9cfdb1 [2023-07-11T06:12:33.968Z] ---> 81297c49d991 [2023-07-11T06:12:33.968Z] Step 6/25 : WORKDIR /device-uart [2023-07-11T06:12:33.968Z] ---> Running in 3e9ce97ef235 [2023-07-11T06:12:33.968Z] Removing intermediate container 3e9ce97ef235 [2023-07-11T06:12:33.968Z] ---> 1be59f50ef6e [2023-07-11T06:12:33.968Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T06:12:33.968Z] ---> Running in eb66214bd394 [2023-07-11T06:12:34.006Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-827 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws [2023-07-11T06:12:34.019Z] Running in /w/workspace/device-uart/11 [Pipeline] { [Pipeline] checkout [2023-07-11T06:12:34.056Z] The recommended git tool is: git [2023-07-11T06:12:34.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-11T06:12:34.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-11T06:12:34.744Z] OK: 269 MiB in 57 packages [2023-07-11T06:12:35.002Z] Removing intermediate container eb66214bd394 [2023-07-11T06:12:35.002Z] ---> 058b5de48bc7 [2023-07-11T06:12:35.002Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-11T06:12:35.261Z] ---> 4307026a7ca0 [2023-07-11T06:12:35.261Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T06:12:35.261Z] ---> Running in c66fadb3027b [2023-07-11T06:12:35.826Z] Removing intermediate container c66fadb3027b [2023-07-11T06:12:35.826Z] ---> 8bbd34daf50e [2023-07-11T06:12:35.826Z] Step 10/25 : COPY . . [2023-07-11T06:12:36.490Z] ---> 6fa4a0611048 [2023-07-11T06:12:36.490Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T06:12:36.490Z] ---> Running in a2647c0708b4 [2023-07-11T06:12:36.490Z] Removing intermediate container a2647c0708b4 [2023-07-11T06:12:36.490Z] ---> 7bf10d1399e5 [2023-07-11T06:12:36.490Z] Step 12/25 : RUN ${MAKE} [2023-07-11T06:12:36.490Z] ---> Running in fd73eaade200 [2023-07-11T06:12:36.748Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -o cmd/device-uart ./cmd [2023-07-11T06:12:39.229Z] using credential edgex-jenkins-ssh [2023-07-11T06:12:39.248Z] Cloning the remote Git repository [2023-07-11T06:12:39.298Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-11T06:12:39.389Z] > git init /w/workspace/device-uart/11 # timeout=10 [2023-07-11T06:12:39.534Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-11T06:12:39.535Z] > git --version # timeout=10 [2023-07-11T06:12:39.556Z] > git --version # 'git version 2.25.1' [2023-07-11T06:12:39.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T06:12:39.719Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-11T06:12:40.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-11T06:12:40.824Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-11T06:12:42.278Z] Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 414bf67073a5e7aa1b2971a2300f259024e65d63 [2023-07-11T06:12:42.568Z] Merge succeeded, producing 414bf67073a5e7aa1b2971a2300f259024e65d63 [2023-07-11T06:12:42.569Z] Checking out Revision 414bf67073a5e7aa1b2971a2300f259024e65d63 (PR-14) [2023-07-11T06:12:41.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-11T06:12:41.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-11T06:12:41.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T06:12:41.766Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-11T06:12:42.295Z] > git config core.sparsecheckout # timeout=10 [2023-07-11T06:12:42.374Z] > git checkout -f 414bf67073a5e7aa1b2971a2300f259024e65d63 # timeout=10 [2023-07-11T06:12:42.462Z] > git remote # timeout=10 [2023-07-11T06:12:42.483Z] > git config --get remote.origin.url # timeout=10 [2023-07-11T06:12:42.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T06:12:42.519Z] > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 [2023-07-11T06:12:42.546Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-11T06:12:42.572Z] > git config core.sparsecheckout # timeout=10 [2023-07-11T06:12:42.588Z] > git checkout -f 414bf67073a5e7aa1b2971a2300f259024e65d63 # timeout=10 [2023-07-11T06:12:46.054Z] Commit message: "Format code with gofmt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T06:12:46.995Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-11T06:12:46.995Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-11T06:12:46.995Z] Dload Upload Total Spent Left Speed [2023-07-11T06:12:46.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-07-11T06:12:47.678Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-11T06:12:48.009Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-11T06:12:48.009Z] + sudo tee /etc/docker/daemon.new [2023-07-11T06:12:48.009Z] { [2023-07-11T06:12:48.009Z] "registry-mirrors": [ [2023-07-11T06:12:48.009Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-11T06:12:48.009Z] ], [2023-07-11T06:12:48.009Z] "bip": "10.250.0.254/24", [2023-07-11T06:12:48.009Z] "hosts": [ [2023-07-11T06:12:48.009Z] "tcp://0.0.0.0:5555", [2023-07-11T06:12:48.009Z] "unix:///var/run/docker.sock" [2023-07-11T06:12:48.009Z] ], [2023-07-11T06:12:48.009Z] "mtu": 1458, [2023-07-11T06:12:48.009Z] "selinux-enabled": true, [2023-07-11T06:12:48.009Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-11T06:12:48.009Z] } [Pipeline] sh [2023-07-11T06:12:48.331Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-11T06:12:48.660Z] + sudo service docker restart [2023-07-11T06:12:58.681Z] Removing intermediate container fd73eaade200 [2023-07-11T06:12:58.682Z] ---> cc0cf4ce91f8 [2023-07-11T06:12:58.682Z] Step 13/25 : FROM alpine:3.17 [2023-07-11T06:12:58.682Z] 3.17: Pulling from library/alpine [2023-07-11T06:12:58.682Z] 4db1b89c0bd1: Pulling fs layer [2023-07-11T06:12:58.682Z] 4db1b89c0bd1: Verifying Checksum [2023-07-11T06:12:58.682Z] 4db1b89c0bd1: Download complete [2023-07-11T06:12:58.682Z] 4db1b89c0bd1: Pull complete [2023-07-11T06:12:58.682Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-11T06:12:58.682Z] Status: Downloaded newer image for alpine:3.17 [2023-07-11T06:12:58.682Z] ---> 1f73a9d63274 [2023-07-11T06:12:58.682Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-11T06:12:58.682Z] ---> Running in 2c9bbda16691 [2023-07-11T06:12:58.682Z] Removing intermediate container 2c9bbda16691 [2023-07-11T06:12:58.682Z] ---> 543914c7f48a [2023-07-11T06:12:58.682Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-07-11T06:12:58.682Z] ---> Running in c3cabe8455d3 [2023-07-11T06:12:58.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-11T06:12:58.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-11T06:12:58.682Z] (1/6) Installing dumb-init (1.2.5-r2) [2023-07-11T06:12:58.682Z] (2/6) Installing libgcc (12.2.1_git20220924-r4) [2023-07-11T06:12:58.682Z] (3/6) Installing libsodium (1.0.18-r2) [2023-07-11T06:12:58.682Z] (4/6) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-11T06:12:58.682Z] (5/6) Installing libzmq (4.3.4-r1) [2023-07-11T06:12:58.682Z] (6/6) Installing zeromq (4.3.4-r1) [2023-07-11T06:12:58.941Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T06:12:58.941Z] OK: 10 MiB in 21 packages [2023-07-11T06:12:59.512Z] Removing intermediate container c3cabe8455d3 [2023-07-11T06:12:59.512Z] ---> bec0e8bed8cd [2023-07-11T06:12:59.512Z] Step 16/25 : WORKDIR / [2023-07-11T06:12:59.512Z] ---> Running in d13f6fb924fc [2023-07-11T06:12:59.512Z] Removing intermediate container d13f6fb924fc [2023-07-11T06:12:59.512Z] ---> 860eb6f5fdf7 [2023-07-11T06:12:59.512Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-11T06:12:59.512Z] ---> 764573391b12 [2023-07-11T06:12:59.512Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-11T06:12:59.770Z] ---> 9f65db14d91c [2023-07-11T06:12:59.770Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-11T06:13:00.336Z] ---> 22c6bc818431 [2023-07-11T06:13:00.336Z] Step 20/25 : EXPOSE 59995 [2023-07-11T06:13:00.336Z] ---> Running in f1a0ebbc2af8 [2023-07-11T06:13:00.595Z] Removing intermediate container f1a0ebbc2af8 [2023-07-11T06:13:00.595Z] ---> 863c4641cf27 [2023-07-11T06:13:00.595Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-11T06:13:00.595Z] ---> Running in 5b9eb27f9b4c [2023-07-11T06:13:00.595Z] Removing intermediate container 5b9eb27f9b4c [2023-07-11T06:13:00.595Z] ---> 24906fa6942f [2023-07-11T06:13:00.595Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-11T06:13:00.595Z] ---> Running in 2c6346de4982 [2023-07-11T06:13:00.595Z] Removing intermediate container 2c6346de4982 [2023-07-11T06:13:00.595Z] ---> 7c63a7b8568f [2023-07-11T06:13:00.595Z] Step 23/25 : LABEL arch=amd64 [2023-07-11T06:13:00.853Z] ---> Running in ba2a03c4b9c4 [2023-07-11T06:13:00.853Z] Removing intermediate container ba2a03c4b9c4 [2023-07-11T06:13:00.853Z] ---> 8a0d3d5d780b [2023-07-11T06:13:00.853Z] Step 24/25 : LABEL git_sha=414bf67073a5e7aa1b2971a2300f259024e65d63 [2023-07-11T06:13:00.853Z] ---> Running in 95fa88ff1dd6 [2023-07-11T06:13:00.853Z] Removing intermediate container 95fa88ff1dd6 [2023-07-11T06:13:00.853Z] ---> 9f6592768b48 [2023-07-11T06:13:00.853Z] Step 25/25 : LABEL version=0.0.0 [2023-07-11T06:13:00.853Z] ---> Running in 24e6a3759b0f [2023-07-11T06:13:01.112Z] Removing intermediate container 24e6a3759b0f [2023-07-11T06:13:01.112Z] ---> e1350b95e7cc [2023-07-11T06:13:01.112Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-11T06:13:01.112Z] Successfully built e1350b95e7cc [2023-07-11T06:13:01.112Z] 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 [2023-07-11T06:13:01.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T06:13:01.563Z] [2023-07-11T06:13:01.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:13:01.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T06:13:01.858Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-11T06:13:01.858Z] 5eb5b503b376: Pulling fs layer [2023-07-11T06:13:01.858Z] 5c69ac0246d0: Pulling fs layer [2023-07-11T06:13:01.858Z] ec43610c2a17: Pulling fs layer [2023-07-11T06:13:01.858Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-11T06:13:01.858Z] 33b1e0a273af: Pulling fs layer [2023-07-11T06:13:01.858Z] 5d3b04190fa2: Pulling fs layer [2023-07-11T06:13:01.858Z] 2f39f015ded8: Pulling fs layer [2023-07-11T06:13:01.858Z] 3a2ae6a8a46f: Waiting [2023-07-11T06:13:01.858Z] 33b1e0a273af: Waiting [2023-07-11T06:13:01.858Z] 2f39f015ded8: Waiting [2023-07-11T06:13:01.858Z] 5d3b04190fa2: Waiting [2023-07-11T06:13:01.858Z] 5c69ac0246d0: Download complete [2023-07-11T06:13:01.858Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-11T06:13:01.858Z] 3a2ae6a8a46f: Download complete [2023-07-11T06:13:01.858Z] ec43610c2a17: Verifying Checksum [2023-07-11T06:13:01.858Z] ec43610c2a17: Download complete [2023-07-11T06:13:01.858Z] 33b1e0a273af: Verifying Checksum [2023-07-11T06:13:01.858Z] 33b1e0a273af: Download complete [2023-07-11T06:13:01.858Z] 5d3b04190fa2: Download complete [2023-07-11T06:13:02.117Z] 5eb5b503b376: Verifying Checksum [2023-07-11T06:13:02.117Z] 5eb5b503b376: Download complete [2023-07-11T06:13:03.057Z] 5eb5b503b376: Pull complete [2023-07-11T06:13:03.314Z] 5c69ac0246d0: Pull complete [2023-07-11T06:13:03.574Z] ec43610c2a17: Pull complete [2023-07-11T06:13:03.833Z] 3a2ae6a8a46f: Pull complete [2023-07-11T06:13:04.091Z] 33b1e0a273af: Pull complete [2023-07-11T06:13:04.091Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T06:13:06.917Z] provisioning config files... [2023-07-11T06:13:06.945Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/11@tmp/config11407085328869459408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:13:07.292Z] ---> docker-login.sh [2023-07-11T06:13:07.292Z] nexus3.edgexfoundry.org:10001 [2023-07-11T06:13:07.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:13:07.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:13:07.831Z] Configure a credential helper to remove this warning. See [2023-07-11T06:13:07.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:13:07.831Z] [2023-07-11T06:13:07.831Z] Login Succeeded [2023-07-11T06:13:07.831Z] nexus3.edgexfoundry.org:10002 [2023-07-11T06:13:08.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:13:08.283Z] 2f39f015ded8: Pull complete [2023-07-11T06:13:08.283Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-11T06:13:08.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T06:13:08.283Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T06:13:08.363Z] prd-ubuntu20.04-docker-8c-8g-826 does not seem to be running inside a container [2023-07-11T06:13:08.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:13:08.372Z] Configure a credential helper to remove this warning. See [2023-07-11T06:13:08.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:13:08.372Z] [2023-07-11T06:13:08.372Z] Login Succeeded [2023-07-11T06:13:08.372Z] nexus3.edgexfoundry.org:10003 [2023-07-11T06:13:08.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:13:08.388Z] $ 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-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-11T06:13:08.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:13:08.642Z] Configure a credential helper to remove this warning. See [2023-07-11T06:13:08.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:13:08.642Z] [2023-07-11T06:13:08.642Z] Login Succeeded [2023-07-11T06:13:08.642Z] nexus3.edgexfoundry.org:10004 [2023-07-11T06:13:08.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:13:08.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:13:08.912Z] Configure a credential helper to remove this warning. See [2023-07-11T06:13:08.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:13:08.912Z] [2023-07-11T06:13:08.912Z] Login Succeeded [2023-07-11T06:13:08.912Z] docker.io [2023-07-11T06:13:09.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T06:13:12.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T06:13:12.535Z] Configure a credential helper to remove this warning. See [2023-07-11T06:13:12.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T06:13:12.535Z] [2023-07-11T06:13:12.535Z] Login Succeeded [2023-07-11T06:13:12.535Z] ---> docker-login.sh ends [2023-07-11T06:13:13.405Z] $ docker top d1b1ce66ed11df9ef394ad73ba060a1231e96b6037e0027abfab1ec1bf2ad5c4 -eo pid,comm [Pipeline] { [Pipeline] } [2023-07-11T06:13:13.474Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-07-11T06:13:13.817Z] ---> job-cost.sh [2023-07-11T06:13:13.817Z] lf-activate-venv: SKIPPING [2023-07-11T06:13:13.817Z] INFO: No Stack... [Pipeline] echo [2023-07-11T06:13:13.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T06:13:13.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T06:13:13.855Z] ========================================================= [2023-07-11T06:13:13.855Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-11T06:13:13.855Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:13:14.077Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-11T06:13:14.210Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-11T06:13:14.482Z] Sending build context to Docker daemon 5.605MB [2023-07-11T06:13:14.482Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T06:13:14.482Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-11T06:13:14.644Z] INFO: Archiving Costs [Pipeline] sh [2023-07-11T06:13:14.754Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-11T06:13:14.754Z] c41833b44d91: Pulling fs layer [2023-07-11T06:13:14.754Z] ed15518f5707: Pulling fs layer [2023-07-11T06:13:14.754Z] feae8fd75edb: Pulling fs layer [2023-07-11T06:13:14.754Z] 242c74f7c9fa: Pulling fs layer [2023-07-11T06:13:14.754Z] 3cdef696dda3: Pulling fs layer [2023-07-11T06:13:14.754Z] 2ced38df9373: Pulling fs layer [2023-07-11T06:13:14.754Z] 58f1dce35555: Pulling fs layer [2023-07-11T06:13:14.754Z] 3cdef696dda3: Waiting [2023-07-11T06:13:14.754Z] 2ced38df9373: Waiting [2023-07-11T06:13:14.754Z] 58f1dce35555: Waiting [2023-07-11T06:13:14.754Z] 242c74f7c9fa: Waiting [2023-07-11T06:13:14.754Z] ed15518f5707: Verifying Checksum [2023-07-11T06:13:14.754Z] ed15518f5707: Download complete [2023-07-11T06:13:14.754Z] 242c74f7c9fa: Verifying Checksum [2023-07-11T06:13:14.754Z] 242c74f7c9fa: Download complete [2023-07-11T06:13:14.754Z] 3cdef696dda3: Verifying Checksum [2023-07-11T06:13:14.754Z] 3cdef696dda3: Download complete [2023-07-11T06:13:14.754Z] c41833b44d91: Verifying Checksum [2023-07-11T06:13:14.754Z] c41833b44d91: Download complete [2023-07-11T06:13:14.932Z] + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv [2023-07-11T06:13:14.932Z] + cut -d, -f6 [Pipeline] lock [2023-07-11T06:13:14.945Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-11-stack-cost] [2023-07-11T06:13:14.951Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-11-stack-cost] did not exist. Created. [2023-07-11T06:13:14.951Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-11T06:13:15.260Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-11T06:13:15.287Z] Stashed 1 file(s) [Pipeline] } [2023-07-11T06:13:15.294Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-11-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-11T06:13:15.312Z] $ docker stop --time=1 d1b1ce66ed11df9ef394ad73ba060a1231e96b6037e0027abfab1ec1bf2ad5c4 [2023-07-11T06:13:15.730Z] c41833b44d91: Pull complete [2023-07-11T06:13:16.319Z] 58f1dce35555: Verifying Checksum [2023-07-11T06:13:16.319Z] 58f1dce35555: Download complete [2023-07-11T06:13:16.319Z] ed15518f5707: Pull complete [2023-07-11T06:13:16.452Z] $ docker rm -f --volumes d1b1ce66ed11df9ef394ad73ba060a1231e96b6037e0027abfab1ec1bf2ad5c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-11T06:13:17.287Z] feae8fd75edb: Verifying Checksum [2023-07-11T06:13:17.287Z] feae8fd75edb: Download complete [2023-07-11T06:13:17.287Z] 2ced38df9373: Verifying Checksum [2023-07-11T06:13:17.287Z] 2ced38df9373: Download complete [2023-07-11T06:13:29.639Z] feae8fd75edb: Pull complete [2023-07-11T06:13:29.639Z] 242c74f7c9fa: Pull complete [2023-07-11T06:13:29.639Z] 3cdef696dda3: Pull complete [2023-07-11T06:13:35.001Z] 2ced38df9373: Pull complete [2023-07-11T06:13:36.443Z] 58f1dce35555: Pull complete [2023-07-11T06:13:36.443Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-07-11T06:13:36.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-11T06:13:36.717Z] ---> fadd8f120f05 [2023-07-11T06:13:36.717Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T06:13:37.687Z] ---> Running in 94b3ccecc5b0 [2023-07-11T06:13:37.956Z] Removing intermediate container 94b3ccecc5b0 [2023-07-11T06:13:37.956Z] ---> f97cb9d1dc13 [2023-07-11T06:13:37.956Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T06:13:37.956Z] ---> Running in 8339ad032fdb [2023-07-11T06:13:38.226Z] Removing intermediate container 8339ad032fdb [2023-07-11T06:13:38.226Z] ---> c049425ef10b [2023-07-11T06:13:38.226Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-11T06:13:38.495Z] ---> Running in 4de63d8f0022 [2023-07-11T06:13:38.762Z] Removing intermediate container 4de63d8f0022 [2023-07-11T06:13:38.762Z] ---> 9a6a410f841a [2023-07-11T06:13:38.762Z] Step 6/12 : WORKDIR /device-uart [2023-07-11T06:13:38.762Z] ---> Running in 8ca6cea648f5 [2023-07-11T06:13:39.031Z] Removing intermediate container 8ca6cea648f5 [2023-07-11T06:13:39.031Z] ---> 0fd4c8cdb531 [2023-07-11T06:13:39.031Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T06:13:39.031Z] ---> Running in 3013747a2130 [2023-07-11T06:13:40.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T06:13:41.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T06:13:41.999Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-11T06:13:41.999Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-11T06:13:41.999Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-11T06:13:41.999Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-11T06:13:41.999Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T06:13:41.999Z] OK: 268 MiB in 57 packages [2023-07-11T06:13:42.964Z] Removing intermediate container 3013747a2130 [2023-07-11T06:13:42.964Z] ---> 666078c42386 [2023-07-11T06:13:42.964Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-11T06:13:43.553Z] ---> 08efbdac9566 [2023-07-11T06:13:43.553Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T06:13:43.553Z] ---> Running in 610a0408cff6 [2023-07-11T06:14:51.455Z] Removing intermediate container 610a0408cff6 [2023-07-11T06:14:51.455Z] ---> add396d1bded [2023-07-11T06:14:51.455Z] Step 10/12 : COPY . . [2023-07-11T06:14:51.455Z] ---> 045bec69c25b [2023-07-11T06:14:51.455Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T06:14:51.455Z] ---> Running in 56d4c4fe8d76 [2023-07-11T06:14:51.455Z] Removing intermediate container 56d4c4fe8d76 [2023-07-11T06:14:51.455Z] ---> 767c209ee5ac [2023-07-11T06:14:51.455Z] Step 12/12 : RUN ${MAKE} [2023-07-11T06:14:51.455Z] ---> Running in c8f6e51eed87 [2023-07-11T06:14:51.455Z] noop [2023-07-11T06:14:51.455Z] Removing intermediate container c8f6e51eed87 [2023-07-11T06:14:51.455Z] ---> 04ff0dcc5fca [2023-07-11T06:14:51.455Z] Successfully built 04ff0dcc5fca [2023-07-11T06:14:51.455Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:14:51.810Z] + docker inspect -f . ci-base-image-arm64 [2023-07-11T06:14:51.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T06:14:52.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2023-07-11T06:14:52.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/11 -v /w/workspace/device-uart/11:/w/workspace/device-uart/11:rw,z -v /w/workspace/device-uart/11@tmp:/w/workspace/device-uart/11@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-11T06:14:53.308Z] $ docker top ac098bf962c59013c22cf6a801f241603057309e3fc4e21e762532bc9f3bb1da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T06:14:54.164Z] + go version [2023-07-11T06:14:54.164Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-07-11T06:14:54.180Z] $ docker stop --time=1 ac098bf962c59013c22cf6a801f241603057309e3fc4e21e762532bc9f3bb1da [2023-07-11T06:14:55.782Z] $ docker rm -f --volumes ac098bf962c59013c22cf6a801f241603057309e3fc4e21e762532bc9f3bb1da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:14:56.336Z] + docker inspect -f . ci-base-image-arm64 [2023-07-11T06:14:56.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T06:14:56.519Z] prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2023-07-11T06:14:56.577Z] $ 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/11 -v /w/workspace/device-uart/11:/w/workspace/device-uart/11:rw,z -v /w/workspace/device-uart/11@tmp:/w/workspace/device-uart/11@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-11T06:14:57.696Z] $ docker top e78dea7d14c50abc312aaf6e9b26bb06205163f30257ebbe87c64929f098c922 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T06:14:58.219Z] + git config --global --add safe.directory /w/workspace/device-uart/11 [Pipeline] fileExists [Pipeline] sh [2023-07-11T06:14:58.820Z] + make test [2023-07-11T06:14:58.820Z] go test ./... -coverprofile=coverage.out [2023-07-11T06:15:31.061Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-11T06:17:22.769Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-11T06:17:22.769Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-11T06:17:22.769Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-11T06:17:22.769Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-07-11T06:17:44.828Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-11T06:17:44.828Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-11T06:17:44.828Z] ./bin/test-attribution-txt.sh [2023-07-11T06:17:44.828Z] An attribution for github.com/edgexfoundry/device-sdk-go/v3 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for github.com/edgexfoundry/go-mod-core-contracts/v3 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for github.com/edgexfoundry/go-mod-bootstrap/v3 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for github.com/edgexfoundry/go-mod-messaging/v3 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for github.com/edgexfoundry/go-mod-registry/v3 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for github.com/nats-io/nats-server/v2 is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-07-11T06:17:44.828Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-07-11T06:17:44.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-11T06:17:44.859Z] $ docker stop --time=1 e78dea7d14c50abc312aaf6e9b26bb06205163f30257ebbe87c64929f098c922 [2023-07-11T06:17:47.005Z] $ docker rm -f --volumes e78dea7d14c50abc312aaf6e9b26bb06205163f30257ebbe87c64929f098c922 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-11T06:17:48.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-11T06:17:48.036Z] Warning: overwriting stash ‘coverage-report’ [2023-07-11T06:17:48.405Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T06:17:48.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-11T06:17:49.096Z] + ls -al . [2023-07-11T06:17:49.096Z] total 140 [2023-07-11T06:17:49.096Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 06:15 . [2023-07-11T06:17:49.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 06:12 .. [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 06:12 .dockerignore [2023-07-11T06:17:49.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:12 .git [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 06:12 .gitignore [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 06:12 .golangci.yml [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 8847 Jul 11 06:12 Attribution.txt [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 1782 Jul 11 06:12 Dockerfile [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 06:12 GOVERNANCE.md [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 11 06:12 Jenkinsfile [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 06:12 LICENSE [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 1680 Jul 11 06:12 Makefile [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 06:12 OWNERS.md [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 11 06:12 README.md [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 06:10 VERSION [2023-07-11T06:17:49.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 06:12 bin [2023-07-11T06:17:49.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:12 cmd [2023-07-11T06:17:49.096Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 11 06:15 coverage.out [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 3480 Jul 11 06:12 go.mod [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 33104 Jul 11 06:12 go.sum [2023-07-11T06:17:49.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:12 internal [2023-07-11T06:17:49.096Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 06:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:17:49.426Z] + 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=414bf67073a5e7aa1b2971a2300f259024e65d63 --label arch=arm64 --label version=0.0.0 . [2023-07-11T06:17:49.693Z] Sending build context to Docker daemon 5.606MB [2023-07-11T06:17:49.693Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T06:17:49.693Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-11T06:17:49.693Z] ---> 04ff0dcc5fca [2023-07-11T06:17:49.693Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T06:17:49.693Z] ---> Running in 1f76c7faf4c3 [2023-07-11T06:17:49.959Z] Removing intermediate container 1f76c7faf4c3 [2023-07-11T06:17:49.959Z] ---> d0831b54e6a2 [2023-07-11T06:17:49.959Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T06:17:50.227Z] ---> Running in 8ac2e25f7daa [2023-07-11T06:17:50.494Z] Removing intermediate container 8ac2e25f7daa [2023-07-11T06:17:50.494Z] ---> ecbb8cf951aa [2023-07-11T06:17:50.494Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-11T06:17:50.494Z] ---> Running in 25773a0d1f30 [2023-07-11T06:17:50.760Z] Removing intermediate container 25773a0d1f30 [2023-07-11T06:17:50.760Z] ---> 0c14c278322b [2023-07-11T06:17:50.760Z] Step 6/25 : WORKDIR /device-uart [2023-07-11T06:17:50.760Z] ---> Running in 769cbdabe004 [2023-07-11T06:17:51.029Z] Removing intermediate container 769cbdabe004 [2023-07-11T06:17:51.029Z] ---> f59e97a0c194 [2023-07-11T06:17:51.029Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T06:17:51.029Z] ---> Running in 5dfa8b5b358b [2023-07-11T06:17:51.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T06:17:52.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T06:17:53.534Z] OK: 268 MiB in 57 packages [2023-07-11T06:17:54.498Z] Removing intermediate container 5dfa8b5b358b [2023-07-11T06:17:54.498Z] ---> e42492dfef07 [2023-07-11T06:17:54.498Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-11T06:17:54.766Z] ---> 93d99be511ae [2023-07-11T06:17:54.766Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T06:17:54.766Z] ---> Running in 170641b25197 [2023-07-11T06:17:57.449Z] Removing intermediate container 170641b25197 [2023-07-11T06:17:57.449Z] ---> 0d26735a91f5 [2023-07-11T06:17:57.449Z] Step 10/25 : COPY . . [2023-07-11T06:17:57.746Z] ---> 91c980818ccc [2023-07-11T06:17:57.746Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T06:17:57.746Z] ---> Running in 5c0d4f997cff [2023-07-11T06:17:58.019Z] Removing intermediate container 5c0d4f997cff [2023-07-11T06:17:58.019Z] ---> 19442b3c1bea [2023-07-11T06:17:58.019Z] Step 12/25 : RUN ${MAKE} [2023-07-11T06:18:00.691Z] ---> Running in a3ecbe3cdf9e [2023-07-11T06:18:01.659Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -o cmd/device-uart ./cmd [2023-07-11T06:20:08.359Z] Removing intermediate container a3ecbe3cdf9e [2023-07-11T06:20:08.359Z] ---> 845fd21be0e5 [2023-07-11T06:20:08.359Z] Step 13/25 : FROM alpine:3.17 [2023-07-11T06:20:08.359Z] 3.17: Pulling from library/alpine [2023-07-11T06:20:08.359Z] edb6bdbacee9: Pulling fs layer [2023-07-11T06:20:08.359Z] edb6bdbacee9: Verifying Checksum [2023-07-11T06:20:08.359Z] edb6bdbacee9: Download complete [2023-07-11T06:20:08.359Z] edb6bdbacee9: Pull complete [2023-07-11T06:20:08.359Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-11T06:20:08.359Z] Status: Downloaded newer image for alpine:3.17 [2023-07-11T06:20:08.359Z] ---> 779605e5fbc0 [2023-07-11T06:20:08.359Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-11T06:20:08.359Z] ---> Running in 0fd3251ecbdb [2023-07-11T06:20:08.359Z] Removing intermediate container 0fd3251ecbdb [2023-07-11T06:20:08.359Z] ---> 1143aec24095 [2023-07-11T06:20:08.359Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-07-11T06:20:08.359Z] ---> Running in 840263d7dae5 [2023-07-11T06:20:08.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T06:20:08.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T06:20:08.359Z] (1/6) Installing dumb-init (1.2.5-r2) [2023-07-11T06:20:08.359Z] (2/6) Installing libgcc (12.2.1_git20220924-r4) [2023-07-11T06:20:08.359Z] (3/6) Installing libsodium (1.0.18-r2) [2023-07-11T06:20:08.359Z] (4/6) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-11T06:20:08.359Z] (5/6) Installing libzmq (4.3.4-r1) [2023-07-11T06:20:08.359Z] (6/6) Installing zeromq (4.3.4-r1) [2023-07-11T06:20:08.359Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T06:20:08.359Z] OK: 11 MiB in 21 packages [2023-07-11T06:20:08.359Z] Removing intermediate container 840263d7dae5 [2023-07-11T06:20:08.359Z] ---> 83f4a6e5e747 [2023-07-11T06:20:08.359Z] Step 16/25 : WORKDIR / [2023-07-11T06:20:08.359Z] ---> Running in fb5192ccedd5 [2023-07-11T06:20:08.359Z] Removing intermediate container fb5192ccedd5 [2023-07-11T06:20:08.359Z] ---> d922666e489e [2023-07-11T06:20:08.359Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-11T06:20:08.359Z] ---> 0d226f871f69 [2023-07-11T06:20:08.359Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-11T06:20:08.359Z] ---> dbb64f19cb36 [2023-07-11T06:20:08.359Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-11T06:20:09.345Z] ---> 69900b680c26 [2023-07-11T06:20:09.345Z] Step 20/25 : EXPOSE 59995 [2023-07-11T06:20:09.345Z] ---> Running in 770893eb7791 [2023-07-11T06:20:09.614Z] Removing intermediate container 770893eb7791 [2023-07-11T06:20:09.614Z] ---> 6dbe9859bd51 [2023-07-11T06:20:09.614Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-11T06:20:09.614Z] ---> Running in 6cd204e12ba1 [2023-07-11T06:20:09.882Z] Removing intermediate container 6cd204e12ba1 [2023-07-11T06:20:09.882Z] ---> 9129f9f4ec4b [2023-07-11T06:20:09.882Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-11T06:20:09.882Z] ---> Running in 6650e56cbc40 [2023-07-11T06:20:10.153Z] Removing intermediate container 6650e56cbc40 [2023-07-11T06:20:10.153Z] ---> 44bbc4619180 [2023-07-11T06:20:10.153Z] Step 23/25 : LABEL arch=arm64 [2023-07-11T06:20:10.422Z] ---> Running in 92d392832a98 [2023-07-11T06:20:10.689Z] Removing intermediate container 92d392832a98 [2023-07-11T06:20:10.689Z] ---> 4ab379724d1c [2023-07-11T06:20:10.689Z] Step 24/25 : LABEL git_sha=414bf67073a5e7aa1b2971a2300f259024e65d63 [2023-07-11T06:20:10.689Z] ---> Running in bbbe686548be [2023-07-11T06:20:10.958Z] Removing intermediate container bbbe686548be [2023-07-11T06:20:10.958Z] ---> ea2142114e1a [2023-07-11T06:20:10.958Z] Step 25/25 : LABEL version=0.0.0 [2023-07-11T06:20:10.958Z] ---> Running in b2b22acc8f5d [2023-07-11T06:20:11.224Z] Removing intermediate container b2b22acc8f5d [2023-07-11T06:20:11.224Z] ---> b97e3051ce23 [2023-07-11T06:20:11.224Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-11T06:20:11.224Z] Successfully built b97e3051ce23 [2023-07-11T06:20:11.224Z] 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 [2023-07-11T06:20:11.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T06:20:11.682Z] [2023-07-11T06:20:11.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:20:12.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T06:20:12.001Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-11T06:20:12.001Z] 8998bd30e6a1: Pulling fs layer [2023-07-11T06:20:12.001Z] 04944245beec: Pulling fs layer [2023-07-11T06:20:12.001Z] 699f458cf7ca: Pulling fs layer [2023-07-11T06:20:12.001Z] 765212b225bb: Pulling fs layer [2023-07-11T06:20:12.001Z] f23df028b6ca: Pulling fs layer [2023-07-11T06:20:12.001Z] d65c8cfc05b1: Pulling fs layer [2023-07-11T06:20:12.001Z] 2437ff75d9bd: Pulling fs layer [2023-07-11T06:20:12.001Z] f23df028b6ca: Waiting [2023-07-11T06:20:12.001Z] d65c8cfc05b1: Waiting [2023-07-11T06:20:12.001Z] 2437ff75d9bd: Waiting [2023-07-11T06:20:12.001Z] 765212b225bb: Waiting [2023-07-11T06:20:12.267Z] 04944245beec: Verifying Checksum [2023-07-11T06:20:12.267Z] 04944245beec: Download complete [2023-07-11T06:20:12.267Z] 765212b225bb: Verifying Checksum [2023-07-11T06:20:12.267Z] 765212b225bb: Download complete [2023-07-11T06:20:12.267Z] f23df028b6ca: Verifying Checksum [2023-07-11T06:20:12.267Z] f23df028b6ca: Download complete [2023-07-11T06:20:12.267Z] d65c8cfc05b1: Verifying Checksum [2023-07-11T06:20:12.267Z] d65c8cfc05b1: Download complete [2023-07-11T06:20:12.267Z] 699f458cf7ca: Verifying Checksum [2023-07-11T06:20:12.267Z] 699f458cf7ca: Download complete [2023-07-11T06:20:12.850Z] 8998bd30e6a1: Verifying Checksum [2023-07-11T06:20:12.850Z] 8998bd30e6a1: Download complete [2023-07-11T06:20:14.790Z] 2437ff75d9bd: Download complete [2023-07-11T06:20:16.730Z] 8998bd30e6a1: Pull complete [2023-07-11T06:20:16.997Z] 04944245beec: Pull complete [2023-07-11T06:20:18.405Z] 699f458cf7ca: Pull complete [2023-07-11T06:20:18.405Z] 765212b225bb: Pull complete [2023-07-11T06:20:19.362Z] f23df028b6ca: Pull complete [2023-07-11T06:20:19.362Z] d65c8cfc05b1: Pull complete [2023-07-11T06:20:34.354Z] 2437ff75d9bd: Pull complete [2023-07-11T06:20:34.354Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-11T06:20:34.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T06:20:34.354Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T06:20:34.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2023-07-11T06:20:34.581Z] $ 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/11 -v /w/workspace/device-uart/11:/w/workspace/device-uart/11:rw,z -v /w/workspace/device-uart/11@tmp:/w/workspace/device-uart/11@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-11T06:20:36.871Z] $ docker top 9ab4e2e33744028b39d65616b4fe93e3fe121d4c2afa6177cb537702d537c4fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:20:37.689Z] ---> job-cost.sh [2023-07-11T06:20:37.690Z] lf-activate-venv: SKIPPING [2023-07-11T06:20:37.690Z] INFO: No Stack... [2023-07-11T06:20:37.953Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-11T06:20:38.904Z] INFO: Archiving Costs [Pipeline] sh [2023-07-11T06:20:39.221Z] + cat /w/workspace/device-uart/11/archives/cost.csv [2023-07-11T06:20:39.221Z] + cut -d, -f6 [Pipeline] lock [2023-07-11T06:20:39.551Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-11-stack-cost] [2023-07-11T06:20:39.558Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-11-stack-cost] did not exist. Created. [2023-07-11T06:20:39.558Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-11T06:20:39.955Z] /w/workspace/device-uart/11@tmp/durable-0b9584cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-11T06:20:40.284Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-11T06:20:40.308Z] Warning: overwriting stash ‘stack-cost’ [2023-07-11T06:20:40.349Z] Stashed 1 file(s) [Pipeline] } [2023-07-11T06:20:40.358Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-11-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-11T06:20:40.370Z] $ docker stop --time=1 9ab4e2e33744028b39d65616b4fe93e3fe121d4c2afa6177cb537702d537c4fe [2023-07-11T06:20:41.842Z] $ docker rm -f --volumes 9ab4e2e33744028b39d65616b4fe93e3fe121d4c2afa6177cb537702d537c4fe [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 [2023-07-11T06:20:42.222Z] provisioning config files... [2023-07-11T06:20:42.230Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config13061385765441820751tmp [Pipeline] { [Pipeline] sh [2023-07-11T06:20:42.519Z] + set +x [2023-07-11T06:20:42.519Z] + curl -s https://codecov.io/bash [2023-07-11T06:20:42.519Z] + bash -s -- [2023-07-11T06:20:42.778Z] [2023-07-11T06:20:42.778Z] _____ _ [2023-07-11T06:20:42.778Z] / ____| | | [2023-07-11T06:20:42.778Z] | | ___ __| | ___ ___ _____ __ [2023-07-11T06:20:42.778Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-11T06:20:42.778Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-11T06:20:42.778Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-11T06:20:42.778Z] Bash-1.0.6 [2023-07-11T06:20:42.778Z] [2023-07-11T06:20:42.778Z] [2023-07-11T06:20:42.778Z] ==> git version 2.25.1 found [2023-07-11T06:20:42.778Z] ==> 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 [2023-07-11T06:20:42.778Z] Release-Date: 2020-01-08 [2023-07-11T06:20:42.778Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-11T06:20:42.778Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-11T06:20:42.778Z] ==> Jenkins CI detected. [2023-07-11T06:20:42.778Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-14 [2023-07-11T06:20:42.778Z] project root: . [2023-07-11T06:20:42.778Z] --> token set from env [2023-07-11T06:20:42.778Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-11T06:20:42.778Z] ==> Running gcov in . (disable via -X gcov) [2023-07-11T06:20:42.778Z] ==> Python coveragepy not found [2023-07-11T06:20:42.778Z] ==> Searching for coverage reports in: [2023-07-11T06:20:42.778Z] + . [2023-07-11T06:20:42.778Z] -> Found 1 reports [2023-07-11T06:20:42.778Z] ==> Detecting git/mercurial file structure [2023-07-11T06:20:42.778Z] ==> Reading reports [2023-07-11T06:20:42.778Z] + ./coverage.out bytes=10 [2023-07-11T06:20:42.778Z] ==> Appending adjustments [2023-07-11T06:20:42.778Z] https://docs.codecov.io/docs/fixing-reports [2023-07-11T06:20:43.037Z] + Found adjustments [2023-07-11T06:20:43.037Z] ==> Gzipping contents [2023-07-11T06:20:43.037Z] 4.0K /tmp/codecov.Z3n2z9.gz [2023-07-11T06:20:43.037Z] ==> Uploading reports [2023-07-11T06:20:43.037Z] url: https://codecov.io [2023-07-11T06:20:43.037Z] query: branch=PR-14&commit=414bf67073a5e7aa1b2971a2300f259024e65d63&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-14%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=14&job=&cmd_args= [2023-07-11T06:20:43.037Z] -> Pinging Codecov [2023-07-11T06:20:43.037Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-14&commit=414bf67073a5e7aa1b2971a2300f259024e65d63&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-14%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=14&job=&cmd_args= [2023-07-11T06:20:43.037Z] -> Uploading to [2023-07-11T06:20:43.037Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-11/B9AA6E0BBD74AE3A32605C7A7C664919/414bf67073a5e7aa1b2971a2300f259024e65d63/68f50548-f040-4ba8-88c5-788df1035574.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230711T062042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63730179da6c5b665ef61f3b76e64a8369b7915c6a0a9bb9b289a71e39f799d8 [2023-07-11T06:20:43.037Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-11T06:20:43.037Z] Dload Upload Total Spent Left Speed [2023-07-11T06:20:43.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 536 0 0 100 536 0 2666 --:--:-- --:--:-- --:--:-- 2653 100 536 0 0 100 536 0 2653 --:--:-- --:--:-- --:--:-- 2640 [2023-07-11T06:20:43.306Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/414bf67073a5e7aa1b2971a2300f259024e65d63 [Pipeline] } [2023-07-11T06:20:43.311Z] 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 [2023-07-11T06:20:44.028Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] [2023-07-11T06:20:44.028Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-07-11T06:20:44.028Z] total 16 [2023-07-11T06:20:44.028Z] drwxr-xr-x 3 root root 4096 Jul 11 06:13 . [2023-07-11T06:20:44.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:13 .. [2023-07-11T06:20:44.028Z] drwxr-xr-x 2 root root 4096 Jul 11 06:13 cost [2023-07-11T06:20:44.028Z] -rw-r--r-- 1 root root 83 Jul 11 06:13 cost.csv [2023-07-11T06:20:44.028Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-07-11T06:20:44.028Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-07-11T06:20:44.028Z] total 16 [2023-07-11T06:20:44.028Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 06:13 . [2023-07-11T06:20:44.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:13 .. [2023-07-11T06:20:44.028Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 06:13 cost [2023-07-11T06:20:44.028Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 11 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:20:44.317Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:20:45.167Z] ---> package-listing.sh [2023-07-11T06:20:45.168Z] ++ facter osfamily [2023-07-11T06:20:45.168Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-11T06:20:45.427Z] + OS_FAMILY=debian [2023-07-11T06:20:45.427Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 [2023-07-11T06:20:45.427Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-11T06:20:45.427Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-11T06:20:45.427Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-11T06:20:45.427Z] + PACKAGES=/tmp/packages_start.txt [2023-07-11T06:20:45.427Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-07-11T06:20:45.427Z] + PACKAGES=/tmp/packages_end.txt [2023-07-11T06:20:45.427Z] + case "${OS_FAMILY}" in [2023-07-11T06:20:45.427Z] + dpkg -l [2023-07-11T06:20:45.427Z] + grep '^ii' [2023-07-11T06:20:45.427Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-11T06:20:45.427Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-11T06:20:45.427Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-11T06:20:45.427Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-07-11T06:20:45.427Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [2023-07-11T06:20:45.427Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [Pipeline] echo [2023-07-11T06:20:45.437Z] 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-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-11T06:20:45.711Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T06:20:46.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T06:20:46.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T06:20:46.330Z] prd-ubuntu20.04-docker-8c-8g-826 does not seem to be running inside a container [2023-07-11T06:20:46.353Z] $ 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-14/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-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-11T06:20:46.547Z] $ docker top 26d68e6f5a80d136f42f80d3f892fca13b22b930aecb18a3c900616e4d28cc24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T06:20:46.899Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-11T06:20:47.181Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-11T06:20:47.464Z] + ls /var/log/sa-host [2023-07-11T06:20:47.464Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T06:20:47.602Z] provisioning config files... [2023-07-11T06:20:47.612Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config10194204415591203448tmp [Pipeline] { [Pipeline] echo [2023-07-11T06:20:47.626Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:20:47.908Z] ---> create-netrc.sh [Pipeline] } [2023-07-11T06:20:47.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:20:48.254Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-11T06:20:48.262Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:20:48.544Z] ---> sudo-logs.sh [2023-07-11T06:20:48.545Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-11T06:20:48.576Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:20:48.862Z] ---> job-cost.sh [2023-07-11T06:20:48.863Z] lf-activate-venv: SKIPPING [2023-07-11T06:20:48.863Z] DEBUG: total: 0.2199999988079071 [2023-07-11T06:20:48.863Z] INFO: Retrieving Stack Cost... [2023-07-11T06:20:49.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-11T06:20:49.689Z] INFO: Archiving Costs [Pipeline] echo [2023-07-11T06:20:49.699Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T06:20:49.981Z] ---> logs-deploy.sh [2023-07-11T06:20:49.981Z] lf-activate-venv: SKIPPING [2023-07-11T06:20:49.981Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/11 [2023-07-11T06:20:49.981Z] INFO: archiving workspace using pattern(s): [2023-07-11T06:20:50.918Z] Archives upload complete. [2023-07-11T06:20:50.918Z] INFO: archiving logs to Nexus