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 ade490a154b1fddfcf912b0db9ce1c02f43ddeb7 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-ssh8909310403077619792.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-ssh14788791025091688250.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-ssh88151496045270396.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-ssh18005773778690794786.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-ssh17383504570665865983.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-1361’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1363 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 ade490a154b1fddfcf912b0db9ce1c02f43ddeb7 Merge succeeded, producing 5d48089f5b171a054c30772ca6ea6008368bb244 Checking out Revision 5d48089f5b171a054c30772ca6ea6008368bb244 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f ade490a154b1fddfcf912b0db9ce1c02f43ddeb7 # 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 5d48089f5b171a054c30772ca6ea6008368bb244 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 490ec91365a46f83fcdec54621aa1d72869771a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:29:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:29:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:29:13 ========================================================= 20:29:13 EdgeX Global Pipelines Version Info 20:29:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:29:14 ------------------- 20:29:14 stable info: 20:29:14 ------------------- 20:29:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:29:14 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:29:14 Message: update stable to v1.0.250 20:29:14 ------------------- 20:29:14 experimental info: 20:29:14 ------------------- 20:29:14 Commited By: **** collab-it+edgex@linuxfoundation.org 20:29:14 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:29:14 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d48089f5b171a054c30772ca6ea6008368bb244 [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d48089 [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:15 provisioning config files... 20:29:15 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config15964608605913568992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:15 ---> docker-login.sh 20:29:15 nexus3.edgexfoundry.org:10001 20:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:16 Configure a credential helper to remove this warning. See 20:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:16 20:29:16 Login Succeeded 20:29:16 nexus3.edgexfoundry.org:10002 20:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:16 Configure a credential helper to remove this warning. See 20:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:16 20:29:16 Login Succeeded 20:29:16 nexus3.edgexfoundry.org:10003 20:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:16 Configure a credential helper to remove this warning. See 20:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:16 20:29:16 Login Succeeded 20:29:16 nexus3.edgexfoundry.org:10004 20:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:16 Configure a credential helper to remove this warning. See 20:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:16 20:29:16 Login Succeeded 20:29:16 docker.io 20:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:16 Configure a credential helper to remove this warning. See 20:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:16 20:29:16 Login Succeeded 20:29:16 ---> docker-login.sh ends [Pipeline] } 20:29:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:29:17 + git rev-list -1 --merges 5d48089f5b171a054c30772ca6ea6008368bb244~1..5d48089f5b171a054c30772ca6ea6008368bb244 [Pipeline] echo 20:29:17 -----------> git rev-list -1 --merges 5d48089f5b171a054c30772ca6ea6008368bb244~1..5d48089f5b171a054c30772ca6ea6008368bb244 5d48089f5b171a054c30772ca6ea6008368bb244 20:29:17 5d48089f5b171a054c30772ca6ea6008368bb244 [false] [Pipeline] sh 20:29:17 + git log --format=format:%s -1 5d48089f5b171a054c30772ca6ea6008368bb244 [Pipeline] echo 20:29:17 ========================================================= 20:29:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:29:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:17 + git log --format=format:%s -1 5d48089f5b171a054c30772ca6ea6008368bb244 [Pipeline] echo 20:29:17 [semverPrep] GIT_COMMIT: 5d48089f5b171a054c30772ca6ea6008368bb244, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 20:29:17 [semverPrep] This is not a build commit. [Pipeline] sh 20:29:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:29:18 + grep -v github /etc/ssh/ssh_known_hosts 20:29:18 + [ -e /tmp/ssh_known_hosts ] 20:29:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:29:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:29:18 + sudo tee -a /etc/ssh/ssh_known_hosts 20:29:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:18 20:29:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:18 0.1.4: Pulling from edgex-devops/py-git-semver 20:29:18 b85a868b505f: Pulling fs layer 20:29:18 e2be974225ed: Pulling fs layer 20:29:18 339a4e72a1f5: Pulling fs layer 20:29:18 988bab9f4d93: Pulling fs layer 20:29:18 1469e6f7b9e6: Pulling fs layer 20:29:18 eaf3925da568: Pulling fs layer 20:29:18 bab4dde63d76: Pulling fs layer 20:29:18 bde34c3a00c8: Pulling fs layer 20:29:18 b352a97aabf1: Pulling fs layer 20:29:18 4872d77fe225: Pulling fs layer 20:29:18 5851b861e8e6: Pulling fs layer 20:29:18 988bab9f4d93: Waiting 20:29:18 1469e6f7b9e6: Waiting 20:29:18 eaf3925da568: Waiting 20:29:18 bab4dde63d76: Waiting 20:29:18 bde34c3a00c8: Waiting 20:29:18 b352a97aabf1: Waiting 20:29:18 4872d77fe225: Waiting 20:29:18 5851b861e8e6: Waiting 20:29:18 e2be974225ed: Download complete 20:29:18 988bab9f4d93: Verifying Checksum 20:29:18 988bab9f4d93: Download complete 20:29:18 1469e6f7b9e6: Verifying Checksum 20:29:18 1469e6f7b9e6: Download complete 20:29:19 eaf3925da568: Verifying Checksum 20:29:19 eaf3925da568: Download complete 20:29:19 339a4e72a1f5: Verifying Checksum 20:29:19 339a4e72a1f5: Download complete 20:29:19 bde34c3a00c8: Verifying Checksum 20:29:19 b352a97aabf1: Verifying Checksum 20:29:19 b352a97aabf1: Download complete 20:29:19 4872d77fe225: Download complete 20:29:19 5851b861e8e6: Verifying Checksum 20:29:19 5851b861e8e6: Download complete 20:29:19 b85a868b505f: Verifying Checksum 20:29:19 b85a868b505f: Download complete 20:29:19 bab4dde63d76: Verifying Checksum 20:29:19 bab4dde63d76: Download complete 20:29:20 b85a868b505f: Pull complete 20:29:20 e2be974225ed: Pull complete 20:29:21 339a4e72a1f5: Pull complete 20:29:21 988bab9f4d93: Pull complete 20:29:21 1469e6f7b9e6: Pull complete 20:29:21 eaf3925da568: Pull complete 20:29:23 bab4dde63d76: Pull complete 20:29:23 bde34c3a00c8: Pull complete 20:29:23 b352a97aabf1: Pull complete 20:29:23 4872d77fe225: Pull complete 20:29:23 5851b861e8e6: Pull complete 20:29:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:24 prd-ubuntu20.04-docker-8c-8g-1363 does not seem to be running inside a container 20:29:24 $ 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:29:26 $ docker top 6d1e0ae81c16131731e6a7ecfd155e97d5262a8a37dbdaa8cfd67dad5900d6e5 -eo pid,comm 20:29:26 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:29:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:26 [ssh-agent] Looking for ssh-agent implementation... 20:29:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:27 $ docker exec 6d1e0ae81c16131731e6a7ecfd155e97d5262a8a37dbdaa8cfd67dad5900d6e5 ssh-agent 20:29:27 SSH_AUTH_SOCK=/tmp/ssh-OSX4A3e0GkvV/agent.32 20:29:27 SSH_AGENT_PID=38 20:29:27 Running ssh-add (command line suppressed) 20:29:27 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_10471409916484568967.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_10471409916484568967.key) 20:29:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:27 + git tag --points-at HEAD [Pipeline] } 20:29:27 $ docker exec --env ******** --env ******** 6d1e0ae81c16131731e6a7ecfd155e97d5262a8a37dbdaa8cfd67dad5900d6e5 ssh-agent -k 20:29:27 unset SSH_AUTH_SOCK; 20:29:27 unset SSH_AGENT_PID; 20:29:27 echo Agent pid 38 killed; 20:29:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:29:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:27 [ssh-agent] Looking for ssh-agent implementation... 20:29:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:27 $ docker exec 6d1e0ae81c16131731e6a7ecfd155e97d5262a8a37dbdaa8cfd67dad5900d6e5 ssh-agent 20:29:28 SSH_AUTH_SOCK=/tmp/ssh-bLyv611DPpl0/agent.70 20:29:28 SSH_AGENT_PID=76 20:29:28 Running ssh-add (command line suppressed) 20:29:28 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16121466681619748849.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16121466681619748849.key) 20:29:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:28 + git semver init 20:29:28 2023-07-17 20:29:28,633 [run_init] DEBUG init version:0.0.0 force:False 20:29:28 2023-07-17 20:29:28,634 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 20:29:28 2023-07-17 20:29:28,634 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 20:29:28 2023-07-17 20:29:28,634 [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:29:29 2023-07-17 20:29:29,389 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 20:29:29 2023-07-17 20:29:29,390 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 20:29:29 2023-07-17 20:29:29,390 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 20:29:29 2023-07-17 20:29:29,394 [execute] INFO git cat-file --batch-check 20:29:29 2023-07-17 20:29:29,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 20:29:29 2023-07-17 20:29:29,402 [execute] INFO git cat-file --batch 20:29:29 2023-07-17 20:29:29,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 20:29:29 2023-07-17 20:29:29,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 20:29:29 0.0.0 [Pipeline] } 20:29:29 $ docker exec --env ******** --env ******** 6d1e0ae81c16131731e6a7ecfd155e97d5262a8a37dbdaa8cfd67dad5900d6e5 ssh-agent -k 20:29:29 unset SSH_AUTH_SOCK; 20:29:29 unset SSH_AGENT_PID; 20:29:29 echo Agent pid 76 killed; 20:29:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:30 + git semver [Pipeline] } 20:29:30 $ docker stop --time=1 6d1e0ae81c16131731e6a7ecfd155e97d5262a8a37dbdaa8cfd67dad5900d6e5 20:29:31 $ docker rm -f --volumes 6d1e0ae81c16131731e6a7ecfd155e97d5262a8a37dbdaa8cfd67dad5900d6e5 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:32 Stashed 1 file(s) [Pipeline] echo 20:29:32 [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:29:32 provisioning config files... 20:29:32 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config2760163624975312206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:32 ---> docker-login.sh 20:29:32 nexus3.edgexfoundry.org:10001 20:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:32 Configure a credential helper to remove this warning. See 20:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:32 20:29:32 Login Succeeded 20:29:32 nexus3.edgexfoundry.org:10002 20:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:32 Configure a credential helper to remove this warning. See 20:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:32 20:29:32 Login Succeeded 20:29:32 nexus3.edgexfoundry.org:10003 20:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:32 Configure a credential helper to remove this warning. See 20:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:32 20:29:32 Login Succeeded 20:29:32 nexus3.edgexfoundry.org:10004 20:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:32 Configure a credential helper to remove this warning. See 20:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:32 20:29:32 Login Succeeded 20:29:32 docker.io 20:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:33 Configure a credential helper to remove this warning. See 20:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:33 20:29:33 Login Succeeded 20:29:33 ---> docker-login.sh ends [Pipeline] } 20:29:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:33 ========================================================= 20:29:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:29:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:33 + 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:29:33 Sending build context to Docker daemon 11.12MB 20:29:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:29:33 Step 2/12 : FROM ${BASE} AS builder 20:29:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:33 4db1b89c0bd1: Pulling fs layer 20:29:33 6911f1a30b25: Pulling fs layer 20:29:33 e194b8c5c2a9: Pulling fs layer 20:29:33 6863d3e3a2b1: Pulling fs layer 20:29:33 ec0bb842ea78: Pulling fs layer 20:29:33 40a00589a448: Pulling fs layer 20:29:33 6c08303d61cc: Pulling fs layer 20:29:33 798269fcf238: Pulling fs layer 20:29:33 ec0bb842ea78: Waiting 20:29:33 40a00589a448: Waiting 20:29:33 6c08303d61cc: Waiting 20:29:33 6863d3e3a2b1: Waiting 20:29:33 798269fcf238: Waiting 20:29:33 6911f1a30b25: Download complete 20:29:34 6863d3e3a2b1: Verifying Checksum 20:29:34 6863d3e3a2b1: Download complete 20:29:34 ec0bb842ea78: Verifying Checksum 20:29:34 ec0bb842ea78: Download complete 20:29:34 4db1b89c0bd1: Verifying Checksum 20:29:34 4db1b89c0bd1: Download complete 20:29:34 40a00589a448: Verifying Checksum 20:29:34 40a00589a448: Download complete 20:29:34 4db1b89c0bd1: Pull complete 20:29:34 6911f1a30b25: Pull complete 20:29:34 798269fcf238: Verifying Checksum 20:29:34 798269fcf238: Download complete 20:29:34 e194b8c5c2a9: Verifying Checksum 20:29:34 e194b8c5c2a9: Download complete 20:29:34 6c08303d61cc: Verifying Checksum 20:29:34 6c08303d61cc: Download complete 20:29:38 e194b8c5c2a9: Pull complete 20:29:38 6863d3e3a2b1: Pull complete 20:29:38 ec0bb842ea78: Pull complete 20:29:38 40a00589a448: Pull complete 20:29:40 6c08303d61cc: Pull complete 20:29:41 798269fcf238: Pull complete 20:29:41 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:29:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:29:41 ---> ec979cd7f677 20:29:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:29:46 ---> Running in 75ec2b946083 20:29:46 Removing intermediate container 75ec2b946083 20:29:46 ---> 96540e0d2ec7 20:29:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:29:46 ---> Running in 12cbe807bd45 20:29:46 Removing intermediate container 12cbe807bd45 20:29:46 ---> 7a56a435df84 20:29:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:29:46 ---> Running in e45261092985 20:29:46 Removing intermediate container e45261092985 20:29:46 ---> bc5c9485894f 20:29:46 Step 6/12 : WORKDIR /device-uart 20:29:46 ---> Running in de8fa4109b92 20:29:46 Removing intermediate container de8fa4109b92 20:29:46 ---> 3b61fbe49b00 20:29:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:46 ---> Running in 940461b026ec 20:29:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:29:47 Still waiting to schedule task 20:29:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1362’ is offline 20:29:47 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:29:47 (2/4) Installing libedit (20221030.3.1-r0) 20:29:47 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:29:47 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:29:47 Executing busybox-1.35.0-r29.trigger 20:29:47 OK: 269 MiB in 57 packages 20:29:48 Removing intermediate container 940461b026ec 20:29:48 ---> fd3edacbb1f1 20:29:48 Step 8/12 : COPY go.mod vendor* ./ 20:29:48 ---> 0468ebd87f20 20:29:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:48 ---> Running in ae10b803946b 20:30:20 Removing intermediate container ae10b803946b 20:30:20 ---> 89dfdf401d2c 20:30:20 Step 10/12 : COPY . . 20:30:20 ---> 57cb1ce908e8 20:30:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:20 ---> Running in ef31431f7c1f 20:30:20 Removing intermediate container ef31431f7c1f 20:30:20 ---> dd01c502411c 20:30:20 Step 12/12 : RUN ${MAKE} 20:30:20 ---> Running in 9d0a44434ba8 20:30:20 noop 20:30:20 Removing intermediate container 9d0a44434ba8 20:30:20 ---> 433c079483e8 20:30:20 Successfully built 433c079483e8 20:30:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:20 + docker inspect -f . ci-base-image-x86_64 20:30:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:20 prd-ubuntu20.04-docker-8c-8g-1363 does not seem to be running inside a container 20:30:20 $ 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:30:20 $ docker top 5b9ee9483b2efaff68144159eb43db2d7a2e9e552bc45220926b9801b83861eb -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:21 + go version 20:30:21 go version go1.20.6 linux/amd64 [Pipeline] } 20:30:21 $ docker stop --time=1 5b9ee9483b2efaff68144159eb43db2d7a2e9e552bc45220926b9801b83861eb 20:30:22 $ docker rm -f --volumes 5b9ee9483b2efaff68144159eb43db2d7a2e9e552bc45220926b9801b83861eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:22 + docker inspect -f . ci-base-image-x86_64 20:30:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:23 prd-ubuntu20.04-docker-8c-8g-1363 does not seem to be running inside a container 20:30:23 $ 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:30:23 $ docker top 6b047ea8f1d16dec1b25d087788d3e4cd07fe517829f014012370141404bd40a -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 20:30:23 + make test 20:30:23 go test ./... -coverprofile=coverage.out 20:30:29 ? github.com/edgexfoundry/device-uart [no test files] 20:30:39 ? github.com/edgexfoundry/device-uart/cmd [no test files] 20:30:39 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 20:30:44 go vet ./... 20:30:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:30:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:30:47 ./bin/test-attribution-txt.sh [Pipeline] echo 20:30:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:30:47 $ docker stop --time=1 6b047ea8f1d16dec1b25d087788d3e4cd07fe517829f014012370141404bd40a 20:30:52 $ docker rm -f --volumes 6b047ea8f1d16dec1b25d087788d3e4cd07fe517829f014012370141404bd40a [Pipeline] // withDockerContainer [Pipeline] sh 20:30:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:30:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:53 + ls -al . 20:30:53 total 140 20:30:53 drwxrwxr-x 7 jenkins jenkins 4096 Jul 17 20:30 . 20:30:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 20:29 .. 20:30:53 -rw-rw-r-- 1 jenkins jenkins 140 Jul 17 20:29 .dockerignore 20:30:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:29 .git 20:30:53 -rw-rw-r-- 1 jenkins jenkins 343 Jul 17 20:29 .gitignore 20:30:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 20:29 .golangci.yml 20:30:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 20:29 .semver 20:30:53 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 17 20:29 Attribution.txt 20:30:53 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 17 20:29 Dockerfile 20:30:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 20:29 GOVERNANCE.md 20:30:53 -rw-rw-r-- 1 jenkins jenkins 675 Jul 17 20:29 Jenkinsfile 20:30:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 17 20:29 LICENSE 20:30:53 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 17 20:29 Makefile 20:30:53 -rw-rw-r-- 1 jenkins jenkins 617 Jul 17 20:29 OWNERS.md 20:30:53 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 17 20:29 README.md 20:30:53 -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 20:29 VERSION 20:30:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 20:29 bin 20:30:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:29 cmd 20:30:53 -rw-r--r-- 1 jenkins jenkins 10 Jul 17 20:30 coverage.out 20:30:53 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 17 20:29 go.mod 20:30:53 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 17 20:29 go.sum 20:30:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:29 internal 20:30:53 -rw-rw-r-- 1 jenkins jenkins 209 Jul 17 20:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:53 + 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=5d48089f5b171a054c30772ca6ea6008368bb244 --label arch=amd64 --label version=0.0.0 . 20:30:53 Sending build context to Docker daemon 11.12MB 20:30:53 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:30:53 Step 2/25 : FROM ${BASE} AS builder 20:30:53 ---> 433c079483e8 20:30:53 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:30:54 ---> Running in 6afa0b696ab0 20:30:54 Removing intermediate container 6afa0b696ab0 20:30:54 ---> 9d83d856ca6b 20:30:54 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:30:54 ---> Running in d323163f620a 20:30:54 Removing intermediate container d323163f620a 20:30:54 ---> 1e371b01b93f 20:30:54 Step 5/25 : ARG ADD_BUILD_TAGS="" 20:30:54 ---> Running in 49c61dc9c10e 20:30:54 Removing intermediate container 49c61dc9c10e 20:30:54 ---> 588f186bf1dc 20:30:54 Step 6/25 : WORKDIR /device-uart 20:30:54 ---> Running in a1ec34e2bf13 20:30:54 Removing intermediate container a1ec34e2bf13 20:30:54 ---> fc5fdf13afce 20:30:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:54 ---> Running in 927f14fb9a7d 20:30:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:30:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:30:55 OK: 269 MiB in 57 packages 20:30:55 Removing intermediate container 927f14fb9a7d 20:30:55 ---> 327ad9f5feb1 20:30:55 Step 8/25 : COPY go.mod vendor* ./ 20:30:55 ---> 725dc7a282f9 20:30:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:55 ---> Running in 345eb4f5b5d5 20:30:56 Removing intermediate container 345eb4f5b5d5 20:30:56 ---> 82e56d75854a 20:30:56 Step 10/25 : COPY . . 20:30:56 ---> 1e326e894b00 20:30:56 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:56 ---> Running in abb5ded6d8ca 20:30:56 Removing intermediate container abb5ded6d8ca 20:30:56 ---> df0e2ff0d899 20:30:56 Step 12/25 : RUN ${MAKE} 20:30:56 ---> Running in a0d52429b94e 20:30:57 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:31:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1364 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 20:31:14 Running in /w/workspace/device-uart/8 [Pipeline] { [Pipeline] checkout 20:31:14 The recommended git tool is: git 20:31:19 Removing intermediate container a0d52429b94e 20:31:19 ---> 8b0c49e4ffdb 20:31:19 Step 13/25 : FROM alpine:3.17 20:31:19 3.17: Pulling from library/alpine 20:31:19 4db1b89c0bd1: Already exists 20:31:19 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:31:19 Status: Downloaded newer image for alpine:3.17 20:31:19 ---> 1f73a9d63274 20:31:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:31:19 ---> Running in dcaf990e72ef 20:31:19 Removing intermediate container dcaf990e72ef 20:31:19 ---> c01ae5832b77 20:31:19 Step 15/25 : RUN apk add --update --no-cache dumb-init 20:31:19 ---> Running in 68979f21089e 20:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:31:19 (1/1) Installing dumb-init (1.2.5-r2) 20:31:19 Executing busybox-1.35.0-r29.trigger 20:31:19 OK: 7 MiB in 16 packages 20:31:19 Removing intermediate container 68979f21089e 20:31:19 ---> 02cbd829f13f 20:31:19 Step 16/25 : WORKDIR / 20:31:19 ---> Running in 1f8dd467d97f 20:31:19 Removing intermediate container 1f8dd467d97f 20:31:19 ---> 1519b0f939a2 20:31:19 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 20:31:19 ---> fe825c595da6 20:31:19 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 20:31:19 ---> adb09222f9f3 20:31:19 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 20:31:19 using credential edgex-jenkins-ssh 20:31:19 Cloning the remote Git repository 20:31:20 ---> 042f69b41abf 20:31:20 Step 20/25 : EXPOSE 59995 20:31:20 ---> Running in 31c97455f426 20:31:20 Removing intermediate container 31c97455f426 20:31:20 ---> 304c7f23089e 20:31:20 Step 21/25 : ENTRYPOINT ["/device-uart"] 20:31:20 ---> Running in 969a1fda1383 20:31:20 Removing intermediate container 969a1fda1383 20:31:20 ---> 582eac42decc 20:31:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:31:20 ---> Running in 3327e4831f3e 20:31:20 Removing intermediate container 3327e4831f3e 20:31:20 ---> 645b7fe2d446 20:31:20 Step 23/25 : LABEL arch=amd64 20:31:20 ---> Running in 2f44ed3b986d 20:31:19 Cloning repository git@github.com:edgexfoundry/device-uart.git 20:31:19 > git init /w/workspace/device-uart/8 # timeout=10 20:31:19 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 20:31:19 > git --version # timeout=10 20:31:19 > git --version # 'git version 2.25.1' 20:31:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:20 Removing intermediate container 2f44ed3b986d 20:31:20 ---> 601adae33db9 20:31:20 Step 24/25 : LABEL git_sha=5d48089f5b171a054c30772ca6ea6008368bb244 20:31:20 ---> Running in fd580d8b7a96 20:31:20 Removing intermediate container fd580d8b7a96 20:31:20 ---> 917a40a65bc6 20:31:20 Step 25/25 : LABEL version=0.0.0 20:31:20 ---> Running in 74c0e4067adf 20:31:20 Removing intermediate container 74c0e4067adf 20:31:20 ---> 2ca5dad10891 20:31:20 [Warning] One or more build-args [ARCH] were not consumed 20:31:20 Successfully built 2ca5dad10891 20:31:20 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:31:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:20 20:31:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:21 latest: Pulling from edgex-lftools-log-publisher 20:31:21 5eb5b503b376: Pulling fs layer 20:31:21 5c69ac0246d0: Pulling fs layer 20:31:21 ec43610c2a17: Pulling fs layer 20:31:21 3a2ae6a8a46f: Pulling fs layer 20:31:21 33b1e0a273af: Pulling fs layer 20:31:21 5d3b04190fa2: Pulling fs layer 20:31:21 2f39f015ded8: Pulling fs layer 20:31:21 33b1e0a273af: Waiting 20:31:21 5d3b04190fa2: Waiting 20:31:21 2f39f015ded8: Waiting 20:31:21 3a2ae6a8a46f: Waiting 20:31:21 5c69ac0246d0: Download complete 20:31:21 3a2ae6a8a46f: Verifying Checksum 20:31:21 3a2ae6a8a46f: Download complete 20:31:21 33b1e0a273af: Download complete 20:31:21 5d3b04190fa2: Verifying Checksum 20:31:21 5d3b04190fa2: Download complete 20:31:21 ec43610c2a17: Verifying Checksum 20:31:21 ec43610c2a17: Download complete 20:31:21 5eb5b503b376: Verifying Checksum 20:31:21 5eb5b503b376: Download complete 20:31:21 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 20:31:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:22 2f39f015ded8: Download complete 20:31:22 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit ade490a154b1fddfcf912b0db9ce1c02f43ddeb7 20:31:22 5eb5b503b376: Pull complete 20:31:22 Merge succeeded, producing 4e85caa7e6f0a85cecaa2146376481bd94b29c2d 20:31:22 Checking out Revision 4e85caa7e6f0a85cecaa2146376481bd94b29c2d (PR-20) 20:31:22 5c69ac0246d0: Pull complete 20:31:22 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 20:31:22 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 20:31:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:22 > 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:31:22 > git config core.sparsecheckout # timeout=10 20:31:22 > git checkout -f ade490a154b1fddfcf912b0db9ce1c02f43ddeb7 # timeout=10 20:31:22 > git remote # timeout=10 20:31:22 > git config --get remote.origin.url # timeout=10 20:31:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:22 > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 20:31:22 > git rev-parse HEAD^{commit} # timeout=10 20:31:22 > git config core.sparsecheckout # timeout=10 20:31:22 > git checkout -f 4e85caa7e6f0a85cecaa2146376481bd94b29c2d # timeout=10 20:31:23 ec43610c2a17: Pull complete 20:31:23 3a2ae6a8a46f: Pull complete 20:31:23 33b1e0a273af: Pull complete 20:31:23 5d3b04190fa2: Pull complete 20:31:26 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" 20:31:26 First time build. Skipping changelog. 20:31:26 20:31:26 GitHub has been notified of this commit’s build result 20:31:26 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:26 > git rev-list --no-walk 490ec91365a46f83fcdec54621aa1d72869771a3 # timeout=10 20:31:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:31:27 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:27 Dload Upload Total Spent Left Speed 20:31:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 20:31:27 2f39f015ded8: Pull complete 20:31:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:31:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:28 prd-ubuntu20.04-docker-8c-8g-1363 does not seem to be running inside a container 20:31:28 $ 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:31:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 20:31:34 $ docker top 21762e3166d3ee016fb1609e752db624da61d6ce524e8d8b134d6b6515d18ddd -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 20:31:35 + sudo tee /etc/docker/daemon.new 20:31:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:31:35 { 20:31:35 "registry-mirrors": [ 20:31:35 "https://nexus3.edgexfoundry.org:10001" 20:31:35 ], 20:31:35 "bip": "10.250.0.254/24", 20:31:35 "hosts": [ 20:31:35 "tcp://0.0.0.0:5555", 20:31:35 "unix:///var/run/docker.sock" 20:31:35 ], 20:31:35 "mtu": 1458, 20:31:35 "selinux-enabled": true, 20:31:35 "seccomp-profile": "/etc/docker/seccomp.json" 20:31:35 } [Pipeline] sh 20:31:35 ---> job-cost.sh 20:31:35 lf-activate-venv: SKIPPING 20:31:35 INFO: No Stack... 20:31:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 20:31:35 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 20:31:35 INFO: Archiving Costs [Pipeline] sh 20:31:35 + sudo service docker restart 20:31:35 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 20:31:35 + cut -d, -f6 [Pipeline] lock 20:31:36 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-8-stack-cost] 20:31:36 Resource [jenkins-edgexfoundry-device-uart-PR-20-8-stack-cost] did not exist. Created. 20:31:36 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:36 + echo total: 0.2199999988079071 [Pipeline] stash 20:31:36 Stashed 1 file(s) [Pipeline] } 20:31:36 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:31:36 $ docker stop --time=1 21762e3166d3ee016fb1609e752db624da61d6ce524e8d8b134d6b6515d18ddd 20:31:37 $ docker rm -f --volumes 21762e3166d3ee016fb1609e752db624da61d6ce524e8d8b134d6b6515d18ddd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:53 provisioning config files... 20:31:54 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/8@tmp/config7101297609334988383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:54 ---> docker-login.sh 20:31:54 nexus3.edgexfoundry.org:10001 20:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:54 Configure a credential helper to remove this warning. See 20:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:54 20:31:54 Login Succeeded 20:31:54 nexus3.edgexfoundry.org:10002 20:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:55 Configure a credential helper to remove this warning. See 20:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:55 20:31:55 Login Succeeded 20:31:55 nexus3.edgexfoundry.org:10003 20:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:55 Configure a credential helper to remove this warning. See 20:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:55 20:31:55 Login Succeeded 20:31:55 nexus3.edgexfoundry.org:10004 20:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:56 Configure a credential helper to remove this warning. See 20:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:56 20:31:56 Login Succeeded 20:31:56 docker.io 20:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:56 Configure a credential helper to remove this warning. See 20:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:56 20:31:56 Login Succeeded 20:31:56 ---> docker-login.sh ends [Pipeline] } 20:31:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:31:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:56 ========================================================= 20:31:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:31:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:31:57 Sending build context to Docker daemon 5.617MB 20:31:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:31:57 Step 2/12 : FROM ${BASE} AS builder 20:31:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:31:57 edb6bdbacee9: Pulling fs layer 20:31:57 5f9638ab2659: Pulling fs layer 20:31:57 8d51d6327a98: Pulling fs layer 20:31:57 8b374f2dd631: Pulling fs layer 20:31:57 ec14aa9079de: Pulling fs layer 20:31:57 2f466654f4bb: Pulling fs layer 20:31:57 554e91adad29: Pulling fs layer 20:31:57 8b374f2dd631: Waiting 20:31:57 ec14aa9079de: Waiting 20:31:57 2f466654f4bb: Waiting 20:31:57 554e91adad29: Waiting 20:31:57 5f9638ab2659: Download complete 20:31:57 8b374f2dd631: Verifying Checksum 20:31:57 8b374f2dd631: Download complete 20:31:57 ec14aa9079de: Verifying Checksum 20:31:57 ec14aa9079de: Download complete 20:31:57 edb6bdbacee9: Verifying Checksum 20:31:58 edb6bdbacee9: Pull complete 20:31:59 554e91adad29: Verifying Checksum 20:31:59 554e91adad29: Download complete 20:31:59 5f9638ab2659: Pull complete 20:32:00 8d51d6327a98: Verifying Checksum 20:32:00 8d51d6327a98: Download complete 20:32:00 2f466654f4bb: Download complete 20:32:12 8d51d6327a98: Pull complete 20:32:12 8b374f2dd631: Pull complete 20:32:12 ec14aa9079de: Pull complete 20:32:17 2f466654f4bb: Pull complete 20:32:20 554e91adad29: Pull complete 20:32:20 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:32:20 ---> 1e15ea492957 20:32:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:32:22 ---> Running in 9fe53e371920 20:32:22 Removing intermediate container 9fe53e371920 20:32:22 ---> ebe2699e55b7 20:32:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:32:22 ---> Running in f1a9753e4141 20:32:22 Removing intermediate container f1a9753e4141 20:32:22 ---> 5a68fb6b122a 20:32:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:32:23 ---> Running in 34b0a01e9019 20:32:23 Removing intermediate container 34b0a01e9019 20:32:23 ---> 6a25d2a2329b 20:32:23 Step 6/12 : WORKDIR /device-uart 20:32:23 ---> Running in 0c059c603ef7 20:32:23 Removing intermediate container 0c059c603ef7 20:32:23 ---> ea80e24dd851 20:32:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:23 ---> Running in e80db7a0441b 20:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:32:26 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:32:26 (2/4) Installing libedit (20221030.3.1-r0) 20:32:26 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:32:26 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:32:26 Executing busybox-1.35.0-r29.trigger 20:32:26 OK: 268 MiB in 57 packages 20:32:27 Removing intermediate container e80db7a0441b 20:32:27 ---> 75328aede3e9 20:32:27 Step 8/12 : COPY go.mod vendor* ./ 20:32:27 ---> 91221d5bc15e 20:32:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:27 ---> Running in e6e047f8ffb9 20:33:35 Removing intermediate container e6e047f8ffb9 20:33:35 ---> f68cd97a6734 20:33:35 Step 10/12 : COPY . . 20:33:35 ---> 311ffc2e3d1c 20:33:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:33:35 ---> Running in fa4f09ad5125 20:33:35 Removing intermediate container fa4f09ad5125 20:33:35 ---> 9ba0facb1539 20:33:35 Step 12/12 : RUN ${MAKE} 20:33:35 ---> Running in 9911a1602fe3 20:33:35 noop 20:33:35 Removing intermediate container 9911a1602fe3 20:33:35 ---> 104edb06d70f 20:33:35 Successfully built 104edb06d70f 20:33:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:36 + docker inspect -f . ci-base-image-arm64 20:33:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:36 prd-ubuntu20.04-docker-arm64-4c-16g-1364 does not seem to be running inside a container 20:33:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:33:37 $ docker top 3174d55f37db212a5f80307d2ed0c95e4b1cf639c3ad0b77ac438d3b08a29d88 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:38 + go version 20:33:38 go version go1.20.6 linux/arm64 [Pipeline] } 20:33:38 $ docker stop --time=1 3174d55f37db212a5f80307d2ed0c95e4b1cf639c3ad0b77ac438d3b08a29d88 20:33:39 $ docker rm -f --volumes 3174d55f37db212a5f80307d2ed0c95e4b1cf639c3ad0b77ac438d3b08a29d88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:40 + docker inspect -f . ci-base-image-arm64 20:33:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:40 prd-ubuntu20.04-docker-arm64-4c-16g-1364 does not seem to be running inside a container 20:33:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:33:41 $ docker top f668490a5d3ca7b58e2411218423b9a654f54b8e06882d7b149aefbb633dd2d8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:42 + git config --global --add safe.directory /w/workspace/device-uart/8 [Pipeline] fileExists [Pipeline] sh 20:33:42 + make test 20:33:42 go test ./... -coverprofile=coverage.out 20:34:14 ? github.com/edgexfoundry/device-uart [no test files] 20:35:51 ? github.com/edgexfoundry/device-uart/cmd [no test files] 20:35:51 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 20:35:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:35:51 go vet ./... 20:36:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:36:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:36:23 ./bin/test-attribution-txt.sh [Pipeline] echo 20:36:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:36:23 $ docker stop --time=1 f668490a5d3ca7b58e2411218423b9a654f54b8e06882d7b149aefbb633dd2d8 20:36:25 $ docker rm -f --volumes f668490a5d3ca7b58e2411218423b9a654f54b8e06882d7b149aefbb633dd2d8 [Pipeline] // withDockerContainer [Pipeline] sh 20:36:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:36:26 Warning: overwriting stash ‘coverage-report’ 20:36:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:27 + ls -al . 20:36:27 total 136 20:36:27 drwxrwxr-x 6 jenkins jenkins 4096 Jul 17 20:33 . 20:36:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 20:31 .. 20:36:27 -rw-rw-r-- 1 jenkins jenkins 140 Jul 17 20:31 .dockerignore 20:36:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:31 .git 20:36:27 -rw-rw-r-- 1 jenkins jenkins 343 Jul 17 20:31 .gitignore 20:36:27 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 20:31 .golangci.yml 20:36:27 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 17 20:31 Attribution.txt 20:36:27 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 17 20:31 Dockerfile 20:36:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 20:31 GOVERNANCE.md 20:36:27 -rw-rw-r-- 1 jenkins jenkins 675 Jul 17 20:31 Jenkinsfile 20:36:27 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 17 20:31 LICENSE 20:36:27 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 17 20:31 Makefile 20:36:27 -rw-rw-r-- 1 jenkins jenkins 617 Jul 17 20:31 OWNERS.md 20:36:27 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 17 20:31 README.md 20:36:27 -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 20:29 VERSION 20:36:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 20:31 bin 20:36:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:31 cmd 20:36:27 -rw-r--r-- 1 jenkins jenkins 10 Jul 17 20:33 coverage.out 20:36:27 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 17 20:31 go.mod 20:36:27 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 17 20:31 go.sum 20:36:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:31 internal 20:36:27 -rw-rw-r-- 1 jenkins jenkins 209 Jul 17 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:28 + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4e85caa7e6f0a85cecaa2146376481bd94b29c2d --label arch=arm64 --label version=0.0.0 . 20:36:28 Sending build context to Docker daemon 5.618MB 20:36:28 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:36:28 Step 2/25 : FROM ${BASE} AS builder 20:36:28 ---> 104edb06d70f 20:36:28 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:36:28 ---> Running in 174e95f164a4 20:36:30 Removing intermediate container 174e95f164a4 20:36:30 ---> 4093c7865c3d 20:36:30 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:36:30 ---> Running in 98ece4ff1073 20:36:30 Removing intermediate container 98ece4ff1073 20:36:30 ---> a6354d6539a6 20:36:30 Step 5/25 : ARG ADD_BUILD_TAGS="" 20:36:30 ---> Running in 2a0ac79df225 20:36:30 Removing intermediate container 2a0ac79df225 20:36:30 ---> 6bfd152a9ef9 20:36:30 Step 6/25 : WORKDIR /device-uart 20:36:30 ---> Running in 21130884b102 20:36:32 Removing intermediate container 21130884b102 20:36:32 ---> dbe02c0a1878 20:36:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:32 ---> Running in de95b9d1245f 20:36:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:36:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:36:35 OK: 268 MiB in 57 packages 20:36:37 Removing intermediate container de95b9d1245f 20:36:37 ---> 6f91b7aed16f 20:36:37 Step 8/25 : COPY go.mod vendor* ./ 20:36:38 ---> e336c6113a5b 20:36:38 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:38 ---> Running in 0473115af71c 20:36:41 Removing intermediate container 0473115af71c 20:36:41 ---> 503229c8e8b1 20:36:41 Step 10/25 : COPY . . 20:36:42 ---> a9d28485126e 20:36:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:36:42 ---> Running in 5f555df97dec 20:36:42 Removing intermediate container 5f555df97dec 20:36:42 ---> 0eba419dca64 20:36:42 Step 12/25 : RUN ${MAKE} 20:36:42 ---> Running in 0e972a6dde8d 20:36:43 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:38:50 Removing intermediate container 0e972a6dde8d 20:38:50 ---> e0169c76d56e 20:38:50 Step 13/25 : FROM alpine:3.17 20:38:50 3.17: Pulling from library/alpine 20:38:50 edb6bdbacee9: Already exists 20:38:50 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:38:50 Status: Downloaded newer image for alpine:3.17 20:38:50 ---> 779605e5fbc0 20:38:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:38:50 ---> Running in 4be3d5249e1d 20:38:50 Removing intermediate container 4be3d5249e1d 20:38:50 ---> 3fa94f8062eb 20:38:50 Step 15/25 : RUN apk add --update --no-cache dumb-init 20:38:50 ---> Running in 87bb93f2cbe1 20:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:38:50 (1/1) Installing dumb-init (1.2.5-r2) 20:38:50 Executing busybox-1.35.0-r29.trigger 20:38:50 OK: 8 MiB in 16 packages 20:38:50 Removing intermediate container 87bb93f2cbe1 20:38:50 ---> 656b8e71e9e8 20:38:50 Step 16/25 : WORKDIR / 20:38:50 ---> Running in 90cb3cb7a1a8 20:38:50 Removing intermediate container 90cb3cb7a1a8 20:38:50 ---> 95bbbdb67225 20:38:50 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 20:38:50 ---> b857b9231ce7 20:38:50 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 20:38:50 ---> d548a0fac9d7 20:38:50 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 20:38:50 ---> 0b57cb830402 20:38:50 Step 20/25 : EXPOSE 59995 20:38:50 ---> Running in c0c2e86b5d2f 20:38:50 Removing intermediate container c0c2e86b5d2f 20:38:50 ---> 732fcf1033ce 20:38:50 Step 21/25 : ENTRYPOINT ["/device-uart"] 20:38:50 ---> Running in 71735aecd827 20:38:50 Removing intermediate container 71735aecd827 20:38:50 ---> 78866b5494f8 20:38:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:38:50 ---> Running in 99358f3b95a4 20:38:50 Removing intermediate container 99358f3b95a4 20:38:50 ---> fb99d4431561 20:38:50 Step 23/25 : LABEL arch=arm64 20:38:50 ---> Running in 819f454555a3 20:38:50 Removing intermediate container 819f454555a3 20:38:50 ---> a275bfdec4cd 20:38:50 Step 24/25 : LABEL git_sha=4e85caa7e6f0a85cecaa2146376481bd94b29c2d 20:38:50 ---> Running in 67a45831df9e 20:38:50 Removing intermediate container 67a45831df9e 20:38:50 ---> 67745f7717c2 20:38:50 Step 25/25 : LABEL version=0.0.0 20:38:50 ---> Running in 14f5c624af8e 20:38:51 Removing intermediate container 14f5c624af8e 20:38:51 ---> 0a30848fe79e 20:38:51 [Warning] One or more build-args [ARCH] were not consumed 20:38:51 Successfully built 0a30848fe79e 20:38:51 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:51 20:38:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:51 arm64: Pulling from edgex-lftools-log-publisher 20:38:51 8998bd30e6a1: Pulling fs layer 20:38:51 04944245beec: Pulling fs layer 20:38:51 699f458cf7ca: Pulling fs layer 20:38:51 765212b225bb: Pulling fs layer 20:38:51 f23df028b6ca: Pulling fs layer 20:38:51 d65c8cfc05b1: Pulling fs layer 20:38:51 2437ff75d9bd: Pulling fs layer 20:38:51 765212b225bb: Waiting 20:38:51 f23df028b6ca: Waiting 20:38:51 d65c8cfc05b1: Waiting 20:38:51 2437ff75d9bd: Waiting 20:38:52 04944245beec: Verifying Checksum 20:38:52 04944245beec: Download complete 20:38:52 765212b225bb: Verifying Checksum 20:38:52 765212b225bb: Download complete 20:38:52 f23df028b6ca: Verifying Checksum 20:38:52 f23df028b6ca: Download complete 20:38:52 d65c8cfc05b1: Verifying Checksum 20:38:52 d65c8cfc05b1: Download complete 20:38:52 699f458cf7ca: Verifying Checksum 20:38:52 699f458cf7ca: Download complete 20:38:52 8998bd30e6a1: Download complete 20:38:54 2437ff75d9bd: Download complete 20:38:56 8998bd30e6a1: Pull complete 20:38:56 04944245beec: Pull complete 20:38:58 699f458cf7ca: Pull complete 20:38:58 765212b225bb: Pull complete 20:39:00 f23df028b6ca: Pull complete 20:39:00 d65c8cfc05b1: Pull complete 20:39:15 2437ff75d9bd: Pull complete 20:39:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:39:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:15 prd-ubuntu20.04-docker-arm64-4c-16g-1364 does not seem to be running inside a container 20:39:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:39:17 $ docker top 1bff7368ff9e661918523305a20a85fa255113f0b493bcc167b4dc0c99e51b77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:18 ---> job-cost.sh 20:39:18 lf-activate-venv: SKIPPING 20:39:18 INFO: No Stack... 20:39:18 INFO: Retrieving Pricing Info for: v3-standard-4 20:39:19 INFO: Archiving Costs [Pipeline] sh 20:39:20 + cat /w/workspace/device-uart/8/archives/cost.csv 20:39:20 + cut -d, -f6 [Pipeline] lock 20:39:20 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-8-stack-cost] 20:39:20 Resource [jenkins-edgexfoundry-device-uart-PR-20-8-stack-cost] did not exist. Created. 20:39:20 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:39:20 /w/workspace/device-uart/8@tmp/durable-255f8b23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:39:20 + echo total: 0.10999999940395355 [Pipeline] stash 20:39:20 Warning: overwriting stash ‘stack-cost’ 20:39:20 Stashed 1 file(s) [Pipeline] } 20:39:20 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:39:20 $ docker stop --time=1 1bff7368ff9e661918523305a20a85fa255113f0b493bcc167b4dc0c99e51b77 20:39:22 $ docker rm -f --volumes 1bff7368ff9e661918523305a20a85fa255113f0b493bcc167b4dc0c99e51b77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:39:22 provisioning config files... 20:39:22 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config13163525562298938792tmp [Pipeline] { [Pipeline] sh 20:39:23 + set +x 20:39:23 + curl -s https://codecov.io/bash 20:39:23 + bash -s -- 20:39:23 20:39:23 _____ _ 20:39:23 / ____| | | 20:39:23 | | ___ __| | ___ ___ _____ __ 20:39:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:39:23 | |___| (_) | (_| | __/ (_| (_) \ V / 20:39:23 \_____\___/ \__,_|\___|\___\___/ \_/ 20:39:23 Bash-1.0.6 20:39:23 20:39:23 20:39:23 ==> git version 2.25.1 found 20:39:23 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:39:23 Release-Date: 2020-01-08 20:39:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:39:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:39:23 ==> Jenkins CI detected. 20:39:23 current dir:  /w/workspace/edgexfoundry_device-uart_PR-20 20:39:23 project root: . 20:39:23 --> token set from env 20:39:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:39:23 ==> Running gcov in . (disable via -X gcov) 20:39:23 ==> Python coveragepy not found 20:39:23 ==> Searching for coverage reports in: 20:39:23 + . 20:39:23 -> Found 1 reports 20:39:23 ==> Detecting git/mercurial file structure 20:39:23 ==> Reading reports 20:39:23 + ./coverage.out bytes=10 20:39:23 ==> Appending adjustments 20:39:23 https://docs.codecov.io/docs/fixing-reports 20:39:23 + Found adjustments 20:39:23 ==> Gzipping contents 20:39:23 4.0K /tmp/codecov.Cs0Ooc.gz 20:39:23 ==> Uploading reports 20:39:23 url: https://codecov.io 20:39:23 query: branch=PR-20&commit=5d48089f5b171a054c30772ca6ea6008368bb244&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-20%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=20&job=&cmd_args= 20:39:23 -> Pinging Codecov 20:39:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-20&commit=5d48089f5b171a054c30772ca6ea6008368bb244&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-20%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=20&job=&cmd_args= 20:39:23 -> Uploading to 20:39:23 https://storage.googleapis.com/codecov/v4/raw/2023-07-17/B9AA6E0BBD74AE3A32605C7A7C664919/5d48089f5b171a054c30772ca6ea6008368bb244/53ea72e3-aeaf-434b-84a3-40a40724f18d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230717%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230717T203923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9dbef88cb9b2e69c358853824546c4717d70a035a4bf6f26eb3b5f9452b095af 20:39:23 % Total % Received % Xferd Average Speed Time Time Time Current 20:39:23 Dload Upload Total Spent Left Speed 20:39:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 607 0 0 100 607 0 2836 --:--:-- --:--:-- --:--:-- 2836 20:39:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/5d48089f5b171a054c30772ca6ea6008368bb244 [Pipeline] } 20:39:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:39:24 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 20:39:24 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:39:24 total 16 20:39:24 drwxr-xr-x 3 root root 4096 Jul 17 20:31 . 20:39:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:31 .. 20:39:24 drwxr-xr-x 2 root root 4096 Jul 17 20:31 cost 20:39:24 -rw-r--r-- 1 root root 82 Jul 17 20:31 cost.csv 20:39:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:39:24 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:39:24 total 16 20:39:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 20:31 . 20:39:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:31 .. 20:39:24 drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 20:31 cost 20:39:24 -rw-r--r-- 1 jenkins jenkins 82 Jul 17 20:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:39:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:39:25 ---> package-listing.sh 20:39:25 ++ facter osfamily 20:39:25 ++ tr '[:upper:]' '[:lower:]' 20:39:25 + OS_FAMILY=debian 20:39:25 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 20:39:25 + START_PACKAGES=/tmp/packages_start.txt 20:39:25 + END_PACKAGES=/tmp/packages_end.txt 20:39:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:39:25 + PACKAGES=/tmp/packages_start.txt 20:39:25 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 20:39:25 + PACKAGES=/tmp/packages_end.txt 20:39:25 + case "${OS_FAMILY}" in 20:39:25 + dpkg -l 20:39:25 + grep '^ii' 20:39:25 + '[' -f /tmp/packages_start.txt ']' 20:39:25 + '[' -f /tmp/packages_end.txt ']' 20:39:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:39:25 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 20:39:25 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 20:39:25 + 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:39:25 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:39:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:26 prd-ubuntu20.04-docker-8c-8g-1363 does not seem to be running inside a container 20:39:26 $ 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:39:26 $ docker top e5f6b8f7bf4ad322d5f1283cd24ae14193794580b4a3c54a87a8f6e1d182f956 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:27 + touch /tmp/pre-build-complete [Pipeline] sh 20:39:27 + mkdir -p /var/log/sysstat [Pipeline] sh 20:39:27 + ls /var/log/sa-host 20:39:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:27 provisioning config files... 20:39:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config12048528502620117118tmp [Pipeline] { [Pipeline] echo 20:39:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:39:28 ---> create-netrc.sh [Pipeline] } 20:39:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:39:28 ---> python-tools-install.sh [Pipeline] echo 20:39:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:39:28 ---> sudo-logs.sh 20:39:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:39:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:39:29 ---> job-cost.sh 20:39:29 lf-activate-venv: SKIPPING 20:39:29 DEBUG: total: 0.2199999988079071 20:39:29 INFO: Retrieving Stack Cost... 20:39:29 INFO: Retrieving Pricing Info for: v3-standard-8 20:39:29 INFO: Archiving Costs [Pipeline] echo 20:39:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:39:30 ---> logs-deploy.sh 20:39:30 lf-activate-venv: SKIPPING 20:39:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/8 20:39:30 INFO: archiving workspace using pattern(s): 20:39:31 Archives upload complete. 20:39:31 INFO: archiving logs to Nexus