Pull request #63 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92e2326a733f2903df72cb25f03abd09c9e8f46d+613adc0de45787bd800a7a9fb2523a657efd5d33 (3218870d575ed61ca63ef041ecb0fa305453580b) 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-ssh3660075623788671933.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18162172203669061731.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-63/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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9644580417722959815.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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9858888387073585488.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15364569283411568528.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-63/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-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2720267758863935802.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6778 in /w/workspace/edgexfoundry_device-uart_PR-63 [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-63 # 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/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 613adc0de45787bd800a7a9fb2523a657efd5d33 into PR head commit 92e2326a733f2903df72cb25f03abd09c9e8f46d Merge succeeded, producing 92e2326a733f2903df72cb25f03abd09c9e8f46d Checking out Revision 92e2326a733f2903df72cb25f03abd09c9e8f46d (PR-63) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 92e2326a733f2903df72cb25f03abd09c9e8f46d # 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 613adc0de45787bd800a7a9fb2523a657efd5d33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92e2326a733f2903df72cb25f03abd09c9e8f46d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:01:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:01:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:01:38 ========================================================= 19:01:38 EdgeX Global Pipelines Version Info 19:01:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:01:39 ------------------- 19:01:39 stable info: 19:01:39 ------------------- 19:01:39 Commited By: Ginny Guan ginny@iotechsys.com 19:01:39 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 19:01:39 Message: update stable to v1.0.260 19:01:39 ------------------- 19:01:39 experimental info: 19:01:39 ------------------- 19:01:39 Commited By: Ginny Guan ginny@iotechsys.com 19:01:39 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 19:01:39 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-63 [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-63 [Pipeline] echo 19:01:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-63 [Pipeline] echo 19:01:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] echo 19:01:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92e2326 [Pipeline] echo 19:01:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:42 provisioning config files... 19:01:42 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-63@tmp/config5483014375603035202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:42 ---> ****-login.sh 19:01:42 nexus3.edgexfoundry.org:10001 19:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:43 Configure a credential helper to remove this warning. See 19:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:43 19:01:43 Login Succeeded 19:01:43 nexus3.edgexfoundry.org:10002 19:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:43 Configure a credential helper to remove this warning. See 19:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:43 19:01:43 Login Succeeded 19:01:43 nexus3.edgexfoundry.org:10003 19:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:43 Configure a credential helper to remove this warning. See 19:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:43 19:01:43 Login Succeeded 19:01:43 nexus3.edgexfoundry.org:10004 19:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:43 Configure a credential helper to remove this warning. See 19:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:43 19:01:43 Login Succeeded 19:01:43 ****.io 19:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:43 Configure a credential helper to remove this warning. See 19:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:43 19:01:43 Login Succeeded 19:01:43 ---> ****-login.sh ends [Pipeline] } 19:01:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:01:44 + git rev-list -1 --merges 92e2326a733f2903df72cb25f03abd09c9e8f46d~1..92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] echo 19:01:44 -----------> git rev-list -1 --merges 92e2326a733f2903df72cb25f03abd09c9e8f46d~1..92e2326a733f2903df72cb25f03abd09c9e8f46d 92e2326a733f2903df72cb25f03abd09c9e8f46d [false] [Pipeline] sh 19:01:44 + git log --format=format:%s -1 92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] echo 19:01:44 ========================================================= 19:01:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:01:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:45 + git log --format=format:%s -1 92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] echo 19:01:45 [semverPrep] GIT_COMMIT: 92e2326a733f2903df72cb25f03abd09c9e8f46d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 19:01:45 [semverPrep] This is not a build commit. [Pipeline] sh 19:01:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:01:45 + grep -v github /etc/ssh/ssh_known_hosts 19:01:45 + [ -e /tmp/ssh_known_hosts ] 19:01:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:01:45 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 19:01:45 -a /etc/ssh/ssh_known_hosts 19:01:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:46 19:01:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:46 0.1.4: Pulling from edgex-devops/py-git-semver 19:01:46 b85a868b505f: Pulling fs layer 19:01:46 e2be974225ed: Pulling fs layer 19:01:46 339a4e72a1f5: Pulling fs layer 19:01:46 988bab9f4d93: Pulling fs layer 19:01:46 1469e6f7b9e6: Pulling fs layer 19:01:46 eaf3925da568: Pulling fs layer 19:01:46 bab4dde63d76: Pulling fs layer 19:01:46 bde34c3a00c8: Pulling fs layer 19:01:46 b352a97aabf1: Pulling fs layer 19:01:46 4872d77fe225: Pulling fs layer 19:01:46 5851b861e8e6: Pulling fs layer 19:01:46 b352a97aabf1: Waiting 19:01:46 bde34c3a00c8: Waiting 19:01:46 eaf3925da568: Waiting 19:01:46 4872d77fe225: Waiting 19:01:46 5851b861e8e6: Waiting 19:01:46 bab4dde63d76: Waiting 19:01:46 1469e6f7b9e6: Waiting 19:01:46 e2be974225ed: Verifying Checksum 19:01:46 e2be974225ed: Download complete 19:01:46 988bab9f4d93: Download complete 19:01:47 339a4e72a1f5: Verifying Checksum 19:01:47 339a4e72a1f5: Download complete 19:01:47 1469e6f7b9e6: Verifying Checksum 19:01:47 1469e6f7b9e6: Download complete 19:01:47 eaf3925da568: Verifying Checksum 19:01:47 eaf3925da568: Download complete 19:01:47 bde34c3a00c8: Verifying Checksum 19:01:47 bde34c3a00c8: Download complete 19:01:47 b352a97aabf1: Verifying Checksum 19:01:47 b352a97aabf1: Download complete 19:01:47 4872d77fe225: Verifying Checksum 19:01:47 4872d77fe225: Download complete 19:01:47 5851b861e8e6: Verifying Checksum 19:01:47 5851b861e8e6: Download complete 19:01:47 b85a868b505f: Verifying Checksum 19:01:47 b85a868b505f: Download complete 19:01:47 bab4dde63d76: Verifying Checksum 19:01:47 bab4dde63d76: Download complete 19:01:48 b85a868b505f: Pull complete 19:01:48 e2be974225ed: Pull complete 19:01:48 339a4e72a1f5: Pull complete 19:01:48 988bab9f4d93: Pull complete 19:01:49 1469e6f7b9e6: Pull complete 19:01:49 eaf3925da568: Pull complete 19:01:51 bab4dde63d76: Pull complete 19:01:51 bde34c3a00c8: Pull complete 19:01:51 b352a97aabf1: Pull complete 19:01:51 4872d77fe225: Pull complete 19:01:51 5851b861e8e6: Pull complete 19:01:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:01:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:51 prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container 19:01:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:01:54 $ docker top b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b -eo pid,comm 19:01:54 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:01:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:01:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:54 [ssh-agent] Looking for ssh-agent implementation... 19:01:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:54 $ docker exec b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b ssh-agent 19:01:54 SSH_AUTH_SOCK=/tmp/ssh-46BuZliT5GSo/agent.32 19:01:54 SSH_AGENT_PID=38 19:01:54 Running ssh-add (command line suppressed) 19:01:54 Identity added: /w/workspace/edgexfoundry_device-uart_PR-63@tmp/private_key_9661934462048243455.key (/w/workspace/edgexfoundry_device-uart_PR-63@tmp/private_key_9661934462048243455.key) 19:01:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:54 + git tag --points-at HEAD [Pipeline] } 19:01:54 $ docker exec --env ******** --env ******** b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b ssh-agent -k 19:01:55 unset SSH_AUTH_SOCK; 19:01:55 unset SSH_AGENT_PID; 19:01:55 echo Agent pid 38 killed; 19:01:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:01:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:55 [ssh-agent] Looking for ssh-agent implementation... 19:01:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:55 $ docker exec b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b ssh-agent 19:01:55 SSH_AUTH_SOCK=/tmp/ssh-M6dIjoAXdiel/agent.72 19:01:55 SSH_AGENT_PID=78 19:01:55 Running ssh-add (command line suppressed) 19:01:55 Identity added: /w/workspace/edgexfoundry_device-uart_PR-63@tmp/private_key_14938937991550089665.key (/w/workspace/edgexfoundry_device-uart_PR-63@tmp/private_key_14938937991550089665.key) 19:01:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:55 + git semver init 19:01:56 2024-07-30 19:01:56,076 [run_init] DEBUG init version:0.0.0 force:False 19:01:56 2024-07-30 19:01:56,077 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-63/.semver 19:01:56 2024-07-30 19:01:56,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-63/.semver 19:01:56 2024-07-30 19:01:56,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-63/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-63, universal_newlines=False, shell=None, istream=None) 19:01:57 2024-07-30 19:01:57,207 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-63/.git/info/exclude 19:01:57 2024-07-30 19:01:57,208 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-63/.semver/PR-63 with force:False 19:01:57 2024-07-30 19:01:57,208 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-63/.semver/PR-63 19:01:57 2024-07-30 19:01:57,212 [execute] INFO git cat-file --batch-check 19:01:57 2024-07-30 19:01:57,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-63/.semver, universal_newlines=False, shell=None, istream=) 19:01:57 2024-07-30 19:01:57,219 [execute] INFO git cat-file --batch 19:01:57 2024-07-30 19:01:57,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-63/.semver, universal_newlines=False, shell=None, istream=) 19:01:57 2024-07-30 19:01:57,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-63/.semver/PR-63 19:01:57 0.0.0 [Pipeline] } 19:01:57 $ docker exec --env ******** --env ******** b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b ssh-agent -k 19:01:57 unset SSH_AUTH_SOCK; 19:01:57 unset SSH_AGENT_PID; 19:01:57 echo Agent pid 78 killed; 19:01:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:01:58 + git semver [Pipeline] } 19:01:58 $ docker stop --time=1 b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b 19:01:59 $ docker rm -f --volumes b0fccfb5ea0f4b8bad87b5b0a169eaac6bcbdf06d7fae40c2f00a2a9dcd9519b [Pipeline] // withDockerContainer [Pipeline] sh 19:02:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:02:00 Stashed 1 file(s) [Pipeline] echo 19:02:00 [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:02:01 provisioning config files... 19:02:01 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-63@tmp/config14782207446405478987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:01 ---> ****-login.sh 19:02:01 nexus3.edgexfoundry.org:10001 19:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:02:01 Configure a credential helper to remove this warning. See 19:02:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:02:01 19:02:01 Login Succeeded 19:02:01 nexus3.edgexfoundry.org:10002 19:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:02:01 Configure a credential helper to remove this warning. See 19:02:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:02:01 19:02:01 Login Succeeded 19:02:01 nexus3.edgexfoundry.org:10003 19:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:02:02 Configure a credential helper to remove this warning. See 19:02:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:02:02 19:02:02 Login Succeeded 19:02:02 nexus3.edgexfoundry.org:10004 19:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:02:02 Configure a credential helper to remove this warning. See 19:02:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:02:02 19:02:02 Login Succeeded 19:02:02 ****.io 19:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:02:02 Configure a credential helper to remove this warning. See 19:02:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:02:02 19:02:02 Login Succeeded 19:02:02 ---> ****-login.sh ends [Pipeline] } 19:02:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:02:02 ========================================================= 19:02:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:02:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:03 + 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:02:03 Sending build context to Docker daemon 25.54MB 19:02:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:02:03 Step 2/12 : FROM ${BASE} AS builder 19:02:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:02:03 619be1103602: Pulling fs layer 19:02:03 7862e08f4a3e: Pulling fs layer 19:02:03 5df492c9dc93: Pulling fs layer 19:02:03 7629e6793208: Pulling fs layer 19:02:03 4f4fb700ef54: Pulling fs layer 19:02:03 fb5054dd5b73: Pulling fs layer 19:02:03 eeca6798cff9: Pulling fs layer 19:02:03 aa269ceb94a6: Pulling fs layer 19:02:03 ada007ff1a6a: Pulling fs layer 19:02:03 eeca6798cff9: Waiting 19:02:03 7629e6793208: Waiting 19:02:03 4f4fb700ef54: Waiting 19:02:03 fb5054dd5b73: Waiting 19:02:03 ada007ff1a6a: Waiting 19:02:03 aa269ceb94a6: Waiting 19:02:03 7862e08f4a3e: Verifying Checksum 19:02:03 7862e08f4a3e: Download complete 19:02:03 7629e6793208: Verifying Checksum 19:02:03 7629e6793208: Download complete 19:02:03 4f4fb700ef54: Verifying Checksum 19:02:03 4f4fb700ef54: Download complete 19:02:03 619be1103602: Verifying Checksum 19:02:03 619be1103602: Download complete 19:02:03 fb5054dd5b73: Verifying Checksum 19:02:03 fb5054dd5b73: Download complete 19:02:03 eeca6798cff9: Verifying Checksum 19:02:03 eeca6798cff9: Download complete 19:02:03 619be1103602: Pull complete 19:02:03 7862e08f4a3e: Pull complete 19:02:03 ada007ff1a6a: Verifying Checksum 19:02:03 ada007ff1a6a: Download complete 19:02:03 5df492c9dc93: Verifying Checksum 19:02:03 5df492c9dc93: Download complete 19:02:04 aa269ceb94a6: Verifying Checksum 19:02:04 aa269ceb94a6: Download complete 19:02:06 5df492c9dc93: Pull complete 19:02:06 7629e6793208: Pull complete 19:02:06 4f4fb700ef54: Pull complete 19:02:06 fb5054dd5b73: Pull complete 19:02:07 eeca6798cff9: Pull complete 19:02:09 aa269ceb94a6: Pull complete 19:02:09 ada007ff1a6a: Pull complete 19:02:09 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 19:02:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:02:09 ---> f489d0715acc 19:02:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:02:12 ---> Running in 0688b0ddc9ef 19:02:12 Removing intermediate container 0688b0ddc9ef 19:02:12 ---> bd85cbced90d 19:02:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:02:12 ---> Running in 5f7637efab09 19:02:12 Removing intermediate container 5f7637efab09 19:02:12 ---> 980965db8522 19:02:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:02:12 ---> Running in 2ca90a1e2173 19:02:12 Removing intermediate container 2ca90a1e2173 19:02:12 ---> 3881ac01cb21 19:02:12 Step 6/12 : WORKDIR /device-uart 19:02:12 ---> Running in a66579fe6d1d 19:02:12 Removing intermediate container a66579fe6d1d 19:02:12 ---> 039753a18b12 19:02:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:12 ---> Running in 2cc8a9fa01fd 19:02:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:02:13 (1/4) Installing openssh-keygen (9.3_p2-r2) 19:02:13 (2/4) Installing libedit (20221030.3.1-r1) 19:02:13 (3/4) Installing openssh-client-common (9.3_p2-r2) 19:02:13 (4/4) Installing openssh-client-default (9.3_p2-r2) 19:02:13 Executing busybox-1.36.1-r5.trigger 19:02:13 OK: 268 MiB in 56 packages 19:02:13 Removing intermediate container 2cc8a9fa01fd 19:02:13 ---> 1c6419851ec3 19:02:13 Step 8/12 : COPY go.mod vendor* ./ 19:02:13 ---> e128fb118dfa 19:02:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:13 ---> Running in 15e028638d80 19:02:16 Still waiting to schedule task 19:02:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:03:00 Removing intermediate container 15e028638d80 19:03:00 ---> 6ba272c5ac4c 19:03:00 Step 10/12 : COPY . . 19:03:00 ---> a29b2d483dd9 19:03:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:03:00 ---> Running in 2444868f4464 19:03:00 Removing intermediate container 2444868f4464 19:03:00 ---> b549f2d64a33 19:03:00 Step 12/12 : RUN ${MAKE} 19:03:00 ---> Running in ea2fd4b9a127 19:03:00 noop 19:03:00 Removing intermediate container ea2fd4b9a127 19:03:00 ---> 20d045b380b1 19:03:00 Successfully built 20d045b380b1 19:03:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:01 + docker inspect -f . ci-base-image-x86_64 19:03:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:01 prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container 19:03:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:03:01 $ docker top 2d189e5bf38edeb57ef2d657f54040ab657f289d4ff96447bf56f710ba567dc3 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:02 + go version 19:03:02 go version go1.21.9 linux/amd64 [Pipeline] } 19:03:02 $ docker stop --time=1 2d189e5bf38edeb57ef2d657f54040ab657f289d4ff96447bf56f710ba567dc3 19:03:03 $ docker rm -f --volumes 2d189e5bf38edeb57ef2d657f54040ab657f289d4ff96447bf56f710ba567dc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:04 + docker inspect -f . ci-base-image-x86_64 19:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:04 prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container 19:03:04 $ 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-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:03:04 $ docker top c442be1f9509f0088601f876aa85e10385d1b99e897dcad7418ec8518c5304b8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-63 [Pipeline] fileExists [Pipeline] sh 19:03:05 + make test 19:03:05 go test ./... -coverprofile=coverage.out 19:03:06 ? github.com/edgexfoundry/device-uart [no test files] 19:03:25 ? github.com/edgexfoundry/device-uart/cmd [no test files] 19:03:25 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 19:03:35 go vet ./... 19:03:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:03:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:03:41 ./bin/test-attribution-txt.sh 19:03:41 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 19:03:41 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 19:03:41 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 19:03:41 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 19:03:41 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 19:03:41 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 19:03:41 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 19:03:41 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 19:03:41 An attribution for golang.org/x/term is missing from Attribution.txt, please add 19:03:41 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 19:03:41 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 19:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:03:41 $ docker stop --time=1 c442be1f9509f0088601f876aa85e10385d1b99e897dcad7418ec8518c5304b8 19:03:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6779 in /w/workspace/edgexfoundry_device-uart_PR-63 19:03:43 $ docker rm -f --volumes c442be1f9509f0088601f876aa85e10385d1b99e897dcad7418ec8518c5304b8 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 19:03:44 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 19:03:44 + sudo chown -R jenkins:jenkins . 19:03:47 The recommended git tool is: git [Pipeline] stash 19:03:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:03:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:03:48 + ls -al . 19:03:48 total 224 19:03:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 19:03 . 19:03:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 19:01 .. 19:03:48 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 19:01 .dockerignore 19:03:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 19:03 .git 19:03:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:01 .github 19:03:48 -rw-rw-r-- 1 jenkins jenkins 343 Jul 30 19:01 .gitignore 19:03:48 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 19:01 .golangci.yml 19:03:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 19:01 .semver 19:03:48 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 30 19:01 Attribution.txt 19:03:48 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 30 19:01 CHANGELOG.md 19:03:48 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 30 19:01 Dockerfile 19:03:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 19:01 GOVERNANCE.md 19:03:48 -rw-rw-r-- 1 jenkins jenkins 675 Jul 30 19:01 Jenkinsfile 19:03:48 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 19:01 LICENSE 19:03:48 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 30 19:01 Makefile 19:03:48 -rw-rw-r-- 1 jenkins jenkins 617 Jul 30 19:01 OWNERS.md 19:03:48 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 30 19:01 README.md 19:03:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 19:02 VERSION 19:03:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 19:01 bin 19:03:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:01 cmd 19:03:48 -rw-r--r-- 1 jenkins jenkins 10 Jul 30 19:03 coverage.out 19:03:48 -rw-rw-r-- 1 jenkins jenkins 6964 Jul 30 19:01 go.mod 19:03:48 -rw-rw-r-- 1 jenkins jenkins 101892 Jul 30 19:01 go.sum 19:03:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:01 internal 19:03:48 -rw-rw-r-- 1 jenkins jenkins 209 Jul 30 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:48 + 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=92e2326a733f2903df72cb25f03abd09c9e8f46d --label arch=amd64 --label version=0.0.0 . 19:03:48 Sending build context to Docker daemon 25.54MB 19:03:48 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:03:48 Step 2/26 : FROM ${BASE} AS builder 19:03:48 ---> 20d045b380b1 19:03:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:03:48 ---> Running in 35cb5f582ce8 19:03:48 Removing intermediate container 35cb5f582ce8 19:03:48 ---> de00df2a40d2 19:03:48 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:03:48 ---> Running in e23b865ffaa9 19:03:48 Removing intermediate container e23b865ffaa9 19:03:48 ---> 5e499fbd8657 19:03:48 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:03:48 ---> Running in 8c9543a026d0 19:03:49 Removing intermediate container 8c9543a026d0 19:03:49 ---> 724e83794b0e 19:03:49 Step 6/26 : WORKDIR /device-uart 19:03:49 ---> Running in 704251b32f6d 19:03:49 Removing intermediate container 704251b32f6d 19:03:49 ---> 3c68780bf9a7 19:03:49 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:03:49 ---> Running in e42fbaf48eb5 19:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:03:50 OK: 268 MiB in 56 packages 19:03:50 Removing intermediate container e42fbaf48eb5 19:03:50 ---> 5f2fb2a520c7 19:03:50 Step 8/26 : COPY go.mod vendor* ./ 19:03:50 ---> cf66e31a523b 19:03:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:50 ---> Running in 0861f4d6b507 19:03:51 Removing intermediate container 0861f4d6b507 19:03:51 ---> afc3257f0a45 19:03:51 Step 10/26 : COPY . . 19:03:51 ---> fe3d2c15b4f3 19:03:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:03:51 ---> Running in ef7b9beabedf 19:03:51 Removing intermediate container ef7b9beabedf 19:03:51 ---> 6d8f6e51a8df 19:03:51 Step 12/26 : RUN ${MAKE} 19:03:51 ---> Running in b91d61e6896b 19:03:51 using credential edgex-jenkins-ssh 19:03:51 Cloning the remote Git repository 19:03:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd 19:03:51 Cloning repository git@github.com:edgexfoundry/device-uart.git 19:03:51 > git init /w/workspace/device-uart/1 # timeout=10 19:03:51 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 19:03:51 > git --version # timeout=10 19:03:51 > git --version # 'git version 2.25.1' 19:03:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:54 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 19:03:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:55 Merging remotes/origin/main commit 613adc0de45787bd800a7a9fb2523a657efd5d33 into PR head commit 92e2326a733f2903df72cb25f03abd09c9e8f46d 19:03:55 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 19:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 19:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:03:55 > git config core.sparsecheckout # timeout=10 19:03:55 > git checkout -f 92e2326a733f2903df72cb25f03abd09c9e8f46d # timeout=10 19:03:55 > git remote # timeout=10 19:03:55 Merge succeeded, producing 92e2326a733f2903df72cb25f03abd09c9e8f46d 19:03:55 Checking out Revision 92e2326a733f2903df72cb25f03abd09c9e8f46d (PR-63) 19:03:56 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 19:03:56 > git --version # timeout=10 19:03:56 > git --version # 'git version 2.25.1' 19:03:56 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 19:03:55 > git config --get remote.origin.url # timeout=10 19:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:55 > git merge 613adc0de45787bd800a7a9fb2523a657efd5d33 # timeout=10 19:03:55 > git rev-parse HEAD^{commit} # timeout=10 19:03:55 > git config core.sparsecheckout # timeout=10 19:03:55 > git checkout -f 92e2326a733f2903df72cb25f03abd09c9e8f46d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:04:01 % Total % Received % Xferd Average Speed Time Time Time Current 19:04:01 Dload Upload Total Spent Left Speed 19:04:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 47687 0 --:--:-- --:--:-- --:--:-- 47687 [Pipeline] sh 19:04:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:04:02 + sudo tee /etc/docker/daemon.new 19:04:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:04:02 { 19:04:02 "registry-mirrors": [ 19:04:02 "https://nexus3.edgexfoundry.org:10001" 19:04:02 ], 19:04:02 "bip": "10.250.0.254/24", 19:04:02 "hosts": [ 19:04:02 "tcp://0.0.0.0:5555", 19:04:02 "unix:///var/run/docker.sock" 19:04:02 ], 19:04:02 "mtu": 1458, 19:04:02 "selinux-enabled": true, 19:04:02 "seccomp-profile": "/etc/docker/seccomp.json" 19:04:02 } [Pipeline] sh 19:04:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:04:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:21 provisioning config files... 19:04:21 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config6168310236882804437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:21 ---> ****-login.sh 19:04:21 nexus3.edgexfoundry.org:10001 19:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:04:22 Configure a credential helper to remove this warning. See 19:04:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:04:22 19:04:22 Login Succeeded 19:04:22 nexus3.edgexfoundry.org:10002 19:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:04:22 Configure a credential helper to remove this warning. See 19:04:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:04:22 19:04:22 Login Succeeded 19:04:22 nexus3.edgexfoundry.org:10003 19:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:04:23 Configure a credential helper to remove this warning. See 19:04:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:04:23 19:04:23 Login Succeeded 19:04:23 nexus3.edgexfoundry.org:10004 19:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:04:23 Configure a credential helper to remove this warning. See 19:04:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:04:23 19:04:23 Login Succeeded 19:04:23 ****.io 19:04:23 Removing intermediate container b91d61e6896b 19:04:23 ---> 02ba3de8b2a7 19:04:23 Step 13/26 : FROM alpine:3.18 19:04:23 3.18: Pulling from library/alpine 19:04:23 930bdd4d222e: Pulling fs layer 19:04:23 930bdd4d222e: Verifying Checksum 19:04:23 930bdd4d222e: Download complete 19:04:23 930bdd4d222e: Pull complete 19:04:23 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 19:04:23 Status: Downloaded newer image for alpine:3.18 19:04:23 ---> 18f865063206 19:04:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:04:23 ---> Running in fbb4df4a5fdf 19:04:23 Removing intermediate container fbb4df4a5fdf 19:04:23 ---> 8abeb0e114da 19:04:23 Step 15/26 : RUN apk add --update --no-cache dumb-init 19:04:23 ---> Running in f5d09f400a26 19:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:04:23 (1/1) Installing dumb-init (1.2.5-r2) 19:04:23 Executing busybox-1.36.1-r7.trigger 19:04:23 OK: 7 MiB in 16 packages 19:04:23 Removing intermediate container f5d09f400a26 19:04:23 ---> 474a4495e7b4 19:04:23 Step 16/26 : RUN apk --no-cache upgrade 19:04:23 ---> Running in 9c7ea9cf245c 19:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:04:23 OK: 7 MiB in 16 packages 19:04:23 Removing intermediate container 9c7ea9cf245c 19:04:23 ---> af9dc55abf7c 19:04:23 Step 17/26 : WORKDIR / 19:04:23 ---> Running in e5db4543fe3f 19:04:23 Removing intermediate container e5db4543fe3f 19:04:23 ---> 19288fbfeab2 19:04:23 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 19:04:23 ---> 5ca18819fab6 19:04:23 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 19:04:23 ---> 57363b86d612 19:04:23 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 19:04:23 ---> ab3d59abbbbb 19:04:23 Step 21/26 : EXPOSE 59995 19:04:23 ---> Running in eab141ccbd56 19:04:23 Removing intermediate container eab141ccbd56 19:04:23 ---> 1ba763370ae3 19:04:23 Step 22/26 : ENTRYPOINT ["/device-uart"] 19:04:23 ---> Running in c8c5e48d1616 19:04:23 Removing intermediate container c8c5e48d1616 19:04:23 ---> e8a36ad89b79 19:04:23 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:04:23 ---> Running in 69e18304b3f0 19:04:23 Removing intermediate container 69e18304b3f0 19:04:23 ---> b2788389dd51 19:04:23 Step 24/26 : LABEL arch=amd64 19:04:23 ---> Running in 7f74fa5f2687 19:04:23 Removing intermediate container 7f74fa5f2687 19:04:23 ---> 790bd9e6856d 19:04:23 Step 25/26 : LABEL git_sha=92e2326a733f2903df72cb25f03abd09c9e8f46d 19:04:23 ---> Running in e2f47e3164f2 19:04:23 Removing intermediate container e2f47e3164f2 19:04:23 ---> 4bcad32dd2d7 19:04:23 Step 26/26 : LABEL version=0.0.0 19:04:23 ---> Running in f7ff06746fea 19:04:23 Removing intermediate container f7ff06746fea 19:04:23 ---> c52480bfd2cd 19:04:23 [Warning] One or more build-args [ARCH] were not consumed 19:04:23 Successfully built c52480bfd2cd 19:04:23 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv 19:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } 19:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:04:24 Configure a credential helper to remove this warning. See 19:04:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:04:24 19:04:24 Login Succeeded 19:04:24 ---> ****-login.sh ends [Pipeline] // stage [Pipeline] } 19:04:24 Deleting 1 temporary files [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 19:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:04:24 ========================================================= 19:04:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:04:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 19:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:25 19:04:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 19:04:25 + 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:04:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:25 latest: Pulling from edgex-lftools-log-publisher 19:04:25 5eb5b503b376: Pulling fs layer 19:04:25 5c69ac0246d0: Pulling fs layer 19:04:25 ec43610c2a17: Pulling fs layer 19:04:25 3a2ae6a8a46f: Pulling fs layer 19:04:25 33b1e0a273af: Pulling fs layer 19:04:25 5d3b04190fa2: Pulling fs layer 19:04:25 2f39f015ded8: Pulling fs layer 19:04:25 3a2ae6a8a46f: Waiting 19:04:25 33b1e0a273af: Waiting 19:04:25 5d3b04190fa2: Waiting 19:04:25 2f39f015ded8: Waiting 19:04:25 5c69ac0246d0: Verifying Checksum 19:04:25 5c69ac0246d0: Download complete 19:04:25 3a2ae6a8a46f: Verifying Checksum 19:04:25 3a2ae6a8a46f: Download complete 19:04:25 33b1e0a273af: Verifying Checksum 19:04:25 33b1e0a273af: Download complete 19:04:25 5d3b04190fa2: Verifying Checksum 19:04:25 5d3b04190fa2: Download complete 19:04:25 ec43610c2a17: Verifying Checksum 19:04:25 ec43610c2a17: Download complete 19:04:25 5eb5b503b376: Verifying Checksum 19:04:25 5eb5b503b376: Download complete 19:04:26 Sending build context to Docker daemon 12.84MB 19:04:26 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:04:26 Step 2/12 : FROM ${BASE} AS builder 19:04:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:04:26 c6b39de5b339: Pulling fs layer 19:04:26 a69c41024577: Pulling fs layer 19:04:26 d6de4b400683: Pulling fs layer 19:04:26 35cb2a7552d0: Pulling fs layer 19:04:26 4f4fb700ef54: Pulling fs layer 19:04:26 464afbd9ba4c: Pulling fs layer 19:04:26 00f215d4a9da: Pulling fs layer 19:04:26 d496ad576159: Pulling fs layer 19:04:26 4f4fb700ef54: Waiting 19:04:26 464afbd9ba4c: Waiting 19:04:26 00f215d4a9da: Waiting 19:04:26 d496ad576159: Waiting 19:04:26 35cb2a7552d0: Waiting 19:04:26 a69c41024577: Verifying Checksum 19:04:26 a69c41024577: Download complete 19:04:26 35cb2a7552d0: Verifying Checksum 19:04:26 35cb2a7552d0: Download complete 19:04:26 4f4fb700ef54: Download complete 19:04:26 c6b39de5b339: Verifying Checksum 19:04:26 c6b39de5b339: Download complete 19:04:26 464afbd9ba4c: Verifying Checksum 19:04:26 464afbd9ba4c: Download complete 19:04:26 2f39f015ded8: Download complete 19:04:26 d496ad576159: Verifying Checksum 19:04:26 d496ad576159: Download complete 19:04:26 5eb5b503b376: Pull complete 19:04:26 5c69ac0246d0: Pull complete 19:04:27 c6b39de5b339: Pull complete 19:04:27 ec43610c2a17: Pull complete 19:04:27 3a2ae6a8a46f: Pull complete 19:04:27 33b1e0a273af: Pull complete 19:04:27 5d3b04190fa2: Pull complete 19:04:27 a69c41024577: Pull complete 19:04:28 d6de4b400683: Verifying Checksum 19:04:28 d6de4b400683: Download complete 19:04:29 00f215d4a9da: Download complete 19:04:31 2f39f015ded8: Pull complete 19:04:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:32 prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container 19:04:32 $ 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-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:04:33 $ docker top ca81abc5885202ee3192bf1fe9839530b659115a3a4b792bb28284780e9fc605 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:33 ---> job-cost.sh 19:04:33 lf-activate-venv: SKIPPING 19:04:33 INFO: No Stack... 19:04:34 INFO: Retrieving Pricing Info for: v3-standard-8 19:04:34 INFO: Archiving Costs [Pipeline] sh 19:04:34 + cat /w/workspace/edgexfoundry_device-uart_PR-63/archives/cost.csv 19:04:34 + cut -d, -f6 [Pipeline] lock 19:04:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] 19:04:34 Resource [jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] did not exist. Created. 19:04:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:04:35 + echo total: 0.2199999988079071 [Pipeline] stash 19:04:35 Stashed 1 file(s) [Pipeline] } 19:04:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:04:35 $ docker stop --time=1 ca81abc5885202ee3192bf1fe9839530b659115a3a4b792bb28284780e9fc605 19:04:36 $ docker rm -f --volumes ca81abc5885202ee3192bf1fe9839530b659115a3a4b792bb28284780e9fc605 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:04:41 d6de4b400683: Pull complete 19:04:41 35cb2a7552d0: Pull complete 19:04:41 4f4fb700ef54: Pull complete 19:04:41 464afbd9ba4c: Pull complete 19:04:51 00f215d4a9da: Pull complete 19:04:51 d496ad576159: Pull complete 19:04:51 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 19:04:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:04:51 ---> f246e2811388 19:04:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:04:52 ---> Running in 956aa7c32740 19:04:52 Removing intermediate container 956aa7c32740 19:04:52 ---> 56063ee941aa 19:04:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:04:52 ---> Running in f17c9e6c0842 19:04:53 Removing intermediate container f17c9e6c0842 19:04:53 ---> 6a7169c54061 19:04:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:04:53 ---> Running in 93e8c83c5622 19:04:53 Removing intermediate container 93e8c83c5622 19:04:53 ---> 774cb7d28113 19:04:53 Step 6/12 : WORKDIR /device-uart 19:04:53 ---> Running in 5d8e4671ec28 19:04:54 Removing intermediate container 5d8e4671ec28 19:04:54 ---> 90a1847ce3ac 19:04:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:54 ---> Running in 71f420649737 19:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:04:56 (1/4) Installing openssh-keygen (9.3_p2-r2) 19:04:56 (2/4) Installing libedit (20221030.3.1-r1) 19:04:56 (3/4) Installing openssh-client-common (9.3_p2-r2) 19:04:56 (4/4) Installing openssh-client-default (9.3_p2-r2) 19:04:56 Executing busybox-1.36.1-r5.trigger 19:04:56 OK: 271 MiB in 56 packages 19:04:57 Removing intermediate container 71f420649737 19:04:57 ---> 4ab1b992a444 19:04:57 Step 8/12 : COPY go.mod vendor* ./ 19:04:58 ---> 50bd98b22ec4 19:04:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:58 ---> Running in 86f6d42a2ca4 19:06:49 Removing intermediate container 86f6d42a2ca4 19:06:49 ---> c0c01078d507 19:06:49 Step 10/12 : COPY . . 19:06:49 ---> d0631a3a8b8f 19:06:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:06:49 ---> Running in 4ab94b367a3e 19:06:49 Removing intermediate container 4ab94b367a3e 19:06:49 ---> 33f3627dd06f 19:06:49 Step 12/12 : RUN ${MAKE} 19:06:49 ---> Running in a063e8a43472 19:06:49 noop 19:06:49 Removing intermediate container a063e8a43472 19:06:49 ---> cad2b0c5c94d 19:06:49 Successfully built cad2b0c5c94d 19:06:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:50 + docker inspect -f . ci-base-image-arm64 19:06:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:50 prd-ubuntu20.04-docker-arm64-4c-16g-6779 does not seem to be running inside a container 19:06:50 $ 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:06:51 $ docker top c247fc81de3f85374770e5f78a14fe4f2141b9eb8a6f196257b21b260f765c9f -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:52 + go version 19:06:52 go version go1.21.9 linux/arm64 [Pipeline] } 19:06:52 $ docker stop --time=1 c247fc81de3f85374770e5f78a14fe4f2141b9eb8a6f196257b21b260f765c9f 19:06:54 $ docker rm -f --volumes c247fc81de3f85374770e5f78a14fe4f2141b9eb8a6f196257b21b260f765c9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:55 + docker inspect -f . ci-base-image-arm64 19:06:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:55 prd-ubuntu20.04-docker-arm64-4c-16g-6779 does not seem to be running inside a container 19:06:55 $ 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:06:56 $ docker top 5785d65a2985ded18c69dc3f4b55a0b994efe9cfe89b3ed8002ff77f89e5c61a -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:11 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 19:07:11 + make test 19:07:11 go test ./... -coverprofile=coverage.out 19:07:17 ? github.com/edgexfoundry/device-uart [no test files] 19:10:24 ? github.com/edgexfoundry/device-uart/cmd [no test files] 19:10:24 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 19:10:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:10:24 go vet ./... 19:11:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:11:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:11:02 ./bin/test-attribution-txt.sh 19:11:02 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 19:11:02 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 19:11:02 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 19:11:02 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 19:11:02 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 19:11:02 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 19:11:02 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 19:11:02 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 19:11:02 An attribution for golang.org/x/term is missing from Attribution.txt, please add 19:11:02 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 19:11:02 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 19:11:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:11:02 $ docker stop --time=1 5785d65a2985ded18c69dc3f4b55a0b994efe9cfe89b3ed8002ff77f89e5c61a 19:11:04 $ docker rm -f --volumes 5785d65a2985ded18c69dc3f4b55a0b994efe9cfe89b3ed8002ff77f89e5c61a [Pipeline] // withDockerContainer [Pipeline] sh 19:11:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:11:06 Warning: overwriting stash ‘coverage-report’ 19:11:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:11:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:11:07 + ls -al . 19:11:07 total 220 19:11:07 drwxrwxr-x 7 jenkins jenkins 4096 Jul 30 19:07 . 19:11:07 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 19:03 .. 19:11:07 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 19:03 .dockerignore 19:11:07 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 19:04 .git 19:11:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:03 .github 19:11:07 -rw-rw-r-- 1 jenkins jenkins 343 Jul 30 19:03 .gitignore 19:11:07 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 19:03 .golangci.yml 19:11:07 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 30 19:03 Attribution.txt 19:11:07 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 30 19:03 CHANGELOG.md 19:11:07 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 30 19:03 Dockerfile 19:11:07 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 19:03 GOVERNANCE.md 19:11:07 -rw-rw-r-- 1 jenkins jenkins 675 Jul 30 19:03 Jenkinsfile 19:11:07 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 19:03 LICENSE 19:11:07 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 30 19:03 Makefile 19:11:07 -rw-rw-r-- 1 jenkins jenkins 617 Jul 30 19:03 OWNERS.md 19:11:07 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 30 19:03 README.md 19:11:07 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 19:02 VERSION 19:11:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 19:03 bin 19:11:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:03 cmd 19:11:07 -rw-r--r-- 1 jenkins jenkins 10 Jul 30 19:07 coverage.out 19:11:07 -rw-rw-r-- 1 jenkins jenkins 6964 Jul 30 19:03 go.mod 19:11:07 -rw-rw-r-- 1 jenkins jenkins 101892 Jul 30 19:03 go.sum 19:11:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 19:03 internal 19:11:07 -rw-rw-r-- 1 jenkins jenkins 209 Jul 30 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:08 + 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=92e2326a733f2903df72cb25f03abd09c9e8f46d --label arch=arm64 --label version=0.0.0 . 19:11:08 Sending build context to Docker daemon 12.84MB 19:11:08 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:11:08 Step 2/26 : FROM ${BASE} AS builder 19:11:08 ---> cad2b0c5c94d 19:11:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:11:08 ---> Running in 3d9a25aaca6d 19:11:09 Removing intermediate container 3d9a25aaca6d 19:11:09 ---> 53ba185f911c 19:11:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:11:09 ---> Running in ee2202436968 19:11:09 Removing intermediate container ee2202436968 19:11:09 ---> 25b789fcca3e 19:11:09 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:11:09 ---> Running in beddb17ebc00 19:11:09 Removing intermediate container beddb17ebc00 19:11:09 ---> 1bc72e795820 19:11:09 Step 6/26 : WORKDIR /device-uart 19:11:09 ---> Running in 2f9642a63af0 19:11:10 Removing intermediate container 2f9642a63af0 19:11:10 ---> 19c470100992 19:11:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:11:10 ---> Running in c93260bb6b03 19:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:11:12 OK: 271 MiB in 56 packages 19:11:13 Removing intermediate container c93260bb6b03 19:11:13 ---> bf1577b9fb41 19:11:13 Step 8/26 : COPY go.mod vendor* ./ 19:11:14 ---> d6a154e0cf4f 19:11:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:14 ---> Running in d0028180e293 19:11:16 Removing intermediate container d0028180e293 19:11:16 ---> cb3625f791ec 19:11:16 Step 10/26 : COPY . . 19:11:17 ---> 10ef04006a9f 19:11:17 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:11:17 ---> Running in 51626b554ce8 19:11:18 Removing intermediate container 51626b554ce8 19:11:18 ---> 179313af6ab4 19:11:18 Step 12/26 : RUN ${MAKE} 19:11:18 ---> Running in f188c656c598 19:11:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd 19:14:41 Removing intermediate container f188c656c598 19:14:41 ---> 10217d009834 19:14:41 Step 13/26 : FROM alpine:3.18 19:14:41 3.18: Pulling from library/alpine 19:14:41 4983c3fe2029: Pulling fs layer 19:14:41 4983c3fe2029: Verifying Checksum 19:14:41 4983c3fe2029: Download complete 19:14:41 4983c3fe2029: Pull complete 19:14:41 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 19:14:41 Status: Downloaded newer image for alpine:3.18 19:14:41 ---> a0237000ae83 19:14:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:14:41 ---> Running in 1091e77b48e5 19:14:41 Removing intermediate container 1091e77b48e5 19:14:41 ---> 610b22a4fd74 19:14:41 Step 15/26 : RUN apk add --update --no-cache dumb-init 19:14:41 ---> Running in b523ebfdc5b2 19:14:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:14:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:14:41 (1/1) Installing dumb-init (1.2.5-r2) 19:14:41 Executing busybox-1.36.1-r7.trigger 19:14:41 OK: 8 MiB in 16 packages 19:14:41 Removing intermediate container b523ebfdc5b2 19:14:41 ---> ab4929c9107a 19:14:41 Step 16/26 : RUN apk --no-cache upgrade 19:14:41 ---> Running in abb87402ea08 19:14:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:14:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:14:41 OK: 8 MiB in 16 packages 19:14:42 Removing intermediate container abb87402ea08 19:14:42 ---> 1822844c8ece 19:14:42 Step 17/26 : WORKDIR / 19:14:42 ---> Running in 4086f0911103 19:14:42 Removing intermediate container 4086f0911103 19:14:42 ---> bef2c7f3005d 19:14:42 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 19:14:43 ---> df65c36ece5a 19:14:43 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 19:14:44 ---> 209e976efc7f 19:14:44 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 19:14:46 ---> c75c97593c4c 19:14:46 Step 21/26 : EXPOSE 59995 19:14:46 ---> Running in 8cdd70c499ab 19:14:46 Removing intermediate container 8cdd70c499ab 19:14:46 ---> c6f0d970ab17 19:14:46 Step 22/26 : ENTRYPOINT ["/device-uart"] 19:14:46 ---> Running in 9c4dbaa09d40 19:14:46 Removing intermediate container 9c4dbaa09d40 19:14:46 ---> caa6cd6f2b3b 19:14:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:14:46 ---> Running in 8f91e3daff64 19:14:47 Removing intermediate container 8f91e3daff64 19:14:47 ---> 6a5caf92e8be 19:14:47 Step 24/26 : LABEL arch=arm64 19:14:47 ---> Running in fc77343578b4 19:14:47 Removing intermediate container fc77343578b4 19:14:47 ---> 4efa68df3d59 19:14:47 Step 25/26 : LABEL git_sha=92e2326a733f2903df72cb25f03abd09c9e8f46d 19:14:47 ---> Running in 27789539ad4b 19:14:48 Removing intermediate container 27789539ad4b 19:14:48 ---> 3b0793f697ed 19:14:48 Step 26/26 : LABEL version=0.0.0 19:14:48 ---> Running in 41f98ca75ad8 19:14:48 Removing intermediate container 41f98ca75ad8 19:14:48 ---> 58f532f06eb1 19:14:48 [Warning] One or more build-args [ARCH] were not consumed 19:14:48 Successfully built 58f532f06eb1 19:14:48 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:14:49 19:14:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:14:49 arm64: Pulling from edgex-lftools-log-publisher 19:14:49 8998bd30e6a1: Pulling fs layer 19:14:49 04944245beec: Pulling fs layer 19:14:49 699f458cf7ca: Pulling fs layer 19:14:49 765212b225bb: Pulling fs layer 19:14:49 f23df028b6ca: Pulling fs layer 19:14:49 d65c8cfc05b1: Pulling fs layer 19:14:49 2437ff75d9bd: Pulling fs layer 19:14:49 f23df028b6ca: Waiting 19:14:49 d65c8cfc05b1: Waiting 19:14:49 765212b225bb: Waiting 19:14:49 2437ff75d9bd: Waiting 19:14:49 04944245beec: Verifying Checksum 19:14:49 04944245beec: Download complete 19:14:49 765212b225bb: Verifying Checksum 19:14:49 765212b225bb: Download complete 19:14:49 f23df028b6ca: Verifying Checksum 19:14:49 f23df028b6ca: Download complete 19:14:49 d65c8cfc05b1: Verifying Checksum 19:14:49 d65c8cfc05b1: Download complete 19:14:50 699f458cf7ca: Verifying Checksum 19:14:50 699f458cf7ca: Download complete 19:14:50 8998bd30e6a1: Verifying Checksum 19:14:50 8998bd30e6a1: Download complete 19:14:53 2437ff75d9bd: Download complete 19:14:55 8998bd30e6a1: Pull complete 19:14:55 04944245beec: Pull complete 19:14:57 699f458cf7ca: Pull complete 19:14:57 765212b225bb: Pull complete 19:14:58 f23df028b6ca: Pull complete 19:14:58 d65c8cfc05b1: Pull complete 19:15:16 2437ff75d9bd: Pull complete 19:15:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:15:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:15:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:16 prd-ubuntu20.04-docker-arm64-4c-16g-6779 does not seem to be running inside a container 19:15: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:15:19 $ docker top 85e34540b8366f860c1badab846b9951f9befe718635ed7c48e08da600070595 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:15:20 ---> job-cost.sh 19:15:20 lf-activate-venv: SKIPPING 19:15:20 INFO: No Stack... 19:15:20 INFO: Retrieving Pricing Info for: v3-standard-4 19:15:21 INFO: Archiving Costs [Pipeline] sh 19:15:22 + cat /w/workspace/device-uart/1/archives/cost.csv 19:15:22 + cut -d, -f6 [Pipeline] lock 19:15:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] 19:15:22 Resource [jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] did not exist. Created. 19:15:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:15:23 /w/workspace/device-uart/1@tmp/durable-1b399076/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:15:23 + echo total: 0.10999999940395355 [Pipeline] stash 19:15:23 Warning: overwriting stash ‘stack-cost’ 19:15:23 Stashed 1 file(s) [Pipeline] } 19:15:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:15:23 $ docker stop --time=1 85e34540b8366f860c1badab846b9951f9befe718635ed7c48e08da600070595 19:15:25 $ docker rm -f --volumes 85e34540b8366f860c1badab846b9951f9befe718635ed7c48e08da600070595 [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:15:26 provisioning config files... 19:15:26 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-63@tmp/config250116889125597932tmp [Pipeline] { [Pipeline] sh 19:15:26 + set +x 19:15:26 + + curl -s https://codecov.io/bash 19:15:26 bash -s -- 19:15:26 19:15:26 _____ _ 19:15:26 / ____| | | 19:15:26 | | ___ __| | ___ ___ _____ __ 19:15:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:15:26 | |___| (_) | (_| | __/ (_| (_) \ V / 19:15:26 \_____\___/ \__,_|\___|\___\___/ \_/ 19:15:26 Bash-1.0.6 19:15:26 19:15:26 19:15:26 ==> git version 2.25.1 found 19:15: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:15:26 Release-Date: 2020-01-08 19:15: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:15:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:15:26 ==> Jenkins CI detected. 19:15:26 current dir:  /w/workspace/edgexfoundry_device-uart_PR-63 19:15:26 project root: . 19:15:26 --> token set from env 19:15:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:15:26 ==> Running gcov in . (disable via -X gcov) 19:15:26 ==> Python coveragepy not found 19:15:26 ==> Searching for coverage reports in: 19:15:26 + . 19:15:26 -> Found 1 reports 19:15:26 ==> Detecting git/mercurial file structure 19:15:27 ==> Reading reports 19:15:27 + ./coverage.out bytes=10 19:15:27 ==> Appending adjustments 19:15:27 https://docs.codecov.io/docs/fixing-reports 19:15:27 + Found adjustments 19:15:27 ==> Gzipping contents 19:15:27 4.0K /tmp/codecov.vzns7J.gz 19:15:27 ==> Uploading reports 19:15:27 url: https://codecov.io 19:15:27 query: branch=PR-63&commit=92e2326a733f2903df72cb25f03abd09c9e8f46d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-63%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=63&job=&cmd_args= 19:15:27 -> Pinging Codecov 19:15:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-63&commit=92e2326a733f2903df72cb25f03abd09c9e8f46d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-63%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=63&job=&cmd_args= 19:15:27 -> Uploading to 19:15:27 https://storage.googleapis.com/codecov/v4/raw/2024-07-30/B9AA6E0BBD74AE3A32605C7A7C664919/92e2326a733f2903df72cb25f03abd09c9e8f46d/24815281-8e90-40c1-b687-eeafb9905d7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T191527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=579306f1ba93756a28d5e01658efe991d314ac27cbb910817dd433df83b7761c 19:15:27 % Total % Received % Xferd Average Speed Time Time Time Current 19:15:27 Dload Upload Total Spent Left Speed 19:15:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2431 --:--:-- --:--:-- --:--:-- 2431 19:15:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/92e2326a733f2903df72cb25f03abd09c9e8f46d [Pipeline] } 19:15:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:15:29 + [ -d /w/workspace/edgexfoundry_device-uart_PR-63/archives ] 19:15:29 + ls -al /w/workspace/edgexfoundry_device-uart_PR-63/archives 19:15:29 total 16 19:15:29 drwxr-xr-x 3 root root 4096 Jul 30 19:04 . 19:15:29 drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 19:04 .. 19:15:29 drwxr-xr-x 2 root root 4096 Jul 30 19:04 cost 19:15:29 -rw-r--r-- 1 root root 82 Jul 30 19:04 cost.csv 19:15:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-63/archives 19:15:29 + ls -al /w/workspace/edgexfoundry_device-uart_PR-63/archives 19:15:29 total 16 19:15:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 19:04 . 19:15:29 drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 19:04 .. 19:15:29 drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 19:04 cost 19:15:29 -rw-r--r-- 1 jenkins jenkins 82 Jul 30 19:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:15:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:15:31 ---> package-listing.sh 19:15:31 ++ facter osfamily 19:15:31 ++ tr '[:upper:]' '[:lower:]' 19:15:31 + OS_FAMILY=debian 19:15:31 + workspace=/w/workspace/edgexfoundry_device-uart_PR-63 19:15:31 + START_PACKAGES=/tmp/packages_start.txt 19:15:31 + END_PACKAGES=/tmp/packages_end.txt 19:15:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:15:31 + PACKAGES=/tmp/packages_start.txt 19:15:31 + '[' /w/workspace/edgexfoundry_device-uart_PR-63 ']' 19:15:31 + PACKAGES=/tmp/packages_end.txt 19:15:31 + case "${OS_FAMILY}" in 19:15:31 + dpkg -l 19:15:31 + grep '^ii' 19:15:31 + '[' -f /tmp/packages_start.txt ']' 19:15:31 + '[' -f /tmp/packages_end.txt ']' 19:15:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:15:31 + '[' /w/workspace/edgexfoundry_device-uart_PR-63 ']' 19:15:31 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-63/archives/ 19:15:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-63/archives/ [Pipeline] echo 19:15:31 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-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:15:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:15:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:32 prd-ubuntu20.04-docker-8c-8g-6778 does not seem to be running inside a container 19:15:32 $ 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-63/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-63 -v /w/workspace/edgexfoundry_device-uart_PR-63:/w/workspace/edgexfoundry_device-uart_PR-63:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-63@tmp:/w/workspace/edgexfoundry_device-uart_PR-63@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:15:32 $ docker top 5ff0ccf3a2617125287f7050d609c5cc087653f9d06c4d7a968c2023a78f232d -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:33 + touch /tmp/pre-build-complete [Pipeline] sh 19:15:33 + mkdir -p /var/log/sysstat [Pipeline] sh 19:15:34 + ls /var/log/sa-host 19:15:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:15:34 provisioning config files... 19:15:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-63@tmp/config6490830096562761666tmp [Pipeline] { [Pipeline] echo 19:15:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:15:34 ---> create-netrc.sh [Pipeline] } 19:15:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:15:35 ---> python-tools-install.sh [Pipeline] echo 19:15:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:15:35 ---> sudo-logs.sh 19:15:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:15:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:15:36 ---> job-cost.sh 19:15:36 lf-activate-venv: SKIPPING 19:15:36 DEBUG: total: 0.2199999988079071 19:15:36 INFO: Retrieving Stack Cost... 19:15:36 INFO: Retrieving Pricing Info for: v3-standard-8 19:15:36 INFO: Archiving Costs [Pipeline] echo 19:15:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:15:37 ---> logs-deploy.sh 19:15:37 lf-activate-venv: SKIPPING 19:15:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-63/1 19:15:37 INFO: archiving workspace using pattern(s): 19:15:38 Archives upload complete. 19:15:38 INFO: archiving logs to Nexus