Pull request #42 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e96e81e40ae0ec0037594df20c025b32ccf414cd+886fb5391d0715c03eb52aea2bbf175b6095cc08 (5ffbf098f492775c1f18e95ad1e66f1d1ce2d81f) 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-ssh15187979246889265985.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-ssh1774304350406307139.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-42/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-42/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16343426866740660343.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-42/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5400620202393549711.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-ssh5139753218044400396.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-42/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-42/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14289344073503968071.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-27916’ Running on prd-ubuntu20.04-docker-8c-8g-27918 in /w/workspace/edgexfoundry_device-uart_PR-42 [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-42 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 886fb5391d0715c03eb52aea2bbf175b6095cc08 into PR head commit e96e81e40ae0ec0037594df20c025b32ccf414cd Merge succeeded, producing e96e81e40ae0ec0037594df20c025b32ccf414cd Checking out Revision e96e81e40ae0ec0037594df20c025b32ccf414cd (PR-42) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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:53:28 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e96e81e40ae0ec0037594df20c025b32ccf414cd # 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 886fb5391d0715c03eb52aea2bbf175b6095cc08 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e96e81e40ae0ec0037594df20c025b32ccf414cd # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:53:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:53:29 ========================================================= 18:53:29 EdgeX Global Pipelines Version Info 18:53:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:53:29 ------------------- 18:53:29 stable info: 18:53:29 ------------------- 18:53:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:53:29 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:53:29 Message: update stable to v1.0.258 18:53:30 ------------------- 18:53:30 experimental info: 18:53:30 ------------------- 18:53:30 Commited By: **** collab-it+edgex@linuxfoundation.org 18:53:30 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:53:30 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:53:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:53:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:53:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:53:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:53:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:53:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:53:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e96e81e40ae0ec0037594df20c025b32ccf414cd [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e96e81e [Pipeline] echo 18:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:32 provisioning config files... 18:53:32 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-42@tmp/config17179048755085721260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:33 ---> ****-login.sh 18:53:33 nexus3.edgexfoundry.org:10001 18:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:33 Configure a credential helper to remove this warning. See 18:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:33 18:53:33 Login Succeeded 18:53:33 nexus3.edgexfoundry.org:10002 18:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:33 Configure a credential helper to remove this warning. See 18:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:33 18:53:33 Login Succeeded 18:53:33 nexus3.edgexfoundry.org:10003 18:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:33 Configure a credential helper to remove this warning. See 18:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:33 18:53:33 Login Succeeded 18:53:33 nexus3.edgexfoundry.org:10004 18:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:33 Configure a credential helper to remove this warning. See 18:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:33 18:53:33 Login Succeeded 18:53:33 ****.io 18:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:34 Configure a credential helper to remove this warning. See 18:53:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:34 18:53:34 Login Succeeded 18:53:34 ---> ****-login.sh ends [Pipeline] } 18:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:53:34 + git rev-list -1 --merges e96e81e40ae0ec0037594df20c025b32ccf414cd~1..e96e81e40ae0ec0037594df20c025b32ccf414cd [Pipeline] echo 18:53:34 -----------> git rev-list -1 --merges e96e81e40ae0ec0037594df20c025b32ccf414cd~1..e96e81e40ae0ec0037594df20c025b32ccf414cd e96e81e40ae0ec0037594df20c025b32ccf414cd [false] [Pipeline] sh 18:53:35 + git log --format=format:%s -1 e96e81e40ae0ec0037594df20c025b32ccf414cd [Pipeline] echo 18:53:35 ========================================================= 18:53:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:53:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:35 + git log --format=format:%s -1 e96e81e40ae0ec0037594df20c025b32ccf414cd [Pipeline] echo 18:53:35 [semverPrep] GIT_COMMIT: e96e81e40ae0ec0037594df20c025b32ccf414cd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:53:35 [semverPrep] This is not a build commit. [Pipeline] sh 18:53:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:53:36 + grep -v github /etc/ssh/ssh_known_hosts 18:53:36 + [ -e /tmp/ssh_known_hosts ] 18:53:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:53:36 + + sudo tee -a /etc/ssh/ssh_known_hosts 18:53:36 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:53:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:36 18:53:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:37 0.1.4: Pulling from edgex-devops/py-git-semver 18:53:37 b85a868b505f: Pulling fs layer 18:53:37 e2be974225ed: Pulling fs layer 18:53:37 339a4e72a1f5: Pulling fs layer 18:53:37 988bab9f4d93: Pulling fs layer 18:53:37 1469e6f7b9e6: Pulling fs layer 18:53:37 eaf3925da568: Pulling fs layer 18:53:37 bab4dde63d76: Pulling fs layer 18:53:37 bde34c3a00c8: Pulling fs layer 18:53:37 b352a97aabf1: Pulling fs layer 18:53:37 4872d77fe225: Pulling fs layer 18:53:37 5851b861e8e6: Pulling fs layer 18:53:37 988bab9f4d93: Waiting 18:53:37 1469e6f7b9e6: Waiting 18:53:37 eaf3925da568: Waiting 18:53:37 bab4dde63d76: Waiting 18:53:37 bde34c3a00c8: Waiting 18:53:37 b352a97aabf1: Waiting 18:53:37 4872d77fe225: Waiting 18:53:37 5851b861e8e6: Waiting 18:53:37 e2be974225ed: Verifying Checksum 18:53:37 e2be974225ed: Download complete 18:53:37 988bab9f4d93: Verifying Checksum 18:53:37 988bab9f4d93: Download complete 18:53:37 1469e6f7b9e6: Verifying Checksum 18:53:37 1469e6f7b9e6: Download complete 18:53:37 eaf3925da568: Verifying Checksum 18:53:37 eaf3925da568: Download complete 18:53:37 339a4e72a1f5: Verifying Checksum 18:53:37 339a4e72a1f5: Download complete 18:53:37 bde34c3a00c8: Verifying Checksum 18:53:37 bde34c3a00c8: Download complete 18:53:37 b352a97aabf1: Verifying Checksum 18:53:37 b352a97aabf1: Download complete 18:53:37 4872d77fe225: Download complete 18:53:37 5851b861e8e6: Verifying Checksum 18:53:37 5851b861e8e6: Download complete 18:53:37 b85a868b505f: Verifying Checksum 18:53:37 b85a868b505f: Download complete 18:53:37 bab4dde63d76: Download complete 18:53:38 b85a868b505f: Pull complete 18:53:38 e2be974225ed: Pull complete 18:53:39 339a4e72a1f5: Pull complete 18:53:39 988bab9f4d93: Pull complete 18:53:39 1469e6f7b9e6: Pull complete 18:53:39 eaf3925da568: Pull complete 18:53:41 bab4dde63d76: Pull complete 18:53:41 bde34c3a00c8: Pull complete 18:53:41 b352a97aabf1: Pull complete 18:53:41 4872d77fe225: Pull complete 18:53:41 5851b861e8e6: Pull complete 18:53:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:53:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:42 prd-ubuntu20.04-docker-8c-8g-27918 does not seem to be running inside a container 18:53:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-42 -v /w/workspace/edgexfoundry_device-uart_PR-42:/w/workspace/edgexfoundry_device-uart_PR-42:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-42@tmp:/w/workspace/edgexfoundry_device-uart_PR-42@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:53:45 $ docker top 8b18072088f1aff09017c1b54683beb611949f13b77f5c51fce86be027c73abc -eo pid,comm 18:53:45 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:53:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:53:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:46 [ssh-agent] Looking for ssh-agent implementation... 18:53:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:46 $ docker exec 8b18072088f1aff09017c1b54683beb611949f13b77f5c51fce86be027c73abc ssh-agent 18:53:46 SSH_AUTH_SOCK=/tmp/ssh-kN4c5HzNtJ9x/agent.31 18:53:46 SSH_AGENT_PID=37 18:53:46 Running ssh-add (command line suppressed) 18:53:46 Identity added: /w/workspace/edgexfoundry_device-uart_PR-42@tmp/private_key_11424907424001565173.key (/w/workspace/edgexfoundry_device-uart_PR-42@tmp/private_key_11424907424001565173.key) 18:53:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:46 + git tag --points-at HEAD [Pipeline] } 18:53:46 $ docker exec --env ******** --env ******** 8b18072088f1aff09017c1b54683beb611949f13b77f5c51fce86be027c73abc ssh-agent -k 18:53:46 unset SSH_AUTH_SOCK; 18:53:46 unset SSH_AGENT_PID; 18:53:46 echo Agent pid 37 killed; 18:53:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:47 [ssh-agent] Looking for ssh-agent implementation... 18:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:47 $ docker exec 8b18072088f1aff09017c1b54683beb611949f13b77f5c51fce86be027c73abc ssh-agent 18:53:47 SSH_AUTH_SOCK=/tmp/ssh-WTS3TojmTn46/agent.70 18:53:47 SSH_AGENT_PID=76 18:53:47 Running ssh-add (command line suppressed) 18:53:47 Identity added: /w/workspace/edgexfoundry_device-uart_PR-42@tmp/private_key_3150015960972058956.key (/w/workspace/edgexfoundry_device-uart_PR-42@tmp/private_key_3150015960972058956.key) 18:53:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:47 + git semver init 18:53:48 2024-01-25 18:53:47,967 [run_init] DEBUG init version:0.0.0 force:False 18:53:48 2024-01-25 18:53:47,968 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-42/.semver 18:53:48 2024-01-25 18:53:47,968 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-42/.semver 18:53:48 2024-01-25 18:53:47,968 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-42/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-42, universal_newlines=False, shell=None, istream=None) 18:53:49 2024-01-25 18:53:49,222 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-42/.git/info/exclude 18:53:49 2024-01-25 18:53:49,223 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-42/.semver/PR-42 with force:False 18:53:49 2024-01-25 18:53:49,223 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-42/.semver/PR-42 18:53:49 2024-01-25 18:53:49,227 [execute] INFO git cat-file --batch-check 18:53:49 2024-01-25 18:53:49,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-42/.semver, universal_newlines=False, shell=None, istream=) 18:53:49 2024-01-25 18:53:49,235 [execute] INFO git cat-file --batch 18:53:49 2024-01-25 18:53:49,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-42/.semver, universal_newlines=False, shell=None, istream=) 18:53:49 2024-01-25 18:53:49,241 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-42/.semver/PR-42 18:53:49 0.0.0 [Pipeline] } 18:53:49 $ docker exec --env ******** --env ******** 8b18072088f1aff09017c1b54683beb611949f13b77f5c51fce86be027c73abc ssh-agent -k 18:53:49 unset SSH_AUTH_SOCK; 18:53:49 unset SSH_AGENT_PID; 18:53:49 echo Agent pid 76 killed; 18:53:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:53:50 + git semver [Pipeline] } 18:53:50 $ docker stop --time=1 8b18072088f1aff09017c1b54683beb611949f13b77f5c51fce86be027c73abc 18:53:51 $ docker rm -f --volumes 8b18072088f1aff09017c1b54683beb611949f13b77f5c51fce86be027c73abc [Pipeline] // withDockerContainer [Pipeline] sh 18:53:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:53:52 Stashed 1 file(s) [Pipeline] echo 18:53:52 [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:53:53 provisioning config files... 18:53:53 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-42@tmp/config15216975401721805024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:53 ---> ****-login.sh 18:53:53 nexus3.edgexfoundry.org:10001 18:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:53 Configure a credential helper to remove this warning. See 18:53:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:53 18:53:53 Login Succeeded 18:53:53 nexus3.edgexfoundry.org:10002 18:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:53 Configure a credential helper to remove this warning. See 18:53:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:53 18:53:53 Login Succeeded 18:53:53 nexus3.edgexfoundry.org:10003 18:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:54 Configure a credential helper to remove this warning. See 18:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:54 18:53:54 Login Succeeded 18:53:54 nexus3.edgexfoundry.org:10004 18:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:54 Configure a credential helper to remove this warning. See 18:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:54 18:53:54 Login Succeeded 18:53:54 ****.io 18:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:53:54 Configure a credential helper to remove this warning. See 18:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:53:54 18:53:54 Login Succeeded 18:53:54 ---> ****-login.sh ends [Pipeline] } 18:53:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:53:54 ========================================================= 18:53:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:53:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:55 + 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:53:55 Sending build context to Docker daemon 23.08MB 18:53:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:53:55 Step 2/12 : FROM ${BASE} AS builder 18:53:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:53:55 7264a8db6415: Pulling fs layer 18:53:55 c4d48a809fc2: Pulling fs layer 18:53:55 4f1c88b9dad5: Pulling fs layer 18:53:55 ad3a456e5733: Pulling fs layer 18:53:55 69c7f0334f64: Pulling fs layer 18:53:55 1f1c1a5573a3: Pulling fs layer 18:53:55 ce7588e14bc9: Pulling fs layer 18:53:55 b5e4710f87ac: Pulling fs layer 18:53:55 ad3a456e5733: Waiting 18:53:55 69c7f0334f64: Waiting 18:53:55 c4d48a809fc2: Verifying Checksum 18:53:55 c4d48a809fc2: Download complete 18:53:55 ad3a456e5733: Verifying Checksum 18:53:55 ad3a456e5733: Download complete 18:53:55 69c7f0334f64: Download complete 18:53:55 7264a8db6415: Verifying Checksum 18:53:55 7264a8db6415: Download complete 18:53:55 1f1c1a5573a3: Verifying Checksum 18:53:55 1f1c1a5573a3: Download complete 18:53:56 7264a8db6415: Pull complete 18:53:56 b5e4710f87ac: Verifying Checksum 18:53:56 b5e4710f87ac: Download complete 18:53:56 c4d48a809fc2: Pull complete 18:53:56 4f1c88b9dad5: Verifying Checksum 18:53:56 4f1c88b9dad5: Download complete 18:53:56 ce7588e14bc9: Download complete 18:53:59 4f1c88b9dad5: Pull complete 18:53:59 ad3a456e5733: Pull complete 18:53:59 69c7f0334f64: Pull complete 18:53:59 1f1c1a5573a3: Pull complete 18:54:01 ce7588e14bc9: Pull complete 18:54:02 b5e4710f87ac: Pull complete 18:54:02 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:54:02 ---> 88b5674ff536 18:54:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:54:07 ---> Running in d48177aeb151 18:54:07 Removing intermediate container d48177aeb151 18:54:07 ---> 6ac0c0a987a8 18:54:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:54:07 ---> Running in 6130cb651ad3 18:54:07 Removing intermediate container 6130cb651ad3 18:54:07 ---> ffda056bf178 18:54:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:54:07 ---> Running in 39d6a103537e 18:54:07 Removing intermediate container 39d6a103537e 18:54:07 ---> 565f95f3bebc 18:54:07 Step 6/12 : WORKDIR /device-uart 18:54:07 ---> Running in 48a63ce46d88 18:54:07 Removing intermediate container 48a63ce46d88 18:54:07 ---> c411957b8328 18:54:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:54:07 ---> Running in bb73df449a71 18:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:54:08 Still waiting to schedule task 18:54:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-27917’ is offline 18:54:08 (1/4) Installing openssh-keygen (9.3_p2-r1) 18:54:08 (2/4) Installing libedit (20221030.3.1-r1) 18:54:08 (3/4) Installing openssh-client-common (9.3_p2-r1) 18:54:08 (4/4) Installing openssh-client-default (9.3_p2-r1) 18:54:08 Executing busybox-1.36.1-r5.trigger 18:54:08 OK: 268 MiB in 56 packages 18:54:09 Removing intermediate container bb73df449a71 18:54:09 ---> 80e406779dd5 18:54:09 Step 8/12 : COPY go.mod vendor* ./ 18:54:09 ---> 00ceba20c158 18:54:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:09 ---> Running in cee9a17c3807 18:54:41 Removing intermediate container cee9a17c3807 18:54:41 ---> c1b94a6934e2 18:54:41 Step 10/12 : COPY . . 18:54:41 ---> fe1e1ea4a370 18:54:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:54:41 ---> Running in d633d84a1522 18:54:41 Removing intermediate container d633d84a1522 18:54:41 ---> 5b4311ee2512 18:54:41 Step 12/12 : RUN ${MAKE} 18:54:41 ---> Running in b3c22d273dc0 18:54:41 noop 18:54:41 Removing intermediate container b3c22d273dc0 18:54:41 ---> 49658401930a 18:54:41 Successfully built 49658401930a 18:54:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:42 + docker inspect -f . ci-base-image-x86_64 18:54:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:42 prd-ubuntu20.04-docker-8c-8g-27918 does not seem to be running inside a container 18:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-42 -v /w/workspace/edgexfoundry_device-uart_PR-42:/w/workspace/edgexfoundry_device-uart_PR-42:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-42@tmp:/w/workspace/edgexfoundry_device-uart_PR-42@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-x86_64 cat 18:54:42 $ docker top ac4ee53e53dfca98a7de853aed05f249c830866d366b10a9c48db41648fd949a -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:43 + go version 18:54:43 go version go1.21.0 linux/amd64 [Pipeline] } 18:54:43 $ docker stop --time=1 ac4ee53e53dfca98a7de853aed05f249c830866d366b10a9c48db41648fd949a 18:54:44 $ docker rm -f --volumes ac4ee53e53dfca98a7de853aed05f249c830866d366b10a9c48db41648fd949a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:45 + docker inspect -f . ci-base-image-x86_64 18:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:45 prd-ubuntu20.04-docker-8c-8g-27918 does not seem to be running inside a container 18:54:45 $ 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-42 -v /w/workspace/edgexfoundry_device-uart_PR-42:/w/workspace/edgexfoundry_device-uart_PR-42:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-42@tmp:/w/workspace/edgexfoundry_device-uart_PR-42@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-x86_64 cat 18:54:46 $ docker top aa75e689daa83833bf038e2d06f633c2240f6b2153fde26cb3114b4864e204d7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-42 [Pipeline] fileExists [Pipeline] sh 18:54:46 + make test 18:54:46 go test ./... -coverprofile=coverage.out 18:54:48 ? github.com/edgexfoundry/device-uart [no test files] 18:54:58 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:54:58 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:55:04 go vet ./... 18:55:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:55:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:55:08 ./bin/test-attribution-txt.sh 18:55:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 18:55:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:55:09 $ docker stop --time=1 aa75e689daa83833bf038e2d06f633c2240f6b2153fde26cb3114b4864e204d7 18:55:12 $ docker rm -f --volumes aa75e689daa83833bf038e2d06f633c2240f6b2153fde26cb3114b4864e204d7 [Pipeline] // withDockerContainer [Pipeline] sh 18:55:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:55:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:55:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:14 + ls -al . 18:55:14 total 156 18:55:14 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 18:54 . 18:55:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:53 .. 18:55:14 -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 18:53 .dockerignore 18:55:14 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 18:54 .git 18:55:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:53 .github 18:55:14 -rw-rw-r-- 1 jenkins jenkins 343 Jan 25 18:53 .gitignore 18:55:14 -rw-rw-r-- 1 jenkins jenkins 41 Jan 25 18:53 .golangci.yml 18:55:14 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 18:53 .semver 18:55:14 -rw-rw-r-- 1 jenkins jenkins 9941 Jan 25 18:53 Attribution.txt 18:55:14 -rw-rw-r-- 1 jenkins jenkins 1908 Jan 25 18:53 CHANGELOG.md 18:55:14 -rw-rw-r-- 1 jenkins jenkins 1886 Jan 25 18:53 Dockerfile 18:55:14 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 18:53 GOVERNANCE.md 18:55:14 -rw-rw-r-- 1 jenkins jenkins 675 Jan 25 18:53 Jenkinsfile 18:55:14 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 18:53 LICENSE 18:55:14 -rw-rw-r-- 1 jenkins jenkins 1872 Jan 25 18:53 Makefile 18:55:14 -rw-rw-r-- 1 jenkins jenkins 617 Jan 25 18:53 OWNERS.md 18:55:14 -rw-rw-r-- 1 jenkins jenkins 8892 Jan 25 18:53 README.md 18:55:14 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 18:53 VERSION 18:55:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 18:53 bin 18:55:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:53 cmd 18:55:14 -rw-r--r-- 1 jenkins jenkins 10 Jan 25 18:54 coverage.out 18:55:14 -rw-rw-r-- 1 jenkins jenkins 3764 Jan 25 18:53 go.mod 18:55:14 -rw-rw-r-- 1 jenkins jenkins 34908 Jan 25 18:53 go.sum 18:55:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:53 internal 18:55:14 -rw-rw-r-- 1 jenkins jenkins 209 Jan 25 18:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:15 + 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=e96e81e40ae0ec0037594df20c025b32ccf414cd --label arch=amd64 --label version=0.0.0 . 18:55:15 Sending build context to Docker daemon 23.08MB 18:55:15 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:55:15 Step 2/26 : FROM ${BASE} AS builder 18:55:15 ---> 49658401930a 18:55:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:55:15 ---> Running in 62c04ca29667 18:55:15 Removing intermediate container 62c04ca29667 18:55:15 ---> 6c747aa5bc1f 18:55:15 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:55:15 ---> Running in 32504cb8f311 18:55:15 Removing intermediate container 32504cb8f311 18:55:15 ---> 87008c8fc56f 18:55:15 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:55:15 ---> Running in cce2c1b8ddd9 18:55:15 Removing intermediate container cce2c1b8ddd9 18:55:15 ---> 07621ddb803a 18:55:15 Step 6/26 : WORKDIR /device-uart 18:55:15 ---> Running in 047d4cf159e7 18:55:15 Removing intermediate container 047d4cf159e7 18:55:15 ---> 18a73eaaaa06 18:55:15 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:55:15 ---> Running in 5dbcfe04ffef 18:55:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:55:16 OK: 268 MiB in 56 packages 18:55:16 Removing intermediate container 5dbcfe04ffef 18:55:16 ---> f150afd2f348 18:55:16 Step 8/26 : COPY go.mod vendor* ./ 18:55:17 ---> 5691e2d9b9a7 18:55:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:17 ---> Running in bf6232d3b27a 18:55:17 Removing intermediate container bf6232d3b27a 18:55:17 ---> 93e78e8a01e9 18:55:17 Step 10/26 : COPY . . 18:55:18 ---> f6386ebf39e3 18:55:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:55:18 ---> Running in 70e431f35165 18:55:18 Removing intermediate container 70e431f35165 18:55:18 ---> 0cf70254ec2f 18:55:18 Step 12/26 : RUN ${MAKE} 18:55:18 ---> Running in ae8a3eebaefa 18:55:18 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.7" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:55:40 Removing intermediate container ae8a3eebaefa 18:55:40 ---> 3193fa0889c4 18:55:40 Step 13/26 : FROM alpine:3.18 18:55:40 3.18: Pulling from library/alpine 18:55:40 c926b61bad3b: Pulling fs layer 18:55:40 c926b61bad3b: Verifying Checksum 18:55:40 c926b61bad3b: Download complete 18:55:41 c926b61bad3b: Pull complete 18:55:41 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:55:41 Status: Downloaded newer image for alpine:3.18 18:55:41 ---> b541f2080109 18:55:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:55:41 ---> Running in ac6dbcb05f54 18:55:41 Removing intermediate container ac6dbcb05f54 18:55:41 ---> b0224de5b87a 18:55:41 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:55:41 ---> Running in 168f4bb37547 18:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:55:42 (1/1) Installing dumb-init (1.2.5-r2) 18:55:42 Executing busybox-1.36.1-r5.trigger 18:55:42 OK: 7 MiB in 16 packages 18:55:42 Removing intermediate container 168f4bb37547 18:55:42 ---> 7c91e1fe7c32 18:55:42 Step 16/26 : RUN apk --no-cache upgrade 18:55:42 ---> Running in 57ee8d5c294e 18:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:55:43 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 18:55:43 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 18:55:43 OK: 7 MiB in 16 packages 18:55:43 Removing intermediate container 57ee8d5c294e 18:55:43 ---> 7e0e892badb1 18:55:43 Step 17/26 : WORKDIR / 18:55:43 ---> Running in 8880a654d346 18:55:43 Removing intermediate container 8880a654d346 18:55:43 ---> 038f99b8fae1 18:55:43 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:55:43 ---> 698b00a5072e 18:55:43 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:55:43 ---> 168eb4ef04f6 18:55:43 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:55:44 ---> fff1d2294fc0 18:55:44 Step 21/26 : EXPOSE 59995 18:55:44 ---> Running in 14b489d10ffd 18:55:44 Removing intermediate container 14b489d10ffd 18:55:44 ---> fa40327867b7 18:55:44 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:55:44 ---> Running in bd0d73833d81 18:55:44 Removing intermediate container bd0d73833d81 18:55:44 ---> 118c26c8ff5c 18:55:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:55:44 ---> Running in 8fb50f282fc5 18:55:44 Removing intermediate container 8fb50f282fc5 18:55:44 ---> 38542be8b6a9 18:55:44 Step 24/26 : LABEL arch=amd64 18:55:44 ---> Running in bd6a15e6ab65 18:55:45 Removing intermediate container bd6a15e6ab65 18:55:45 ---> 5be1f976c38d 18:55:45 Step 25/26 : LABEL git_sha=e96e81e40ae0ec0037594df20c025b32ccf414cd 18:55:45 ---> Running in 10f545766cb6 18:55:45 Removing intermediate container 10f545766cb6 18:55:45 ---> 35bf5d43d99f 18:55:45 Step 26/26 : LABEL version=0.0.0 18:55:45 ---> Running in 8a11ba418339 18:55:45 Removing intermediate container 8a11ba418339 18:55:45 ---> 03c3f1177935 18:55:45 [Warning] One or more build-args [ARCH] were not consumed 18:55:45 Successfully built 03c3f1177935 18:55:45 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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:55:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:46 18:55:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:46 latest: Pulling from edgex-lftools-log-publisher 18:55:46 5eb5b503b376: Pulling fs layer 18:55:46 5c69ac0246d0: Pulling fs layer 18:55:46 ec43610c2a17: Pulling fs layer 18:55:46 3a2ae6a8a46f: Pulling fs layer 18:55:46 33b1e0a273af: Pulling fs layer 18:55:46 5d3b04190fa2: Pulling fs layer 18:55:46 2f39f015ded8: Pulling fs layer 18:55:46 33b1e0a273af: Waiting 18:55:46 5d3b04190fa2: Waiting 18:55:46 2f39f015ded8: Waiting 18:55:46 3a2ae6a8a46f: Waiting 18:55:46 5c69ac0246d0: Download complete 18:55:46 3a2ae6a8a46f: Verifying Checksum 18:55:46 3a2ae6a8a46f: Download complete 18:55:46 33b1e0a273af: Verifying Checksum 18:55:46 33b1e0a273af: Download complete 18:55:46 5d3b04190fa2: Verifying Checksum 18:55:46 5d3b04190fa2: Download complete 18:55:46 ec43610c2a17: Verifying Checksum 18:55:46 ec43610c2a17: Download complete 18:55:47 5eb5b503b376: Download complete 18:55:47 2f39f015ded8: Download complete 18:55:48 5eb5b503b376: Pull complete 18:55:48 5c69ac0246d0: Pull complete 18:55:48 ec43610c2a17: Pull complete 18:55:48 3a2ae6a8a46f: Pull complete 18:55:48 33b1e0a273af: Pull complete 18:55:49 5d3b04190fa2: Pull complete 18:55:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27919 in /w/workspace/edgexfoundry_device-uart_PR-42 [Pipeline] { [Pipeline] ws 18:55:52 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:55:53 2f39f015ded8: Pull complete 18:55:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:55:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:56 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:56 prd-ubuntu20.04-docker-8c-8g-27918 does not seem to be running inside a container 18:55:56 $ 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-42 -v /w/workspace/edgexfoundry_device-uart_PR-42:/w/workspace/edgexfoundry_device-uart_PR-42:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-42@tmp:/w/workspace/edgexfoundry_device-uart_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:56:01 using credential edgex-jenkins-ssh 18:56:01 Cloning the remote Git repository 18:56:01 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:56:01 > git init /w/workspace/device-uart/1 # timeout=10 18:56:01 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:56:01 > git --version # timeout=10 18:56:01 > git --version # 'git version 2.25.1' 18:56:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:56:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:56:02 $ docker top ce4a5547c69e5786a239caf7eebe562acf629d4eabc12414bcee833ab2f51078 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:02 ---> job-cost.sh 18:56:02 lf-activate-venv: SKIPPING 18:56:02 INFO: No Stack... 18:56:03 INFO: Retrieving Pricing Info for: v3-standard-8 18:56:03 INFO: Archiving Costs [Pipeline] sh 18:56:03 + cat /w/workspace/edgexfoundry_device-uart_PR-42/archives/cost.csv 18:56:03 + cut -d, -f6 [Pipeline] lock 18:56:03 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-42-1-stack-cost] 18:56:03 Resource [jenkins-edgexfoundry-device-uart-PR-42-1-stack-cost] did not exist. Created. 18:56:03 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-42-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:04 + echo total: 0.2199999988079071 [Pipeline] stash 18:56:04 Stashed 1 file(s) [Pipeline] } 18:56:04 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-42-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:04 $ docker stop --time=1 ce4a5547c69e5786a239caf7eebe562acf629d4eabc12414bcee833ab2f51078 18:56:05 $ docker rm -f --volumes ce4a5547c69e5786a239caf7eebe562acf629d4eabc12414bcee833ab2f51078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:56:08 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:56:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:56:08 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:56:08 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:56:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:56:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:56:09 Merging remotes/origin/main commit 886fb5391d0715c03eb52aea2bbf175b6095cc08 into PR head commit e96e81e40ae0ec0037594df20c025b32ccf414cd 18:56:09 Merge succeeded, producing e96e81e40ae0ec0037594df20c025b32ccf414cd 18:56:09 Checking out Revision e96e81e40ae0ec0037594df20c025b32ccf414cd (PR-42) 18:56:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:56:10 > git --version # timeout=10 18:56:10 > git --version # 'git version 2.25.1' 18:56:10 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 18:56:09 > git config core.sparsecheckout # timeout=10 18:56:09 > git checkout -f e96e81e40ae0ec0037594df20c025b32ccf414cd # timeout=10 18:56:09 > git remote # timeout=10 18:56:09 > git config --get remote.origin.url # timeout=10 18:56:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:56:09 > git merge 886fb5391d0715c03eb52aea2bbf175b6095cc08 # timeout=10 18:56:09 > git rev-parse HEAD^{commit} # timeout=10 18:56:09 > git config core.sparsecheckout # timeout=10 18:56:09 > git checkout -f e96e81e40ae0ec0037594df20c025b32ccf414cd # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:56:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:11 Dload Upload Total Spent Left Speed 18:56:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86863 0 --:--:-- --:--:-- --:--:-- 86863 [Pipeline] sh 18:56:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:56:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:56:12 + sudo tee /etc/docker/daemon.new 18:56:12 { 18:56:12 "registry-mirrors": [ 18:56:12 "https://nexus3.edgexfoundry.org:10001" 18:56:12 ], 18:56:12 "bip": "10.250.0.254/24", 18:56:12 "hosts": [ 18:56:12 "tcp://0.0.0.0:5555", 18:56:12 "unix:///var/run/docker.sock" 18:56:12 ], 18:56:12 "mtu": 1458, 18:56:12 "selinux-enabled": true, 18:56:12 "seccomp-profile": "/etc/docker/seccomp.json" 18:56:12 } [Pipeline] sh 18:56:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:56:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:31 provisioning config files... 18:56:31 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config10211029244741232201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:31 ---> ****-login.sh 18:56:31 nexus3.edgexfoundry.org:10001 18:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:32 Configure a credential helper to remove this warning. See 18:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:32 18:56:32 Login Succeeded 18:56:32 nexus3.edgexfoundry.org:10002 18:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:32 Configure a credential helper to remove this warning. See 18:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:32 18:56:32 Login Succeeded 18:56:32 nexus3.edgexfoundry.org:10003 18:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:32 Configure a credential helper to remove this warning. See 18:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:32 18:56:32 Login Succeeded 18:56:32 nexus3.edgexfoundry.org:10004 18:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:33 Configure a credential helper to remove this warning. See 18:56:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:33 18:56:33 Login Succeeded 18:56:33 ****.io 18:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:33 Configure a credential helper to remove this warning. See 18:56:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:33 18:56:33 Login Succeeded 18:56:33 ---> ****-login.sh ends [Pipeline] } 18:56:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:56:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:56:34 ========================================================= 18:56:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:56:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:34 + 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:56:38 #0 building with "default" instance using docker driver 18:56:38 18:56:38 #1 [internal] load .dockerignore 18:56:38 #1 transferring context: 182B done 18:56:38 #1 DONE 0.1s 18:56:38 18:56:38 #2 [internal] load build definition from Dockerfile 18:56:38 #2 transferring dockerfile: 1.93kB 0.0s done 18:56:38 #2 DONE 0.1s 18:56:38 18:56:38 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:56:38 #3 DONE 0.1s 18:56:38 18:56:38 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:56:38 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 18:56:38 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 18:56:38 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 18:56:38 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 18:56:38 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s 18:56:38 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.10MB / 63.99MB 0.2s 18:56:38 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.2s 18:56:38 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 18:56:38 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 18:56:38 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 18:56:38 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 18:56:38 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 18:56:38 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 327.68kB / 97.63MB 0.3s 18:56:38 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.4s 18:56:38 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 18:56:38 #4 ... 18:56:38 18:56:38 #5 [internal] load build context 18:56:38 #5 transferring context: 11.52MB 0.4s done 18:56:38 #5 DONE 0.5s 18:56:38 18:56:38 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:56:38 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.5s 18:56:38 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 18:56:38 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.74MB / 97.63MB 0.5s 18:56:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.10MB / 63.99MB 0.6s 18:56:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.6s 18:56:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.12MB / 63.99MB 0.7s 18:56:39 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 18:56:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 18:56:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 0.7s 18:56:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.9s 18:56:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 18:56:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 25.17MB / 97.63MB 0.9s 18:56:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.85MB / 63.99MB 1.0s 18:56:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.80MB / 97.63MB 1.0s 18:56:39 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 18:56:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 1.1s 18:56:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.1s 18:56:39 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 18:56:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.3s 18:56:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 1.3s 18:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.68MB / 63.99MB 1.4s 18:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.43MB / 97.63MB 1.4s 18:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 18:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.6s 18:56:40 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.88MB / 97.63MB 1.8s 18:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 1.9s 18:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.27MB / 97.63MB 2.1s 18:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 18:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 18:56:46 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 18:56:51 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.9s 18:56:56 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.8s done 18:56:58 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 18:56:58 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 18:56:58 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18:57:03 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 18:57:06 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done 18:57:07 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 18:57:09 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 18:57:09 #4 DONE 31.3s 18:57:09 18:57:09 #6 [builder 2/7] WORKDIR /device-uart 18:57:11 #6 DONE 1.7s 18:57:11 18:57:11 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:57:12 #7 0.731 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:57:12 #7 1.119 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:57:13 #7 2.243 (1/4) Installing openssh-keygen (9.3_p2-r1) 18:57:13 #7 2.267 (2/4) Installing libedit (20221030.3.1-r1) 18:57:13 #7 2.279 (3/4) Installing openssh-client-common (9.3_p2-r1) 18:57:13 #7 2.347 (4/4) Installing openssh-client-default (9.3_p2-r1) 18:57:13 #7 2.375 Executing busybox-1.36.1-r5.trigger 18:57:13 #7 2.413 OK: 271 MiB in 56 packages 18:57:14 #7 DONE 2.7s 18:57:14 18:57:14 #8 [builder 4/7] COPY go.mod vendor* ./ 18:57:14 #8 DONE 0.1s 18:57:14 18:57:14 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:32 #9 DONE 16.9s 18:57:32 18:57:32 #10 [builder 6/7] COPY . . 18:57:32 #10 DONE 0.3s 18:57:32 18:57:32 #11 [builder 7/7] RUN echo noop 18:57:32 #11 0.686 noop 18:57:32 #11 DONE 0.8s 18:57:32 18:57:32 #12 exporting to image 18:57:32 #12 exporting layers 18:57:50 #12 exporting layers 17.9s done 18:57:50 #12 writing image sha256:d78db0cc6e61cd646ab903ef7c473f453d1f8b63cabf85850396ff03febc5a3b done 18:57:50 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 18:57:50 #12 DONE 17.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:51 + docker inspect -f . ci-base-image-arm64 18:57:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:51 prd-ubuntu20.04-docker-arm64-4c-16g-27919 does not seem to be running inside a container 18:57:51 $ 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:57:53 $ docker top 02d572ae9f01115d6d07cc82b55f384ecdccb909a800478ef1d489518d61af3f -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:53 + go version 18:57:54 go version go1.21.0 linux/arm64 [Pipeline] } 18:57:54 $ docker stop --time=1 02d572ae9f01115d6d07cc82b55f384ecdccb909a800478ef1d489518d61af3f 18:57:55 $ docker rm -f --volumes 02d572ae9f01115d6d07cc82b55f384ecdccb909a800478ef1d489518d61af3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:56 + docker inspect -f . ci-base-image-arm64 18:57:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:57 prd-ubuntu20.04-docker-arm64-4c-16g-27919 does not seem to be running inside a container 18:57:57 $ 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:57:58 $ docker top 8e7dd9386b4a86d6e4801f56fd84c810467c2865a82112a4ad10d2e964f9fc54 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:58 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:57:59 + make test 18:57:59 go test ./... -coverprofile=coverage.out 18:58:05 ? github.com/edgexfoundry/device-uart [no test files] 18:59:02 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:59:02 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:59:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:59:04 go vet ./... 18:59:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:59:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:59:22 ./bin/test-attribution-txt.sh 18:59:22 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 18:59:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:59:22 $ docker stop --time=1 8e7dd9386b4a86d6e4801f56fd84c810467c2865a82112a4ad10d2e964f9fc54 18:59:24 $ docker rm -f --volumes 8e7dd9386b4a86d6e4801f56fd84c810467c2865a82112a4ad10d2e964f9fc54 [Pipeline] // withDockerContainer [Pipeline] sh 18:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:59:25 Warning: overwriting stash ‘coverage-report’ 18:59:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:59:27 + ls -al . 18:59:27 total 152 18:59:27 drwxrwxr-x 7 jenkins jenkins 4096 Jan 25 18:58 . 18:59:27 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:56 .. 18:59:27 -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 18:56 .dockerignore 18:59:27 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 18:56 .git 18:59:27 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:56 .github 18:59:27 -rw-rw-r-- 1 jenkins jenkins 343 Jan 25 18:56 .gitignore 18:59:27 -rw-rw-r-- 1 jenkins jenkins 41 Jan 25 18:56 .golangci.yml 18:59:27 -rw-rw-r-- 1 jenkins jenkins 9941 Jan 25 18:56 Attribution.txt 18:59:27 -rw-rw-r-- 1 jenkins jenkins 1908 Jan 25 18:56 CHANGELOG.md 18:59:27 -rw-rw-r-- 1 jenkins jenkins 1886 Jan 25 18:56 Dockerfile 18:59:27 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 18:56 GOVERNANCE.md 18:59:27 -rw-rw-r-- 1 jenkins jenkins 675 Jan 25 18:56 Jenkinsfile 18:59:27 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 18:56 LICENSE 18:59:27 -rw-rw-r-- 1 jenkins jenkins 1872 Jan 25 18:56 Makefile 18:59:27 -rw-rw-r-- 1 jenkins jenkins 617 Jan 25 18:56 OWNERS.md 18:59:27 -rw-rw-r-- 1 jenkins jenkins 8892 Jan 25 18:56 README.md 18:59:27 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 18:53 VERSION 18:59:27 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 18:56 bin 18:59:27 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:56 cmd 18:59:27 -rw-r--r-- 1 jenkins jenkins 10 Jan 25 18:58 coverage.out 18:59:27 -rw-rw-r-- 1 jenkins jenkins 3764 Jan 25 18:56 go.mod 18:59:27 -rw-rw-r-- 1 jenkins jenkins 34908 Jan 25 18:56 go.sum 18:59:27 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:56 internal 18:59:27 -rw-rw-r-- 1 jenkins jenkins 209 Jan 25 18:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:27 + 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=e96e81e40ae0ec0037594df20c025b32ccf414cd --label arch=arm64 --label version=0.0.0 . 18:59:28 #0 building with "default" instance using docker driver 18:59:28 18:59:28 #1 [internal] load .dockerignore 18:59:28 #1 transferring context: 33B 18:59:28 #1 transferring context: 182B done 18:59:28 #1 DONE 0.0s 18:59:28 18:59:28 #2 [internal] load build definition from Dockerfile 18:59:28 #2 transferring dockerfile: 1.93kB done 18:59:28 #2 DONE 0.0s 18:59:28 18:59:28 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 18:59:28 #3 DONE 0.0s 18:59:28 18:59:28 #4 [internal] load metadata for docker.io/library/alpine:3.18 18:59:28 #4 DONE 0.3s 18:59:29 18:59:29 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:59:29 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 18:59:29 #5 DONE 0.1s 18:59:29 18:59:29 #6 [internal] load build context 18:59:29 #6 transferring context: 5.62kB 0.0s done 18:59:29 #6 DONE 0.1s 18:59:29 18:59:29 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:59:29 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 18:59:29 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 18:59:29 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 18:59:29 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 18:59:29 #5 ... 18:59:29 18:59:29 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 18:59:29 #7 DONE 0.2s 18:59:29 18:59:29 #8 [builder 2/7] WORKDIR /device-uart 18:59:29 #8 DONE 0.1s 18:59:29 18:59:29 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:59:29 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 18:59:29 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 18:59:29 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 18:59:29 #5 DONE 0.9s 18:59:29 18:59:29 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:59:30 #9 0.708 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:31 #9 1.086 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:59:32 #9 ... 18:59:32 18:59:32 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:59:32 #10 0.792 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:32 #10 1.268 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:59:32 #10 2.454 OK: 271 MiB in 56 packages 18:59:32 #10 DONE 2.8s 18:59:32 18:59:32 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:59:32 #9 2.141 (1/1) Installing dumb-init (1.2.5-r2) 18:59:32 #9 2.153 Executing busybox-1.36.1-r5.trigger 18:59:32 #9 2.191 OK: 8 MiB in 16 packages 18:59:32 #9 ... 18:59:32 18:59:32 #11 [builder 4/7] COPY go.mod vendor* ./ 18:59:32 #11 DONE 0.2s 18:59:32 18:59:32 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:59:32 #9 DONE 2.6s 18:59:32 18:59:32 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:59:33 #12 DONE 1.2s 18:59:33 18:59:33 #13 [builder 6/7] COPY . . 18:59:33 #13 DONE 0.4s 18:59:33 18:59:33 #14 [stage-1 3/7] RUN apk --no-cache upgrade 18:59:33 #14 0.730 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:33 #14 1.125 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:59:34 #14 2.152 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 18:59:34 #14 2.271 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 18:59:34 #14 2.295 OK: 8 MiB in 16 packages 18:59:35 #14 DONE 2.6s 18:59:35 18:59:35 #15 [builder 7/7] RUN make build 18:59:35 #15 0.693 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.7" -trimpath -mod=readonly -o cmd/device-uart ./cmd 19:00:56 #15 DONE 71.1s 19:00:56 19:00:56 #16 [stage-1 4/7] COPY --from=builder /device-uart/Attribution.txt / 19:00:56 #16 DONE 0.1s 19:00:56 19:00:56 #17 [stage-1 5/7] COPY --from=builder /device-uart/LICENSE / 19:00:56 #17 DONE 0.1s 19:00:56 19:00:56 #18 [stage-1 6/7] COPY --from=builder /device-uart/cmd/ / 19:00:56 #18 DONE 0.3s 19:00:56 19:00:56 #19 exporting to image 19:00:56 #19 exporting layers 19:00:56 #19 exporting layers 0.4s done 19:00:56 #19 writing image sha256:ab4825529ac38e47015c553549bd2cb4c84d7f246f85370e092729a5f1de2196 done 19:00:56 #19 naming to docker.io/library/device-uart-arm64 done 19:00:56 #19 DONE 0.4s [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 19:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:57 19:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:58 arm64: Pulling from edgex-lftools-log-publisher 19:00:58 8998bd30e6a1: Pulling fs layer 19:00:58 04944245beec: Pulling fs layer 19:00:58 699f458cf7ca: Pulling fs layer 19:00:58 765212b225bb: Pulling fs layer 19:00:58 f23df028b6ca: Pulling fs layer 19:00:58 d65c8cfc05b1: Pulling fs layer 19:00:58 2437ff75d9bd: Pulling fs layer 19:00:58 d65c8cfc05b1: Waiting 19:00:58 765212b225bb: Waiting 19:00:58 f23df028b6ca: Waiting 19:00:58 2437ff75d9bd: Waiting 19:00:58 04944245beec: Verifying Checksum 19:00:58 04944245beec: Download complete 19:00:58 765212b225bb: Download complete 19:00:58 f23df028b6ca: Verifying Checksum 19:00:58 f23df028b6ca: Download complete 19:00:58 d65c8cfc05b1: Verifying Checksum 19:00:58 d65c8cfc05b1: Download complete 19:00:58 699f458cf7ca: Verifying Checksum 19:00:58 699f458cf7ca: Download complete 19:00:59 8998bd30e6a1: Verifying Checksum 19:00:59 8998bd30e6a1: Download complete 19:01:01 2437ff75d9bd: Verifying Checksum 19:01:01 2437ff75d9bd: Download complete 19:01:05 8998bd30e6a1: Pull complete 19:01:05 04944245beec: Pull complete 19:01:07 699f458cf7ca: Pull complete 19:01:07 765212b225bb: Pull complete 19:01:08 f23df028b6ca: Pull complete 19:01:08 d65c8cfc05b1: Pull complete 19:01:30 2437ff75d9bd: Pull complete 19:01:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:01:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:31 prd-ubuntu20.04-docker-arm64-4c-16g-27919 does not seem to be running inside a container 19:01:31 $ 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 19:01:33 $ docker top 937c808d4b68baafbd4679b097c2aaf3a7d49c26cea17047bad0f825cb292f88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:34 ---> job-cost.sh 19:01:34 lf-activate-venv: SKIPPING 19:01:34 INFO: No Stack... 19:01:34 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:35 INFO: Archiving Costs [Pipeline] sh 19:01:36 + cat /w/workspace/device-uart/1/archives/cost.csv 19:01:36 + cut -d, -f6 [Pipeline] lock 19:01:36 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-42-1-stack-cost] 19:01:36 Resource [jenkins-edgexfoundry-device-uart-PR-42-1-stack-cost] did not exist. Created. 19:01:36 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-42-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:01:36 /w/workspace/device-uart/1@tmp/durable-42aa0494/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:01:37 + echo total: 0.2199999988079071 [Pipeline] stash 19:01:37 Warning: overwriting stash ‘stack-cost’ 19:01:37 Stashed 1 file(s) [Pipeline] } 19:01:37 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-42-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:01:37 $ docker stop --time=1 937c808d4b68baafbd4679b097c2aaf3a7d49c26cea17047bad0f825cb292f88 19:01:41 $ docker rm -f --volumes 937c808d4b68baafbd4679b097c2aaf3a7d49c26cea17047bad0f825cb292f88 [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 19:01:43 provisioning config files... 19:01:43 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-42@tmp/config13193649966198576609tmp [Pipeline] { [Pipeline] sh 19:01:44 + set +x 19:01:44 + + bash -s -- 19:01:44 curl -s https://codecov.io/bash 19:01:44 19:01:44 _____ _ 19:01:44 / ____| | | 19:01:44 | | ___ __| | ___ ___ _____ __ 19:01:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:01:44 | |___| (_) | (_| | __/ (_| (_) \ V / 19:01:44 \_____\___/ \__,_|\___|\___\___/ \_/ 19:01:44 Bash-1.0.6 19:01:44 19:01:44 19:01:44 ==> git version 2.25.1 found 19:01:44 ==> 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 19:01:44 Release-Date: 2020-01-08 19:01:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:01:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:01:44 ==> Jenkins CI detected. 19:01:44 current dir:  /w/workspace/edgexfoundry_device-uart_PR-42 19:01:44 project root: . 19:01:44 --> token set from env 19:01:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:01:44 ==> Running gcov in . (disable via -X gcov) 19:01:44 ==> Python coveragepy not found 19:01:44 ==> Searching for coverage reports in: 19:01:44 + . 19:01:44 -> Found 1 reports 19:01:44 ==> Detecting git/mercurial file structure 19:01:44 ==> Reading reports 19:01:44 + ./coverage.out bytes=10 19:01:44 ==> Appending adjustments 19:01:44 https://docs.codecov.io/docs/fixing-reports 19:01:44 + Found adjustments 19:01:44 ==> Gzipping contents 19:01:44 4.0K /tmp/codecov.WeTSWG.gz 19:01:44 ==> Uploading reports 19:01:44 url: https://codecov.io 19:01:44 query: branch=PR-42&commit=e96e81e40ae0ec0037594df20c025b32ccf414cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-42%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=42&job=&cmd_args= 19:01:44 -> Pinging Codecov 19:01:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-42&commit=e96e81e40ae0ec0037594df20c025b32ccf414cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-42%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=42&job=&cmd_args= 19:01:45 -> Uploading to 19:01:45 https://storage.googleapis.com/codecov/v4/raw/2024-01-25/B9AA6E0BBD74AE3A32605C7A7C664919/e96e81e40ae0ec0037594df20c025b32ccf414cd/a567ebd9-7c99-4b0f-a3a4-2bd79152ebbe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240125T190144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b86876ebf5098faf4773c243099cc47eecf3419b1f85883cde40848b6297a6f4 19:01:45 % Total % Received % Xferd Average Speed Time Time Time Current 19:01:45 Dload Upload Total Spent Left Speed 19:01:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2176 --:--:-- --:--:-- --:--:-- 2176 19:01:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/e96e81e40ae0ec0037594df20c025b32ccf414cd [Pipeline] } 19:01:45 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 19:01:48 + [ -d /w/workspace/edgexfoundry_device-uart_PR-42/archives ] 19:01:48 + ls -al /w/workspace/edgexfoundry_device-uart_PR-42/archives 19:01:48 total 16 19:01:48 drwxr-xr-x 3 root root 4096 Jan 25 18:56 . 19:01:48 drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 18:56 .. 19:01:48 drwxr-xr-x 2 root root 4096 Jan 25 18:56 cost 19:01:48 -rw-r--r-- 1 root root 82 Jan 25 18:56 cost.csv 19:01:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-42/archives 19:01:48 + ls -al /w/workspace/edgexfoundry_device-uart_PR-42/archives 19:01:48 total 16 19:01:48 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 18:56 . 19:01:48 drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 18:56 .. 19:01:48 drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 18:56 cost 19:01:48 -rw-r--r-- 1 jenkins jenkins 82 Jan 25 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:01:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:01:49 ---> package-listing.sh 19:01:49 ++ facter osfamily 19:01:49 ++ tr '[:upper:]' '[:lower:]' 19:01:50 + OS_FAMILY=debian 19:01:50 + workspace=/w/workspace/edgexfoundry_device-uart_PR-42 19:01:50 + START_PACKAGES=/tmp/packages_start.txt 19:01:50 + END_PACKAGES=/tmp/packages_end.txt 19:01:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:01:50 + PACKAGES=/tmp/packages_start.txt 19:01:50 + '[' /w/workspace/edgexfoundry_device-uart_PR-42 ']' 19:01:50 + PACKAGES=/tmp/packages_end.txt 19:01:50 + case "${OS_FAMILY}" in 19:01:50 + dpkg -l 19:01:50 + grep '^ii' 19:01:50 + '[' -f /tmp/packages_start.txt ']' 19:01:50 + '[' -f /tmp/packages_end.txt ']' 19:01:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:01:50 + '[' /w/workspace/edgexfoundry_device-uart_PR-42 ']' 19:01:50 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-42/archives/ 19:01:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-42/archives/ [Pipeline] echo 19:01:50 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-42/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:01:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:51 prd-ubuntu20.04-docker-8c-8g-27918 does not seem to be running inside a container 19:01:51 $ 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-42/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-42 -v /w/workspace/edgexfoundry_device-uart_PR-42:/w/workspace/edgexfoundry_device-uart_PR-42:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-42@tmp:/w/workspace/edgexfoundry_device-uart_PR-42@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 19:01:51 $ docker top e8fcd0b0d8974ac19c1f0cdf740ee561af16b62942ad0364ca9f4de9988950fc -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:51 + touch /tmp/pre-build-complete [Pipeline] sh 19:01:52 + mkdir -p /var/log/sysstat [Pipeline] sh 19:01:52 + ls /var/log/sa-host 19:01:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:52 provisioning config files... 19:01:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-42@tmp/config6875715094626305846tmp [Pipeline] { [Pipeline] echo 19:01:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:01:53 ---> create-netrc.sh [Pipeline] } 19:01:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:01:53 ---> python-tools-install.sh [Pipeline] echo 19:01:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:01:54 ---> sudo-logs.sh 19:01:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:01:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:01:54 ---> job-cost.sh 19:01:54 lf-activate-venv: SKIPPING 19:01:54 DEBUG: total: 0.2199999988079071 19:01:54 INFO: Retrieving Stack Cost... 19:01:54 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:55 INFO: Archiving Costs [Pipeline] echo 19:01:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:01:56 ---> logs-deploy.sh 19:01:56 lf-activate-venv: SKIPPING 19:01:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-42/1 19:01:56 INFO: archiving workspace using pattern(s): 19:01:57 Archives upload complete. 19:01:57 INFO: archiving logs to Nexus