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 745fcda9006c1fb0566371198e638298a3789750 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-ssh8398353571175568911.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-ssh5162815324443590914.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh12244073876134322668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh16569110919712857605.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-ssh9602245726913040481.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh4318532214516114634.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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-127 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 745fcda9006c1fb0566371198e638298a3789750 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 745fcda9006c1fb0566371198e638298a3789750 Checking out Revision 745fcda9006c1fb0566371198e638298a3789750 (PR-14) > 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 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 Commit message: "Merge branch 'main' into main" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:28:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:28:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:28:05 ========================================================= 13:28:05 EdgeX Global Pipelines Version Info 13:28:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:28:05 ------------------- 13:28:05 stable info: 13:28:05 ------------------- 13:28:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:28:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 13:28:05 Message: update stable to v1.0.250 13:28:06 ------------------- 13:28:06 experimental info: 13:28:06 ------------------- 13:28:06 Commited By: **** collab-it+edgex@linuxfoundation.org 13:28:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 13:28:06 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:28:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 13:28:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 13:28:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:28:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:28:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:28:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:28:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:28:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:28:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:28:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo 13:28:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo 13:28:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo 13:28:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 745fcda9006c1fb0566371198e638298a3789750 [Pipeline] echo 13:28:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 745fcda [Pipeline] echo 13:28:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:28:08 provisioning config files... 13:28:08 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config7647825886981287604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:28:08 ---> docker-login.sh 13:28:08 nexus3.edgexfoundry.org:10001 13:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:09 Configure a credential helper to remove this warning. See 13:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:09 13:28:09 Login Succeeded 13:28:09 nexus3.edgexfoundry.org:10002 13:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:09 Configure a credential helper to remove this warning. See 13:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:09 13:28:09 Login Succeeded 13:28:09 nexus3.edgexfoundry.org:10003 13:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:09 Configure a credential helper to remove this warning. See 13:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:09 13:28:09 Login Succeeded 13:28:09 nexus3.edgexfoundry.org:10004 13:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:09 Configure a credential helper to remove this warning. See 13:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:09 13:28:09 Login Succeeded 13:28:09 docker.io 13:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:09 Configure a credential helper to remove this warning. See 13:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:09 13:28:09 Login Succeeded 13:28:09 ---> docker-login.sh ends [Pipeline] } 13:28:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:28:10 + git rev-list -1 --merges 745fcda9006c1fb0566371198e638298a3789750~1..745fcda9006c1fb0566371198e638298a3789750 [Pipeline] echo 13:28:10 -----------> git rev-list -1 --merges 745fcda9006c1fb0566371198e638298a3789750~1..745fcda9006c1fb0566371198e638298a3789750 745fcda9006c1fb0566371198e638298a3789750 13:28:10 745fcda9006c1fb0566371198e638298a3789750 [false] [Pipeline] sh 13:28:10 + git log --format=format:%s -1 745fcda9006c1fb0566371198e638298a3789750 [Pipeline] echo 13:28:10 ========================================================= 13:28:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:28:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:28:11 + git log --format=format:%s -1 745fcda9006c1fb0566371198e638298a3789750 [Pipeline] echo 13:28:11 [semverPrep] GIT_COMMIT: 745fcda9006c1fb0566371198e638298a3789750, Commit Message: Merge branch 'main' into main [Pipeline] echo 13:28:11 [semverPrep] This is not a build commit. [Pipeline] sh 13:28:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:28:11 + grep -v github /etc/ssh/ssh_known_hosts 13:28:11 + [ -e /tmp/ssh_known_hosts ] 13:28:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:28:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:28:11 + sudo tee -a /etc/ssh/ssh_known_hosts 13:28:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:28:12 13:28:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:28:12 0.1.4: Pulling from edgex-devops/py-git-semver 13:28:12 b85a868b505f: Pulling fs layer 13:28:12 e2be974225ed: Pulling fs layer 13:28:12 339a4e72a1f5: Pulling fs layer 13:28:12 988bab9f4d93: Pulling fs layer 13:28:12 1469e6f7b9e6: Pulling fs layer 13:28:12 eaf3925da568: Pulling fs layer 13:28:12 988bab9f4d93: Waiting 13:28:12 eaf3925da568: Waiting 13:28:12 bab4dde63d76: Pulling fs layer 13:28:12 bde34c3a00c8: Pulling fs layer 13:28:12 b352a97aabf1: Pulling fs layer 13:28:12 4872d77fe225: Pulling fs layer 13:28:12 5851b861e8e6: Pulling fs layer 13:28:12 b352a97aabf1: Waiting 13:28:12 bde34c3a00c8: Waiting 13:28:12 4872d77fe225: Waiting 13:28:12 5851b861e8e6: Waiting 13:28:12 bab4dde63d76: Waiting 13:28:12 e2be974225ed: Download complete 13:28:12 988bab9f4d93: Verifying Checksum 13:28:12 988bab9f4d93: Download complete 13:28:12 1469e6f7b9e6: Verifying Checksum 13:28:12 1469e6f7b9e6: Download complete 13:28:12 eaf3925da568: Verifying Checksum 13:28:12 eaf3925da568: Download complete 13:28:12 339a4e72a1f5: Verifying Checksum 13:28:12 339a4e72a1f5: Download complete 13:28:12 bde34c3a00c8: Verifying Checksum 13:28:12 bde34c3a00c8: Download complete 13:28:12 b352a97aabf1: Download complete 13:28:12 4872d77fe225: Verifying Checksum 13:28:12 4872d77fe225: Download complete 13:28:12 5851b861e8e6: Verifying Checksum 13:28:12 5851b861e8e6: Download complete 13:28:12 b85a868b505f: Verifying Checksum 13:28:12 b85a868b505f: Download complete 13:28:13 bab4dde63d76: Verifying Checksum 13:28:13 bab4dde63d76: Download complete 13:28:14 b85a868b505f: Pull complete 13:28:14 e2be974225ed: Pull complete 13:28:14 339a4e72a1f5: Pull complete 13:28:14 988bab9f4d93: Pull complete 13:28:14 1469e6f7b9e6: Pull complete 13:28:14 eaf3925da568: Pull complete 13:28:16 bab4dde63d76: Pull complete 13:28:16 bde34c3a00c8: Pull complete 13:28:16 b352a97aabf1: Pull complete 13:28:16 4872d77fe225: Pull complete 13:28:18 5851b861e8e6: Pull complete 13:28:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:28:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:28:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:18 prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container 13:28:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:28:21 $ docker top 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a -eo pid,comm 13:28:21 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). 13:28:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:28:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:28:22 [ssh-agent] Looking for ssh-agent implementation... 13:28:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:28:22 $ docker exec 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a ssh-agent 13:28:22 SSH_AUTH_SOCK=/tmp/ssh-dKsJoKsmgSi6/agent.32 13:28:22 SSH_AGENT_PID=38 13:28:22 Running ssh-add (command line suppressed) 13:28:22 Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_10067879337501820143.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_10067879337501820143.key) 13:28:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:28:22 + git tag --points-at HEAD [Pipeline] } 13:28:22 $ docker exec --env ******** --env ******** 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a ssh-agent -k 13:28:22 unset SSH_AUTH_SOCK; 13:28:22 unset SSH_AGENT_PID; 13:28:22 echo Agent pid 38 killed; 13:28:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:28:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:28:22 [ssh-agent] Looking for ssh-agent implementation... 13:28:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:28:23 $ docker exec 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a ssh-agent 13:28:23 SSH_AUTH_SOCK=/tmp/ssh-QRYUsUigPKH8/agent.70 13:28:23 SSH_AGENT_PID=76 13:28:23 Running ssh-add (command line suppressed) 13:28:23 Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_13081820908613776918.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_13081820908613776918.key) 13:28:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:28:23 + git semver init 13:28:23 2023-06-28 13:28:23,830 [run_init] DEBUG init version:0.0.0 force:False 13:28:23 2023-06-28 13:28:23,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver 13:28:23 2023-06-28 13:28:23,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver 13:28:23 2023-06-28 13:28:23,831 [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) 13:28:24 2023-06-28 13:28:24,640 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude 13:28:24 2023-06-28 13:28:24,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 with force:False 13:28:24 2023-06-28 13:28:24,641 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 13:28:24 2023-06-28 13:28:24,644 [execute] INFO git cat-file --batch-check 13:28:24 2023-06-28 13:28:24,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) 13:28:24 2023-06-28 13:28:24,652 [execute] INFO git cat-file --batch 13:28:24 2023-06-28 13:28:24,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) 13:28:24 2023-06-28 13:28:24,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 13:28:24 0.0.0 [Pipeline] } 13:28:24 $ docker exec --env ******** --env ******** 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a ssh-agent -k 13:28:24 unset SSH_AUTH_SOCK; 13:28:24 unset SSH_AGENT_PID; 13:28:24 echo Agent pid 76 killed; 13:28:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:28:25 + git semver [Pipeline] } 13:28:25 $ docker stop --time=1 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a 13:28:26 $ docker rm -f --volumes 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a [Pipeline] // withDockerContainer [Pipeline] sh 13:28:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:28:27 Stashed 1 file(s) [Pipeline] echo 13:28:27 [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 13:28:28 provisioning config files... 13:28:28 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config13463518025485471465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:28:28 ---> docker-login.sh 13:28:28 nexus3.edgexfoundry.org:10001 13:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:28 Configure a credential helper to remove this warning. See 13:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:28 13:28:28 Login Succeeded 13:28:28 nexus3.edgexfoundry.org:10002 13:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:28 Configure a credential helper to remove this warning. See 13:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:28 13:28:28 Login Succeeded 13:28:28 nexus3.edgexfoundry.org:10003 13:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:28 Configure a credential helper to remove this warning. See 13:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:28 13:28:28 Login Succeeded 13:28:28 nexus3.edgexfoundry.org:10004 13:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:28 Configure a credential helper to remove this warning. See 13:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:28 13:28:28 Login Succeeded 13:28:28 docker.io 13:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:29 Configure a credential helper to remove this warning. See 13:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:29 13:28:29 Login Succeeded 13:28:29 ---> docker-login.sh ends [Pipeline] } 13:28:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:28:29 ========================================================= 13:28:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:28:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:29 + 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 . 13:28:29 Sending build context to Docker daemon 11.09MB 13:28:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:28:29 Step 2/12 : FROM ${BASE} AS builder 13:28:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:28:29 f56be85fc22e: Pulling fs layer 13:28:29 85791d961cd3: Pulling fs layer 13:28:29 d694b5ae8c79: Pulling fs layer 13:28:29 9f32a84ed3da: Pulling fs layer 13:28:29 4d19c01a9841: Pulling fs layer 13:28:29 9325e15d5711: Pulling fs layer 13:28:29 556b6ee489ea: Pulling fs layer 13:28:29 c5a4b2cf53e6: Pulling fs layer 13:28:29 9f32a84ed3da: Waiting 13:28:29 9325e15d5711: Waiting 13:28:29 556b6ee489ea: Waiting 13:28:29 c5a4b2cf53e6: Waiting 13:28:29 4d19c01a9841: Waiting 13:28:29 85791d961cd3: Download complete 13:28:30 9f32a84ed3da: Download complete 13:28:30 4d19c01a9841: Verifying Checksum 13:28:30 4d19c01a9841: Download complete 13:28:30 f56be85fc22e: Verifying Checksum 13:28:30 f56be85fc22e: Download complete 13:28:30 9325e15d5711: Verifying Checksum 13:28:30 9325e15d5711: Download complete 13:28:30 f56be85fc22e: Pull complete 13:28:30 85791d961cd3: Pull complete 13:28:30 c5a4b2cf53e6: Verifying Checksum 13:28:30 c5a4b2cf53e6: Download complete 13:28:30 d694b5ae8c79: Download complete 13:28:30 556b6ee489ea: Verifying Checksum 13:28:30 556b6ee489ea: Download complete 13:28:34 d694b5ae8c79: Pull complete 13:28:34 9f32a84ed3da: Pull complete 13:28:34 4d19c01a9841: Pull complete 13:28:34 9325e15d5711: Pull complete 13:28:36 556b6ee489ea: Pull complete 13:28:36 c5a4b2cf53e6: Pull complete 13:28:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 13:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:28:36 ---> c4be618373d6 13:28:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:28:41 ---> Running in 7c9b79e6db5e 13:28:41 Removing intermediate container 7c9b79e6db5e 13:28:41 ---> f94b7cb02412 13:28:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:28:41 ---> Running in ae5e514bccf7 13:28:41 Removing intermediate container ae5e514bccf7 13:28:41 ---> 3bc07eb97bec 13:28:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:28:41 ---> Running in ba73993f2695 13:28:41 Removing intermediate container ba73993f2695 13:28:41 ---> 76a672463357 13:28:41 Step 6/12 : WORKDIR /device-uart 13:28:41 ---> Running in 477c420ce087 13:28:41 Removing intermediate container 477c420ce087 13:28:41 ---> 95c1441936ce 13:28:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:28:41 ---> Running in 67400c93f773 13:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:28:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:28:42 (1/4) Installing openssh-keygen (9.1_p1-r3) 13:28:42 (2/4) Installing libedit (20221030.3.1-r0) 13:28:42 (3/4) Installing openssh-client-common (9.1_p1-r3) 13:28:42 (4/4) Installing openssh-client-default (9.1_p1-r3) 13:28:42 Executing busybox-1.35.0-r29.trigger 13:28:42 OK: 269 MiB in 57 packages 13:28:43 Still waiting to schedule task 13:28:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:28:43 Removing intermediate container 67400c93f773 13:28:43 ---> 7fb633fe1764 13:28:43 Step 8/12 : COPY go.mod vendor* ./ 13:28:43 ---> 8a41ee593366 13:28:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:43 ---> Running in 3c147b785147 13:29:21 Removing intermediate container 3c147b785147 13:29:21 ---> 616b2e07a0d0 13:29:21 Step 10/12 : COPY . . 13:29:21 ---> 728f811914f8 13:29:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:29:21 ---> Running in ed8f64cb1584 13:29:21 Removing intermediate container ed8f64cb1584 13:29:21 ---> 5378c0b1c8d0 13:29:21 Step 12/12 : RUN ${MAKE} 13:29:21 ---> Running in fe9acf0b1d6b 13:29:21 noop 13:29:21 Removing intermediate container fe9acf0b1d6b 13:29:21 ---> 37535294cab1 13:29:21 Successfully built 37535294cab1 13:29:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:22 + docker inspect -f . ci-base-image-x86_64 13:29:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:22 prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container 13:29: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 ******** ci-base-image-x86_64 cat 13:29:22 $ docker top f5414bc4d84966db32210c76f548d0a3784682f52b02ee6545b1dfb01f28bc4c -eo pid,comm [Pipeline] { [Pipeline] sh 13:29:23 + go version 13:29:23 go version go1.20.2 linux/amd64 [Pipeline] } 13:29:23 $ docker stop --time=1 f5414bc4d84966db32210c76f548d0a3784682f52b02ee6545b1dfb01f28bc4c 13:29:24 $ docker rm -f --volumes f5414bc4d84966db32210c76f548d0a3784682f52b02ee6545b1dfb01f28bc4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:25 + docker inspect -f . ci-base-image-x86_64 13:29:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:25 prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container 13:29: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 ******** ci-base-image-x86_64 cat 13:29:25 $ docker top cd8d2b6d09976fa56926219efdb1a70b70b9365f74107d0c9868412d8502e51c -eo pid,comm [Pipeline] { [Pipeline] sh 13:29:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh 13:29:26 + make test 13:29:26 go test ./... -coverprofile=coverage.out 13:29:30 ? github.com/edgexfoundry/device-uart [no test files] 13:29:40 ? github.com/edgexfoundry/device-uart/cmd [no test files] 13:29:40 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 13:29:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:29:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:29:47 ./internal/driver/driver.go 13:29:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:29:47 make: *** [Makefile:41: test] Error 1 [Pipeline] } 13:29:47 $ docker stop --time=1 cd8d2b6d09976fa56926219efdb1a70b70b9365f74107d0c9868412d8502e51c 13:29:50 $ docker rm -f --volumes cd8d2b6d09976fa56926219efdb1a70b70b9365f74107d0c9868412d8502e51c [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 13:29:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:52 13:29:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:52 latest: Pulling from edgex-lftools-log-publisher 13:29:52 5eb5b503b376: Pulling fs layer 13:29:52 5c69ac0246d0: Pulling fs layer 13:29:52 ec43610c2a17: Pulling fs layer 13:29:52 3a2ae6a8a46f: Pulling fs layer 13:29:52 33b1e0a273af: Pulling fs layer 13:29:52 5d3b04190fa2: Pulling fs layer 13:29:52 2f39f015ded8: Pulling fs layer 13:29:52 5d3b04190fa2: Waiting 13:29:52 3a2ae6a8a46f: Waiting 13:29:52 33b1e0a273af: Waiting 13:29:52 5c69ac0246d0: Verifying Checksum 13:29:52 5c69ac0246d0: Download complete 13:29:52 3a2ae6a8a46f: Download complete 13:29:52 33b1e0a273af: Verifying Checksum 13:29:52 33b1e0a273af: Download complete 13:29:52 ec43610c2a17: Verifying Checksum 13:29:52 ec43610c2a17: Download complete 13:29:52 5d3b04190fa2: Verifying Checksum 13:29:52 5d3b04190fa2: Download complete 13:29:52 5eb5b503b376: Verifying Checksum 13:29:52 5eb5b503b376: Download complete 13:29:53 2f39f015ded8: Download complete 13:29:53 5eb5b503b376: Pull complete 13:29:54 5c69ac0246d0: Pull complete 13:29:54 ec43610c2a17: Pull complete 13:29:54 3a2ae6a8a46f: Pull complete 13:29:54 33b1e0a273af: Pull complete 13:29:54 5d3b04190fa2: Pull complete 13:29:59 2f39f015ded8: Pull complete 13:29:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:29:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:59 prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container 13:29:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-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-lftools-log-publisher:latest cat 13:30:04 $ docker top 2b3bc057c10f82e60c18532bac1a70a626896bc04df9d3052fab6917c7156794 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:04 ---> job-cost.sh 13:30:04 lf-activate-venv: SKIPPING 13:30:04 INFO: No Stack... 13:30:04 INFO: Retrieving Pricing Info for: v3-standard-8 13:30:05 INFO: Archiving Costs [Pipeline] sh 13:30:05 + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv 13:30:05 + cut -d, -f6 [Pipeline] lock 13:30:05 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] 13:30:05 Resource [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] did not exist. Created. 13:30:05 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:30:05 + echo total: 0.2199999988079071 [Pipeline] stash 13:30:05 Stashed 1 file(s) [Pipeline] } 13:30:05 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:30:06 $ docker stop --time=1 2b3bc057c10f82e60c18532bac1a70a626896bc04df9d3052fab6917c7156794 13:30:07 $ docker rm -f --volumes 2b3bc057c10f82e60c18532bac1a70a626896bc04df9d3052fab6917c7156794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:30:07 Failed in branch amd64 13:30:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-128 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws 13:30:13 Running in /w/workspace/device-uart/4 [Pipeline] { [Pipeline] checkout 13:30:13 The recommended git tool is: git 13:30:18 using credential edgex-jenkins-ssh 13:30:18 Cloning the remote Git repository 13:30:18 Cloning repository git@github.com:edgexfoundry/device-uart.git 13:30:18 > git init /w/workspace/device-uart/4 # timeout=10 13:30:18 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 13:30:18 > git --version # timeout=10 13:30:18 > git --version # 'git version 2.25.1' 13:30:18 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:30:19 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 13:30:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:30:20 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 13:30:20 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 13:30:20 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:20 > 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 13:30:21 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 745fcda9006c1fb0566371198e638298a3789750 13:30:21 Merge succeeded, producing 745fcda9006c1fb0566371198e638298a3789750 13:30:21 Checking out Revision 745fcda9006c1fb0566371198e638298a3789750 (PR-14) 13:30:21 > git config core.sparsecheckout # timeout=10 13:30:21 > git checkout -f 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 13:30:21 > git remote # timeout=10 13:30:21 > git config --get remote.origin.url # timeout=10 13:30:21 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:21 > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 13:30:21 > git rev-parse HEAD^{commit} # timeout=10 13:30:21 > git config core.sparsecheckout # timeout=10 13:30:21 > git checkout -f 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 13:30:24 Commit message: "Merge branch 'main' into main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:30:26 % Total % Received % Xferd Average Speed Time Time Time Current 13:30:26 Dload Upload Total Spent Left Speed 13:30:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12726 100 12726 0 0 65937 0 --:--:-- --:--:-- --:--:-- 65937 [Pipeline] sh 13:30:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:30:27 + sudo tee /etc/docker/daemon.new 13:30:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:30:27 { 13:30:27 "registry-mirrors": [ 13:30:27 "https://nexus3.edgexfoundry.org:10001" 13:30:27 ], 13:30:27 "bip": "10.250.0.254/24", 13:30:27 "hosts": [ 13:30:27 "tcp://0.0.0.0:5555", 13:30:27 "unix:///var/run/docker.sock" 13:30:27 ], 13:30:27 "mtu": 1458, 13:30:27 "selinux-enabled": true, 13:30:27 "seccomp-profile": "/etc/docker/seccomp.json" 13:30:27 } [Pipeline] sh 13:30:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:30:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:30:46 provisioning config files... 13:30:46 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config10563654093505280315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:46 ---> docker-login.sh 13:30:46 nexus3.edgexfoundry.org:10001 13:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:46 Configure a credential helper to remove this warning. See 13:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:46 13:30:46 Login Succeeded 13:30:46 nexus3.edgexfoundry.org:10002 13:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:47 Configure a credential helper to remove this warning. See 13:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:47 13:30:47 Login Succeeded 13:30:47 nexus3.edgexfoundry.org:10003 13:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:47 Configure a credential helper to remove this warning. See 13:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:47 13:30:47 Login Succeeded 13:30:47 nexus3.edgexfoundry.org:10004 13:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:48 Configure a credential helper to remove this warning. See 13:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:48 13:30:48 Login Succeeded 13:30:48 docker.io 13:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:48 Configure a credential helper to remove this warning. See 13:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:48 13:30:48 Login Succeeded 13:30:48 ---> docker-login.sh ends [Pipeline] } 13:30:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:30:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:30:49 ========================================================= 13:30:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:30:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:49 + 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 . 13:30:49 Sending build context to Docker daemon 5.616MB 13:30:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:30:49 Step 2/12 : FROM ${BASE} AS builder 13:30:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:30:50 c41833b44d91: Pulling fs layer 13:30:50 ed15518f5707: Pulling fs layer 13:30:50 feae8fd75edb: Pulling fs layer 13:30:50 242c74f7c9fa: Pulling fs layer 13:30:50 3cdef696dda3: Pulling fs layer 13:30:50 2ced38df9373: Pulling fs layer 13:30:50 58f1dce35555: Pulling fs layer 13:30:50 242c74f7c9fa: Waiting 13:30:50 3cdef696dda3: Waiting 13:30:50 2ced38df9373: Waiting 13:30:50 58f1dce35555: Waiting 13:30:50 ed15518f5707: Verifying Checksum 13:30:50 ed15518f5707: Download complete 13:30:50 242c74f7c9fa: Verifying Checksum 13:30:50 242c74f7c9fa: Download complete 13:30:50 3cdef696dda3: Verifying Checksum 13:30:50 3cdef696dda3: Download complete 13:30:50 c41833b44d91: Verifying Checksum 13:30:50 c41833b44d91: Download complete 13:30:51 58f1dce35555: Verifying Checksum 13:30:51 58f1dce35555: Download complete 13:30:52 feae8fd75edb: Verifying Checksum 13:30:52 feae8fd75edb: Download complete 13:30:52 2ced38df9373: Download complete 13:30:53 c41833b44d91: Pull complete 13:30:53 ed15518f5707: Pull complete 13:31:08 feae8fd75edb: Pull complete 13:31:08 242c74f7c9fa: Pull complete 13:31:08 3cdef696dda3: Pull complete 13:31:13 2ced38df9373: Pull complete 13:31:15 58f1dce35555: Pull complete 13:31:15 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:31:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:31:15 ---> fadd8f120f05 13:31:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:31:17 ---> Running in e0fed14ebf71 13:31:17 Removing intermediate container e0fed14ebf71 13:31:17 ---> 00ac12b1f9fa 13:31:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:31:17 ---> Running in 63dfeaaa0d37 13:31:18 Removing intermediate container 63dfeaaa0d37 13:31:18 ---> af18d4a260a6 13:31:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:31:18 ---> Running in f8ccf7247743 13:31:18 Removing intermediate container f8ccf7247743 13:31:18 ---> 80b0306b1b37 13:31:18 Step 6/12 : WORKDIR /device-uart 13:31:18 ---> Running in 817122c47baa 13:31:18 Removing intermediate container 817122c47baa 13:31:18 ---> ce5345fedf87 13:31:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:31:18 ---> Running in 585ce196087d 13:31:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:31:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:31:21 (1/4) Installing openssh-keygen (9.1_p1-r3) 13:31:21 (2/4) Installing libedit (20221030.3.1-r0) 13:31:21 (3/4) Installing openssh-client-common (9.1_p1-r3) 13:31:21 (4/4) Installing openssh-client-default (9.1_p1-r3) 13:31:21 Executing busybox-1.35.0-r29.trigger 13:31:21 OK: 268 MiB in 57 packages 13:31:22 Removing intermediate container 585ce196087d 13:31:22 ---> 5a2d281d2d56 13:31:22 Step 8/12 : COPY go.mod vendor* ./ 13:31:23 ---> 7f1099d97563 13:31:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:31:23 ---> Running in 71978fdf4e44 13:32:31 Removing intermediate container 71978fdf4e44 13:32:31 ---> f70d19047307 13:32:31 Step 10/12 : COPY . . 13:32:31 ---> 8336844694f0 13:32:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:32:31 ---> Running in 3c646f164a91 13:32:31 Removing intermediate container 3c646f164a91 13:32:31 ---> bee3fe506ba7 13:32:31 Step 12/12 : RUN ${MAKE} 13:32:31 ---> Running in 517dbfd5b8d6 13:32:31 noop 13:32:31 Removing intermediate container 517dbfd5b8d6 13:32:31 ---> fb9d76dbcd45 13:32:31 Successfully built fb9d76dbcd45 13:32:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:31 + docker inspect -f . ci-base-image-arm64 13:32:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:31 prd-ubuntu20.04-docker-arm64-4c-16g-128 does not seem to be running inside a container 13:32:31 $ 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 ******** ci-base-image-arm64 cat 13:32:32 $ docker top 703eca1b7d70a277756c68ee412cfc22d7aec30fecab16537aa3b40a7e0a87d4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:33 + go version 13:32:33 go version go1.20.2 linux/arm64 [Pipeline] } 13:32:33 $ docker stop --time=1 703eca1b7d70a277756c68ee412cfc22d7aec30fecab16537aa3b40a7e0a87d4 13:32:35 $ docker rm -f --volumes 703eca1b7d70a277756c68ee412cfc22d7aec30fecab16537aa3b40a7e0a87d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:36 + docker inspect -f . ci-base-image-arm64 13:32:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:36 prd-ubuntu20.04-docker-arm64-4c-16g-128 does not seem to be running inside a container 13:32:36 $ 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 ******** ci-base-image-arm64 cat 13:32:39 $ docker top 5a89b292e0bbef61fa072cf5d21a8c3333f569d1ba6fad345f1672b3e133e3db -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:40 + git config --global --add safe.directory /w/workspace/device-uart/4 [Pipeline] fileExists [Pipeline] sh 13:32:40 + make test 13:32:40 go test ./... -coverprofile=coverage.out 13:33:12 ? github.com/edgexfoundry/device-uart [no test files] 13:34:49 ? github.com/edgexfoundry/device-uart/cmd [no test files] 13:34:49 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 13:34:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:34:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:35:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:35:15 ./internal/driver/driver.go 13:35:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:35:15 make: *** [Makefile:41: test] Error 1 [Pipeline] } 13:35:15 $ docker stop --time=1 5a89b292e0bbef61fa072cf5d21a8c3333f569d1ba6fad345f1672b3e133e3db 13:35:17 $ docker rm -f --volumes 5a89b292e0bbef61fa072cf5d21a8c3333f569d1ba6fad345f1672b3e133e3db [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 13:35:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:35:19 13:35:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:35:20 arm64: Pulling from edgex-lftools-log-publisher 13:35:20 8998bd30e6a1: Pulling fs layer 13:35:20 04944245beec: Pulling fs layer 13:35:20 699f458cf7ca: Pulling fs layer 13:35:20 765212b225bb: Pulling fs layer 13:35:20 f23df028b6ca: Pulling fs layer 13:35:20 d65c8cfc05b1: Pulling fs layer 13:35:20 2437ff75d9bd: Pulling fs layer 13:35:20 f23df028b6ca: Waiting 13:35:20 2437ff75d9bd: Waiting 13:35:20 765212b225bb: Waiting 13:35:20 04944245beec: Verifying Checksum 13:35:20 04944245beec: Download complete 13:35:20 765212b225bb: Verifying Checksum 13:35:20 765212b225bb: Download complete 13:35:20 f23df028b6ca: Verifying Checksum 13:35:20 f23df028b6ca: Download complete 13:35:20 d65c8cfc05b1: Verifying Checksum 13:35:20 d65c8cfc05b1: Download complete 13:35:20 699f458cf7ca: Verifying Checksum 13:35:20 699f458cf7ca: Download complete 13:35:20 8998bd30e6a1: Verifying Checksum 13:35:20 8998bd30e6a1: Download complete 13:35:23 2437ff75d9bd: Verifying Checksum 13:35:23 2437ff75d9bd: Download complete 13:35:24 8998bd30e6a1: Pull complete 13:35:24 04944245beec: Pull complete 13:35:26 699f458cf7ca: Pull complete 13:35:26 765212b225bb: Pull complete 13:35:27 f23df028b6ca: Pull complete 13:35:27 d65c8cfc05b1: Pull complete 13:35:42 2437ff75d9bd: Pull complete 13:35:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:35:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:35:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:42 prd-ubuntu20.04-docker-arm64-4c-16g-128 does not seem to be running inside a container 13:35:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:35:45 $ docker top c1604a58c3a5293f46e43818d6c535fb569ed75d4158e94f794a73f605101250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:45 ---> job-cost.sh 13:35:45 lf-activate-venv: SKIPPING 13:35:45 INFO: No Stack... 13:35:46 INFO: Retrieving Pricing Info for: v3-standard-4 13:35:47 INFO: Archiving Costs [Pipeline] sh 13:35:47 + cut -d, -f6 13:35:47 + cat /w/workspace/device-uart/4/archives/cost.csv [Pipeline] lock 13:35:47 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] 13:35:47 Resource [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] did not exist. Created. 13:35:47 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:35:48 /w/workspace/device-uart/4@tmp/durable-19a6b546/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:35:48 + echo total: 0.10999999940395355 [Pipeline] stash 13:35:48 Warning: overwriting stash ‘stack-cost’ 13:35:49 Stashed 1 file(s) [Pipeline] } 13:35:49 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:35:49 $ docker stop --time=1 c1604a58c3a5293f46e43818d6c535fb569ed75d4158e94f794a73f605101250 13:35:50 $ docker rm -f --volumes c1604a58c3a5293f46e43818d6c535fb569ed75d4158e94f794a73f605101250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:35:51 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 13:35:53 + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] 13:35:53 + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives 13:35:53 total 16 13:35:53 drwxr-xr-x 3 root root 4096 Jun 28 13:30 . 13:35:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 13:30 .. 13:35:53 drwxr-xr-x 2 root root 4096 Jun 28 13:30 cost 13:35:53 -rw-r--r-- 1 root root 82 Jun 28 13:30 cost.csv 13:35:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives 13:35:53 + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives 13:35:53 total 16 13:35:53 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 13:30 . 13:35:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 13:30 .. 13:35:53 drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 13:30 cost 13:35:53 -rw-r--r-- 1 jenkins jenkins 82 Jun 28 13:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:35:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:35:54 ---> package-listing.sh 13:35:54 ++ facter osfamily 13:35:54 ++ tr '[:upper:]' '[:lower:]' 13:35:54 + OS_FAMILY=debian 13:35:54 + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 13:35:54 + START_PACKAGES=/tmp/packages_start.txt 13:35:54 + END_PACKAGES=/tmp/packages_end.txt 13:35:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:35:54 + PACKAGES=/tmp/packages_start.txt 13:35:54 + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' 13:35:54 + PACKAGES=/tmp/packages_end.txt 13:35:54 + case "${OS_FAMILY}" in 13:35:54 + dpkg -l 13:35:54 + grep '^ii' 13:35:54 + '[' -f /tmp/packages_start.txt ']' 13:35:54 + '[' -f /tmp/packages_end.txt ']' 13:35:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:35:54 + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' 13:35:54 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ 13:35:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [Pipeline] echo 13:35:54 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 13:35:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:35:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:55 prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container 13:35:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:35:56 $ docker top bde0ea0eb5c4a431040825b6d5643efe8106a2ab092ee3df617df1be466294f4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:56 + touch /tmp/pre-build-complete [Pipeline] sh 13:35:56 + mkdir -p /var/log/sysstat [Pipeline] sh 13:35:57 + ls /var/log/sa-host 13:35:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:57 provisioning config files... 13:35:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config1274094731271502992tmp [Pipeline] { [Pipeline] echo 13:35:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:35:57 ---> create-netrc.sh [Pipeline] } 13:35:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:35:58 ---> python-tools-install.sh [Pipeline] echo 13:35:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:35:58 ---> sudo-logs.sh 13:35:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:35:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:35:58 ---> job-cost.sh 13:35:58 lf-activate-venv: SKIPPING 13:35:58 DEBUG: total: 0.2199999988079071 13:35:58 INFO: Retrieving Stack Cost... 13:35:59 INFO: Retrieving Pricing Info for: v3-standard-8 13:35:59 INFO: Archiving Costs [Pipeline] echo 13:35:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:35:59 ---> logs-deploy.sh 13:35:59 lf-activate-venv: SKIPPING 13:35:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/4 13:35:59 INFO: archiving workspace using pattern(s): 13:36:00 Archives upload complete. 13:36:00 INFO: archiving logs to Nexus