Pull request #20 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-villali for edgexfoundry/device-uart Loading trusted files from base branch main at a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 rather than 9eb81b524e178637a9510e8a10e924141343c001 Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 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-ssh8662977479387779071.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-ssh17620733207417238670.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-20/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-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3989447929609767534.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-ssh10591979757055078179.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-20/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-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2277670739420670810.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-1438 in /w/workspace/edgexfoundry_device-uart_PR-20 [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-20 # 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/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 9eb81b524e178637a9510e8a10e924141343c001 Merge succeeded, producing a4d3b087a10c4715c64bd351dec2db77d50f584a Checking out Revision a4d3b087a10c4715c64bd351dec2db77d50f584a (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f 9eb81b524e178637a9510e8a10e924141343c001 # 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 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4d3b087a10c4715c64bd351dec2db77d50f584a # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 4e85caa7e6f0a85cecaa2146376481bd94b29c2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:04:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:04:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:04:07 ========================================================= 14:04:07 EdgeX Global Pipelines Version Info 14:04:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:04:08 ------------------- 14:04:08 stable info: 14:04:08 ------------------- 14:04:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:04:08 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 14:04:08 Message: update stable to v1.0.250 14:04:08 ------------------- 14:04:08 experimental info: 14:04:08 ------------------- 14:04:08 Commited By: **** collab-it+edgex@linuxfoundation.org 14:04:08 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 14:04:08 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4d3b087a10c4715c64bd351dec2db77d50f584a [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4d3b08 [Pipeline] echo 14:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:04:09 provisioning config files... 14:04:09 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config4414331626659093737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:04:09 ---> docker-login.sh 14:04:09 nexus3.edgexfoundry.org:10001 14:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:10 Configure a credential helper to remove this warning. See 14:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:10 14:04:10 Login Succeeded 14:04:10 nexus3.edgexfoundry.org:10002 14:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:10 Configure a credential helper to remove this warning. See 14:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:10 14:04:10 Login Succeeded 14:04:10 nexus3.edgexfoundry.org:10003 14:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:10 Configure a credential helper to remove this warning. See 14:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:10 14:04:10 Login Succeeded 14:04:10 nexus3.edgexfoundry.org:10004 14:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:10 Configure a credential helper to remove this warning. See 14:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:10 14:04:10 Login Succeeded 14:04:10 docker.io 14:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:11 Configure a credential helper to remove this warning. See 14:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:11 14:04:11 Login Succeeded 14:04:11 ---> docker-login.sh ends [Pipeline] } 14:04:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:04:11 + git rev-list -1 --merges a4d3b087a10c4715c64bd351dec2db77d50f584a~1..a4d3b087a10c4715c64bd351dec2db77d50f584a [Pipeline] echo 14:04:11 -----------> git rev-list -1 --merges a4d3b087a10c4715c64bd351dec2db77d50f584a~1..a4d3b087a10c4715c64bd351dec2db77d50f584a a4d3b087a10c4715c64bd351dec2db77d50f584a 14:04:11 a4d3b087a10c4715c64bd351dec2db77d50f584a [false] [Pipeline] sh 14:04:11 + git log --format=format:%s -1 a4d3b087a10c4715c64bd351dec2db77d50f584a [Pipeline] echo 14:04:11 ========================================================= 14:04:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:04:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:04:12 + git log --format=format:%s -1 a4d3b087a10c4715c64bd351dec2db77d50f584a [Pipeline] echo 14:04:12 [semverPrep] GIT_COMMIT: a4d3b087a10c4715c64bd351dec2db77d50f584a, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 14:04:12 [semverPrep] This is not a build commit. [Pipeline] sh 14:04:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:04:12 + grep -v github /etc/ssh/ssh_known_hosts 14:04:12 + [ -e /tmp/ssh_known_hosts ] 14:04:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:04:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:04:12 + sudo tee -a /etc/ssh/ssh_known_hosts 14:04:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:04:12 14:04:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:04:13 0.1.4: Pulling from edgex-devops/py-git-semver 14:04:13 b85a868b505f: Pulling fs layer 14:04:13 e2be974225ed: Pulling fs layer 14:04:13 339a4e72a1f5: Pulling fs layer 14:04:13 988bab9f4d93: Pulling fs layer 14:04:13 1469e6f7b9e6: Pulling fs layer 14:04:13 eaf3925da568: Pulling fs layer 14:04:13 bab4dde63d76: Pulling fs layer 14:04:13 bde34c3a00c8: Pulling fs layer 14:04:13 b352a97aabf1: Pulling fs layer 14:04:13 4872d77fe225: Pulling fs layer 14:04:13 5851b861e8e6: Pulling fs layer 14:04:13 bab4dde63d76: Waiting 14:04:13 bde34c3a00c8: Waiting 14:04:13 b352a97aabf1: Waiting 14:04:13 988bab9f4d93: Waiting 14:04:13 4872d77fe225: Waiting 14:04:13 5851b861e8e6: Waiting 14:04:13 1469e6f7b9e6: Waiting 14:04:13 eaf3925da568: Waiting 14:04:13 e2be974225ed: Verifying Checksum 14:04:13 e2be974225ed: Download complete 14:04:13 988bab9f4d93: Verifying Checksum 14:04:13 339a4e72a1f5: Download complete 14:04:13 1469e6f7b9e6: Verifying Checksum 14:04:13 1469e6f7b9e6: Download complete 14:04:13 eaf3925da568: Verifying Checksum 14:04:13 eaf3925da568: Download complete 14:04:13 bde34c3a00c8: Download complete 14:04:13 b352a97aabf1: Download complete 14:04:13 4872d77fe225: Download complete 14:04:13 5851b861e8e6: Download complete 14:04:13 b85a868b505f: Verifying Checksum 14:04:13 b85a868b505f: Download complete 14:04:13 bab4dde63d76: Verifying Checksum 14:04:13 bab4dde63d76: Download complete 14:04:14 b85a868b505f: Pull complete 14:04:14 e2be974225ed: Pull complete 14:04:15 339a4e72a1f5: Pull complete 14:04:15 988bab9f4d93: Pull complete 14:04:15 1469e6f7b9e6: Pull complete 14:04:15 eaf3925da568: Pull complete 14:04:17 bab4dde63d76: Pull complete 14:04:17 bde34c3a00c8: Pull complete 14:04:17 b352a97aabf1: Pull complete 14:04:17 4872d77fe225: Pull complete 14:04:17 5851b861e8e6: Pull complete 14:04:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:04:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:04:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:17 prd-ubuntu20.04-docker-8c-8g-1438 does not seem to be running inside a container 14:04:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 14:04:21 $ docker top f78f77bbbe7911afa5b40fa0825576aba44aa66f60385a04bf1bff018cfc396e -eo pid,comm 14:04:21 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). 14:04:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:04:21 [ssh-agent] Looking for ssh-agent implementation... 14:04:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:04:21 $ docker exec f78f77bbbe7911afa5b40fa0825576aba44aa66f60385a04bf1bff018cfc396e ssh-agent 14:04:22 SSH_AUTH_SOCK=/tmp/ssh-qqjSAW6gDYkR/agent.33 14:04:22 SSH_AGENT_PID=39 14:04:22 Running ssh-add (command line suppressed) 14:04:22 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_10987614892775921140.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_10987614892775921140.key) 14:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:04:22 + git tag --points-at HEAD [Pipeline] } 14:04:22 $ docker exec --env ******** --env ******** f78f77bbbe7911afa5b40fa0825576aba44aa66f60385a04bf1bff018cfc396e ssh-agent -k 14:04:22 unset SSH_AUTH_SOCK; 14:04:22 unset SSH_AGENT_PID; 14:04:22 echo Agent pid 39 killed; 14:04:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:04:22 [ssh-agent] Looking for ssh-agent implementation... 14:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:04:22 $ docker exec f78f77bbbe7911afa5b40fa0825576aba44aa66f60385a04bf1bff018cfc396e ssh-agent 14:04:22 SSH_AUTH_SOCK=/tmp/ssh-dIwD3oAYeT9l/agent.71 14:04:22 SSH_AGENT_PID=77 14:04:22 Running ssh-add (command line suppressed) 14:04:22 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_12696322019266776991.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_12696322019266776991.key) 14:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:04:23 + git semver init 14:04:23 2023-07-18 14:04:23,444 [run_init] DEBUG init version:0.0.0 force:False 14:04:23 2023-07-18 14:04:23,444 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 14:04:23 2023-07-18 14:04:23,445 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 14:04:23 2023-07-18 14:04:23,445 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20, universal_newlines=False, shell=None, istream=None) 14:04:24 2023-07-18 14:04:24,259 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 14:04:24 2023-07-18 14:04:24,260 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 14:04:24 2023-07-18 14:04:24,260 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 14:04:24 2023-07-18 14:04:24,264 [execute] INFO git cat-file --batch-check 14:04:24 2023-07-18 14:04:24,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 14:04:24 2023-07-18 14:04:24,271 [execute] INFO git cat-file --batch 14:04:24 2023-07-18 14:04:24,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 14:04:24 2023-07-18 14:04:24,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 14:04:24 0.0.0 [Pipeline] } 14:04:24 $ docker exec --env ******** --env ******** f78f77bbbe7911afa5b40fa0825576aba44aa66f60385a04bf1bff018cfc396e ssh-agent -k 14:04:24 unset SSH_AUTH_SOCK; 14:04:24 unset SSH_AGENT_PID; 14:04:24 echo Agent pid 77 killed; 14:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:04:24 + git semver [Pipeline] } 14:04:25 $ docker stop --time=1 f78f77bbbe7911afa5b40fa0825576aba44aa66f60385a04bf1bff018cfc396e 14:04:27 $ docker rm -f --volumes f78f77bbbe7911afa5b40fa0825576aba44aa66f60385a04bf1bff018cfc396e [Pipeline] // withDockerContainer [Pipeline] sh 14:04:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:04:27 Stashed 1 file(s) [Pipeline] echo 14:04:27 [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 14:04:28 provisioning config files... 14:04:28 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config5141877831231322707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:04:28 ---> docker-login.sh 14:04:28 nexus3.edgexfoundry.org:10001 14:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:28 Configure a credential helper to remove this warning. See 14:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:28 14:04:28 Login Succeeded 14:04:28 nexus3.edgexfoundry.org:10002 14:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:28 Configure a credential helper to remove this warning. See 14:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:28 14:04:28 Login Succeeded 14:04:28 nexus3.edgexfoundry.org:10003 14:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:28 Configure a credential helper to remove this warning. See 14:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:28 14:04:28 Login Succeeded 14:04:28 nexus3.edgexfoundry.org:10004 14:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:28 Configure a credential helper to remove this warning. See 14:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:28 14:04:28 Login Succeeded 14:04:28 docker.io 14:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:29 Configure a credential helper to remove this warning. See 14:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:29 14:04:29 Login Succeeded 14:04:29 ---> docker-login.sh ends [Pipeline] } 14:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:04:29 ========================================================= 14:04:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:04:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:29 + 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 . 14:04:29 Sending build context to Docker daemon 11.13MB 14:04:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:04:29 Step 2/12 : FROM ${BASE} AS builder 14:04:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:04:29 4db1b89c0bd1: Pulling fs layer 14:04:29 6911f1a30b25: Pulling fs layer 14:04:29 e194b8c5c2a9: Pulling fs layer 14:04:29 6863d3e3a2b1: Pulling fs layer 14:04:29 ec0bb842ea78: Pulling fs layer 14:04:29 40a00589a448: Pulling fs layer 14:04:29 6c08303d61cc: Pulling fs layer 14:04:29 ec0bb842ea78: Waiting 14:04:29 6863d3e3a2b1: Waiting 14:04:29 40a00589a448: Waiting 14:04:29 798269fcf238: Pulling fs layer 14:04:29 6c08303d61cc: Waiting 14:04:29 798269fcf238: Waiting 14:04:29 6911f1a30b25: Verifying Checksum 14:04:29 6911f1a30b25: Download complete 14:04:29 6863d3e3a2b1: Verifying Checksum 14:04:29 6863d3e3a2b1: Download complete 14:04:29 ec0bb842ea78: Download complete 14:04:29 4db1b89c0bd1: Download complete 14:04:29 40a00589a448: Verifying Checksum 14:04:29 40a00589a448: Download complete 14:04:30 4db1b89c0bd1: Pull complete 14:04:30 6911f1a30b25: Pull complete 14:04:30 798269fcf238: Verifying Checksum 14:04:30 798269fcf238: Download complete 14:04:30 e194b8c5c2a9: Verifying Checksum 14:04:30 e194b8c5c2a9: Download complete 14:04:30 6c08303d61cc: Verifying Checksum 14:04:30 6c08303d61cc: Download complete 14:04:34 e194b8c5c2a9: Pull complete 14:04:34 6863d3e3a2b1: Pull complete 14:04:34 ec0bb842ea78: Pull complete 14:04:34 40a00589a448: Pull complete 14:04:36 6c08303d61cc: Pull complete 14:04:37 798269fcf238: Pull complete 14:04:37 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 14:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:04:37 ---> ec979cd7f677 14:04:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:04:43 ---> Running in 2c2a81d452e8 14:04:43 Removing intermediate container 2c2a81d452e8 14:04:43 ---> 50ffc98087e9 14:04:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:04:43 ---> Running in 5970f5ae1014 14:04:43 Still waiting to schedule task 14:04:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:04:43 Removing intermediate container 5970f5ae1014 14:04:43 ---> b2798de220b7 14:04:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:04:43 ---> Running in e194dae54121 14:04:43 Removing intermediate container e194dae54121 14:04:43 ---> 50fa2fb4546d 14:04:43 Step 6/12 : WORKDIR /device-uart 14:04:43 ---> Running in 12dca9b14bbd 14:04:43 Removing intermediate container 12dca9b14bbd 14:04:43 ---> e540ca408868 14:04:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:04:43 ---> Running in 9ceeed0d95fc 14:04:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:04:44 (1/4) Installing openssh-keygen (9.1_p1-r3) 14:04:44 (2/4) Installing libedit (20221030.3.1-r0) 14:04:44 (3/4) Installing openssh-client-common (9.1_p1-r3) 14:04:44 (4/4) Installing openssh-client-default (9.1_p1-r3) 14:04:44 Executing busybox-1.35.0-r29.trigger 14:04:44 OK: 269 MiB in 57 packages 14:04:44 Removing intermediate container 9ceeed0d95fc 14:04:44 ---> d60ab1edfc1b 14:04:44 Step 8/12 : COPY go.mod vendor* ./ 14:04:44 ---> f570031a7c84 14:04:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:04:44 ---> Running in c4af4be68eec 14:05:41 Removing intermediate container c4af4be68eec 14:05:41 ---> 4bf8cc195bd5 14:05:41 Step 10/12 : COPY . . 14:05:41 ---> 9b585d57e182 14:05:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:05:41 ---> Running in fccc2ef17fbe 14:05:41 Removing intermediate container fccc2ef17fbe 14:05:41 ---> ca3c1001c62c 14:05:41 Step 12/12 : RUN ${MAKE} 14:05:41 ---> Running in 8b4e588a7db6 14:05:41 noop 14:05:41 Removing intermediate container 8b4e588a7db6 14:05:41 ---> e54342a7e228 14:05:41 Successfully built e54342a7e228 14:05:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:41 + docker inspect -f . ci-base-image-x86_64 14:05:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:41 prd-ubuntu20.04-docker-8c-8g-1438 does not seem to be running inside a container 14:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 14:05:42 $ docker top 0b84d2f379f0be5dc34a37767bf1554acc86f4ceda57946faecef74544430d17 -eo pid,comm [Pipeline] { [Pipeline] sh 14:05:42 + go version 14:05:42 go version go1.20.6 linux/amd64 [Pipeline] } 14:05:42 $ docker stop --time=1 0b84d2f379f0be5dc34a37767bf1554acc86f4ceda57946faecef74544430d17 14:05:43 $ docker rm -f --volumes 0b84d2f379f0be5dc34a37767bf1554acc86f4ceda57946faecef74544430d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:44 + docker inspect -f . ci-base-image-x86_64 14:05:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:44 prd-ubuntu20.04-docker-8c-8g-1438 does not seem to be running inside a container 14:05:44 $ 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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 14:05:44 $ docker top 3f2fa3756c4c893fe1c86be9662cb324d16759c2525d1be46e7d3c11a2ab02c1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:05:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 14:05:45 + make test 14:05:45 go test ./... -coverprofile=coverage.out 14:05:50 ? github.com/edgexfoundry/device-uart [no test files] 14:06:02 ? github.com/edgexfoundry/device-uart/cmd [no test files] 14:06:02 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 14:06:07 go vet ./... 14:06:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:06:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:06:12 ./bin/test-attribution-txt.sh [Pipeline] echo 14:06:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:06:12 $ docker stop --time=1 3f2fa3756c4c893fe1c86be9662cb324d16759c2525d1be46e7d3c11a2ab02c1 14:06:14 $ docker rm -f --volumes 3f2fa3756c4c893fe1c86be9662cb324d16759c2525d1be46e7d3c11a2ab02c1 [Pipeline] // withDockerContainer [Pipeline] sh 14:06:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:06:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:06:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:06:15 + ls -al . 14:06:15 total 140 14:06:15 drwxrwxr-x 7 jenkins jenkins 4096 Jul 18 14:05 . 14:06:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 14:04 .. 14:06:15 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 14:04 .dockerignore 14:06:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 14:04 .git 14:06:15 -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 14:04 .gitignore 14:06:15 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 14:04 .golangci.yml 14:06:15 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 14:04 .semver 14:06:15 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 18 14:04 Attribution.txt 14:06:15 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 18 14:04 Dockerfile 14:06:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 14:04 GOVERNANCE.md 14:06:15 -rw-rw-r-- 1 jenkins jenkins 675 Jul 18 14:04 Jenkinsfile 14:06:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 14:04 LICENSE 14:06:15 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 18 14:04 Makefile 14:06:15 -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 14:04 OWNERS.md 14:06:15 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 18 14:04 README.md 14:06:15 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 14:04 VERSION 14:06:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 14:04 bin 14:06:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 14:04 cmd 14:06:15 -rw-r--r-- 1 jenkins jenkins 10 Jul 18 14:05 coverage.out 14:06:15 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 18 14:04 go.mod 14:06:15 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 18 14:04 go.sum 14:06:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 14:04 internal 14:06:15 -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 14:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:15 + 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=a4d3b087a10c4715c64bd351dec2db77d50f584a --label arch=amd64 --label version=0.0.0 . 14:06:15 Sending build context to Docker daemon 11.13MB 14:06:15 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:06:15 Step 2/25 : FROM ${BASE} AS builder 14:06:15 ---> e54342a7e228 14:06:15 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:06:15 ---> Running in 6553ffc8b673 14:06:15 Removing intermediate container 6553ffc8b673 14:06:15 ---> 5ff818277cdf 14:06:15 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:06:15 ---> Running in b494bc5b78fd 14:06:16 Removing intermediate container b494bc5b78fd 14:06:16 ---> f7f51e862718 14:06:16 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:06:16 ---> Running in 822c48cc7dc6 14:06:16 Removing intermediate container 822c48cc7dc6 14:06:16 ---> f5319fe48462 14:06:16 Step 6/25 : WORKDIR /device-uart 14:06:16 ---> Running in 1e7ded360efb 14:06:16 Removing intermediate container 1e7ded360efb 14:06:16 ---> 89bfb889b53e 14:06:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:06:16 ---> Running in 03a75d6902d4 14:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:06:17 OK: 269 MiB in 57 packages 14:06:17 Removing intermediate container 03a75d6902d4 14:06:17 ---> e411d485cf43 14:06:17 Step 8/25 : COPY go.mod vendor* ./ 14:06:17 ---> e947ce725f32 14:06:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:06:17 ---> Running in 0a88ddaf4e22 14:06:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1439 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 14:06:18 Running in /w/workspace/device-uart/9 [Pipeline] { [Pipeline] checkout 14:06:18 The recommended git tool is: git 14:06:18 Removing intermediate container 0a88ddaf4e22 14:06:18 ---> ee60fd896e23 14:06:18 Step 10/25 : COPY . . 14:06:18 ---> 31f5b66116db 14:06:18 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:06:18 ---> Running in 9245050225e3 14:06:18 Removing intermediate container 9245050225e3 14:06:18 ---> c101e956cb41 14:06:18 Step 12/25 : RUN ${MAKE} 14:06:18 ---> Running in d167783074bb 14:06:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 14:06:23 using credential edgex-jenkins-ssh 14:06:23 Cloning the remote Git repository 14:06:23 Cloning repository git@github.com:edgexfoundry/device-uart.git 14:06:23 > git init /w/workspace/device-uart/9 # timeout=10 14:06:23 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 14:06:23 > git --version # timeout=10 14:06:23 > git --version # 'git version 2.25.1' 14:06:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:06:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:06:26 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 14:06:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:06:27 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 9eb81b524e178637a9510e8a10e924141343c001 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:06:27 Failed in branch arm64 14:06:27 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 14:06:27 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 14:06:27 using GIT_SSH to set credentials SSH Credentials for GitHub 14:06:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:06:27 > git config core.sparsecheckout # timeout=10 14:06:27 > git checkout -f 9eb81b524e178637a9510e8a10e924141343c001 # timeout=10 14:06:41 Removing intermediate container d167783074bb 14:06:41 ---> abc715bcc0ab 14:06:41 Step 13/25 : FROM alpine:3.17 14:06:41 3.17: Pulling from library/alpine 14:06:41 4db1b89c0bd1: Already exists 14:06:41 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 14:06:41 Status: Downloaded newer image for alpine:3.17 14:06:41 ---> 1f73a9d63274 14:06:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:06:41 ---> Running in 3fffd6854e83 14:06:41 Removing intermediate container 3fffd6854e83 14:06:41 ---> f2d6123330b2 14:06:41 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:06:41 ---> Running in 754341ba82ac 14:06:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:06:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:06:41 (1/1) Installing dumb-init (1.2.5-r2) 14:06:41 Executing busybox-1.35.0-r29.trigger 14:06:41 OK: 7 MiB in 16 packages 14:06:42 Removing intermediate container 754341ba82ac 14:06:42 ---> 2677dd25e0ab 14:06:42 Step 16/25 : WORKDIR / 14:06:42 ---> Running in 6d9ed3f806c5 14:06:42 Removing intermediate container 6d9ed3f806c5 14:06:42 ---> 69dd6269ecbc 14:06:42 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 14:06:42 ---> 87e8116396d5 14:06:42 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 14:06:42 ---> 58deb26f1569 14:06:42 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 14:06:43 ---> f1709c1d2822 14:06:43 Step 20/25 : EXPOSE 59995 14:06:43 ---> Running in 1a04e28f4c81 14:06:43 Removing intermediate container 1a04e28f4c81 14:06:43 ---> 358ef516424f 14:06:43 Step 21/25 : ENTRYPOINT ["/device-uart"] 14:06:43 ---> Running in b14debc68ee0 14:06:43 Removing intermediate container b14debc68ee0 14:06:43 ---> 0e544280182d 14:06:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:06:43 ---> Running in e4cc7f397485 14:06:43 Removing intermediate container e4cc7f397485 14:06:43 ---> c6be61dd8fdf 14:06:43 Step 23/25 : LABEL arch=amd64 14:06:43 ---> Running in 047819c0d2fa 14:06:43 Removing intermediate container 047819c0d2fa 14:06:43 ---> 8e8f96b407c3 14:06:43 Step 24/25 : LABEL git_sha=a4d3b087a10c4715c64bd351dec2db77d50f584a 14:06:43 ---> Running in 5ff7985f1690 14:06:44 Removing intermediate container 5ff7985f1690 14:06:44 ---> 3374d51641f3 14:06:44 Step 25/25 : LABEL version=0.0.0 14:06:44 ---> Running in 189025e67c3c 14:06:44 Removing intermediate container 189025e67c3c 14:06:44 ---> 9a185646486f 14:06:44 [Warning] One or more build-args [ARCH] were not consumed 14:06:44 Successfully built 9a185646486f 14:06:44 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 14:06:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:06:44 14:06:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:06:44 latest: Pulling from edgex-lftools-log-publisher 14:06:44 5eb5b503b376: Pulling fs layer 14:06:44 5c69ac0246d0: Pulling fs layer 14:06:44 ec43610c2a17: Pulling fs layer 14:06:44 3a2ae6a8a46f: Pulling fs layer 14:06:44 33b1e0a273af: Pulling fs layer 14:06:44 5d3b04190fa2: Pulling fs layer 14:06:44 2f39f015ded8: Pulling fs layer 14:06:44 33b1e0a273af: Waiting 14:06:44 5d3b04190fa2: Waiting 14:06:44 3a2ae6a8a46f: Waiting 14:06:44 2f39f015ded8: Waiting 14:06:44 5c69ac0246d0: Verifying Checksum 14:06:44 5c69ac0246d0: Download complete 14:06:44 3a2ae6a8a46f: Verifying Checksum 14:06:44 3a2ae6a8a46f: Download complete 14:06:44 33b1e0a273af: Verifying Checksum 14:06:44 33b1e0a273af: Download complete 14:06:44 ec43610c2a17: Verifying Checksum 14:06:44 ec43610c2a17: Download complete 14:06:44 5d3b04190fa2: Verifying Checksum 14:06:44 5d3b04190fa2: Download complete 14:06:45 5eb5b503b376: Download complete 14:06:45 2f39f015ded8: Verifying Checksum 14:06:45 2f39f015ded8: Download complete 14:06:46 5eb5b503b376: Pull complete 14:06:47 5c69ac0246d0: Pull complete 14:06:48 ec43610c2a17: Pull complete 14:06:48 3a2ae6a8a46f: Pull complete 14:06:48 33b1e0a273af: Pull complete 14:06:48 5d3b04190fa2: Pull complete 14:06:53 2f39f015ded8: Pull complete 14:06:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:06:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:53 prd-ubuntu20.04-docker-8c-8g-1438 does not seem to be running inside a container 14:06:53 $ 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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 14:06:59 $ docker top 4487d9cd768d3e854188803bf5c8d0c862c8772cf9c0b4c73b0170bf1569ba0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:59 ---> job-cost.sh 14:06:59 lf-activate-venv: SKIPPING 14:06:59 INFO: No Stack... 14:06:59 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:00 INFO: Archiving Costs [Pipeline] sh 14:07:00 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 14:07:00 + cut -d, -f6 [Pipeline] lock 14:07:00 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-9-stack-cost] 14:07:00 Resource [jenkins-edgexfoundry-device-uart-PR-20-9-stack-cost] did not exist. Created. 14:07:00 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:07:00 + echo total: 0.2199999988079071 [Pipeline] stash 14:07:00 Stashed 1 file(s) [Pipeline] } 14:07:00 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-9-stack-cost] [Pipeline] // lock [Pipeline] } 14:07:01 $ docker stop --time=1 4487d9cd768d3e854188803bf5c8d0c862c8772cf9c0b4c73b0170bf1569ba0f 14:07:02 $ docker rm -f --volumes 4487d9cd768d3e854188803bf5c8d0c862c8772cf9c0b4c73b0170bf1569ba0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:07:02 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 14:07:02 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 14:07:02 total 16 14:07:02 drwxr-xr-x 3 root root 4096 Jul 18 14:07 . 14:07:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 14:07 .. 14:07:02 drwxr-xr-x 2 root root 4096 Jul 18 14:07 cost 14:07:02 -rw-r--r-- 1 root root 82 Jul 18 14:07 cost.csv 14:07:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 14:07:02 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 14:07:02 total 16 14:07:02 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 14:07 . 14:07:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 14:07 .. 14:07:02 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 14:07 cost 14:07:02 -rw-r--r-- 1 jenkins jenkins 82 Jul 18 14:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:07:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:07:04 ---> package-listing.sh 14:07:04 ++ facter osfamily 14:07:04 ++ tr '[:upper:]' '[:lower:]' 14:07:04 + OS_FAMILY=debian 14:07:04 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 14:07:04 + START_PACKAGES=/tmp/packages_start.txt 14:07:04 + END_PACKAGES=/tmp/packages_end.txt 14:07:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:07:04 + PACKAGES=/tmp/packages_start.txt 14:07:04 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 14:07:04 + PACKAGES=/tmp/packages_end.txt 14:07:04 + case "${OS_FAMILY}" in 14:07:04 + dpkg -l 14:07:04 + grep '^ii' 14:07:04 + '[' -f /tmp/packages_start.txt ']' 14:07:04 + '[' -f /tmp/packages_end.txt ']' 14:07:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:07:04 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 14:07:04 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 14:07:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo 14:07:04 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-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:07:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:05 prd-ubuntu20.04-docker-8c-8g-1438 does not seem to be running inside a container 14:07:05 $ 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-20/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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@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 14:07:05 $ docker top 02da592361bd15bcd0c1226cd65f7e2c97ff1d4deec253bd2bff6d0265f2b5ca -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:05 + touch /tmp/pre-build-complete [Pipeline] sh 14:07:06 + mkdir -p /var/log/sysstat [Pipeline] sh 14:07:06 + ls /var/log/sa-host 14:07:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:07:06 provisioning config files... 14:07:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config7470147541703996024tmp [Pipeline] { [Pipeline] echo 14:07:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:07:06 ---> create-netrc.sh [Pipeline] } 14:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:07:07 ---> python-tools-install.sh [Pipeline] echo 14:07:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:07:07 ---> sudo-logs.sh 14:07:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:07:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:07:07 ---> job-cost.sh 14:07:07 lf-activate-venv: SKIPPING 14:07:07 DEBUG: total: 0.2199999988079071 14:07:07 INFO: Retrieving Stack Cost... 14:07:07 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:08 INFO: Archiving Costs [Pipeline] echo 14:07:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:07:08 ---> logs-deploy.sh 14:07:08 lf-activate-venv: SKIPPING 14:07:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/9 14:07:08 INFO: archiving workspace using pattern(s): 14:07:09 Archives upload complete. 14:07:09 INFO: archiving logs to Nexus