Pull request #41 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea352d0e2b1bf2588408988a5ba76b1194d98b01+8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 (1c37835019e70b40dff44577557d907ca93ea239) 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-ssh1775339421748648248.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-ssh14180421752330066186.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-41/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-41/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14305366808542200201.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-41/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5993440853279178328.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-ssh17933698136257122600.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-41/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-41/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh419167520375077463.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26398 in /w/workspace/edgexfoundry_device-uart_PR-41 [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-41 # 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/41/head:refs/remotes/origin/PR-41 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 into PR head commit ea352d0e2b1bf2588408988a5ba76b1194d98b01 Merge succeeded, producing ea352d0e2b1bf2588408988a5ba76b1194d98b01 Checking out Revision ea352d0e2b1bf2588408988a5ba76b1194d98b01 (PR-41) 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] } > git config core.sparsecheckout # timeout=10 > git checkout -f ea352d0e2b1bf2588408988a5ba76b1194d98b01 # 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 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea352d0e2b1bf2588408988a5ba76b1194d98b01 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:11:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:11:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:11:23 ========================================================= 18:11:23 EdgeX Global Pipelines Version Info 18:11:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:11:24 ------------------- 18:11:24 stable info: 18:11:24 ------------------- 18:11:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:11:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:11:24 Message: update stable to v1.0.258 18:11:25 ------------------- 18:11:25 experimental info: 18:11:25 ------------------- 18:11:25 Commited By: **** collab-it+edgex@linuxfoundation.org 18:11:25 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:11:25 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:11:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-41 [Pipeline] echo 18:11:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-41 [Pipeline] echo 18:11:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-41 [Pipeline] echo 18:11:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea352d0e2b1bf2588408988a5ba76b1194d98b01 [Pipeline] echo 18:11:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea352d0 [Pipeline] echo 18:11:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:27 provisioning config files... 18:11:27 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-41@tmp/config2784195362668446371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:27 ---> ****-login.sh 18:11:27 nexus3.edgexfoundry.org:10001 18:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:28 Configure a credential helper to remove this warning. See 18:11:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:28 18:11:28 Login Succeeded 18:11:28 nexus3.edgexfoundry.org:10002 18:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:28 Configure a credential helper to remove this warning. See 18:11:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:28 18:11:28 Login Succeeded 18:11:28 nexus3.edgexfoundry.org:10003 18:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:28 Configure a credential helper to remove this warning. See 18:11:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:28 18:11:28 Login Succeeded 18:11:28 nexus3.edgexfoundry.org:10004 18:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:28 Configure a credential helper to remove this warning. See 18:11:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:28 18:11:28 Login Succeeded 18:11:28 ****.io 18:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:28 Configure a credential helper to remove this warning. See 18:11:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:28 18:11:28 Login Succeeded 18:11:28 ---> ****-login.sh ends [Pipeline] } 18:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:11:29 + git rev-list -1 --merges ea352d0e2b1bf2588408988a5ba76b1194d98b01~1..ea352d0e2b1bf2588408988a5ba76b1194d98b01 [Pipeline] echo 18:11:29 -----------> git rev-list -1 --merges ea352d0e2b1bf2588408988a5ba76b1194d98b01~1..ea352d0e2b1bf2588408988a5ba76b1194d98b01 ea352d0e2b1bf2588408988a5ba76b1194d98b01 [false] [Pipeline] sh 18:11:30 + git log --format=format:%s -1 ea352d0e2b1bf2588408988a5ba76b1194d98b01 [Pipeline] echo 18:11:30 ========================================================= 18:11:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:11:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:30 + git log --format=format:%s -1 ea352d0e2b1bf2588408988a5ba76b1194d98b01 [Pipeline] echo 18:11:30 [semverPrep] GIT_COMMIT: ea352d0e2b1bf2588408988a5ba76b1194d98b01, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:11:30 [semverPrep] This is not a build commit. [Pipeline] sh 18:11:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:11:31 + grep -v github /etc/ssh/ssh_known_hosts 18:11:31 + [ -e /tmp/ssh_known_hosts ] 18:11:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:11:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:11:31 + sudo tee -a /etc/ssh/ssh_known_hosts 18:11:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:31 18:11:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:32 0.1.4: Pulling from edgex-devops/py-git-semver 18:11:32 b85a868b505f: Pulling fs layer 18:11:32 e2be974225ed: Pulling fs layer 18:11:32 339a4e72a1f5: Pulling fs layer 18:11:32 988bab9f4d93: Pulling fs layer 18:11:32 1469e6f7b9e6: Pulling fs layer 18:11:32 eaf3925da568: Pulling fs layer 18:11:32 bab4dde63d76: Pulling fs layer 18:11:32 bde34c3a00c8: Pulling fs layer 18:11:32 b352a97aabf1: Pulling fs layer 18:11:32 4872d77fe225: Pulling fs layer 18:11:32 5851b861e8e6: Pulling fs layer 18:11:32 eaf3925da568: Waiting 18:11:32 bab4dde63d76: Waiting 18:11:32 988bab9f4d93: Waiting 18:11:32 1469e6f7b9e6: Waiting 18:11:32 4872d77fe225: Waiting 18:11:32 5851b861e8e6: Waiting 18:11:32 b352a97aabf1: Waiting 18:11:32 bde34c3a00c8: Waiting 18:11:32 e2be974225ed: Verifying Checksum 18:11:32 e2be974225ed: Download complete 18:11:32 988bab9f4d93: Verifying Checksum 18:11:32 988bab9f4d93: Download complete 18:11:32 1469e6f7b9e6: Verifying Checksum 18:11:32 1469e6f7b9e6: Download complete 18:11:32 339a4e72a1f5: Verifying Checksum 18:11:32 339a4e72a1f5: Download complete 18:11:32 eaf3925da568: Verifying Checksum 18:11:32 eaf3925da568: Download complete 18:11:32 bde34c3a00c8: Verifying Checksum 18:11:32 bde34c3a00c8: Download complete 18:11:32 b352a97aabf1: Download complete 18:11:32 4872d77fe225: Verifying Checksum 18:11:32 4872d77fe225: Download complete 18:11:32 5851b861e8e6: Verifying Checksum 18:11:32 5851b861e8e6: Download complete 18:11:32 b85a868b505f: Verifying Checksum 18:11:32 b85a868b505f: Download complete 18:11:32 bab4dde63d76: Verifying Checksum 18:11:32 bab4dde63d76: Download complete 18:11:33 b85a868b505f: Pull complete 18:11:33 e2be974225ed: Pull complete 18:11:34 339a4e72a1f5: Pull complete 18:11:34 988bab9f4d93: Pull complete 18:11:34 1469e6f7b9e6: Pull complete 18:11:34 eaf3925da568: Pull complete 18:11:36 bab4dde63d76: Pull complete 18:11:36 bde34c3a00c8: Pull complete 18:11:36 b352a97aabf1: Pull complete 18:11:36 4872d77fe225: Pull complete 18:11:36 5851b861e8e6: Pull complete 18:11:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:37 prd-ubuntu20.04-docker-8c-8g-26398 does not seem to be running inside a container 18:11:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-41 -v /w/workspace/edgexfoundry_device-uart_PR-41:/w/workspace/edgexfoundry_device-uart_PR-41:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-41@tmp:/w/workspace/edgexfoundry_device-uart_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:11:40 $ docker top 44a802c447d554bfd0dbb45257e80b54646e2025652cb6d46b81e34096a9d5f0 -eo pid,comm 18:11:40 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:11:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:11:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:40 [ssh-agent] Looking for ssh-agent implementation... 18:11:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:41 $ docker exec 44a802c447d554bfd0dbb45257e80b54646e2025652cb6d46b81e34096a9d5f0 ssh-agent 18:11:41 SSH_AUTH_SOCK=/tmp/ssh-Ww3NwuUQ28L8/agent.32 18:11:41 SSH_AGENT_PID=38 18:11:41 Running ssh-add (command line suppressed) 18:11:41 Identity added: /w/workspace/edgexfoundry_device-uart_PR-41@tmp/private_key_16188657936958115498.key (/w/workspace/edgexfoundry_device-uart_PR-41@tmp/private_key_16188657936958115498.key) 18:11:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:41 + git tag --points-at HEAD [Pipeline] } 18:11:41 $ docker exec --env ******** --env ******** 44a802c447d554bfd0dbb45257e80b54646e2025652cb6d46b81e34096a9d5f0 ssh-agent -k 18:11:41 unset SSH_AUTH_SOCK; 18:11:41 unset SSH_AGENT_PID; 18:11:41 echo Agent pid 38 killed; 18:11:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:11:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:41 [ssh-agent] Looking for ssh-agent implementation... 18:11:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:41 $ docker exec 44a802c447d554bfd0dbb45257e80b54646e2025652cb6d46b81e34096a9d5f0 ssh-agent 18:11:42 SSH_AUTH_SOCK=/tmp/ssh-sY17w0jqY38L/agent.70 18:11:42 SSH_AGENT_PID=76 18:11:42 Running ssh-add (command line suppressed) 18:11:42 Identity added: /w/workspace/edgexfoundry_device-uart_PR-41@tmp/private_key_6233541965227198865.key (/w/workspace/edgexfoundry_device-uart_PR-41@tmp/private_key_6233541965227198865.key) 18:11:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:42 + git semver init 18:11:42 2023-12-29 18:11:42,728 [run_init] DEBUG init version:0.0.0 force:False 18:11:42 2023-12-29 18:11:42,728 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-41/.semver 18:11:42 2023-12-29 18:11:42,729 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-41/.semver 18:11:42 2023-12-29 18:11:42,729 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-41/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-41, universal_newlines=False, shell=None, istream=None) 18:11:44 2023-12-29 18:11:43,927 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-41/.git/info/exclude 18:11:44 2023-12-29 18:11:43,928 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-41/.semver/PR-41 with force:False 18:11:44 2023-12-29 18:11:43,928 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-41/.semver/PR-41 18:11:44 2023-12-29 18:11:43,932 [execute] INFO git cat-file --batch-check 18:11:44 2023-12-29 18:11:43,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-41/.semver, universal_newlines=False, shell=None, istream=) 18:11:44 2023-12-29 18:11:43,939 [execute] INFO git cat-file --batch 18:11:44 2023-12-29 18:11:43,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-41/.semver, universal_newlines=False, shell=None, istream=) 18:11:44 2023-12-29 18:11:43,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-41/.semver/PR-41 18:11:44 0.0.0 [Pipeline] } 18:11:44 $ docker exec --env ******** --env ******** 44a802c447d554bfd0dbb45257e80b54646e2025652cb6d46b81e34096a9d5f0 ssh-agent -k 18:11:44 unset SSH_AUTH_SOCK; 18:11:44 unset SSH_AGENT_PID; 18:11:44 echo Agent pid 76 killed; 18:11:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:11:44 + git semver [Pipeline] } 18:11:45 $ docker stop --time=1 44a802c447d554bfd0dbb45257e80b54646e2025652cb6d46b81e34096a9d5f0 18:11:46 $ docker rm -f --volumes 44a802c447d554bfd0dbb45257e80b54646e2025652cb6d46b81e34096a9d5f0 [Pipeline] // withDockerContainer [Pipeline] sh 18:11:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:11:47 Stashed 1 file(s) [Pipeline] echo 18:11:47 [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:11:48 provisioning config files... 18:11:48 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-41@tmp/config3995182049674447032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:48 ---> ****-login.sh 18:11:48 nexus3.edgexfoundry.org:10001 18:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:48 Configure a credential helper to remove this warning. See 18:11:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:48 18:11:48 Login Succeeded 18:11:48 nexus3.edgexfoundry.org:10002 18:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:48 Configure a credential helper to remove this warning. See 18:11:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:48 18:11:48 Login Succeeded 18:11:48 nexus3.edgexfoundry.org:10003 18:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:48 Configure a credential helper to remove this warning. See 18:11:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:48 18:11:48 Login Succeeded 18:11:48 nexus3.edgexfoundry.org:10004 18:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:48 Configure a credential helper to remove this warning. See 18:11:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:48 18:11:48 Login Succeeded 18:11:48 ****.io 18:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:49 Configure a credential helper to remove this warning. See 18:11:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:49 18:11:49 Login Succeeded 18:11:49 ---> ****-login.sh ends [Pipeline] } 18:11:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:11:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:11:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:11:49 ========================================================= 18:11:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:11:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:50 + 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:11:50 Sending build context to Docker daemon 23.07MB 18:11:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:11:50 Step 2/12 : FROM ${BASE} AS builder 18:11:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:11:50 7264a8db6415: Pulling fs layer 18:11:50 c4d48a809fc2: Pulling fs layer 18:11:50 4f1c88b9dad5: Pulling fs layer 18:11:50 ad3a456e5733: Pulling fs layer 18:11:50 69c7f0334f64: Pulling fs layer 18:11:50 1f1c1a5573a3: Pulling fs layer 18:11:50 ce7588e14bc9: Pulling fs layer 18:11:50 b5e4710f87ac: Pulling fs layer 18:11:50 69c7f0334f64: Waiting 18:11:50 1f1c1a5573a3: Waiting 18:11:50 ad3a456e5733: Waiting 18:11:50 ce7588e14bc9: Waiting 18:11:50 b5e4710f87ac: Waiting 18:11:50 c4d48a809fc2: Verifying Checksum 18:11:50 c4d48a809fc2: Download complete 18:11:50 ad3a456e5733: Verifying Checksum 18:11:50 ad3a456e5733: Download complete 18:11:50 69c7f0334f64: Verifying Checksum 18:11:50 69c7f0334f64: Download complete 18:11:50 7264a8db6415: Verifying Checksum 18:11:50 7264a8db6415: Download complete 18:11:50 1f1c1a5573a3: Verifying Checksum 18:11:50 1f1c1a5573a3: Download complete 18:11:50 b5e4710f87ac: Verifying Checksum 18:11:50 b5e4710f87ac: Download complete 18:11:50 7264a8db6415: Pull complete 18:11:50 c4d48a809fc2: Pull complete 18:11:50 4f1c88b9dad5: Verifying Checksum 18:11:50 4f1c88b9dad5: Download complete 18:11:51 ce7588e14bc9: Verifying Checksum 18:11:51 ce7588e14bc9: Download complete 18:11:53 4f1c88b9dad5: Pull complete 18:11:53 ad3a456e5733: Pull complete 18:11:54 69c7f0334f64: Pull complete 18:11:54 1f1c1a5573a3: Pull complete 18:11:56 ce7588e14bc9: Pull complete 18:11:56 b5e4710f87ac: Pull complete 18:11:56 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:11:56 ---> 88b5674ff536 18:11:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:12:02 ---> Running in 50ac4f54f3f8 18:12:02 Removing intermediate container 50ac4f54f3f8 18:12:02 ---> 5d72eaf8d707 18:12:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:12:02 ---> Running in d5f6a11a3bde 18:12:02 Removing intermediate container d5f6a11a3bde 18:12:02 ---> a58fea97fe50 18:12:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:12:02 ---> Running in be316bb2c585 18:12:02 Removing intermediate container be316bb2c585 18:12:02 ---> 518336b26fa9 18:12:02 Step 6/12 : WORKDIR /device-uart 18:12:02 ---> Running in d2a511b96950 18:12:02 Removing intermediate container d2a511b96950 18:12:02 ---> 72b45d7edb81 18:12:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:12:02 ---> Running in d0fad54f8754 18:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:02 Still waiting to schedule task 18:12:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:12:03 (1/4) Installing openssh-keygen (9.3_p2-r1) 18:12:03 (2/4) Installing libedit (20221030.3.1-r1) 18:12:03 (3/4) Installing openssh-client-common (9.3_p2-r1) 18:12:03 (4/4) Installing openssh-client-default (9.3_p2-r1) 18:12:03 Executing busybox-1.36.1-r5.trigger 18:12:03 OK: 268 MiB in 56 packages 18:12:03 Removing intermediate container d0fad54f8754 18:12:03 ---> 7cc5f2db2bac 18:12:03 Step 8/12 : COPY go.mod vendor* ./ 18:12:03 ---> 2858b0a8c451 18:12:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:12:03 ---> Running in e2cb715f5ebb 18:12:50 Removing intermediate container e2cb715f5ebb 18:12:50 ---> db0f721de638 18:12:50 Step 10/12 : COPY . . 18:12:50 ---> 8aa2f48c470f 18:12:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:12:50 ---> Running in 7c645741c9d0 18:12:50 Removing intermediate container 7c645741c9d0 18:12:50 ---> 522881ba3834 18:12:50 Step 12/12 : RUN ${MAKE} 18:12:50 ---> Running in 9ec3af89d3f6 18:12:50 noop 18:12:50 Removing intermediate container 9ec3af89d3f6 18:12:50 ---> 21457154953a 18:12:50 Successfully built 21457154953a 18:12:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:50 + docker inspect -f . ci-base-image-x86_64 18:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:51 prd-ubuntu20.04-docker-8c-8g-26398 does not seem to be running inside a container 18:12:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-41 -v /w/workspace/edgexfoundry_device-uart_PR-41:/w/workspace/edgexfoundry_device-uart_PR-41:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-41@tmp:/w/workspace/edgexfoundry_device-uart_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:12:51 $ docker top 198494625fc60167332922eb53ab3b7156bcb040780a8cc1386fe4aea1a0c297 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:52 + go version 18:12:52 go version go1.21.0 linux/amd64 [Pipeline] } 18:12:52 $ docker stop --time=1 198494625fc60167332922eb53ab3b7156bcb040780a8cc1386fe4aea1a0c297 18:12:53 $ docker rm -f --volumes 198494625fc60167332922eb53ab3b7156bcb040780a8cc1386fe4aea1a0c297 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:54 + docker inspect -f . ci-base-image-x86_64 18:12:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:54 prd-ubuntu20.04-docker-8c-8g-26398 does not seem to be running inside a container 18:12:54 $ 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-41 -v /w/workspace/edgexfoundry_device-uart_PR-41:/w/workspace/edgexfoundry_device-uart_PR-41:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-41@tmp:/w/workspace/edgexfoundry_device-uart_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:12:54 $ docker top 4437d0901e572312e939f1d25a1fa60ca10df38c731765b829cbf420d588fb9e -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-41 [Pipeline] fileExists [Pipeline] sh 18:12:55 + make test 18:12:55 go test ./... -coverprofile=coverage.out 18:12:57 ? github.com/edgexfoundry/device-uart [no test files] 18:13:09 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:13:09 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:13:15 go vet ./... 18:13:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:13:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:13:18 ./bin/test-attribution-txt.sh [Pipeline] echo 18:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:13:18 $ docker stop --time=1 4437d0901e572312e939f1d25a1fa60ca10df38c731765b829cbf420d588fb9e 18:13:21 $ docker rm -f --volumes 4437d0901e572312e939f1d25a1fa60ca10df38c731765b829cbf420d588fb9e [Pipeline] // withDockerContainer [Pipeline] sh 18:13:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:13:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:13:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:13:23 + ls -al . 18:13:23 total 156 18:13:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 18:12 . 18:13:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 18:11 .. 18:13:23 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 18:11 .dockerignore 18:13:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 18:13 .git 18:13:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 18:11 .github 18:13:23 -rw-rw-r-- 1 jenkins jenkins 343 Dec 29 18:11 .gitignore 18:13:23 -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 18:11 .golangci.yml 18:13:23 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 18:11 .semver 18:13:23 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 29 18:11 Attribution.txt 18:13:23 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 29 18:11 CHANGELOG.md 18:13:23 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 29 18:11 Dockerfile 18:13:23 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 18:11 GOVERNANCE.md 18:13:23 -rw-rw-r-- 1 jenkins jenkins 675 Dec 29 18:11 Jenkinsfile 18:13:23 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 18:11 LICENSE 18:13:23 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 29 18:11 Makefile 18:13:23 -rw-rw-r-- 1 jenkins jenkins 617 Dec 29 18:11 OWNERS.md 18:13:23 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 29 18:11 README.md 18:13:23 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 18:11 VERSION 18:13:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 18:11 bin 18:13:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 18:11 cmd 18:13:23 -rw-r--r-- 1 jenkins jenkins 10 Dec 29 18:12 coverage.out 18:13:23 -rw-rw-r-- 1 jenkins jenkins 3717 Dec 29 18:11 go.mod 18:13:23 -rw-rw-r-- 1 jenkins jenkins 34814 Dec 29 18:11 go.sum 18:13:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 18:11 internal 18:13:23 -rw-rw-r-- 1 jenkins jenkins 209 Dec 29 18:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:24 + 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=ea352d0e2b1bf2588408988a5ba76b1194d98b01 --label arch=amd64 --label version=0.0.0 . 18:13:24 Sending build context to Docker daemon 23.07MB 18:13:24 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:13:24 Step 2/26 : FROM ${BASE} AS builder 18:13:24 ---> 21457154953a 18:13:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:13:24 ---> Running in fa6c16f40174 18:13:24 Removing intermediate container fa6c16f40174 18:13:24 ---> b380703d3e9c 18:13:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:13:24 ---> Running in 12263fa9d8dc 18:13:24 Removing intermediate container 12263fa9d8dc 18:13:24 ---> 84803f750841 18:13:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:13:24 ---> Running in c1eca720088a 18:13:24 Removing intermediate container c1eca720088a 18:13:24 ---> 538765992efd 18:13:24 Step 6/26 : WORKDIR /device-uart 18:13:24 ---> Running in 690acd1792e3 18:13:25 Removing intermediate container 690acd1792e3 18:13:25 ---> 4aea384f4f50 18:13:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:25 ---> Running in 2fa8ffd34087 18:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:26 OK: 268 MiB in 56 packages 18:13:26 Removing intermediate container 2fa8ffd34087 18:13:26 ---> 6857f879bb18 18:13:26 Step 8/26 : COPY go.mod vendor* ./ 18:13:26 ---> c929fff9610e 18:13:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:26 ---> Running in a50cab1892d5 18:13:26 Removing intermediate container a50cab1892d5 18:13:26 ---> 3a6bf449716c 18:13:26 Step 10/26 : COPY . . 18:13:27 ---> 35d31d8d6224 18:13:27 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:13:27 ---> Running in 2b7132e39f7f 18:13:27 Removing intermediate container 2b7132e39f7f 18:13:27 ---> 7944b7e555db 18:13:27 Step 12/26 : RUN ${MAKE} 18:13:27 ---> Running in 4426bec3577b 18:13:28 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.6" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:13:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26399 in /w/workspace/edgexfoundry_device-uart_PR-41 [Pipeline] { [Pipeline] ws 18:13:44 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:13:44 The recommended git tool is: git 18:13:51 Removing intermediate container 4426bec3577b 18:13:51 ---> 83959d95b660 18:13:51 Step 13/26 : FROM alpine:3.18 18:13:51 3.18: Pulling from library/alpine 18:13:51 c926b61bad3b: Pulling fs layer 18:13:51 c926b61bad3b: Verifying Checksum 18:13:51 c926b61bad3b: Download complete 18:13:51 c926b61bad3b: Pull complete 18:13:51 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:13:51 Status: Downloaded newer image for alpine:3.18 18:13:51 ---> b541f2080109 18:13:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:13:51 ---> Running in 4807273a37c5 18:13:51 Removing intermediate container 4807273a37c5 18:13:51 ---> f5f9288511c6 18:13:51 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:13:51 ---> Running in 05c1e5ee0f9d 18:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:51 (1/1) Installing dumb-init (1.2.5-r2) 18:13:51 Executing busybox-1.36.1-r5.trigger 18:13:51 OK: 7 MiB in 16 packages 18:13:51 Removing intermediate container 05c1e5ee0f9d 18:13:51 ---> f7f2ef1eec4e 18:13:51 Step 16/26 : RUN apk --no-cache upgrade 18:13:51 ---> Running in 110b5e21615d 18:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:51 OK: 7 MiB in 16 packages 18:13:51 Removing intermediate container 110b5e21615d 18:13:51 ---> f921bf8a3a9f 18:13:51 Step 17/26 : WORKDIR / 18:13:51 ---> Running in cdece888f9ba 18:13:51 Removing intermediate container cdece888f9ba 18:13:51 ---> 1b6222a66b9b 18:13:51 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:13:51 ---> f7696379a736 18:13:51 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:13:51 ---> 6582bce7f866 18:13:51 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:13:52 ---> 6c0459a5e18e 18:13:52 Step 21/26 : EXPOSE 59995 18:13:52 ---> Running in 979f7a111f95 18:13:52 Removing intermediate container 979f7a111f95 18:13:52 ---> 1872574ebef8 18:13:52 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:13:52 ---> Running in a4bf2e2d9ba4 18:13:52 Removing intermediate container a4bf2e2d9ba4 18:13:52 ---> 85382aaba06a 18:13:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:13:52 ---> Running in 822f2d5d6429 18:13:52 Removing intermediate container 822f2d5d6429 18:13:52 ---> aebe29aff18d 18:13:52 Step 24/26 : LABEL arch=amd64 18:13:52 ---> Running in cf4930f84d15 18:13:52 Removing intermediate container cf4930f84d15 18:13:52 ---> 279b54b9ef44 18:13:52 Step 25/26 : LABEL git_sha=ea352d0e2b1bf2588408988a5ba76b1194d98b01 18:13:52 ---> Running in 2f634f8355d3 18:13:52 Removing intermediate container 2f634f8355d3 18:13:52 ---> cb0215b56611 18:13:52 Step 26/26 : LABEL version=0.0.0 18:13:52 ---> Running in f6d519928df3 18:13:52 Removing intermediate container f6d519928df3 18:13:52 ---> 46a4c40214ec 18:13:52 [Warning] One or more build-args [ARCH] were not consumed 18:13:52 Successfully built 46a4c40214ec 18:13:52 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] } 18:13:53 using credential edgex-jenkins-ssh 18:13:53 Cloning the remote Git repository [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:54 18:13:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:54 latest: Pulling from edgex-lftools-log-publisher 18:13:54 5eb5b503b376: Pulling fs layer 18:13:54 5c69ac0246d0: Pulling fs layer 18:13:54 ec43610c2a17: Pulling fs layer 18:13:54 3a2ae6a8a46f: Pulling fs layer 18:13:54 33b1e0a273af: Pulling fs layer 18:13:54 5d3b04190fa2: Pulling fs layer 18:13:54 2f39f015ded8: Pulling fs layer 18:13:54 3a2ae6a8a46f: Waiting 18:13:54 33b1e0a273af: Waiting 18:13:54 5d3b04190fa2: Waiting 18:13:54 5c69ac0246d0: Verifying Checksum 18:13:54 5c69ac0246d0: Download complete 18:13:54 3a2ae6a8a46f: Verifying Checksum 18:13:54 3a2ae6a8a46f: Download complete 18:13:54 33b1e0a273af: Verifying Checksum 18:13:54 33b1e0a273af: Download complete 18:13:54 5d3b04190fa2: Verifying Checksum 18:13:54 5d3b04190fa2: Download complete 18:13:54 ec43610c2a17: Verifying Checksum 18:13:54 ec43610c2a17: Download complete 18:13:54 5eb5b503b376: Verifying Checksum 18:13:54 5eb5b503b376: Download complete 18:13:53 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:13:53 > git init /w/workspace/device-uart/1 # timeout=10 18:13:53 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:13:53 > git --version # timeout=10 18:13:53 > git --version # 'git version 2.25.1' 18:13:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:55 2f39f015ded8: Download complete 18:13:56 5eb5b503b376: Pull complete 18:13:56 5c69ac0246d0: Pull complete 18:13:55 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:13:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:56 ec43610c2a17: Pull complete 18:13:56 3a2ae6a8a46f: Pull complete 18:13:56 33b1e0a273af: Pull complete 18:13:56 5d3b04190fa2: Pull complete 18:13:57 Merging remotes/origin/main commit 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 into PR head commit ea352d0e2b1bf2588408988a5ba76b1194d98b01 18:13:57 Merge succeeded, producing ea352d0e2b1bf2588408988a5ba76b1194d98b01 18:13:57 Checking out Revision ea352d0e2b1bf2588408988a5ba76b1194d98b01 (PR-41) 18:13:56 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:13:56 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:13:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/41/head:refs/remotes/origin/PR-41 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:13:57 > git config core.sparsecheckout # timeout=10 18:13:57 > git checkout -f ea352d0e2b1bf2588408988a5ba76b1194d98b01 # timeout=10 18:13:57 > git remote # timeout=10 18:13:57 > git config --get remote.origin.url # timeout=10 18:13:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:57 > git merge 8ec6d64c5869dda101a2f6c8fb6f971c9f4d88f2 # timeout=10 18:13:57 > git rev-parse HEAD^{commit} # timeout=10 18:13:57 > git config core.sparsecheckout # timeout=10 18:13:57 > git checkout -f ea352d0e2b1bf2588408988a5ba76b1194d98b01 # timeout=10 18:13:58 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:13:58 > git --version # timeout=10 18:13:58 > git --version # 'git version 2.25.1' 18:13:58 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:13:58 18:13:58 GitHub has been notified of this commit’s build result 18:13:58 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:13:59 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:59 Dload Upload Total Spent Left Speed 18:13:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 18:13:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:14:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 18:14:00 sudo tee /etc/docker/daemon.new 18:14:00 { 18:14:00 "registry-mirrors": [ 18:14:00 "https://nexus3.edgexfoundry.org:10001" 18:14:00 ], 18:14:00 "bip": "10.250.0.254/24", 18:14:00 "hosts": [ 18:14:00 "tcp://0.0.0.0:5555", 18:14:00 "unix:///var/run/docker.sock" 18:14:00 ], 18:14:00 "mtu": 1458, 18:14:00 "selinux-enabled": true, 18:14:00 "seccomp-profile": "/etc/docker/seccomp.json" 18:14:00 } [Pipeline] sh 18:14:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:14:00 + sudo service docker restart 18:14:02 2f39f015ded8: Pull complete 18:14:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:14:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:02 prd-ubuntu20.04-docker-8c-8g-26398 does not seem to be running inside a container 18:14:02 $ 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-41 -v /w/workspace/edgexfoundry_device-uart_PR-41:/w/workspace/edgexfoundry_device-uart_PR-41:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-41@tmp:/w/workspace/edgexfoundry_device-uart_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:14:07 $ docker top d52b00f2f8a1ced7c4041654fa81f0013446fa1c1577266398e56e971e3ea10d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:07 ---> job-cost.sh 18:14:07 lf-activate-venv: SKIPPING 18:14:07 INFO: No Stack... 18:14:08 INFO: Retrieving Pricing Info for: v3-standard-8 18:14:08 INFO: Archiving Costs [Pipeline] sh 18:14:08 + cat /w/workspace/edgexfoundry_device-uart_PR-41/archives/cost.csv 18:14:08 + cut -d, -f6 [Pipeline] lock 18:14:09 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-41-1-stack-cost] 18:14:09 Resource [jenkins-edgexfoundry-device-uart-PR-41-1-stack-cost] did not exist. Created. 18:14:09 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-41-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:09 + echo total: 0.2199999988079071 [Pipeline] stash 18:14:09 Stashed 1 file(s) [Pipeline] } 18:14:09 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-41-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:09 $ docker stop --time=1 d52b00f2f8a1ced7c4041654fa81f0013446fa1c1577266398e56e971e3ea10d 18:14:10 $ docker rm -f --volumes d52b00f2f8a1ced7c4041654fa81f0013446fa1c1577266398e56e971e3ea10d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:19 provisioning config files... 18:14:19 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config7822946361293328716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:19 ---> ****-login.sh 18:14:19 nexus3.edgexfoundry.org:10001 18:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:20 Configure a credential helper to remove this warning. See 18:14:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:20 18:14:20 Login Succeeded 18:14:20 nexus3.edgexfoundry.org:10002 18:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:20 Configure a credential helper to remove this warning. See 18:14:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:20 18:14:20 Login Succeeded 18:14:20 nexus3.edgexfoundry.org:10003 18:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:20 Configure a credential helper to remove this warning. See 18:14:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:20 18:14:20 Login Succeeded 18:14:20 nexus3.edgexfoundry.org:10004 18:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:21 Configure a credential helper to remove this warning. See 18:14:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:21 18:14:21 Login Succeeded 18:14:21 ****.io 18:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:14:21 Configure a credential helper to remove this warning. See 18:14:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:14:21 18:14:21 Login Succeeded 18:14:21 ---> ****-login.sh ends [Pipeline] } 18:14:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:14:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:14:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:14:22 ========================================================= 18:14:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:14:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:23 + 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:14:24 #0 building with "default" instance using docker driver 18:14:24 18:14:24 #1 [internal] load .dockerignore 18:14:24 #1 transferring context: 182B 0.0s done 18:14:24 #1 DONE 0.1s 18:14:24 18:14:24 #2 [internal] load build definition from Dockerfile 18:14:24 #2 transferring dockerfile: 1.93kB done 18:14:24 #2 DONE 0.1s 18:14:24 18:14:24 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:14:24 #3 DONE 0.1s 18:14:24 18:14:24 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:14:24 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 18:14:24 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 18:14:24 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 18:14:24 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 18:14:24 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 18:14:24 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 18:14:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 18:14:24 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 18:14:24 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 18:14:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s 18:14:24 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 18:14:24 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 18:14:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.00MB / 63.99MB 0.4s 18:14:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 4.19MB / 97.63MB 0.4s 18:14:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.15MB / 11.40MB 0.4s 18:14:24 #4 ... 18:14:24 18:14:24 #5 [internal] load build context 18:14:24 #5 transferring context: 11.51MB 0.4s done 18:14:24 #5 DONE 0.5s 18:14:24 18:14:24 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:14:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.85MB / 63.99MB 0.5s 18:14:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.35MB / 11.40MB 0.5s 18:14:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.21MB / 63.99MB 0.7s 18:14:24 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 18:14:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 16.78MB / 97.63MB 0.7s 18:14:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 18:14:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s 18:14:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 0.9s 18:14:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.79MB / 97.63MB 0.9s 18:14:25 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 18:14:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.14MB / 63.99MB 1.1s 18:14:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.76MB / 97.63MB 1.1s 18:14:25 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 18:14:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.33MB / 63.99MB 1.2s 18:14:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.12MB / 97.63MB 1.2s 18:14:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.4s 18:14:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 51.38MB / 97.63MB 1.4s 18:14:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.5s 18:14:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 18:14:25 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18:14:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.57MB / 97.63MB 1.8s 18:14:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.55MB / 97.63MB 1.9s 18:14:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.13MB / 97.63MB 2.0s 18:14:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.08MB / 97.63MB 2.1s 18:14:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 93.32MB / 97.63MB 2.2s 18:14:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done 18:14:32 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 18:14:37 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s 18:14:42 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.6s done 18:14:44 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 18:14:44 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 18:14:44 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 18:14:44 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18:14:49 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 18:14:52 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.5s done 18:14:52 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 18:14:54 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 18:14:54 #4 DONE 30.5s 18:14:54 18:14:54 #6 [builder 2/7] WORKDIR /device-uart 18:14:56 #6 DONE 1.6s 18:14:56 18:14:56 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:14:57 #7 0.678 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:14:57 #7 1.051 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:14:58 #7 2.002 (1/4) Installing openssh-keygen (9.3_p2-r1) 18:14:58 #7 2.030 (2/4) Installing libedit (20221030.3.1-r1) 18:14:58 #7 2.044 (3/4) Installing openssh-client-common (9.3_p2-r1) 18:14:58 #7 2.105 (4/4) Installing openssh-client-default (9.3_p2-r1) 18:14:58 #7 2.133 Executing busybox-1.36.1-r5.trigger 18:14:58 #7 2.170 OK: 271 MiB in 56 packages 18:14:58 #7 DONE 2.4s 18:14:58 18:14:58 #8 [builder 4/7] COPY go.mod vendor* ./ 18:14:58 #8 DONE 0.1s 18:14:58 18:14:58 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:25 #9 DONE 22.8s 18:15:25 18:15:25 #10 [builder 6/7] COPY . . 18:15:25 #10 DONE 0.2s 18:15:25 18:15:25 #11 [builder 7/7] RUN echo noop 18:15:25 #11 0.577 noop 18:15:25 #11 DONE 0.7s 18:15:25 18:15:25 #12 exporting to image 18:15:25 #12 exporting layers 18:15:47 #12 exporting layers 21.6s done 18:15:47 #12 writing image sha256:bb7e453ace52e63d1cd6dc1bef3744f89a8a0653cb2d71c7fb4beefe401a2a68 done 18:15:47 #12 naming to docker.io/library/ci-base-image-arm64 done 18:15:47 #12 DONE 21.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:48 + docker inspect -f . ci-base-image-arm64 18:15:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:48 prd-ubuntu20.04-docker-arm64-4c-16g-26399 does not seem to be running inside a container 18:15:48 $ 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:15:49 $ docker top 160925d57ab7c703bd39c8df94244010c922cc38745f49e9b461a82931960983 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:50 + go version 18:15:50 go version go1.21.0 linux/arm64 [Pipeline] } 18:15:50 $ docker stop --time=1 160925d57ab7c703bd39c8df94244010c922cc38745f49e9b461a82931960983 18:15:52 $ docker rm -f --volumes 160925d57ab7c703bd39c8df94244010c922cc38745f49e9b461a82931960983 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:53 + docker inspect -f . ci-base-image-arm64 18:15:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:53 prd-ubuntu20.04-docker-arm64-4c-16g-26399 does not seem to be running inside a container 18:15:53 $ 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:15:54 $ docker top c60009169e4e8f1ede7f9f6b06231588ef2ec8770c77a78d2dea31e41b711815 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:55 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:15:55 + make test 18:15:55 go test ./... -coverprofile=coverage.out 18:15:59 ? github.com/edgexfoundry/device-uart [no test files] 18:16:46 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:16:46 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:16:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:16:47 go vet ./... 18:17:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:17:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:17:02 ./bin/test-attribution-txt.sh [Pipeline] echo 18:17:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:17:02 $ docker stop --time=1 c60009169e4e8f1ede7f9f6b06231588ef2ec8770c77a78d2dea31e41b711815 18:17:05 $ docker rm -f --volumes c60009169e4e8f1ede7f9f6b06231588ef2ec8770c77a78d2dea31e41b711815 [Pipeline] // withDockerContainer [Pipeline] sh 18:17:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:17:07 Warning: overwriting stash ‘coverage-report’ 18:17:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:17:08 + ls -al . 18:17:08 total 152 18:17:08 drwxrwxr-x 7 jenkins jenkins 4096 Dec 29 18:15 . 18:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 18:13 .. 18:17:08 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 18:13 .dockerignore 18:17:08 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 18:13 .git 18:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 18:13 .github 18:17:08 -rw-rw-r-- 1 jenkins jenkins 343 Dec 29 18:13 .gitignore 18:17:08 -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 18:13 .golangci.yml 18:17:08 -rw-rw-r-- 1 jenkins jenkins 9941 Dec 29 18:13 Attribution.txt 18:17:08 -rw-rw-r-- 1 jenkins jenkins 1908 Dec 29 18:13 CHANGELOG.md 18:17:08 -rw-rw-r-- 1 jenkins jenkins 1886 Dec 29 18:13 Dockerfile 18:17:08 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 18:13 GOVERNANCE.md 18:17:08 -rw-rw-r-- 1 jenkins jenkins 675 Dec 29 18:13 Jenkinsfile 18:17:08 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 18:13 LICENSE 18:17:08 -rw-rw-r-- 1 jenkins jenkins 1872 Dec 29 18:13 Makefile 18:17:08 -rw-rw-r-- 1 jenkins jenkins 617 Dec 29 18:13 OWNERS.md 18:17:08 -rw-rw-r-- 1 jenkins jenkins 8892 Dec 29 18:13 README.md 18:17:08 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 18:11 VERSION 18:17:08 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 18:13 bin 18:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 18:13 cmd 18:17:08 -rw-r--r-- 1 jenkins jenkins 10 Dec 29 18:15 coverage.out 18:17:08 -rw-rw-r-- 1 jenkins jenkins 3717 Dec 29 18:13 go.mod 18:17:08 -rw-rw-r-- 1 jenkins jenkins 34814 Dec 29 18:13 go.sum 18:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 18:13 internal 18:17:08 -rw-rw-r-- 1 jenkins jenkins 209 Dec 29 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:09 + 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=ea352d0e2b1bf2588408988a5ba76b1194d98b01 --label arch=arm64 --label version=0.0.0 . 18:17:09 #0 building with "default" instance using docker driver 18:17:09 18:17:09 #1 [internal] load .dockerignore 18:17:09 #1 transferring context: 182B 0.0s done 18:17:09 #1 DONE 0.0s 18:17:09 18:17:09 #2 [internal] load build definition from Dockerfile 18:17:09 #2 transferring dockerfile: 1.93kB 0.0s done 18:17:10 #2 DONE 0.0s 18:17:10 18:17:10 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 18:17:10 #3 DONE 0.0s 18:17:10 18:17:10 #4 [internal] load metadata for docker.io/library/alpine:3.18 18:17:10 #4 DONE 0.3s 18:17:10 18:17:10 #5 [internal] load build context 18:17:10 #5 transferring context: 5.58kB 0.0s done 18:17:10 #5 DONE 0.1s 18:17:10 18:17:10 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:17:10 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 18:17:10 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 18:17:10 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 18:17:10 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 18:17:10 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 18:17:10 #6 ... 18:17:10 18:17:10 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 18:17:10 #7 DONE 0.2s 18:17:10 18:17:10 #8 [builder 2/7] WORKDIR /device-uart 18:17:10 #8 DONE 0.1s 18:17:10 18:17:10 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:17:10 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 18:17:10 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 18:17:11 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 18:17:11 #6 DONE 0.9s 18:17:11 18:17:11 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:17:12 #9 0.628 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:12 #9 0.936 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:17:13 #9 ... 18:17:13 18:17:13 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 18:17:13 #10 0.660 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:13 #10 1.118 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:17:13 #10 2.231 OK: 271 MiB in 56 packages 18:17:13 #10 DONE 2.5s 18:17:13 18:17:13 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:17:13 #9 1.913 (1/1) Installing dumb-init (1.2.5-r2) 18:17:13 #9 ... 18:17:13 18:17:13 #11 [builder 4/7] COPY go.mod vendor* ./ 18:17:13 #11 DONE 0.2s 18:17:13 18:17:13 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:17:13 #9 1.932 Executing busybox-1.36.1-r5.trigger 18:17:13 #9 1.965 OK: 8 MiB in 16 packages 18:17:13 #9 DONE 2.3s 18:17:13 18:17:13 #12 [stage-1 3/7] RUN apk --no-cache upgrade 18:17:14 #12 0.787 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:14 #12 ... 18:17:14 18:17:14 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:17:14 #13 DONE 1.4s 18:17:14 18:17:14 #12 [stage-1 3/7] RUN apk --no-cache upgrade 18:17:14 #12 1.154 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:17:14 #12 ... 18:17:14 18:17:14 #14 [builder 6/7] COPY . . 18:17:14 #14 DONE 0.3s 18:17:15 18:17:15 #15 [builder 7/7] RUN make build 18:17:15 #15 0.679 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.6" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:17:18 #15 ... 18:17:18 18:17:18 #12 [stage-1 3/7] RUN apk --no-cache upgrade 18:17:18 #12 2.275 OK: 8 MiB in 16 packages 18:17:18 #12 DONE 4.9s 18:17:18 18:17:18 #15 [builder 7/7] RUN make build 18:18:26 #15 DONE 63.8s 18:18:26 18:18:26 #16 [stage-1 4/7] COPY --from=builder /device-uart/Attribution.txt / 18:18:26 #16 DONE 0.1s 18:18:26 18:18:26 #17 [stage-1 5/7] COPY --from=builder /device-uart/LICENSE / 18:18:26 #17 DONE 0.1s 18:18:26 18:18:26 #18 [stage-1 6/7] COPY --from=builder /device-uart/cmd/ / 18:18:26 #18 DONE 0.3s 18:18:26 18:18:26 #19 exporting to image 18:18:26 #19 exporting layers 18:18:26 #19 exporting layers 0.4s done 18:18:26 #19 writing image sha256:be79a03c6ddec073103cbb5cfdca0bd6c880ad3076cd40b265594e886c1d5b3b done 18:18:26 #19 naming to docker.io/library/device-uart-arm64 done 18:18:26 #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 18:18:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:27 18:18:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:28 arm64: Pulling from edgex-lftools-log-publisher 18:18:28 8998bd30e6a1: Pulling fs layer 18:18:28 04944245beec: Pulling fs layer 18:18:28 699f458cf7ca: Pulling fs layer 18:18:28 765212b225bb: Pulling fs layer 18:18:28 f23df028b6ca: Pulling fs layer 18:18:28 765212b225bb: Waiting 18:18:28 d65c8cfc05b1: Pulling fs layer 18:18:28 f23df028b6ca: Waiting 18:18:28 d65c8cfc05b1: Waiting 18:18:28 2437ff75d9bd: Pulling fs layer 18:18:28 2437ff75d9bd: Waiting 18:18:28 04944245beec: Verifying Checksum 18:18:28 04944245beec: Download complete 18:18:28 765212b225bb: Verifying Checksum 18:18:28 765212b225bb: Download complete 18:18:28 f23df028b6ca: Verifying Checksum 18:18:28 f23df028b6ca: Download complete 18:18:28 d65c8cfc05b1: Verifying Checksum 18:18:28 d65c8cfc05b1: Download complete 18:18:28 699f458cf7ca: Verifying Checksum 18:18:28 699f458cf7ca: Download complete 18:18:29 8998bd30e6a1: Verifying Checksum 18:18:29 8998bd30e6a1: Download complete 18:18:31 2437ff75d9bd: Verifying Checksum 18:18:31 2437ff75d9bd: Download complete 18:18:35 8998bd30e6a1: Pull complete 18:18:35 04944245beec: Pull complete 18:18:37 699f458cf7ca: Pull complete 18:18:37 765212b225bb: Pull complete 18:18:38 f23df028b6ca: Pull complete 18:18:38 d65c8cfc05b1: Pull complete 18:19:00 2437ff75d9bd: Pull complete 18:19:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:19:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:01 prd-ubuntu20.04-docker-arm64-4c-16g-26399 does not seem to be running inside a container 18:19:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:19:03 $ docker top 396ad7dbc992e79b7ff9ff8cc1f19298a25d330439ceaf6128008106cb8f4cf4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:03 ---> job-cost.sh 18:19:04 lf-activate-venv: SKIPPING 18:19:04 INFO: No Stack... 18:19:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:19:05 INFO: Archiving Costs [Pipeline] sh 18:19:05 + + cut -d,cat -f6 /w/workspace/device-uart/1/archives/cost.csv 18:19:05 [Pipeline] lock 18:19:05 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-41-1-stack-cost] 18:19:05 Resource [jenkins-edgexfoundry-device-uart-PR-41-1-stack-cost] did not exist. Created. 18:19:05 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-41-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:19:06 /w/workspace/device-uart/1@tmp/durable-dd841a52/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:19:06 + echo total: 0.2199999988079071 [Pipeline] stash 18:19:06 Warning: overwriting stash ‘stack-cost’ 18:19:06 Stashed 1 file(s) [Pipeline] } 18:19:06 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-41-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:19:06 $ docker stop --time=1 396ad7dbc992e79b7ff9ff8cc1f19298a25d330439ceaf6128008106cb8f4cf4 18:19:08 $ docker rm -f --volumes 396ad7dbc992e79b7ff9ff8cc1f19298a25d330439ceaf6128008106cb8f4cf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:19:10 provisioning config files... 18:19:10 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-41@tmp/config15422781381420567871tmp [Pipeline] { [Pipeline] sh 18:19:10 + set +x 18:19:10 + curl -s https://codecov.io/bash 18:19:10 + bash -s -- 18:19:10 18:19:10 _____ _ 18:19:10 / ____| | | 18:19:10 | | ___ __| | ___ ___ _____ __ 18:19:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:19:10 | |___| (_) | (_| | __/ (_| (_) \ V / 18:19:10 \_____\___/ \__,_|\___|\___\___/ \_/ 18:19:10 Bash-1.0.6 18:19:10 18:19:10 18:19:10 ==> git version 2.25.1 found 18:19:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:19:10 Release-Date: 2020-01-08 18:19:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:19:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:19:10 ==> Jenkins CI detected. 18:19:10 current dir:  /w/workspace/edgexfoundry_device-uart_PR-41 18:19:10 project root: . 18:19:10 --> token set from env 18:19:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:19:10 ==> Running gcov in . (disable via -X gcov) 18:19:10 ==> Python coveragepy not found 18:19:10 ==> Searching for coverage reports in: 18:19:10 + . 18:19:10 -> Found 1 reports 18:19:10 ==> Detecting git/mercurial file structure 18:19:10 ==> Reading reports 18:19:10 + ./coverage.out bytes=10 18:19:10 ==> Appending adjustments 18:19:10 https://docs.codecov.io/docs/fixing-reports 18:19:10 + Found adjustments 18:19:10 ==> Gzipping contents 18:19:10 4.0K /tmp/codecov.xKbV63.gz 18:19:10 ==> Uploading reports 18:19:10 url: https://codecov.io 18:19:10 query: branch=PR-41&commit=ea352d0e2b1bf2588408988a5ba76b1194d98b01&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-41%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=41&job=&cmd_args= 18:19:10 -> Pinging Codecov 18:19:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-41&commit=ea352d0e2b1bf2588408988a5ba76b1194d98b01&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-41%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=41&job=&cmd_args= 18:19:11 -> Uploading to 18:19:11 https://storage.googleapis.com/codecov/v4/raw/2023-12-29/B9AA6E0BBD74AE3A32605C7A7C664919/ea352d0e2b1bf2588408988a5ba76b1194d98b01/d0500dda-c8f1-4c57-a9fc-e503204d3b0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231229T181911Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e40cf7236e388d20cd06c0bea1b33b9cfcc0e9dc59592c7d3ccc562300ce479 18:19:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:19:11 Dload Upload Total Spent Left Speed 18:19:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2913 --:--:-- --:--:-- --:--:-- 2899 100 603 0 0 100 603 0 2555 --:--:-- --:--:-- --:--:-- 2544 18:19:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/ea352d0e2b1bf2588408988a5ba76b1194d98b01 [Pipeline] } 18:19:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:19:15 + [ -d /w/workspace/edgexfoundry_device-uart_PR-41/archives ] 18:19:15 + ls -al /w/workspace/edgexfoundry_device-uart_PR-41/archives 18:19:15 total 16 18:19:15 drwxr-xr-x 3 root root 4096 Dec 29 18:14 . 18:19:15 drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 18:14 .. 18:19:15 drwxr-xr-x 2 root root 4096 Dec 29 18:14 cost 18:19:15 -rw-r--r-- 1 root root 82 Dec 29 18:14 cost.csv 18:19:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-41/archives 18:19:15 + ls -al /w/workspace/edgexfoundry_device-uart_PR-41/archives 18:19:15 total 16 18:19:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 18:14 . 18:19:15 drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 18:14 .. 18:19:15 drwxr-xr-x 2 jenkins jenkins 4096 Dec 29 18:14 cost 18:19:15 -rw-r--r-- 1 jenkins jenkins 82 Dec 29 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:19:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:19:16 ---> package-listing.sh 18:19:16 ++ facter osfamily 18:19:16 ++ tr '[:upper:]' '[:lower:]' 18:19:16 + OS_FAMILY=debian 18:19:16 + workspace=/w/workspace/edgexfoundry_device-uart_PR-41 18:19:16 + START_PACKAGES=/tmp/packages_start.txt 18:19:16 + END_PACKAGES=/tmp/packages_end.txt 18:19:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:19:16 + PACKAGES=/tmp/packages_start.txt 18:19:16 + '[' /w/workspace/edgexfoundry_device-uart_PR-41 ']' 18:19:16 + PACKAGES=/tmp/packages_end.txt 18:19:16 + case "${OS_FAMILY}" in 18:19:16 + dpkg -l 18:19:16 + grep '^ii' 18:19:16 + '[' -f /tmp/packages_start.txt ']' 18:19:16 + '[' -f /tmp/packages_end.txt ']' 18:19:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:19:16 + '[' /w/workspace/edgexfoundry_device-uart_PR-41 ']' 18:19:16 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-41/archives/ 18:19:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-41/archives/ [Pipeline] echo 18:19:16 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-41/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:19:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:19:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:17 prd-ubuntu20.04-docker-8c-8g-26398 does not seem to be running inside a container 18:19:17 $ 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-41/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-41 -v /w/workspace/edgexfoundry_device-uart_PR-41:/w/workspace/edgexfoundry_device-uart_PR-41:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-41@tmp:/w/workspace/edgexfoundry_device-uart_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:19:18 $ docker top d5b813838a01dd8dd5a3e78426a3c485ec4915ef28f09628193815055f94b89a -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:18 + touch /tmp/pre-build-complete [Pipeline] sh 18:19:18 + mkdir -p /var/log/sysstat [Pipeline] sh 18:19:19 + ls /var/log/sa-host 18:19:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:19:19 provisioning config files... 18:19:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-41@tmp/config11752404781386682080tmp [Pipeline] { [Pipeline] echo 18:19:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:19:19 ---> create-netrc.sh [Pipeline] } 18:19:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:19:20 ---> python-tools-install.sh [Pipeline] echo 18:19:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:19:20 ---> sudo-logs.sh 18:19:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:19:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:19:21 ---> job-cost.sh 18:19:21 lf-activate-venv: SKIPPING 18:19:21 DEBUG: total: 0.2199999988079071 18:19:21 INFO: Retrieving Stack Cost... 18:19:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:19:21 INFO: Archiving Costs [Pipeline] echo 18:19:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:19:22 ---> logs-deploy.sh 18:19:22 lf-activate-venv: SKIPPING 18:19:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-41/1 18:19:22 INFO: archiving workspace using pattern(s): 18:19:23 Archives upload complete. 18:19:23 INFO: archiving logs to Nexus