Pull request #38 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b9545307f0bfe1147094d57e2d67d60aa86e7168+56a8503eef07c46f22bc765105e6cf123a2f1194 (6480f626de3734f3a953849b8388dc2f960744c3) 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-ssh16669494164004923858.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh9534231388587163481.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-38/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-38/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1763568598320811943.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-38/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14556842874476943354.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1393204217864369936.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-38/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-38/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh73411636484769045.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-24570 in /w/workspace/edgexfoundry_device-uart_PR-38 [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-38 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 56a8503eef07c46f22bc765105e6cf123a2f1194 into PR head commit b9545307f0bfe1147094d57e2d67d60aa86e7168 Merge succeeded, producing b9545307f0bfe1147094d57e2d67d60aa86e7168 Checking out Revision b9545307f0bfe1147094d57e2d67d60aa86e7168 (PR-38) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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/38/head:refs/remotes/origin/PR-38 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b9545307f0bfe1147094d57e2d67d60aa86e7168 # 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 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b9545307f0bfe1147094d57e2d67d60aa86e7168 # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:36:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:36:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:36:49 ========================================================= 18:36:49 EdgeX Global Pipelines Version Info 18:36:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:36:50 ------------------- 18:36:50 stable info: 18:36:50 ------------------- 18:36:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:36:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:36:50 Message: update stable to v1.0.258 18:36:51 ------------------- 18:36:51 experimental info: 18:36:51 ------------------- 18:36:51 Commited By: **** collab-it+edgex@linuxfoundation.org 18:36:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:36:51 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:36:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:36:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:36:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:36:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:36:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:36:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:36:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:36:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:36:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-38 [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-38 [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-38 [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9545307f0bfe1147094d57e2d67d60aa86e7168 [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b954530 [Pipeline] echo 18:36:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:36:53 provisioning config files... 18:36:53 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-38@tmp/config5120214893441967260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:36:54 ---> ****-login.sh 18:36:54 nexus3.edgexfoundry.org:10001 18:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:36:54 Configure a credential helper to remove this warning. See 18:36:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:36:54 18:36:54 Login Succeeded 18:36:54 nexus3.edgexfoundry.org:10002 18:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:36:55 Configure a credential helper to remove this warning. See 18:36:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:36:55 18:36:55 Login Succeeded 18:36:55 nexus3.edgexfoundry.org:10003 18:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:36:55 Configure a credential helper to remove this warning. See 18:36:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:36:55 18:36:55 Login Succeeded 18:36:55 nexus3.edgexfoundry.org:10004 18:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:36:55 Configure a credential helper to remove this warning. See 18:36:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:36:55 18:36:55 Login Succeeded 18:36:55 ****.io 18:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:36:55 Configure a credential helper to remove this warning. See 18:36:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:36:55 18:36:55 Login Succeeded 18:36:55 ---> ****-login.sh ends [Pipeline] } 18:36:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:36:56 + git rev-list -1 --merges b9545307f0bfe1147094d57e2d67d60aa86e7168~1..b9545307f0bfe1147094d57e2d67d60aa86e7168 [Pipeline] echo 18:36:56 -----------> git rev-list -1 --merges b9545307f0bfe1147094d57e2d67d60aa86e7168~1..b9545307f0bfe1147094d57e2d67d60aa86e7168 b9545307f0bfe1147094d57e2d67d60aa86e7168 [false] [Pipeline] sh 18:36:56 + git log --format=format:%s -1 b9545307f0bfe1147094d57e2d67d60aa86e7168 [Pipeline] echo 18:36:56 ========================================================= 18:36:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:36:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:36:57 + git log --format=format:%s -1 b9545307f0bfe1147094d57e2d67d60aa86e7168 [Pipeline] echo 18:36:57 [semverPrep] GIT_COMMIT: b9545307f0bfe1147094d57e2d67d60aa86e7168, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:36:57 [semverPrep] This is not a build commit. [Pipeline] sh 18:36:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:36:57 + grep -v github /etc/ssh/ssh_known_hosts 18:36:57 + [ -e /tmp/ssh_known_hosts ] 18:36:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:36:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:36:57 + sudo tee -a /etc/ssh/ssh_known_hosts 18:36:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:36:58 18:36:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:36:58 0.1.4: Pulling from edgex-devops/py-git-semver 18:36:58 b85a868b505f: Pulling fs layer 18:36:58 e2be974225ed: Pulling fs layer 18:36:58 339a4e72a1f5: Pulling fs layer 18:36:58 988bab9f4d93: Pulling fs layer 18:36:58 1469e6f7b9e6: Pulling fs layer 18:36:58 eaf3925da568: Pulling fs layer 18:36:58 bab4dde63d76: Pulling fs layer 18:36:58 bde34c3a00c8: Pulling fs layer 18:36:58 b352a97aabf1: Pulling fs layer 18:36:58 4872d77fe225: Pulling fs layer 18:36:58 5851b861e8e6: Pulling fs layer 18:36:58 bab4dde63d76: Waiting 18:36:58 bde34c3a00c8: Waiting 18:36:58 4872d77fe225: Waiting 18:36:58 b352a97aabf1: Waiting 18:36:58 988bab9f4d93: Waiting 18:36:58 5851b861e8e6: Waiting 18:36:58 1469e6f7b9e6: Waiting 18:36:58 eaf3925da568: Waiting 18:36:58 e2be974225ed: Download complete 18:36:58 988bab9f4d93: Download complete 18:36:58 1469e6f7b9e6: Verifying Checksum 18:36:58 1469e6f7b9e6: Download complete 18:36:59 eaf3925da568: Verifying Checksum 18:36:59 eaf3925da568: Download complete 18:36:59 339a4e72a1f5: Verifying Checksum 18:36:59 339a4e72a1f5: Download complete 18:36:59 bde34c3a00c8: Verifying Checksum 18:36:59 bde34c3a00c8: Download complete 18:36:59 b352a97aabf1: Verifying Checksum 18:36:59 b352a97aabf1: Download complete 18:36:59 4872d77fe225: Download complete 18:36:59 5851b861e8e6: Verifying Checksum 18:36:59 5851b861e8e6: Download complete 18:36:59 b85a868b505f: Verifying Checksum 18:36:59 b85a868b505f: Download complete 18:36:59 bab4dde63d76: Verifying Checksum 18:36:59 bab4dde63d76: Download complete 18:37:00 b85a868b505f: Pull complete 18:37:00 e2be974225ed: Pull complete 18:37:00 339a4e72a1f5: Pull complete 18:37:00 988bab9f4d93: Pull complete 18:37:01 1469e6f7b9e6: Pull complete 18:37:01 eaf3925da568: Pull complete 18:37:03 bab4dde63d76: Pull complete 18:37:03 bde34c3a00c8: Pull complete 18:37:03 b352a97aabf1: Pull complete 18:37:03 4872d77fe225: Pull complete 18:37:03 5851b861e8e6: Pull complete 18:37:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:03 prd-ubuntu20.04-docker-8c-8g-24570 does not seem to be running inside a container 18:37:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-38 -v /w/workspace/edgexfoundry_device-uart_PR-38:/w/workspace/edgexfoundry_device-uart_PR-38:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-38@tmp:/w/workspace/edgexfoundry_device-uart_PR-38@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:37:05 $ docker top a42d7f248229696a7a3d06c902905728235d8130b7cf8400442b95ed8c5dcfa9 -eo pid,comm 18:37:05 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). 18:37:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:37:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:06 [ssh-agent] Looking for ssh-agent implementation... 18:37:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:06 $ docker exec a42d7f248229696a7a3d06c902905728235d8130b7cf8400442b95ed8c5dcfa9 ssh-agent 18:37:06 SSH_AUTH_SOCK=/tmp/ssh-QgqJdwo7OOA2/agent.32 18:37:06 SSH_AGENT_PID=38 18:37:06 Running ssh-add (command line suppressed) 18:37:06 Identity added: /w/workspace/edgexfoundry_device-uart_PR-38@tmp/private_key_10523654854011137880.key (/w/workspace/edgexfoundry_device-uart_PR-38@tmp/private_key_10523654854011137880.key) 18:37:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:06 + git tag --points-at HEAD [Pipeline] } 18:37:06 $ docker exec --env ******** --env ******** a42d7f248229696a7a3d06c902905728235d8130b7cf8400442b95ed8c5dcfa9 ssh-agent -k 18:37:06 unset SSH_AUTH_SOCK; 18:37:06 unset SSH_AGENT_PID; 18:37:06 echo Agent pid 38 killed; 18:37:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:37:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:07 [ssh-agent] Looking for ssh-agent implementation... 18:37:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:07 $ docker exec a42d7f248229696a7a3d06c902905728235d8130b7cf8400442b95ed8c5dcfa9 ssh-agent 18:37:07 SSH_AUTH_SOCK=/tmp/ssh-6lOph6xlNo0b/agent.70 18:37:07 SSH_AGENT_PID=76 18:37:07 Running ssh-add (command line suppressed) 18:37:07 Identity added: /w/workspace/edgexfoundry_device-uart_PR-38@tmp/private_key_16607815315549451064.key (/w/workspace/edgexfoundry_device-uart_PR-38@tmp/private_key_16607815315549451064.key) 18:37:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:07 + git semver init 18:37:07 2023-12-06 18:37:07,854 [run_init] DEBUG init version:0.0.0 force:False 18:37:07 2023-12-06 18:37:07,855 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-38/.semver 18:37:07 2023-12-06 18:37:07,855 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-38/.semver 18:37:07 2023-12-06 18:37:07,855 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-38/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-38, universal_newlines=False, shell=None, istream=None) 18:37:09 2023-12-06 18:37:08,909 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-38/.git/info/exclude 18:37:09 2023-12-06 18:37:08,910 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-38/.semver/PR-38 with force:False 18:37:09 2023-12-06 18:37:08,910 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-38/.semver/PR-38 18:37:09 2023-12-06 18:37:08,915 [execute] INFO git cat-file --batch-check 18:37:09 2023-12-06 18:37:08,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-38/.semver, universal_newlines=False, shell=None, istream=) 18:37:09 2023-12-06 18:37:08,923 [execute] INFO git cat-file --batch 18:37:09 2023-12-06 18:37:08,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-38/.semver, universal_newlines=False, shell=None, istream=) 18:37:09 2023-12-06 18:37:08,929 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-38/.semver/PR-38 18:37:09 0.0.0 [Pipeline] } 18:37:09 $ docker exec --env ******** --env ******** a42d7f248229696a7a3d06c902905728235d8130b7cf8400442b95ed8c5dcfa9 ssh-agent -k 18:37:09 unset SSH_AUTH_SOCK; 18:37:09 unset SSH_AGENT_PID; 18:37:09 echo Agent pid 76 killed; 18:37:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:37:09 + git semver [Pipeline] } 18:37:10 $ docker stop --time=1 a42d7f248229696a7a3d06c902905728235d8130b7cf8400442b95ed8c5dcfa9 18:37:11 $ docker rm -f --volumes a42d7f248229696a7a3d06c902905728235d8130b7cf8400442b95ed8c5dcfa9 [Pipeline] // withDockerContainer [Pipeline] sh 18:37:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:37:12 Stashed 1 file(s) [Pipeline] echo 18:37:12 [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 18:37:13 provisioning config files... 18:37:13 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-38@tmp/config11375054409303089808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:13 ---> ****-login.sh 18:37:13 nexus3.edgexfoundry.org:10001 18:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:13 Configure a credential helper to remove this warning. See 18:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:13 18:37:13 Login Succeeded 18:37:13 nexus3.edgexfoundry.org:10002 18:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:13 Configure a credential helper to remove this warning. See 18:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:13 18:37:13 Login Succeeded 18:37:13 nexus3.edgexfoundry.org:10003 18:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:13 Configure a credential helper to remove this warning. See 18:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:13 18:37:13 Login Succeeded 18:37:13 nexus3.edgexfoundry.org:10004 18:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:13 Configure a credential helper to remove this warning. See 18:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:13 18:37:13 Login Succeeded 18:37:13 ****.io 18:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:14 Configure a credential helper to remove this warning. See 18:37:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:14 18:37:14 Login Succeeded 18:37:14 ---> ****-login.sh ends [Pipeline] } 18:37:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:37:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:37:14 ========================================================= 18:37:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:37:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:37:15 Sending build context to Docker daemon 23.05MB 18:37:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:37:15 Step 2/12 : FROM ${BASE} AS builder 18:37:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:37:15 7264a8db6415: Pulling fs layer 18:37:15 c4d48a809fc2: Pulling fs layer 18:37:15 4f1c88b9dad5: Pulling fs layer 18:37:15 ad3a456e5733: Pulling fs layer 18:37:15 69c7f0334f64: Pulling fs layer 18:37:15 1f1c1a5573a3: Pulling fs layer 18:37:15 ce7588e14bc9: Pulling fs layer 18:37:15 b5e4710f87ac: Pulling fs layer 18:37:15 69c7f0334f64: Waiting 18:37:15 1f1c1a5573a3: Waiting 18:37:15 ce7588e14bc9: Waiting 18:37:15 b5e4710f87ac: Waiting 18:37:15 ad3a456e5733: Waiting 18:37:15 c4d48a809fc2: Download complete 18:37:15 ad3a456e5733: Verifying Checksum 18:37:15 ad3a456e5733: Download complete 18:37:15 69c7f0334f64: Verifying Checksum 18:37:15 69c7f0334f64: Download complete 18:37:15 7264a8db6415: Verifying Checksum 18:37:15 7264a8db6415: Download complete 18:37:15 1f1c1a5573a3: Verifying Checksum 18:37:15 1f1c1a5573a3: Download complete 18:37:15 7264a8db6415: Pull complete 18:37:15 b5e4710f87ac: Verifying Checksum 18:37:15 c4d48a809fc2: Pull complete 18:37:15 4f1c88b9dad5: Verifying Checksum 18:37:15 4f1c88b9dad5: Download complete 18:37:16 ce7588e14bc9: Verifying Checksum 18:37:16 ce7588e14bc9: Download complete 18:37:18 4f1c88b9dad5: Pull complete 18:37:18 ad3a456e5733: Pull complete 18:37:18 69c7f0334f64: Pull complete 18:37:18 1f1c1a5573a3: Pull complete 18:37:21 ce7588e14bc9: Pull complete 18:37:21 b5e4710f87ac: Pull complete 18:37:21 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:37:21 ---> 88b5674ff536 18:37:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:37:23 ---> Running in 9a2d1b41a524 18:37:23 Removing intermediate container 9a2d1b41a524 18:37:23 ---> b2feaab19879 18:37:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:37:23 ---> Running in 7f0d5246d304 18:37:23 Removing intermediate container 7f0d5246d304 18:37:23 ---> a63f6f4d3034 18:37:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:37:23 ---> Running in 51b86b8fbe85 18:37:23 Removing intermediate container 51b86b8fbe85 18:37:23 ---> 213376d3967b 18:37:23 Step 6/12 : WORKDIR /device-uart 18:37:24 ---> Running in 4707fc531842 18:37:24 Removing intermediate container 4707fc531842 18:37:24 ---> f8f823935230 18:37:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:24 ---> Running in cb248eaff049 18:37:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:37:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:37:24 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:37:24 (2/4) Installing libedit (20221030.3.1-r1) 18:37:24 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:37:24 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:37:24 Executing busybox-1.36.1-r5.trigger 18:37:24 OK: 268 MiB in 56 packages 18:37:25 Removing intermediate container cb248eaff049 18:37:25 ---> d04b36ba81b1 18:37:25 Step 8/12 : COPY go.mod vendor* ./ 18:37:25 ---> 190d23aebeec 18:37:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:25 ---> Running in 40ad569c398c 18:37:27 Still waiting to schedule task 18:37:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:38:04 Removing intermediate container 40ad569c398c 18:38:04 ---> 8a1bc01987e3 18:38:04 Step 10/12 : COPY . . 18:38:04 ---> 4eacb2adb78b 18:38:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:38:04 ---> Running in 34f714f87ee6 18:38:04 Removing intermediate container 34f714f87ee6 18:38:04 ---> 7ccb65fd9fec 18:38:04 Step 12/12 : RUN ${MAKE} 18:38:04 ---> Running in 86dacbafd1ba 18:38:04 noop 18:38:04 Removing intermediate container 86dacbafd1ba 18:38:04 ---> cc4406903f06 18:38:04 Successfully built cc4406903f06 18:38:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:04 + docker inspect -f . ci-base-image-x86_64 18:38:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:04 prd-ubuntu20.04-docker-8c-8g-24570 does not seem to be running inside a container 18:38:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-38 -v /w/workspace/edgexfoundry_device-uart_PR-38:/w/workspace/edgexfoundry_device-uart_PR-38:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-38@tmp:/w/workspace/edgexfoundry_device-uart_PR-38@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 ******** ci-base-image-x86_64 cat 18:38:05 $ docker top 5870f1f47e17c9fa27d63b1cbe814609723ea223439b329944f53da027412a89 -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:05 + go version 18:38:05 go version go1.21.0 linux/amd64 [Pipeline] } 18:38:05 $ docker stop --time=1 5870f1f47e17c9fa27d63b1cbe814609723ea223439b329944f53da027412a89 18:38:07 $ docker rm -f --volumes 5870f1f47e17c9fa27d63b1cbe814609723ea223439b329944f53da027412a89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:08 + docker inspect -f . ci-base-image-x86_64 18:38:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:08 prd-ubuntu20.04-docker-8c-8g-24570 does not seem to be running inside a container 18:38:08 $ 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-38 -v /w/workspace/edgexfoundry_device-uart_PR-38:/w/workspace/edgexfoundry_device-uart_PR-38:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-38@tmp:/w/workspace/edgexfoundry_device-uart_PR-38@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 ******** ci-base-image-x86_64 cat 18:38:08 $ docker top c750603abc5d6eae79d26ef72370ce35e2aa2c5f2d2dc9f94600c51e8225027b -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-38 [Pipeline] fileExists [Pipeline] sh 18:38:09 + make test 18:38:09 go test ./... -coverprofile=coverage.out 18:38:10 ? github.com/edgexfoundry/device-uart [no test files] 18:38:20 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:38:20 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:38:24 go vet ./... 18:38:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:38:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:38:27 ./bin/test-attribution-txt.sh [Pipeline] echo 18:38:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:38:28 $ docker stop --time=1 c750603abc5d6eae79d26ef72370ce35e2aa2c5f2d2dc9f94600c51e8225027b 18:38:30 $ docker rm -f --volumes c750603abc5d6eae79d26ef72370ce35e2aa2c5f2d2dc9f94600c51e8225027b [Pipeline] // withDockerContainer [Pipeline] sh 18:38:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:38:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:38:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:38:32 + ls -al . 18:38:32 total 156 18:38:32 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 18:38 . 18:38:32 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 18:36 .. 18:38:32 -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 18:36 .dockerignore 18:38:32 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 18:38 .git 18:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:36 .github 18:38:32 -rw-rw-r-- 1 jenkins jenkins 343 Dec 6 18:36 .gitignore 18:38:32 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 18:36 .golangci.yml 18:38:32 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 18:37 .semver 18:38:32 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 6 18:36 Attribution.txt 18:38:32 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 6 18:36 CHANGELOG.md 18:38:32 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 6 18:36 Dockerfile 18:38:32 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 18:36 GOVERNANCE.md 18:38:32 -rw-rw-r-- 1 jenkins jenkins 675 Dec 6 18:36 Jenkinsfile 18:38:32 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 18:36 LICENSE 18:38:32 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 6 18:36 Makefile 18:38:32 -rw-rw-r-- 1 jenkins jenkins 617 Dec 6 18:36 OWNERS.md 18:38:32 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 6 18:36 README.md 18:38:32 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 18:37 VERSION 18:38:32 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 18:36 bin 18:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:36 cmd 18:38:32 -rw-r--r-- 1 jenkins jenkins 10 Dec 6 18:38 coverage.out 18:38:32 -rw-rw-r-- 1 jenkins jenkins 3716 Dec 6 18:36 go.mod 18:38:32 -rw-rw-r-- 1 jenkins jenkins 35303 Dec 6 18:36 go.sum 18:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:36 internal 18:38:32 -rw-rw-r-- 1 jenkins jenkins 209 Dec 6 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:32 + 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=b9545307f0bfe1147094d57e2d67d60aa86e7168 --label arch=amd64 --label version=0.0.0 . 18:38:32 Sending build context to Docker daemon 23.06MB 18:38:32 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:38:32 Step 2/26 : FROM ${BASE} AS builder 18:38:32 ---> cc4406903f06 18:38:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:38:32 ---> Running in 66fff02fc825 18:38:32 Removing intermediate container 66fff02fc825 18:38:32 ---> 3b73eca27fb6 18:38:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:38:32 ---> Running in 6dbc249c0468 18:38:32 Removing intermediate container 6dbc249c0468 18:38:32 ---> a04d9d236475 18:38:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:38:32 ---> Running in fd2e0fbef607 18:38:33 Removing intermediate container fd2e0fbef607 18:38:33 ---> 0a82d76a6ca9 18:38:33 Step 6/26 : WORKDIR /device-uart 18:38:33 ---> Running in 082ab9e7f64b 18:38:33 Removing intermediate container 082ab9e7f64b 18:38:33 ---> 50f2f3203e1f 18:38:33 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:38:33 ---> Running in e3ca790020d7 18:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:38:33 OK: 268 MiB in 56 packages 18:38:34 Removing intermediate container e3ca790020d7 18:38:34 ---> 254d7b0d6bf5 18:38:34 Step 8/26 : COPY go.mod vendor* ./ 18:38:34 ---> b4d9bc8d9565 18:38:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:34 ---> Running in 6da97f5e3f20 18:38:34 Removing intermediate container 6da97f5e3f20 18:38:34 ---> 3cf6ae6197a2 18:38:34 Step 10/26 : COPY . . 18:38:35 ---> 6821b21fcc2c 18:38:35 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:38:35 ---> Running in 113be687d298 18:38:35 Removing intermediate container 113be687d298 18:38:35 ---> 44235cacb7b2 18:38:35 Step 12/26 : RUN ${MAKE} 18:38:35 ---> Running in c7648f826eb2 18:38:35 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.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:38:53 Removing intermediate container c7648f826eb2 18:38:53 ---> 2f59d26ecbfa 18:38:53 Step 13/26 : FROM alpine:3.18 18:38:53 3.18: Pulling from library/alpine 18:38:53 c926b61bad3b: Pulling fs layer 18:38:53 c926b61bad3b: Verifying Checksum 18:38:53 c926b61bad3b: Download complete 18:38:53 c926b61bad3b: Pull complete 18:38:53 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:38:53 Status: Downloaded newer image for alpine:3.18 18:38:53 ---> b541f2080109 18:38:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:38:53 ---> Running in f0d8daec7aec 18:38:53 Removing intermediate container f0d8daec7aec 18:38:53 ---> 6cc094ae4e33 18:38:53 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:38:53 ---> Running in 4f59ce70bbd6 18:38:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:38:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:38:53 (1/1) Installing dumb-init (1.2.5-r2) 18:38:53 Executing busybox-1.36.1-r5.trigger 18:38:53 OK: 7 MiB in 16 packages 18:38:54 Removing intermediate container 4f59ce70bbd6 18:38:54 ---> bce47e6e7db8 18:38:54 Step 16/26 : RUN apk --no-cache upgrade 18:38:54 ---> Running in c40fbb0158f4 18:38:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:38:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:38:54 OK: 7 MiB in 16 packages 18:38:55 Removing intermediate container c40fbb0158f4 18:38:55 ---> 424d9bc4cd5d 18:38:55 Step 17/26 : WORKDIR / 18:38:55 ---> Running in b3993e41343c 18:38:55 Removing intermediate container b3993e41343c 18:38:55 ---> d17a45436830 18:38:55 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:38:55 ---> 08f27f2db7db 18:38:55 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:38:55 ---> c382581c747e 18:38:55 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:38:55 ---> b42fbbc34c5f 18:38:55 Step 21/26 : EXPOSE 59995 18:38:56 ---> Running in e444b4525a46 18:38:56 Removing intermediate container e444b4525a46 18:38:56 ---> 0ca0f519c3be 18:38:56 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:38:56 ---> Running in ec9a1c106474 18:38:56 Removing intermediate container ec9a1c106474 18:38:56 ---> ab8df240d3b6 18:38:56 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:38:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24571 in /w/workspace/edgexfoundry_device-uart_PR-38 [Pipeline] { [Pipeline] ws 18:38:56 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:38:56 ---> Running in 5dd0d306b918 18:38:56 Removing intermediate container 5dd0d306b918 18:38:56 ---> 698e3378d080 18:38:56 Step 24/26 : LABEL arch=amd64 18:38:56 ---> Running in b00d74c89955 18:38:56 Removing intermediate container b00d74c89955 18:38:56 ---> 8770233b4a0a 18:38:56 Step 25/26 : LABEL git_sha=b9545307f0bfe1147094d57e2d67d60aa86e7168 18:38:56 ---> Running in 6e24c7ab86a9 18:38:56 Removing intermediate container 6e24c7ab86a9 18:38:56 ---> 1efe26c16cec 18:38:56 Step 26/26 : LABEL version=0.0.0 18:38:56 ---> Running in 9fc1353aa920 18:38:56 Removing intermediate container 9fc1353aa920 18:38:56 ---> 70575de4acc8 18:38:56 [Warning] One or more build-args [ARCH] were not consumed 18:38:56 Successfully built 70575de4acc8 18:38:56 Successfully tagged device-uart:latest 18:38:59 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:00 18:39:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:01 latest: Pulling from edgex-lftools-log-publisher 18:39:01 5eb5b503b376: Pulling fs layer 18:39:01 5c69ac0246d0: Pulling fs layer 18:39:01 ec43610c2a17: Pulling fs layer 18:39:01 3a2ae6a8a46f: Pulling fs layer 18:39:01 33b1e0a273af: Pulling fs layer 18:39:01 5d3b04190fa2: Pulling fs layer 18:39:01 2f39f015ded8: Pulling fs layer 18:39:01 33b1e0a273af: Waiting 18:39:01 3a2ae6a8a46f: Waiting 18:39:01 5d3b04190fa2: Waiting 18:39:01 2f39f015ded8: Waiting 18:39:01 5c69ac0246d0: Download complete 18:39:01 ec43610c2a17: Verifying Checksum 18:39:01 ec43610c2a17: Download complete 18:39:01 33b1e0a273af: Verifying Checksum 18:39:01 33b1e0a273af: Download complete 18:39:01 5d3b04190fa2: Verifying Checksum 18:39:01 5d3b04190fa2: Download complete 18:39:01 5eb5b503b376: Download complete 18:39:02 5eb5b503b376: Pull complete 18:39:02 5c69ac0246d0: Pull complete 18:39:02 ec43610c2a17: Pull complete 18:39:03 3a2ae6a8a46f: Pull complete 18:39:03 33b1e0a273af: Pull complete 18:39:03 5d3b04190fa2: Pull complete 18:39:04 using credential edgex-jenkins-ssh 18:39:04 Cloning the remote Git repository 18:39:04 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:39:04 > git init /w/workspace/device-uart/1 # timeout=10 18:39:04 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:39:04 > git --version # timeout=10 18:39:04 > git --version # 'git version 2.25.1' 18:39:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:39:07 2f39f015ded8: Pull complete 18:39:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:39:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:08 prd-ubuntu20.04-docker-8c-8g-24570 does not seem to be running inside a container 18:39:08 $ 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-38 -v /w/workspace/edgexfoundry_device-uart_PR-38:/w/workspace/edgexfoundry_device-uart_PR-38:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-38@tmp:/w/workspace/edgexfoundry_device-uart_PR-38@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-lftools-log-publisher:latest cat 18:39:09 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:39:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:39:10 $ docker top 0611d43efb511fb08bc0adaa8df98c5eeb215ac7f7fa06283966f1e337c15ad6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:10 ---> job-cost.sh 18:39:10 lf-activate-venv: SKIPPING 18:39:10 INFO: No Stack... 18:39:10 Merging remotes/origin/main commit 56a8503eef07c46f22bc765105e6cf123a2f1194 into PR head commit b9545307f0bfe1147094d57e2d67d60aa86e7168 18:39:11 INFO: Retrieving Pricing Info for: v3-standard-8 18:39:10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:39:10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:39:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/38/head:refs/remotes/origin/PR-38 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:39:10 > git config core.sparsecheckout # timeout=10 18:39:11 > git checkout -f b9545307f0bfe1147094d57e2d67d60aa86e7168 # timeout=10 18:39:11 > git remote # timeout=10 18:39:11 > git config --get remote.origin.url # timeout=10 18:39:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:11 > git merge 56a8503eef07c46f22bc765105e6cf123a2f1194 # timeout=10 18:39:11 > git rev-parse HEAD^{commit} # timeout=10 18:39:11 Merge succeeded, producing b9545307f0bfe1147094d57e2d67d60aa86e7168 18:39:11 Checking out Revision b9545307f0bfe1147094d57e2d67d60aa86e7168 (PR-38) 18:39:11 INFO: Archiving Costs [Pipeline] sh 18:39:11 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:39:11 + + catcut /w/workspace/edgexfoundry_device-uart_PR-38/archives/cost.csv -d, 18:39:11 -f6 [Pipeline] lock 18:39:11 > git --version # timeout=10 18:39:11 > git --version # 'git version 2.25.1' 18:39:11 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:39:11 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-38-1-stack-cost] 18:39:11 Resource [jenkins-edgexfoundry-device-uart-PR-38-1-stack-cost] did not exist. Created. 18:39:11 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-38-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:39:12 18:39:12 GitHub has been notified of this commit’s build result 18:39:12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv 18:39:12 + echo total: 0.2199999988079071 [Pipeline] { [Pipeline] stash 18:39:12 Stashed 1 file(s) [Pipeline] } 18:39:12 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-38-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:39:12 $ docker stop --time=1 0611d43efb511fb08bc0adaa8df98c5eeb215ac7f7fa06283966f1e337c15ad6 18:39:11 > git config core.sparsecheckout # timeout=10 18:39:11 > git checkout -f b9545307f0bfe1147094d57e2d67d60aa86e7168 # timeout=10 18:39:13 $ docker rm -f --volumes 0611d43efb511fb08bc0adaa8df98c5eeb215ac7f7fa06283966f1e337c15ad6 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:39:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:39:14 Dload Upload Total Spent Left Speed 18:39:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 87462 0 --:--:-- --:--:-- --:--:-- 87462 [Pipeline] sh 18:39:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:39:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:39:15 + sudo tee /etc/docker/daemon.new 18:39:15 { 18:39:15 "registry-mirrors": [ 18:39:15 "https://nexus3.edgexfoundry.org:10001" 18:39:15 ], 18:39:15 "bip": "10.250.0.254/24", 18:39:15 "hosts": [ 18:39:15 "tcp://0.0.0.0:5555", 18:39:15 "unix:///var/run/docker.sock" 18:39:15 ], 18:39:15 "mtu": 1458, 18:39:15 "selinux-enabled": true, 18:39:15 "seccomp-profile": "/etc/docker/seccomp.json" 18:39:15 } [Pipeline] sh 18:39:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:39:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:34 provisioning config files... 18:39:34 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config15031475285748583864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:35 ---> ****-login.sh 18:39:35 nexus3.edgexfoundry.org:10001 18:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:35 Configure a credential helper to remove this warning. See 18:39:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:35 18:39:35 Login Succeeded 18:39:35 nexus3.edgexfoundry.org:10002 18:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:35 Configure a credential helper to remove this warning. See 18:39:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:35 18:39:35 Login Succeeded 18:39:35 nexus3.edgexfoundry.org:10003 18:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:36 Configure a credential helper to remove this warning. See 18:39:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:36 18:39:36 Login Succeeded 18:39:36 nexus3.edgexfoundry.org:10004 18:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:36 Configure a credential helper to remove this warning. See 18:39:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:36 18:39:36 Login Succeeded 18:39:36 ****.io 18:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:39:36 Configure a credential helper to remove this warning. See 18:39:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:39:36 18:39:36 Login Succeeded 18:39:36 ---> ****-login.sh ends [Pipeline] } 18:39:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:39:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:39:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:39:37 ========================================================= 18:39:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:39:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:39:39 #0 building with "default" instance using docker driver 18:39:39 18:39:39 #1 [internal] load .dockerignore 18:39:39 #1 transferring context: 182B 0.0s done 18:39:39 #1 DONE 0.1s 18:39:39 18:39:39 #2 [internal] load build definition from Dockerfile 18:39:39 #2 transferring dockerfile: 1.93kB done 18:39:39 #2 DONE 0.1s 18:39:39 18:39:39 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:39:39 #3 DONE 0.1s 18:39:39 18:39:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:39:39 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 18:39:39 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 135.17kB / 3.33MB 0.1s 18:39:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 18:39:39 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 18:39:39 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 18:39:39 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s 18:39:39 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 18:39:39 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 18:39:39 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 18:39:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.3s 18:39:39 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 18:39:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 18:39:39 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 18:39:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 18:39:39 #4 ... 18:39:39 18:39:39 #5 [internal] load build context 18:39:39 #5 transferring context: 11.51MB 0.4s done 18:39:39 #5 DONE 0.4s 18:39:39 18:39:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:39:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.62MB / 63.99MB 0.4s 18:39:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.4s 18:39:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.71MB / 63.99MB 0.5s 18:39:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.5s 18:39:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.5s 18:39:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.7s 18:39:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 18:39:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 16.78MB / 97.63MB 0.7s 18:39:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.19MB / 63.99MB 0.8s 18:39:40 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 18:39:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 0.8s 18:39:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 32.51MB / 63.99MB 0.9s 18:39:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 27.26MB / 97.63MB 0.9s 18:39:40 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 18:39:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.82MB / 63.99MB 1.0s 18:39:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.0s 18:39:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.57MB / 63.99MB 1.2s 18:39:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.04MB / 97.63MB 1.2s 18:39:40 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 18:39:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.06MB / 63.99MB 1.3s 18:39:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.33MB / 97.63MB 1.3s 18:39:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.4s 18:39:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 55.57MB / 97.63MB 1.4s 18:39:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.50MB / 63.99MB 1.5s 18:39:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 61.87MB / 97.63MB 1.5s 18:39:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 18:39:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.03MB / 97.63MB 1.7s 18:39:41 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18:39:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 1.8s 18:39:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 1.9s 18:39:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.27MB / 97.63MB 2.0s 18:39:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 18:39:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done 18:39:47 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.5s 18:39:52 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 18:39:59 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.8s done 18:39:59 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 18:39:59 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 18:39:59 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 18:39:59 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18:40:07 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.0s 18:40:10 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.2s done 18:40:10 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 18:40:12 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 18:40:12 #4 DONE 32.6s 18:40:12 18:40:12 #6 [builder 2/7] WORKDIR /device-uart 18:40:13 #6 DONE 1.5s 18:40:13 18:40:13 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:40:14 #7 0.659 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:40:14 #7 0.955 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:40:15 #7 1.797 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:40:15 #7 1.823 (2/4) Installing libedit (20221030.3.1-r1) 18:40:15 #7 1.835 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:40:15 #7 1.901 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:40:15 #7 1.927 Executing busybox-1.36.1-r5.trigger 18:40:15 #7 1.961 OK: 271 MiB in 56 packages 18:40:16 #7 DONE 2.2s 18:40:16 18:40:16 #8 [builder 4/7] COPY go.mod vendor* ./ 18:40:16 #8 DONE 0.1s 18:40:16 18:40:16 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:42 #9 DONE 25.7s 18:40:42 18:40:42 #10 [builder 6/7] COPY . . 18:40:42 #10 DONE 0.2s 18:40:42 18:40:42 #11 [builder 7/7] RUN echo noop 18:40:42 #11 0.566 noop 18:40:42 #11 DONE 0.6s 18:40:42 18:40:42 #12 exporting to image 18:40:42 #12 exporting layers 18:41:09 #12 exporting layers 23.6s done 18:41:09 #12 writing image sha256:48da7468fa196fefe1c0e7f483b585fa6531ff41fa3aed00096b38a8caafe9df done 18:41:09 #12 naming to docker.io/library/ci-base-image-arm64 done 18:41:09 #12 DONE 23.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:10 + docker inspect -f . ci-base-image-arm64 18:41:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:10 prd-ubuntu20.04-docker-arm64-4c-16g-24571 does not seem to be running inside a container 18:41:10 $ 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 ******** ci-base-image-arm64 cat 18:41:11 $ docker top a3179c598e975e49d670d6e7f084a331b519e05ae87b55fc0771c32077e52e16 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:12 + go version 18:41:12 go version go1.21.0 linux/arm64 [Pipeline] } 18:41:12 $ docker stop --time=1 a3179c598e975e49d670d6e7f084a331b519e05ae87b55fc0771c32077e52e16 18:41:13 $ docker rm -f --volumes a3179c598e975e49d670d6e7f084a331b519e05ae87b55fc0771c32077e52e16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:14 + docker inspect -f . ci-base-image-arm64 18:41:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:15 prd-ubuntu20.04-docker-arm64-4c-16g-24571 does not seem to be running inside a container 18:41:15 $ 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 ******** ci-base-image-arm64 cat 18:41:16 $ docker top f28cdf14556f80badd352b8fec552caca2036459c07b9bdc9e5e68ef87e6607d -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:16 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:41:17 + make test 18:41:17 go test ./... -coverprofile=coverage.out 18:41:25 ? github.com/edgexfoundry/device-uart [no test files] 18:42:12 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:42:12 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:42:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:42:12 go vet ./... 18:42:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:42:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:42:24 ./bin/test-attribution-txt.sh [Pipeline] echo 18:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:42:25 $ docker stop --time=1 f28cdf14556f80badd352b8fec552caca2036459c07b9bdc9e5e68ef87e6607d 18:42:27 $ docker rm -f --volumes f28cdf14556f80badd352b8fec552caca2036459c07b9bdc9e5e68ef87e6607d [Pipeline] // withDockerContainer [Pipeline] sh 18:42:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:42:28 Warning: overwriting stash ‘coverage-report’ 18:42:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:42:29 + ls -al . 18:42:29 total 152 18:42:29 drwxrwxr-x 7 jenkins jenkins 4096 Dec 6 18:41 . 18:42:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 18:39 .. 18:42:29 -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 18:39 .dockerignore 18:42:29 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 18:39 .git 18:42:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:39 .github 18:42:29 -rw-rw-r-- 1 jenkins jenkins 343 Dec 6 18:39 .gitignore 18:42:29 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 18:39 .golangci.yml 18:42:29 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 6 18:39 Attribution.txt 18:42:29 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 6 18:39 CHANGELOG.md 18:42:29 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 6 18:39 Dockerfile 18:42:29 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 18:39 GOVERNANCE.md 18:42:29 -rw-rw-r-- 1 jenkins jenkins 675 Dec 6 18:39 Jenkinsfile 18:42:29 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 18:39 LICENSE 18:42:29 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 6 18:39 Makefile 18:42:29 -rw-rw-r-- 1 jenkins jenkins 617 Dec 6 18:39 OWNERS.md 18:42:29 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 6 18:39 README.md 18:42:29 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 18:37 VERSION 18:42:29 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 18:39 bin 18:42:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:39 cmd 18:42:29 -rw-r--r-- 1 jenkins jenkins 10 Dec 6 18:41 coverage.out 18:42:29 -rw-rw-r-- 1 jenkins jenkins 3716 Dec 6 18:39 go.mod 18:42:29 -rw-rw-r-- 1 jenkins jenkins 35303 Dec 6 18:39 go.sum 18:42:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:39 internal 18:42:29 -rw-rw-r-- 1 jenkins jenkins 209 Dec 6 18:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:30 + 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=b9545307f0bfe1147094d57e2d67d60aa86e7168 --label arch=arm64 --label version=0.0.0 . 18:42:30 #0 building with "default" instance using docker driver 18:42:30 18:42:30 #1 [internal] load build definition from Dockerfile 18:42:30 #1 transferring dockerfile: 1.93kB done 18:42:30 #1 DONE 0.0s 18:42:30 18:42:30 #2 [internal] load .dockerignore 18:42:30 #2 transferring context: 182B done 18:42:31 #2 DONE 0.0s 18:42:31 18:42:31 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 18:42:31 #3 DONE 0.0s 18:42:31 18:42:31 #4 [internal] load metadata for docker.io/library/alpine:3.18 18:42:31 #4 DONE 0.2s 18:42:31 18:42:31 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:42:31 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 18:42:31 #5 DONE 0.1s 18:42:31 18:42:31 #6 [internal] load build context 18:42:31 #6 transferring context: 5.48kB 0.0s done 18:42:31 #6 DONE 0.1s 18:42:31 18:42:31 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:42:31 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 18:42:31 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 18:42:31 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 18:42:31 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 18:42:31 #5 ... 18:42:31 18:42:31 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 18:42:31 #7 DONE 0.3s 18:42:31 18:42:31 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:42:31 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 18:42:31 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 18:42:31 #5 ... 18:42:31 18:42:31 #8 [builder 2/7] WORKDIR /device-uart 18:42:31 #8 DONE 0.1s 18:42:31 18:42:31 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:42:32 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 18:42:34 #5 DONE 3.0s 18:42:34 18:42:34 #9 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:42:34 #9 2.731 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:42:34 #9 3.188 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:42:36 #9 4.373 OK: 271 MiB in 56 packages 18:42:36 #9 DONE 4.7s 18:42:36 18:42:36 #10 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:42:36 #10 0.587 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:42:36 #10 0.976 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:42:36 #10 2.149 (1/1) Installing dumb-init (1.2.5-r2) 18:42:36 #10 ... 18:42:36 18:42:36 #11 [builder 4/7] COPY go.mod vendor* ./ 18:42:36 #11 DONE 0.2s 18:42:36 18:42:36 #10 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:42:36 #10 2.170 Executing busybox-1.36.1-r5.trigger 18:42:36 #10 2.207 OK: 8 MiB in 16 packages 18:42:36 #10 DONE 2.6s 18:42:36 18:42:36 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:38 #12 DONE 1.4s 18:42:38 18:42:38 #13 [builder 6/7] COPY . . 18:42:38 #13 DONE 0.4s 18:42:38 18:42:38 #14 [stage-1 3/7] RUN apk --no-cache upgrade 18:42:38 #14 0.898 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:42:38 #14 1.299 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:42:39 #14 2.624 OK: 8 MiB in 16 packages 18:42:39 #14 DONE 2.9s 18:42:39 18:42:39 #15 [builder 7/7] RUN make build 18:42:39 #15 0.723 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.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:44:01 #15 DONE 72.6s 18:44:01 18:44:01 #16 [stage-1 4/7] COPY --from=builder /device-uart/Attribution.txt / 18:44:01 #16 DONE 0.1s 18:44:01 18:44:01 #17 [stage-1 5/7] COPY --from=builder /device-uart/LICENSE / 18:44:01 #17 DONE 0.1s 18:44:01 18:44:01 #18 [stage-1 6/7] COPY --from=builder /device-uart/cmd/ / 18:44:01 #18 DONE 0.5s 18:44:01 18:44:01 #19 exporting to image 18:44:01 #19 exporting layers 18:44:01 #19 exporting layers 0.5s done 18:44:01 #19 writing image sha256:de5bd386b8299f7d860e2c2aa78d32f36cee2d723737ff849e8d1bb57c54b51f done 18:44:01 #19 naming to docker.io/library/device-uart-arm64 0.0s done 18:44:01 #19 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:02 18:44:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:03 arm64: Pulling from edgex-lftools-log-publisher 18:44:03 8998bd30e6a1: Pulling fs layer 18:44:03 04944245beec: Pulling fs layer 18:44:03 699f458cf7ca: Pulling fs layer 18:44:03 765212b225bb: Pulling fs layer 18:44:03 f23df028b6ca: Pulling fs layer 18:44:03 d65c8cfc05b1: Pulling fs layer 18:44:03 2437ff75d9bd: Pulling fs layer 18:44:03 f23df028b6ca: Waiting 18:44:03 d65c8cfc05b1: Waiting 18:44:03 2437ff75d9bd: Waiting 18:44:03 765212b225bb: Waiting 18:44:03 04944245beec: Verifying Checksum 18:44:03 04944245beec: Download complete 18:44:03 765212b225bb: Verifying Checksum 18:44:03 765212b225bb: Download complete 18:44:03 f23df028b6ca: Verifying Checksum 18:44:03 f23df028b6ca: Download complete 18:44:03 d65c8cfc05b1: Verifying Checksum 18:44:03 d65c8cfc05b1: Download complete 18:44:03 699f458cf7ca: Verifying Checksum 18:44:03 699f458cf7ca: Download complete 18:44:04 8998bd30e6a1: Verifying Checksum 18:44:04 8998bd30e6a1: Download complete 18:44:06 2437ff75d9bd: Verifying Checksum 18:44:06 2437ff75d9bd: Download complete 18:44:10 8998bd30e6a1: Pull complete 18:44:11 04944245beec: Pull complete 18:44:13 699f458cf7ca: Pull complete 18:44:13 765212b225bb: Pull complete 18:44:14 f23df028b6ca: Pull complete 18:44:14 d65c8cfc05b1: Pull complete 18:44:41 2437ff75d9bd: Pull complete 18:44:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:44:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:42 prd-ubuntu20.04-docker-arm64-4c-16g-24571 does not seem to be running inside a container 18:44:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:44:44 $ docker top ee29dfde4da42da4f7bdfa4392510bd0e0396072b9d36db2355339becdbd92e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:45 ---> job-cost.sh 18:44:45 lf-activate-venv: SKIPPING 18:44:45 INFO: No Stack... 18:44:46 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:47 INFO: Archiving Costs [Pipeline] sh 18:44:47 + cat /w/workspace/device-uart/1/archives/cost.csv 18:44:47 + cut -d, -f6 [Pipeline] lock 18:44:47 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-38-1-stack-cost] 18:44:47 Resource [jenkins-edgexfoundry-device-uart-PR-38-1-stack-cost] did not exist. Created. 18:44:47 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-38-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:48 /w/workspace/device-uart/1@tmp/durable-94dd1e2a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:44:48 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:48 Warning: overwriting stash ‘stack-cost’ 18:44:48 Stashed 1 file(s) [Pipeline] } 18:44:48 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-38-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:48 $ docker stop --time=1 ee29dfde4da42da4f7bdfa4392510bd0e0396072b9d36db2355339becdbd92e4 18:44:50 $ docker rm -f --volumes ee29dfde4da42da4f7bdfa4392510bd0e0396072b9d36db2355339becdbd92e4 [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 18:44:52 provisioning config files... 18:44:52 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-38@tmp/config13192900593684859016tmp [Pipeline] { [Pipeline] sh 18:44:52 + set +x 18:44:52 + bash -s -- 18:44:52 + curl -s https://codecov.io/bash 18:44:52 18:44:52 _____ _ 18:44:52 / ____| | | 18:44:52 | | ___ __| | ___ ___ _____ __ 18:44:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:44:52 | |___| (_) | (_| | __/ (_| (_) \ V / 18:44:52 \_____\___/ \__,_|\___|\___\___/ \_/ 18:44:52 Bash-1.0.6 18:44:52 18:44:52 18:44:52 ==> git version 2.25.1 found 18:44:52 ==> 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 18:44:52 Release-Date: 2020-01-08 18:44:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:44:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:44:52 ==> Jenkins CI detected. 18:44:52 current dir:  /w/workspace/edgexfoundry_device-uart_PR-38 18:44:52 project root: . 18:44:52 --> token set from env 18:44:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:44:52 ==> Running gcov in . (disable via -X gcov) 18:44:52 ==> Python coveragepy not found 18:44:52 ==> Searching for coverage reports in: 18:44:52 + . 18:44:52 -> Found 1 reports 18:44:52 ==> Detecting git/mercurial file structure 18:44:52 ==> Reading reports 18:44:52 + ./coverage.out bytes=10 18:44:52 ==> Appending adjustments 18:44:52 https://docs.codecov.io/docs/fixing-reports 18:44:52 + Found adjustments 18:44:52 ==> Gzipping contents 18:44:53 4.0K /tmp/codecov.1Hf4bF.gz 18:44:53 ==> Uploading reports 18:44:53 url: https://codecov.io 18:44:53 query: branch=PR-38&commit=b9545307f0bfe1147094d57e2d67d60aa86e7168&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-38%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=38&job=&cmd_args= 18:44:53 -> Pinging Codecov 18:44:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-38&commit=b9545307f0bfe1147094d57e2d67d60aa86e7168&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-38%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=38&job=&cmd_args= 18:44:53 -> Uploading to 18:44:53 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/B9AA6E0BBD74AE3A32605C7A7C664919/b9545307f0bfe1147094d57e2d67d60aa86e7168/1593552e-7d19-40c0-b013-136130773601.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T184453Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a227f623b163dd504efb63b9e5bd6701415a5288733e20c66fcc557d1a8845f6 18:44:53 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:53 Dload Upload Total Spent Left Speed 18:44:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2610 --:--:-- --:--:-- --:--:-- 2610 18:44:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/b9545307f0bfe1147094d57e2d67d60aa86e7168 [Pipeline] } 18:44:53 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:44:56 + [ -d /w/workspace/edgexfoundry_device-uart_PR-38/archives ] 18:44:56 + ls -al /w/workspace/edgexfoundry_device-uart_PR-38/archives 18:44:56 total 16 18:44:56 drwxr-xr-x 3 root root 4096 Dec 6 18:39 . 18:44:56 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 18:39 .. 18:44:56 drwxr-xr-x 2 root root 4096 Dec 6 18:39 cost 18:44:56 -rw-r--r-- 1 root root 82 Dec 6 18:39 cost.csv 18:44:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-38/archives 18:44:56 + ls -al /w/workspace/edgexfoundry_device-uart_PR-38/archives 18:44:56 total 16 18:44:56 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 18:39 . 18:44:56 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 18:39 .. 18:44:56 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 18:39 cost 18:44:56 -rw-r--r-- 1 jenkins jenkins 82 Dec 6 18:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:44:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:44:58 ---> package-listing.sh 18:44:58 ++ facter osfamily 18:44:58 ++ tr '[:upper:]' '[:lower:]' 18:44:58 + OS_FAMILY=debian 18:44:58 + workspace=/w/workspace/edgexfoundry_device-uart_PR-38 18:44:58 + START_PACKAGES=/tmp/packages_start.txt 18:44:58 + END_PACKAGES=/tmp/packages_end.txt 18:44:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:44:58 + PACKAGES=/tmp/packages_start.txt 18:44:58 + '[' /w/workspace/edgexfoundry_device-uart_PR-38 ']' 18:44:58 + PACKAGES=/tmp/packages_end.txt 18:44:58 + case "${OS_FAMILY}" in 18:44:58 + dpkg -l 18:44:58 + grep '^ii' 18:44:58 + '[' -f /tmp/packages_start.txt ']' 18:44:58 + '[' -f /tmp/packages_end.txt ']' 18:44:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:44:58 + '[' /w/workspace/edgexfoundry_device-uart_PR-38 ']' 18:44:58 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-38/archives/ 18:44:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-38/archives/ [Pipeline] echo 18:44:58 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-38/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:44:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:59 prd-ubuntu20.04-docker-8c-8g-24570 does not seem to be running inside a container 18:44:59 $ 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-38/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-38 -v /w/workspace/edgexfoundry_device-uart_PR-38:/w/workspace/edgexfoundry_device-uart_PR-38:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-38@tmp:/w/workspace/edgexfoundry_device-uart_PR-38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:44:59 $ docker top 45d5c186ebcb427831a80bccbf4963ddc7b317fe2a133c2ca9b5a127b83adaa6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:00 + touch /tmp/pre-build-complete [Pipeline] sh 18:45:00 + mkdir -p /var/log/sysstat [Pipeline] sh 18:45:01 + ls /var/log/sa-host 18:45:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:01 provisioning config files... 18:45:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-38@tmp/config8140399903018956795tmp [Pipeline] { [Pipeline] echo 18:45:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:45:01 ---> create-netrc.sh [Pipeline] } 18:45:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:45:02 ---> python-tools-install.sh [Pipeline] echo 18:45:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:45:02 ---> sudo-logs.sh 18:45:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:45:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:45:03 ---> job-cost.sh 18:45:03 lf-activate-venv: SKIPPING 18:45:03 DEBUG: total: 0.2199999988079071 18:45:03 INFO: Retrieving Stack Cost... 18:45:03 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:03 INFO: Archiving Costs [Pipeline] echo 18:45:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:45:04 ---> logs-deploy.sh 18:45:04 lf-activate-venv: SKIPPING 18:45:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-38/1 18:45:04 INFO: archiving workspace using pattern(s): 18:45:05 Archives upload complete. 18:45:05 INFO: archiving logs to Nexus