Pull request #53 opened 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 cloudxxx8 for edgexfoundry/device-uart Obtained Jenkinsfile from d29d59aa91c5e4b626911b2529954fa1a9089a75+d0925bfba9be57c91a88507a1350afd17db6efb3 (d775be46973a823982fb5a7db948358026aac79c) 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-ssh12826237648450802776.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5624971551475383193.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 590556114a56c6d90cc8043840e039c2f74196dc 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-53/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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5915151401287070874.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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6954478382557250493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh13984476498613355595.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-53/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-53/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4603441701386197679.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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.21 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-1013 in /w/workspace/edgexfoundry_device-uart_PR-53 [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-53 # 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/53/head:refs/remotes/origin/PR-53 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit d0925bfba9be57c91a88507a1350afd17db6efb3 into PR head commit d29d59aa91c5e4b626911b2529954fa1a9089a75 Merge succeeded, producing d29d59aa91c5e4b626911b2529954fa1a9089a75 Checking out Revision d29d59aa91c5e4b626911b2529954fa1a9089a75 (PR-53) > git config core.sparsecheckout # timeout=10 > git checkout -f d29d59aa91c5e4b626911b2529954fa1a9089a75 # 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 d0925bfba9be57c91a88507a1350afd17db6efb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d29d59aa91c5e4b626911b2529954fa1a9089a75 # timeout=10 Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:46:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:46:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:46:20 ========================================================= 07:46:20 EdgeX Global Pipelines Version Info 07:46:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:46:21 ------------------- 07:46:21 stable info: 07:46:21 ------------------- 07:46:21 Commited By: Ginny Guan ginny@iotechsys.com 07:46:21 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:46:21 Message: update stable to v1.0.260 07:46:22 ------------------- 07:46:22 experimental info: 07:46:22 ------------------- 07:46:22 Commited By: Ginny Guan ginny@iotechsys.com 07:46:22 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:46:22 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:46:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:46:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:46:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:46:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-53 [Pipeline] echo 07:46:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-53 [Pipeline] echo 07:46:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-53 [Pipeline] echo 07:46:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] echo 07:46:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d29d59a [Pipeline] echo 07:46:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:46:24 provisioning config files... 07:46:24 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-53@tmp/config15775287821565433192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:25 ---> ****-login.sh 07:46:25 nexus3.edgexfoundry.org:10001 07:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:25 Configure a credential helper to remove this warning. See 07:46:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:25 07:46:25 Login Succeeded 07:46:25 nexus3.edgexfoundry.org:10002 07:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:25 Configure a credential helper to remove this warning. See 07:46:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:25 07:46:25 Login Succeeded 07:46:25 nexus3.edgexfoundry.org:10003 07:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:25 Configure a credential helper to remove this warning. See 07:46:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:25 07:46:25 Login Succeeded 07:46:25 nexus3.edgexfoundry.org:10004 07:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:25 Configure a credential helper to remove this warning. See 07:46:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:25 07:46:25 Login Succeeded 07:46:25 ****.io 07:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:26 Configure a credential helper to remove this warning. See 07:46:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:26 07:46:26 Login Succeeded 07:46:26 ---> ****-login.sh ends [Pipeline] } 07:46:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:46:26 + git rev-list -1 --merges d29d59aa91c5e4b626911b2529954fa1a9089a75~1..d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] echo 07:46:26 -----------> git rev-list -1 --merges d29d59aa91c5e4b626911b2529954fa1a9089a75~1..d29d59aa91c5e4b626911b2529954fa1a9089a75 d29d59aa91c5e4b626911b2529954fa1a9089a75 [false] [Pipeline] sh 07:46:27 + git log --format=format:%s -1 d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] echo 07:46:27 ========================================================= 07:46:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:46:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:27 + git log --format=format:%s -1 d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] echo 07:46:27 [semverPrep] GIT_COMMIT: d29d59aa91c5e4b626911b2529954fa1a9089a75, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo 07:46:27 [semverPrep] This is not a build commit. [Pipeline] sh 07:46:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:46:28 + grep -v github /etc/ssh/ssh_known_hosts 07:46:28 + [ -e /tmp/ssh_known_hosts ] 07:46:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:46:28 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:46:28 sudo tee -a /etc/ssh/ssh_known_hosts 07:46:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:28 07:46:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:29 0.1.4: Pulling from edgex-devops/py-git-semver 07:46:29 b85a868b505f: Pulling fs layer 07:46:29 e2be974225ed: Pulling fs layer 07:46:29 339a4e72a1f5: Pulling fs layer 07:46:29 988bab9f4d93: Pulling fs layer 07:46:29 1469e6f7b9e6: Pulling fs layer 07:46:29 eaf3925da568: Pulling fs layer 07:46:29 bab4dde63d76: Pulling fs layer 07:46:29 bde34c3a00c8: Pulling fs layer 07:46:29 b352a97aabf1: Pulling fs layer 07:46:29 4872d77fe225: Pulling fs layer 07:46:29 5851b861e8e6: Pulling fs layer 07:46:29 bab4dde63d76: Waiting 07:46:29 bde34c3a00c8: Waiting 07:46:29 1469e6f7b9e6: Waiting 07:46:29 eaf3925da568: Waiting 07:46:29 b352a97aabf1: Waiting 07:46:29 4872d77fe225: Waiting 07:46:29 5851b861e8e6: Waiting 07:46:29 988bab9f4d93: Waiting 07:46:29 e2be974225ed: Verifying Checksum 07:46:29 e2be974225ed: Download complete 07:46:29 988bab9f4d93: Verifying Checksum 07:46:29 988bab9f4d93: Download complete 07:46:29 1469e6f7b9e6: Verifying Checksum 07:46:29 1469e6f7b9e6: Download complete 07:46:29 eaf3925da568: Verifying Checksum 07:46:29 eaf3925da568: Download complete 07:46:29 339a4e72a1f5: Verifying Checksum 07:46:29 339a4e72a1f5: Download complete 07:46:29 bde34c3a00c8: Verifying Checksum 07:46:29 bde34c3a00c8: Download complete 07:46:29 b352a97aabf1: Download complete 07:46:29 4872d77fe225: Verifying Checksum 07:46:29 4872d77fe225: Download complete 07:46:29 5851b861e8e6: Verifying Checksum 07:46:29 5851b861e8e6: Download complete 07:46:29 b85a868b505f: Download complete 07:46:29 bab4dde63d76: Verifying Checksum 07:46:29 bab4dde63d76: Download complete 07:46:30 b85a868b505f: Pull complete 07:46:30 e2be974225ed: Pull complete 07:46:31 339a4e72a1f5: Pull complete 07:46:31 988bab9f4d93: Pull complete 07:46:31 1469e6f7b9e6: Pull complete 07:46:31 eaf3925da568: Pull complete 07:46:33 bab4dde63d76: Pull complete 07:46:33 bde34c3a00c8: Pull complete 07:46:33 b352a97aabf1: Pull complete 07:46:33 4872d77fe225: Pull complete 07:46:33 5851b861e8e6: Pull complete 07:46:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:46:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:34 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 07:46:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:46:37 $ docker top 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 -eo pid,comm 07:46:37 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). 07:46:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:46:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:46:37 [ssh-agent] Looking for ssh-agent implementation... 07:46:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:46:37 $ docker exec 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 ssh-agent 07:46:37 SSH_AUTH_SOCK=/tmp/ssh-4XTV0YsizJ4x/agent.31 07:46:37 SSH_AGENT_PID=37 07:46:37 Running ssh-add (command line suppressed) 07:46:37 Identity added: /w/workspace/edgexfoundry_device-uart_PR-53@tmp/private_key_14155220708045098368.key (/w/workspace/edgexfoundry_device-uart_PR-53@tmp/private_key_14155220708045098368.key) 07:46:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:46:38 + git tag --points-at HEAD [Pipeline] } 07:46:38 $ docker exec --env ******** --env ******** 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 ssh-agent -k 07:46:38 unset SSH_AUTH_SOCK; 07:46:38 unset SSH_AGENT_PID; 07:46:38 echo Agent pid 37 killed; 07:46:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:46:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:46:38 [ssh-agent] Looking for ssh-agent implementation... 07:46:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:46:38 $ docker exec 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 ssh-agent 07:46:38 SSH_AUTH_SOCK=/tmp/ssh-ITOeKBdiZhd8/agent.70 07:46:38 SSH_AGENT_PID=76 07:46:38 Running ssh-add (command line suppressed) 07:46:38 Identity added: /w/workspace/edgexfoundry_device-uart_PR-53@tmp/private_key_18378797147649698314.key (/w/workspace/edgexfoundry_device-uart_PR-53@tmp/private_key_18378797147649698314.key) 07:46:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:46:39 + git semver init 07:46:39 2024-05-29 07:46:39,266 [run_init] DEBUG init version:0.0.0 force:False 07:46:39 2024-05-29 07:46:39,267 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-53/.semver 07:46:39 2024-05-29 07:46:39,268 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-53/.semver 07:46:39 2024-05-29 07:46:39,269 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-53/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-53, universal_newlines=False, shell=None, istream=None) 07:46:40 2024-05-29 07:46:40,383 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-53/.git/info/exclude 07:46:40 2024-05-29 07:46:40,384 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-53/.semver/PR-53 with force:False 07:46:40 2024-05-29 07:46:40,384 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-53/.semver/PR-53 07:46:40 2024-05-29 07:46:40,389 [execute] INFO git cat-file --batch-check 07:46:40 2024-05-29 07:46:40,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-53/.semver, universal_newlines=False, shell=None, istream=) 07:46:40 2024-05-29 07:46:40,398 [execute] INFO git cat-file --batch 07:46:40 2024-05-29 07:46:40,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-53/.semver, universal_newlines=False, shell=None, istream=) 07:46:40 2024-05-29 07:46:40,404 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-53/.semver/PR-53 07:46:40 0.0.0 [Pipeline] } 07:46:40 $ docker exec --env ******** --env ******** 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 ssh-agent -k 07:46:40 unset SSH_AUTH_SOCK; 07:46:40 unset SSH_AGENT_PID; 07:46:40 echo Agent pid 76 killed; 07:46:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:46:41 + git semver [Pipeline] } 07:46:41 $ docker stop --time=1 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 07:46:42 $ docker rm -f --volumes 64c4f0fc3058010428c42b5bc12fe3947d29d0e31f9939ca287a9d9df86df423 [Pipeline] // withDockerContainer [Pipeline] sh 07:46:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:46:43 Stashed 1 file(s) [Pipeline] echo 07:46:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:46:44 provisioning config files... 07:46:44 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-53@tmp/config4658399202341075144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:44 ---> ****-login.sh 07:46:44 nexus3.edgexfoundry.org:10001 07:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:44 Configure a credential helper to remove this warning. See 07:46:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:44 07:46:44 Login Succeeded 07:46:44 nexus3.edgexfoundry.org:10002 07:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:44 Configure a credential helper to remove this warning. See 07:46:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:44 07:46:44 Login Succeeded 07:46:44 nexus3.edgexfoundry.org:10003 07:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:45 Configure a credential helper to remove this warning. See 07:46:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:45 07:46:45 Login Succeeded 07:46:45 nexus3.edgexfoundry.org:10004 07:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:45 Configure a credential helper to remove this warning. See 07:46:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:45 07:46:45 Login Succeeded 07:46:45 ****.io 07:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:46:45 Configure a credential helper to remove this warning. See 07:46:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:46:45 07:46:45 Login Succeeded 07:46:45 ---> ****-login.sh ends [Pipeline] } 07:46:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:46:45 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 07:46:46 + grep+ ^go [0-9].[0-9]* go.mod 07:46:46 cut -d -f 2 [Pipeline] echo 07:46:46 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:46:46 ========================================================= 07:46:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 07:46:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:46:46 Sending build context to Docker daemon 54.02MB 07:46:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:46:46 Step 2/12 : FROM ${BASE} AS builder 07:46:47 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:46:47 619be1103602: Pulling fs layer 07:46:47 7862e08f4a3e: Pulling fs layer 07:46:47 5df492c9dc93: Pulling fs layer 07:46:47 7629e6793208: Pulling fs layer 07:46:47 4f4fb700ef54: Pulling fs layer 07:46:47 8de7f028bff5: Pulling fs layer 07:46:47 44042ff1420b: Pulling fs layer 07:46:47 5cdaf54b7214: Pulling fs layer 07:46:47 38f3e5a9071a: Pulling fs layer 07:46:47 7629e6793208: Waiting 07:46:47 5cdaf54b7214: Waiting 07:46:47 8de7f028bff5: Waiting 07:46:47 4f4fb700ef54: Waiting 07:46:47 7862e08f4a3e: Verifying Checksum 07:46:47 7862e08f4a3e: Download complete 07:46:47 7629e6793208: Download complete 07:46:47 4f4fb700ef54: Verifying Checksum 07:46:47 4f4fb700ef54: Download complete 07:46:47 8de7f028bff5: Download complete 07:46:47 619be1103602: Verifying Checksum 07:46:47 619be1103602: Download complete 07:46:47 44042ff1420b: Verifying Checksum 07:46:47 44042ff1420b: Download complete 07:46:47 619be1103602: Pull complete 07:46:47 38f3e5a9071a: Verifying Checksum 07:46:47 38f3e5a9071a: Download complete 07:46:47 7862e08f4a3e: Pull complete 07:46:47 5df492c9dc93: Verifying Checksum 07:46:47 5df492c9dc93: Download complete 07:46:48 5cdaf54b7214: Verifying Checksum 07:46:48 5cdaf54b7214: Download complete 07:46:51 5df492c9dc93: Pull complete 07:46:51 7629e6793208: Pull complete 07:46:51 4f4fb700ef54: Pull complete 07:46:51 8de7f028bff5: Pull complete 07:46:51 44042ff1420b: Pull complete 07:46:53 5cdaf54b7214: Pull complete 07:46:54 38f3e5a9071a: Pull complete 07:46:54 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 07:46:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 07:46:54 ---> 60b93f829570 07:46:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:46:58 ---> Running in a45a1341d73d 07:46:58 Removing intermediate container a45a1341d73d 07:46:58 ---> 4eae4fda6f4d 07:46:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:46:58 ---> Running in 97bc6c579516 07:46:58 Removing intermediate container 97bc6c579516 07:46:58 ---> 8aca14493849 07:46:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:46:58 ---> Running in c472debd4c15 07:46:58 Removing intermediate container c472debd4c15 07:46:58 ---> a965bcbb71a9 07:46:58 Step 6/12 : WORKDIR /device-uart 07:46:58 ---> Running in 5f0c0c7d8dd2 07:46:58 Removing intermediate container 5f0c0c7d8dd2 07:46:58 ---> a44b5c619c19 07:46:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:58 ---> Running in 6b4b38e2c49d 07:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:46:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:46:59 (1/4) Installing openssh-keygen (9.3_p2-r1) 07:46:59 Still waiting to schedule task 07:46:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:46:59 (2/4) Installing libedit (20221030.3.1-r1) 07:46:59 (3/4) Installing openssh-client-common (9.3_p2-r1) 07:46:59 (4/4) Installing openssh-client-default (9.3_p2-r1) 07:46:59 Executing busybox-1.36.1-r5.trigger 07:46:59 OK: 268 MiB in 56 packages 07:46:59 Removing intermediate container 6b4b38e2c49d 07:46:59 ---> 852bc20e4579 07:46:59 Step 8/12 : COPY go.mod vendor* ./ 07:47:01 ---> d8ad51758ed6 07:47:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:47:01 ---> Running in 5c2bc565258f 07:47:33 Removing intermediate container 5c2bc565258f 07:47:33 ---> 68d675712354 07:47:33 Step 10/12 : COPY . . 07:47:33 ---> c27b109b1def 07:47:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:47:33 ---> Running in a7c071055f65 07:47:33 Removing intermediate container a7c071055f65 07:47:33 ---> 1a2469110872 07:47:33 Step 12/12 : RUN ${MAKE} 07:47:33 ---> Running in 4c9f6866997a 07:47:34 noop 07:47:34 Removing intermediate container 4c9f6866997a 07:47:34 ---> 408616eea945 07:47:34 Successfully built 408616eea945 07:47:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:34 + docker inspect -f . ci-base-image-x86_64 07:47:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:35 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 07:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@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-x86_64 cat 07:47:35 $ docker top 73a2eb11fbe9db7bba056014f07c2cc7a1f0d96ec4ec0544a721c1bd6471d2ab -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:36 + go version 07:47:36 go version go1.21.9 linux/amd64 [Pipeline] } 07:47:36 $ docker stop --time=1 73a2eb11fbe9db7bba056014f07c2cc7a1f0d96ec4ec0544a721c1bd6471d2ab 07:47:37 $ docker rm -f --volumes 73a2eb11fbe9db7bba056014f07c2cc7a1f0d96ec4ec0544a721c1bd6471d2ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:38 + docker inspect -f . ci-base-image-x86_64 07:47:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:38 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 07:47:38 $ 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-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@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-x86_64 cat 07:47:38 $ docker top 4e065e3097c8f9617c1d2f52f3d820770eb3e1849aee0d78bf89fdda078be56e -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-53 [Pipeline] fileExists [Pipeline] sh 07:47:39 + make test 07:47:39 go test ./... -coverprofile=coverage.out 07:47:40 ? github.com/edgexfoundry/device-uart [no test files] 07:47:53 ? github.com/edgexfoundry/device-uart/cmd [no test files] 07:47:53 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 07:47:58 go vet ./... 07:48:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:48:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:48:01 ./bin/test-attribution-txt.sh [Pipeline] echo 07:48:01 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:48:01 + go mod tidy [Pipeline] } 07:48:01 $ docker stop --time=1 4e065e3097c8f9617c1d2f52f3d820770eb3e1849aee0d78bf89fdda078be56e 07:48:04 $ docker rm -f --volumes 4e065e3097c8f9617c1d2f52f3d820770eb3e1849aee0d78bf89fdda078be56e [Pipeline] // withDockerContainer [Pipeline] sh 07:48:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:48:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:48:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:48:06 + ls -al . 07:48:06 total 160 07:48:06 drwxrwxr-x 9 jenkins jenkins 4096 May 29 07:47 . 07:48:06 drwxrwxr-x 4 jenkins jenkins 4096 May 29 07:46 .. 07:48:06 -rw-rw-r-- 1 jenkins jenkins 140 May 29 07:46 .dockerignore 07:48:06 drwxrwxr-x 8 jenkins jenkins 4096 May 29 07:47 .git 07:48:06 drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:46 .github 07:48:06 -rw-rw-r-- 1 jenkins jenkins 335 May 29 07:46 .gitignore 07:48:06 -rw-rw-r-- 1 jenkins jenkins 41 May 29 07:46 .golangci.yml 07:48:06 drwxr-xr-x 3 jenkins jenkins 4096 May 29 07:46 .semver 07:48:06 -rw-rw-r-- 1 jenkins jenkins 9960 May 29 07:46 Attribution.txt 07:48:06 -rw-rw-r-- 1 jenkins jenkins 1908 May 29 07:46 CHANGELOG.md 07:48:06 -rw-rw-r-- 1 jenkins jenkins 1886 May 29 07:46 Dockerfile 07:48:06 -rw-rw-r-- 1 jenkins jenkins 677 May 29 07:46 GOVERNANCE.md 07:48:06 -rw-rw-r-- 1 jenkins jenkins 675 May 29 07:46 Jenkinsfile 07:48:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 07:46 LICENSE 07:48:06 -rw-rw-r-- 1 jenkins jenkins 1872 May 29 07:46 Makefile 07:48:06 -rw-rw-r-- 1 jenkins jenkins 617 May 29 07:46 OWNERS.md 07:48:06 -rw-rw-r-- 1 jenkins jenkins 8892 May 29 07:46 README.md 07:48:06 -rw-rw-r-- 1 jenkins jenkins 5 May 29 07:46 VERSION 07:48:06 drwxrwxr-x 2 jenkins jenkins 4096 May 29 07:46 bin 07:48:06 drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:46 cmd 07:48:06 -rw-r--r-- 1 jenkins jenkins 10 May 29 07:47 coverage.out 07:48:06 -rw-rw-r-- 1 jenkins jenkins 3644 May 29 07:46 go.mod 07:48:06 -rw-rw-r-- 1 jenkins jenkins 34414 May 29 07:46 go.sum 07:48:06 drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:46 internal 07:48:06 drwxrwxr-x 6 jenkins jenkins 4096 May 29 07:46 vendor 07:48:06 -rw-rw-r-- 1 jenkins jenkins 209 May 29 07:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:06 + docker build -t device-uart -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d29d59aa91c5e4b626911b2529954fa1a9089a75 --label arch=amd64 --label version=0.0.0 . 07:48:07 Sending build context to Docker daemon 54.02MB 07:48:07 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 07:48:07 Step 2/26 : FROM ${BASE} AS builder 07:48:07 ---> 408616eea945 07:48:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:48:07 ---> Running in 360a9651ea2e 07:48:07 Removing intermediate container 360a9651ea2e 07:48:07 ---> 5be289d0871d 07:48:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:48:07 ---> Running in ef86363e2465 07:48:07 Removing intermediate container ef86363e2465 07:48:07 ---> 6dc55d0f1bb4 07:48:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 07:48:07 ---> Running in 9b6c04cb490b 07:48:08 Removing intermediate container 9b6c04cb490b 07:48:08 ---> 246f20055fbc 07:48:08 Step 6/26 : WORKDIR /device-uart 07:48:08 ---> Running in 3f7becf0812d 07:48:08 Removing intermediate container 3f7becf0812d 07:48:08 ---> 22ff91d09e28 07:48:08 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:08 ---> Running in eb3739938ae0 07:48:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:48:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:48:08 OK: 268 MiB in 56 packages 07:48:09 Removing intermediate container eb3739938ae0 07:48:09 ---> de65c9602793 07:48:09 Step 8/26 : COPY go.mod vendor* ./ 07:48:11 ---> 9e1ba9b4c8e0 07:48:11 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:11 ---> Running in c3ac9fda7fdd 07:48:11 skipping... 07:48:11 Removing intermediate container c3ac9fda7fdd 07:48:11 ---> abc1120f1254 07:48:11 Step 10/26 : COPY . . 07:48:13 ---> 6374ec61a8a8 07:48:13 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:13 ---> Running in 388427d126a7 07:48:13 Removing intermediate container 388427d126a7 07:48:13 ---> f2866dffe0d0 07:48:13 Step 12/26 : RUN ${MAKE} 07:48:13 ---> Running in b147e7584e6a 07:48:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd 07:48:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1014 in /w/workspace/edgexfoundry_device-uart_PR-53 [Pipeline] { [Pipeline] ws 07:48:29 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 07:48:32 The recommended git tool is: git 07:48:35 Removing intermediate container b147e7584e6a 07:48:35 ---> dcc3df661db6 07:48:35 Step 13/26 : FROM alpine:3.18 07:48:35 3.18: Pulling from library/alpine 07:48:35 619be1103602: Already exists 07:48:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:48:35 Status: Downloaded newer image for alpine:3.18 07:48:35 ---> d3782b16ccc9 07:48:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:48:35 ---> Running in 801cfdadc6e3 07:48:35 Removing intermediate container 801cfdadc6e3 07:48:35 ---> 26c253b907bc 07:48:35 Step 15/26 : RUN apk add --update --no-cache dumb-init 07:48:35 ---> Running in 04a5144cdd30 07:48:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:48:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:48:35 (1/1) Installing dumb-init (1.2.5-r2) 07:48:35 Executing busybox-1.36.1-r5.trigger 07:48:35 OK: 7 MiB in 16 packages 07:48:35 Removing intermediate container 04a5144cdd30 07:48:35 ---> 25105e43e0b9 07:48:35 Step 16/26 : RUN apk --no-cache upgrade 07:48:35 ---> Running in 03250f242905 07:48:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:48:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:48:35 Upgrading critical system libraries and apk-tools: 07:48:35 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:48:35 Executing busybox-1.36.1-r5.trigger 07:48:35 Continuing the upgrade transaction with new apk-tools: 07:48:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:48:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:48:35 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 07:48:35 Executing busybox-1.36.1-r6.post-upgrade 07:48:35 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 07:48:35 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:48:35 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 07:48:35 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 07:48:35 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 07:48:35 Executing busybox-1.36.1-r6.trigger 07:48:35 OK: 7 MiB in 16 packages 07:48:36 Removing intermediate container 03250f242905 07:48:36 ---> ab4b8ff82d88 07:48:36 Step 17/26 : WORKDIR / 07:48:36 ---> Running in 8fc1743b3e30 07:48:36 Removing intermediate container 8fc1743b3e30 07:48:36 ---> 50a2eb961537 07:48:36 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 07:48:36 ---> f07dd516a618 07:48:36 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 07:48:36 ---> aea826f70427 07:48:36 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 07:48:37 ---> 83b0d40d23f9 07:48:37 Step 21/26 : EXPOSE 59995 07:48:37 ---> Running in 4b4413fa3cf6 07:48:37 Removing intermediate container 4b4413fa3cf6 07:48:37 ---> a008882d2293 07:48:37 Step 22/26 : ENTRYPOINT ["/device-uart"] 07:48:37 ---> Running in fe3a6c914b7b 07:48:37 Removing intermediate container fe3a6c914b7b 07:48:37 ---> f4b57f7fadba 07:48:37 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:48:37 ---> Running in d5cee746fc50 07:48:37 Removing intermediate container d5cee746fc50 07:48:37 ---> 0a6c7f5b6590 07:48:37 Step 24/26 : LABEL arch=amd64 07:48:37 ---> Running in 6e8a3ba53f6b 07:48:37 Removing intermediate container 6e8a3ba53f6b 07:48:37 ---> abccad81e009 07:48:37 Step 25/26 : LABEL git_sha=d29d59aa91c5e4b626911b2529954fa1a9089a75 07:48:37 ---> Running in 17dcefb73ed0 07:48:37 Removing intermediate container 17dcefb73ed0 07:48:37 ---> cfc8a12e4721 07:48:37 Step 26/26 : LABEL version=0.0.0 07:48:38 ---> Running in 9305dfb41540 07:48:38 Removing intermediate container 9305dfb41540 07:48:38 ---> 2355276d3672 07:48:38 [Warning] One or more build-args [ARCH] were not consumed 07:48:38 Successfully built 2355276d3672 07:48:38 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:39 07:48:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:39 latest: Pulling from edgex-lftools-log-publisher 07:48:39 5eb5b503b376: Pulling fs layer 07:48:39 5c69ac0246d0: Pulling fs layer 07:48:39 ec43610c2a17: Pulling fs layer 07:48:39 3a2ae6a8a46f: Pulling fs layer 07:48:39 33b1e0a273af: Pulling fs layer 07:48:39 5d3b04190fa2: Pulling fs layer 07:48:39 2f39f015ded8: Pulling fs layer 07:48:39 3a2ae6a8a46f: Waiting 07:48:39 33b1e0a273af: Waiting 07:48:39 5d3b04190fa2: Waiting 07:48:39 2f39f015ded8: Waiting 07:48:39 5c69ac0246d0: Download complete 07:48:39 3a2ae6a8a46f: Verifying Checksum 07:48:39 3a2ae6a8a46f: Download complete 07:48:39 33b1e0a273af: Verifying Checksum 07:48:39 33b1e0a273af: Download complete 07:48:39 5d3b04190fa2: Verifying Checksum 07:48:39 5d3b04190fa2: Download complete 07:48:39 ec43610c2a17: Verifying Checksum 07:48:39 ec43610c2a17: Download complete 07:48:39 5eb5b503b376: Download complete 07:48:40 using credential edgex-jenkins-ssh 07:48:40 Cloning the remote Git repository 07:48:40 2f39f015ded8: Download complete 07:48:40 Cloning repository git@github.com:edgexfoundry/device-uart.git 07:48:40 > git init /w/workspace/device-uart/1 # timeout=10 07:48:40 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 07:48:40 > git --version # timeout=10 07:48:40 > git --version # 'git version 2.25.1' 07:48:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:48:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:48:41 5eb5b503b376: Pull complete 07:48:41 5c69ac0246d0: Pull complete 07:48:41 ec43610c2a17: Pull complete 07:48:41 3a2ae6a8a46f: Pull complete 07:48:42 33b1e0a273af: Pull complete 07:48:42 5d3b04190fa2: Pull complete 07:48:43 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 07:48:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:48:44 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 07:48:44 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 07:48:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:48:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 07:48:46 Merging remotes/origin/napa commit d0925bfba9be57c91a88507a1350afd17db6efb3 into PR head commit d29d59aa91c5e4b626911b2529954fa1a9089a75 07:48:46 2f39f015ded8: Pull complete 07:48:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:48:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:46 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 07:48:46 $ 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-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:48:47 Merge succeeded, producing d29d59aa91c5e4b626911b2529954fa1a9089a75 07:48:47 Checking out Revision d29d59aa91c5e4b626911b2529954fa1a9089a75 (PR-53) 07:48:46 > git config core.sparsecheckout # timeout=10 07:48:46 > git checkout -f d29d59aa91c5e4b626911b2529954fa1a9089a75 # timeout=10 07:48:47 > git remote # timeout=10 07:48:47 > git config --get remote.origin.url # timeout=10 07:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:48:47 > git merge d0925bfba9be57c91a88507a1350afd17db6efb3 # timeout=10 07:48:47 > git rev-parse HEAD^{commit} # timeout=10 07:48:47 > git config core.sparsecheckout # timeout=10 07:48:47 > git checkout -f d29d59aa91c5e4b626911b2529954fa1a9089a75 # timeout=10 07:48:47 Commit message: "build: Bump SDK to v3.1.1" 07:48:47 > git --version # timeout=10 07:48:47 > git --version # 'git version 2.25.1' 07:48:47 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 07:48:50 $ docker top 4cc5cb6713b6c41c50bc3c8a5dcb597b8524534a6ac43c549b252244e93f1c3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:51 ---> job-cost.sh 07:48:51 lf-activate-venv: SKIPPING 07:48:51 INFO: No Stack... 07:48:51 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:51 07:48:51 GitHub has been notified of this commit’s build result 07:48:51 07:48:51 INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 07:48:52 + cat /w/workspace/edgexfoundry_device-uart_PR-53/archives/cost.csv 07:48:52 + cut -d, -f6 [Pipeline] sh [Pipeline] lock 07:48:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] 07:48:52 Resource [jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] did not exist. Created. 07:48:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:48:52 % Total % Received % Xferd Average Speed Time Time Time Current 07:48:52 Dload Upload Total Spent Left Speed 07:48:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 07:48:52 + echo total: 0.2199999988079071 [Pipeline] stash 07:48:53 Stashed 1 file(s) [Pipeline] } 07:48:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] 07:48:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // lock [Pipeline] } 07:48:53 $ docker stop --time=1 4cc5cb6713b6c41c50bc3c8a5dcb597b8524534a6ac43c549b252244e93f1c3a 07:48:54 $ docker rm -f --volumes 4cc5cb6713b6c41c50bc3c8a5dcb597b8524534a6ac43c549b252244e93f1c3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 07:48:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:48:54 + sudo tee /etc/docker/daemon.new 07:48:54 { 07:48:54 "registry-mirrors": [ 07:48:54 "https://nexus3.edgexfoundry.org:10001" 07:48:54 ], 07:48:54 "bip": "10.250.0.254/24", 07:48:54 "hosts": [ 07:48:54 "tcp://0.0.0.0:5555", 07:48:54 "unix:///var/run/docker.sock" 07:48:54 ], 07:48:54 "mtu": 1458, 07:48:54 "selinux-enabled": true, 07:48:54 "seccomp-profile": "/etc/docker/seccomp.json" 07:48:54 } [Pipeline] } [Pipeline] sh 07:48:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:48:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:13 provisioning config files... 07:49:13 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config2552285036426275128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:14 ---> ****-login.sh 07:49:14 nexus3.edgexfoundry.org:10001 07:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:15 Configure a credential helper to remove this warning. See 07:49:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:15 07:49:15 Login Succeeded 07:49:15 nexus3.edgexfoundry.org:10002 07:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:15 Configure a credential helper to remove this warning. See 07:49:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:15 07:49:15 Login Succeeded 07:49:15 nexus3.edgexfoundry.org:10003 07:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:15 Configure a credential helper to remove this warning. See 07:49:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:15 07:49:15 Login Succeeded 07:49:15 nexus3.edgexfoundry.org:10004 07:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:16 Configure a credential helper to remove this warning. See 07:49:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:16 07:49:16 Login Succeeded 07:49:16 ****.io 07:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:16 Configure a credential helper to remove this warning. See 07:49:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:16 07:49:16 Login Succeeded 07:49:16 ---> ****-login.sh ends [Pipeline] } 07:49:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:49:17 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 07:49:17 + cut -d -f 2 07:49:17 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 07:49:17 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:49:17 ========================================================= 07:49:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 07:49:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:49:20 Sending build context to Docker daemon 42.52MB 07:49:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:49:20 Step 2/12 : FROM ${BASE} AS builder 07:49:20 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:49:20 c6b39de5b339: Pulling fs layer 07:49:20 a69c41024577: Pulling fs layer 07:49:20 d6de4b400683: Pulling fs layer 07:49:20 35cb2a7552d0: Pulling fs layer 07:49:20 4f4fb700ef54: Pulling fs layer 07:49:20 9e011611b7f5: Pulling fs layer 07:49:20 3bd174042beb: Pulling fs layer 07:49:20 4476f39b5e91: Pulling fs layer 07:49:20 9e011611b7f5: Waiting 07:49:20 35cb2a7552d0: Waiting 07:49:20 3bd174042beb: Waiting 07:49:20 4f4fb700ef54: Waiting 07:49:20 4476f39b5e91: Waiting 07:49:20 a69c41024577: Verifying Checksum 07:49:20 a69c41024577: Download complete 07:49:20 35cb2a7552d0: Verifying Checksum 07:49:20 35cb2a7552d0: Download complete 07:49:20 4f4fb700ef54: Verifying Checksum 07:49:20 4f4fb700ef54: Download complete 07:49:20 9e011611b7f5: Verifying Checksum 07:49:20 9e011611b7f5: Download complete 07:49:20 c6b39de5b339: Verifying Checksum 07:49:20 c6b39de5b339: Download complete 07:49:21 4476f39b5e91: Verifying Checksum 07:49:21 4476f39b5e91: Download complete 07:49:21 c6b39de5b339: Pull complete 07:49:22 a69c41024577: Pull complete 07:49:22 d6de4b400683: Verifying Checksum 07:49:22 d6de4b400683: Download complete 07:49:23 3bd174042beb: Verifying Checksum 07:49:23 3bd174042beb: Download complete 07:49:36 d6de4b400683: Pull complete 07:49:36 35cb2a7552d0: Pull complete 07:49:36 4f4fb700ef54: Pull complete 07:49:36 9e011611b7f5: Pull complete 07:49:44 3bd174042beb: Pull complete 07:49:46 4476f39b5e91: Pull complete 07:49:46 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 07:49:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 07:49:46 ---> 981a0608b64a 07:49:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:49:48 ---> Running in bf3a5460d432 07:49:48 Removing intermediate container bf3a5460d432 07:49:48 ---> 992d27f7e495 07:49:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:49:48 ---> Running in 9ed05265e7d5 07:49:49 Removing intermediate container 9ed05265e7d5 07:49:49 ---> 685b158502e9 07:49:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:49:49 ---> Running in 8b3d16fb0c07 07:49:49 Removing intermediate container 8b3d16fb0c07 07:49:49 ---> f7456cca9c81 07:49:49 Step 6/12 : WORKDIR /device-uart 07:49:49 ---> Running in d7a5807ce2de 07:49:49 Removing intermediate container d7a5807ce2de 07:49:49 ---> e0486564c5fe 07:49:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:49:49 ---> Running in ca4dc742a8a4 07:49:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:49:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:49:52 (1/4) Installing openssh-keygen (9.3_p2-r1) 07:49:52 (2/4) Installing libedit (20221030.3.1-r1) 07:49:52 (3/4) Installing openssh-client-common (9.3_p2-r1) 07:49:52 (4/4) Installing openssh-client-default (9.3_p2-r1) 07:49:52 Executing busybox-1.36.1-r5.trigger 07:49:52 OK: 271 MiB in 56 packages 07:49:53 Removing intermediate container ca4dc742a8a4 07:49:53 ---> 71acac3c754e 07:49:53 Step 8/12 : COPY go.mod vendor* ./ 07:50:00 ---> e9154ddb802d 07:50:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:50:00 ---> Running in b66c7878b184 07:50:56 Removing intermediate container b66c7878b184 07:50:56 ---> b279a476a475 07:50:56 Step 10/12 : COPY . . 07:51:00 ---> 7733981d5f4e 07:51:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:51:00 ---> Running in 642ce8d0d3f3 07:51:00 Removing intermediate container 642ce8d0d3f3 07:51:00 ---> 6517ae508138 07:51:00 Step 12/12 : RUN ${MAKE} 07:51:00 ---> Running in 4636fc40a757 07:51:01 noop 07:51:02 Removing intermediate container 4636fc40a757 07:51:02 ---> 249ce7d29035 07:51:02 Successfully built 249ce7d29035 07:51:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:02 + docker inspect -f . ci-base-image-arm64 07:51:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:03 prd-ubuntu20.04-docker-arm64-4c-16g-1014 does not seem to be running inside a container 07:51:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 07:51:04 $ docker top 49b134e9eded35a4c46ae1a4287e1e27892dc7d7bbd8300e8f10ef2e0f17edbe -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:05 + go version 07:51:05 go version go1.21.9 linux/arm64 [Pipeline] } 07:51:05 $ docker stop --time=1 49b134e9eded35a4c46ae1a4287e1e27892dc7d7bbd8300e8f10ef2e0f17edbe 07:51:07 $ docker rm -f --volumes 49b134e9eded35a4c46ae1a4287e1e27892dc7d7bbd8300e8f10ef2e0f17edbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:07 + docker inspect -f . ci-base-image-arm64 07:51:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:08 prd-ubuntu20.04-docker-arm64-4c-16g-1014 does not seem to be running inside a container 07:51:08 $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 07:51:09 $ docker top 61ef52ffb875719395b89077e4a3ac94deabd40ca9ba133b28cbeaff3ccbff32 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:10 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 07:51:10 + make test 07:51:11 go test ./... -coverprofile=coverage.out 07:51:13 ? github.com/edgexfoundry/device-uart [no test files] 07:53:05 ? github.com/edgexfoundry/device-uart/cmd [no test files] 07:53:05 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 07:53:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:53:05 go vet ./... 07:53:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:53:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:53:27 ./bin/test-attribution-txt.sh [Pipeline] echo 07:53:27 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:53:28 + go mod tidy [Pipeline] } 07:53:31 $ docker stop --time=1 61ef52ffb875719395b89077e4a3ac94deabd40ca9ba133b28cbeaff3ccbff32 07:53:33 $ docker rm -f --volumes 61ef52ffb875719395b89077e4a3ac94deabd40ca9ba133b28cbeaff3ccbff32 [Pipeline] // withDockerContainer [Pipeline] sh 07:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:53:34 Warning: overwriting stash ‘coverage-report’ 07:53:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:53:36 + ls -al . 07:53:36 total 156 07:53:36 drwxrwxr-x 8 jenkins jenkins 4096 May 29 07:51 . 07:53:36 drwxrwxr-x 4 jenkins jenkins 4096 May 29 07:48 .. 07:53:36 -rw-rw-r-- 1 jenkins jenkins 140 May 29 07:48 .dockerignore 07:53:36 drwxrwxr-x 8 jenkins jenkins 4096 May 29 07:48 .git 07:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:48 .github 07:53:36 -rw-rw-r-- 1 jenkins jenkins 335 May 29 07:48 .gitignore 07:53:36 -rw-rw-r-- 1 jenkins jenkins 41 May 29 07:48 .golangci.yml 07:53:36 -rw-rw-r-- 1 jenkins jenkins 9960 May 29 07:48 Attribution.txt 07:53:36 -rw-rw-r-- 1 jenkins jenkins 1908 May 29 07:48 CHANGELOG.md 07:53:36 -rw-rw-r-- 1 jenkins jenkins 1886 May 29 07:48 Dockerfile 07:53:36 -rw-rw-r-- 1 jenkins jenkins 677 May 29 07:48 GOVERNANCE.md 07:53:36 -rw-rw-r-- 1 jenkins jenkins 675 May 29 07:48 Jenkinsfile 07:53:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 07:48 LICENSE 07:53:36 -rw-rw-r-- 1 jenkins jenkins 1872 May 29 07:48 Makefile 07:53:36 -rw-rw-r-- 1 jenkins jenkins 617 May 29 07:48 OWNERS.md 07:53:36 -rw-rw-r-- 1 jenkins jenkins 8892 May 29 07:48 README.md 07:53:36 -rw-rw-r-- 1 jenkins jenkins 5 May 29 07:46 VERSION 07:53:36 drwxrwxr-x 2 jenkins jenkins 4096 May 29 07:48 bin 07:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:48 cmd 07:53:36 -rw-r--r-- 1 jenkins jenkins 10 May 29 07:51 coverage.out 07:53:36 -rw-rw-r-- 1 jenkins jenkins 3644 May 29 07:48 go.mod 07:53:36 -rw-rw-r-- 1 jenkins jenkins 34414 May 29 07:48 go.sum 07:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 29 07:48 internal 07:53:36 drwxrwxr-x 6 jenkins jenkins 4096 May 29 07:48 vendor 07:53:36 -rw-rw-r-- 1 jenkins jenkins 209 May 29 07:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:37 + 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=d29d59aa91c5e4b626911b2529954fa1a9089a75 --label arch=arm64 --label version=0.0.0 . 07:53:39 Sending build context to Docker daemon 42.52MB 07:53:39 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 07:53:39 Step 2/26 : FROM ${BASE} AS builder 07:53:39 ---> 249ce7d29035 07:53:39 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:53:39 ---> Running in d8afba4506a5 07:53:39 Removing intermediate container d8afba4506a5 07:53:39 ---> 1550588c6fca 07:53:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:53:39 ---> Running in a40e483d016e 07:53:40 Removing intermediate container a40e483d016e 07:53:40 ---> 12e43ee3ad22 07:53:40 Step 5/26 : ARG ADD_BUILD_TAGS="" 07:53:40 ---> Running in f6e3c53ca959 07:53:40 Removing intermediate container f6e3c53ca959 07:53:40 ---> 6ece556127fb 07:53:40 Step 6/26 : WORKDIR /device-uart 07:53:40 ---> Running in 92e37f4c06e5 07:53:41 Removing intermediate container 92e37f4c06e5 07:53:41 ---> a28627478729 07:53:41 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:53:41 ---> Running in a092bf4588cc 07:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:53:43 OK: 271 MiB in 56 packages 07:53:44 Removing intermediate container a092bf4588cc 07:53:44 ---> d97d3343a389 07:53:44 Step 8/26 : COPY go.mod vendor* ./ 07:53:51 ---> 3f071f52892c 07:53:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:53:51 ---> Running in b5a4e46f75b1 07:53:52 skipping... 07:53:52 Removing intermediate container b5a4e46f75b1 07:53:52 ---> 70a5631d8953 07:53:52 Step 10/26 : COPY . . 07:54:00 ---> daf46cde7f15 07:54:00 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:54:00 ---> Running in e30005809d95 07:54:00 Removing intermediate container e30005809d95 07:54:00 ---> 2a6932d616fa 07:54:00 Step 12/26 : RUN ${MAKE} 07:54:00 ---> Running in 290d7fdb7492 07:54:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-uart ./cmd 07:56:07 Removing intermediate container 290d7fdb7492 07:56:07 ---> 08e76ad0bf0a 07:56:07 Step 13/26 : FROM alpine:3.18 07:56:07 3.18: Pulling from library/alpine 07:56:07 c6b39de5b339: Already exists 07:56:07 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:56:07 Status: Downloaded newer image for alpine:3.18 07:56:07 ---> 33abbf032149 07:56:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:56:07 ---> Running in f7adb458acd1 07:56:07 Removing intermediate container f7adb458acd1 07:56:07 ---> 241643ce4e70 07:56:07 Step 15/26 : RUN apk add --update --no-cache dumb-init 07:56:07 ---> Running in d5a042057be2 07:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:56:08 (1/1) Installing dumb-init (1.2.5-r2) 07:56:08 Executing busybox-1.36.1-r5.trigger 07:56:08 OK: 8 MiB in 16 packages 07:56:09 Removing intermediate container d5a042057be2 07:56:09 ---> f071fa47a60d 07:56:09 Step 16/26 : RUN apk --no-cache upgrade 07:56:09 ---> Running in e1b055df56e3 07:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:56:11 Upgrading critical system libraries and apk-tools: 07:56:11 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:56:11 Executing busybox-1.36.1-r5.trigger 07:56:11 Continuing the upgrade transaction with new apk-tools: 07:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:56:12 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 07:56:12 Executing busybox-1.36.1-r6.post-upgrade 07:56:12 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 07:56:12 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:56:12 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 07:56:12 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 07:56:12 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 07:56:12 Executing busybox-1.36.1-r6.trigger 07:56:12 OK: 8 MiB in 16 packages 07:56:13 Removing intermediate container e1b055df56e3 07:56:13 ---> 706ab7f4d94e 07:56:13 Step 17/26 : WORKDIR / 07:56:13 ---> Running in c91653254aff 07:56:14 Removing intermediate container c91653254aff 07:56:14 ---> 9892ffae5097 07:56:14 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 07:56:14 ---> e4dc4c4516c2 07:56:14 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 07:56:15 ---> d2a45cf1e1c7 07:56:15 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 07:56:16 ---> 1c31adcfa8fc 07:56:16 Step 21/26 : EXPOSE 59995 07:56:16 ---> Running in 774aa8bc876d 07:56:17 Removing intermediate container 774aa8bc876d 07:56:17 ---> 0463f80c2a32 07:56:17 Step 22/26 : ENTRYPOINT ["/device-uart"] 07:56:17 ---> Running in f88a9030cf0a 07:56:17 Removing intermediate container f88a9030cf0a 07:56:17 ---> 4ba7033b7b06 07:56:17 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:56:17 ---> Running in 56fd2b472197 07:56:17 Removing intermediate container 56fd2b472197 07:56:17 ---> cc08e14b5a01 07:56:17 Step 24/26 : LABEL arch=arm64 07:56:17 ---> Running in e258ea150847 07:56:18 Removing intermediate container e258ea150847 07:56:18 ---> 612f975ddb9b 07:56:18 Step 25/26 : LABEL git_sha=d29d59aa91c5e4b626911b2529954fa1a9089a75 07:56:18 ---> Running in c29658038df7 07:56:18 Removing intermediate container c29658038df7 07:56:18 ---> 1041f36c51a6 07:56:18 Step 26/26 : LABEL version=0.0.0 07:56:18 ---> Running in cc339fb2b791 07:56:18 Removing intermediate container cc339fb2b791 07:56:18 ---> cf5be8016b32 07:56:18 [Warning] One or more build-args [ARCH] were not consumed 07:56:19 Successfully built cf5be8016b32 07:56:19 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:20 07:56:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:20 arm64: Pulling from edgex-lftools-log-publisher 07:56:20 8998bd30e6a1: Pulling fs layer 07:56:20 04944245beec: Pulling fs layer 07:56:20 699f458cf7ca: Pulling fs layer 07:56:20 765212b225bb: Pulling fs layer 07:56:20 f23df028b6ca: Pulling fs layer 07:56:20 765212b225bb: Waiting 07:56:20 d65c8cfc05b1: Pulling fs layer 07:56:20 f23df028b6ca: Waiting 07:56:20 2437ff75d9bd: Pulling fs layer 07:56:20 d65c8cfc05b1: Waiting 07:56:21 04944245beec: Verifying Checksum 07:56:21 04944245beec: Download complete 07:56:21 765212b225bb: Verifying Checksum 07:56:21 765212b225bb: Download complete 07:56:21 f23df028b6ca: Verifying Checksum 07:56:21 f23df028b6ca: Download complete 07:56:21 d65c8cfc05b1: Verifying Checksum 07:56:21 d65c8cfc05b1: Download complete 07:56:21 699f458cf7ca: Verifying Checksum 07:56:21 699f458cf7ca: Download complete 07:56:21 8998bd30e6a1: Verifying Checksum 07:56:21 8998bd30e6a1: Download complete 07:56:24 2437ff75d9bd: Verifying Checksum 07:56:24 2437ff75d9bd: Download complete 07:56:26 8998bd30e6a1: Pull complete 07:56:26 04944245beec: Pull complete 07:56:28 699f458cf7ca: Pull complete 07:56:28 765212b225bb: Pull complete 07:56:29 f23df028b6ca: Pull complete 07:56:29 d65c8cfc05b1: Pull complete 07:56:47 2437ff75d9bd: Pull complete 07:56:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:56:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:47 prd-ubuntu20.04-docker-arm64-4c-16g-1014 does not seem to be running inside a container 07:56:47 $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 07:56:50 $ docker top cd1ddc3a9aa604849055882b60aee7b36c9637c85ca85e98e4b7b675776d04b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:51 ---> job-cost.sh 07:56:51 lf-activate-venv: SKIPPING 07:56:51 INFO: No Stack... 07:56:51 INFO: Retrieving Pricing Info for: v3-standard-4 07:56:52 INFO: Archiving Costs [Pipeline] sh 07:56:53 + cut -d, -f6 07:56:53 + cat /w/workspace/device-uart/1/archives/cost.csv [Pipeline] lock 07:56:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] 07:56:53 Resource [jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] did not exist. Created. 07:56:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:56:54 /w/workspace/device-uart/1@tmp/durable-153cb64e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:56:54 + echo total: 0.10999999940395355 [Pipeline] stash 07:56:54 Warning: overwriting stash ‘stack-cost’ 07:56:55 Stashed 1 file(s) [Pipeline] } 07:56:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-53-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:56:55 $ docker stop --time=1 cd1ddc3a9aa604849055882b60aee7b36c9637c85ca85e98e4b7b675776d04b1 07:56:56 $ docker rm -f --volumes cd1ddc3a9aa604849055882b60aee7b36c9637c85ca85e98e4b7b675776d04b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:56:58 provisioning config files... 07:56:58 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-53@tmp/config708306087371740394tmp [Pipeline] { [Pipeline] sh 07:56:58 + set +x 07:56:58 + curl -s https://codecov.io/bash 07:56:58 + bash -s -- 07:56:58 07:56:58 _____ _ 07:56:58 / ____| | | 07:56:58 | | ___ __| | ___ ___ _____ __ 07:56:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:56:58 | |___| (_) | (_| | __/ (_| (_) \ V / 07:56:58 \_____\___/ \__,_|\___|\___\___/ \_/ 07:56:58 Bash-1.0.6 07:56:58 07:56:58 07:56:58 ==> git version 2.25.1 found 07:56:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:56:58 Release-Date: 2020-01-08 07:56:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:56:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:56:58 ==> Jenkins CI detected. 07:56:58 current dir:  /w/workspace/edgexfoundry_device-uart_PR-53 07:56:58 project root: . 07:56:58 --> token set from env 07:56:58 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 07:56:58 ==> Running gcov in . (disable via -X gcov) 07:56:58 ==> Python coveragepy not found 07:56:58 ==> Searching for coverage reports in: 07:56:58 + . 07:56:58 -> Found 1 reports 07:56:58 ==> Detecting git/mercurial file structure 07:56:58 ==> Reading reports 07:56:58 + ./coverage.out bytes=10 07:56:58 ==> Appending adjustments 07:56:58 https://docs.codecov.io/docs/fixing-reports 07:56:58 + Found adjustments 07:56:58 ==> Gzipping contents 07:56:58 12K /tmp/codecov.7QNWXD.gz 07:56:58 ==> Uploading reports 07:56:58 url: https://codecov.io 07:56:58 query: branch=PR-53&commit=d29d59aa91c5e4b626911b2529954fa1a9089a75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=53&job=&cmd_args= 07:56:58 -> Pinging Codecov 07:56:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-53&commit=d29d59aa91c5e4b626911b2529954fa1a9089a75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=53&job=&cmd_args= 07:56:59 -> Uploading to 07:56:59 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/B9AA6E0BBD74AE3A32605C7A7C664919/d29d59aa91c5e4b626911b2529954fa1a9089a75/8054c006-f957-4ac6-90a3-cfe5360bdf25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T075659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27dce2e9bd48e10fa241f9bdedcc5491126b5866129f06c56802cbbb0eea4fd4 07:56:59 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:59 Dload Upload Total Spent Left Speed 07:56:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11936 0 0 100 11936 0 54502 --:--:-- --:--:-- --:--:-- 54254 07:56:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/d29d59aa91c5e4b626911b2529954fa1a9089a75 [Pipeline] } 07:56:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:57:02 + [ -d /w/workspace/edgexfoundry_device-uart_PR-53/archives ] 07:57:02 + ls -al /w/workspace/edgexfoundry_device-uart_PR-53/archives 07:57:02 total 16 07:57:02 drwxr-xr-x 3 root root 4096 May 29 07:48 . 07:57:02 drwxrwxr-x 10 jenkins jenkins 4096 May 29 07:48 .. 07:57:02 drwxr-xr-x 2 root root 4096 May 29 07:48 cost 07:57:02 -rw-r--r-- 1 root root 82 May 29 07:48 cost.csv 07:57:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-53/archives 07:57:02 + ls -al /w/workspace/edgexfoundry_device-uart_PR-53/archives 07:57:02 total 16 07:57:02 drwxr-xr-x 3 jenkins jenkins 4096 May 29 07:48 . 07:57:02 drwxrwxr-x 10 jenkins jenkins 4096 May 29 07:48 .. 07:57:02 drwxr-xr-x 2 jenkins jenkins 4096 May 29 07:48 cost 07:57:02 -rw-r--r-- 1 jenkins jenkins 82 May 29 07:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:57:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:57:03 ---> package-listing.sh 07:57:03 ++ facter osfamily 07:57:03 ++ tr '[:upper:]' '[:lower:]' 07:57:03 + OS_FAMILY=debian 07:57:03 + workspace=/w/workspace/edgexfoundry_device-uart_PR-53 07:57:03 + START_PACKAGES=/tmp/packages_start.txt 07:57:03 + END_PACKAGES=/tmp/packages_end.txt 07:57:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:57:03 + PACKAGES=/tmp/packages_start.txt 07:57:03 + '[' /w/workspace/edgexfoundry_device-uart_PR-53 ']' 07:57:03 + PACKAGES=/tmp/packages_end.txt 07:57:03 + case "${OS_FAMILY}" in 07:57:03 + dpkg -l 07:57:03 + grep '^ii' 07:57:03 + '[' -f /tmp/packages_start.txt ']' 07:57:03 + '[' -f /tmp/packages_end.txt ']' 07:57:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:57:03 + '[' /w/workspace/edgexfoundry_device-uart_PR-53 ']' 07:57:03 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-53/archives/ 07:57:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-53/archives/ [Pipeline] echo 07:57:03 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-53/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:57:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:04 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 07:57:04 $ 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-53/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-53 -v /w/workspace/edgexfoundry_device-uart_PR-53:/w/workspace/edgexfoundry_device-uart_PR-53:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-53@tmp:/w/workspace/edgexfoundry_device-uart_PR-53@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 07:57:05 $ docker top c01b43da1302af412d1babde6d45c060e398b13a9ac3deea9d4499d246a2e12d -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:05 + touch /tmp/pre-build-complete [Pipeline] sh 07:57:05 + mkdir -p /var/log/sysstat [Pipeline] sh 07:57:06 + ls /var/log/sa-host 07:57:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:06 provisioning config files... 07:57:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-53@tmp/config18115563148405184463tmp [Pipeline] { [Pipeline] echo 07:57:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:57:06 ---> create-netrc.sh [Pipeline] } 07:57:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:57:07 ---> python-tools-install.sh [Pipeline] echo 07:57:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:57:07 ---> sudo-logs.sh 07:57:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:57:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:57:08 ---> job-cost.sh 07:57:08 lf-activate-venv: SKIPPING 07:57:08 DEBUG: total: 0.2199999988079071 07:57:08 INFO: Retrieving Stack Cost... 07:57:08 INFO: Retrieving Pricing Info for: v3-standard-8 07:57:09 INFO: Archiving Costs [Pipeline] echo 07:57:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:57:09 ---> logs-deploy.sh 07:57:09 lf-activate-venv: SKIPPING 07:57:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-53/1 07:57:09 INFO: archiving workspace using pattern(s): 07:57:10 Archives upload complete. 07:57:10 INFO: archiving logs to Nexus