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 c1651e5f0c188aa8f88bb3275d0551dd88d3f499 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-ssh16681891104496171432.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-ssh12066180756035742155.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-ssh8383477282694913347.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-ssh1989389900765456556.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-ssh7270990969971549981.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-829 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 c1651e5f0c188aa8f88bb3275d0551dd88d3f499 Merge succeeded, producing c1651e5f0c188aa8f88bb3275d0551dd88d3f499 Checking out Revision c1651e5f0c188aa8f88bb3275d0551dd88d3f499 (PR-14) > git config core.sparsecheckout # timeout=10 > git checkout -f c1651e5f0c188aa8f88bb3275d0551dd88d3f499 # 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 c1651e5f0c188aa8f88bb3275d0551dd88d3f499 # timeout=10 Commit message: "feat: Upgrade to V3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 414bf67073a5e7aa1b2971a2300f259024e65d63 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-11T07:15:18.103Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-11T07:15:18.168Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-11T07:15:18.182Z] ========================================================= [2023-07-11T07:15:18.182Z] EdgeX Global Pipelines Version Info [2023-07-11T07:15:18.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:15:18.885Z] ------------------- [2023-07-11T07:15:18.885Z] stable info: [2023-07-11T07:15:18.885Z] ------------------- [2023-07-11T07:15:18.885Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-11T07:15:18.885Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-11T07:15:18.885Z] Message: update stable to v1.0.250 [2023-07-11T07:15:19.454Z] ------------------- [2023-07-11T07:15:19.454Z] experimental info: [2023-07-11T07:15:19.454Z] ------------------- [2023-07-11T07:15:19.454Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-11T07:15:19.454Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-11T07:15:19.454Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-11T07:15:19.636Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-11T07:15:19.645Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-11T07:15:19.654Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-11T07:15:19.663Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-11T07:15:19.671Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-11T07:15:19.681Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-11T07:15:19.698Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-11T07:15:19.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-11T07:15:19.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-11T07:15:19.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-11T07:15:19.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-11T07:15:19.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-11T07:15:19.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-11T07:15:19.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-11T07:15:19.811Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-11T07:15:19.820Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-11T07:15:19.831Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-11T07:15:19.841Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-11T07:15:19.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-11T07:15:19.860Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-11T07:15:19.877Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-11T07:15:19.894Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-11T07:15:19.913Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-11T07:15:19.930Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-11T07:15:19.947Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-11T07:15:19.958Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-11T07:15:19.967Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-11T07:15:19.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo [2023-07-11T07:15:19.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo [2023-07-11T07:15:19.997Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo [2023-07-11T07:15:20.015Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [Pipeline] echo [2023-07-11T07:15:20.034Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1651e5 [Pipeline] echo [2023-07-11T07:15:20.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T07:15:20.088Z] provisioning config files... [2023-07-11T07:15:20.102Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config2965999098179011592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:15:20.406Z] ---> docker-login.sh [2023-07-11T07:15:20.406Z] nexus3.edgexfoundry.org:10001 [2023-07-11T07:15:20.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:20.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:20.664Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:20.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:20.664Z] [2023-07-11T07:15:20.664Z] Login Succeeded [2023-07-11T07:15:20.664Z] nexus3.edgexfoundry.org:10002 [2023-07-11T07:15:20.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:20.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:20.925Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:20.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:20.925Z] [2023-07-11T07:15:20.925Z] Login Succeeded [2023-07-11T07:15:20.925Z] nexus3.edgexfoundry.org:10003 [2023-07-11T07:15:20.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:20.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:20.925Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:20.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:20.925Z] [2023-07-11T07:15:20.925Z] Login Succeeded [2023-07-11T07:15:20.925Z] nexus3.edgexfoundry.org:10004 [2023-07-11T07:15:20.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:20.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:20.925Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:20.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:20.925Z] [2023-07-11T07:15:20.925Z] Login Succeeded [2023-07-11T07:15:20.925Z] docker.io [2023-07-11T07:15:21.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:21.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:21.444Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:21.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:21.444Z] [2023-07-11T07:15:21.444Z] Login Succeeded [2023-07-11T07:15:21.444Z] ---> docker-login.sh ends [Pipeline] } [2023-07-11T07:15:21.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-11T07:15:21.828Z] + git rev-list -1 --merges c1651e5f0c188aa8f88bb3275d0551dd88d3f499~1..c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [Pipeline] echo [2023-07-11T07:15:21.876Z] -----------> git rev-list -1 --merges c1651e5f0c188aa8f88bb3275d0551dd88d3f499~1..c1651e5f0c188aa8f88bb3275d0551dd88d3f499 c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [false] [Pipeline] sh [2023-07-11T07:15:22.162Z] + git log --format=format:%s -1 c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [Pipeline] echo [2023-07-11T07:15:22.177Z] ========================================================= [2023-07-11T07:15:22.177Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-11T07:15:22.177Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T07:15:22.515Z] + git log --format=format:%s -1 c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [Pipeline] echo [2023-07-11T07:15:22.524Z] [semverPrep] GIT_COMMIT: c1651e5f0c188aa8f88bb3275d0551dd88d3f499, Commit Message: feat: Upgrade to V3 [Pipeline] echo [2023-07-11T07:15:22.532Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-11T07:15:22.899Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-11T07:15:22.899Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-11T07:15:22.899Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-11T07:15:22.899Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-11T07:15:22.899Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-11T07:15:22.899Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-11T07:15:22.899Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:15:23.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T07:15:23.327Z] [2023-07-11T07:15:23.327Z] 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-11T07:15:23.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T07:15:23.627Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-11T07:15:23.627Z] b85a868b505f: Pulling fs layer [2023-07-11T07:15:23.627Z] e2be974225ed: Pulling fs layer [2023-07-11T07:15:23.627Z] 339a4e72a1f5: Pulling fs layer [2023-07-11T07:15:23.627Z] 988bab9f4d93: Pulling fs layer [2023-07-11T07:15:23.627Z] 1469e6f7b9e6: Pulling fs layer [2023-07-11T07:15:23.627Z] eaf3925da568: Pulling fs layer [2023-07-11T07:15:23.627Z] bab4dde63d76: Pulling fs layer [2023-07-11T07:15:23.627Z] bde34c3a00c8: Pulling fs layer [2023-07-11T07:15:23.627Z] b352a97aabf1: Pulling fs layer [2023-07-11T07:15:23.627Z] 4872d77fe225: Pulling fs layer [2023-07-11T07:15:23.627Z] 5851b861e8e6: Pulling fs layer [2023-07-11T07:15:23.627Z] 988bab9f4d93: Waiting [2023-07-11T07:15:23.627Z] 1469e6f7b9e6: Waiting [2023-07-11T07:15:23.627Z] eaf3925da568: Waiting [2023-07-11T07:15:23.627Z] bab4dde63d76: Waiting [2023-07-11T07:15:23.627Z] 4872d77fe225: Waiting [2023-07-11T07:15:23.627Z] bde34c3a00c8: Waiting [2023-07-11T07:15:23.627Z] b352a97aabf1: Waiting [2023-07-11T07:15:23.627Z] 5851b861e8e6: Waiting [2023-07-11T07:15:23.627Z] e2be974225ed: Verifying Checksum [2023-07-11T07:15:23.627Z] e2be974225ed: Download complete [2023-07-11T07:15:23.627Z] 988bab9f4d93: Verifying Checksum [2023-07-11T07:15:23.627Z] 988bab9f4d93: Download complete [2023-07-11T07:15:23.627Z] 1469e6f7b9e6: Verifying Checksum [2023-07-11T07:15:23.627Z] 1469e6f7b9e6: Download complete [2023-07-11T07:15:23.627Z] 339a4e72a1f5: Verifying Checksum [2023-07-11T07:15:23.627Z] 339a4e72a1f5: Download complete [2023-07-11T07:15:23.888Z] eaf3925da568: Verifying Checksum [2023-07-11T07:15:23.888Z] eaf3925da568: Download complete [2023-07-11T07:15:23.888Z] bde34c3a00c8: Verifying Checksum [2023-07-11T07:15:23.888Z] bde34c3a00c8: Download complete [2023-07-11T07:15:23.888Z] b352a97aabf1: Download complete [2023-07-11T07:15:23.888Z] 4872d77fe225: Download complete [2023-07-11T07:15:23.888Z] 5851b861e8e6: Verifying Checksum [2023-07-11T07:15:23.888Z] b85a868b505f: Download complete [2023-07-11T07:15:24.149Z] bab4dde63d76: Verifying Checksum [2023-07-11T07:15:24.149Z] bab4dde63d76: Download complete [2023-07-11T07:15:25.089Z] b85a868b505f: Pull complete [2023-07-11T07:15:25.350Z] e2be974225ed: Pull complete [2023-07-11T07:15:25.919Z] 339a4e72a1f5: Pull complete [2023-07-11T07:15:25.919Z] 988bab9f4d93: Pull complete [2023-07-11T07:15:26.180Z] 1469e6f7b9e6: Pull complete [2023-07-11T07:15:26.180Z] eaf3925da568: Pull complete [2023-07-11T07:15:28.086Z] bab4dde63d76: Pull complete [2023-07-11T07:15:28.086Z] bde34c3a00c8: Pull complete [2023-07-11T07:15:28.345Z] b352a97aabf1: Pull complete [2023-07-11T07:15:28.345Z] 4872d77fe225: Pull complete [2023-07-11T07:15:28.604Z] 5851b861e8e6: Pull complete [2023-07-11T07:15:28.604Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-11T07:15:28.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T07:15:28.604Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T07:15:28.701Z] prd-ubuntu20.04-docker-8c-8g-829 does not seem to be running inside a container [2023-07-11T07:15:28.728Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-11T07:15:32.060Z] $ docker top 226ea0e1501c6d97d4dbadd3d8998210c91baed88b18c8037b2ee78fde61ed65 -eo pid,comm [2023-07-11T07:15:32.123Z] 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-11T07:15:32.123Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-11T07:15:32.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-11T07:15:32.154Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-11T07:15:32.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-11T07:15:32.264Z] $ docker exec 226ea0e1501c6d97d4dbadd3d8998210c91baed88b18c8037b2ee78fde61ed65 ssh-agent [2023-07-11T07:15:32.386Z] SSH_AUTH_SOCK=/tmp/ssh-IBYboKk54GCG/agent.33 [2023-07-11T07:15:32.386Z] SSH_AGENT_PID=39 [2023-07-11T07:15:32.393Z] Running ssh-add (command line suppressed) [2023-07-11T07:15:32.491Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_17741943960931783110.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_17741943960931783110.key) [2023-07-11T07:15:32.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-11T07:15:32.796Z] + git tag --points-at HEAD [Pipeline] } [2023-07-11T07:15:32.806Z] $ docker exec --env ******** --env ******** 226ea0e1501c6d97d4dbadd3d8998210c91baed88b18c8037b2ee78fde61ed65 ssh-agent -k [2023-07-11T07:15:32.921Z] unset SSH_AUTH_SOCK; [2023-07-11T07:15:32.922Z] unset SSH_AGENT_PID; [2023-07-11T07:15:32.922Z] echo Agent pid 39 killed; [2023-07-11T07:15:32.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-11T07:15:32.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-11T07:15:32.958Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-11T07:15:33.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-11T07:15:33.094Z] $ docker exec 226ea0e1501c6d97d4dbadd3d8998210c91baed88b18c8037b2ee78fde61ed65 ssh-agent [2023-07-11T07:15:33.218Z] SSH_AUTH_SOCK=/tmp/ssh-WuodEGQ2Haqz/agent.71 [2023-07-11T07:15:33.218Z] SSH_AGENT_PID=77 [2023-07-11T07:15:33.223Z] Running ssh-add (command line suppressed) [2023-07-11T07:15:33.331Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_11480051255910101222.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_11480051255910101222.key) [2023-07-11T07:15:33.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-11T07:15:33.637Z] + git semver init [2023-07-11T07:15:33.897Z] 2023-07-11 07:15:33,803 [run_init] DEBUG init version:0.0.0 force:False [2023-07-11T07:15:33.897Z] 2023-07-11 07:15:33,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-07-11T07:15:33.897Z] 2023-07-11 07:15:33,805 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-07-11T07:15:33.897Z] 2023-07-11 07:15:33,805 [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-11T07:15:34.834Z] 2023-07-11 07:15:34,682 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude [2023-07-11T07:15:34.834Z] 2023-07-11 07:15:34,683 [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-11T07:15:34.834Z] 2023-07-11 07:15:34,683 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-07-11T07:15:34.834Z] 2023-07-11 07:15:34,687 [execute] INFO git cat-file --batch-check [2023-07-11T07:15:34.834Z] 2023-07-11 07:15:34,687 [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-11T07:15:34.834Z] 2023-07-11 07:15:34,694 [execute] INFO git cat-file --batch [2023-07-11T07:15:34.834Z] 2023-07-11 07:15:34,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-07-11T07:15:34.834Z] 2023-07-11 07:15:34,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-07-11T07:15:34.834Z] 0.0.0 [Pipeline] } [2023-07-11T07:15:34.842Z] $ docker exec --env ******** --env ******** 226ea0e1501c6d97d4dbadd3d8998210c91baed88b18c8037b2ee78fde61ed65 ssh-agent -k [2023-07-11T07:15:34.944Z] unset SSH_AUTH_SOCK; [2023-07-11T07:15:34.944Z] unset SSH_AGENT_PID; [2023-07-11T07:15:34.944Z] echo Agent pid 77 killed; [2023-07-11T07:15:34.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-11T07:15:35.254Z] + git semver [Pipeline] } [2023-07-11T07:15:35.525Z] $ docker stop --time=1 226ea0e1501c6d97d4dbadd3d8998210c91baed88b18c8037b2ee78fde61ed65 [2023-07-11T07:15:36.854Z] $ docker rm -f --volumes 226ea0e1501c6d97d4dbadd3d8998210c91baed88b18c8037b2ee78fde61ed65 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-11T07:15:37.193Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-11T07:15:37.407Z] Stashed 1 file(s) [Pipeline] echo [2023-07-11T07:15:37.409Z] [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-11T07:15:37.557Z] provisioning config files... [2023-07-11T07:15:37.567Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config16175965513107619829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:15:37.859Z] ---> docker-login.sh [2023-07-11T07:15:37.859Z] nexus3.edgexfoundry.org:10001 [2023-07-11T07:15:37.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:37.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:37.859Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:37.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:37.859Z] [2023-07-11T07:15:37.859Z] Login Succeeded [2023-07-11T07:15:37.859Z] nexus3.edgexfoundry.org:10002 [2023-07-11T07:15:37.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:37.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:37.859Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:37.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:37.859Z] [2023-07-11T07:15:37.859Z] Login Succeeded [2023-07-11T07:15:37.859Z] nexus3.edgexfoundry.org:10003 [2023-07-11T07:15:38.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:38.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:38.116Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:38.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:38.116Z] [2023-07-11T07:15:38.116Z] Login Succeeded [2023-07-11T07:15:38.116Z] nexus3.edgexfoundry.org:10004 [2023-07-11T07:15:38.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:38.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:38.116Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:38.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:38.117Z] [2023-07-11T07:15:38.117Z] Login Succeeded [2023-07-11T07:15:38.117Z] docker.io [2023-07-11T07:15:38.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:15:38.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:15:38.375Z] Configure a credential helper to remove this warning. See [2023-07-11T07:15:38.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:15:38.375Z] [2023-07-11T07:15:38.375Z] Login Succeeded [2023-07-11T07:15:38.375Z] ---> docker-login.sh ends [Pipeline] } [2023-07-11T07:15:38.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-11T07:15:38.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T07:15:38.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T07:15:38.526Z] ========================================================= [2023-07-11T07:15:38.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-11T07:15:38.526Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:15:38.834Z] + 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-11T07:15:38.834Z] Sending build context to Docker daemon 11.08MB [2023-07-11T07:15:38.834Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T07:15:38.834Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-11T07:15:38.834Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-11T07:15:38.834Z] f56be85fc22e: Pulling fs layer [2023-07-11T07:15:38.834Z] 85791d961cd3: Pulling fs layer [2023-07-11T07:15:38.834Z] d694b5ae8c79: Pulling fs layer [2023-07-11T07:15:38.834Z] 9f32a84ed3da: Pulling fs layer [2023-07-11T07:15:38.834Z] 4d19c01a9841: Pulling fs layer [2023-07-11T07:15:38.834Z] 9325e15d5711: Pulling fs layer [2023-07-11T07:15:38.834Z] 556b6ee489ea: Pulling fs layer [2023-07-11T07:15:38.834Z] c5a4b2cf53e6: Pulling fs layer [2023-07-11T07:15:38.834Z] 556b6ee489ea: Waiting [2023-07-11T07:15:38.834Z] 4d19c01a9841: Waiting [2023-07-11T07:15:38.834Z] 9325e15d5711: Waiting [2023-07-11T07:15:38.834Z] c5a4b2cf53e6: Waiting [2023-07-11T07:15:38.834Z] 9f32a84ed3da: Waiting [2023-07-11T07:15:38.834Z] 85791d961cd3: Verifying Checksum [2023-07-11T07:15:38.834Z] 85791d961cd3: Download complete [2023-07-11T07:15:39.094Z] 9f32a84ed3da: Verifying Checksum [2023-07-11T07:15:39.094Z] 9f32a84ed3da: Download complete [2023-07-11T07:15:39.094Z] 4d19c01a9841: Verifying Checksum [2023-07-11T07:15:39.094Z] 4d19c01a9841: Download complete [2023-07-11T07:15:39.094Z] f56be85fc22e: Verifying Checksum [2023-07-11T07:15:39.094Z] f56be85fc22e: Download complete [2023-07-11T07:15:39.094Z] 9325e15d5711: Verifying Checksum [2023-07-11T07:15:39.094Z] 9325e15d5711: Download complete [2023-07-11T07:15:39.094Z] f56be85fc22e: Pull complete [2023-07-11T07:15:39.355Z] 85791d961cd3: Pull complete [2023-07-11T07:15:39.615Z] c5a4b2cf53e6: Verifying Checksum [2023-07-11T07:15:39.615Z] c5a4b2cf53e6: Download complete [2023-07-11T07:15:39.615Z] d694b5ae8c79: Verifying Checksum [2023-07-11T07:15:39.615Z] d694b5ae8c79: Download complete [2023-07-11T07:15:39.873Z] 556b6ee489ea: Verifying Checksum [2023-07-11T07:15:39.873Z] 556b6ee489ea: Download complete [2023-07-11T07:15:43.155Z] d694b5ae8c79: Pull complete [2023-07-11T07:15:43.155Z] 9f32a84ed3da: Pull complete [2023-07-11T07:15:43.155Z] 4d19c01a9841: Pull complete [2023-07-11T07:15:43.155Z] 9325e15d5711: Pull complete [2023-07-11T07:15:45.688Z] 556b6ee489ea: Pull complete [2023-07-11T07:15:46.283Z] c5a4b2cf53e6: Pull complete [2023-07-11T07:15:46.283Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-07-11T07:15:46.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-11T07:15:46.283Z] ---> c4be618373d6 [2023-07-11T07:15:46.283Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T07:15:51.600Z] ---> Running in 69272cba338a [2023-07-11T07:15:51.600Z] Removing intermediate container 69272cba338a [2023-07-11T07:15:51.600Z] ---> 4f185aae555d [2023-07-11T07:15:51.600Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T07:15:51.600Z] ---> Running in edec1086f21a [2023-07-11T07:15:51.600Z] Removing intermediate container edec1086f21a [2023-07-11T07:15:51.600Z] ---> b1ec173572de [2023-07-11T07:15:51.600Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-11T07:15:51.600Z] ---> Running in e493052db930 [2023-07-11T07:15:51.600Z] Removing intermediate container e493052db930 [2023-07-11T07:15:51.600Z] ---> 130bf3cedced [2023-07-11T07:15:51.600Z] Step 6/12 : WORKDIR /device-uart [2023-07-11T07:15:51.600Z] ---> Running in 206687fd3fae [2023-07-11T07:15:51.600Z] Removing intermediate container 206687fd3fae [2023-07-11T07:15:51.600Z] ---> 7f9430cf8a8e [2023-07-11T07:15:51.600Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T07:15:51.600Z] ---> Running in 5057eaf5a1e2 [2023-07-11T07:15:51.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-11T07:15:52.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-11T07:15:52.376Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-11T07:15:52.376Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-11T07:15:52.376Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-11T07:15:52.376Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-11T07:15:52.376Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T07:15:52.376Z] OK: 269 MiB in 57 packages [2023-07-11T07:15:52.513Z] Still waiting to schedule task [2023-07-11T07:15:52.513Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-11T07:15:52.963Z] Removing intermediate container 5057eaf5a1e2 [2023-07-11T07:15:52.963Z] ---> a13913473137 [2023-07-11T07:15:52.963Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-11T07:15:53.223Z] ---> 10ce38aa1e08 [2023-07-11T07:15:53.223Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T07:15:53.223Z] ---> Running in c2d1a9053c1c [2023-07-11T07:16:50.086Z] Removing intermediate container c2d1a9053c1c [2023-07-11T07:16:50.086Z] ---> 039756327b7c [2023-07-11T07:16:50.086Z] Step 10/12 : COPY . . [2023-07-11T07:16:50.086Z] ---> fb7b91157486 [2023-07-11T07:16:50.086Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T07:16:50.086Z] ---> Running in 9bed698f9324 [2023-07-11T07:16:50.086Z] Removing intermediate container 9bed698f9324 [2023-07-11T07:16:50.086Z] ---> 34bf55d99ab1 [2023-07-11T07:16:50.086Z] Step 12/12 : RUN ${MAKE} [2023-07-11T07:16:50.086Z] ---> Running in eda36da879d2 [2023-07-11T07:16:50.086Z] noop [2023-07-11T07:16:50.086Z] Removing intermediate container eda36da879d2 [2023-07-11T07:16:50.086Z] ---> e15eba35e6f2 [2023-07-11T07:16:50.086Z] Successfully built e15eba35e6f2 [2023-07-11T07:16:50.086Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:16:50.402Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-11T07:16:50.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T07:16:50.465Z] prd-ubuntu20.04-docker-8c-8g-829 does not seem to be running inside a container [2023-07-11T07:16:50.497Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-07-11T07:16:50.987Z] $ docker top d1a7f08a0552f43463873dab2626aee902fed8b850065f6001522156e8f45005 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T07:16:51.330Z] + go version [2023-07-11T07:16:51.330Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-07-11T07:16:51.344Z] $ docker stop --time=1 d1a7f08a0552f43463873dab2626aee902fed8b850065f6001522156e8f45005 [2023-07-11T07:16:52.927Z] $ docker rm -f --volumes d1a7f08a0552f43463873dab2626aee902fed8b850065f6001522156e8f45005 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:16:53.409Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-11T07:16:53.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T07:16:53.468Z] prd-ubuntu20.04-docker-8c-8g-829 does not seem to be running inside a container [2023-07-11T07:16:53.500Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-07-11T07:16:54.271Z] $ docker top 8cd0d565892e3622af9ca34804d1ce7fbb2f4376dcad5f12fa10be3082667900 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T07:16:54.597Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh [2023-07-11T07:16:54.889Z] + make test [2023-07-11T07:16:54.889Z] go test ./... -coverprofile=coverage.out [2023-07-11T07:17:00.163Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-11T07:17:10.127Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-11T07:17:10.127Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-11T07:17:15.392Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-07-11T07:17:18.693Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-11T07:17:18.693Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-11T07:17:18.693Z] ./bin/test-attribution-txt.sh [2023-07-11T07:17:18.693Z] An attribution for github.com/edgexfoundry/device-sdk-go/v3 is missing from Attribution.txt, please add [2023-07-11T07:17:18.693Z] An attribution for github.com/edgexfoundry/go-mod-core-contracts/v3 is missing from Attribution.txt, please add [2023-07-11T07:17:18.693Z] An attribution for github.com/edgexfoundry/go-mod-bootstrap/v3 is missing from Attribution.txt, please add [2023-07-11T07:17:18.693Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2023-07-11T07:17:18.693Z] An attribution for github.com/edgexfoundry/go-mod-messaging/v3 is missing from Attribution.txt, please add [2023-07-11T07:17:18.693Z] An attribution for github.com/edgexfoundry/go-mod-registry/v3 is missing from Attribution.txt, please add [2023-07-11T07:17:18.693Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2023-07-11T07:17:18.693Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [2023-07-11T07:17:18.953Z] An attribution for github.com/nats-io/nats-server/v2 is missing from Attribution.txt, please add [2023-07-11T07:17:18.953Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-07-11T07:17:18.953Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-07-11T07:17:18.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-11T07:17:18.979Z] $ docker stop --time=1 8cd0d565892e3622af9ca34804d1ce7fbb2f4376dcad5f12fa10be3082667900 [2023-07-11T07:17:22.533Z] $ docker rm -f --volumes 8cd0d565892e3622af9ca34804d1ce7fbb2f4376dcad5f12fa10be3082667900 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-11T07:17:22.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-11T07:17:23.022Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-11T07:17:23.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-11T07:17:23.835Z] + ls -al . [2023-07-11T07:17:23.835Z] total 144 [2023-07-11T07:17:23.835Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 11 07:16 . [2023-07-11T07:17:23.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 07:15 .. [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 07:15 .dockerignore [2023-07-11T07:17:23.835Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 07:15 .git [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 07:15 .gitignore [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 07:15 .golangci.yml [2023-07-11T07:17:23.835Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 07:15 .semver [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 8847 Jul 11 07:15 Attribution.txt [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 1782 Jul 11 07:15 Dockerfile [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 07:15 GOVERNANCE.md [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 11 07:15 Jenkinsfile [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 07:15 LICENSE [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 1680 Jul 11 07:15 Makefile [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 07:15 OWNERS.md [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 11 07:15 README.md [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 07:15 VERSION [2023-07-11T07:17:23.835Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 07:15 bin [2023-07-11T07:17:23.835Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 07:15 cmd [2023-07-11T07:17:23.835Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 11 07:16 coverage.out [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 3480 Jul 11 07:15 go.mod [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 33104 Jul 11 07:15 go.sum [2023-07-11T07:17:23.835Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 07:15 internal [2023-07-11T07:17:23.835Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:17:24.150Z] + 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=c1651e5f0c188aa8f88bb3275d0551dd88d3f499 --label arch=amd64 --label version=0.0.0 . [2023-07-11T07:17:24.151Z] Sending build context to Docker daemon 11.08MB [2023-07-11T07:17:24.151Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T07:17:24.151Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-11T07:17:24.151Z] ---> e15eba35e6f2 [2023-07-11T07:17:24.151Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T07:17:24.410Z] ---> Running in 4abf20fd9c42 [2023-07-11T07:17:24.410Z] Removing intermediate container 4abf20fd9c42 [2023-07-11T07:17:24.410Z] ---> 4c7856659a05 [2023-07-11T07:17:24.410Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T07:17:24.410Z] ---> Running in dfa80b39c00d [2023-07-11T07:17:24.669Z] Removing intermediate container dfa80b39c00d [2023-07-11T07:17:24.669Z] ---> 89e2aefe9854 [2023-07-11T07:17:24.669Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-11T07:17:24.669Z] ---> Running in 07fe97ed4eb5 [2023-07-11T07:17:24.669Z] Removing intermediate container 07fe97ed4eb5 [2023-07-11T07:17:24.669Z] ---> 680bec79e9e2 [2023-07-11T07:17:24.669Z] Step 6/25 : WORKDIR /device-uart [2023-07-11T07:17:24.669Z] ---> Running in 4674ba7c9998 [2023-07-11T07:17:24.928Z] Removing intermediate container 4674ba7c9998 [2023-07-11T07:17:24.928Z] ---> 86f0f33bbd8e [2023-07-11T07:17:24.928Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T07:17:24.928Z] ---> Running in 14aa742216e7 [2023-07-11T07:17:25.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-11T07:17:25.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-11T07:17:25.719Z] OK: 269 MiB in 57 packages [2023-07-11T07:17:25.948Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-830 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws [2023-07-11T07:17:25.960Z] Running in /w/workspace/device-uart/12 [Pipeline] { [Pipeline] checkout [2023-07-11T07:17:25.979Z] Removing intermediate container 14aa742216e7 [2023-07-11T07:17:25.979Z] ---> c66f556eb4ad [2023-07-11T07:17:25.979Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-11T07:17:25.979Z] ---> 006d204ddc7c [2023-07-11T07:17:25.979Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T07:17:25.979Z] ---> Running in 32cefd92a9c6 [2023-07-11T07:17:25.988Z] The recommended git tool is: git [2023-07-11T07:17:26.919Z] Removing intermediate container 32cefd92a9c6 [2023-07-11T07:17:26.919Z] ---> 00a377aaba79 [2023-07-11T07:17:26.919Z] Step 10/25 : COPY . . [2023-07-11T07:17:27.485Z] ---> 4cc0af5feeec [2023-07-11T07:17:27.485Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T07:17:27.485Z] ---> Running in c234a5c6f1e4 [2023-07-11T07:17:27.485Z] Removing intermediate container c234a5c6f1e4 [2023-07-11T07:17:27.485Z] ---> 9394d985abd1 [2023-07-11T07:17:27.485Z] Step 12/25 : RUN ${MAKE} [2023-07-11T07:17:27.485Z] ---> Running in 8c2ff28b2723 [2023-07-11T07:17:27.744Z] 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-11T07:17:31.164Z] using credential edgex-jenkins-ssh [2023-07-11T07:17:31.182Z] Cloning the remote Git repository [2023-07-11T07:17:31.214Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-11T07:17:31.301Z] > git init /w/workspace/device-uart/12 # timeout=10 [2023-07-11T07:17:31.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-11T07:17:31.469Z] > git --version # timeout=10 [2023-07-11T07:17:31.490Z] > git --version # 'git version 2.25.1' [2023-07-11T07:17:31.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T07:17:31.634Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-11T07:17:32.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-11T07:17:32.755Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-11T07:17:34.108Z] Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [2023-07-11T07:17:34.357Z] Merge succeeded, producing c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [2023-07-11T07:17:34.358Z] Checking out Revision c1651e5f0c188aa8f88bb3275d0551dd88d3f499 (PR-14) [2023-07-11T07:17:33.531Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-11T07:17:33.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-11T07:17:33.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T07:17:33.586Z] > 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-11T07:17:34.120Z] > git config core.sparsecheckout # timeout=10 [2023-07-11T07:17:34.188Z] > git checkout -f c1651e5f0c188aa8f88bb3275d0551dd88d3f499 # timeout=10 [2023-07-11T07:17:34.261Z] > git remote # timeout=10 [2023-07-11T07:17:34.277Z] > git config --get remote.origin.url # timeout=10 [2023-07-11T07:17:34.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T07:17:34.311Z] > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 [2023-07-11T07:17:34.336Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-11T07:17:34.358Z] > git config core.sparsecheckout # timeout=10 [2023-07-11T07:17:34.370Z] > git checkout -f c1651e5f0c188aa8f88bb3275d0551dd88d3f499 # timeout=10 [2023-07-11T07:17:37.812Z] Commit message: "feat: Upgrade to V3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T07:17:38.735Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-11T07:17:38.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-11T07:17:38.735Z] Dload Upload Total Spent Left Speed [2023-07-11T07:17:38.735Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-07-11T07:17:39.374Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-11T07:17:39.701Z] + sudo tee /etc/docker/daemon.new [2023-07-11T07:17:39.701Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-11T07:17:39.701Z] { [2023-07-11T07:17:39.701Z] "registry-mirrors": [ [2023-07-11T07:17:39.701Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-11T07:17:39.701Z] ], [2023-07-11T07:17:39.701Z] "bip": "10.250.0.254/24", [2023-07-11T07:17:39.701Z] "hosts": [ [2023-07-11T07:17:39.701Z] "tcp://0.0.0.0:5555", [2023-07-11T07:17:39.701Z] "unix:///var/run/docker.sock" [2023-07-11T07:17:39.701Z] ], [2023-07-11T07:17:39.701Z] "mtu": 1458, [2023-07-11T07:17:39.701Z] "selinux-enabled": true, [2023-07-11T07:17:39.701Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-11T07:17:39.701Z] } [Pipeline] sh [2023-07-11T07:17:40.037Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-11T07:17:40.363Z] + sudo service docker restart [2023-07-11T07:17:49.692Z] Removing intermediate container 8c2ff28b2723 [2023-07-11T07:17:49.692Z] ---> 59087b78399f [2023-07-11T07:17:49.692Z] Step 13/25 : FROM alpine:3.17 [2023-07-11T07:17:49.692Z] 3.17: Pulling from library/alpine [2023-07-11T07:17:49.692Z] 4db1b89c0bd1: Pulling fs layer [2023-07-11T07:17:49.692Z] 4db1b89c0bd1: Verifying Checksum [2023-07-11T07:17:49.692Z] 4db1b89c0bd1: Download complete [2023-07-11T07:17:49.692Z] 4db1b89c0bd1: Pull complete [2023-07-11T07:17:49.692Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-11T07:17:49.692Z] Status: Downloaded newer image for alpine:3.17 [2023-07-11T07:17:49.692Z] ---> 1f73a9d63274 [2023-07-11T07:17:49.692Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-11T07:17:49.692Z] ---> Running in 839e379c9892 [2023-07-11T07:17:49.692Z] Removing intermediate container 839e379c9892 [2023-07-11T07:17:49.692Z] ---> 7d0114afd834 [2023-07-11T07:17:49.692Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-07-11T07:17:49.692Z] ---> Running in a71d9145ec7c [2023-07-11T07:17:49.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-11T07:17:50.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-11T07:17:50.466Z] (1/6) Installing dumb-init (1.2.5-r2) [2023-07-11T07:17:50.466Z] (2/6) Installing libgcc (12.2.1_git20220924-r4) [2023-07-11T07:17:50.466Z] (3/6) Installing libsodium (1.0.18-r2) [2023-07-11T07:17:50.466Z] (4/6) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-11T07:17:50.466Z] (5/6) Installing libzmq (4.3.4-r1) [2023-07-11T07:17:50.466Z] (6/6) Installing zeromq (4.3.4-r1) [2023-07-11T07:17:50.466Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T07:17:50.729Z] OK: 10 MiB in 21 packages [2023-07-11T07:17:50.987Z] Removing intermediate container a71d9145ec7c [2023-07-11T07:17:50.987Z] ---> 275fb54e9e95 [2023-07-11T07:17:50.987Z] Step 16/25 : WORKDIR / [2023-07-11T07:17:50.987Z] ---> Running in 6a5d80eedde4 [2023-07-11T07:17:51.246Z] Removing intermediate container 6a5d80eedde4 [2023-07-11T07:17:51.246Z] ---> 00d14b59829f [2023-07-11T07:17:51.246Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-11T07:17:51.246Z] ---> 4704dc469cf1 [2023-07-11T07:17:51.246Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-11T07:17:51.505Z] ---> 430b5162c9c6 [2023-07-11T07:17:51.505Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-11T07:17:52.440Z] ---> a3bb9b6983d6 [2023-07-11T07:17:52.440Z] Step 20/25 : EXPOSE 59995 [2023-07-11T07:17:52.440Z] ---> Running in 7f120410c9cf [2023-07-11T07:17:52.440Z] Removing intermediate container 7f120410c9cf [2023-07-11T07:17:52.440Z] ---> 0b164890ab89 [2023-07-11T07:17:52.440Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-11T07:17:52.440Z] ---> Running in d43f3ce26343 [2023-07-11T07:17:52.709Z] Removing intermediate container d43f3ce26343 [2023-07-11T07:17:52.709Z] ---> 24055203d9c1 [2023-07-11T07:17:52.709Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-11T07:17:52.709Z] ---> Running in a5c07892a2e8 [2023-07-11T07:17:52.709Z] Removing intermediate container a5c07892a2e8 [2023-07-11T07:17:52.709Z] ---> 173f0a874aac [2023-07-11T07:17:52.709Z] Step 23/25 : LABEL arch=amd64 [2023-07-11T07:17:52.709Z] ---> Running in 8f1cbcb3714e [2023-07-11T07:17:52.709Z] Removing intermediate container 8f1cbcb3714e [2023-07-11T07:17:52.709Z] ---> 403090b47190 [2023-07-11T07:17:52.709Z] Step 24/25 : LABEL git_sha=c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [2023-07-11T07:17:52.968Z] ---> Running in 1b2339bcfc46 [2023-07-11T07:17:52.968Z] Removing intermediate container 1b2339bcfc46 [2023-07-11T07:17:52.968Z] ---> b14762b5f255 [2023-07-11T07:17:52.968Z] Step 25/25 : LABEL version=0.0.0 [2023-07-11T07:17:52.968Z] ---> Running in 258bfb3f560c [2023-07-11T07:17:52.968Z] Removing intermediate container 258bfb3f560c [2023-07-11T07:17:52.968Z] ---> 5eada4a68e81 [2023-07-11T07:17:52.968Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-11T07:17:52.968Z] Successfully built 5eada4a68e81 [2023-07-11T07:17:52.968Z] 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-11T07:17:53.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T07:17:53.436Z] [2023-07-11T07:17:53.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:17:53.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T07:17:53.735Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-11T07:17:53.735Z] 5eb5b503b376: Pulling fs layer [2023-07-11T07:17:53.735Z] 5c69ac0246d0: Pulling fs layer [2023-07-11T07:17:53.735Z] ec43610c2a17: Pulling fs layer [2023-07-11T07:17:53.735Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-11T07:17:53.735Z] 33b1e0a273af: Pulling fs layer [2023-07-11T07:17:53.735Z] 5d3b04190fa2: Pulling fs layer [2023-07-11T07:17:53.735Z] 2f39f015ded8: Pulling fs layer [2023-07-11T07:17:53.735Z] 33b1e0a273af: Waiting [2023-07-11T07:17:53.735Z] 5d3b04190fa2: Waiting [2023-07-11T07:17:53.735Z] 3a2ae6a8a46f: Waiting [2023-07-11T07:17:53.735Z] 2f39f015ded8: Waiting [2023-07-11T07:17:53.735Z] 5c69ac0246d0: Download complete [2023-07-11T07:17:53.735Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-11T07:17:53.735Z] 3a2ae6a8a46f: Download complete [2023-07-11T07:17:53.735Z] 33b1e0a273af: Verifying Checksum [2023-07-11T07:17:53.735Z] 33b1e0a273af: Download complete [2023-07-11T07:17:53.735Z] 5d3b04190fa2: Verifying Checksum [2023-07-11T07:17:53.735Z] 5d3b04190fa2: Download complete [2023-07-11T07:17:53.735Z] ec43610c2a17: Verifying Checksum [2023-07-11T07:17:53.735Z] ec43610c2a17: Download complete [2023-07-11T07:17:53.996Z] 5eb5b503b376: Verifying Checksum [2023-07-11T07:17:53.996Z] 5eb5b503b376: Download complete [2023-07-11T07:17:54.564Z] 2f39f015ded8: Download complete [2023-07-11T07:17:55.129Z] 5eb5b503b376: Pull complete [2023-07-11T07:17:55.387Z] 5c69ac0246d0: Pull complete [2023-07-11T07:17:55.646Z] ec43610c2a17: Pull complete [2023-07-11T07:17:55.905Z] 3a2ae6a8a46f: Pull complete [2023-07-11T07:17:56.165Z] 33b1e0a273af: Pull complete [2023-07-11T07:17:56.165Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T07:17:58.614Z] provisioning config files... [2023-07-11T07:17:58.637Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/12@tmp/config12978276669176367459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:17:58.982Z] ---> docker-login.sh [2023-07-11T07:17:58.982Z] nexus3.edgexfoundry.org:10001 [2023-07-11T07:17:59.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:17:59.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:17:59.519Z] Configure a credential helper to remove this warning. See [2023-07-11T07:17:59.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:17:59.519Z] [2023-07-11T07:17:59.519Z] Login Succeeded [2023-07-11T07:17:59.519Z] nexus3.edgexfoundry.org:10002 [2023-07-11T07:17:59.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:17:59.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:17:59.790Z] Configure a credential helper to remove this warning. See [2023-07-11T07:17:59.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:17:59.790Z] [2023-07-11T07:17:59.790Z] Login Succeeded [2023-07-11T07:17:59.790Z] nexus3.edgexfoundry.org:10003 [2023-07-11T07:18:00.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:18:00.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:18:00.329Z] Configure a credential helper to remove this warning. See [2023-07-11T07:18:00.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:18:00.329Z] [2023-07-11T07:18:00.329Z] Login Succeeded [2023-07-11T07:18:00.329Z] nexus3.edgexfoundry.org:10004 [2023-07-11T07:18:00.355Z] 2f39f015ded8: Pull complete [2023-07-11T07:18:00.355Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-11T07:18:00.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T07:18:00.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T07:18:00.439Z] prd-ubuntu20.04-docker-8c-8g-829 does not seem to be running inside a container [2023-07-11T07:18:00.472Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-11T07:18:00.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:18:00.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:18:00.598Z] Configure a credential helper to remove this warning. See [2023-07-11T07:18:00.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:18:00.598Z] [2023-07-11T07:18:00.598Z] Login Succeeded [2023-07-11T07:18:00.598Z] docker.io [2023-07-11T07:18:00.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T07:18:01.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T07:18:01.129Z] Configure a credential helper to remove this warning. See [2023-07-11T07:18:01.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T07:18:01.129Z] [2023-07-11T07:18:01.129Z] Login Succeeded [2023-07-11T07:18:01.129Z] ---> docker-login.sh ends [2023-07-11T07:18:06.074Z] $ docker top cf59c890a9d05c9ae7c7d115b5575941e5865f97a4874c504e9afbd6e1e43b04 -eo pid,comm [Pipeline] { [Pipeline] } [2023-07-11T07:18:06.146Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-11T07:18:06.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T07:18:06.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T07:18:06.513Z] ========================================================= [2023-07-11T07:18:06.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-11T07:18:06.513Z] ========================================================= [Pipeline] fileExists [2023-07-11T07:18:06.521Z] ---> job-cost.sh [2023-07-11T07:18:06.521Z] lf-activate-venv: SKIPPING [2023-07-11T07:18:06.521Z] INFO: No Stack... [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:18:06.780Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-11T07:18:06.838Z] + 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-11T07:18:07.105Z] Sending build context to Docker daemon 5.605MB [2023-07-11T07:18:07.105Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T07:18:07.105Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-11T07:18:07.348Z] INFO: Archiving Costs [Pipeline] sh [2023-07-11T07:18:07.373Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-11T07:18:07.373Z] c41833b44d91: Pulling fs layer [2023-07-11T07:18:07.373Z] ed15518f5707: Pulling fs layer [2023-07-11T07:18:07.373Z] feae8fd75edb: Pulling fs layer [2023-07-11T07:18:07.373Z] 242c74f7c9fa: Pulling fs layer [2023-07-11T07:18:07.373Z] 3cdef696dda3: Pulling fs layer [2023-07-11T07:18:07.373Z] 2ced38df9373: Pulling fs layer [2023-07-11T07:18:07.373Z] 58f1dce35555: Pulling fs layer [2023-07-11T07:18:07.373Z] 242c74f7c9fa: Waiting [2023-07-11T07:18:07.373Z] 3cdef696dda3: Waiting [2023-07-11T07:18:07.373Z] 2ced38df9373: Waiting [2023-07-11T07:18:07.373Z] ed15518f5707: Verifying Checksum [2023-07-11T07:18:07.373Z] ed15518f5707: Download complete [2023-07-11T07:18:07.373Z] 242c74f7c9fa: Verifying Checksum [2023-07-11T07:18:07.373Z] 242c74f7c9fa: Download complete [2023-07-11T07:18:07.373Z] 3cdef696dda3: Verifying Checksum [2023-07-11T07:18:07.373Z] 3cdef696dda3: Download complete [2023-07-11T07:18:07.373Z] c41833b44d91: Verifying Checksum [2023-07-11T07:18:07.373Z] c41833b44d91: Download complete [2023-07-11T07:18:07.633Z] + + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv [2023-07-11T07:18:07.633Z] cut -d, -f6 [Pipeline] lock [2023-07-11T07:18:07.644Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-12-stack-cost] [2023-07-11T07:18:07.650Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-12-stack-cost] did not exist. Created. [2023-07-11T07:18:07.650Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-11T07:18:07.953Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-11T07:18:07.977Z] Stashed 1 file(s) [Pipeline] } [2023-07-11T07:18:07.984Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-12-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-11T07:18:08.003Z] $ docker stop --time=1 cf59c890a9d05c9ae7c7d115b5575941e5865f97a4874c504e9afbd6e1e43b04 [2023-07-11T07:18:08.809Z] c41833b44d91: Pull complete [2023-07-11T07:18:08.809Z] 58f1dce35555: Verifying Checksum [2023-07-11T07:18:08.809Z] 58f1dce35555: Download complete [2023-07-11T07:18:09.156Z] $ docker rm -f --volumes cf59c890a9d05c9ae7c7d115b5575941e5865f97a4874c504e9afbd6e1e43b04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-11T07:18:09.398Z] ed15518f5707: Pull complete [2023-07-11T07:18:10.363Z] feae8fd75edb: Verifying Checksum [2023-07-11T07:18:10.363Z] feae8fd75edb: Download complete [2023-07-11T07:18:10.363Z] 2ced38df9373: Verifying Checksum [2023-07-11T07:18:10.363Z] 2ced38df9373: Download complete [2023-07-11T07:18:22.698Z] feae8fd75edb: Pull complete [2023-07-11T07:18:22.698Z] 242c74f7c9fa: Pull complete [2023-07-11T07:18:22.698Z] 3cdef696dda3: Pull complete [2023-07-11T07:18:28.049Z] 2ced38df9373: Pull complete [2023-07-11T07:18:30.662Z] 58f1dce35555: Pull complete [2023-07-11T07:18:30.662Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-07-11T07:18:30.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-11T07:18:30.662Z] ---> fadd8f120f05 [2023-07-11T07:18:30.662Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T07:18:32.077Z] ---> Running in d3be873c6533 [2023-07-11T07:18:32.346Z] Removing intermediate container d3be873c6533 [2023-07-11T07:18:32.346Z] ---> f9ec0a2cc4ab [2023-07-11T07:18:32.346Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T07:18:32.613Z] ---> Running in f636b6a74d9e [2023-07-11T07:18:32.879Z] Removing intermediate container f636b6a74d9e [2023-07-11T07:18:32.879Z] ---> ad2657ee3d0c [2023-07-11T07:18:32.879Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-11T07:18:32.879Z] ---> Running in 730e076b24ed [2023-07-11T07:18:33.153Z] Removing intermediate container 730e076b24ed [2023-07-11T07:18:33.153Z] ---> 3f3c608c1c65 [2023-07-11T07:18:33.153Z] Step 6/12 : WORKDIR /device-uart [2023-07-11T07:18:33.153Z] ---> Running in 05f548c925c5 [2023-07-11T07:18:33.750Z] Removing intermediate container 05f548c925c5 [2023-07-11T07:18:33.750Z] ---> d531ca860e49 [2023-07-11T07:18:33.750Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T07:18:33.750Z] ---> Running in 80790b8a5f58 [2023-07-11T07:18:34.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T07:18:35.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T07:18:36.251Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-11T07:18:36.251Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-11T07:18:36.251Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-11T07:18:36.251Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-11T07:18:36.251Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T07:18:36.251Z] OK: 268 MiB in 57 packages [2023-07-11T07:18:37.212Z] Removing intermediate container 80790b8a5f58 [2023-07-11T07:18:37.212Z] ---> 187924bac93f [2023-07-11T07:18:37.212Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-11T07:18:37.797Z] ---> 8e9d0a5536ee [2023-07-11T07:18:37.797Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T07:18:37.797Z] ---> Running in bf4e0021b7d5 [2023-07-11T07:19:45.646Z] Removing intermediate container bf4e0021b7d5 [2023-07-11T07:19:45.646Z] ---> a86cc0225b27 [2023-07-11T07:19:45.646Z] Step 10/12 : COPY . . [2023-07-11T07:19:45.646Z] ---> 3f30b6491cc3 [2023-07-11T07:19:45.646Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T07:19:45.646Z] ---> Running in 66bf8afa1644 [2023-07-11T07:19:45.646Z] Removing intermediate container 66bf8afa1644 [2023-07-11T07:19:45.646Z] ---> 8db9404c4faa [2023-07-11T07:19:45.646Z] Step 12/12 : RUN ${MAKE} [2023-07-11T07:19:45.646Z] ---> Running in 66763af9f6a5 [2023-07-11T07:19:45.646Z] noop [2023-07-11T07:19:45.646Z] Removing intermediate container 66763af9f6a5 [2023-07-11T07:19:45.646Z] ---> 4000b24901f6 [2023-07-11T07:19:45.646Z] Successfully built 4000b24901f6 [2023-07-11T07:19:45.646Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:19:45.997Z] + docker inspect -f . ci-base-image-arm64 [2023-07-11T07:19:45.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T07:19:46.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-830 does not seem to be running inside a container [2023-07-11T07:19:46.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/12 -v /w/workspace/device-uart/12:/w/workspace/device-uart/12:rw,z -v /w/workspace/device-uart/12@tmp:/w/workspace/device-uart/12@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 ******** -e ******** ci-base-image-arm64 cat [2023-07-11T07:19:47.483Z] $ docker top 54cc5acd2f008a889161748ec06825f5885ca4cf5fc73139c90f87c8fb3920e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T07:19:48.300Z] + go version [2023-07-11T07:19:48.300Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-07-11T07:19:48.340Z] $ docker stop --time=1 54cc5acd2f008a889161748ec06825f5885ca4cf5fc73139c90f87c8fb3920e3 [2023-07-11T07:19:51.725Z] $ docker rm -f --volumes 54cc5acd2f008a889161748ec06825f5885ca4cf5fc73139c90f87c8fb3920e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:19:52.235Z] + docker inspect -f . ci-base-image-arm64 [2023-07-11T07:19:52.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T07:19:52.416Z] prd-ubuntu20.04-docker-arm64-4c-16g-830 does not seem to be running inside a container [2023-07-11T07:19:52.489Z] $ 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/12 -v /w/workspace/device-uart/12:/w/workspace/device-uart/12:rw,z -v /w/workspace/device-uart/12@tmp:/w/workspace/device-uart/12@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 ******** -e ******** ci-base-image-arm64 cat [2023-07-11T07:19:53.651Z] $ docker top e086a1594770e45bde18b5bffbeb60f1da82210fd6fe7987665fe4af4e84bbce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T07:19:54.147Z] + git config --global --add safe.directory /w/workspace/device-uart/12 [Pipeline] fileExists [Pipeline] sh [2023-07-11T07:19:54.474Z] + make test [2023-07-11T07:19:54.474Z] go test ./... -coverprofile=coverage.out [2023-07-11T07:20:26.689Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-11T07:22:03.373Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-11T07:22:03.373Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-11T07:22:03.373Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-11T07:22:03.373Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-07-11T07:22:35.630Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-11T07:22:35.630Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-11T07:22:35.630Z] ./bin/test-attribution-txt.sh [2023-07-11T07:22:35.630Z] An attribution for github.com/edgexfoundry/device-sdk-go/v3 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for github.com/edgexfoundry/go-mod-core-contracts/v3 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for github.com/edgexfoundry/go-mod-bootstrap/v3 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for github.com/edgexfoundry/go-mod-messaging/v3 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for github.com/edgexfoundry/go-mod-registry/v3 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for github.com/nats-io/nats-server/v2 is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-07-11T07:22:35.630Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-07-11T07:22:35.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-11T07:22:35.671Z] $ docker stop --time=1 e086a1594770e45bde18b5bffbeb60f1da82210fd6fe7987665fe4af4e84bbce [2023-07-11T07:22:37.618Z] $ docker rm -f --volumes e086a1594770e45bde18b5bffbeb60f1da82210fd6fe7987665fe4af4e84bbce [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-11T07:22:38.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-11T07:22:38.696Z] Warning: overwriting stash ‘coverage-report’ [2023-07-11T07:22:39.126Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T07:22:39.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-11T07:22:39.871Z] + ls -al . [2023-07-11T07:22:39.871Z] total 140 [2023-07-11T07:22:39.871Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 07:19 . [2023-07-11T07:22:39.871Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 07:17 .. [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 07:17 .dockerignore [2023-07-11T07:22:39.871Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 07:17 .git [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 07:17 .gitignore [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 07:17 .golangci.yml [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 8847 Jul 11 07:17 Attribution.txt [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 1782 Jul 11 07:17 Dockerfile [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 07:17 GOVERNANCE.md [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 11 07:17 Jenkinsfile [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 07:17 LICENSE [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 1680 Jul 11 07:17 Makefile [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 07:17 OWNERS.md [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 11 07:17 README.md [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 07:15 VERSION [2023-07-11T07:22:39.871Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 07:17 bin [2023-07-11T07:22:39.871Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 07:17 cmd [2023-07-11T07:22:39.871Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 11 07:19 coverage.out [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 3480 Jul 11 07:17 go.mod [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 33104 Jul 11 07:17 go.sum [2023-07-11T07:22:39.871Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 07:17 internal [2023-07-11T07:22:39.871Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:22:40.214Z] + 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=c1651e5f0c188aa8f88bb3275d0551dd88d3f499 --label arch=arm64 --label version=0.0.0 . [2023-07-11T07:22:41.178Z] Sending build context to Docker daemon 5.606MB [2023-07-11T07:22:41.178Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T07:22:41.178Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-11T07:22:41.178Z] ---> 4000b24901f6 [2023-07-11T07:22:41.178Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T07:22:41.178Z] ---> Running in b0ecdb0a12f3 [2023-07-11T07:22:41.550Z] Removing intermediate container b0ecdb0a12f3 [2023-07-11T07:22:41.550Z] ---> 34c4ec4a7c46 [2023-07-11T07:22:41.550Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T07:22:41.845Z] ---> Running in adbc847b0470 [2023-07-11T07:22:42.143Z] Removing intermediate container adbc847b0470 [2023-07-11T07:22:42.143Z] ---> a1800b0954ad [2023-07-11T07:22:42.143Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-11T07:22:42.143Z] ---> Running in 7f09a0d9c08b [2023-07-11T07:22:43.597Z] Removing intermediate container 7f09a0d9c08b [2023-07-11T07:22:43.597Z] ---> 7f47f807e1d1 [2023-07-11T07:22:43.597Z] Step 6/25 : WORKDIR /device-uart [2023-07-11T07:22:43.597Z] ---> Running in 9bf66fb2a406 [2023-07-11T07:22:44.263Z] Removing intermediate container 9bf66fb2a406 [2023-07-11T07:22:44.263Z] ---> 8b45334991d2 [2023-07-11T07:22:44.263Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T07:22:44.263Z] ---> Running in e9bfc80f3424 [2023-07-11T07:22:45.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T07:22:46.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T07:22:47.227Z] OK: 268 MiB in 57 packages [2023-07-11T07:22:49.179Z] Removing intermediate container e9bfc80f3424 [2023-07-11T07:22:49.179Z] ---> 9ab2f13c082c [2023-07-11T07:22:49.179Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-11T07:22:49.769Z] ---> 86d0355fd449 [2023-07-11T07:22:49.769Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T07:22:49.769Z] ---> Running in b2f446d074ee [2023-07-11T07:22:53.127Z] Removing intermediate container b2f446d074ee [2023-07-11T07:22:53.127Z] ---> e2833a84d4f8 [2023-07-11T07:22:53.127Z] Step 10/25 : COPY . . [2023-07-11T07:22:54.093Z] ---> 6ad02cb27f00 [2023-07-11T07:22:54.093Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T07:22:54.093Z] ---> Running in 6d45434a14e4 [2023-07-11T07:22:54.377Z] Removing intermediate container 6d45434a14e4 [2023-07-11T07:22:54.377Z] ---> 41a815366ad5 [2023-07-11T07:22:54.377Z] Step 12/25 : RUN ${MAKE} [2023-07-11T07:22:54.646Z] ---> Running in 67637636927f [2023-07-11T07:22:55.608Z] 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-11T07:25:02.302Z] Removing intermediate container 67637636927f [2023-07-11T07:25:02.302Z] ---> a6c1ff993f56 [2023-07-11T07:25:02.302Z] Step 13/25 : FROM alpine:3.17 [2023-07-11T07:25:02.302Z] 3.17: Pulling from library/alpine [2023-07-11T07:25:02.302Z] edb6bdbacee9: Pulling fs layer [2023-07-11T07:25:02.302Z] edb6bdbacee9: Verifying Checksum [2023-07-11T07:25:02.302Z] edb6bdbacee9: Download complete [2023-07-11T07:25:02.302Z] edb6bdbacee9: Pull complete [2023-07-11T07:25:02.302Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-11T07:25:02.302Z] Status: Downloaded newer image for alpine:3.17 [2023-07-11T07:25:02.302Z] ---> 779605e5fbc0 [2023-07-11T07:25:02.302Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-11T07:25:02.302Z] ---> Running in 3e7cb00aa8fa [2023-07-11T07:25:02.302Z] Removing intermediate container 3e7cb00aa8fa [2023-07-11T07:25:02.302Z] ---> 8401c43106dd [2023-07-11T07:25:02.302Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-07-11T07:25:02.302Z] ---> Running in 7fc2f93adcb2 [2023-07-11T07:25:02.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T07:25:02.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T07:25:02.302Z] (1/6) Installing dumb-init (1.2.5-r2) [2023-07-11T07:25:02.302Z] (2/6) Installing libgcc (12.2.1_git20220924-r4) [2023-07-11T07:25:02.302Z] (3/6) Installing libsodium (1.0.18-r2) [2023-07-11T07:25:02.302Z] (4/6) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-11T07:25:02.302Z] (5/6) Installing libzmq (4.3.4-r1) [2023-07-11T07:25:02.302Z] (6/6) Installing zeromq (4.3.4-r1) [2023-07-11T07:25:02.302Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T07:25:02.302Z] OK: 11 MiB in 21 packages [2023-07-11T07:25:02.571Z] Removing intermediate container 7fc2f93adcb2 [2023-07-11T07:25:02.571Z] ---> 19c13fda4a17 [2023-07-11T07:25:02.571Z] Step 16/25 : WORKDIR / [2023-07-11T07:25:02.571Z] ---> Running in 2fef5e908f00 [2023-07-11T07:25:02.840Z] Removing intermediate container 2fef5e908f00 [2023-07-11T07:25:02.840Z] ---> aee09502fc14 [2023-07-11T07:25:02.840Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-11T07:25:03.425Z] ---> c650434ee2f7 [2023-07-11T07:25:03.425Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-11T07:25:04.012Z] ---> 9f3894251ec6 [2023-07-11T07:25:04.012Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-11T07:25:05.418Z] ---> 14d3dafadae9 [2023-07-11T07:25:05.418Z] Step 20/25 : EXPOSE 59995 [2023-07-11T07:25:05.418Z] ---> Running in 066e07b73ff9 [2023-07-11T07:25:05.418Z] Removing intermediate container 066e07b73ff9 [2023-07-11T07:25:05.418Z] ---> 42e1c6ab7f2d [2023-07-11T07:25:05.418Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-11T07:25:05.418Z] ---> Running in 84c92914a5f2 [2023-07-11T07:25:05.687Z] Removing intermediate container 84c92914a5f2 [2023-07-11T07:25:05.687Z] ---> 14127e3dc5be [2023-07-11T07:25:05.687Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-11T07:25:05.955Z] ---> Running in 3f9044168a04 [2023-07-11T07:25:06.221Z] Removing intermediate container 3f9044168a04 [2023-07-11T07:25:06.221Z] ---> 5cf3a4221362 [2023-07-11T07:25:06.221Z] Step 23/25 : LABEL arch=arm64 [2023-07-11T07:25:06.221Z] ---> Running in c5a4bdb8cef5 [2023-07-11T07:25:06.488Z] Removing intermediate container c5a4bdb8cef5 [2023-07-11T07:25:06.488Z] ---> a1debf5ce311 [2023-07-11T07:25:06.488Z] Step 24/25 : LABEL git_sha=c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [2023-07-11T07:25:06.488Z] ---> Running in 169252099ddd [2023-07-11T07:25:06.755Z] Removing intermediate container 169252099ddd [2023-07-11T07:25:06.755Z] ---> c0bbcbb51233 [2023-07-11T07:25:06.755Z] Step 25/25 : LABEL version=0.0.0 [2023-07-11T07:25:06.755Z] ---> Running in 308d14ac8344 [2023-07-11T07:25:07.020Z] Removing intermediate container 308d14ac8344 [2023-07-11T07:25:07.020Z] ---> abe6b8fef328 [2023-07-11T07:25:07.020Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-11T07:25:07.020Z] Successfully built abe6b8fef328 [2023-07-11T07:25:07.020Z] 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-11T07:25:07.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T07:25:07.461Z] [2023-07-11T07:25:07.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:25:07.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T07:25:07.788Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-11T07:25:07.788Z] 8998bd30e6a1: Pulling fs layer [2023-07-11T07:25:07.788Z] 04944245beec: Pulling fs layer [2023-07-11T07:25:07.788Z] 699f458cf7ca: Pulling fs layer [2023-07-11T07:25:07.788Z] 765212b225bb: Pulling fs layer [2023-07-11T07:25:07.788Z] f23df028b6ca: Pulling fs layer [2023-07-11T07:25:07.788Z] d65c8cfc05b1: Pulling fs layer [2023-07-11T07:25:07.788Z] 2437ff75d9bd: Pulling fs layer [2023-07-11T07:25:07.788Z] 765212b225bb: Waiting [2023-07-11T07:25:07.788Z] f23df028b6ca: Waiting [2023-07-11T07:25:07.788Z] d65c8cfc05b1: Waiting [2023-07-11T07:25:07.788Z] 2437ff75d9bd: Waiting [2023-07-11T07:25:08.058Z] 04944245beec: Verifying Checksum [2023-07-11T07:25:08.058Z] 04944245beec: Download complete [2023-07-11T07:25:08.058Z] 765212b225bb: Verifying Checksum [2023-07-11T07:25:08.058Z] 765212b225bb: Download complete [2023-07-11T07:25:08.058Z] f23df028b6ca: Download complete [2023-07-11T07:25:08.058Z] d65c8cfc05b1: Verifying Checksum [2023-07-11T07:25:08.058Z] d65c8cfc05b1: Download complete [2023-07-11T07:25:08.058Z] 699f458cf7ca: Verifying Checksum [2023-07-11T07:25:08.058Z] 699f458cf7ca: Download complete [2023-07-11T07:25:08.640Z] 8998bd30e6a1: Verifying Checksum [2023-07-11T07:25:08.640Z] 8998bd30e6a1: Download complete [2023-07-11T07:25:10.585Z] 2437ff75d9bd: Verifying Checksum [2023-07-11T07:25:10.585Z] 2437ff75d9bd: Download complete [2023-07-11T07:25:12.528Z] 8998bd30e6a1: Pull complete [2023-07-11T07:25:12.797Z] 04944245beec: Pull complete [2023-07-11T07:25:14.208Z] 699f458cf7ca: Pull complete [2023-07-11T07:25:14.208Z] 765212b225bb: Pull complete [2023-07-11T07:25:15.168Z] f23df028b6ca: Pull complete [2023-07-11T07:25:15.168Z] d65c8cfc05b1: Pull complete [2023-07-11T07:25:30.169Z] 2437ff75d9bd: Pull complete [2023-07-11T07:25:30.169Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-11T07:25:30.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T07:25:30.169Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T07:25:30.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-830 does not seem to be running inside a container [2023-07-11T07:25:30.428Z] $ 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/12 -v /w/workspace/device-uart/12:/w/workspace/device-uart/12:rw,z -v /w/workspace/device-uart/12@tmp:/w/workspace/device-uart/12@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-11T07:25:32.776Z] $ docker top 6c403c76c3c2b0f38b02ffb40a774f8b4477cbbe9cd626b344c97f99b8c1a0a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:25:33.577Z] ---> job-cost.sh [2023-07-11T07:25:33.577Z] lf-activate-venv: SKIPPING [2023-07-11T07:25:33.577Z] INFO: No Stack... [2023-07-11T07:25:33.842Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-11T07:25:34.794Z] INFO: Archiving Costs [Pipeline] sh [2023-07-11T07:25:35.106Z] + cut -d, -f6 [2023-07-11T07:25:35.106Z] + cat /w/workspace/device-uart/12/archives/cost.csv [Pipeline] lock [2023-07-11T07:25:35.425Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-12-stack-cost] [2023-07-11T07:25:35.430Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-12-stack-cost] did not exist. Created. [2023-07-11T07:25:35.430Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-11T07:25:36.080Z] /w/workspace/device-uart/12@tmp/durable-738b4a83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-11T07:25:36.409Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-11T07:25:36.430Z] Warning: overwriting stash ‘stack-cost’ [2023-07-11T07:25:36.472Z] Stashed 1 file(s) [Pipeline] } [2023-07-11T07:25:36.478Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-12-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-11T07:25:36.510Z] $ docker stop --time=1 6c403c76c3c2b0f38b02ffb40a774f8b4477cbbe9cd626b344c97f99b8c1a0a2 [2023-07-11T07:25:39.600Z] $ docker rm -f --volumes 6c403c76c3c2b0f38b02ffb40a774f8b4477cbbe9cd626b344c97f99b8c1a0a2 [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-11T07:25:39.964Z] provisioning config files... [2023-07-11T07:25:39.972Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config5360669372733391394tmp [Pipeline] { [Pipeline] sh [2023-07-11T07:25:40.263Z] + set +x [2023-07-11T07:25:40.264Z] + curl -s https://codecov.io/bash [2023-07-11T07:25:40.264Z] + bash -s -- [2023-07-11T07:25:40.523Z] [2023-07-11T07:25:40.523Z] _____ _ [2023-07-11T07:25:40.523Z] / ____| | | [2023-07-11T07:25:40.523Z] | | ___ __| | ___ ___ _____ __ [2023-07-11T07:25:40.523Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-11T07:25:40.523Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-11T07:25:40.523Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-11T07:25:40.523Z] Bash-1.0.6 [2023-07-11T07:25:40.523Z] [2023-07-11T07:25:40.523Z] [2023-07-11T07:25:40.523Z] ==> git version 2.25.1 found [2023-07-11T07:25:40.523Z] ==> 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-11T07:25:40.523Z] Release-Date: 2020-01-08 [2023-07-11T07:25:40.523Z] 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-11T07:25:40.523Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-11T07:25:40.523Z] ==> Jenkins CI detected. [2023-07-11T07:25:40.523Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-14 [2023-07-11T07:25:40.523Z] project root: . [2023-07-11T07:25:40.523Z] --> token set from env [2023-07-11T07:25:40.523Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-11T07:25:40.523Z] ==> Running gcov in . (disable via -X gcov) [2023-07-11T07:25:40.523Z] ==> Python coveragepy not found [2023-07-11T07:25:40.523Z] ==> Searching for coverage reports in: [2023-07-11T07:25:40.523Z] + . [2023-07-11T07:25:40.523Z] -> Found 1 reports [2023-07-11T07:25:40.523Z] ==> Detecting git/mercurial file structure [2023-07-11T07:25:40.523Z] ==> Reading reports [2023-07-11T07:25:40.523Z] + ./coverage.out bytes=10 [2023-07-11T07:25:40.523Z] ==> Appending adjustments [2023-07-11T07:25:40.523Z] https://docs.codecov.io/docs/fixing-reports [2023-07-11T07:25:40.783Z] + Found adjustments [2023-07-11T07:25:40.784Z] ==> Gzipping contents [2023-07-11T07:25:40.784Z] 4.0K /tmp/codecov.ozAMlU.gz [2023-07-11T07:25:40.784Z] ==> Uploading reports [2023-07-11T07:25:40.784Z] url: https://codecov.io [2023-07-11T07:25:40.784Z] query: branch=PR-14&commit=c1651e5f0c188aa8f88bb3275d0551dd88d3f499&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-14%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=14&job=&cmd_args= [2023-07-11T07:25:40.784Z] -> Pinging Codecov [2023-07-11T07:25:40.784Z] 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=c1651e5f0c188aa8f88bb3275d0551dd88d3f499&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-14%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=14&job=&cmd_args= [2023-07-11T07:25:40.784Z] -> Uploading to [2023-07-11T07:25:40.784Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-11/B9AA6E0BBD74AE3A32605C7A7C664919/c1651e5f0c188aa8f88bb3275d0551dd88d3f499/b6ab95aa-40e3-4a29-94e5-23e205bd34f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230711T072540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0fbb39eb22cae819af75fc056ce1b2167a47715625c33f302773d58dfa9b1695 [2023-07-11T07:25:40.784Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-11T07:25:40.784Z] Dload Upload Total Spent Left Speed [2023-07-11T07:25:41.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 536 0 0 100 536 0 2589 --:--:-- --:--:-- --:--:-- 2589 [2023-07-11T07:25:41.044Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/c1651e5f0c188aa8f88bb3275d0551dd88d3f499 [Pipeline] } [2023-07-11T07:25:41.052Z] 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-11T07:25:41.803Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] [2023-07-11T07:25:41.803Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-07-11T07:25:41.803Z] total 16 [2023-07-11T07:25:41.803Z] drwxr-xr-x 3 root root 4096 Jul 11 07:18 . [2023-07-11T07:25:41.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 07:18 .. [2023-07-11T07:25:41.803Z] drwxr-xr-x 2 root root 4096 Jul 11 07:18 cost [2023-07-11T07:25:41.803Z] -rw-r--r-- 1 root root 83 Jul 11 07:18 cost.csv [2023-07-11T07:25:41.803Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-07-11T07:25:41.803Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-07-11T07:25:41.803Z] total 16 [2023-07-11T07:25:41.803Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 07:18 . [2023-07-11T07:25:41.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 07:18 .. [2023-07-11T07:25:41.803Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 07:18 cost [2023-07-11T07:25:41.803Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 11 07:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:25:42.093Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:25:42.958Z] ---> package-listing.sh [2023-07-11T07:25:42.958Z] ++ facter osfamily [2023-07-11T07:25:42.958Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-11T07:25:43.219Z] + OS_FAMILY=debian [2023-07-11T07:25:43.219Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 [2023-07-11T07:25:43.219Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-11T07:25:43.219Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-11T07:25:43.219Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-11T07:25:43.219Z] + PACKAGES=/tmp/packages_start.txt [2023-07-11T07:25:43.219Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-07-11T07:25:43.219Z] + PACKAGES=/tmp/packages_end.txt [2023-07-11T07:25:43.219Z] + case "${OS_FAMILY}" in [2023-07-11T07:25:43.219Z] + dpkg -l [2023-07-11T07:25:43.219Z] + grep '^ii' [2023-07-11T07:25:43.219Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-11T07:25:43.219Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-11T07:25:43.219Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-11T07:25:43.219Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-07-11T07:25:43.219Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [2023-07-11T07:25:43.219Z] + 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-11T07:25:43.229Z] 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-11T07:25:43.507Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T07:25:44.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T07:25:44.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T07:25:44.154Z] prd-ubuntu20.04-docker-8c-8g-829 does not seem to be running inside a container [2023-07-11T07:25:44.187Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-11T07:25:44.372Z] $ docker top 509b7fec34d2a0475760fff4af8e8c4e4124a1315b81e2c17d22f63c10f21ae8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T07:25:44.714Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-11T07:25:44.997Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-11T07:25:45.281Z] + ls /var/log/sa-host [2023-07-11T07:25:45.281Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T07:25:45.421Z] provisioning config files... [2023-07-11T07:25:45.430Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config16768709928697730168tmp [Pipeline] { [Pipeline] echo [2023-07-11T07:25:45.442Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:25:45.722Z] ---> create-netrc.sh [Pipeline] } [2023-07-11T07:25:45.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:25:46.053Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-11T07:25:46.062Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:25:46.344Z] ---> sudo-logs.sh [2023-07-11T07:25:46.344Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-11T07:25:46.374Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:25:46.656Z] ---> job-cost.sh [2023-07-11T07:25:46.656Z] lf-activate-venv: SKIPPING [2023-07-11T07:25:46.656Z] DEBUG: total: 0.2199999988079071 [2023-07-11T07:25:46.656Z] INFO: Retrieving Stack Cost... [2023-07-11T07:25:46.915Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-11T07:25:47.482Z] INFO: Archiving Costs [Pipeline] echo [2023-07-11T07:25:47.491Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T07:25:47.774Z] ---> logs-deploy.sh [2023-07-11T07:25:47.774Z] lf-activate-venv: SKIPPING [2023-07-11T07:25:47.774Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/12 [2023-07-11T07:25:47.774Z] INFO: archiving workspace using pattern(s): [2023-07-11T07:25:48.714Z] Archives upload complete. [2023-07-11T07:25:48.714Z] INFO: archiving logs to Nexus