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 e1e5c0714d4b7ecb184c314f8395bbc096763fa2 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-ssh4435055418396688409.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-ssh7319218996506057376.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-ssh13494557331011926189.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-ssh15731678574658372749.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-ssh14552755577447957293.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1359 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-20 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit e1e5c0714d4b7ecb184c314f8395bbc096763fa2 Merge succeeded, producing 50098101b9f5426e5d120f2ff831d535d6705b15 Checking out Revision 50098101b9f5426e5d120f2ff831d535d6705b15 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f e1e5c0714d4b7ecb184c314f8395bbc096763fa2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50098101b9f5426e5d120f2ff831d535d6705b15 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:10:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:10:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:10:13 ========================================================= 20:10:13 EdgeX Global Pipelines Version Info 20:10:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:10:14 ------------------- 20:10:14 stable info: 20:10:14 ------------------- 20:10:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:10:14 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:10:14 Message: update stable to v1.0.250 > git rev-list --no-walk 339ca57cf7f52cfc67dc0cd7081df455878fee0b # timeout=10 20:10:15 ------------------- 20:10:15 experimental info: 20:10:15 ------------------- 20:10:15 Commited By: **** collab-it+edgex@linuxfoundation.org 20:10:15 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:10:15 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50098101b9f5426e5d120f2ff831d535d6705b15 [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5009810 [Pipeline] echo 20:10:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:15 provisioning config files... 20:10:15 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config3601056298639467992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:16 ---> docker-login.sh 20:10:16 nexus3.edgexfoundry.org:10001 20:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:16 Configure a credential helper to remove this warning. See 20:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:16 20:10:16 Login Succeeded 20:10:16 nexus3.edgexfoundry.org:10002 20:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:16 Configure a credential helper to remove this warning. See 20:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:16 20:10:16 Login Succeeded 20:10:16 nexus3.edgexfoundry.org:10003 20:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:16 Configure a credential helper to remove this warning. See 20:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:16 20:10:16 Login Succeeded 20:10:16 nexus3.edgexfoundry.org:10004 20:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:16 Configure a credential helper to remove this warning. See 20:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:16 20:10:16 Login Succeeded 20:10:16 docker.io 20:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:16 Configure a credential helper to remove this warning. See 20:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:16 20:10:16 Login Succeeded 20:10:16 ---> docker-login.sh ends [Pipeline] } 20:10:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:10:17 + git rev-list -1 --merges 50098101b9f5426e5d120f2ff831d535d6705b15~1..50098101b9f5426e5d120f2ff831d535d6705b15 [Pipeline] echo 20:10:17 -----------> git rev-list -1 --merges 50098101b9f5426e5d120f2ff831d535d6705b15~1..50098101b9f5426e5d120f2ff831d535d6705b15 50098101b9f5426e5d120f2ff831d535d6705b15 20:10:17 50098101b9f5426e5d120f2ff831d535d6705b15 [false] [Pipeline] sh 20:10:17 + git log --format=format:%s -1 50098101b9f5426e5d120f2ff831d535d6705b15 [Pipeline] echo 20:10:17 ========================================================= 20:10:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:10:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:18 + git log --format=format:%s -1 50098101b9f5426e5d120f2ff831d535d6705b15 [Pipeline] echo 20:10:18 [semverPrep] GIT_COMMIT: 50098101b9f5426e5d120f2ff831d535d6705b15, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 20:10:18 [semverPrep] This is not a build commit. [Pipeline] sh 20:10:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:10:18 + grep -v github /etc/ssh/ssh_known_hosts 20:10:18 + [ -e /tmp/ssh_known_hosts ] 20:10:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:10:18 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:10:18 sudo tee -a /etc/ssh/ssh_known_hosts 20:10:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:18 20:10:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:19 0.1.4: Pulling from edgex-devops/py-git-semver 20:10:19 b85a868b505f: Pulling fs layer 20:10:19 e2be974225ed: Pulling fs layer 20:10:19 339a4e72a1f5: Pulling fs layer 20:10:19 988bab9f4d93: Pulling fs layer 20:10:19 1469e6f7b9e6: Pulling fs layer 20:10:19 eaf3925da568: Pulling fs layer 20:10:19 bab4dde63d76: Pulling fs layer 20:10:19 bde34c3a00c8: Pulling fs layer 20:10:19 b352a97aabf1: Pulling fs layer 20:10:19 4872d77fe225: Pulling fs layer 20:10:19 5851b861e8e6: Pulling fs layer 20:10:19 bab4dde63d76: Waiting 20:10:19 4872d77fe225: Waiting 20:10:19 b352a97aabf1: Waiting 20:10:19 eaf3925da568: Waiting 20:10:19 988bab9f4d93: Waiting 20:10:19 5851b861e8e6: Waiting 20:10:19 bde34c3a00c8: Waiting 20:10:19 e2be974225ed: Download complete 20:10:19 988bab9f4d93: Download complete 20:10:19 1469e6f7b9e6: Verifying Checksum 20:10:19 1469e6f7b9e6: Download complete 20:10:19 339a4e72a1f5: Verifying Checksum 20:10:19 339a4e72a1f5: Download complete 20:10:19 eaf3925da568: Download complete 20:10:19 bde34c3a00c8: Verifying Checksum 20:10:19 bde34c3a00c8: Download complete 20:10:19 b352a97aabf1: Download complete 20:10:19 4872d77fe225: Verifying Checksum 20:10:19 4872d77fe225: Download complete 20:10:19 5851b861e8e6: Download complete 20:10:19 b85a868b505f: Verifying Checksum 20:10:19 b85a868b505f: Download complete 20:10:19 bab4dde63d76: Verifying Checksum 20:10:19 bab4dde63d76: Download complete 20:10:21 b85a868b505f: Pull complete 20:10:21 e2be974225ed: Pull complete 20:10:21 339a4e72a1f5: Pull complete 20:10:21 988bab9f4d93: Pull complete 20:10:21 1469e6f7b9e6: Pull complete 20:10:21 eaf3925da568: Pull complete 20:10:23 bab4dde63d76: Pull complete 20:10:23 bde34c3a00c8: Pull complete 20:10:23 b352a97aabf1: Pull complete 20:10:23 4872d77fe225: Pull complete 20:10:24 5851b861e8e6: Pull complete 20:10:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:10:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:24 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 20:10:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:10:29 $ docker top b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 -eo pid,comm 20:10:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:10:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:10:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:29 [ssh-agent] Looking for ssh-agent implementation... 20:10:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:30 $ docker exec b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 ssh-agent 20:10:30 SSH_AUTH_SOCK=/tmp/ssh-UVjDkmA3csic/agent.32 20:10:30 SSH_AGENT_PID=38 20:10:30 Running ssh-add (command line suppressed) 20:10:30 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3228210896776976938.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3228210896776976938.key) 20:10:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:30 + git tag --points-at HEAD [Pipeline] } 20:10:30 $ docker exec --env ******** --env ******** b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 ssh-agent -k 20:10:30 unset SSH_AUTH_SOCK; 20:10:30 unset SSH_AGENT_PID; 20:10:30 echo Agent pid 38 killed; 20:10:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:10:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:30 [ssh-agent] Looking for ssh-agent implementation... 20:10:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:30 $ docker exec b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 ssh-agent 20:10:30 SSH_AUTH_SOCK=/tmp/ssh-2TrCsyuEhgQd/agent.70 20:10:30 SSH_AGENT_PID=76 20:10:30 Running ssh-add (command line suppressed) 20:10:31 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16544074848192738646.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16544074848192738646.key) 20:10:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:31 + git semver init 20:10:31 2023-07-17 20:10:31,517 [run_init] DEBUG init version:0.0.0 force:False 20:10:31 2023-07-17 20:10:31,518 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 20:10:31 2023-07-17 20:10:31,519 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 20:10:31 2023-07-17 20:10:31,519 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20, universal_newlines=False, shell=None, istream=None) 20:10:32 2023-07-17 20:10:32,379 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 20:10:32 2023-07-17 20:10:32,380 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 20:10:32 2023-07-17 20:10:32,380 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 20:10:32 2023-07-17 20:10:32,384 [execute] INFO git cat-file --batch-check 20:10:32 2023-07-17 20:10:32,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 20:10:32 2023-07-17 20:10:32,390 [execute] INFO git cat-file --batch 20:10:32 2023-07-17 20:10:32,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 20:10:32 2023-07-17 20:10:32,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 20:10:32 0.0.0 [Pipeline] } 20:10:32 $ docker exec --env ******** --env ******** b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 ssh-agent -k 20:10:32 unset SSH_AUTH_SOCK; 20:10:32 unset SSH_AGENT_PID; 20:10:32 echo Agent pid 76 killed; 20:10:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:10:32 + git semver [Pipeline] } 20:10:33 $ docker stop --time=1 b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 20:10:34 $ docker rm -f --volumes b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:10:35 Stashed 1 file(s) [Pipeline] echo 20:10:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:35 provisioning config files... 20:10:35 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config1873196704805607303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:35 ---> docker-login.sh 20:10:35 nexus3.edgexfoundry.org:10001 20:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:35 Configure a credential helper to remove this warning. See 20:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:35 20:10:35 Login Succeeded 20:10:35 nexus3.edgexfoundry.org:10002 20:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:35 Configure a credential helper to remove this warning. See 20:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:35 20:10:35 Login Succeeded 20:10:35 nexus3.edgexfoundry.org:10003 20:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:35 Configure a credential helper to remove this warning. See 20:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:35 20:10:35 Login Succeeded 20:10:35 nexus3.edgexfoundry.org:10004 20:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:35 Configure a credential helper to remove this warning. See 20:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:35 20:10:35 Login Succeeded 20:10:35 docker.io 20:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:36 Configure a credential helper to remove this warning. See 20:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:36 20:10:36 Login Succeeded 20:10:36 ---> docker-login.sh ends [Pipeline] } 20:10:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:10:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:10:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:10:36 ========================================================= 20:10:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:10:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:10:36 Sending build context to Docker daemon 11.12MB 20:10:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:10:36 Step 2/12 : FROM ${BASE} AS builder 20:10:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:10:36 4db1b89c0bd1: Pulling fs layer 20:10:36 6911f1a30b25: Pulling fs layer 20:10:36 e194b8c5c2a9: Pulling fs layer 20:10:36 6863d3e3a2b1: Pulling fs layer 20:10:36 ec0bb842ea78: Pulling fs layer 20:10:36 40a00589a448: Pulling fs layer 20:10:36 6c08303d61cc: Pulling fs layer 20:10:36 798269fcf238: Pulling fs layer 20:10:36 6863d3e3a2b1: Waiting 20:10:36 40a00589a448: Waiting 20:10:36 ec0bb842ea78: Waiting 20:10:36 6c08303d61cc: Waiting 20:10:36 798269fcf238: Waiting 20:10:36 6911f1a30b25: Verifying Checksum 20:10:36 6911f1a30b25: Download complete 20:10:36 6863d3e3a2b1: Verifying Checksum 20:10:36 6863d3e3a2b1: Download complete 20:10:36 ec0bb842ea78: Verifying Checksum 20:10:36 ec0bb842ea78: Download complete 20:10:36 4db1b89c0bd1: Verifying Checksum 20:10:36 4db1b89c0bd1: Download complete 20:10:36 40a00589a448: Verifying Checksum 20:10:36 40a00589a448: Download complete 20:10:36 4db1b89c0bd1: Pull complete 20:10:36 6911f1a30b25: Pull complete 20:10:37 798269fcf238: Download complete 20:10:37 e194b8c5c2a9: Verifying Checksum 20:10:37 e194b8c5c2a9: Download complete 20:10:37 6c08303d61cc: Verifying Checksum 20:10:37 6c08303d61cc: Download complete 20:10:40 e194b8c5c2a9: Pull complete 20:10:40 6863d3e3a2b1: Pull complete 20:10:40 ec0bb842ea78: Pull complete 20:10:41 40a00589a448: Pull complete 20:10:43 6c08303d61cc: Pull complete 20:10:44 798269fcf238: Pull complete 20:10:44 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:10:44 ---> ec979cd7f677 20:10:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:10:50 Still waiting to schedule task 20:10:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:10:52 ---> Running in e451b1fb0f79 20:10:52 Removing intermediate container e451b1fb0f79 20:10:52 ---> 64092cfe3f2e 20:10:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:10:52 ---> Running in 35aef2b35d6a 20:10:52 Removing intermediate container 35aef2b35d6a 20:10:52 ---> bad1e0c0681c 20:10:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:10:52 ---> Running in a0fcc41915ae 20:10:52 Removing intermediate container a0fcc41915ae 20:10:52 ---> 7aec57df095e 20:10:52 Step 6/12 : WORKDIR /device-uart 20:10:53 ---> Running in 83b918bd3645 20:10:53 Removing intermediate container 83b918bd3645 20:10:53 ---> 9857a3540ab7 20:10:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:53 ---> Running in 3b0b1ddf513d 20:10:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:10:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:10:53 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:10:53 (2/4) Installing libedit (20221030.3.1-r0) 20:10:53 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:10:53 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:10:53 Executing busybox-1.35.0-r29.trigger 20:10:53 OK: 269 MiB in 57 packages 20:10:54 Removing intermediate container 3b0b1ddf513d 20:10:54 ---> fd35a86c41f2 20:10:54 Step 8/12 : COPY go.mod vendor* ./ 20:10:54 ---> c0ee68b0bdaf 20:10:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:54 ---> Running in 476e9e75097b 20:12:02 Removing intermediate container 476e9e75097b 20:12:02 ---> 49ef9ddc8726 20:12:02 Step 10/12 : COPY . . 20:12:02 ---> 03e5c62a4aca 20:12:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:02 ---> Running in afed47a5d5d0 20:12:02 Removing intermediate container afed47a5d5d0 20:12:02 ---> 0675d37bc9dd 20:12:02 Step 12/12 : RUN ${MAKE} 20:12:02 ---> Running in 7635b9aa158c 20:12:02 noop 20:12:02 Removing intermediate container 7635b9aa158c 20:12:02 ---> f706222d0815 20:12:02 Successfully built f706222d0815 20:12:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:02 + docker inspect -f . ci-base-image-x86_64 20:12:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:02 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 20:12:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:03 $ docker top 829b9d19c4062a9656b629afb049a066d33ad08b13a5fda63c7cad5cddadb40f -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:03 + go version 20:12:03 go version go1.20.6 linux/amd64 [Pipeline] } 20:12:03 $ docker stop --time=1 829b9d19c4062a9656b629afb049a066d33ad08b13a5fda63c7cad5cddadb40f 20:12:04 $ docker rm -f --volumes 829b9d19c4062a9656b629afb049a066d33ad08b13a5fda63c7cad5cddadb40f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:05 + docker inspect -f . ci-base-image-x86_64 20:12:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:05 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 20:12:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:05 $ docker top e9633d2fde8a4bb5837fc12a63df6c896d500a3604611d90c6da2b864e2a19fb -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 20:12:06 + make test 20:12:06 go test ./... -coverprofile=coverage.out 20:12:11 ? github.com/edgexfoundry/device-uart [no test files] 20:12:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1360 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 20:12:21 Running in /w/workspace/device-uart/6 [Pipeline] { [Pipeline] checkout 20:12:21 The recommended git tool is: git 20:12:21 ? github.com/edgexfoundry/device-uart/cmd [no test files] 20:12:21 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 20:12:26 using credential edgex-jenkins-ssh 20:12:26 Cloning the remote Git repository 20:12:26 Cloning repository git@github.com:edgexfoundry/device-uart.git 20:12:26 > git init /w/workspace/device-uart/6 # timeout=10 20:12:26 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 20:12:26 > git --version # timeout=10 20:12:26 > git --version # 'git version 2.25.1' 20:12:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:28 internal/driver/driver.go:202:24: ineffectual assignment to err (ineffassign) 20:12:28 key_timeout_value, err := cast.ToIntE(req.Attributes["timeout"]) 20:12:28 ^ 20:12:28 make: *** [Makefile:30: lint] Error 1 [Pipeline] } 20:12:28 $ docker stop --time=1 e9633d2fde8a4bb5837fc12a63df6c896d500a3604611d90c6da2b864e2a19fb 20:12:27 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 20:12:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:28 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 20:12:28 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 20:12:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:12:29 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit e1e5c0714d4b7ecb184c314f8395bbc096763fa2 20:12:29 Merge succeeded, producing b4e3526084261c02fcb95482fc5ecdede031c9c1 20:12:29 Checking out Revision b4e3526084261c02fcb95482fc5ecdede031c9c1 (PR-20) 20:12:29 > git config core.sparsecheckout # timeout=10 20:12:29 > git checkout -f e1e5c0714d4b7ecb184c314f8395bbc096763fa2 # timeout=10 20:12:29 > git remote # timeout=10 20:12:29 > git config --get remote.origin.url # timeout=10 20:12:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:29 > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 20:12:29 > git rev-parse HEAD^{commit} # timeout=10 20:12:29 > git config core.sparsecheckout # timeout=10 20:12:29 > git checkout -f b4e3526084261c02fcb95482fc5ecdede031c9c1 # timeout=10 20:12:32 $ docker rm -f --volumes e9633d2fde8a4bb5837fc12a63df6c896d500a3604611d90c6da2b864e2a19fb [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 20:12:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:32 20:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:33 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" 20:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:33 latest: Pulling from edgex-lftools-log-publisher 20:12:33 5eb5b503b376: Pulling fs layer 20:12:33 5c69ac0246d0: Pulling fs layer 20:12:33 ec43610c2a17: Pulling fs layer 20:12:33 3a2ae6a8a46f: Pulling fs layer 20:12:33 33b1e0a273af: Pulling fs layer 20:12:33 5d3b04190fa2: Pulling fs layer 20:12:33 2f39f015ded8: Pulling fs layer 20:12:33 3a2ae6a8a46f: Waiting 20:12:33 5d3b04190fa2: Waiting 20:12:33 2f39f015ded8: Waiting 20:12:33 5c69ac0246d0: Download complete 20:12:33 3a2ae6a8a46f: Download complete 20:12:33 33b1e0a273af: Download complete 20:12:33 First time build. Skipping changelog. 20:12:33 5d3b04190fa2: Download complete 20:12:33 ec43610c2a17: Verifying Checksum 20:12:33 ec43610c2a17: Download complete 20:12:33 5eb5b503b376: Verifying Checksum 20:12:33 5eb5b503b376: Download complete 20:12:33 20:12:33 GitHub has been notified of this commit’s build result 20:12:33 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:34 2f39f015ded8: Download complete 20:12:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:12:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:12:34 Dload Upload Total Spent Left Speed 20:12:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh 20:12:33 > git rev-list --no-walk 339ca57cf7f52cfc67dc0cd7081df455878fee0b # timeout=10 20:12:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:12:35 5eb5b503b376: Pull complete 20:12:35 5c69ac0246d0: Pull complete 20:12:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:12:35 + sudo tee /etc/docker/daemon.new 20:12:35 { 20:12:35 "registry-mirrors": [ 20:12:35 "https://nexus3.edgexfoundry.org:10001" 20:12:35 ], 20:12:35 "bip": "10.250.0.254/24", 20:12:35 "hosts": [ 20:12:35 "tcp://0.0.0.0:5555", 20:12:35 "unix:///var/run/docker.sock" 20:12:35 ], 20:12:35 "mtu": 1458, 20:12:35 "selinux-enabled": true, 20:12:35 "seccomp-profile": "/etc/docker/seccomp.json" 20:12:35 } [Pipeline] sh 20:12:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 20:12:35 ec43610c2a17: Pull complete [Pipeline] sh 20:12:35 3a2ae6a8a46f: Pull complete 20:12:35 + sudo service docker restart 20:12:36 33b1e0a273af: Pull complete 20:12:36 5d3b04190fa2: Pull complete 20:12:41 2f39f015ded8: Pull complete 20:12:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:12:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:41 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 20:12:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:12:48 $ docker top fe6e3bb9a6b56e74bb77301ac01d1995ab08744674f7d1440138f66b7a83f23f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:48 ---> job-cost.sh 20:12:48 lf-activate-venv: SKIPPING 20:12:48 INFO: No Stack... 20:12:48 INFO: Retrieving Pricing Info for: v3-standard-8 20:12:49 INFO: Archiving Costs [Pipeline] sh 20:12:49 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 20:12:49 + cut -d, -f6 [Pipeline] lock 20:12:49 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] 20:12:49 Resource [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] did not exist. Created. 20:12:49 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:12:49 + echo total: 0.2199999988079071 [Pipeline] stash 20:12:49 Stashed 1 file(s) [Pipeline] } 20:12:49 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:12:49 $ docker stop --time=1 fe6e3bb9a6b56e74bb77301ac01d1995ab08744674f7d1440138f66b7a83f23f 20:12:50 $ docker rm -f --volumes fe6e3bb9a6b56e74bb77301ac01d1995ab08744674f7d1440138f66b7a83f23f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:12:51 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:54 provisioning config files... 20:12:54 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/6@tmp/config13737889343827221331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:54 ---> docker-login.sh 20:12:54 nexus3.edgexfoundry.org:10001 20:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:55 Configure a credential helper to remove this warning. See 20:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:55 20:12:55 Login Succeeded 20:12:55 nexus3.edgexfoundry.org:10002 20:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:55 Configure a credential helper to remove this warning. See 20:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:55 20:12:55 Login Succeeded 20:12:55 nexus3.edgexfoundry.org:10003 20:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:55 Configure a credential helper to remove this warning. See 20:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:55 20:12:55 Login Succeeded 20:12:55 nexus3.edgexfoundry.org:10004 20:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:56 Configure a credential helper to remove this warning. See 20:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:56 20:12:56 Login Succeeded 20:12:56 docker.io 20:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:56 Configure a credential helper to remove this warning. See 20:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:56 20:12:56 Login Succeeded 20:12:56 ---> docker-login.sh ends [Pipeline] } 20:12:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:12:56 ========================================================= 20:12:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:12:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:12:57 Sending build context to Docker daemon 5.617MB 20:12:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:12:57 Step 2/12 : FROM ${BASE} AS builder 20:12:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:12:59 edb6bdbacee9: Pulling fs layer 20:12:59 5f9638ab2659: Pulling fs layer 20:12:59 8d51d6327a98: Pulling fs layer 20:12:59 8b374f2dd631: Pulling fs layer 20:12:59 ec14aa9079de: Pulling fs layer 20:12:59 2f466654f4bb: Pulling fs layer 20:12:59 554e91adad29: Pulling fs layer 20:12:59 ec14aa9079de: Waiting 20:12:59 2f466654f4bb: Waiting 20:12:59 554e91adad29: Waiting 20:12:59 8b374f2dd631: Waiting 20:12:59 5f9638ab2659: Verifying Checksum 20:12:59 5f9638ab2659: Download complete 20:12:59 8b374f2dd631: Verifying Checksum 20:12:59 8b374f2dd631: Download complete 20:12:59 ec14aa9079de: Verifying Checksum 20:12:59 ec14aa9079de: Download complete 20:12:59 edb6bdbacee9: Verifying Checksum 20:12:59 edb6bdbacee9: Download complete 20:13:00 edb6bdbacee9: Pull complete 20:13:01 554e91adad29: Verifying Checksum 20:13:01 554e91adad29: Download complete 20:13:01 5f9638ab2659: Pull complete 20:13:02 8d51d6327a98: Verifying Checksum 20:13:02 8d51d6327a98: Download complete 20:13:02 2f466654f4bb: Verifying Checksum 20:13:02 2f466654f4bb: Download complete 20:13:14 8d51d6327a98: Pull complete 20:13:14 8b374f2dd631: Pull complete 20:13:14 ec14aa9079de: Pull complete 20:13:21 2f466654f4bb: Pull complete 20:13:23 554e91adad29: Pull complete 20:13:23 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:13:23 ---> 1e15ea492957 20:13:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:13:24 ---> Running in 8cb0e58804c9 20:13:25 Removing intermediate container 8cb0e58804c9 20:13:25 ---> 51b9a1f30ae9 20:13:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:13:25 ---> Running in 4417a8310216 20:13:25 Removing intermediate container 4417a8310216 20:13:25 ---> 040d113a740d 20:13:25 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:13:25 ---> Running in ece97bcf79cf 20:13:25 Removing intermediate container ece97bcf79cf 20:13:25 ---> a3317365e1fa 20:13:25 Step 6/12 : WORKDIR /device-uart 20:13:25 ---> Running in edbac765e8e0 20:13:26 Removing intermediate container edbac765e8e0 20:13:26 ---> 04150aabe2a1 20:13:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:26 ---> Running in 495fdadbfc3c 20:13:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:13:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:13:28 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:13:28 (2/4) Installing libedit (20221030.3.1-r0) 20:13:28 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:13:28 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:13:28 Executing busybox-1.35.0-r29.trigger 20:13:28 OK: 268 MiB in 57 packages 20:13:29 Removing intermediate container 495fdadbfc3c 20:13:29 ---> f86fab2d4f6c 20:13:29 Step 8/12 : COPY go.mod vendor* ./ 20:13:30 ---> 8272a16294f1 20:13:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:30 ---> Running in 07893194f450 20:14:38 Removing intermediate container 07893194f450 20:14:38 ---> 0cc747548ae4 20:14:38 Step 10/12 : COPY . . 20:14:38 ---> aeb9a2ca711e 20:14:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:14:38 ---> Running in 8347958be25a 20:14:38 Removing intermediate container 8347958be25a 20:14:38 ---> 48abc96ce69c 20:14:38 Step 12/12 : RUN ${MAKE} 20:14:38 ---> Running in 6893a93bb737 20:14:38 noop 20:14:38 Removing intermediate container 6893a93bb737 20:14:38 ---> cd4660cf0c64 20:14:38 Successfully built cd4660cf0c64 20:14:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:38 + docker inspect -f . ci-base-image-arm64 20:14:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:38 prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container 20:14:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:14:39 $ docker top 9bf1128df6680ef2dfd6b90005ff51e57463f2dcc605aafe965d29d5c1da967c -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:40 + go version 20:14:40 go version go1.20.6 linux/arm64 [Pipeline] } 20:14:40 $ docker stop --time=1 9bf1128df6680ef2dfd6b90005ff51e57463f2dcc605aafe965d29d5c1da967c 20:14:42 $ docker rm -f --volumes 9bf1128df6680ef2dfd6b90005ff51e57463f2dcc605aafe965d29d5c1da967c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:42 + docker inspect -f . ci-base-image-arm64 20:14:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:42 prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container 20:14:43 $ 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/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:14:44 $ docker top 2c25b8092852ad29d3d7feedd428a5a653aaba83d446a1ca90821a2a6dd0b019 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:44 + git config --global --add safe.directory /w/workspace/device-uart/6 [Pipeline] fileExists [Pipeline] sh 20:14:45 + make test 20:14:45 go test ./... -coverprofile=coverage.out 20:15:17 ? github.com/edgexfoundry/device-uart [no test files] 20:16:54 ? github.com/edgexfoundry/device-uart/cmd [no test files] 20:16:54 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 20:16:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:16:54 go vet ./... 20:17:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:17:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:17:26 ./bin/test-attribution-txt.sh [Pipeline] echo 20:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:17:26 $ docker stop --time=1 2c25b8092852ad29d3d7feedd428a5a653aaba83d446a1ca90821a2a6dd0b019 20:17:29 $ docker rm -f --volumes 2c25b8092852ad29d3d7feedd428a5a653aaba83d446a1ca90821a2a6dd0b019 [Pipeline] // withDockerContainer [Pipeline] sh 20:17:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:17:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:17:31 + ls -al . 20:17:31 total 136 20:17:31 drwxrwxr-x 6 jenkins jenkins 4096 Jul 17 20:14 . 20:17:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 20:12 .. 20:17:31 -rw-rw-r-- 1 jenkins jenkins 140 Jul 17 20:12 .dockerignore 20:17:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:12 .git 20:17:31 -rw-rw-r-- 1 jenkins jenkins 343 Jul 17 20:12 .gitignore 20:17:31 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 20:12 .golangci.yml 20:17:31 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 17 20:12 Attribution.txt 20:17:31 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 17 20:12 Dockerfile 20:17:31 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 20:12 GOVERNANCE.md 20:17:31 -rw-rw-r-- 1 jenkins jenkins 675 Jul 17 20:12 Jenkinsfile 20:17:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 17 20:12 LICENSE 20:17:31 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 17 20:12 Makefile 20:17:31 -rw-rw-r-- 1 jenkins jenkins 617 Jul 17 20:12 OWNERS.md 20:17:31 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 17 20:12 README.md 20:17:31 -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 20:10 VERSION 20:17:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 20:12 bin 20:17:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:12 cmd 20:17:31 -rw-r--r-- 1 jenkins jenkins 10 Jul 17 20:14 coverage.out 20:17:31 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 17 20:12 go.mod 20:17:31 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 17 20:12 go.sum 20:17:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:12 internal 20:17:31 -rw-rw-r-- 1 jenkins jenkins 209 Jul 17 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:32 + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b4e3526084261c02fcb95482fc5ecdede031c9c1 --label arch=arm64 --label version=0.0.0 . 20:17:32 Sending build context to Docker daemon 5.618MB 20:17:32 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:17:32 Step 2/25 : FROM ${BASE} AS builder 20:17:32 ---> cd4660cf0c64 20:17:32 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:17:32 ---> Running in a716232b7585 20:17:33 Removing intermediate container a716232b7585 20:17:33 ---> e8ad56206e39 20:17:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:17:33 ---> Running in 1681bef9d6cb 20:17:33 Removing intermediate container 1681bef9d6cb 20:17:33 ---> 4cdf23afd65c 20:17:33 Step 5/25 : ARG ADD_BUILD_TAGS="" 20:17:33 ---> Running in 26057ce8f9e8 20:17:33 Removing intermediate container 26057ce8f9e8 20:17:33 ---> 399bbcf27562 20:17:33 Step 6/25 : WORKDIR /device-uart 20:17:34 ---> Running in edc0cb69cbe7 20:17:34 Removing intermediate container edc0cb69cbe7 20:17:34 ---> 84d45e517b98 20:17:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:34 ---> Running in 11b6431cc65a 20:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:17:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:17:37 OK: 268 MiB in 57 packages 20:17:38 Removing intermediate container 11b6431cc65a 20:17:38 ---> 8b684174d78b 20:17:38 Step 8/25 : COPY go.mod vendor* ./ 20:17:40 ---> 3caa079ee898 20:17:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:40 ---> Running in d11a68103a0a 20:17:45 Removing intermediate container d11a68103a0a 20:17:45 ---> 6bd642ee87c0 20:17:45 Step 10/25 : COPY . . 20:17:46 ---> a77db7a52885 20:17:46 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:46 ---> Running in 82fc131de65c 20:17:47 Removing intermediate container 82fc131de65c 20:17:47 ---> ce731f98f38b 20:17:47 Step 12/25 : RUN ${MAKE} 20:17:47 ---> Running in ab994d5ac5e0 20:17:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 20:19:56 Removing intermediate container ab994d5ac5e0 20:19:56 ---> f4ffe4a778c0 20:19:56 Step 13/25 : FROM alpine:3.17 20:19:56 3.17: Pulling from library/alpine 20:19:56 edb6bdbacee9: Already exists 20:19:56 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:19:56 Status: Downloaded newer image for alpine:3.17 20:19:56 ---> 779605e5fbc0 20:19:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:19:56 ---> Running in 117afded3b70 20:19:56 Removing intermediate container 117afded3b70 20:19:56 ---> b14af00bd774 20:19:56 Step 15/25 : RUN apk add --update --no-cache dumb-init 20:19:56 ---> Running in bbbd55959fdc 20:19:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:19:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:19:56 (1/1) Installing dumb-init (1.2.5-r2) 20:19:56 Executing busybox-1.35.0-r29.trigger 20:19:56 OK: 8 MiB in 16 packages 20:19:56 Removing intermediate container bbbd55959fdc 20:19:56 ---> 5c3f613a1c64 20:19:56 Step 16/25 : WORKDIR / 20:19:56 ---> Running in 48871cf0f8f5 20:19:56 Removing intermediate container 48871cf0f8f5 20:19:56 ---> 57a8fd6aa39a 20:19:56 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 20:19:56 ---> 26946632a905 20:19:56 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 20:19:56 ---> b2e2e3bb0c74 20:19:56 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 20:19:56 ---> 23ce3507fbe3 20:19:56 Step 20/25 : EXPOSE 59995 20:19:56 ---> Running in f305c925ecd1 20:19:56 Removing intermediate container f305c925ecd1 20:19:56 ---> 1f1fcf20d6fa 20:19:56 Step 21/25 : ENTRYPOINT ["/device-uart"] 20:19:56 ---> Running in 0a2232d5fa99 20:19:56 Removing intermediate container 0a2232d5fa99 20:19:56 ---> d1e361d31129 20:19:56 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:19:56 ---> Running in 4e303a5b22e5 20:19:56 Removing intermediate container 4e303a5b22e5 20:19:56 ---> 05f539359157 20:19:56 Step 23/25 : LABEL arch=arm64 20:19:56 ---> Running in f11e68ecb323 20:19:56 Removing intermediate container f11e68ecb323 20:19:56 ---> b61b2a68bf60 20:19:56 Step 24/25 : LABEL git_sha=b4e3526084261c02fcb95482fc5ecdede031c9c1 20:19:56 ---> Running in 6df86a945261 20:19:56 Removing intermediate container 6df86a945261 20:19:56 ---> a3e77b0c1290 20:19:56 Step 25/25 : LABEL version=0.0.0 20:19:56 ---> Running in 1185d4d636b7 20:19:56 Removing intermediate container 1185d4d636b7 20:19:56 ---> 3e512a8651a0 20:19:56 [Warning] One or more build-args [ARCH] were not consumed 20:19:56 Successfully built 3e512a8651a0 20:19:56 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:19:56 20:19:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:19:57 arm64: Pulling from edgex-lftools-log-publisher 20:19:57 8998bd30e6a1: Pulling fs layer 20:19:57 04944245beec: Pulling fs layer 20:19:57 699f458cf7ca: Pulling fs layer 20:19:57 765212b225bb: Pulling fs layer 20:19:57 f23df028b6ca: Pulling fs layer 20:19:57 d65c8cfc05b1: Pulling fs layer 20:19:57 2437ff75d9bd: Pulling fs layer 20:19:57 765212b225bb: Waiting 20:19:57 f23df028b6ca: Waiting 20:19:57 d65c8cfc05b1: Waiting 20:19:57 2437ff75d9bd: Waiting 20:19:57 04944245beec: Verifying Checksum 20:19:57 04944245beec: Download complete 20:19:57 765212b225bb: Verifying Checksum 20:19:57 765212b225bb: Download complete 20:19:57 f23df028b6ca: Verifying Checksum 20:19:57 f23df028b6ca: Download complete 20:19:57 d65c8cfc05b1: Verifying Checksum 20:19:57 d65c8cfc05b1: Download complete 20:19:57 699f458cf7ca: Verifying Checksum 20:19:57 699f458cf7ca: Download complete 20:19:58 8998bd30e6a1: Verifying Checksum 20:19:58 8998bd30e6a1: Download complete 20:20:00 2437ff75d9bd: Verifying Checksum 20:20:00 2437ff75d9bd: Download complete 20:20:01 8998bd30e6a1: Pull complete 20:20:02 04944245beec: Pull complete 20:20:03 699f458cf7ca: Pull complete 20:20:03 765212b225bb: Pull complete 20:20:04 f23df028b6ca: Pull complete 20:20:04 d65c8cfc05b1: Pull complete 20:20:19 2437ff75d9bd: Pull complete 20:20:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:20:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:19 prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container 20:20:19 $ 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/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:20:22 $ docker top 625eea31c85a73bfb6e1b818cde3f7ceb1c524a99526f89d67b6d8b562bb06de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:22 ---> job-cost.sh 20:20:22 lf-activate-venv: SKIPPING 20:20:22 INFO: No Stack... 20:20:23 INFO: Retrieving Pricing Info for: v3-standard-4 20:20:24 INFO: Archiving Costs [Pipeline] sh 20:20:24 + cat /w/workspace/device-uart/6/archives/cost.csv 20:20:24 + cut -d, -f6 [Pipeline] lock 20:20:24 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] 20:20:24 Resource [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] did not exist. Created. 20:20:24 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:20:24 /w/workspace/device-uart/6@tmp/durable-fde8ae2b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:20:25 + echo total: 0.10999999940395355 [Pipeline] stash 20:20:25 Warning: overwriting stash ‘stack-cost’ 20:20:25 Stashed 1 file(s) [Pipeline] } 20:20:25 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:20:25 $ docker stop --time=1 625eea31c85a73bfb6e1b818cde3f7ceb1c524a99526f89d67b6d8b562bb06de 20:20:26 $ docker rm -f --volumes 625eea31c85a73bfb6e1b818cde3f7ceb1c524a99526f89d67b6d8b562bb06de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) 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 20:20:27 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 20:20:27 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:20:27 total 16 20:20:27 drwxr-xr-x 3 root root 4096 Jul 17 20:12 . 20:20:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:12 .. 20:20:27 drwxr-xr-x 2 root root 4096 Jul 17 20:12 cost 20:20:27 -rw-r--r-- 1 root root 82 Jul 17 20:12 cost.csv 20:20:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:20:27 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 20:20:27 total 16 20:20:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 20:12 . 20:20:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:12 .. 20:20:27 drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 20:12 cost 20:20:27 -rw-r--r-- 1 jenkins jenkins 82 Jul 17 20:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:20:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:20:28 ---> package-listing.sh 20:20:28 ++ facter osfamily 20:20:28 ++ tr '[:upper:]' '[:lower:]' 20:20:29 + OS_FAMILY=debian 20:20:29 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 20:20:29 + START_PACKAGES=/tmp/packages_start.txt 20:20:29 + END_PACKAGES=/tmp/packages_end.txt 20:20:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:20:29 + PACKAGES=/tmp/packages_start.txt 20:20:29 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 20:20:29 + PACKAGES=/tmp/packages_end.txt 20:20:29 + case "${OS_FAMILY}" in 20:20:29 + dpkg -l 20:20:29 + grep '^ii' 20:20:29 + '[' -f /tmp/packages_start.txt ']' 20:20:29 + '[' -f /tmp/packages_end.txt ']' 20:20:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:20:29 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 20:20:29 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 20:20:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo 20:20:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:20:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:30 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 20:20:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:20:30 $ docker top 9981cf8f2d24b970dab24eb6a097f930c61c441e2fc315963f8bb9587009e78c -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:30 + touch /tmp/pre-build-complete [Pipeline] sh 20:20:30 + mkdir -p /var/log/sysstat [Pipeline] sh 20:20:31 + ls /var/log/sa-host 20:20:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:31 provisioning config files... 20:20:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config11682605594177055364tmp [Pipeline] { [Pipeline] echo 20:20:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:20:31 ---> create-netrc.sh [Pipeline] } 20:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:20:32 ---> python-tools-install.sh [Pipeline] echo 20:20:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:20:32 ---> sudo-logs.sh 20:20:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:20:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:20:32 ---> job-cost.sh 20:20:32 lf-activate-venv: SKIPPING 20:20:32 DEBUG: total: 0.2199999988079071 20:20:32 INFO: Retrieving Stack Cost... 20:20:32 INFO: Retrieving Pricing Info for: v3-standard-8 20:20:33 INFO: Archiving Costs [Pipeline] echo 20:20:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:20:33 ---> logs-deploy.sh 20:20:33 lf-activate-venv: SKIPPING 20:20:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/6 20:20:33 INFO: archiving workspace using pattern(s): 20:20:34 Archives upload complete. 20:20:34 INFO: archiving logs to Nexus