Pull request #14 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-hcl for edgexfoundry/device-uart Loading trusted files from base branch main at 45a931a0542841c366d3c8b3b227d12dead9e8fd rather than 5115dc3e8e9c6f1474469384f920d3885243d03c Obtained Jenkinsfile from 45a931a0542841c366d3c8b3b227d12dead9e8fd Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6060260085335253247.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-ssh1518393760104267597.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17275742827172957025.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-ssh11734496872214044785.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8185090582321168078.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 Running on prd-ubuntu20.04-docker-8c-8g-173 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-14 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 5115dc3e8e9c6f1474469384f920d3885243d03c > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 5115dc3e8e9c6f1474469384f920d3885243d03c Checking out Revision 5115dc3e8e9c6f1474469384f920d3885243d03c (PR-14) > git config core.sparsecheckout # timeout=10 > git checkout -f 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 Commit message: "feat: Upgrade to V3" > git rev-list --no-walk 8503bde12078bdbf4498e7a0b1306e1e869066d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:19:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:19:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:19:01 ========================================================= 15:19:01 EdgeX Global Pipelines Version Info 15:19:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:19:02 ------------------- 15:19:02 stable info: 15:19:02 ------------------- 15:19:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:19:02 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:19:02 Message: update stable to v1.0.250 15:19:02 ------------------- 15:19:02 experimental info: 15:19:02 ------------------- 15:19:02 Commited By: **** collab-it+edgex@linuxfoundation.org 15:19:02 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:19:02 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:19:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 15:19:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 15:19:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:19:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:19:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:19:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5115dc3e8e9c6f1474469384f920d3885243d03c [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5115dc3 [Pipeline] echo 15:19:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:03 provisioning config files... 15:19:03 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config16187892834049964166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:03 ---> docker-login.sh 15:19:03 nexus3.edgexfoundry.org:10001 15:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:04 Configure a credential helper to remove this warning. See 15:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:04 15:19:04 Login Succeeded 15:19:04 nexus3.edgexfoundry.org:10002 15:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:04 Configure a credential helper to remove this warning. See 15:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:04 15:19:04 Login Succeeded 15:19:04 nexus3.edgexfoundry.org:10003 15:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:04 Configure a credential helper to remove this warning. See 15:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:04 15:19:04 Login Succeeded 15:19:04 nexus3.edgexfoundry.org:10004 15:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:04 Configure a credential helper to remove this warning. See 15:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:04 15:19:04 Login Succeeded 15:19:04 docker.io 15:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:04 Configure a credential helper to remove this warning. See 15:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:04 15:19:04 Login Succeeded 15:19:04 ---> docker-login.sh ends [Pipeline] } 15:19:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:19:05 + git rev-list -1 --merges 5115dc3e8e9c6f1474469384f920d3885243d03c~1..5115dc3e8e9c6f1474469384f920d3885243d03c [Pipeline] echo 15:19:05 -----------> git rev-list -1 --merges 5115dc3e8e9c6f1474469384f920d3885243d03c~1..5115dc3e8e9c6f1474469384f920d3885243d03c 5115dc3e8e9c6f1474469384f920d3885243d03c [false] [Pipeline] sh 15:19:05 + git log --format=format:%s -1 5115dc3e8e9c6f1474469384f920d3885243d03c [Pipeline] echo 15:19:05 ========================================================= 15:19:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:19:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:19:05 + git log --format=format:%s -1 5115dc3e8e9c6f1474469384f920d3885243d03c [Pipeline] echo 15:19:05 [semverPrep] GIT_COMMIT: 5115dc3e8e9c6f1474469384f920d3885243d03c, Commit Message: feat: Upgrade to V3 [Pipeline] echo 15:19:05 [semverPrep] This is not a build commit. [Pipeline] sh 15:19:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:19:06 + grep -v github /etc/ssh/ssh_known_hosts 15:19:06 + [ -e /tmp/ssh_known_hosts ] 15:19:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:19:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:19:06 + sudo tee -a /etc/ssh/ssh_known_hosts 15:19:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:19:06 15:19:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:19:07 0.1.4: Pulling from edgex-devops/py-git-semver 15:19:07 b85a868b505f: Pulling fs layer 15:19:07 e2be974225ed: Pulling fs layer 15:19:07 339a4e72a1f5: Pulling fs layer 15:19:07 988bab9f4d93: Pulling fs layer 15:19:07 1469e6f7b9e6: Pulling fs layer 15:19:07 eaf3925da568: Pulling fs layer 15:19:07 bab4dde63d76: Pulling fs layer 15:19:07 bde34c3a00c8: Pulling fs layer 15:19:07 b352a97aabf1: Pulling fs layer 15:19:07 4872d77fe225: Pulling fs layer 15:19:07 5851b861e8e6: Pulling fs layer 15:19:07 b352a97aabf1: Waiting 15:19:07 4872d77fe225: Waiting 15:19:07 bab4dde63d76: Waiting 15:19:07 bde34c3a00c8: Waiting 15:19:07 5851b861e8e6: Waiting 15:19:07 988bab9f4d93: Waiting 15:19:07 1469e6f7b9e6: Waiting 15:19:07 eaf3925da568: Waiting 15:19:07 e2be974225ed: Download complete 15:19:07 988bab9f4d93: Verifying Checksum 15:19:07 988bab9f4d93: Download complete 15:19:07 1469e6f7b9e6: Verifying Checksum 15:19:07 1469e6f7b9e6: Download complete 15:19:07 339a4e72a1f5: Verifying Checksum 15:19:07 339a4e72a1f5: Download complete 15:19:07 eaf3925da568: Verifying Checksum 15:19:07 eaf3925da568: Download complete 15:19:07 bde34c3a00c8: Download complete 15:19:07 b352a97aabf1: Verifying Checksum 15:19:07 b352a97aabf1: Download complete 15:19:07 4872d77fe225: Verifying Checksum 15:19:07 4872d77fe225: Download complete 15:19:07 5851b861e8e6: Verifying Checksum 15:19:07 5851b861e8e6: Download complete 15:19:07 b85a868b505f: Verifying Checksum 15:19:07 b85a868b505f: Download complete 15:19:07 bab4dde63d76: Verifying Checksum 15:19:07 bab4dde63d76: Download complete 15:19:08 b85a868b505f: Pull complete 15:19:08 e2be974225ed: Pull complete 15:19:08 339a4e72a1f5: Pull complete 15:19:08 988bab9f4d93: Pull complete 15:19:09 1469e6f7b9e6: Pull complete 15:19:09 eaf3925da568: Pull complete 15:19:10 bab4dde63d76: Pull complete 15:19:10 bde34c3a00c8: Pull complete 15:19:11 b352a97aabf1: Pull complete 15:19:11 4872d77fe225: Pull complete 15:19:11 5851b861e8e6: Pull complete 15:19:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:19:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:19:11 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 15:19:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:19:14 $ docker top ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d -eo pid,comm 15:19:14 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). 15:19:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:19:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:14 [ssh-agent] Looking for ssh-agent implementation... 15:19:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:14 $ docker exec ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d ssh-agent 15:19:14 SSH_AUTH_SOCK=/tmp/ssh-5YY0VWHYMJUA/agent.31 15:19:14 SSH_AGENT_PID=37 15:19:14 Running ssh-add (command line suppressed) 15:19:14 Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_3164787083079276539.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_3164787083079276539.key) 15:19:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:14 + git tag --points-at HEAD [Pipeline] } 15:19:15 $ docker exec --env ******** --env ******** ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d ssh-agent -k 15:19:15 unset SSH_AUTH_SOCK; 15:19:15 unset SSH_AGENT_PID; 15:19:15 echo Agent pid 37 killed; 15:19:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:19:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:15 [ssh-agent] Looking for ssh-agent implementation... 15:19:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:15 $ docker exec ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d ssh-agent 15:19:15 SSH_AUTH_SOCK=/tmp/ssh-EQBvedrLj7u7/agent.69 15:19:15 SSH_AGENT_PID=75 15:19:15 Running ssh-add (command line suppressed) 15:19:15 Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_9225302829485156145.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_9225302829485156145.key) 15:19:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:15 + git semver init 15:19:15 2023-06-29 15:19:15,929 [run_init] DEBUG init version:0.0.0 force:False 15:19:15 2023-06-29 15:19:15,930 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver 15:19:15 2023-06-29 15:19:15,930 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver 15:19:15 2023-06-29 15:19:15,930 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-14/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14, universal_newlines=False, shell=None, istream=None) 15:19:16 2023-06-29 15:19:16,754 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude 15:19:16 2023-06-29 15:19:16,755 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 with force:False 15:19:16 2023-06-29 15:19:16,755 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 15:19:16 2023-06-29 15:19:16,759 [execute] INFO git cat-file --batch-check 15:19:16 2023-06-29 15:19:16,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) 15:19:16 2023-06-29 15:19:16,764 [execute] INFO git cat-file --batch 15:19:16 2023-06-29 15:19:16,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) 15:19:16 2023-06-29 15:19:16,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 15:19:16 0.0.0 [Pipeline] } 15:19:16 $ docker exec --env ******** --env ******** ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d ssh-agent -k 15:19:17 unset SSH_AUTH_SOCK; 15:19:17 unset SSH_AGENT_PID; 15:19:17 echo Agent pid 75 killed; 15:19:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:19:17 + git semver [Pipeline] } 15:19:17 $ docker stop --time=1 ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d 15:19:18 $ docker rm -f --volumes ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d [Pipeline] // withDockerContainer [Pipeline] sh 15:19:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:19:19 Stashed 1 file(s) [Pipeline] echo 15:19:19 [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 15:19:19 provisioning config files... 15:19:19 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config1171093285414132683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:19 ---> docker-login.sh 15:19:19 nexus3.edgexfoundry.org:10001 15:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:19 Configure a credential helper to remove this warning. See 15:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:19 15:19:19 Login Succeeded 15:19:19 nexus3.edgexfoundry.org:10002 15:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:19 Configure a credential helper to remove this warning. See 15:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:19 15:19:19 Login Succeeded 15:19:19 nexus3.edgexfoundry.org:10003 15:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:20 Configure a credential helper to remove this warning. See 15:19:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:20 15:19:20 Login Succeeded 15:19:20 nexus3.edgexfoundry.org:10004 15:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:20 Configure a credential helper to remove this warning. See 15:19:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:20 15:19:20 Login Succeeded 15:19:20 docker.io 15:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:20 Configure a credential helper to remove this warning. See 15:19:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:20 15:19:20 Login Succeeded 15:19:20 ---> docker-login.sh ends [Pipeline] } 15:19:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:19:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:19:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:19:20 ========================================================= 15:19:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:19:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:20 + 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 . 15:19:20 Sending build context to Docker daemon 11.11MB 15:19:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:19:20 Step 2/12 : FROM ${BASE} AS builder 15:19:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:19:20 f56be85fc22e: Pulling fs layer 15:19:20 85791d961cd3: Pulling fs layer 15:19:20 d694b5ae8c79: Pulling fs layer 15:19:20 9f32a84ed3da: Pulling fs layer 15:19:20 4d19c01a9841: Pulling fs layer 15:19:20 9325e15d5711: Pulling fs layer 15:19:20 556b6ee489ea: Pulling fs layer 15:19:20 c5a4b2cf53e6: Pulling fs layer 15:19:20 4d19c01a9841: Waiting 15:19:20 9325e15d5711: Waiting 15:19:20 556b6ee489ea: Waiting 15:19:20 c5a4b2cf53e6: Waiting 15:19:20 9f32a84ed3da: Waiting 15:19:21 85791d961cd3: Verifying Checksum 15:19:21 85791d961cd3: Download complete 15:19:21 9f32a84ed3da: Verifying Checksum 15:19:21 9f32a84ed3da: Download complete 15:19:21 f56be85fc22e: Verifying Checksum 15:19:21 f56be85fc22e: Download complete 15:19:21 4d19c01a9841: Verifying Checksum 15:19:21 4d19c01a9841: Download complete 15:19:21 9325e15d5711: Verifying Checksum 15:19:21 9325e15d5711: Download complete 15:19:21 f56be85fc22e: Pull complete 15:19:21 85791d961cd3: Pull complete 15:19:21 c5a4b2cf53e6: Verifying Checksum 15:19:21 c5a4b2cf53e6: Download complete 15:19:21 d694b5ae8c79: Verifying Checksum 15:19:21 d694b5ae8c79: Download complete 15:19:21 556b6ee489ea: Verifying Checksum 15:19:21 556b6ee489ea: Download complete 15:19:25 d694b5ae8c79: Pull complete 15:19:25 9f32a84ed3da: Pull complete 15:19:25 4d19c01a9841: Pull complete 15:19:25 9325e15d5711: Pull complete 15:19:27 556b6ee489ea: Pull complete 15:19:28 c5a4b2cf53e6: Pull complete 15:19:28 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:19:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:19:28 ---> c4be618373d6 15:19:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:19:34 ---> Running in aa29a4ceeb1e 15:19:34 Removing intermediate container aa29a4ceeb1e 15:19:34 ---> 82fe8f14c9f2 15:19:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:19:34 ---> Running in 6e71c3953e3e 15:19:34 Removing intermediate container 6e71c3953e3e 15:19:34 ---> da4e4ea8b201 15:19:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:19:34 ---> Running in 50041bff3863 15:19:34 Removing intermediate container 50041bff3863 15:19:34 ---> 0ceda4fa40d5 15:19:34 Step 6/12 : WORKDIR /device-uart 15:19:34 ---> Running in 320e75b194e1 15:19:34 Removing intermediate container 320e75b194e1 15:19:34 ---> 7cff2671c6f7 15:19:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:19:34 ---> Running in 0b75491aa095 15:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:19:34 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:19:34 (2/4) Installing libedit (20221030.3.1-r0) 15:19:34 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:19:34 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:19:34 Executing busybox-1.35.0-r29.trigger 15:19:34 OK: 269 MiB in 57 packages 15:19:34 Still waiting to schedule task 15:19:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:19:35 Removing intermediate container 0b75491aa095 15:19:35 ---> d37c3838538e 15:19:35 Step 8/12 : COPY go.mod vendor* ./ 15:19:35 ---> aeee0fcadf26 15:19:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:19:35 ---> Running in 01686637af0c 15:20:21 Removing intermediate container 01686637af0c 15:20:21 ---> 75c841d16624 15:20:21 Step 10/12 : COPY . . 15:20:21 ---> dcc5afd076f5 15:20:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:20:21 ---> Running in d3f9351f8656 15:20:22 Removing intermediate container d3f9351f8656 15:20:22 ---> 05e7b3137c85 15:20:22 Step 12/12 : RUN ${MAKE} 15:20:22 ---> Running in 98e43ae7dfba 15:20:22 noop 15:20:22 Removing intermediate container 98e43ae7dfba 15:20:22 ---> 79f77617426f 15:20:22 Successfully built 79f77617426f 15:20:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:22 + docker inspect -f . ci-base-image-x86_64 15:20:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:20:22 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 15:20:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:20:23 $ docker top 1e332598963e72f58642fda48264c6bf8df24c2d469e7b6f4eec077bf950f36a -eo pid,comm [Pipeline] { [Pipeline] sh 15:20:23 + go version 15:20:23 go version go1.20.2 linux/amd64 [Pipeline] } 15:20:23 $ docker stop --time=1 1e332598963e72f58642fda48264c6bf8df24c2d469e7b6f4eec077bf950f36a 15:20:24 $ docker rm -f --volumes 1e332598963e72f58642fda48264c6bf8df24c2d469e7b6f4eec077bf950f36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:25 + docker inspect -f . ci-base-image-x86_64 15:20:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:20:25 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 15:20:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:20:25 $ docker top 720e9cb5c9a918b0c5518a26a106613be37e76970fd752525358f09aceb05f21 -eo pid,comm [Pipeline] { [Pipeline] sh 15:20:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh 15:20:26 + make test 15:20:26 go test ./... -coverprofile=coverage.out 15:20:30 ? github.com/edgexfoundry/device-uart [no test files] 15:20:38 # github.com/edgexfoundry/device-uart/internal/driver 15:20:38 internal/driver/driver.go:68:18: method Driver.Start already declared at internal/driver/driver.go:61:18 15:20:38 internal/driver/driver.go:200:18: method Driver.Discover already declared at internal/driver/driver.go:168:18 15:20:38 internal/driver/driver.go:206:18: method Driver.ValidateDevice already declared at internal/driver/driver.go:174:18 15:20:39 FAIL 15:20:39 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 15:20:39 $ docker stop --time=1 720e9cb5c9a918b0c5518a26a106613be37e76970fd752525358f09aceb05f21 15:20:42 $ docker rm -f --volumes 720e9cb5c9a918b0c5518a26a106613be37e76970fd752525358f09aceb05f21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:20:43 15:20:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:20:43 latest: Pulling from edgex-lftools-log-publisher 15:20:43 5eb5b503b376: Pulling fs layer 15:20:43 5c69ac0246d0: Pulling fs layer 15:20:43 ec43610c2a17: Pulling fs layer 15:20:43 3a2ae6a8a46f: Pulling fs layer 15:20:43 33b1e0a273af: Pulling fs layer 15:20:43 5d3b04190fa2: Pulling fs layer 15:20:43 2f39f015ded8: Pulling fs layer 15:20:43 5d3b04190fa2: Waiting 15:20:43 2f39f015ded8: Waiting 15:20:43 3a2ae6a8a46f: Waiting 15:20:43 33b1e0a273af: Waiting 15:20:43 5c69ac0246d0: Download complete 15:20:43 3a2ae6a8a46f: Verifying Checksum 15:20:43 3a2ae6a8a46f: Download complete 15:20:43 33b1e0a273af: Verifying Checksum 15:20:43 33b1e0a273af: Download complete 15:20:43 5d3b04190fa2: Download complete 15:20:43 ec43610c2a17: Verifying Checksum 15:20:43 5eb5b503b376: Download complete 15:20:44 2f39f015ded8: Download complete 15:20:44 5eb5b503b376: Pull complete 15:20:44 5c69ac0246d0: Pull complete 15:20:45 ec43610c2a17: Pull complete 15:20:45 3a2ae6a8a46f: Pull complete 15:20:45 33b1e0a273af: Pull complete 15:20:45 5d3b04190fa2: Pull complete 15:20:49 2f39f015ded8: Pull complete 15:20:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:20:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:20:49 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 15:20:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:20:53 $ docker top fc84a927ca003eda44dbfca9a084a30fb34f7a07c735ad40f0fa79e6c1e61693 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:20:53 ---> job-cost.sh 15:20:53 lf-activate-venv: SKIPPING 15:20:53 INFO: No Stack... 15:20:54 INFO: Retrieving Pricing Info for: v3-standard-8 15:20:54 INFO: Archiving Costs [Pipeline] sh 15:20:55 + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv 15:20:55 + cut -d, -f6 [Pipeline] lock 15:20:55 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] 15:20:55 Resource [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] did not exist. Created. 15:20:55 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:20:55 + echo total: 0.2199999988079071 [Pipeline] stash 15:20:55 Stashed 1 file(s) [Pipeline] } 15:20:55 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [Pipeline] // lock [Pipeline] } 15:20:55 $ docker stop --time=1 fc84a927ca003eda44dbfca9a084a30fb34f7a07c735ad40f0fa79e6c1e61693 15:20:56 $ docker rm -f --volumes fc84a927ca003eda44dbfca9a084a30fb34f7a07c735ad40f0fa79e6c1e61693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:20:56 Failed in branch amd64 15:21:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-174 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws 15:21:10 Running in /w/workspace/device-uart/7 [Pipeline] { [Pipeline] checkout 15:21:10 The recommended git tool is: git 15:21:15 using credential edgex-jenkins-ssh 15:21:15 Cloning the remote Git repository 15:21:15 Cloning repository git@github.com:edgexfoundry/device-uart.git 15:21:15 > git init /w/workspace/device-uart/7 # timeout=10 15:21:15 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 15:21:15 > git --version # timeout=10 15:21:15 > git --version # 'git version 2.25.1' 15:21:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:21:17 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 15:21:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:21:18 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 15:21:18 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 15:21:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:21:18 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 5115dc3e8e9c6f1474469384f920d3885243d03c 15:21:18 Merge succeeded, producing 5115dc3e8e9c6f1474469384f920d3885243d03c 15:21:18 Checking out Revision 5115dc3e8e9c6f1474469384f920d3885243d03c (PR-14) 15:21:18 > git config core.sparsecheckout # timeout=10 15:21:18 > git checkout -f 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 15:21:18 > git remote # timeout=10 15:21:18 > git config --get remote.origin.url # timeout=10 15:21:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:18 > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 15:21:18 > git rev-parse HEAD^{commit} # timeout=10 15:21:18 > git config core.sparsecheckout # timeout=10 15:21:18 > git checkout -f 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 15:21:22 Commit message: "feat: Upgrade to V3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:21:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:21:23 % Total % Received % Xferd Average Speed Time Time Time Current 15:21:23 Dload Upload Total Spent Left Speed 15:21:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 15:21:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:21:24 + sudo tee /etc/docker/daemon.new 15:21:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:21:24 { 15:21:24 "registry-mirrors": [ 15:21:24 "https://nexus3.edgexfoundry.org:10001" 15:21:24 ], 15:21:24 "bip": "10.250.0.254/24", 15:21:24 "hosts": [ 15:21:24 "tcp://0.0.0.0:5555", 15:21:24 "unix:///var/run/docker.sock" 15:21:24 ], 15:21:24 "mtu": 1458, 15:21:24 "selinux-enabled": true, 15:21:24 "seccomp-profile": "/etc/docker/seccomp.json" 15:21:24 } [Pipeline] sh 15:21:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:21:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:21:43 provisioning config files... 15:21:43 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/7@tmp/config2596027088861812046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:43 ---> docker-login.sh 15:21:43 nexus3.edgexfoundry.org:10001 15:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:44 Configure a credential helper to remove this warning. See 15:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:44 15:21:44 Login Succeeded 15:21:44 nexus3.edgexfoundry.org:10002 15:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:44 Configure a credential helper to remove this warning. See 15:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:44 15:21:44 Login Succeeded 15:21:44 nexus3.edgexfoundry.org:10003 15:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:44 Configure a credential helper to remove this warning. See 15:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:44 15:21:44 Login Succeeded 15:21:44 nexus3.edgexfoundry.org:10004 15:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:45 Configure a credential helper to remove this warning. See 15:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:45 15:21:45 Login Succeeded 15:21:45 docker.io 15:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:45 Configure a credential helper to remove this warning. See 15:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:45 15:21:45 Login Succeeded 15:21:45 ---> docker-login.sh ends [Pipeline] } 15:21:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:46 ========================================================= 15:21:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:21:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:46 + 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 . 15:21:46 Sending build context to Docker daemon 5.633MB 15:21:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:21:46 Step 2/12 : FROM ${BASE} AS builder 15:21:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:21:46 c41833b44d91: Pulling fs layer 15:21:46 ed15518f5707: Pulling fs layer 15:21:46 feae8fd75edb: Pulling fs layer 15:21:46 242c74f7c9fa: Pulling fs layer 15:21:46 3cdef696dda3: Pulling fs layer 15:21:46 2ced38df9373: Pulling fs layer 15:21:46 58f1dce35555: Pulling fs layer 15:21:46 3cdef696dda3: Waiting 15:21:46 2ced38df9373: Waiting 15:21:46 58f1dce35555: Waiting 15:21:46 242c74f7c9fa: Waiting 15:21:46 ed15518f5707: Download complete 15:21:46 242c74f7c9fa: Verifying Checksum 15:21:46 242c74f7c9fa: Download complete 15:21:46 3cdef696dda3: Verifying Checksum 15:21:46 3cdef696dda3: Download complete 15:21:46 c41833b44d91: Verifying Checksum 15:21:46 c41833b44d91: Download complete 15:21:47 c41833b44d91: Pull complete 15:21:48 58f1dce35555: Verifying Checksum 15:21:48 58f1dce35555: Download complete 15:21:48 ed15518f5707: Pull complete 15:21:49 feae8fd75edb: Verifying Checksum 15:21:49 feae8fd75edb: Download complete 15:21:49 2ced38df9373: Verifying Checksum 15:21:49 2ced38df9373: Download complete 15:22:01 feae8fd75edb: Pull complete 15:22:01 242c74f7c9fa: Pull complete 15:22:01 3cdef696dda3: Pull complete 15:22:07 2ced38df9373: Pull complete 15:22:09 58f1dce35555: Pull complete 15:22:09 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:22:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:22:09 ---> fadd8f120f05 15:22:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:22:11 ---> Running in 404eef5cefbb 15:22:11 Removing intermediate container 404eef5cefbb 15:22:11 ---> f78ba35c7698 15:22:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:22:11 ---> Running in 384d9e784237 15:22:11 Removing intermediate container 384d9e784237 15:22:11 ---> ff534e3f8290 15:22:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:22:12 ---> Running in 97273d9d33e0 15:22:12 Removing intermediate container 97273d9d33e0 15:22:12 ---> 550ee7707350 15:22:12 Step 6/12 : WORKDIR /device-uart 15:22:12 ---> Running in 7427314f73af 15:22:12 Removing intermediate container 7427314f73af 15:22:12 ---> a24867ffb086 15:22:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:22:12 ---> Running in cbaadfa2848b 15:22:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:22:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:22:15 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:22:15 (2/4) Installing libedit (20221030.3.1-r0) 15:22:15 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:22:15 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:22:15 Executing busybox-1.35.0-r29.trigger 15:22:15 OK: 268 MiB in 57 packages 15:22:16 Removing intermediate container cbaadfa2848b 15:22:16 ---> 65092b482594 15:22:16 Step 8/12 : COPY go.mod vendor* ./ 15:22:18 ---> 70ed037e15f1 15:22:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:18 ---> Running in bb0b6b6c2008 15:23:26 Removing intermediate container bb0b6b6c2008 15:23:26 ---> b1f53a8cda9b 15:23:26 Step 10/12 : COPY . . 15:23:26 ---> d24bdb8df1d5 15:23:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:23:26 ---> Running in 4d54811ddcc3 15:23:26 Removing intermediate container 4d54811ddcc3 15:23:26 ---> 2c775be00f5e 15:23:26 Step 12/12 : RUN ${MAKE} 15:23:26 ---> Running in d468c5b1c791 15:23:26 noop 15:23:26 Removing intermediate container d468c5b1c791 15:23:26 ---> 4be42b253165 15:23:26 Successfully built 4be42b253165 15:23:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:27 + docker inspect -f . ci-base-image-arm64 15:23:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:27 prd-ubuntu20.04-docker-arm64-4c-16g-174 does not seem to be running inside a container 15:23:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@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 ******** ci-base-image-arm64 cat 15:23:28 $ docker top 1e904e99729fc5cb7fbfb630b93f1dbb6b6b27f0181e61b8a35ca6752691c40f -eo pid,comm [Pipeline] { [Pipeline] sh 15:23:29 + go version 15:23:29 go version go1.20.2 linux/arm64 [Pipeline] } 15:23:29 $ docker stop --time=1 1e904e99729fc5cb7fbfb630b93f1dbb6b6b27f0181e61b8a35ca6752691c40f 15:23:31 $ docker rm -f --volumes 1e904e99729fc5cb7fbfb630b93f1dbb6b6b27f0181e61b8a35ca6752691c40f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:31 + docker inspect -f . ci-base-image-arm64 15:23:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:31 prd-ubuntu20.04-docker-arm64-4c-16g-174 does not seem to be running inside a container 15:23:31 $ 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/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@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 ******** ci-base-image-arm64 cat 15:23:32 $ docker top b6a3ea563605ce6484df20387aaaa6a87e589ca5ba325029d415e62d7d811f68 -eo pid,comm [Pipeline] { [Pipeline] sh 15:23:33 + git config --global --add safe.directory /w/workspace/device-uart/7 [Pipeline] fileExists [Pipeline] sh 15:23:33 + make test 15:23:33 go test ./... -coverprofile=coverage.out 15:24:05 ? github.com/edgexfoundry/device-uart [no test files] 15:25:02 # github.com/edgexfoundry/device-uart/internal/driver 15:25:02 internal/driver/driver.go:68:18: method Driver.Start already declared at internal/driver/driver.go:61:18 15:25:02 internal/driver/driver.go:200:18: method Driver.Discover already declared at internal/driver/driver.go:168:18 15:25:02 internal/driver/driver.go:206:18: method Driver.ValidateDevice already declared at internal/driver/driver.go:174:18 15:25:41 FAIL 15:25:41 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 15:25:41 $ docker stop --time=1 b6a3ea563605ce6484df20387aaaa6a87e589ca5ba325029d415e62d7d811f68 15:25:42 $ docker rm -f --volumes b6a3ea563605ce6484df20387aaaa6a87e589ca5ba325029d415e62d7d811f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:25:44 15:25:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:25:44 arm64: Pulling from edgex-lftools-log-publisher 15:25:44 8998bd30e6a1: Pulling fs layer 15:25:44 04944245beec: Pulling fs layer 15:25:44 699f458cf7ca: Pulling fs layer 15:25:44 765212b225bb: Pulling fs layer 15:25:44 f23df028b6ca: Pulling fs layer 15:25:44 d65c8cfc05b1: Pulling fs layer 15:25:44 2437ff75d9bd: Pulling fs layer 15:25:44 765212b225bb: Waiting 15:25:44 f23df028b6ca: Waiting 15:25:44 d65c8cfc05b1: Waiting 15:25:44 2437ff75d9bd: Waiting 15:25:44 04944245beec: Verifying Checksum 15:25:44 04944245beec: Download complete 15:25:44 765212b225bb: Verifying Checksum 15:25:44 765212b225bb: Download complete 15:25:45 f23df028b6ca: Verifying Checksum 15:25:45 f23df028b6ca: Download complete 15:25:45 d65c8cfc05b1: Verifying Checksum 15:25:45 d65c8cfc05b1: Download complete 15:25:45 699f458cf7ca: Verifying Checksum 15:25:45 699f458cf7ca: Download complete 15:25:45 8998bd30e6a1: Verifying Checksum 15:25:45 8998bd30e6a1: Download complete 15:25:48 2437ff75d9bd: Verifying Checksum 15:25:48 2437ff75d9bd: Download complete 15:25:52 8998bd30e6a1: Pull complete 15:25:52 04944245beec: Pull complete 15:25:55 699f458cf7ca: Pull complete 15:25:56 765212b225bb: Pull complete 15:25:57 f23df028b6ca: Pull complete 15:25:57 d65c8cfc05b1: Pull complete 15:26:16 2437ff75d9bd: Pull complete 15:26:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:16 prd-ubuntu20.04-docker-arm64-4c-16g-174 does not seem to be running inside a container 15:26:16 $ 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/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:26:17 $ docker top 519da2a86dfbfc5fc62a434429258e64a727ed43956a2869af426218fb8e6711 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:18 ---> job-cost.sh 15:26:18 lf-activate-venv: SKIPPING 15:26:18 INFO: No Stack... 15:26:18 INFO: Retrieving Pricing Info for: v3-standard-4 15:26:19 INFO: Archiving Costs [Pipeline] sh 15:26:20 + cat /w/workspace/device-uart/7/archives/cost.csv 15:26:20 + cut -d, -f6 [Pipeline] lock 15:26:20 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] 15:26:20 Resource [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] did not exist. Created. 15:26:20 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:20 /w/workspace/device-uart/7@tmp/durable-be49fc54/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:26:21 + echo total: 0.10999999940395355 [Pipeline] stash 15:26:21 Warning: overwriting stash ‘stack-cost’ 15:26:21 Stashed 1 file(s) [Pipeline] } 15:26:21 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [Pipeline] // lock [Pipeline] } 15:26:21 $ docker stop --time=1 519da2a86dfbfc5fc62a434429258e64a727ed43956a2869af426218fb8e6711 15:26:23 $ docker rm -f --volumes 519da2a86dfbfc5fc62a434429258e64a727ed43956a2869af426218fb8e6711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:26:23 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:26:24 + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] 15:26:24 + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives 15:26:24 total 16 15:26:24 drwxr-xr-x 3 root root 4096 Jun 29 15:20 . 15:26:24 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:20 .. 15:26:24 drwxr-xr-x 2 root root 4096 Jun 29 15:20 cost 15:26:24 -rw-r--r-- 1 root root 82 Jun 29 15:20 cost.csv 15:26:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives 15:26:24 + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives 15:26:24 total 16 15:26:24 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:20 . 15:26:24 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:20 .. 15:26:24 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 15:20 cost 15:26:24 -rw-r--r-- 1 jenkins jenkins 82 Jun 29 15:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:26:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:26:25 ---> package-listing.sh 15:26:25 ++ facter osfamily 15:26:25 ++ tr '[:upper:]' '[:lower:]' 15:26:25 + OS_FAMILY=debian 15:26:25 + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 15:26:25 + START_PACKAGES=/tmp/packages_start.txt 15:26:25 + END_PACKAGES=/tmp/packages_end.txt 15:26:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:26:25 + PACKAGES=/tmp/packages_start.txt 15:26:25 + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' 15:26:25 + PACKAGES=/tmp/packages_end.txt 15:26:25 + case "${OS_FAMILY}" in 15:26:25 + dpkg -l 15:26:25 + grep '^ii' 15:26:25 + '[' -f /tmp/packages_start.txt ']' 15:26:25 + '[' -f /tmp/packages_end.txt ']' 15:26:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:26:25 + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' 15:26:25 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ 15:26:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [Pipeline] echo 15:26:25 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:26:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:26 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 15:26:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:26:27 $ docker top af76e2a81513115e8ccc550c28ea947f70eb753552c03f22f6e696163ec091d1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:27 + touch /tmp/pre-build-complete [Pipeline] sh 15:26:27 + mkdir -p /var/log/sysstat [Pipeline] sh 15:26:28 + ls /var/log/sa-host 15:26:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:26:28 provisioning config files... 15:26:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config11857511431451950473tmp [Pipeline] { [Pipeline] echo 15:26:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:26:28 ---> create-netrc.sh [Pipeline] } 15:26:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:26:28 ---> python-tools-install.sh [Pipeline] echo 15:26:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:26:29 ---> sudo-logs.sh 15:26:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:26:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:26:29 ---> job-cost.sh 15:26:29 lf-activate-venv: SKIPPING 15:26:29 DEBUG: total: 0.2199999988079071 15:26:29 INFO: Retrieving Stack Cost... 15:26:29 INFO: Retrieving Pricing Info for: v3-standard-8 15:26:30 INFO: Archiving Costs [Pipeline] echo 15:26:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:26:30 ---> logs-deploy.sh 15:26:30 lf-activate-venv: SKIPPING 15:26:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/7 15:26:30 INFO: archiving workspace using pattern(s): 15:26:31 Archives upload complete. 15:26:31 INFO: archiving logs to Nexus