Pull request #20 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-villali for edgexfoundry/device-uart Loading trusted files from base branch main at a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 rather than 9d3745f36b82d322dca2405a064a0be74bfd3dac Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3757351788835810241.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-ssh846723400298472480.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12101214285977931283.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-ssh17003701011319119749.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12407935905890059210.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-1079’ Running on prd-ubuntu20.04-docker-8c-8g-1081 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-20 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 9d3745f36b82d322dca2405a064a0be74bfd3dac > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d3745f36b82d322dca2405a064a0be74bfd3dac # timeout=10 Merge succeeded, producing 0f366c175951765fd165778484f94d7710621056 Checking out Revision 0f366c175951765fd165778484f94d7710621056 (PR-20) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f366c175951765fd165778484f94d7710621056 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 2146d130465d6cfa9402e903816842cc2a3089ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:28:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:28:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:28:26 ========================================================= 17:28:26 EdgeX Global Pipelines Version Info 17:28:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:28:27 ------------------- 17:28:27 stable info: 17:28:27 ------------------- 17:28:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:28:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:28:27 Message: update stable to v1.0.250 17:28:28 ------------------- 17:28:28 experimental info: 17:28:28 ------------------- 17:28:28 Commited By: **** collab-it+edgex@linuxfoundation.org 17:28:28 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:28:28 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f366c175951765fd165778484f94d7710621056 [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f366c1 [Pipeline] echo 17:28:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:28:28 provisioning config files... 17:28:28 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config11799702274585126936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:29 ---> docker-login.sh 17:28:29 nexus3.edgexfoundry.org:10001 17:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:29 Configure a credential helper to remove this warning. See 17:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:29 17:28:29 Login Succeeded 17:28:29 nexus3.edgexfoundry.org:10002 17:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:29 Configure a credential helper to remove this warning. See 17:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:29 17:28:29 Login Succeeded 17:28:29 nexus3.edgexfoundry.org:10003 17:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:29 Configure a credential helper to remove this warning. See 17:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:29 17:28:29 Login Succeeded 17:28:29 nexus3.edgexfoundry.org:10004 17:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:29 Configure a credential helper to remove this warning. See 17:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:29 17:28:29 Login Succeeded 17:28:29 docker.io 17:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:30 Configure a credential helper to remove this warning. See 17:28:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:30 17:28:30 Login Succeeded 17:28:30 ---> docker-login.sh ends [Pipeline] } 17:28:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:28:30 + git rev-list -1 --merges 0f366c175951765fd165778484f94d7710621056~1..0f366c175951765fd165778484f94d7710621056 [Pipeline] echo 17:28:30 -----------> git rev-list -1 --merges 0f366c175951765fd165778484f94d7710621056~1..0f366c175951765fd165778484f94d7710621056 0f366c175951765fd165778484f94d7710621056 17:28:30 0f366c175951765fd165778484f94d7710621056 [false] [Pipeline] sh 17:28:30 + git log --format=format:%s -1 0f366c175951765fd165778484f94d7710621056 [Pipeline] echo 17:28:30 ========================================================= 17:28:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:28:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:31 + git log --format=format:%s -1 0f366c175951765fd165778484f94d7710621056 [Pipeline] echo 17:28:31 [semverPrep] GIT_COMMIT: 0f366c175951765fd165778484f94d7710621056, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 17:28:31 [semverPrep] This is not a build commit. [Pipeline] sh 17:28:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:28:31 + grep -v github /etc/ssh/ssh_known_hosts 17:28:31 + [ -e /tmp/ssh_known_hosts ] 17:28:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:28:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:28:31 + sudo tee -a /etc/ssh/ssh_known_hosts 17:28:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:32 17:28:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:32 0.1.4: Pulling from edgex-devops/py-git-semver 17:28:32 b85a868b505f: Pulling fs layer 17:28:32 e2be974225ed: Pulling fs layer 17:28:32 339a4e72a1f5: Pulling fs layer 17:28:32 988bab9f4d93: Pulling fs layer 17:28:32 1469e6f7b9e6: Pulling fs layer 17:28:32 eaf3925da568: Pulling fs layer 17:28:32 bab4dde63d76: Pulling fs layer 17:28:32 bde34c3a00c8: Pulling fs layer 17:28:32 b352a97aabf1: Pulling fs layer 17:28:32 4872d77fe225: Pulling fs layer 17:28:32 5851b861e8e6: Pulling fs layer 17:28:32 bab4dde63d76: Waiting 17:28:32 bde34c3a00c8: Waiting 17:28:32 b352a97aabf1: Waiting 17:28:32 4872d77fe225: Waiting 17:28:32 5851b861e8e6: Waiting 17:28:32 988bab9f4d93: Waiting 17:28:32 1469e6f7b9e6: Waiting 17:28:32 eaf3925da568: Waiting 17:28:32 e2be974225ed: Verifying Checksum 17:28:32 e2be974225ed: Download complete 17:28:32 988bab9f4d93: Verifying Checksum 17:28:32 988bab9f4d93: Download complete 17:28:32 339a4e72a1f5: Verifying Checksum 17:28:32 339a4e72a1f5: Download complete 17:28:32 1469e6f7b9e6: Verifying Checksum 17:28:32 1469e6f7b9e6: Download complete 17:28:32 eaf3925da568: Verifying Checksum 17:28:32 eaf3925da568: Download complete 17:28:32 bde34c3a00c8: Verifying Checksum 17:28:32 bde34c3a00c8: Download complete 17:28:32 b352a97aabf1: Verifying Checksum 17:28:32 b352a97aabf1: Download complete 17:28:32 4872d77fe225: Download complete 17:28:32 5851b861e8e6: Verifying Checksum 17:28:32 5851b861e8e6: Download complete 17:28:32 b85a868b505f: Verifying Checksum 17:28:32 b85a868b505f: Download complete 17:28:32 bab4dde63d76: Verifying Checksum 17:28:32 bab4dde63d76: Download complete 17:28:33 b85a868b505f: Pull complete 17:28:33 e2be974225ed: Pull complete 17:28:34 339a4e72a1f5: Pull complete 17:28:34 988bab9f4d93: Pull complete 17:28:34 1469e6f7b9e6: Pull complete 17:28:34 eaf3925da568: Pull complete 17:28:36 bab4dde63d76: Pull complete 17:28:36 bde34c3a00c8: Pull complete 17:28:36 b352a97aabf1: Pull complete 17:28:36 4872d77fe225: Pull complete 17:28:36 5851b861e8e6: Pull complete 17:28:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:36 prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container 17:28:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:28:38 $ docker top 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc -eo pid,comm 17:28:38 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). 17:28:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:28:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:38 [ssh-agent] Looking for ssh-agent implementation... 17:28:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:38 $ docker exec 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc ssh-agent 17:28:38 SSH_AUTH_SOCK=/tmp/ssh-BNhzDzXgPtw8/agent.32 17:28:38 SSH_AGENT_PID=38 17:28:38 Running ssh-add (command line suppressed) 17:28:38 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_1870274077472934796.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_1870274077472934796.key) 17:28:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:39 + git tag --points-at HEAD [Pipeline] } 17:28:39 $ docker exec --env ******** --env ******** 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc ssh-agent -k 17:28:39 unset SSH_AUTH_SOCK; 17:28:39 unset SSH_AGENT_PID; 17:28:39 echo Agent pid 38 killed; 17:28:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:39 [ssh-agent] Looking for ssh-agent implementation... 17:28:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:39 $ docker exec 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc ssh-agent 17:28:39 SSH_AUTH_SOCK=/tmp/ssh-4s6BAsswRiqM/agent.69 17:28:39 SSH_AGENT_PID=75 17:28:39 Running ssh-add (command line suppressed) 17:28:39 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_4534988232353068526.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_4534988232353068526.key) 17:28:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:39 + git semver init 17:28:40 2023-07-13 17:28:40,073 [run_init] DEBUG init version:0.0.0 force:False 17:28:40 2023-07-13 17:28:40,074 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 17:28:40 2023-07-13 17:28:40,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 17:28:40 2023-07-13 17:28:40,074 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20, universal_newlines=False, shell=None, istream=None) 17:28:41 2023-07-13 17:28:40,913 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 17:28:41 2023-07-13 17:28:40,914 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 17:28:41 2023-07-13 17:28:40,914 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 17:28:41 2023-07-13 17:28:40,919 [execute] INFO git cat-file --batch-check 17:28:41 2023-07-13 17:28:40,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 17:28:41 2023-07-13 17:28:40,926 [execute] INFO git cat-file --batch 17:28:41 2023-07-13 17:28:40,926 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 17:28:41 2023-07-13 17:28:40,931 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 17:28:41 0.0.0 [Pipeline] } 17:28:41 $ docker exec --env ******** --env ******** 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc ssh-agent -k 17:28:41 unset SSH_AUTH_SOCK; 17:28:41 unset SSH_AGENT_PID; 17:28:41 echo Agent pid 75 killed; 17:28:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:28:41 + git semver [Pipeline] } 17:28:41 $ docker stop --time=1 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc 17:28:43 $ docker rm -f --volumes 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc [Pipeline] // withDockerContainer [Pipeline] sh 17:28:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:28:43 Stashed 1 file(s) [Pipeline] echo 17:28:43 [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 17:28:43 provisioning config files... 17:28:43 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config3838363070703119082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:44 ---> docker-login.sh 17:28:44 nexus3.edgexfoundry.org:10001 17:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:44 Configure a credential helper to remove this warning. See 17:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:44 17:28:44 Login Succeeded 17:28:44 nexus3.edgexfoundry.org:10002 17:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:44 Configure a credential helper to remove this warning. See 17:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:44 17:28:44 Login Succeeded 17:28:44 nexus3.edgexfoundry.org:10003 17:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:44 Configure a credential helper to remove this warning. See 17:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:44 17:28:44 Login Succeeded 17:28:44 nexus3.edgexfoundry.org:10004 17:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:44 Configure a credential helper to remove this warning. See 17:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:44 17:28:44 Login Succeeded 17:28:44 docker.io 17:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:44 Configure a credential helper to remove this warning. See 17:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:44 17:28:44 Login Succeeded 17:28:44 ---> docker-login.sh ends [Pipeline] } 17:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:28:44 ========================================================= 17:28:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:28:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:45 + 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 . 17:28:45 Sending build context to Docker daemon 11.1MB 17:28:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:28:45 Step 2/12 : FROM ${BASE} AS builder 17:28:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:28:45 4db1b89c0bd1: Pulling fs layer 17:28:45 6911f1a30b25: Pulling fs layer 17:28:45 e194b8c5c2a9: Pulling fs layer 17:28:45 6863d3e3a2b1: Pulling fs layer 17:28:45 ec0bb842ea78: Pulling fs layer 17:28:45 40a00589a448: Pulling fs layer 17:28:45 6c08303d61cc: Pulling fs layer 17:28:45 798269fcf238: Pulling fs layer 17:28:45 ec0bb842ea78: Waiting 17:28:45 40a00589a448: Waiting 17:28:45 6c08303d61cc: Waiting 17:28:45 798269fcf238: Waiting 17:28:45 6863d3e3a2b1: Waiting 17:28:45 6911f1a30b25: Download complete 17:28:45 6863d3e3a2b1: Download complete 17:28:45 ec0bb842ea78: Download complete 17:28:45 4db1b89c0bd1: Verifying Checksum 17:28:45 4db1b89c0bd1: Download complete 17:28:45 40a00589a448: Verifying Checksum 17:28:45 40a00589a448: Download complete 17:28:45 4db1b89c0bd1: Pull complete 17:28:45 6911f1a30b25: Pull complete 17:28:45 798269fcf238: Verifying Checksum 17:28:45 798269fcf238: Download complete 17:28:45 e194b8c5c2a9: Verifying Checksum 17:28:45 e194b8c5c2a9: Download complete 17:28:46 6c08303d61cc: Verifying Checksum 17:28:46 6c08303d61cc: Download complete 17:28:48 e194b8c5c2a9: Pull complete 17:28:48 6863d3e3a2b1: Pull complete 17:28:48 ec0bb842ea78: Pull complete 17:28:48 40a00589a448: Pull complete 17:28:51 6c08303d61cc: Pull complete 17:28:51 798269fcf238: Pull complete 17:28:51 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 17:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:28:51 ---> ec979cd7f677 17:28:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:28:55 ---> Running in ba7afc3ce213 17:28:55 Removing intermediate container ba7afc3ce213 17:28:55 ---> 6f13afdf8170 17:28:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:28:55 ---> Running in df7bf68a1fe9 17:28:55 Removing intermediate container df7bf68a1fe9 17:28:55 ---> 05fb3d630e29 17:28:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:28:55 ---> Running in a2eac9313508 17:28:55 Removing intermediate container a2eac9313508 17:28:55 ---> d511ce0cfcac 17:28:55 Step 6/12 : WORKDIR /device-uart 17:28:55 ---> Running in d92d4f9e7817 17:28:55 Removing intermediate container d92d4f9e7817 17:28:55 ---> a85ce213ed95 17:28:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:28:55 ---> Running in 9b914aaaf4b8 17:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:28:55 (1/4) Installing openssh-keygen (9.1_p1-r3) 17:28:56 (2/4) Installing libedit (20221030.3.1-r0) 17:28:56 (3/4) Installing openssh-client-common (9.1_p1-r3) 17:28:56 (4/4) Installing openssh-client-default (9.1_p1-r3) 17:28:56 Executing busybox-1.35.0-r29.trigger 17:28:56 OK: 269 MiB in 57 packages 17:28:56 Removing intermediate container 9b914aaaf4b8 17:28:56 ---> d21c58b6aee7 17:28:56 Step 8/12 : COPY go.mod vendor* ./ 17:28:56 ---> 4f4ce801ed17 17:28:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:28:56 ---> Running in 3a69856d5333 17:28:58 Still waiting to schedule task 17:28:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1080’ 17:29:18 Removing intermediate container 3a69856d5333 17:29:18 ---> 65dd1b1f0f03 17:29:18 Step 10/12 : COPY . . 17:29:18 ---> a422d007d932 17:29:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:29:18 ---> Running in 01f67d71f827 17:29:18 Removing intermediate container 01f67d71f827 17:29:18 ---> a20ba35c8069 17:29:18 Step 12/12 : RUN ${MAKE} 17:29:18 ---> Running in 09c65e8fb284 17:29:18 noop 17:29:18 Removing intermediate container 09c65e8fb284 17:29:18 ---> 4a433950903c 17:29:18 Successfully built 4a433950903c 17:29:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:18 + docker inspect -f . ci-base-image-x86_64 17:29:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:18 prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container 17:29:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:29:19 $ docker top 88b61ed40fe678e799991d66565c8fc659253e227bd1211d700dc5816c495a6c -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:19 + go version 17:29:19 go version go1.20.6 linux/amd64 [Pipeline] } 17:29:19 $ docker stop --time=1 88b61ed40fe678e799991d66565c8fc659253e227bd1211d700dc5816c495a6c 17:29:20 $ docker rm -f --volumes 88b61ed40fe678e799991d66565c8fc659253e227bd1211d700dc5816c495a6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:21 + docker inspect -f . ci-base-image-x86_64 17:29:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:21 prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container 17:29:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:29:21 $ docker top efa498fd31f6d1f584f88cebfe3505de9f93a03e2f15fafe05bf420b0d21fe39 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 17:29:22 + make test 17:29:22 go test ./... -coverprofile=coverage.out 17:29:26 ? github.com/edgexfoundry/device-uart [no test files] 17:29:33 # github.com/edgexfoundry/device-uart/internal/driver 17:29:33 internal/driver/driver.go:212:19: too many return values 17:29:33 have (nil, error) 17:29:33 want (error) 17:29:35 FAIL 17:29:35 make: *** [Makefile:26: unittest] Error 1 [Pipeline] } 17:29:35 $ docker stop --time=1 efa498fd31f6d1f584f88cebfe3505de9f93a03e2f15fafe05bf420b0d21fe39 17:29:37 $ docker rm -f --volumes efa498fd31f6d1f584f88cebfe3505de9f93a03e2f15fafe05bf420b0d21fe39 [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 17:29:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:29:37 17:29:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:29:38 latest: Pulling from edgex-lftools-log-publisher 17:29:38 5eb5b503b376: Pulling fs layer 17:29:38 5c69ac0246d0: Pulling fs layer 17:29:38 ec43610c2a17: Pulling fs layer 17:29:38 3a2ae6a8a46f: Pulling fs layer 17:29:38 33b1e0a273af: Pulling fs layer 17:29:38 5d3b04190fa2: Pulling fs layer 17:29:38 2f39f015ded8: Pulling fs layer 17:29:38 33b1e0a273af: Waiting 17:29:38 5d3b04190fa2: Waiting 17:29:38 2f39f015ded8: Waiting 17:29:38 3a2ae6a8a46f: Waiting 17:29:38 5c69ac0246d0: Verifying Checksum 17:29:38 5c69ac0246d0: Download complete 17:29:38 3a2ae6a8a46f: Verifying Checksum 17:29:38 3a2ae6a8a46f: Download complete 17:29:38 33b1e0a273af: Verifying Checksum 17:29:38 33b1e0a273af: Download complete 17:29:38 ec43610c2a17: Verifying Checksum 17:29:38 ec43610c2a17: Download complete 17:29:38 5d3b04190fa2: Verifying Checksum 17:29:38 5d3b04190fa2: Download complete 17:29:38 5eb5b503b376: Verifying Checksum 17:29:38 5eb5b503b376: Download complete 17:29:39 2f39f015ded8: Verifying Checksum 17:29:39 2f39f015ded8: Download complete 17:29:39 5eb5b503b376: Pull complete 17:29:39 5c69ac0246d0: Pull complete 17:29:39 ec43610c2a17: Pull complete 17:29:39 3a2ae6a8a46f: Pull complete 17:29:40 33b1e0a273af: Pull complete 17:29:40 5d3b04190fa2: Pull complete 17:29:44 2f39f015ded8: Pull complete 17:29:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:29:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:29:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:44 prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container 17:29:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:29:46 $ docker top ec0cc82dafd1261f24eddbf05017fd17fb9728b71ef9a539a5dcfc4dad9b7b3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:47 ---> job-cost.sh 17:29:47 lf-activate-venv: SKIPPING 17:29:47 INFO: No Stack... 17:29:47 INFO: Retrieving Pricing Info for: v3-standard-8 17:29:47 INFO: Archiving Costs [Pipeline] sh 17:29:48 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 17:29:48 + cut -d, -f6 [Pipeline] lock 17:29:48 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] 17:29:48 Resource [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] did not exist. Created. 17:29:48 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:29:48 + echo total: 0.2199999988079071 [Pipeline] stash 17:29:48 Stashed 1 file(s) [Pipeline] } 17:29:48 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [Pipeline] // lock [Pipeline] } 17:29:48 $ docker stop --time=1 ec0cc82dafd1261f24eddbf05017fd17fb9728b71ef9a539a5dcfc4dad9b7b3d 17:29:49 $ docker rm -f --volumes ec0cc82dafd1261f24eddbf05017fd17fb9728b71ef9a539a5dcfc4dad9b7b3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:29:49 Failed in branch amd64 17:32:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1082 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 17:32:29 Running in /w/workspace/device-uart/4 [Pipeline] { [Pipeline] checkout 17:32:29 The recommended git tool is: git 17:32:34 using credential edgex-jenkins-ssh 17:32:34 Cloning the remote Git repository 17:32:34 Cloning repository git@github.com:edgexfoundry/device-uart.git 17:32:34 > git init /w/workspace/device-uart/4 # timeout=10 17:32:34 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 17:32:34 > git --version # timeout=10 17:32:34 > git --version # 'git version 2.25.1' 17:32:34 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:35 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 17:32:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:36 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 17:32:36 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 17:32:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:32:37 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 9d3745f36b82d322dca2405a064a0be74bfd3dac 17:32:37 Merge succeeded, producing fea352f855c980cdcdb57b25457106bca20e69bf 17:32:37 Checking out Revision fea352f855c980cdcdb57b25457106bca20e69bf (PR-20) 17:32:37 > git config core.sparsecheckout # timeout=10 17:32:37 > git checkout -f 9d3745f36b82d322dca2405a064a0be74bfd3dac # timeout=10 17:32:37 > git remote # timeout=10 17:32:37 > git config --get remote.origin.url # timeout=10 17:32:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:37 > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 17:32:37 > git rev-parse HEAD^{commit} # timeout=10 17:32:37 > git config core.sparsecheckout # timeout=10 17:32:37 > git checkout -f fea352f855c980cdcdb57b25457106bca20e69bf # timeout=10 17:32:40 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" 17:32:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:32:41 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:41 Dload Upload Total Spent Left Speed 17:32:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 17:32:40 > git rev-list --no-walk 2146d130465d6cfa9402e903816842cc2a3089ba # timeout=10 17:32:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:32:42 + sudo tee /etc/docker/daemon.new 17:32:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:32:42 { 17:32:42 "registry-mirrors": [ 17:32:42 "https://nexus3.edgexfoundry.org:10001" 17:32:42 ], 17:32:42 "bip": "10.250.0.254/24", 17:32:42 "hosts": [ 17:32:42 "tcp://0.0.0.0:5555", 17:32:42 "unix:///var/run/docker.sock" 17:32:42 ], 17:32:42 "mtu": 1458, 17:32:42 "selinux-enabled": true, 17:32:42 "seccomp-profile": "/etc/docker/seccomp.json" 17:32:42 } [Pipeline] sh 17:32:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:32:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:01 provisioning config files... 17:33:01 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config6640734669320330175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:02 ---> docker-login.sh 17:33:02 nexus3.edgexfoundry.org:10001 17:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:02 Configure a credential helper to remove this warning. See 17:33:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:02 17:33:02 Login Succeeded 17:33:02 nexus3.edgexfoundry.org:10002 17:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:03 Configure a credential helper to remove this warning. See 17:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:03 17:33:03 Login Succeeded 17:33:03 nexus3.edgexfoundry.org:10003 17:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:03 Configure a credential helper to remove this warning. See 17:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:03 17:33:03 Login Succeeded 17:33:03 nexus3.edgexfoundry.org:10004 17:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:03 Configure a credential helper to remove this warning. See 17:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:03 17:33:03 Login Succeeded 17:33:03 docker.io 17:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:04 Configure a credential helper to remove this warning. See 17:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:04 17:33:04 Login Succeeded 17:33:04 ---> docker-login.sh ends [Pipeline] } 17:33:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:33:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:04 ========================================================= 17:33:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:33:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:04 + 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 . 17:33:05 Sending build context to Docker daemon 5.599MB 17:33:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:33:05 Step 2/12 : FROM ${BASE} AS builder 17:33:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:33:05 edb6bdbacee9: Pulling fs layer 17:33:05 5f9638ab2659: Pulling fs layer 17:33:05 8d51d6327a98: Pulling fs layer 17:33:05 8b374f2dd631: Pulling fs layer 17:33:05 ec14aa9079de: Pulling fs layer 17:33:05 2f466654f4bb: Pulling fs layer 17:33:05 554e91adad29: Pulling fs layer 17:33:05 ec14aa9079de: Waiting 17:33:05 2f466654f4bb: Waiting 17:33:05 554e91adad29: Waiting 17:33:05 8b374f2dd631: Waiting 17:33:05 5f9638ab2659: Verifying Checksum 17:33:05 5f9638ab2659: Download complete 17:33:05 8b374f2dd631: Verifying Checksum 17:33:05 8b374f2dd631: Download complete 17:33:05 ec14aa9079de: Verifying Checksum 17:33:05 ec14aa9079de: Download complete 17:33:05 edb6bdbacee9: Verifying Checksum 17:33:05 edb6bdbacee9: Download complete 17:33:06 edb6bdbacee9: Pull complete 17:33:06 554e91adad29: Verifying Checksum 17:33:06 554e91adad29: Download complete 17:33:07 5f9638ab2659: Pull complete 17:33:08 2f466654f4bb: Verifying Checksum 17:33:08 2f466654f4bb: Download complete 17:33:08 8d51d6327a98: Download complete 17:33:20 8d51d6327a98: Pull complete 17:33:20 8b374f2dd631: Pull complete 17:33:20 ec14aa9079de: Pull complete 17:33:27 2f466654f4bb: Pull complete 17:33:29 554e91adad29: Pull complete 17:33:29 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 17:33:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:33:29 ---> 1e15ea492957 17:33:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:33:31 ---> Running in a1cb4bffa348 17:33:31 Removing intermediate container a1cb4bffa348 17:33:31 ---> 00026b62df06 17:33:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:33:31 ---> Running in e46eb8a4eb68 17:33:31 Removing intermediate container e46eb8a4eb68 17:33:31 ---> 183ccd944af7 17:33:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:33:31 ---> Running in a028e230f867 17:33:32 Removing intermediate container a028e230f867 17:33:32 ---> a2f8400c4792 17:33:32 Step 6/12 : WORKDIR /device-uart 17:33:32 ---> Running in 9cb9c254861f 17:33:32 Removing intermediate container 9cb9c254861f 17:33:32 ---> 8a34450e42ae 17:33:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:32 ---> Running in c0fb6533cb27 17:33:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:33:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:33:35 (1/4) Installing openssh-keygen (9.1_p1-r3) 17:33:35 (2/4) Installing libedit (20221030.3.1-r0) 17:33:35 (3/4) Installing openssh-client-common (9.1_p1-r3) 17:33:35 (4/4) Installing openssh-client-default (9.1_p1-r3) 17:33:35 Executing busybox-1.35.0-r29.trigger 17:33:35 OK: 268 MiB in 57 packages 17:33:36 Removing intermediate container c0fb6533cb27 17:33:36 ---> 6be6e1071481 17:33:36 Step 8/12 : COPY go.mod vendor* ./ 17:33:37 ---> c184bd4d60ee 17:33:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:37 ---> Running in b61820f12356 17:34:44 Removing intermediate container b61820f12356 17:34:44 ---> e78739af1baa 17:34:44 Step 10/12 : COPY . . 17:34:44 ---> f67643a57777 17:34:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:34:44 ---> Running in 7b2de40cb11d 17:34:44 Removing intermediate container 7b2de40cb11d 17:34:44 ---> c2f36b38427d 17:34:44 Step 12/12 : RUN ${MAKE} 17:34:44 ---> Running in ca8de549e174 17:34:44 noop 17:34:44 Removing intermediate container ca8de549e174 17:34:44 ---> a27a33cf4ace 17:34:44 Successfully built a27a33cf4ace 17:34:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:45 + docker inspect -f . ci-base-image-arm64 17:34:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:45 prd-ubuntu20.04-docker-arm64-4c-16g-1082 does not seem to be running inside a container 17:34:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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 17:34:46 $ docker top 72e3f7630290c251421ecc11d8374d467442c2251746eec03c500af20ee3a145 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:47 + go version 17:34:47 go version go1.20.6 linux/arm64 [Pipeline] } 17:34:47 $ docker stop --time=1 72e3f7630290c251421ecc11d8374d467442c2251746eec03c500af20ee3a145 17:34:49 $ docker rm -f --volumes 72e3f7630290c251421ecc11d8374d467442c2251746eec03c500af20ee3a145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:49 + docker inspect -f . ci-base-image-arm64 17:34:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:49 prd-ubuntu20.04-docker-arm64-4c-16g-1082 does not seem to be running inside a container 17:34:49 $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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 17:34:51 $ docker top f90defe5c8b8c33591eff4c7098138b8c44bc236a0f6e596258813cabb3f03de -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:51 + git config --global --add safe.directory /w/workspace/device-uart/4 [Pipeline] fileExists [Pipeline] sh 17:34:52 + make test 17:34:52 go test ./... -coverprofile=coverage.out 17:35:24 ? github.com/edgexfoundry/device-uart [no test files] 17:36:20 # github.com/edgexfoundry/device-uart/internal/driver 17:36:20 internal/driver/driver.go:212:19: too many return values 17:36:20 have (nil, error) 17:36:20 want (error) 17:36:59 FAIL 17:36:59 make: *** [Makefile:26: unittest] Error 1 [Pipeline] } 17:36:59 $ docker stop --time=1 f90defe5c8b8c33591eff4c7098138b8c44bc236a0f6e596258813cabb3f03de 17:37:04 $ docker rm -f --volumes f90defe5c8b8c33591eff4c7098138b8c44bc236a0f6e596258813cabb3f03de [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 17:37:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:37:05 17:37:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:37:06 arm64: Pulling from edgex-lftools-log-publisher 17:37:06 8998bd30e6a1: Pulling fs layer 17:37:06 04944245beec: Pulling fs layer 17:37:06 699f458cf7ca: Pulling fs layer 17:37:06 765212b225bb: Pulling fs layer 17:37:06 f23df028b6ca: Pulling fs layer 17:37:06 d65c8cfc05b1: Pulling fs layer 17:37:06 2437ff75d9bd: Pulling fs layer 17:37:06 765212b225bb: Waiting 17:37:06 f23df028b6ca: Waiting 17:37:06 d65c8cfc05b1: Waiting 17:37:06 2437ff75d9bd: Waiting 17:37:06 04944245beec: Verifying Checksum 17:37:06 04944245beec: Download complete 17:37:06 765212b225bb: Download complete 17:37:06 f23df028b6ca: Verifying Checksum 17:37:06 f23df028b6ca: Download complete 17:37:06 d65c8cfc05b1: Verifying Checksum 17:37:06 d65c8cfc05b1: Download complete 17:37:06 699f458cf7ca: Verifying Checksum 17:37:06 699f458cf7ca: Download complete 17:37:07 8998bd30e6a1: Verifying Checksum 17:37:07 8998bd30e6a1: Download complete 17:37:11 2437ff75d9bd: Verifying Checksum 17:37:11 2437ff75d9bd: Download complete 17:37:14 8998bd30e6a1: Pull complete 17:37:14 04944245beec: Pull complete 17:37:17 699f458cf7ca: Pull complete 17:37:17 765212b225bb: Pull complete 17:37:18 f23df028b6ca: Pull complete 17:37:18 d65c8cfc05b1: Pull complete 17:37:36 2437ff75d9bd: Pull complete 17:37:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:37:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:37:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:36 prd-ubuntu20.04-docker-arm64-4c-16g-1082 does not seem to be running inside a container 17:37:37 $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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 17:37:38 $ docker top 248e045eff4f3e6b004505ae9ac3d5f1c3273f1a7f65689ec942d247b0a81dfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:39 ---> job-cost.sh 17:37:39 lf-activate-venv: SKIPPING 17:37:39 INFO: No Stack... 17:37:39 INFO: Retrieving Pricing Info for: v3-standard-4 17:37:40 INFO: Archiving Costs [Pipeline] sh 17:37:40 + cat /w/workspace/device-uart/4/archives/cost.csv 17:37:40 + cut -d, -f6 [Pipeline] lock 17:37:41 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] 17:37:41 Resource [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] did not exist. Created. 17:37:41 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:37:41 /w/workspace/device-uart/4@tmp/durable-55ecc548/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:37:42 + echo total: 0.10999999940395355 [Pipeline] stash 17:37:42 Warning: overwriting stash ‘stack-cost’ 17:37:42 Stashed 1 file(s) [Pipeline] } 17:37:42 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [Pipeline] // lock [Pipeline] } 17:37:42 $ docker stop --time=1 248e045eff4f3e6b004505ae9ac3d5f1c3273f1a7f65689ec942d247b0a81dfc 17:37:44 $ docker rm -f --volumes 248e045eff4f3e6b004505ae9ac3d5f1c3273f1a7f65689ec942d247b0a81dfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:37:45 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 17:37:45 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 17:37:45 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 17:37:45 total 16 17:37:45 drwxr-xr-x 3 root root 4096 Jul 13 17:29 . 17:37:45 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:29 .. 17:37:45 drwxr-xr-x 2 root root 4096 Jul 13 17:29 cost 17:37:45 -rw-r--r-- 1 root root 82 Jul 13 17:29 cost.csv 17:37:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 17:37:45 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 17:37:45 total 16 17:37:45 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 17:29 . 17:37:45 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:29 .. 17:37:45 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 17:29 cost 17:37:45 -rw-r--r-- 1 jenkins jenkins 82 Jul 13 17:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:37:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:37:46 ---> package-listing.sh 17:37:46 ++ facter osfamily 17:37:46 ++ tr '[:upper:]' '[:lower:]' 17:37:47 + OS_FAMILY=debian 17:37:47 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 17:37:47 + START_PACKAGES=/tmp/packages_start.txt 17:37:47 + END_PACKAGES=/tmp/packages_end.txt 17:37:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:37:47 + PACKAGES=/tmp/packages_start.txt 17:37:47 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 17:37:47 + PACKAGES=/tmp/packages_end.txt 17:37:47 + case "${OS_FAMILY}" in 17:37:47 + dpkg -l 17:37:47 + grep '^ii' 17:37:47 + '[' -f /tmp/packages_start.txt ']' 17:37:47 + '[' -f /tmp/packages_end.txt ']' 17:37:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:37:47 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 17:37:47 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 17:37:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo 17:37:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:37:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:48 prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container 17:37:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:37:48 $ docker top 11f46ae6d5b5f54fa86ed316a1b6ad135a199fcc89e0c6e1934c3bceee961a2a -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:48 + touch /tmp/pre-build-complete [Pipeline] sh 17:37:48 + mkdir -p /var/log/sysstat [Pipeline] sh 17:37:49 + ls /var/log/sa-host 17:37:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:49 provisioning config files... 17:37:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config17383160075503634996tmp [Pipeline] { [Pipeline] echo 17:37:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:37:49 ---> create-netrc.sh [Pipeline] } 17:37:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:37:49 ---> python-tools-install.sh [Pipeline] echo 17:37:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:37:50 ---> sudo-logs.sh 17:37:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:37:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:37:50 ---> job-cost.sh 17:37:50 lf-activate-venv: SKIPPING 17:37:50 DEBUG: total: 0.2199999988079071 17:37:50 INFO: Retrieving Stack Cost... 17:37:51 INFO: Retrieving Pricing Info for: v3-standard-8 17:37:51 INFO: Archiving Costs [Pipeline] echo 17:37:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:37:51 ---> logs-deploy.sh 17:37:51 lf-activate-venv: SKIPPING 17:37:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/4 17:37:51 INFO: archiving workspace using pattern(s): 17:37:52 Archives upload complete. 17:37:52 INFO: archiving logs to Nexus 17:37:53 ---> uname -a: 17:37:53 Linux prd-ubuntu20-04-docker-8c-8g-1081 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:37:53 17:37:53