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 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f 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-ssh3018794197900621336.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-ssh13324069746835433089.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-ssh1836130278824110167.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-ssh527884682365804256.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-ssh1173953504342105533.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 ‘prd-ubuntu20.04-docker-8c-8g-1359’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1361 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 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f Merge succeeded, producing 490ec91365a46f83fcdec54621aa1d72869771a3 Checking out Revision 490ec91365a46f83fcdec54621aa1d72869771a3 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f # 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 490ec91365a46f83fcdec54621aa1d72869771a3 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:24:33 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk b4e3526084261c02fcb95482fc5ecdede031c9c1 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:24:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:24:33 ========================================================= 20:24:33 EdgeX Global Pipelines Version Info 20:24:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:24:34 ------------------- 20:24:34 stable info: 20:24:34 ------------------- 20:24:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:24:34 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:24:34 Message: update stable to v1.0.250 20:24:34 ------------------- 20:24:34 experimental info: 20:24:34 ------------------- 20:24:34 Commited By: **** collab-it+edgex@linuxfoundation.org 20:24:34 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:24:34 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 490ec91365a46f83fcdec54621aa1d72869771a3 [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 490ec91 [Pipeline] echo 20:24:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:35 provisioning config files... 20:24:35 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config4640626459846144951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:35 ---> docker-login.sh 20:24:35 nexus3.edgexfoundry.org:10001 20:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:35 Configure a credential helper to remove this warning. See 20:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:35 20:24:35 Login Succeeded 20:24:35 nexus3.edgexfoundry.org:10002 20:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:35 Configure a credential helper to remove this warning. See 20:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:35 20:24:35 Login Succeeded 20:24:35 nexus3.edgexfoundry.org:10003 20:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:36 Configure a credential helper to remove this warning. See 20:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:36 20:24:36 Login Succeeded 20:24:36 nexus3.edgexfoundry.org:10004 20:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:36 Configure a credential helper to remove this warning. See 20:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:36 20:24:36 Login Succeeded 20:24:36 docker.io 20:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:36 Configure a credential helper to remove this warning. See 20:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:36 20:24:36 Login Succeeded 20:24:36 ---> docker-login.sh ends [Pipeline] } 20:24:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:24:37 + git rev-list -1 --merges 490ec91365a46f83fcdec54621aa1d72869771a3~1..490ec91365a46f83fcdec54621aa1d72869771a3 [Pipeline] echo 20:24:37 -----------> git rev-list -1 --merges 490ec91365a46f83fcdec54621aa1d72869771a3~1..490ec91365a46f83fcdec54621aa1d72869771a3 490ec91365a46f83fcdec54621aa1d72869771a3 20:24:37 490ec91365a46f83fcdec54621aa1d72869771a3 [false] [Pipeline] sh 20:24:37 + git log --format=format:%s -1 490ec91365a46f83fcdec54621aa1d72869771a3 [Pipeline] echo 20:24:37 ========================================================= 20:24:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:24:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:37 + git log --format=format:%s -1 490ec91365a46f83fcdec54621aa1d72869771a3 [Pipeline] echo 20:24:37 [semverPrep] GIT_COMMIT: 490ec91365a46f83fcdec54621aa1d72869771a3, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 20:24:37 [semverPrep] This is not a build commit. [Pipeline] sh 20:24:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:24:38 + grep -v github /etc/ssh/ssh_known_hosts 20:24:38 + [ -e /tmp/ssh_known_hosts ] 20:24:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:24:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:24:38 + sudo tee -a /etc/ssh/ssh_known_hosts 20:24:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:38 20:24:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:39 0.1.4: Pulling from edgex-devops/py-git-semver 20:24:39 b85a868b505f: Pulling fs layer 20:24:39 e2be974225ed: Pulling fs layer 20:24:39 339a4e72a1f5: Pulling fs layer 20:24:39 988bab9f4d93: Pulling fs layer 20:24:39 1469e6f7b9e6: Pulling fs layer 20:24:39 eaf3925da568: Pulling fs layer 20:24:39 bab4dde63d76: Pulling fs layer 20:24:39 bde34c3a00c8: Pulling fs layer 20:24:39 b352a97aabf1: Pulling fs layer 20:24:39 4872d77fe225: Pulling fs layer 20:24:39 5851b861e8e6: Pulling fs layer 20:24:39 eaf3925da568: Waiting 20:24:39 bab4dde63d76: Waiting 20:24:39 bde34c3a00c8: Waiting 20:24:39 1469e6f7b9e6: Waiting 20:24:39 b352a97aabf1: Waiting 20:24:39 4872d77fe225: Waiting 20:24:39 e2be974225ed: Verifying Checksum 20:24:39 e2be974225ed: Download complete 20:24:39 988bab9f4d93: Verifying Checksum 20:24:39 988bab9f4d93: Download complete 20:24:39 1469e6f7b9e6: Verifying Checksum 20:24:39 1469e6f7b9e6: Download complete 20:24:39 339a4e72a1f5: Verifying Checksum 20:24:39 339a4e72a1f5: Download complete 20:24:39 eaf3925da568: Download complete 20:24:39 bde34c3a00c8: Download complete 20:24:39 b352a97aabf1: Verifying Checksum 20:24:39 b352a97aabf1: Download complete 20:24:39 4872d77fe225: Verifying Checksum 20:24:39 4872d77fe225: Download complete 20:24:39 5851b861e8e6: Verifying Checksum 20:24:39 5851b861e8e6: Download complete 20:24:39 b85a868b505f: Verifying Checksum 20:24:39 b85a868b505f: Download complete 20:24:39 bab4dde63d76: Verifying Checksum 20:24:39 bab4dde63d76: Download complete 20:24:40 b85a868b505f: Pull complete 20:24:40 e2be974225ed: Pull complete 20:24:41 339a4e72a1f5: Pull complete 20:24:41 988bab9f4d93: Pull complete 20:24:41 1469e6f7b9e6: Pull complete 20:24:41 eaf3925da568: Pull complete 20:24:43 bab4dde63d76: Pull complete 20:24:43 bde34c3a00c8: Pull complete 20:24:43 b352a97aabf1: Pull complete 20:24:43 4872d77fe225: Pull complete 20:24:43 5851b861e8e6: Pull complete 20:24:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:44 prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container 20:24:44 $ 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 20:24:47 $ docker top d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf -eo pid,comm 20:24:47 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). 20:24:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:24:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:47 [ssh-agent] Looking for ssh-agent implementation... 20:24:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:48 $ docker exec d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf ssh-agent 20:24:48 SSH_AUTH_SOCK=/tmp/ssh-7bZWXma5sypx/agent.33 20:24:48 SSH_AGENT_PID=39 20:24:48 Running ssh-add (command line suppressed) 20:24:48 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_5847950367634788176.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_5847950367634788176.key) 20:24:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:48 + git tag --points-at HEAD [Pipeline] } 20:24:48 $ docker exec --env ******** --env ******** d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf ssh-agent -k 20:24:48 unset SSH_AUTH_SOCK; 20:24:48 unset SSH_AGENT_PID; 20:24:48 echo Agent pid 39 killed; 20:24:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:24:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:48 [ssh-agent] Looking for ssh-agent implementation... 20:24:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:48 $ docker exec d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf ssh-agent 20:24:48 SSH_AUTH_SOCK=/tmp/ssh-N2eXtRdig4wu/agent.71 20:24:48 SSH_AGENT_PID=77 20:24:48 Running ssh-add (command line suppressed) 20:24:49 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3193483160583961333.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3193483160583961333.key) 20:24:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:49 + git semver init 20:24:49 2023-07-17 20:24:49,480 [run_init] DEBUG init version:0.0.0 force:False 20:24:49 2023-07-17 20:24:49,480 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 20:24:49 2023-07-17 20:24:49,481 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 20:24:49 2023-07-17 20:24:49,481 [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) 20:24:50 2023-07-17 20:24:50,305 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 20:24:50 2023-07-17 20:24:50,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 20:24:50 2023-07-17 20:24:50,305 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 20:24:50 2023-07-17 20:24:50,309 [execute] INFO git cat-file --batch-check 20:24:50 2023-07-17 20:24:50,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 20:24:50 2023-07-17 20:24:50,316 [execute] INFO git cat-file --batch 20:24:50 2023-07-17 20:24:50,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 20:24:50 2023-07-17 20:24:50,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 20:24:50 0.0.0 [Pipeline] } 20:24:50 $ docker exec --env ******** --env ******** d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf ssh-agent -k 20:24:50 unset SSH_AUTH_SOCK; 20:24:50 unset SSH_AGENT_PID; 20:24:50 echo Agent pid 77 killed; 20:24:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:50 + git semver [Pipeline] } 20:24:51 $ docker stop --time=1 d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf 20:24:52 $ docker rm -f --volumes d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf [Pipeline] // withDockerContainer [Pipeline] sh 20:24:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:24:53 Stashed 1 file(s) [Pipeline] echo 20:24:53 [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 20:24:53 provisioning config files... 20:24:53 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config7659066052072321102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:53 ---> docker-login.sh 20:24:53 nexus3.edgexfoundry.org:10001 20:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:53 Configure a credential helper to remove this warning. See 20:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:53 20:24:53 Login Succeeded 20:24:53 nexus3.edgexfoundry.org:10002 20:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:53 Configure a credential helper to remove this warning. See 20:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:53 20:24:53 Login Succeeded 20:24:53 nexus3.edgexfoundry.org:10003 20:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:53 Configure a credential helper to remove this warning. See 20:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:53 20:24:53 Login Succeeded 20:24:53 nexus3.edgexfoundry.org:10004 20:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:53 Configure a credential helper to remove this warning. See 20:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:53 20:24:53 Login Succeeded 20:24:53 docker.io 20:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:54 Configure a credential helper to remove this warning. See 20:24:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:54 20:24:54 Login Succeeded 20:24:54 ---> docker-login.sh ends [Pipeline] } 20:24:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:24:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:54 ========================================================= 20:24:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:24:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:54 + 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 . 20:24:54 Sending build context to Docker daemon 11.13MB 20:24:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:24:54 Step 2/12 : FROM ${BASE} AS builder 20:24:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:24:54 4db1b89c0bd1: Pulling fs layer 20:24:54 6911f1a30b25: Pulling fs layer 20:24:54 e194b8c5c2a9: Pulling fs layer 20:24:54 6863d3e3a2b1: Pulling fs layer 20:24:54 ec0bb842ea78: Pulling fs layer 20:24:54 40a00589a448: Pulling fs layer 20:24:54 6c08303d61cc: Pulling fs layer 20:24:54 798269fcf238: Pulling fs layer 20:24:54 ec0bb842ea78: Waiting 20:24:54 6863d3e3a2b1: Waiting 20:24:54 40a00589a448: Waiting 20:24:54 798269fcf238: Waiting 20:24:54 6911f1a30b25: Download complete 20:24:54 6863d3e3a2b1: Verifying Checksum 20:24:54 6863d3e3a2b1: Download complete 20:24:54 4db1b89c0bd1: Verifying Checksum 20:24:54 4db1b89c0bd1: Download complete 20:24:54 ec0bb842ea78: Verifying Checksum 20:24:54 ec0bb842ea78: Download complete 20:24:54 40a00589a448: Verifying Checksum 20:24:54 40a00589a448: Download complete 20:24:54 4db1b89c0bd1: Pull complete 20:24:55 6911f1a30b25: Pull complete 20:24:55 798269fcf238: Verifying Checksum 20:24:55 798269fcf238: Download complete 20:24:55 e194b8c5c2a9: Verifying Checksum 20:24:55 e194b8c5c2a9: Download complete 20:24:55 6c08303d61cc: Verifying Checksum 20:24:55 6c08303d61cc: Download complete 20:24:58 e194b8c5c2a9: Pull complete 20:24:58 6863d3e3a2b1: Pull complete 20:24:58 ec0bb842ea78: Pull complete 20:24:58 40a00589a448: Pull complete 20:25:01 6c08303d61cc: Pull complete 20:25:02 798269fcf238: Pull complete 20:25:02 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:25:02 ---> ec979cd7f677 20:25:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:25:07 ---> Running in 29ea05ac12f4 20:25:07 Removing intermediate container 29ea05ac12f4 20:25:07 ---> 882a9421b745 20:25:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:25:07 ---> Running in 2ac50a887143 20:25:07 Removing intermediate container 2ac50a887143 20:25:07 ---> a50541840504 20:25:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:25:07 ---> Running in c6296b7d2292 20:25:07 Removing intermediate container c6296b7d2292 20:25:07 ---> f68886603304 20:25:07 Step 6/12 : WORKDIR /device-uart 20:25:07 ---> Running in c12eff6c1f36 20:25:07 Removing intermediate container c12eff6c1f36 20:25:07 ---> 59e1ba63e0f2 20:25:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:25:07 ---> Running in a3a9898b19b2 20:25:08 Still waiting to schedule task 20:25:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1360’ is offline 20:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:25:08 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:25:08 (2/4) Installing libedit (20221030.3.1-r0) 20:25:08 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:25:08 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:25:08 Executing busybox-1.35.0-r29.trigger 20:25:08 OK: 269 MiB in 57 packages 20:25:09 Removing intermediate container a3a9898b19b2 20:25:09 ---> e49b27a03124 20:25:09 Step 8/12 : COPY go.mod vendor* ./ 20:25:09 ---> 8c01ab772295 20:25:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:25:09 ---> Running in ec96582cf903 20:25:55 Removing intermediate container ec96582cf903 20:25:55 ---> 3e7f2552e1c4 20:25:55 Step 10/12 : COPY . . 20:25:55 ---> fc592a8e87f2 20:25:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:25:55 ---> Running in 0a117d6526c1 20:25:55 Removing intermediate container 0a117d6526c1 20:25:55 ---> 19be80ac2945 20:25:55 Step 12/12 : RUN ${MAKE} 20:25:55 ---> Running in 80088c9f06c4 20:25:55 noop 20:25:55 Removing intermediate container 80088c9f06c4 20:25:55 ---> 4ed91a21a5b2 20:25:55 Successfully built 4ed91a21a5b2 20:25:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:56 + docker inspect -f . ci-base-image-x86_64 20:25:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:56 prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container 20:25:56 $ 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 20:25:56 $ docker top 8d0588dde6e73a69257de1547229adccf5e8a0b7a1c33795afb3fb3f059c955f -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:56 + go version 20:25:56 go version go1.20.6 linux/amd64 [Pipeline] } 20:25:56 $ docker stop --time=1 8d0588dde6e73a69257de1547229adccf5e8a0b7a1c33795afb3fb3f059c955f 20:25:58 $ docker rm -f --volumes 8d0588dde6e73a69257de1547229adccf5e8a0b7a1c33795afb3fb3f059c955f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:58 + docker inspect -f . ci-base-image-x86_64 20:25:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:58 prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container 20:25:58 $ 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 20:25:59 $ docker top 4f012f22ef5413e2a5ddf7062334d0cebced2437d086df82fd97feadcde7086d -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 20:25:59 + make test 20:25:59 go test ./... -coverprofile=coverage.out 20:26:03 ? github.com/edgexfoundry/device-uart [no test files] 20:26:13 ? github.com/edgexfoundry/device-uart/cmd [no test files] 20:26:13 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 20:26:18 go vet ./... 20:26:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:26:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:26:21 ./bin/test-attribution-txt.sh [Pipeline] echo 20:26:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:26:21 $ docker stop --time=1 4f012f22ef5413e2a5ddf7062334d0cebced2437d086df82fd97feadcde7086d 20:26:24 $ docker rm -f --volumes 4f012f22ef5413e2a5ddf7062334d0cebced2437d086df82fd97feadcde7086d [Pipeline] // withDockerContainer [Pipeline] sh 20:26:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:26:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:26:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:26:25 + ls -al . 20:26:25 total 140 20:26:25 drwxrwxr-x 7 jenkins jenkins 4096 Jul 17 20:25 . 20:26:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 20:24 .. 20:26:25 -rw-rw-r-- 1 jenkins jenkins 140 Jul 17 20:24 .dockerignore 20:26:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:24 .git 20:26:25 -rw-rw-r-- 1 jenkins jenkins 343 Jul 17 20:24 .gitignore 20:26:25 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 20:24 .golangci.yml 20:26:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 20:24 .semver 20:26:25 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 17 20:24 Attribution.txt 20:26:25 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 17 20:24 Dockerfile 20:26:25 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 20:24 GOVERNANCE.md 20:26:25 -rw-rw-r-- 1 jenkins jenkins 675 Jul 17 20:24 Jenkinsfile 20:26:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 17 20:24 LICENSE 20:26:25 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 17 20:24 Makefile 20:26:25 -rw-rw-r-- 1 jenkins jenkins 617 Jul 17 20:24 OWNERS.md 20:26:25 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 17 20:24 README.md 20:26:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 20:24 VERSION 20:26:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 20:24 bin 20:26:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:24 cmd 20:26:25 -rw-r--r-- 1 jenkins jenkins 10 Jul 17 20:25 coverage.out 20:26:25 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 17 20:24 go.mod 20:26:25 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 17 20:24 go.sum 20:26:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:24 internal 20:26:25 -rw-rw-r-- 1 jenkins jenkins 209 Jul 17 20:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:26 + 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=490ec91365a46f83fcdec54621aa1d72869771a3 --label arch=amd64 --label version=0.0.0 . 20:26:26 Sending build context to Docker daemon 11.13MB 20:26:26 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:26:26 Step 2/25 : FROM ${BASE} AS builder 20:26:26 ---> 4ed91a21a5b2 20:26:26 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:26:26 ---> Running in 7309a5a71b86 20:26:26 Removing intermediate container 7309a5a71b86 20:26:26 ---> 5dede65a5fc3 20:26:26 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:26:26 ---> Running in 24a82126f57e 20:26:26 Removing intermediate container 24a82126f57e 20:26:26 ---> fdbb1b9b60ed 20:26:26 Step 5/25 : ARG ADD_BUILD_TAGS="" 20:26:26 ---> Running in 4dfbdc66601c 20:26:26 Removing intermediate container 4dfbdc66601c 20:26:26 ---> b0b9c13d8810 20:26:26 Step 6/25 : WORKDIR /device-uart 20:26:26 ---> Running in e0bcbded522e 20:26:26 Removing intermediate container e0bcbded522e 20:26:26 ---> 54cec2ca542e 20:26:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:26:26 ---> Running in e4d635f25115 20:26:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:26:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:26:27 OK: 269 MiB in 57 packages 20:26:27 Removing intermediate container e4d635f25115 20:26:27 ---> 262f238e38b3 20:26:27 Step 8/25 : COPY go.mod vendor* ./ 20:26:28 ---> 40fd392ac310 20:26:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:28 ---> Running in cb82b6cae945 20:26:28 Removing intermediate container cb82b6cae945 20:26:28 ---> 8139bc99bd4f 20:26:28 Step 10/25 : COPY . . 20:26:29 ---> 0010709c980b 20:26:29 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:26:29 ---> Running in bead1f2faeda 20:26:29 Removing intermediate container bead1f2faeda 20:26:29 ---> 2dba8f031971 20:26:29 Step 12/25 : RUN ${MAKE} 20:26:29 ---> Running in 5e7706124d18 20:26:29 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 20:26:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1362 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 20:26:31 Running in /w/workspace/device-uart/7 [Pipeline] { [Pipeline] checkout 20:26:31 The recommended git tool is: git 20:26:36 using credential edgex-jenkins-ssh 20:26:36 Cloning the remote Git repository 20:26:36 Cloning repository git@github.com:edgexfoundry/device-uart.git 20:26:36 > git init /w/workspace/device-uart/7 # timeout=10 20:26:36 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 20:26:36 > git --version # timeout=10 20:26:36 > git --version # 'git version 2.25.1' 20:26:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:26:37 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 20:26:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:26:38 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 20:26:38 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 20:26:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:38 > 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 20:26:39 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:26:39 Failed in branch arm64 20:26:39 > git config core.sparsecheckout # timeout=10 20:26:39 > git checkout -f 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f # timeout=10 20:26:51 Removing intermediate container 5e7706124d18 20:26:51 ---> 3c1fa8bffda0 20:26:51 Step 13/25 : FROM alpine:3.17 20:26:51 3.17: Pulling from library/alpine 20:26:51 4db1b89c0bd1: Already exists 20:26:51 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:26:51 Status: Downloaded newer image for alpine:3.17 20:26:51 ---> 1f73a9d63274 20:26:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:26:51 ---> Running in d86a58c92bd9 20:26:51 Removing intermediate container d86a58c92bd9 20:26:51 ---> 24ae4c0b7d37 20:26:51 Step 15/25 : RUN apk add --update --no-cache dumb-init 20:26:51 ---> Running in 2039bc9548cb 20:26:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:26:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:26:51 (1/1) Installing dumb-init (1.2.5-r2) 20:26:51 Executing busybox-1.35.0-r29.trigger 20:26:51 OK: 7 MiB in 16 packages 20:26:51 Removing intermediate container 2039bc9548cb 20:26:51 ---> 1a902cc9a575 20:26:51 Step 16/25 : WORKDIR / 20:26:51 ---> Running in d47e4b8f6dd3 20:26:51 Removing intermediate container d47e4b8f6dd3 20:26:51 ---> 6595410fb842 20:26:51 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 20:26:51 ---> 9f2b8cf1bded 20:26:51 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 20:26:51 ---> 0b2684b56798 20:26:51 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 20:26:51 ---> 3e0e03fe66b2 20:26:51 Step 20/25 : EXPOSE 59995 20:26:51 ---> Running in 5445d39d18eb 20:26:51 Removing intermediate container 5445d39d18eb 20:26:51 ---> 4075ba121986 20:26:51 Step 21/25 : ENTRYPOINT ["/device-uart"] 20:26:51 ---> Running in a9fbd1fc9125 20:26:51 Removing intermediate container a9fbd1fc9125 20:26:51 ---> bfd80871ec2d 20:26:51 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:26:51 ---> Running in 48f86f34c4b1 20:26:51 Removing intermediate container 48f86f34c4b1 20:26:51 ---> 4136b12bccea 20:26:51 Step 23/25 : LABEL arch=amd64 20:26:51 ---> Running in 0ce7890e0124 20:26:51 Removing intermediate container 0ce7890e0124 20:26:51 ---> 07014563bb03 20:26:51 Step 24/25 : LABEL git_sha=490ec91365a46f83fcdec54621aa1d72869771a3 20:26:51 ---> Running in 6228eb377852 20:26:51 Removing intermediate container 6228eb377852 20:26:51 ---> f5c41e6ef28e 20:26:51 Step 25/25 : LABEL version=0.0.0 20:26:51 ---> Running in 1e05c773dafe 20:26:51 Removing intermediate container 1e05c773dafe 20:26:51 ---> 7f2d036fc894 20:26:51 [Warning] One or more build-args [ARCH] were not consumed 20:26:51 Successfully built 7f2d036fc894 20:26:51 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 20:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:26:52 20:26:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:26:52 latest: Pulling from edgex-lftools-log-publisher 20:26:52 5eb5b503b376: Pulling fs layer 20:26:52 5c69ac0246d0: Pulling fs layer 20:26:52 ec43610c2a17: Pulling fs layer 20:26:52 3a2ae6a8a46f: Pulling fs layer 20:26:52 33b1e0a273af: Pulling fs layer 20:26:52 5d3b04190fa2: Pulling fs layer 20:26:52 2f39f015ded8: Pulling fs layer 20:26:52 33b1e0a273af: Waiting 20:26:52 5d3b04190fa2: Waiting 20:26:52 3a2ae6a8a46f: Waiting 20:26:52 2f39f015ded8: Waiting 20:26:52 5c69ac0246d0: Verifying Checksum 20:26:52 5c69ac0246d0: Download complete 20:26:52 3a2ae6a8a46f: Verifying Checksum 20:26:52 3a2ae6a8a46f: Download complete 20:26:52 33b1e0a273af: Verifying Checksum 20:26:52 33b1e0a273af: Download complete 20:26:52 5d3b04190fa2: Download complete 20:26:52 ec43610c2a17: Verifying Checksum 20:26:52 ec43610c2a17: Download complete 20:26:52 5eb5b503b376: Verifying Checksum 20:26:52 5eb5b503b376: Download complete 20:26:53 2f39f015ded8: Verifying Checksum 20:26:53 2f39f015ded8: Download complete 20:26:54 5eb5b503b376: Pull complete 20:26:54 5c69ac0246d0: Pull complete 20:26:54 ec43610c2a17: Pull complete 20:26:54 3a2ae6a8a46f: Pull complete 20:26:54 33b1e0a273af: Pull complete 20:26:54 5d3b04190fa2: Pull complete 20:26:59 2f39f015ded8: Pull complete 20:26:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:26:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:26:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:59 prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container 20:26:59 $ 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 20:27:03 $ docker top c8447d2853fa444e081df773bf956c927f923addc0524b03fd7de05ba0d9a639 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:03 ---> job-cost.sh 20:27:03 lf-activate-venv: SKIPPING 20:27:03 INFO: No Stack... 20:27:03 INFO: Retrieving Pricing Info for: v3-standard-8 20:27:03 INFO: Archiving Costs [Pipeline] sh 20:27:04 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 20:27:04 + cut -d, -f6 [Pipeline] lock 20:27:04 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-7-stack-cost] 20:27:04 Resource [jenkins-edgexfoundry-device-uart-PR-20-7-stack-cost] did not exist. Created. 20:27:04 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:27:04 + echo total: 0.2199999988079071 [Pipeline] stash 20:27:04 Stashed 1 file(s) [Pipeline] } 20:27:04 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-7-stack-cost] [Pipeline] // lock [Pipeline] } 20:27:04 $ docker stop --time=1 c8447d2853fa444e081df773bf956c927f923addc0524b03fd7de05ba0d9a639 20:27:05 $ docker rm -f --volumes c8447d2853fa444e081df773bf956c927f923addc0524b03fd7de05ba0d9a639 [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 20:27:06 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 20:27:06 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:27:06 total 16 20:27:06 drwxr-xr-x 3 root root 4096 Jul 17 20:27 . 20:27:06 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:27 .. 20:27:06 drwxr-xr-x 2 root root 4096 Jul 17 20:27 cost 20:27:06 -rw-r--r-- 1 root root 82 Jul 17 20:27 cost.csv 20:27:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:27:06 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:27:06 total 16 20:27:06 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 20:27 . 20:27:06 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:27 .. 20:27:06 drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 20:27 cost 20:27:06 -rw-r--r-- 1 jenkins jenkins 82 Jul 17 20:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:27:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:27:07 ---> package-listing.sh 20:27:07 ++ facter osfamily 20:27:07 ++ tr '[:upper:]' '[:lower:]' 20:27:07 + OS_FAMILY=debian 20:27:07 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 20:27:07 + START_PACKAGES=/tmp/packages_start.txt 20:27:07 + END_PACKAGES=/tmp/packages_end.txt 20:27:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:27:07 + PACKAGES=/tmp/packages_start.txt 20:27:07 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 20:27:07 + PACKAGES=/tmp/packages_end.txt 20:27:07 + case "${OS_FAMILY}" in 20:27:07 + dpkg -l 20:27:07 + grep '^ii' 20:27:07 + '[' -f /tmp/packages_start.txt ']' 20:27:07 + '[' -f /tmp/packages_end.txt ']' 20:27:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:27:07 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 20:27:07 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 20:27:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo 20:27:07 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 20:27:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:08 prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container 20:27:08 $ 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 20:27:09 $ docker top a705e39c0d49b5113244f6e9440ff9821695200176721bae793bad53ab4daddb -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:09 + touch /tmp/pre-build-complete [Pipeline] sh 20:27:09 + mkdir -p /var/log/sysstat [Pipeline] sh 20:27:09 + ls /var/log/sa-host 20:27:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:09 provisioning config files... 20:27:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config14005435173184407963tmp [Pipeline] { [Pipeline] echo 20:27:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:27:10 ---> create-netrc.sh [Pipeline] } 20:27:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:27:10 ---> python-tools-install.sh [Pipeline] echo 20:27:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:27:10 ---> sudo-logs.sh 20:27:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:27:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:27:11 ---> job-cost.sh 20:27:11 lf-activate-venv: SKIPPING 20:27:11 DEBUG: total: 0.2199999988079071 20:27:11 INFO: Retrieving Stack Cost... 20:27:11 INFO: Retrieving Pricing Info for: v3-standard-8 20:27:11 INFO: Archiving Costs [Pipeline] echo 20:27:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:27:11 ---> logs-deploy.sh 20:27:11 lf-activate-venv: SKIPPING 20:27:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/7 20:27:11 INFO: archiving workspace using pattern(s): 20:27:12 Archives upload complete. 20:27:12 INFO: archiving logs to Nexus