Branch indexing 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 lenny-intel for edgexfoundry/device-uart Obtained Jenkinsfile from 961b04c484ae7ee32964ea9c521ab6f71bf778fb+6d5f1c8d2b72bd1bb6aa96519506cac16cf89373 (b3f5c00269b55954fd601558b2bd877db71065fb) 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-ssh3956185187464052005.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-ssh11075613445533849983.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-17/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-17/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3906300447145024874.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-ssh2047773241408375633.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-17/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-17/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8240903863163464843.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-980’ Running on prd-ubuntu20.04-docker-8c-8g-983 in /w/workspace/edgexfoundry_device-uart_PR-17 [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-17 # 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/17/head:refs/remotes/origin/PR-17 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6d5f1c8d2b72bd1bb6aa96519506cac16cf89373 into PR head commit 961b04c484ae7ee32964ea9c521ab6f71bf778fb Merge succeeded, producing c612d7840e74a4d33a76afc104744cf157e5b516 Checking out Revision c612d7840e74a4d33a76afc104744cf157e5b516 (PR-17) > git config core.sparsecheckout # timeout=10 > git checkout -f 961b04c484ae7ee32964ea9c521ab6f71bf778fb # 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 6d5f1c8d2b72bd1bb6aa96519506cac16cf89373 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c612d7840e74a4d33a76afc104744cf157e5b516 # timeout=10 Commit message: "Merge commit '6d5f1c8d2b72bd1bb6aa96519506cac16cf89373' into HEAD" > git rev-list --no-walk 961b04c484ae7ee32964ea9c521ab6f71bf778fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:04:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:04:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:04:23 ========================================================= 21:04:23 EdgeX Global Pipelines Version Info 21:04:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:04:24 ------------------- 21:04:24 stable info: 21:04:24 ------------------- 21:04:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:04:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:04:24 Message: update stable to v1.0.250 21:04:25 ------------------- 21:04:25 experimental info: 21:04:25 ------------------- 21:04:25 Commited By: **** collab-it+edgex@linuxfoundation.org 21:04:25 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:04:25 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-17 [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-17 [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-17 [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c612d7840e74a4d33a76afc104744cf157e5b516 [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c612d78 [Pipeline] echo 21:04:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:25 provisioning config files... 21:04:25 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-17@tmp/config6859404078220171520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:26 ---> docker-login.sh 21:04:26 nexus3.edgexfoundry.org:10001 21:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:26 Configure a credential helper to remove this warning. See 21:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:26 21:04:26 Login Succeeded 21:04:26 nexus3.edgexfoundry.org:10002 21:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:26 Configure a credential helper to remove this warning. See 21:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:26 21:04:26 Login Succeeded 21:04:26 nexus3.edgexfoundry.org:10003 21:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:26 Configure a credential helper to remove this warning. See 21:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:26 21:04:26 Login Succeeded 21:04:26 nexus3.edgexfoundry.org:10004 21:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:27 Configure a credential helper to remove this warning. See 21:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:27 21:04:27 Login Succeeded 21:04:27 docker.io 21:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:27 Configure a credential helper to remove this warning. See 21:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:27 21:04:27 Login Succeeded 21:04:27 ---> docker-login.sh ends [Pipeline] } 21:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:04:27 + git rev-list -1 --merges c612d7840e74a4d33a76afc104744cf157e5b516~1..c612d7840e74a4d33a76afc104744cf157e5b516 [Pipeline] echo 21:04:27 -----------> git rev-list -1 --merges c612d7840e74a4d33a76afc104744cf157e5b516~1..c612d7840e74a4d33a76afc104744cf157e5b516 c612d7840e74a4d33a76afc104744cf157e5b516 21:04:27 c612d7840e74a4d33a76afc104744cf157e5b516 [false] [Pipeline] sh 21:04:28 + git log --format=format:%s -1 c612d7840e74a4d33a76afc104744cf157e5b516 [Pipeline] echo 21:04:28 ========================================================= 21:04:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:04:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:28 + git log --format=format:%s -1 c612d7840e74a4d33a76afc104744cf157e5b516 [Pipeline] echo 21:04:28 [semverPrep] GIT_COMMIT: c612d7840e74a4d33a76afc104744cf157e5b516, Commit Message: Merge commit '6d5f1c8d2b72bd1bb6aa96519506cac16cf89373' into HEAD [Pipeline] echo 21:04:28 [semverPrep] This is not a build commit. [Pipeline] sh 21:04:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:28 + grep -v github /etc/ssh/ssh_known_hosts 21:04:28 + [ -e /tmp/ssh_known_hosts ] 21:04:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:04:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:04:28 + sudo tee -a /etc/ssh/ssh_known_hosts 21:04:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:29 21:04:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:29 0.1.4: Pulling from edgex-devops/py-git-semver 21:04:29 b85a868b505f: Pulling fs layer 21:04:29 e2be974225ed: Pulling fs layer 21:04:29 339a4e72a1f5: Pulling fs layer 21:04:29 988bab9f4d93: Pulling fs layer 21:04:29 1469e6f7b9e6: Pulling fs layer 21:04:29 eaf3925da568: Pulling fs layer 21:04:29 bab4dde63d76: Pulling fs layer 21:04:29 bde34c3a00c8: Pulling fs layer 21:04:29 b352a97aabf1: Pulling fs layer 21:04:29 4872d77fe225: Pulling fs layer 21:04:29 5851b861e8e6: Pulling fs layer 21:04:29 1469e6f7b9e6: Waiting 21:04:29 eaf3925da568: Waiting 21:04:29 bab4dde63d76: Waiting 21:04:29 bde34c3a00c8: Waiting 21:04:29 b352a97aabf1: Waiting 21:04:29 4872d77fe225: Waiting 21:04:29 5851b861e8e6: Waiting 21:04:29 988bab9f4d93: Waiting 21:04:29 e2be974225ed: Verifying Checksum 21:04:29 e2be974225ed: Download complete 21:04:29 988bab9f4d93: Verifying Checksum 21:04:29 988bab9f4d93: Download complete 21:04:29 1469e6f7b9e6: Verifying Checksum 21:04:29 1469e6f7b9e6: Download complete 21:04:29 eaf3925da568: Verifying Checksum 21:04:29 eaf3925da568: Download complete 21:04:29 339a4e72a1f5: Verifying Checksum 21:04:29 339a4e72a1f5: Download complete 21:04:29 bde34c3a00c8: Download complete 21:04:29 b352a97aabf1: Verifying Checksum 21:04:29 4872d77fe225: Verifying Checksum 21:04:29 4872d77fe225: Download complete 21:04:29 5851b861e8e6: Verifying Checksum 21:04:29 5851b861e8e6: Download complete 21:04:29 b85a868b505f: Download complete 21:04:29 bab4dde63d76: Verifying Checksum 21:04:29 bab4dde63d76: Download complete 21:04:30 b85a868b505f: Pull complete 21:04:31 e2be974225ed: Pull complete 21:04:31 339a4e72a1f5: Pull complete 21:04:31 988bab9f4d93: Pull complete 21:04:31 1469e6f7b9e6: Pull complete 21:04:31 eaf3925da568: Pull complete 21:04:33 bab4dde63d76: Pull complete 21:04:33 bde34c3a00c8: Pull complete 21:04:33 b352a97aabf1: Pull complete 21:04:33 4872d77fe225: Pull complete 21:04:33 5851b861e8e6: Pull complete 21:04:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:33 prd-ubuntu20.04-docker-8c-8g-983 does not seem to be running inside a container 21:04:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:04:36 $ docker top 45d7af4bb309fa119f714e8bd482de5bbe6727255d060326ab909b853b66ee6a -eo pid,comm 21:04:36 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). 21:04:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:36 [ssh-agent] Looking for ssh-agent implementation... 21:04:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:36 $ docker exec 45d7af4bb309fa119f714e8bd482de5bbe6727255d060326ab909b853b66ee6a ssh-agent 21:04:36 SSH_AUTH_SOCK=/tmp/ssh-Ic3lQlATyAo1/agent.31 21:04:36 SSH_AGENT_PID=37 21:04:36 Running ssh-add (command line suppressed) 21:04:36 Identity added: /w/workspace/edgexfoundry_device-uart_PR-17@tmp/private_key_17190540747974905594.key (/w/workspace/edgexfoundry_device-uart_PR-17@tmp/private_key_17190540747974905594.key) 21:04:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:37 + git tag --points-at HEAD [Pipeline] } 21:04:37 $ docker exec --env ******** --env ******** 45d7af4bb309fa119f714e8bd482de5bbe6727255d060326ab909b853b66ee6a ssh-agent -k 21:04:37 unset SSH_AUTH_SOCK; 21:04:37 unset SSH_AGENT_PID; 21:04:37 echo Agent pid 37 killed; 21:04:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:04:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:37 [ssh-agent] Looking for ssh-agent implementation... 21:04:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:37 $ docker exec 45d7af4bb309fa119f714e8bd482de5bbe6727255d060326ab909b853b66ee6a ssh-agent 21:04:37 SSH_AUTH_SOCK=/tmp/ssh-xHTGOzzss1U3/agent.69 21:04:37 SSH_AGENT_PID=75 21:04:37 Running ssh-add (command line suppressed) 21:04:37 Identity added: /w/workspace/edgexfoundry_device-uart_PR-17@tmp/private_key_1744317961301293000.key (/w/workspace/edgexfoundry_device-uart_PR-17@tmp/private_key_1744317961301293000.key) 21:04:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:37 + git semver init 21:04:38 2023-07-12 21:04:38,096 [run_init] DEBUG init version:0.0.0 force:False 21:04:38 2023-07-12 21:04:38,097 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-17/.semver 21:04:38 2023-07-12 21:04:38,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-17/.semver 21:04:38 2023-07-12 21:04:38,098 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-17/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-17, universal_newlines=False, shell=None, istream=None) 21:04:39 2023-07-12 21:04:38,980 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-17/.git/info/exclude 21:04:39 2023-07-12 21:04:38,981 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-17/.semver/PR-17 with force:False 21:04:39 2023-07-12 21:04:38,981 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-17/.semver/PR-17 21:04:39 2023-07-12 21:04:38,986 [execute] INFO git cat-file --batch-check 21:04:39 2023-07-12 21:04:38,987 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-17/.semver, universal_newlines=False, shell=None, istream=) 21:04:39 2023-07-12 21:04:38,995 [execute] INFO git cat-file --batch 21:04:39 2023-07-12 21:04:38,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-17/.semver, universal_newlines=False, shell=None, istream=) 21:04:39 2023-07-12 21:04:39,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-17/.semver/PR-17 21:04:39 0.0.0 [Pipeline] } 21:04:39 $ docker exec --env ******** --env ******** 45d7af4bb309fa119f714e8bd482de5bbe6727255d060326ab909b853b66ee6a ssh-agent -k 21:04:39 unset SSH_AUTH_SOCK; 21:04:39 unset SSH_AGENT_PID; 21:04:39 echo Agent pid 75 killed; 21:04:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:39 + git semver [Pipeline] } 21:04:39 $ docker stop --time=1 45d7af4bb309fa119f714e8bd482de5bbe6727255d060326ab909b853b66ee6a 21:04:41 $ docker rm -f --volumes 45d7af4bb309fa119f714e8bd482de5bbe6727255d060326ab909b853b66ee6a [Pipeline] // withDockerContainer [Pipeline] sh 21:04:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:04:41 Stashed 1 file(s) [Pipeline] echo 21:04:41 [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 21:04:41 provisioning config files... 21:04:41 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-17@tmp/config25176672174526994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:42 ---> docker-login.sh 21:04:42 nexus3.edgexfoundry.org:10001 21:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:42 Configure a credential helper to remove this warning. See 21:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:42 21:04:42 Login Succeeded 21:04:42 nexus3.edgexfoundry.org:10002 21:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:42 Configure a credential helper to remove this warning. See 21:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:42 21:04:42 Login Succeeded 21:04:42 nexus3.edgexfoundry.org:10003 21:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:42 Configure a credential helper to remove this warning. See 21:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:42 21:04:42 Login Succeeded 21:04:42 nexus3.edgexfoundry.org:10004 21:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:42 Configure a credential helper to remove this warning. See 21:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:42 21:04:42 Login Succeeded 21:04:42 docker.io 21:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:42 Configure a credential helper to remove this warning. See 21:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:42 21:04:42 Login Succeeded 21:04:42 ---> docker-login.sh ends [Pipeline] } 21:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:42 ========================================================= 21:04:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:04:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:43 + 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 . 21:04:43 Sending build context to Docker daemon 11.1MB 21:04:43 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:04:43 Step 2/12 : FROM ${BASE} AS builder 21:04:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:04:43 4db1b89c0bd1: Pulling fs layer 21:04:43 6911f1a30b25: Pulling fs layer 21:04:43 e194b8c5c2a9: Pulling fs layer 21:04:43 6863d3e3a2b1: Pulling fs layer 21:04:43 ec0bb842ea78: Pulling fs layer 21:04:43 40a00589a448: Pulling fs layer 21:04:43 6c08303d61cc: Pulling fs layer 21:04:43 798269fcf238: Pulling fs layer 21:04:43 6863d3e3a2b1: Waiting 21:04:43 ec0bb842ea78: Waiting 21:04:43 40a00589a448: Waiting 21:04:43 798269fcf238: Waiting 21:04:43 6c08303d61cc: Waiting 21:04:43 6911f1a30b25: Verifying Checksum 21:04:43 6911f1a30b25: Download complete 21:04:43 6863d3e3a2b1: Verifying Checksum 21:04:43 6863d3e3a2b1: Download complete 21:04:43 ec0bb842ea78: Verifying Checksum 21:04:43 ec0bb842ea78: Download complete 21:04:43 4db1b89c0bd1: Verifying Checksum 21:04:43 4db1b89c0bd1: Download complete 21:04:43 40a00589a448: Verifying Checksum 21:04:43 40a00589a448: Download complete 21:04:43 4db1b89c0bd1: Pull complete 21:04:43 6911f1a30b25: Pull complete 21:04:43 798269fcf238: Verifying Checksum 21:04:43 798269fcf238: Download complete 21:04:43 e194b8c5c2a9: Download complete 21:04:44 6c08303d61cc: Verifying Checksum 21:04:44 6c08303d61cc: Download complete 21:04:47 e194b8c5c2a9: Pull complete 21:04:47 6863d3e3a2b1: Pull complete 21:04:47 ec0bb842ea78: Pull complete 21:04:47 40a00589a448: Pull complete 21:04:49 6c08303d61cc: Pull complete 21:04:50 798269fcf238: Pull complete 21:04:50 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:04:50 ---> ec979cd7f677 21:04:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:04:55 ---> Running in 1ec2ddd07e03 21:04:55 Removing intermediate container 1ec2ddd07e03 21:04:55 ---> 08b33fa1bb75 21:04:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:04:55 ---> Running in 12931885c2e8 21:04:55 Removing intermediate container 12931885c2e8 21:04:55 ---> 669aa64cbc3f 21:04:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:04:55 ---> Running in 6ff409519f80 21:04:56 Removing intermediate container 6ff409519f80 21:04:56 ---> e62bbcead23c 21:04:56 Step 6/12 : WORKDIR /device-uart 21:04:56 ---> Running in 670f3cf0a518 21:04:56 Removing intermediate container 670f3cf0a518 21:04:56 ---> 405f84e7f121 21:04:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:56 ---> Running in 473f57e99ad8 21:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:04:56 Still waiting to schedule task 21:04:56 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-981’ 21:04:56 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:04:56 (2/4) Installing libedit (20221030.3.1-r0) 21:04:56 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:04:56 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:04:56 Executing busybox-1.35.0-r29.trigger 21:04:56 OK: 269 MiB in 57 packages 21:04:57 Removing intermediate container 473f57e99ad8 21:04:57 ---> 1915acf95eb8 21:04:57 Step 8/12 : COPY go.mod vendor* ./ 21:04:57 ---> bbf91b4b10c1 21:04:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:57 ---> Running in 19640d0feea2 21:05:36 Removing intermediate container 19640d0feea2 21:05:36 ---> cebdeaed1011 21:05:36 Step 10/12 : COPY . . 21:05:36 ---> 01aa18d58482 21:05:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:36 ---> Running in 15aacc61bdc6 21:05:36 Removing intermediate container 15aacc61bdc6 21:05:36 ---> 0c661ecc21d5 21:05:36 Step 12/12 : RUN ${MAKE} 21:05:36 ---> Running in df3ac82c99e7 21:05:36 noop 21:05:36 Removing intermediate container df3ac82c99e7 21:05:36 ---> 9860235b4901 21:05:36 Successfully built 9860235b4901 21:05:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:36 + docker inspect -f . ci-base-image-x86_64 21:05:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:36 prd-ubuntu20.04-docker-8c-8g-983 does not seem to be running inside a container 21:05:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@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 ******** -e ******** ci-base-image-x86_64 cat 21:05:36 $ docker top be678a8894afcf2510adf88ad7ce8d914d7b76130baa107ac2f77e93f1fac3b5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:37 + go version 21:05:37 go version go1.20.6 linux/amd64 [Pipeline] } 21:05:37 $ docker stop --time=1 be678a8894afcf2510adf88ad7ce8d914d7b76130baa107ac2f77e93f1fac3b5 21:05:38 $ docker rm -f --volumes be678a8894afcf2510adf88ad7ce8d914d7b76130baa107ac2f77e93f1fac3b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:38 + docker inspect -f . ci-base-image-x86_64 21:05:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:38 prd-ubuntu20.04-docker-8c-8g-983 does not seem to be running inside a container 21:05:39 $ 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-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@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 ******** -e ******** ci-base-image-x86_64 cat 21:05:39 $ docker top ed30b3bef005f2e9efdca14eaa1debc7d4189f7bad66aa91c1ecbe82a0dda2a8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-17 [Pipeline] fileExists [Pipeline] sh 21:05:39 + make test 21:05:39 go test ./... -coverprofile=coverage.out 21:05:45 ? github.com/edgexfoundry/device-uart [no test files] 21:05:55 ? github.com/edgexfoundry/device-uart/cmd [no test files] 21:05:55 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 21:06:00 go vet ./... 21:06:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:04 ./bin/test-attribution-txt.sh [Pipeline] echo 21:06:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:04 $ docker stop --time=1 ed30b3bef005f2e9efdca14eaa1debc7d4189f7bad66aa91c1ecbe82a0dda2a8 21:06:07 $ docker rm -f --volumes ed30b3bef005f2e9efdca14eaa1debc7d4189f7bad66aa91c1ecbe82a0dda2a8 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:06:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:09 + ls -al . 21:06:09 total 140 21:06:09 drwxrwxr-x 7 jenkins jenkins 4096 Jul 12 21:05 . 21:06:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:04 .. 21:06:09 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 21:04 .dockerignore 21:06:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:04 .git 21:06:09 -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 21:04 .gitignore 21:06:09 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:04 .golangci.yml 21:06:09 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:04 .semver 21:06:09 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 12 21:04 Attribution.txt 21:06:09 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 12 21:04 Dockerfile 21:06:09 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:04 GOVERNANCE.md 21:06:09 -rw-rw-r-- 1 jenkins jenkins 675 Jul 12 21:04 Jenkinsfile 21:06:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:04 LICENSE 21:06:09 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 12 21:04 Makefile 21:06:09 -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 21:04 OWNERS.md 21:06:09 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 12 21:04 README.md 21:06:09 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 21:04 VERSION 21:06:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:04 bin 21:06:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:04 cmd 21:06:09 -rw-r--r-- 1 jenkins jenkins 10 Jul 12 21:05 coverage.out 21:06:09 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 12 21:04 go.mod 21:06:09 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 12 21:04 go.sum 21:06:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:04 internal 21:06:09 -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 21:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:09 + 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=c612d7840e74a4d33a76afc104744cf157e5b516 --label arch=amd64 --label version=0.0.0 . 21:06:09 Sending build context to Docker daemon 11.1MB 21:06:09 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:06:09 Step 2/25 : FROM ${BASE} AS builder 21:06:09 ---> 9860235b4901 21:06:09 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:09 ---> Running in dc0bbe7ef12b 21:06:09 Removing intermediate container dc0bbe7ef12b 21:06:09 ---> e69cdf570f5f 21:06:09 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:06:09 ---> Running in 8c9bd7df9a28 21:06:09 Removing intermediate container 8c9bd7df9a28 21:06:09 ---> e8b22f18eac4 21:06:09 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:06:09 ---> Running in 9ccc602d7746 21:06:10 Removing intermediate container 9ccc602d7746 21:06:10 ---> 2beead8d15fc 21:06:10 Step 6/25 : WORKDIR /device-uart 21:06:10 ---> Running in 4e8bdad41f90 21:06:10 Removing intermediate container 4e8bdad41f90 21:06:10 ---> 914afeec4ea5 21:06:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:10 ---> Running in d22dae381e75 21:06:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:06:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:06:10 OK: 269 MiB in 57 packages 21:06:11 Removing intermediate container d22dae381e75 21:06:11 ---> 459ed5c148c1 21:06:11 Step 8/25 : COPY go.mod vendor* ./ 21:06:11 ---> dcb6701a4251 21:06:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:11 ---> Running in 8cc912caf76d 21:06:12 Removing intermediate container 8cc912caf76d 21:06:12 ---> 94e45b526bed 21:06:12 Step 10/25 : COPY . . 21:06:12 ---> 189e69f4599f 21:06:12 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:12 ---> Running in 9e98c501ce62 21:06:12 Removing intermediate container 9e98c501ce62 21:06:12 ---> c4df98e67d23 21:06:12 Step 12/25 : RUN ${MAKE} 21:06:12 ---> Running in f809a2b4fe69 21:06:12 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 21:06:30 Removing intermediate container f809a2b4fe69 21:06:30 ---> 76a8f0e0c302 21:06:30 Step 13/25 : FROM alpine:3.17 21:06:31 3.17: Pulling from library/alpine 21:06:31 4db1b89c0bd1: Already exists 21:06:31 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:06:31 Status: Downloaded newer image for alpine:3.17 21:06:31 ---> 1f73a9d63274 21:06:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:06:31 ---> Running in 03d455a91562 21:06:31 Removing intermediate container 03d455a91562 21:06:31 ---> e31985074f48 21:06:31 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:06:31 ---> Running in 2e063670bb1b 21:06:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:06:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:06:32 (1/1) Installing dumb-init (1.2.5-r2) 21:06:32 Executing busybox-1.35.0-r29.trigger 21:06:32 OK: 7 MiB in 16 packages 21:06:32 Removing intermediate container 2e063670bb1b 21:06:32 ---> facb83c44e4f 21:06:32 Step 16/25 : WORKDIR / 21:06:32 ---> Running in 5d126c38b615 21:06:32 Removing intermediate container 5d126c38b615 21:06:32 ---> a3180469a784 21:06:32 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 21:06:32 ---> afcce4fd1b28 21:06:32 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 21:06:33 ---> 1eaf00028cec 21:06:33 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 21:06:33 ---> e6d68df148aa 21:06:33 Step 20/25 : EXPOSE 59995 21:06:33 ---> Running in 0172c823521d 21:06:33 Removing intermediate container 0172c823521d 21:06:33 ---> c496c4af9f54 21:06:33 Step 21/25 : ENTRYPOINT ["/device-uart"] 21:06:33 ---> Running in d9733057d485 21:06:33 Removing intermediate container d9733057d485 21:06:33 ---> 2cb68ab68de0 21:06:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:06:34 ---> Running in 7d3473c38513 21:06:34 Removing intermediate container 7d3473c38513 21:06:34 ---> 35b207cdcf8f 21:06:34 Step 23/25 : LABEL arch=amd64 21:06:34 ---> Running in 046e9fafc8d0 21:06:34 Removing intermediate container 046e9fafc8d0 21:06:34 ---> 06a4a0e6e8b5 21:06:34 Step 24/25 : LABEL git_sha=c612d7840e74a4d33a76afc104744cf157e5b516 21:06:34 ---> Running in 6b6388a129bc 21:06:34 Removing intermediate container 6b6388a129bc 21:06:34 ---> c841d60cfced 21:06:34 Step 25/25 : LABEL version=0.0.0 21:06:34 ---> Running in 50143053b923 21:06:34 Removing intermediate container 50143053b923 21:06:34 ---> 7b3f6c89b1fb 21:06:34 [Warning] One or more build-args [ARCH] were not consumed 21:06:34 Successfully built 7b3f6c89b1fb 21:06:34 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 21:06:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:34 21:06:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:35 latest: Pulling from edgex-lftools-log-publisher 21:06:35 5eb5b503b376: Pulling fs layer 21:06:35 5c69ac0246d0: Pulling fs layer 21:06:35 ec43610c2a17: Pulling fs layer 21:06:35 3a2ae6a8a46f: Pulling fs layer 21:06:35 33b1e0a273af: Pulling fs layer 21:06:35 5d3b04190fa2: Pulling fs layer 21:06:35 2f39f015ded8: Pulling fs layer 21:06:35 3a2ae6a8a46f: Waiting 21:06:35 33b1e0a273af: Waiting 21:06:35 5d3b04190fa2: Waiting 21:06:35 2f39f015ded8: Waiting 21:06:35 5c69ac0246d0: Download complete 21:06:35 3a2ae6a8a46f: Verifying Checksum 21:06:35 3a2ae6a8a46f: Download complete 21:06:35 33b1e0a273af: Verifying Checksum 21:06:35 33b1e0a273af: Download complete 21:06:35 5d3b04190fa2: Verifying Checksum 21:06:35 5d3b04190fa2: Download complete 21:06:35 ec43610c2a17: Verifying Checksum 21:06:35 ec43610c2a17: Download complete 21:06:35 5eb5b503b376: Verifying Checksum 21:06:35 5eb5b503b376: Download complete 21:06:35 2f39f015ded8: Download complete 21:06:36 5eb5b503b376: Pull complete 21:06:36 5c69ac0246d0: Pull complete 21:06:36 ec43610c2a17: Pull complete 21:06:36 3a2ae6a8a46f: Pull complete 21:06:37 33b1e0a273af: Pull complete 21:06:37 5d3b04190fa2: Pull complete 21:06:41 2f39f015ded8: Pull complete 21:06:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:06:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:41 prd-ubuntu20.04-docker-8c-8g-983 does not seem to be running inside a container 21:06:41 $ 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-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:06:44 $ docker top 1210ac2d4b8ede7be9e9944102013ac2ead5b82f989918724866236b5de494ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:45 ---> job-cost.sh 21:06:45 lf-activate-venv: SKIPPING 21:06:45 INFO: No Stack... 21:06:45 INFO: Retrieving Pricing Info for: v3-standard-8 21:06:45 INFO: Archiving Costs [Pipeline] sh 21:06:46 + cat /w/workspace/edgexfoundry_device-uart_PR-17/archives/cost.csv 21:06:46 + cut -d, -f6 [Pipeline] lock 21:06:46 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-17-3-stack-cost] 21:06:46 Resource [jenkins-edgexfoundry-device-uart-PR-17-3-stack-cost] did not exist. Created. 21:06:46 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-17-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:46 + echo total: 0.2199999988079071 [Pipeline] stash 21:06:46 Stashed 1 file(s) [Pipeline] } 21:06:46 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-17-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:46 $ docker stop --time=1 1210ac2d4b8ede7be9e9944102013ac2ead5b82f989918724866236b5de494ae 21:06:47 $ docker rm -f --volumes 1210ac2d4b8ede7be9e9944102013ac2ead5b82f989918724866236b5de494ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:08:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-984 in /w/workspace/edgexfoundry_device-uart_PR-17 [Pipeline] { [Pipeline] ws 21:08:31 Running in /w/workspace/device-uart/3 [Pipeline] { [Pipeline] checkout 21:08:31 The recommended git tool is: git 21:08:37 using credential edgex-jenkins-ssh 21:08:37 Cloning the remote Git repository 21:08:37 Cloning repository git@github.com:edgexfoundry/device-uart.git 21:08:37 > git init /w/workspace/device-uart/3 # timeout=10 21:08:38 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 21:08:38 > git --version # timeout=10 21:08:38 > git --version # 'git version 2.25.1' 21:08:38 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:39 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 21:08:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:40 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 21:08:40 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 21:08:40 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/17/head:refs/remotes/origin/PR-17 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:08:41 Merging remotes/origin/main commit 6d5f1c8d2b72bd1bb6aa96519506cac16cf89373 into PR head commit 961b04c484ae7ee32964ea9c521ab6f71bf778fb 21:08:41 Merge succeeded, producing a93bbee82c1a977da8a133bfc6d76521ee7bc61a 21:08:41 Checking out Revision a93bbee82c1a977da8a133bfc6d76521ee7bc61a (PR-17) 21:08:41 > git config core.sparsecheckout # timeout=10 21:08:41 > git checkout -f 961b04c484ae7ee32964ea9c521ab6f71bf778fb # timeout=10 21:08:41 > git remote # timeout=10 21:08:41 > git config --get remote.origin.url # timeout=10 21:08:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:41 > git merge 6d5f1c8d2b72bd1bb6aa96519506cac16cf89373 # timeout=10 21:08:41 > git rev-parse HEAD^{commit} # timeout=10 21:08:41 > git config core.sparsecheckout # timeout=10 21:08:41 > git checkout -f a93bbee82c1a977da8a133bfc6d76521ee7bc61a # timeout=10 21:08:44 Commit message: "Merge commit '6d5f1c8d2b72bd1bb6aa96519506cac16cf89373' into HEAD" 21:08:44 > git rev-list --no-walk 961b04c484ae7ee32964ea9c521ab6f71bf778fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:45 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:45 Dload Upload Total Spent Left Speed 21:08:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 21:08:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:08:47 + sudo tee /etc/docker/daemon.new 21:08:47 { 21:08:47 "registry-mirrors": [ 21:08:47 "https://nexus3.edgexfoundry.org:10001" 21:08:47 ], 21:08:47 "bip": "10.250.0.254/24", 21:08:47 "hosts": [ 21:08:47 "tcp://0.0.0.0:5555", 21:08:47 "unix:///var/run/docker.sock" 21:08:47 ], 21:08:47 "mtu": 1458, 21:08:47 "selinux-enabled": true, 21:08:47 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:47 } [Pipeline] sh 21:08:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:06 provisioning config files... 21:09:06 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/3@tmp/config2354349888161438746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:06 ---> docker-login.sh 21:09:06 nexus3.edgexfoundry.org:10001 21:09:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:06 Configure a credential helper to remove this warning. See 21:09:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:06 21:09:06 Login Succeeded 21:09:06 nexus3.edgexfoundry.org:10002 21:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:07 Configure a credential helper to remove this warning. See 21:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:07 21:09:07 Login Succeeded 21:09:07 nexus3.edgexfoundry.org:10003 21:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:07 Configure a credential helper to remove this warning. See 21:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:07 21:09:07 Login Succeeded 21:09:07 nexus3.edgexfoundry.org:10004 21:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:08 Configure a credential helper to remove this warning. See 21:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:08 21:09:08 Login Succeeded 21:09:08 docker.io 21:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:08 Configure a credential helper to remove this warning. See 21:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:08 21:09:08 Login Succeeded 21:09:08 ---> docker-login.sh ends [Pipeline] } 21:09:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:08 ========================================================= 21:09:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:09:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:09 + 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 . 21:09:09 Sending build context to Docker daemon 5.607MB 21:09:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:09:09 Step 2/12 : FROM ${BASE} AS builder 21:09:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:09:09 edb6bdbacee9: Pulling fs layer 21:09:09 5f9638ab2659: Pulling fs layer 21:09:09 8d51d6327a98: Pulling fs layer 21:09:09 8b374f2dd631: Pulling fs layer 21:09:09 ec14aa9079de: Pulling fs layer 21:09:09 2f466654f4bb: Pulling fs layer 21:09:09 554e91adad29: Pulling fs layer 21:09:09 ec14aa9079de: Waiting 21:09:09 2f466654f4bb: Waiting 21:09:09 554e91adad29: Waiting 21:09:09 5f9638ab2659: Verifying Checksum 21:09:09 5f9638ab2659: Download complete 21:09:09 8b374f2dd631: Verifying Checksum 21:09:09 8b374f2dd631: Download complete 21:09:09 ec14aa9079de: Verifying Checksum 21:09:09 ec14aa9079de: Download complete 21:09:09 edb6bdbacee9: Verifying Checksum 21:09:10 edb6bdbacee9: Pull complete 21:09:11 554e91adad29: Verifying Checksum 21:09:11 554e91adad29: Download complete 21:09:11 5f9638ab2659: Pull complete 21:09:12 2f466654f4bb: Verifying Checksum 21:09:12 2f466654f4bb: Download complete 21:09:12 8d51d6327a98: Verifying Checksum 21:09:12 8d51d6327a98: Download complete 21:09:24 8d51d6327a98: Pull complete 21:09:24 8b374f2dd631: Pull complete 21:09:24 ec14aa9079de: Pull complete 21:09:30 2f466654f4bb: Pull complete 21:09:32 554e91adad29: Pull complete 21:09:32 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:09:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:09:32 ---> 1e15ea492957 21:09:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:09:34 ---> Running in 7005ee2be8a1 21:09:34 Removing intermediate container 7005ee2be8a1 21:09:34 ---> 888184544df8 21:09:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:09:34 ---> Running in 1b3b5d7951ed 21:09:34 Removing intermediate container 1b3b5d7951ed 21:09:34 ---> b972aa829904 21:09:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:09:34 ---> Running in 4620cea3ff29 21:09:35 Removing intermediate container 4620cea3ff29 21:09:35 ---> c8d68c502b61 21:09:35 Step 6/12 : WORKDIR /device-uart 21:09:35 ---> Running in 0c2de7f8b515 21:09:35 Removing intermediate container 0c2de7f8b515 21:09:35 ---> 896b77e9ac86 21:09:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:35 ---> Running in 3418f7d6ef6c 21:09:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:38 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:09:38 (2/4) Installing libedit (20221030.3.1-r0) 21:09:38 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:09:38 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:09:38 Executing busybox-1.35.0-r29.trigger 21:09:38 OK: 268 MiB in 57 packages 21:09:39 Removing intermediate container 3418f7d6ef6c 21:09:39 ---> ea8b6258a1eb 21:09:39 Step 8/12 : COPY go.mod vendor* ./ 21:09:40 ---> 5b511fafecae 21:09:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:40 ---> Running in a02a00202944 21:10:48 Removing intermediate container a02a00202944 21:10:48 ---> abe2c7495b7e 21:10:48 Step 10/12 : COPY . . 21:10:48 ---> 260cf2d721a9 21:10:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:48 ---> Running in 5db02e85b24e 21:10:48 Removing intermediate container 5db02e85b24e 21:10:48 ---> 44e840b0ff16 21:10:48 Step 12/12 : RUN ${MAKE} 21:10:48 ---> Running in 70c096770e78 21:10:48 noop 21:10:48 Removing intermediate container 70c096770e78 21:10:48 ---> 47da44632d70 21:10:48 Successfully built 47da44632d70 21:10:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:48 + docker inspect -f . ci-base-image-arm64 21:10:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:48 prd-ubuntu20.04-docker-arm64-4c-16g-984 does not seem to be running inside a container 21:10:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** ci-base-image-arm64 cat 21:10:50 $ docker top a1841c6d9c8a2beb0e6c41fbc8a38dfdc9fa1ae8daaf34a5a0a16d400da553c5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:50 + go version 21:10:50 go version go1.20.6 linux/arm64 [Pipeline] } 21:10:51 $ docker stop --time=1 a1841c6d9c8a2beb0e6c41fbc8a38dfdc9fa1ae8daaf34a5a0a16d400da553c5 21:10:52 $ docker rm -f --volumes a1841c6d9c8a2beb0e6c41fbc8a38dfdc9fa1ae8daaf34a5a0a16d400da553c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:53 + docker inspect -f . ci-base-image-arm64 21:10:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:53 prd-ubuntu20.04-docker-arm64-4c-16g-984 does not seem to be running inside a container 21:10:53 $ 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/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** ci-base-image-arm64 cat 21:10:54 $ docker top 19144e0bdfee1e4823c45917b96a2cf06c6e9b5f38513c706eebe06752cdcc4b -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:55 + git config --global --add safe.directory /w/workspace/device-uart/3 [Pipeline] fileExists [Pipeline] sh 21:10:56 + make test 21:10:56 go test ./... -coverprofile=coverage.out 21:11:28 ? github.com/edgexfoundry/device-uart [no test files] 21:13:20 ? github.com/edgexfoundry/device-uart/cmd [no test files] 21:13:20 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 21:13:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:13:20 go vet ./... 21:13:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:59 ./bin/test-attribution-txt.sh [Pipeline] echo 21:13:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:59 $ docker stop --time=1 19144e0bdfee1e4823c45917b96a2cf06c6e9b5f38513c706eebe06752cdcc4b 21:14:01 $ docker rm -f --volumes 19144e0bdfee1e4823c45917b96a2cf06c6e9b5f38513c706eebe06752cdcc4b [Pipeline] // withDockerContainer [Pipeline] sh 21:14:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:02 Warning: overwriting stash ‘coverage-report’ 21:14:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:04 + ls -al . 21:14:04 total 136 21:14:04 drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 21:10 . 21:14:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:08 .. 21:14:04 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 21:08 .dockerignore 21:14:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:08 .git 21:14:04 -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 21:08 .gitignore 21:14:04 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:08 .golangci.yml 21:14:04 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 12 21:08 Attribution.txt 21:14:04 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 12 21:08 Dockerfile 21:14:04 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:08 GOVERNANCE.md 21:14:04 -rw-rw-r-- 1 jenkins jenkins 675 Jul 12 21:08 Jenkinsfile 21:14:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:08 LICENSE 21:14:04 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 12 21:08 Makefile 21:14:04 -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 21:08 OWNERS.md 21:14:04 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 12 21:08 README.md 21:14:04 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 21:04 VERSION 21:14:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:08 bin 21:14:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:08 cmd 21:14:04 -rw-r--r-- 1 jenkins jenkins 10 Jul 12 21:10 coverage.out 21:14:04 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 12 21:08 go.mod 21:14:04 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 12 21:08 go.sum 21:14:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:08 internal 21:14:04 -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:04 + 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=a93bbee82c1a977da8a133bfc6d76521ee7bc61a --label arch=arm64 --label version=0.0.0 . 21:14:04 Sending build context to Docker daemon 5.608MB 21:14:04 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:14:04 Step 2/25 : FROM ${BASE} AS builder 21:14:04 ---> 47da44632d70 21:14:04 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:14:05 ---> Running in d994a751291e 21:14:05 Removing intermediate container d994a751291e 21:14:05 ---> b29fbc678359 21:14:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:14:05 ---> Running in db6abd0b80c7 21:14:05 Removing intermediate container db6abd0b80c7 21:14:05 ---> 79b7d89bcceb 21:14:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:14:05 ---> Running in b753b44bb47b 21:14:06 Removing intermediate container b753b44bb47b 21:14:06 ---> 11dafced96db 21:14:06 Step 6/25 : WORKDIR /device-uart 21:14:06 ---> Running in 8a63dc799a9c 21:14:06 Removing intermediate container 8a63dc799a9c 21:14:06 ---> d15882c6ecdd 21:14:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:06 ---> Running in 3f0f0b881d8f 21:14:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:14:09 OK: 268 MiB in 57 packages 21:14:10 Removing intermediate container 3f0f0b881d8f 21:14:10 ---> 8824fc2918ec 21:14:10 Step 8/25 : COPY go.mod vendor* ./ 21:14:10 ---> 800fecda54d0 21:14:10 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:10 ---> Running in 2988cc61f3d9 21:14:12 Removing intermediate container 2988cc61f3d9 21:14:12 ---> a95b538defe0 21:14:12 Step 10/25 : COPY . . 21:14:13 ---> 2d36f764dc68 21:14:13 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:16 ---> Running in 0d631098d2fa 21:14:16 Removing intermediate container 0d631098d2fa 21:14:16 ---> b691b9209f0b 21:14:16 Step 12/25 : RUN ${MAKE} 21:14:16 ---> Running in 60e41916757a 21:14:17 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 21:16:38 Removing intermediate container 60e41916757a 21:16:38 ---> dcca645e70de 21:16:38 Step 13/25 : FROM alpine:3.17 21:16:38 3.17: Pulling from library/alpine 21:16:38 edb6bdbacee9: Already exists 21:16:38 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:16:38 Status: Downloaded newer image for alpine:3.17 21:16:38 ---> 779605e5fbc0 21:16:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:16:38 ---> Running in d9cd0b89d4a1 21:16:38 Removing intermediate container d9cd0b89d4a1 21:16:38 ---> be1ca201fea3 21:16:38 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:16:38 ---> Running in 566444d245d1 21:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:16:38 (1/1) Installing dumb-init (1.2.5-r2) 21:16:38 Executing busybox-1.35.0-r29.trigger 21:16:38 OK: 8 MiB in 16 packages 21:16:38 Removing intermediate container 566444d245d1 21:16:38 ---> 96a1c2a20afa 21:16:38 Step 16/25 : WORKDIR / 21:16:38 ---> Running in 15485be0981c 21:16:38 Removing intermediate container 15485be0981c 21:16:38 ---> 058991e61473 21:16:38 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 21:16:38 ---> e108e0fd42c4 21:16:38 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 21:16:38 ---> 7d84ed5061b0 21:16:38 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 21:16:38 ---> 12200d5e79e7 21:16:38 Step 20/25 : EXPOSE 59995 21:16:38 ---> Running in a7a7e8e0494e 21:16:38 Removing intermediate container a7a7e8e0494e 21:16:38 ---> 70b5df9dac9f 21:16:38 Step 21/25 : ENTRYPOINT ["/device-uart"] 21:16:38 ---> Running in f6a545ea4c80 21:16:38 Removing intermediate container f6a545ea4c80 21:16:38 ---> 39c5c554f9f4 21:16:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:16:38 ---> Running in 5869ddacde57 21:16:38 Removing intermediate container 5869ddacde57 21:16:38 ---> 531f29346e6e 21:16:38 Step 23/25 : LABEL arch=arm64 21:16:38 ---> Running in 4737f66c8cab 21:16:38 Removing intermediate container 4737f66c8cab 21:16:38 ---> 8d7ac7bd4f4c 21:16:38 Step 24/25 : LABEL git_sha=a93bbee82c1a977da8a133bfc6d76521ee7bc61a 21:16:38 ---> Running in cac14dd6e23d 21:16:38 Removing intermediate container cac14dd6e23d 21:16:38 ---> 8db0c9ca06e2 21:16:38 Step 25/25 : LABEL version=0.0.0 21:16:38 ---> Running in e7c2ca0ddd39 21:16:38 Removing intermediate container e7c2ca0ddd39 21:16:38 ---> 6dc5a054d6e7 21:16:38 [Warning] One or more build-args [ARCH] were not consumed 21:16:38 Successfully built 6dc5a054d6e7 21:16:38 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 21:16:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:39 21:16:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:39 arm64: Pulling from edgex-lftools-log-publisher 21:16:39 8998bd30e6a1: Pulling fs layer 21:16:39 04944245beec: Pulling fs layer 21:16:39 699f458cf7ca: Pulling fs layer 21:16:39 765212b225bb: Pulling fs layer 21:16:39 f23df028b6ca: Pulling fs layer 21:16:39 d65c8cfc05b1: Pulling fs layer 21:16:39 2437ff75d9bd: Pulling fs layer 21:16:39 f23df028b6ca: Waiting 21:16:39 d65c8cfc05b1: Waiting 21:16:39 2437ff75d9bd: Waiting 21:16:39 765212b225bb: Waiting 21:16:40 04944245beec: Verifying Checksum 21:16:40 04944245beec: Download complete 21:16:40 765212b225bb: Verifying Checksum 21:16:40 765212b225bb: Download complete 21:16:40 f23df028b6ca: Verifying Checksum 21:16:40 f23df028b6ca: Download complete 21:16:40 d65c8cfc05b1: Verifying Checksum 21:16:40 d65c8cfc05b1: Download complete 21:16:40 699f458cf7ca: Verifying Checksum 21:16:40 699f458cf7ca: Download complete 21:16:40 8998bd30e6a1: Download complete 21:16:43 2437ff75d9bd: Verifying Checksum 21:16:43 2437ff75d9bd: Download complete 21:16:44 8998bd30e6a1: Pull complete 21:16:44 04944245beec: Pull complete 21:16:46 699f458cf7ca: Pull complete 21:16:46 765212b225bb: Pull complete 21:16:47 f23df028b6ca: Pull complete 21:16:47 d65c8cfc05b1: Pull complete 21:17:02 2437ff75d9bd: Pull complete 21:17:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:02 prd-ubuntu20.04-docker-arm64-4c-16g-984 does not seem to be running inside a container 21:17:02 $ 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/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:17:05 $ docker top 8c20caf933d7c7419d4a4b8567a762d26c43cbcaf8bdd9c0d94f0d72ab28fd35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:05 ---> job-cost.sh 21:17:06 lf-activate-venv: SKIPPING 21:17:06 INFO: No Stack... 21:17:06 INFO: Retrieving Pricing Info for: v3-standard-4 21:17:07 INFO: Archiving Costs [Pipeline] sh 21:17:07 + cut -d, -f6 21:17:07 + cat /w/workspace/device-uart/3/archives/cost.csv [Pipeline] lock 21:17:07 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-17-3-stack-cost] 21:17:07 Resource [jenkins-edgexfoundry-device-uart-PR-17-3-stack-cost] did not exist. Created. 21:17:07 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-17-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:17:08 /w/workspace/device-uart/3@tmp/durable-ef8d308a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:17:08 + echo total: 0.10999999940395355 [Pipeline] stash 21:17:08 Warning: overwriting stash ‘stack-cost’ 21:17:08 Stashed 1 file(s) [Pipeline] } 21:17:08 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-17-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:17:08 $ docker stop --time=1 8c20caf933d7c7419d4a4b8567a762d26c43cbcaf8bdd9c0d94f0d72ab28fd35 21:17:11 $ docker rm -f --volumes 8c20caf933d7c7419d4a4b8567a762d26c43cbcaf8bdd9c0d94f0d72ab28fd35 [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 21:17:11 provisioning config files... 21:17:11 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-17@tmp/config3584829688877831937tmp [Pipeline] { [Pipeline] sh 21:17:11 + set +x 21:17:11 + bash -s -- 21:17:11 + curl -s https://codecov.io/bash 21:17:11 21:17:11 _____ _ 21:17:11 / ____| | | 21:17:11 | | ___ __| | ___ ___ _____ __ 21:17:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:17:11 | |___| (_) | (_| | __/ (_| (_) \ V / 21:17:11 \_____\___/ \__,_|\___|\___\___/ \_/ 21:17:11 Bash-1.0.6 21:17:11 21:17:11 21:17:11 ==> git version 2.25.1 found 21:17:11 ==> 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 21:17:11 Release-Date: 2020-01-08 21:17:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:17:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:17:11 ==> Jenkins CI detected. 21:17:11 current dir:  /w/workspace/edgexfoundry_device-uart_PR-17 21:17:11 project root: . 21:17:11 --> token set from env 21:17:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:17:11 ==> Running gcov in . (disable via -X gcov) 21:17:11 ==> Python coveragepy not found 21:17:11 ==> Searching for coverage reports in: 21:17:11 + . 21:17:11 -> Found 1 reports 21:17:11 ==> Detecting git/mercurial file structure 21:17:12 ==> Reading reports 21:17:12 + ./coverage.out bytes=10 21:17:12 ==> Appending adjustments 21:17:12 https://docs.codecov.io/docs/fixing-reports 21:17:12 + Found adjustments 21:17:12 ==> Gzipping contents 21:17:12 4.0K /tmp/codecov.KB5vQL.gz 21:17:12 ==> Uploading reports 21:17:12 url: https://codecov.io 21:17:12 query: branch=PR-17&commit=c612d7840e74a4d33a76afc104744cf157e5b516&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-17%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=17&job=&cmd_args= 21:17:12 -> Pinging Codecov 21:17:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-17&commit=c612d7840e74a4d33a76afc104744cf157e5b516&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-17%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=17&job=&cmd_args= 21:17:12 -> Uploading to 21:17:12 https://storage.googleapis.com/codecov/v4/raw/2023-07-12/B9AA6E0BBD74AE3A32605C7A7C664919/c612d7840e74a4d33a76afc104744cf157e5b516/9112492b-a697-4668-bc1f-61a4cd68bc70.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230712T211712Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cd0a5393f8c76639bad63518fa4b7fabcc2f33886d985fc2ab9268efc3f985b 21:17:12 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:12 Dload Upload Total Spent Left Speed 21:17:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 551 0 0 100 551 0 2727 --:--:-- --:--:-- --:--:-- 2727 21:17:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/c612d7840e74a4d33a76afc104744cf157e5b516 [Pipeline] } 21:17:12 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 21:17:13 + [ -d /w/workspace/edgexfoundry_device-uart_PR-17/archives ] 21:17:13 + ls -al /w/workspace/edgexfoundry_device-uart_PR-17/archives 21:17:13 total 16 21:17:13 drwxr-xr-x 3 root root 4096 Jul 12 21:06 . 21:17:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:06 .. 21:17:13 drwxr-xr-x 2 root root 4096 Jul 12 21:06 cost 21:17:13 -rw-r--r-- 1 root root 82 Jul 12 21:06 cost.csv 21:17:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-17/archives 21:17:13 + ls -al /w/workspace/edgexfoundry_device-uart_PR-17/archives 21:17:13 total 16 21:17:13 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:06 . 21:17:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:06 .. 21:17:13 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 21:06 cost 21:17:13 -rw-r--r-- 1 jenkins jenkins 82 Jul 12 21:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:17:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:17:14 ---> package-listing.sh 21:17:14 ++ tr '[:upper:]' '[:lower:]' 21:17:14 ++ facter osfamily 21:17:14 + OS_FAMILY=debian 21:17:14 + workspace=/w/workspace/edgexfoundry_device-uart_PR-17 21:17:14 + START_PACKAGES=/tmp/packages_start.txt 21:17:14 + END_PACKAGES=/tmp/packages_end.txt 21:17:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:17:14 + PACKAGES=/tmp/packages_start.txt 21:17:14 + '[' /w/workspace/edgexfoundry_device-uart_PR-17 ']' 21:17:14 + PACKAGES=/tmp/packages_end.txt 21:17:14 + case "${OS_FAMILY}" in 21:17:14 + dpkg -l 21:17:14 + grep '^ii' 21:17:14 + '[' -f /tmp/packages_start.txt ']' 21:17:14 + '[' -f /tmp/packages_end.txt ']' 21:17:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:17:14 + '[' /w/workspace/edgexfoundry_device-uart_PR-17 ']' 21:17:14 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-17/archives/ 21:17:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-17/archives/ [Pipeline] echo 21:17:14 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-17/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:17:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:15 prd-ubuntu20.04-docker-8c-8g-983 does not seem to be running inside a container 21:17:15 $ 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-17/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-17 -v /w/workspace/edgexfoundry_device-uart_PR-17:/w/workspace/edgexfoundry_device-uart_PR-17:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-17@tmp:/w/workspace/edgexfoundry_device-uart_PR-17@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 21:17:15 $ docker top b57439bd15035f42412c337d278d92ec7402bf5d503790fa83bc42c066753a90 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:15 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:16 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:16 + ls /var/log/sa-host 21:17:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:16 provisioning config files... 21:17:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-17@tmp/config13308731796064498796tmp [Pipeline] { [Pipeline] echo 21:17:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:16 ---> create-netrc.sh [Pipeline] } 21:17:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:17 ---> python-tools-install.sh [Pipeline] echo 21:17:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:17 ---> sudo-logs.sh 21:17:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:17 ---> job-cost.sh 21:17:17 lf-activate-venv: SKIPPING 21:17:17 DEBUG: total: 0.2199999988079071 21:17:17 INFO: Retrieving Stack Cost... 21:17:18 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:18 INFO: Archiving Costs [Pipeline] echo 21:17:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:17:18 ---> logs-deploy.sh 21:17:18 lf-activate-venv: SKIPPING 21:17:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-17/3 21:17:18 INFO: archiving workspace using pattern(s): 21:17:19 Archives upload complete. 21:17:19 INFO: archiving logs to Nexus