Pull request #31 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 98b52cb3feac3493aab4fba4d557cc49220528f0+5ecf853e9146b6aac4215f7018ae941eb175f8eb (8c4284311d0c9a2e7be2a47336cced9063e98297) 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-ssh7115203770254383291.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh10393191056845113032.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-31/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-31/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15839866917449747356.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-31/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15183849993820061897.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh7281055806532874030.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-31/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-31/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh900202400042133405.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-16875 in /w/workspace/edgexfoundry_device-uart_PR-31 [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-31 # 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/31/head:refs/remotes/origin/PR-31 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5ecf853e9146b6aac4215f7018ae941eb175f8eb into PR head commit 98b52cb3feac3493aab4fba4d557cc49220528f0 Merge succeeded, producing 98b52cb3feac3493aab4fba4d557cc49220528f0 Checking out Revision 98b52cb3feac3493aab4fba4d557cc49220528f0 (PR-31) 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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:07:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 98b52cb3feac3493aab4fba4d557cc49220528f0 # 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 5ecf853e9146b6aac4215f7018ae941eb175f8eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98b52cb3feac3493aab4fba4d557cc49220528f0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:07:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:07:06 ========================================================= 19:07:06 EdgeX Global Pipelines Version Info 19:07:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:07:07 ------------------- 19:07:07 stable info: 19:07:07 ------------------- 19:07:07 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 19:07:07 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 19:07:07 Message: update stable to v1.0.257 19:07:08 ------------------- 19:07:08 experimental info: 19:07:08 ------------------- 19:07:08 Commited By: **** collab-it+edgex@linuxfoundation.org 19:07:08 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 19:07:08 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 19:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-31 [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-31 [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-31 [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98b52cb3feac3493aab4fba4d557cc49220528f0 [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98b52cb [Pipeline] echo 19:07:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:10 provisioning config files... 19:07:10 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-31@tmp/config14497522929892616414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:10 ---> docker-login.sh 19:07:10 nexus3.edgexfoundry.org:10001 19:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:10 Configure a credential helper to remove this warning. See 19:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:10 19:07:10 Login Succeeded 19:07:10 nexus3.edgexfoundry.org:10002 19:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:11 Configure a credential helper to remove this warning. See 19:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:11 19:07:11 Login Succeeded 19:07:11 nexus3.edgexfoundry.org:10003 19:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:11 Configure a credential helper to remove this warning. See 19:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:11 19:07:11 Login Succeeded 19:07:11 nexus3.edgexfoundry.org:10004 19:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:11 Configure a credential helper to remove this warning. See 19:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:11 19:07:11 Login Succeeded 19:07:11 docker.io 19:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:11 Configure a credential helper to remove this warning. See 19:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:11 19:07:11 Login Succeeded 19:07:11 ---> docker-login.sh ends [Pipeline] } 19:07:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:07:12 + git rev-list -1 --merges 98b52cb3feac3493aab4fba4d557cc49220528f0~1..98b52cb3feac3493aab4fba4d557cc49220528f0 [Pipeline] echo 19:07:12 -----------> git rev-list -1 --merges 98b52cb3feac3493aab4fba4d557cc49220528f0~1..98b52cb3feac3493aab4fba4d557cc49220528f0 98b52cb3feac3493aab4fba4d557cc49220528f0 [false] [Pipeline] sh 19:07:12 + git log --format=format:%s -1 98b52cb3feac3493aab4fba4d557cc49220528f0 [Pipeline] echo 19:07:12 ========================================================= 19:07:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:07:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:07:13 + git log --format=format:%s -1 98b52cb3feac3493aab4fba4d557cc49220528f0 [Pipeline] echo 19:07:13 [semverPrep] GIT_COMMIT: 98b52cb3feac3493aab4fba4d557cc49220528f0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 19:07:13 [semverPrep] This is not a build commit. [Pipeline] sh 19:07:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:13 + grep -v github /etc/ssh/ssh_known_hosts 19:07:13 + [ -e /tmp/ssh_known_hosts ] 19:07:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:07:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:07:13 + sudo tee -a /etc/ssh/ssh_known_hosts 19:07:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:14 19:07:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:14 0.1.4: Pulling from edgex-devops/py-git-semver 19:07:14 b85a868b505f: Pulling fs layer 19:07:14 e2be974225ed: Pulling fs layer 19:07:14 339a4e72a1f5: Pulling fs layer 19:07:14 988bab9f4d93: Pulling fs layer 19:07:14 1469e6f7b9e6: Pulling fs layer 19:07:14 eaf3925da568: Pulling fs layer 19:07:14 bab4dde63d76: Pulling fs layer 19:07:14 bde34c3a00c8: Pulling fs layer 19:07:14 b352a97aabf1: Pulling fs layer 19:07:14 4872d77fe225: Pulling fs layer 19:07:14 5851b861e8e6: Pulling fs layer 19:07:14 bab4dde63d76: Waiting 19:07:14 bde34c3a00c8: Waiting 19:07:14 1469e6f7b9e6: Waiting 19:07:14 b352a97aabf1: Waiting 19:07:14 4872d77fe225: Waiting 19:07:14 5851b861e8e6: Waiting 19:07:14 eaf3925da568: Waiting 19:07:14 988bab9f4d93: Waiting 19:07:14 e2be974225ed: Download complete 19:07:14 988bab9f4d93: Download complete 19:07:14 1469e6f7b9e6: Verifying Checksum 19:07:14 1469e6f7b9e6: Download complete 19:07:14 eaf3925da568: Download complete 19:07:14 339a4e72a1f5: Verifying Checksum 19:07:14 339a4e72a1f5: Download complete 19:07:14 bde34c3a00c8: Verifying Checksum 19:07:14 bde34c3a00c8: Download complete 19:07:14 b352a97aabf1: Verifying Checksum 19:07:14 b352a97aabf1: Download complete 19:07:14 4872d77fe225: Download complete 19:07:14 5851b861e8e6: Verifying Checksum 19:07:14 b85a868b505f: Verifying Checksum 19:07:14 b85a868b505f: Download complete 19:07:15 bab4dde63d76: Verifying Checksum 19:07:15 bab4dde63d76: Download complete 19:07:16 b85a868b505f: Pull complete 19:07:16 e2be974225ed: Pull complete 19:07:16 339a4e72a1f5: Pull complete 19:07:16 988bab9f4d93: Pull complete 19:07:17 1469e6f7b9e6: Pull complete 19:07:17 eaf3925da568: Pull complete 19:07:19 bab4dde63d76: Pull complete 19:07:19 bde34c3a00c8: Pull complete 19:07:19 b352a97aabf1: Pull complete 19:07:19 4872d77fe225: Pull complete 19:07:19 5851b861e8e6: Pull complete 19:07:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:19 prd-ubuntu20.04-docker-8c-8g-16875 does not seem to be running inside a container 19:07:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-31 -v /w/workspace/edgexfoundry_device-uart_PR-31:/w/workspace/edgexfoundry_device-uart_PR-31:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-31@tmp:/w/workspace/edgexfoundry_device-uart_PR-31@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 19:07:23 $ docker top 80d510252b6ad538e888236b0be2bad3afd938938d723fbac84c4fd70b681b27 -eo pid,comm 19:07:23 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). 19:07:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:23 [ssh-agent] Looking for ssh-agent implementation... 19:07:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:23 $ docker exec 80d510252b6ad538e888236b0be2bad3afd938938d723fbac84c4fd70b681b27 ssh-agent 19:07:23 SSH_AUTH_SOCK=/tmp/ssh-agip6iVd7FnI/agent.32 19:07:23 SSH_AGENT_PID=38 19:07:23 Running ssh-add (command line suppressed) 19:07:23 Identity added: /w/workspace/edgexfoundry_device-uart_PR-31@tmp/private_key_17181846858641462080.key (/w/workspace/edgexfoundry_device-uart_PR-31@tmp/private_key_17181846858641462080.key) 19:07:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:24 + git tag --points-at HEAD [Pipeline] } 19:07:24 $ docker exec --env ******** --env ******** 80d510252b6ad538e888236b0be2bad3afd938938d723fbac84c4fd70b681b27 ssh-agent -k 19:07:24 unset SSH_AUTH_SOCK; 19:07:24 unset SSH_AGENT_PID; 19:07:24 echo Agent pid 38 killed; 19:07:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:07:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:24 [ssh-agent] Looking for ssh-agent implementation... 19:07:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:24 $ docker exec 80d510252b6ad538e888236b0be2bad3afd938938d723fbac84c4fd70b681b27 ssh-agent 19:07:24 SSH_AUTH_SOCK=/tmp/ssh-3bVQoTtA18RA/agent.70 19:07:24 SSH_AGENT_PID=76 19:07:24 Running ssh-add (command line suppressed) 19:07:24 Identity added: /w/workspace/edgexfoundry_device-uart_PR-31@tmp/private_key_13439723188907228143.key (/w/workspace/edgexfoundry_device-uart_PR-31@tmp/private_key_13439723188907228143.key) 19:07:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:24 + git semver init 19:07:25 2023-11-07 19:07:25,182 [run_init] DEBUG init version:0.0.0 force:False 19:07:25 2023-11-07 19:07:25,183 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-31/.semver 19:07:25 2023-11-07 19:07:25,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-31/.semver 19:07:25 2023-11-07 19:07:25,184 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-31/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-31, universal_newlines=False, shell=None, istream=None) 19:07:26 2023-11-07 19:07:26,187 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-31/.git/info/exclude 19:07:26 2023-11-07 19:07:26,188 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-31/.semver/PR-31 with force:False 19:07:26 2023-11-07 19:07:26,188 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-31/.semver/PR-31 19:07:26 2023-11-07 19:07:26,192 [execute] INFO git cat-file --batch-check 19:07:26 2023-11-07 19:07:26,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-31/.semver, universal_newlines=False, shell=None, istream=) 19:07:26 2023-11-07 19:07:26,199 [execute] INFO git cat-file --batch 19:07:26 2023-11-07 19:07:26,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-31/.semver, universal_newlines=False, shell=None, istream=) 19:07:26 2023-11-07 19:07:26,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-31/.semver/PR-31 19:07:26 0.0.0 [Pipeline] } 19:07:26 $ docker exec --env ******** --env ******** 80d510252b6ad538e888236b0be2bad3afd938938d723fbac84c4fd70b681b27 ssh-agent -k 19:07:26 unset SSH_AUTH_SOCK; 19:07:26 unset SSH_AGENT_PID; 19:07:26 echo Agent pid 76 killed; 19:07:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:27 + git semver [Pipeline] } 19:07:27 $ docker stop --time=1 80d510252b6ad538e888236b0be2bad3afd938938d723fbac84c4fd70b681b27 19:07:28 $ docker rm -f --volumes 80d510252b6ad538e888236b0be2bad3afd938938d723fbac84c4fd70b681b27 [Pipeline] // withDockerContainer [Pipeline] sh 19:07:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:07:29 Stashed 1 file(s) [Pipeline] echo 19:07:29 [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 19:07:30 provisioning config files... 19:07:30 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-31@tmp/config11569258885021448998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:30 ---> docker-login.sh 19:07:30 nexus3.edgexfoundry.org:10001 19:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:30 Configure a credential helper to remove this warning. See 19:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:30 19:07:30 Login Succeeded 19:07:30 nexus3.edgexfoundry.org:10002 19:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:30 Configure a credential helper to remove this warning. See 19:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:30 19:07:30 Login Succeeded 19:07:30 nexus3.edgexfoundry.org:10003 19:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:30 Configure a credential helper to remove this warning. See 19:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:30 19:07:30 Login Succeeded 19:07:30 nexus3.edgexfoundry.org:10004 19:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:30 Configure a credential helper to remove this warning. See 19:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:30 19:07:30 Login Succeeded 19:07:30 docker.io 19:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:31 Configure a credential helper to remove this warning. See 19:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:31 19:07:31 Login Succeeded 19:07:31 ---> docker-login.sh ends [Pipeline] } 19:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:07:31 ========================================================= 19:07:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:07:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:31 + 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 . 19:07:31 Sending build context to Docker daemon 11.2MB 19:07:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:07:31 Step 2/12 : FROM ${BASE} AS builder 19:07:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:07:31 7264a8db6415: Pulling fs layer 19:07:31 c4d48a809fc2: Pulling fs layer 19:07:31 4f1c88b9dad5: Pulling fs layer 19:07:31 ad3a456e5733: Pulling fs layer 19:07:31 33e27b845d1e: Pulling fs layer 19:07:31 c68163c4e522: Pulling fs layer 19:07:31 50da416c3ac9: Pulling fs layer 19:07:31 23d2d4c4bb30: Pulling fs layer 19:07:31 ad3a456e5733: Waiting 19:07:31 50da416c3ac9: Waiting 19:07:31 23d2d4c4bb30: Waiting 19:07:31 c68163c4e522: Waiting 19:07:31 33e27b845d1e: Waiting 19:07:31 c4d48a809fc2: Verifying Checksum 19:07:31 c4d48a809fc2: Download complete 19:07:31 ad3a456e5733: Download complete 19:07:32 33e27b845d1e: Download complete 19:07:32 7264a8db6415: Verifying Checksum 19:07:32 7264a8db6415: Download complete 19:07:32 c68163c4e522: Verifying Checksum 19:07:32 c68163c4e522: Download complete 19:07:32 7264a8db6415: Pull complete 19:07:32 23d2d4c4bb30: Verifying Checksum 19:07:32 23d2d4c4bb30: Download complete 19:07:32 c4d48a809fc2: Pull complete 19:07:32 4f1c88b9dad5: Verifying Checksum 19:07:32 4f1c88b9dad5: Download complete 19:07:33 50da416c3ac9: Verifying Checksum 19:07:33 50da416c3ac9: Download complete 19:07:36 4f1c88b9dad5: Pull complete 19:07:36 ad3a456e5733: Pull complete 19:07:36 33e27b845d1e: Pull complete 19:07:36 c68163c4e522: Pull complete 19:07:38 50da416c3ac9: Pull complete 19:07:38 23d2d4c4bb30: Pull complete 19:07:38 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 19:07:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:07:38 ---> 0786185ac409 19:07:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:07:44 ---> Running in 9fcdfb73f8c1 19:07:44 Removing intermediate container 9fcdfb73f8c1 19:07:44 ---> 3b2e2bd4425f 19:07:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:07:44 ---> Running in bb5c68bbb877 19:07:44 Removing intermediate container bb5c68bbb877 19:07:44 ---> e1225df8d639 19:07:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:07:44 ---> Running in 901f4c8fb024 19:07:44 Removing intermediate container 901f4c8fb024 19:07:44 ---> 3b9752030857 19:07:44 Step 6/12 : WORKDIR /device-uart 19:07:44 ---> Running in 5dbe664844e2 19:07:44 Removing intermediate container 5dbe664844e2 19:07:44 ---> 2880bce7f8ff 19:07:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:07:44 ---> Running in 6066dc66bbc1 19:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:07:44 Still waiting to schedule task 19:07:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:07:44 (1/4) Installing openssh-keygen (9.3_p2-r0) 19:07:44 (2/4) Installing libedit (20221030.3.1-r1) 19:07:44 (3/4) Installing openssh-client-common (9.3_p2-r0) 19:07:44 (4/4) Installing openssh-client-default (9.3_p2-r0) 19:07:44 Executing busybox-1.36.1-r2.trigger 19:07:44 OK: 268 MiB in 56 packages 19:07:45 Removing intermediate container 6066dc66bbc1 19:07:45 ---> 52f29aa82a12 19:07:45 Step 8/12 : COPY go.mod vendor* ./ 19:07:45 ---> eb649487f19f 19:07:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:07:45 ---> Running in 0113c6adc6ec 19:08:33 Removing intermediate container 0113c6adc6ec 19:08:33 ---> b2ef5cd48eb8 19:08:33 Step 10/12 : COPY . . 19:08:33 ---> 47eb85427204 19:08:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:08:33 ---> Running in b7f61bbc55f8 19:08:33 Removing intermediate container b7f61bbc55f8 19:08:33 ---> f8aba2a26bef 19:08:33 Step 12/12 : RUN ${MAKE} 19:08:33 ---> Running in de175b25cc89 19:08:33 noop 19:08:33 Removing intermediate container de175b25cc89 19:08:33 ---> a4808d62bc2a 19:08:33 Successfully built a4808d62bc2a 19:08:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:34 + docker inspect -f . ci-base-image-x86_64 19:08:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:34 prd-ubuntu20.04-docker-8c-8g-16875 does not seem to be running inside a container 19:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-31 -v /w/workspace/edgexfoundry_device-uart_PR-31:/w/workspace/edgexfoundry_device-uart_PR-31:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-31@tmp:/w/workspace/edgexfoundry_device-uart_PR-31@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 19:08:40 $ docker top 7206c899144172335f93f35c5d109941719dbdbecf5113d19f13db9dc6b3892f -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:40 + go version 19:08:40 go version go1.21.0 linux/amd64 [Pipeline] } 19:08:40 $ docker stop --time=1 7206c899144172335f93f35c5d109941719dbdbecf5113d19f13db9dc6b3892f 19:08:43 $ docker rm -f --volumes 7206c899144172335f93f35c5d109941719dbdbecf5113d19f13db9dc6b3892f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:43 + docker inspect -f . ci-base-image-x86_64 19:08:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:43 prd-ubuntu20.04-docker-8c-8g-16875 does not seem to be running inside a container 19:08:43 $ 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-31 -v /w/workspace/edgexfoundry_device-uart_PR-31:/w/workspace/edgexfoundry_device-uart_PR-31:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-31@tmp:/w/workspace/edgexfoundry_device-uart_PR-31@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 19:08:44 $ docker top d77f8f307ee94244f2f95d889c46dc88f935e1b483970a9ac9a9142ca41320e8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-31 [Pipeline] fileExists [Pipeline] sh 19:08:45 + make test 19:08:45 go test ./... -coverprofile=coverage.out 19:08:50 ? github.com/edgexfoundry/device-uart [no test files] 19:09:06 ? github.com/edgexfoundry/device-uart/cmd [no test files] 19:09:06 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 19:09:12 go vet ./... 19:09:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:09:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:09:15 ./bin/test-attribution-txt.sh [Pipeline] echo 19:09:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:09:15 $ docker stop --time=1 d77f8f307ee94244f2f95d889c46dc88f935e1b483970a9ac9a9142ca41320e8 19:09:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16876 in /w/workspace/edgexfoundry_device-uart_PR-31 19:09:43 $ docker rm -f --volumes d77f8f307ee94244f2f95d889c46dc88f935e1b483970a9ac9a9142ca41320e8 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 19:09:43 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 19:09:43 The recommended git tool is: git 19:09:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:09:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:09:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:09:45 + ls -al . 19:09:45 total 152 19:09:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 19:08 . 19:09:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:07 .. 19:09:45 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 19:07 .dockerignore 19:09:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 19:09 .git 19:09:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:07 .github 19:09:45 -rw-rw-r-- 1 jenkins jenkins 343 Nov 7 19:07 .gitignore 19:09:45 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 19:07 .golangci.yml 19:09:45 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 19:07 .semver 19:09:45 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 7 19:07 Attribution.txt 19:09:45 -rw-rw-r-- 1 jenkins jenkins 1777 Nov 7 19:07 Dockerfile 19:09:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 19:07 GOVERNANCE.md 19:09:45 -rw-rw-r-- 1 jenkins jenkins 675 Nov 7 19:07 Jenkinsfile 19:09:45 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 19:07 LICENSE 19:09:45 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 7 19:07 Makefile 19:09:45 -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 19:07 OWNERS.md 19:09:45 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 7 19:07 README.md 19:09:45 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 19:07 VERSION 19:09:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:07 bin 19:09:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:07 cmd 19:09:45 -rw-r--r-- 1 jenkins jenkins 10 Nov 7 19:08 coverage.out 19:09:45 -rw-rw-r-- 1 jenkins jenkins 3681 Nov 7 19:07 go.mod 19:09:45 -rw-rw-r-- 1 jenkins jenkins 35233 Nov 7 19:07 go.sum 19:09:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:07 internal 19:09:45 -rw-rw-r-- 1 jenkins jenkins 209 Nov 7 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:45 + 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=98b52cb3feac3493aab4fba4d557cc49220528f0 --label arch=amd64 --label version=0.0.0 . 19:09:45 Sending build context to Docker daemon 11.2MB 19:09:45 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 19:09:45 Step 2/25 : FROM ${BASE} AS builder 19:09:45 ---> a4808d62bc2a 19:09:45 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:09:47 ---> Running in 3499e79b405a 19:09:47 Removing intermediate container 3499e79b405a 19:09:47 ---> c087c3d663e0 19:09:47 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 19:09:48 ---> Running in 329d8c93627d 19:09:50 using credential edgex-jenkins-ssh 19:09:50 Cloning the remote Git repository 19:09:50 Cloning repository git@github.com:edgexfoundry/device-uart.git 19:09:50 > git init /w/workspace/device-uart/1 # timeout=10 19:09:51 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 19:09:51 > git --version # timeout=10 19:09:51 > git --version # 'git version 2.25.1' 19:09:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:52 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 19:09:53 Merging remotes/origin/main commit 5ecf853e9146b6aac4215f7018ae941eb175f8eb into PR head commit 98b52cb3feac3493aab4fba4d557cc49220528f0 19:09:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:53 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 19:09:53 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 19:09:53 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/31/head:refs/remotes/origin/PR-31 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:09:53 > git config core.sparsecheckout # timeout=10 19:09:54 Merge succeeded, producing 98b52cb3feac3493aab4fba4d557cc49220528f0 19:09:54 Checking out Revision 98b52cb3feac3493aab4fba4d557cc49220528f0 (PR-31) 19:09:54 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 19:09:54 > git --version # timeout=10 19:09:54 > git --version # 'git version 2.25.1' 19:09:54 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:53 > git checkout -f 98b52cb3feac3493aab4fba4d557cc49220528f0 # timeout=10 19:09:53 > git remote # timeout=10 19:09:53 > git config --get remote.origin.url # timeout=10 19:09:53 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:53 > git merge 5ecf853e9146b6aac4215f7018ae941eb175f8eb # timeout=10 19:09:53 > git rev-parse HEAD^{commit} # timeout=10 19:09:54 > git config core.sparsecheckout # timeout=10 19:09:54 > git checkout -f 98b52cb3feac3493aab4fba4d557cc49220528f0 # timeout=10 19:09:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:09:55 % Total % Received % Xferd Average Speed Time Time Time Current 19:09:55 Dload Upload Total Spent Left Speed 19:09:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 82888 0 --:--:-- --:--:-- --:--:-- 82888 [Pipeline] sh 19:09:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:09:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 19:09:56 sudo tee /etc/docker/daemon.new 19:09:56 { 19:09:56 "registry-mirrors": [ 19:09:56 "https://nexus3.edgexfoundry.org:10001" 19:09:56 ], 19:09:56 "bip": "10.250.0.254/24", 19:09:56 "hosts": [ 19:09:56 "tcp://0.0.0.0:5555", 19:09:56 "unix:///var/run/docker.sock" 19:09:56 ], 19:09:56 "mtu": 1458, 19:09:56 "selinux-enabled": true, 19:09:56 "seccomp-profile": "/etc/docker/seccomp.json" 19:09:56 } [Pipeline] sh 19:09:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:09:57 + sudo service docker restart 19:09:58 Removing intermediate container 329d8c93627d 19:09:58 ---> 73ace496424e 19:09:58 Step 5/25 : ARG ADD_BUILD_TAGS="" 19:09:58 ---> Running in 22e627e4b7ca 19:09:59 Removing intermediate container 22e627e4b7ca 19:09:59 ---> 7488fb7ad751 19:09:59 Step 6/25 : WORKDIR /device-uart 19:09:59 ---> Running in c192e698b873 19:10:00 Removing intermediate container c192e698b873 19:10:00 ---> c8fde941dd39 19:10:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:10:01 ---> Running in 7295b8e64cad 19:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:10:02 OK: 268 MiB in 56 packages 19:10:03 Removing intermediate container 7295b8e64cad 19:10:03 ---> 3f5f3210c7aa 19:10:03 Step 8/25 : COPY go.mod vendor* ./ 19:10:04 ---> 28c9341cbcea 19:10:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:04 ---> Running in 130149ba0152 19:10:08 Removing intermediate container 130149ba0152 19:10:08 ---> e8cbd582037e 19:10:08 Step 10/25 : COPY . . 19:10:09 ---> df783bb6d3d1 19:10:09 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:10:09 ---> Running in 1867380f0f0b 19:10:09 Removing intermediate container 1867380f0f0b 19:10:09 ---> 74c92c9f8353 19:10:09 Step 12/25 : RUN ${MAKE} 19:10:09 ---> Running in 52034c17388f 19:10:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.40" -trimpath -mod=readonly -o cmd/device-uart ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:19 provisioning config files... 19:10:19 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config3624307252555546001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:19 ---> docker-login.sh 19:10:19 nexus3.edgexfoundry.org:10001 19:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:20 Configure a credential helper to remove this warning. See 19:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:20 19:10:20 Login Succeeded 19:10:20 nexus3.edgexfoundry.org:10002 19:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:20 Configure a credential helper to remove this warning. See 19:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:20 19:10:20 Login Succeeded 19:10:20 nexus3.edgexfoundry.org:10003 19:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:21 Configure a credential helper to remove this warning. See 19:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:21 19:10:21 Login Succeeded 19:10:21 nexus3.edgexfoundry.org:10004 19:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:21 Configure a credential helper to remove this warning. See 19:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:21 19:10:21 Login Succeeded 19:10:21 docker.io 19:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:22 Configure a credential helper to remove this warning. See 19:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:22 19:10:22 Login Succeeded 19:10:22 ---> docker-login.sh ends [Pipeline] } 19:10:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:10:22 ========================================================= 19:10:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:10:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10: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 . 19:10:23 Sending build context to Docker daemon 5.655MB 19:10:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:10:23 Step 2/12 : FROM ${BASE} AS builder 19:10:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:10:23 9fda8d8052c6: Pulling fs layer 19:10:23 5d54e960e981: Pulling fs layer 19:10:23 c4a7e357bf2a: Pulling fs layer 19:10:23 f0e02332f6b5: Pulling fs layer 19:10:23 cefa15bbcfad: Pulling fs layer 19:10:23 17808c966233: Pulling fs layer 19:10:23 f4c1fc716caa: Pulling fs layer 19:10:23 cefa15bbcfad: Waiting 19:10:23 17808c966233: Waiting 19:10:23 f0e02332f6b5: Waiting 19:10:23 f4c1fc716caa: Waiting 19:10:23 5d54e960e981: Verifying Checksum 19:10:23 5d54e960e981: Download complete 19:10:23 f0e02332f6b5: Verifying Checksum 19:10:23 f0e02332f6b5: Download complete 19:10:23 cefa15bbcfad: Verifying Checksum 19:10:23 cefa15bbcfad: Download complete 19:10:23 9fda8d8052c6: Download complete 19:10:24 f4c1fc716caa: Verifying Checksum 19:10:24 f4c1fc716caa: Download complete 19:10:24 9fda8d8052c6: Pull complete 19:10:25 5d54e960e981: Pull complete 19:10:25 c4a7e357bf2a: Verifying Checksum 19:10:25 c4a7e357bf2a: Download complete 19:10:26 17808c966233: Verifying Checksum 19:10:26 17808c966233: Download complete 19:10:36 Removing intermediate container 52034c17388f 19:10:36 ---> 77fa8f7d8ec6 19:10:36 Step 13/25 : FROM alpine:3.18 19:10:36 3.18: Pulling from library/alpine 19:10:36 96526aa774ef: Pulling fs layer 19:10:36 96526aa774ef: Verifying Checksum 19:10:36 96526aa774ef: Pull complete 19:10:36 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:10:36 Status: Downloaded newer image for alpine:3.18 19:10:36 ---> 8ca4688f4f35 19:10:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:10:36 ---> Running in d746defb87bd 19:10:36 Removing intermediate container d746defb87bd 19:10:36 ---> d80b4cd40d12 19:10:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 19:10:36 ---> Running in 3628fe3d19f0 19:10:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:10:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:10:36 (1/1) Installing dumb-init (1.2.5-r2) 19:10:36 Executing busybox-1.36.1-r2.trigger 19:10:36 OK: 7 MiB in 16 packages 19:10:39 Removing intermediate container 3628fe3d19f0 19:10:39 ---> 93c4f36be787 19:10:39 Step 16/25 : WORKDIR / 19:10:39 ---> Running in b8875bb74936 19:10:39 Removing intermediate container b8875bb74936 19:10:39 ---> 7f593eb3e910 19:10:39 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 19:10:39 ---> 11070786799f 19:10:39 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 19:10:39 c4a7e357bf2a: Pull complete 19:10:39 f0e02332f6b5: Pull complete 19:10:39 cefa15bbcfad: Pull complete 19:10:42 ---> e9cc6f504ebd 19:10:42 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 19:10:42 ---> 1fcaaf3e8915 19:10:42 Step 20/25 : EXPOSE 59995 19:10:42 ---> Running in 77ea777b665d 19:10:42 Removing intermediate container 77ea777b665d 19:10:42 ---> 34bb0c312c1b 19:10:42 Step 21/25 : ENTRYPOINT ["/device-uart"] 19:10:42 ---> Running in 986652141e1b 19:10:42 Removing intermediate container 986652141e1b 19:10:42 ---> 06ae0d77538e 19:10:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:10:43 ---> Running in f48a28940a96 19:10:43 Removing intermediate container f48a28940a96 19:10:43 ---> b0b014517978 19:10:43 Step 23/25 : LABEL arch=amd64 19:10:43 ---> Running in 9c9da48ecf2b 19:10:43 Removing intermediate container 9c9da48ecf2b 19:10:43 ---> 96897b20bc76 19:10:43 Step 24/25 : LABEL git_sha=98b52cb3feac3493aab4fba4d557cc49220528f0 19:10:43 ---> Running in 7859b2509593 19:10:43 Removing intermediate container 7859b2509593 19:10:43 ---> 6d97b3a0e696 19:10:43 Step 25/25 : LABEL version=0.0.0 19:10:43 ---> Running in bc051205586f 19:10:43 Removing intermediate container bc051205586f 19:10:43 ---> 8912d62f4d2c 19:10:43 [Warning] One or more build-args [ARCH] were not consumed 19:10:43 Successfully built 8912d62f4d2c 19:10:43 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:44 19:10:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:44 latest: Pulling from edgex-lftools-log-publisher 19:10:44 5eb5b503b376: Pulling fs layer 19:10:44 5c69ac0246d0: Pulling fs layer 19:10:44 ec43610c2a17: Pulling fs layer 19:10:44 3a2ae6a8a46f: Pulling fs layer 19:10:44 33b1e0a273af: Pulling fs layer 19:10:44 5d3b04190fa2: Pulling fs layer 19:10:44 2f39f015ded8: Pulling fs layer 19:10:44 3a2ae6a8a46f: Waiting 19:10:44 33b1e0a273af: Waiting 19:10:44 5d3b04190fa2: Waiting 19:10:44 2f39f015ded8: Waiting 19:10:44 5c69ac0246d0: Download complete 19:10:44 3a2ae6a8a46f: Verifying Checksum 19:10:44 3a2ae6a8a46f: Download complete 19:10:44 33b1e0a273af: Verifying Checksum 19:10:44 33b1e0a273af: Download complete 19:10:44 5d3b04190fa2: Verifying Checksum 19:10:44 5d3b04190fa2: Download complete 19:10:44 ec43610c2a17: Verifying Checksum 19:10:44 ec43610c2a17: Download complete 19:10:44 5eb5b503b376: Verifying Checksum 19:10:44 5eb5b503b376: Download complete 19:10:45 2f39f015ded8: Download complete 19:10:46 5eb5b503b376: Pull complete 19:10:46 5c69ac0246d0: Pull complete 19:10:46 ec43610c2a17: Pull complete 19:10:46 3a2ae6a8a46f: Pull complete 19:10:46 33b1e0a273af: Pull complete 19:10:46 5d3b04190fa2: Pull complete 19:10:47 17808c966233: Pull complete 19:10:48 f4c1fc716caa: Pull complete 19:10:48 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 19:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:10:48 ---> ea914061e18c 19:10:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:10:50 ---> Running in afd0168f6246 19:10:50 Removing intermediate container afd0168f6246 19:10:50 ---> 7389a5bc5671 19:10:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:10:50 ---> Running in 2272ce5038b9 19:10:50 Removing intermediate container 2272ce5038b9 19:10:50 ---> 425abc441d95 19:10:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:10:50 ---> Running in f83259fb0c87 19:10:50 Removing intermediate container f83259fb0c87 19:10:50 ---> f8d0753251a1 19:10:50 Step 6/12 : WORKDIR /device-uart 19:10:50 ---> Running in d78a7891fc2b 19:10:51 2f39f015ded8: Pull complete 19:10:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:51 prd-ubuntu20.04-docker-8c-8g-16875 does not seem to be running inside a container 19:10:51 $ 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-31 -v /w/workspace/edgexfoundry_device-uart_PR-31:/w/workspace/edgexfoundry_device-uart_PR-31:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-31@tmp:/w/workspace/edgexfoundry_device-uart_PR-31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:10:51 Removing intermediate container d78a7891fc2b 19:10:51 ---> accb5c110bab 19:10:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:10:51 ---> Running in b999195b22d6 19:10:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:10:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:10:54 (1/4) Installing openssh-keygen (9.3_p2-r0) 19:10:54 (2/4) Installing libedit (20221030.3.1-r1) 19:10:54 (3/4) Installing openssh-client-common (9.3_p2-r0) 19:10:54 (4/4) Installing openssh-client-default (9.3_p2-r0) 19:10:54 Executing busybox-1.36.1-r2.trigger 19:10:54 OK: 270 MiB in 56 packages 19:10:56 $ docker top a13652460f078fee472f9a67751bc3e532c696dde9c283d5818af870255944f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:56 ---> job-cost.sh 19:10:56 lf-activate-venv: SKIPPING 19:10:56 INFO: No Stack... 19:10:56 INFO: Retrieving Pricing Info for: v3-standard-8 19:10:57 INFO: Archiving Costs [Pipeline] sh 19:10:57 + + cat /w/workspace/edgexfoundry_device-uart_PR-31/archives/cost.csv 19:10:57 cut -d, -f6 [Pipeline] lock 19:10:57 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-31-1-stack-cost] 19:10:57 Resource [jenkins-edgexfoundry-device-uart-PR-31-1-stack-cost] did not exist. Created. 19:10:57 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-31-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:10:57 + echo total: 0.2199999988079071 [Pipeline] stash 19:10:58 Stashed 1 file(s) [Pipeline] } 19:10:58 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-31-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:10:58 $ docker stop --time=1 a13652460f078fee472f9a67751bc3e532c696dde9c283d5818af870255944f0 19:10:58 Removing intermediate container b999195b22d6 19:10:58 ---> 4aa7e66f4fd0 19:10:58 Step 8/12 : COPY go.mod vendor* ./ 19:10:59 ---> 01939f76c535 19:10:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:59 ---> Running in b45491ebf963 19:10:59 $ docker rm -f --volumes a13652460f078fee472f9a67751bc3e532c696dde9c283d5818af870255944f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:12:20 Removing intermediate container b45491ebf963 19:12:20 ---> f4c1a597f2a2 19:12:20 Step 10/12 : COPY . . 19:12:20 ---> 300a639faa1e 19:12:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:12:20 ---> Running in 315c126020de 19:12:20 Removing intermediate container 315c126020de 19:12:20 ---> 5bacef2b5599 19:12:20 Step 12/12 : RUN ${MAKE} 19:12:20 ---> Running in 8a55d0b3696b 19:12:20 noop 19:12:20 Removing intermediate container 8a55d0b3696b 19:12:20 ---> 3d64d98bfd5f 19:12:20 Successfully built 3d64d98bfd5f 19:12:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:21 + docker inspect -f . ci-base-image-arm64 19:12:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:21 prd-ubuntu20.04-docker-arm64-4c-16g-16876 does not seem to be running inside a container 19:12:21 $ 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 19:12:22 $ docker top ea9e55a3af6e0316a11853873a4c3afc100654ad039ebcbb37c74ee942ee809f -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:23 + go version 19:12:23 go version go1.21.0 linux/arm64 [Pipeline] } 19:12:23 $ docker stop --time=1 ea9e55a3af6e0316a11853873a4c3afc100654ad039ebcbb37c74ee942ee809f 19:12:25 $ docker rm -f --volumes ea9e55a3af6e0316a11853873a4c3afc100654ad039ebcbb37c74ee942ee809f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:26 + docker inspect -f . ci-base-image-arm64 19:12:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:26 prd-ubuntu20.04-docker-arm64-4c-16g-16876 does not seem to be running inside a container 19:12:26 $ 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 19:12:27 $ docker top d8cf7282f6ca1242fc3babb57a1c5170b1695dae796c13dee48db36b9b4c1f17 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:28 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 19:12:28 + make test 19:12:29 go test ./... -coverprofile=coverage.out 19:12:35 ? github.com/edgexfoundry/device-uart [no test files] 19:14:12 ? github.com/edgexfoundry/device-uart/cmd [no test files] 19:14:12 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 19:14:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:14:12 go vet ./... 19:14:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:14:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:14:30 ./bin/test-attribution-txt.sh [Pipeline] echo 19:14:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:14:30 $ docker stop --time=1 d8cf7282f6ca1242fc3babb57a1c5170b1695dae796c13dee48db36b9b4c1f17 19:14:32 $ docker rm -f --volumes d8cf7282f6ca1242fc3babb57a1c5170b1695dae796c13dee48db36b9b4c1f17 [Pipeline] // withDockerContainer [Pipeline] sh 19:14:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:14:33 Warning: overwriting stash ‘coverage-report’ 19:14:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:14:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:14:35 + ls -al . 19:14:35 total 148 19:14:35 drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 19:12 . 19:14:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:09 .. 19:14:35 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 19:09 .dockerignore 19:14:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 19:09 .git 19:14:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:09 .github 19:14:35 -rw-rw-r-- 1 jenkins jenkins 343 Nov 7 19:09 .gitignore 19:14:35 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 19:09 .golangci.yml 19:14:35 -rw-rw-r-- 1 jenkins jenkins 9941 Nov 7 19:09 Attribution.txt 19:14:35 -rw-rw-r-- 1 jenkins jenkins 1777 Nov 7 19:09 Dockerfile 19:14:35 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 19:09 GOVERNANCE.md 19:14:35 -rw-rw-r-- 1 jenkins jenkins 675 Nov 7 19:09 Jenkinsfile 19:14:35 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 19:09 LICENSE 19:14:35 -rw-rw-r-- 1 jenkins jenkins 1872 Nov 7 19:09 Makefile 19:14:35 -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 19:09 OWNERS.md 19:14:35 -rw-rw-r-- 1 jenkins jenkins 8892 Nov 7 19:09 README.md 19:14:35 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 19:07 VERSION 19:14:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:09 bin 19:14:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:09 cmd 19:14:35 -rw-r--r-- 1 jenkins jenkins 10 Nov 7 19:12 coverage.out 19:14:35 -rw-rw-r-- 1 jenkins jenkins 3681 Nov 7 19:09 go.mod 19:14:35 -rw-rw-r-- 1 jenkins jenkins 35233 Nov 7 19:09 go.sum 19:14:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:09 internal 19:14:35 -rw-rw-r-- 1 jenkins jenkins 209 Nov 7 19:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:35 + 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=98b52cb3feac3493aab4fba4d557cc49220528f0 --label arch=arm64 --label version=0.0.0 . 19:14:36 Sending build context to Docker daemon 5.656MB 19:14:36 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 19:14:36 Step 2/25 : FROM ${BASE} AS builder 19:14:36 ---> 3d64d98bfd5f 19:14:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:14:37 ---> Running in 7175c72e49fa 19:14:38 Removing intermediate container 7175c72e49fa 19:14:38 ---> 98dc1d0ca198 19:14:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 19:14:38 ---> Running in f4f3bf2977fe 19:14:38 Removing intermediate container f4f3bf2977fe 19:14:38 ---> b9d267773c22 19:14:38 Step 5/25 : ARG ADD_BUILD_TAGS="" 19:14:38 ---> Running in 2246775c0933 19:14:39 Removing intermediate container 2246775c0933 19:14:39 ---> c47f14e553f1 19:14:39 Step 6/25 : WORKDIR /device-uart 19:14:39 ---> Running in 276982d047df 19:14:39 Removing intermediate container 276982d047df 19:14:39 ---> a2e9044ca7a5 19:14:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:14:39 ---> Running in 0a1b4cf1239e 19:14:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:14:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:14:42 OK: 270 MiB in 56 packages 19:14:44 Removing intermediate container 0a1b4cf1239e 19:14:44 ---> 144e0bd2f87d 19:14:44 Step 8/25 : COPY go.mod vendor* ./ 19:14:44 ---> ecd3e03ce2a0 19:14:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:44 ---> Running in 0dbfec0ea56f 19:14:48 Removing intermediate container 0dbfec0ea56f 19:14:48 ---> 12916911ef8c 19:14:48 Step 10/25 : COPY . . 19:14:52 ---> a448a1790e9d 19:14:52 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:14:52 ---> Running in 385cd89c91cb 19:14:53 Removing intermediate container 385cd89c91cb 19:14:53 ---> 5a322824da9b 19:14:53 Step 12/25 : RUN ${MAKE} 19:14:53 ---> Running in 5a9b64bd5fe9 19:14:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.40" -trimpath -mod=readonly -o cmd/device-uart ./cmd 19:16:47 Removing intermediate container 5a9b64bd5fe9 19:16:47 ---> 9b7f18692323 19:16:47 Step 13/25 : FROM alpine:3.18 19:16:47 3.18: Pulling from library/alpine 19:16:47 579b34f0a95b: Pulling fs layer 19:16:47 579b34f0a95b: Verifying Checksum 19:16:47 579b34f0a95b: Download complete 19:16:47 579b34f0a95b: Pull complete 19:16:47 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:16:47 Status: Downloaded newer image for alpine:3.18 19:16:47 ---> 3cc203321400 19:16:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:16:47 ---> Running in b508f089589f 19:16:47 Removing intermediate container b508f089589f 19:16:47 ---> 977e14058cae 19:16:47 Step 15/25 : RUN apk add --update --no-cache dumb-init 19:16:47 ---> Running in 9bdd560420da 19:16:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:16:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:16:47 (1/1) Installing dumb-init (1.2.5-r2) 19:16:47 Executing busybox-1.36.1-r2.trigger 19:16:47 OK: 8 MiB in 16 packages 19:16:47 Removing intermediate container 9bdd560420da 19:16:47 ---> 8f59453506b0 19:16:47 Step 16/25 : WORKDIR / 19:16:47 ---> Running in 5e2d7279f292 19:16:47 Removing intermediate container 5e2d7279f292 19:16:47 ---> 2dca93a0aa18 19:16:47 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 19:16:47 ---> 62e0e06b8138 19:16:47 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 19:16:47 ---> 1bd02586f9a9 19:16:47 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 19:16:47 ---> db57a8b6b154 19:16:47 Step 20/25 : EXPOSE 59995 19:16:47 ---> Running in 9a48b24f2920 19:16:47 Removing intermediate container 9a48b24f2920 19:16:47 ---> 77162e726b28 19:16:47 Step 21/25 : ENTRYPOINT ["/device-uart"] 19:16:47 ---> Running in bddc7bc42cc4 19:16:47 Removing intermediate container bddc7bc42cc4 19:16:47 ---> 53796345b76d 19:16:47 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:16:47 ---> Running in 792ec647b46b 19:16:47 Removing intermediate container 792ec647b46b 19:16:47 ---> 48295d25ddfe 19:16:47 Step 23/25 : LABEL arch=arm64 19:16:47 ---> Running in 1bf838cd918f 19:16:47 Removing intermediate container 1bf838cd918f 19:16:47 ---> 7cbd2e183687 19:16:47 Step 24/25 : LABEL git_sha=98b52cb3feac3493aab4fba4d557cc49220528f0 19:16:47 ---> Running in 008ab62553fb 19:16:47 Removing intermediate container 008ab62553fb 19:16:47 ---> 271645b3302a 19:16:47 Step 25/25 : LABEL version=0.0.0 19:16:47 ---> Running in fe9ca967d487 19:16:47 Removing intermediate container fe9ca967d487 19:16:47 ---> 2966968d89dd 19:16:47 [Warning] One or more build-args [ARCH] were not consumed 19:16:47 Successfully built 2966968d89dd 19:16:47 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:16:48 19:16:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:16:48 arm64: Pulling from edgex-lftools-log-publisher 19:16:48 8998bd30e6a1: Pulling fs layer 19:16:48 04944245beec: Pulling fs layer 19:16:48 699f458cf7ca: Pulling fs layer 19:16:48 765212b225bb: Pulling fs layer 19:16:48 f23df028b6ca: Pulling fs layer 19:16:48 d65c8cfc05b1: Pulling fs layer 19:16:48 2437ff75d9bd: Pulling fs layer 19:16:48 765212b225bb: Waiting 19:16:48 d65c8cfc05b1: Waiting 19:16:49 04944245beec: Verifying Checksum 19:16:49 04944245beec: Download complete 19:16:49 765212b225bb: Verifying Checksum 19:16:49 765212b225bb: Download complete 19:16:49 d65c8cfc05b1: Verifying Checksum 19:16:49 d65c8cfc05b1: Download complete 19:16:49 699f458cf7ca: Verifying Checksum 19:16:49 699f458cf7ca: Download complete 19:16:49 8998bd30e6a1: Verifying Checksum 19:16:49 8998bd30e6a1: Download complete 19:16:52 2437ff75d9bd: Verifying Checksum 19:16:52 2437ff75d9bd: Download complete 19:16:54 8998bd30e6a1: Pull complete 19:16:54 04944245beec: Pull complete 19:16:56 699f458cf7ca: Pull complete 19:16:56 765212b225bb: Pull complete 19:16:57 f23df028b6ca: Pull complete 19:16:57 d65c8cfc05b1: Pull complete 19:17:15 2437ff75d9bd: Pull complete 19:17:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:17:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:16 prd-ubuntu20.04-docker-arm64-4c-16g-16876 does not seem to be running inside a container 19:17:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:17:18 $ docker top 9331be0e6497e852487732e211475220722365d914f32d430ebe1d1872f227af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:19 ---> job-cost.sh 19:17:19 lf-activate-venv: SKIPPING 19:17:19 INFO: No Stack... 19:17:19 INFO: Retrieving Pricing Info for: v3-standard-4 19:17:20 INFO: Archiving Costs [Pipeline] sh 19:17:21 + + catcut /w/workspace/device-uart/1/archives/cost.csv -d, 19:17:21 -f6 [Pipeline] lock 19:17:21 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-31-1-stack-cost] 19:17:21 Resource [jenkins-edgexfoundry-device-uart-PR-31-1-stack-cost] did not exist. Created. 19:17:21 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-31-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:17:22 /w/workspace/device-uart/1@tmp/durable-0c00bbdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:17:23 + echo total: 0.10999999940395355 [Pipeline] stash 19:17:23 Warning: overwriting stash ‘stack-cost’ 19:17:23 Stashed 1 file(s) [Pipeline] } 19:17:23 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-31-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:17:23 $ docker stop --time=1 9331be0e6497e852487732e211475220722365d914f32d430ebe1d1872f227af 19:17:24 $ docker rm -f --volumes 9331be0e6497e852487732e211475220722365d914f32d430ebe1d1872f227af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:17:25 provisioning config files... 19:17:25 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-31@tmp/config15581888998847355121tmp [Pipeline] { [Pipeline] sh 19:17:26 + set +x 19:17:26 + curl -s https://codecov.io/bash 19:17:26 + bash -s -- 19:17:26 19:17:26 _____ _ 19:17:26 / ____| | | 19:17:26 | | ___ __| | ___ ___ _____ __ 19:17:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:17:26 | |___| (_) | (_| | __/ (_| (_) \ V / 19:17:26 \_____\___/ \__,_|\___|\___\___/ \_/ 19:17:26 Bash-1.0.6 19:17:26 19:17:26 19:17:26 ==> git version 2.25.1 found 19:17:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:17:26 Release-Date: 2020-01-08 19:17:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:17:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:17:26 ==> Jenkins CI detected. 19:17:26 current dir:  /w/workspace/edgexfoundry_device-uart_PR-31 19:17:26 project root: . 19:17:26 --> token set from env 19:17:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:17:26 ==> Running gcov in . (disable via -X gcov) 19:17:26 ==> Python coveragepy not found 19:17:26 ==> Searching for coverage reports in: 19:17:26 + . 19:17:26 -> Found 1 reports 19:17:26 ==> Detecting git/mercurial file structure 19:17:26 ==> Reading reports 19:17:26 + ./coverage.out bytes=10 19:17:26 ==> Appending adjustments 19:17:26 https://docs.codecov.io/docs/fixing-reports 19:17:26 + Found adjustments 19:17:26 ==> Gzipping contents 19:17:26 4.0K /tmp/codecov.KotKEo.gz 19:17:26 ==> Uploading reports 19:17:26 url: https://codecov.io 19:17:26 query: branch=PR-31&commit=98b52cb3feac3493aab4fba4d557cc49220528f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-31%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=31&job=&cmd_args= 19:17:26 -> Pinging Codecov 19:17:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-31&commit=98b52cb3feac3493aab4fba4d557cc49220528f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-31%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=31&job=&cmd_args= 19:17:26 -> Uploading to 19:17:26 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/B9AA6E0BBD74AE3A32605C7A7C664919/98b52cb3feac3493aab4fba4d557cc49220528f0/eeaaf8b7-fca6-416e-815b-9ef5d553ca02.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T191726Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3187c7a9c05018576f43dbe272ba733c0971c8aa36a33e22e1693c16d3b339d 19:17:26 % Total % Received % Xferd Average Speed Time Time Time Current 19:17:26 Dload Upload Total Spent Left Speed 19:17:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2481 --:--:-- --:--:-- --:--:-- 2481 19:17:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/98b52cb3feac3493aab4fba4d557cc49220528f0 [Pipeline] } 19:17:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:17:28 + [ -d /w/workspace/edgexfoundry_device-uart_PR-31/archives ] 19:17:28 + ls -al /w/workspace/edgexfoundry_device-uart_PR-31/archives 19:17:28 total 16 19:17:28 drwxr-xr-x 3 root root 4096 Nov 7 19:10 . 19:17:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 19:10 .. 19:17:28 drwxr-xr-x 2 root root 4096 Nov 7 19:10 cost 19:17:28 -rw-r--r-- 1 root root 82 Nov 7 19:10 cost.csv 19:17:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-31/archives 19:17:28 + ls -al /w/workspace/edgexfoundry_device-uart_PR-31/archives 19:17:28 total 16 19:17:28 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 19:10 . 19:17:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 19:10 .. 19:17:28 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 19:10 cost 19:17:28 -rw-r--r-- 1 jenkins jenkins 82 Nov 7 19:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:17:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:17:29 ---> package-listing.sh 19:17:29 ++ facter osfamily 19:17:29 ++ tr '[:upper:]' '[:lower:]' 19:17:30 + OS_FAMILY=debian 19:17:30 + workspace=/w/workspace/edgexfoundry_device-uart_PR-31 19:17:30 + START_PACKAGES=/tmp/packages_start.txt 19:17:30 + END_PACKAGES=/tmp/packages_end.txt 19:17:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:17:30 + PACKAGES=/tmp/packages_start.txt 19:17:30 + '[' /w/workspace/edgexfoundry_device-uart_PR-31 ']' 19:17:30 + PACKAGES=/tmp/packages_end.txt 19:17:30 + case "${OS_FAMILY}" in 19:17:30 + dpkg -l 19:17:30 + grep '^ii' 19:17:30 + '[' -f /tmp/packages_start.txt ']' 19:17:30 + '[' -f /tmp/packages_end.txt ']' 19:17:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:17:30 + '[' /w/workspace/edgexfoundry_device-uart_PR-31 ']' 19:17:30 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-31/archives/ 19:17:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-31/archives/ [Pipeline] echo 19:17:30 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-31/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:17:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:31 prd-ubuntu20.04-docker-8c-8g-16875 does not seem to be running inside a container 19:17:31 $ 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-31/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-31 -v /w/workspace/edgexfoundry_device-uart_PR-31:/w/workspace/edgexfoundry_device-uart_PR-31:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-31@tmp:/w/workspace/edgexfoundry_device-uart_PR-31@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 19:17:31 $ docker top 449633a557d417e38853f60b4aa4b76afdd597a87abe918854a8d57ef9ed61c8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:17:31 + touch /tmp/pre-build-complete [Pipeline] sh 19:17:32 + mkdir -p /var/log/sysstat [Pipeline] sh 19:17:32 + ls /var/log/sa-host 19:17:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:17:32 provisioning config files... 19:17:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-31@tmp/config17791965087557969282tmp [Pipeline] { [Pipeline] echo 19:17:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:17:33 ---> create-netrc.sh [Pipeline] } 19:17:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:17:33 ---> python-tools-install.sh [Pipeline] echo 19:17:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:17:33 ---> sudo-logs.sh 19:17:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:17:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:17:34 ---> job-cost.sh 19:17:34 lf-activate-venv: SKIPPING 19:17:34 DEBUG: total: 0.2199999988079071 19:17:34 INFO: Retrieving Stack Cost... 19:17:34 INFO: Retrieving Pricing Info for: v3-standard-8 19:17:35 INFO: Archiving Costs [Pipeline] echo 19:17:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:17:35 ---> logs-deploy.sh 19:17:35 lf-activate-venv: SKIPPING 19:17:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-31/1 19:17:35 INFO: archiving workspace using pattern(s): 19:17:36 Archives upload complete. 19:17:36 INFO: archiving logs to Nexus