Pull request #70 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1d8748bce09ac1a669cda172187fe9bbf4c2fc6+456606cc1479f447ad62a94b16c6a77590d7088f (2735dad0469c8176d9225641bc163a4f5ebca3c2) 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-ssh6091395129806254981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh13209711405181769826.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 f3350a1713306dce7682ed7e37d5774890d03277 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-70/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-70/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8289173484796519122.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-70/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15763567171921796636.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh17569664335018074030.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-70/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-70/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2377742292295066353.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 f3350a1713306dce7682ed7e37d5774890d03277 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-9897 in /w/workspace/edgexfoundry_device-uart_PR-70 [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-70 # 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 Merging remotes/origin/main commit 456606cc1479f447ad62a94b16c6a77590d7088f into PR head commit e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 Merge succeeded, producing e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 Checking out Revision e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 (PR-70) 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 f3350a1713306dce7682ed7e37d5774890d03277 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 # 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 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:34:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:34:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:34:13 ========================================================= 18:34:13 EdgeX Global Pipelines Version Info 18:34:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:34:14 ------------------- 18:34:14 stable info: 18:34:14 ------------------- 18:34:14 Commited By: Cherry Wang cherry@iotechsys.com 18:34:14 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 18:34:14 Message: update stable to v1.0.263 18:34:15 ------------------- 18:34:15 experimental info: 18:34:15 ------------------- 18:34:15 Commited By: Cherry Wang cherry@iotechsys.com 18:34:15 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 18:34:15 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-70 [Pipeline] echo 18:34:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-70 [Pipeline] echo 18:34:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-70 [Pipeline] echo 18:34:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] echo 18:34:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1d8748 [Pipeline] echo 18:34:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:34:17 provisioning config files... 18:34:17 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-70@tmp/config8208351797468668096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:17 ---> ****-login.sh 18:34:17 nexus3.edgexfoundry.org:10001 18:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:18 Configure a credential helper to remove this warning. See 18:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:18 18:34:18 Login Succeeded 18:34:18 nexus3.edgexfoundry.org:10002 18:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:18 Configure a credential helper to remove this warning. See 18:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:18 18:34:18 Login Succeeded 18:34:18 nexus3.edgexfoundry.org:10003 18:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:18 Configure a credential helper to remove this warning. See 18:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:18 18:34:18 Login Succeeded 18:34:18 nexus3.edgexfoundry.org:10004 18:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:18 Configure a credential helper to remove this warning. See 18:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:18 18:34:18 Login Succeeded 18:34:18 ****.io 18:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:18 Configure a credential helper to remove this warning. See 18:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:18 18:34:18 Login Succeeded 18:34:18 ---> ****-login.sh ends [Pipeline] } 18:34:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:34:19 + git rev-list -1 --merges e1d8748bce09ac1a669cda172187fe9bbf4c2fc6~1..e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] echo 18:34:19 -----------> git rev-list -1 --merges e1d8748bce09ac1a669cda172187fe9bbf4c2fc6~1..e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [false] [Pipeline] sh 18:34:20 + git log --format=format:%s -1 e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] echo 18:34:20 ========================================================= 18:34:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:34:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:34:20 + git log --format=format:%s -1 e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] echo 18:34:20 [semverPrep] GIT_COMMIT: e1d8748bce09ac1a669cda172187fe9bbf4c2fc6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:34:20 [semverPrep] This is not a build commit. [Pipeline] sh 18:34:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:34:21 + grep -v github /etc/ssh/ssh_known_hosts 18:34:21 + [ -e /tmp/ssh_known_hosts ] 18:34:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:34:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:34:21 + sudo tee -a /etc/ssh/ssh_known_hosts 18:34:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:34:21 18:34:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:34:22 0.1.4: Pulling from edgex-devops/py-git-semver 18:34:22 b85a868b505f: Pulling fs layer 18:34:22 e2be974225ed: Pulling fs layer 18:34:22 339a4e72a1f5: Pulling fs layer 18:34:22 988bab9f4d93: Pulling fs layer 18:34:22 1469e6f7b9e6: Pulling fs layer 18:34:22 eaf3925da568: Pulling fs layer 18:34:22 bab4dde63d76: Pulling fs layer 18:34:22 bde34c3a00c8: Pulling fs layer 18:34:22 b352a97aabf1: Pulling fs layer 18:34:22 4872d77fe225: Pulling fs layer 18:34:22 5851b861e8e6: Pulling fs layer 18:34:22 988bab9f4d93: Waiting 18:34:22 1469e6f7b9e6: Waiting 18:34:22 eaf3925da568: Waiting 18:34:22 bab4dde63d76: Waiting 18:34:22 b352a97aabf1: Waiting 18:34:22 4872d77fe225: Waiting 18:34:22 5851b861e8e6: Waiting 18:34:22 e2be974225ed: Verifying Checksum 18:34:22 e2be974225ed: Download complete 18:34:22 988bab9f4d93: Download complete 18:34:22 1469e6f7b9e6: Verifying Checksum 18:34:22 1469e6f7b9e6: Download complete 18:34:22 eaf3925da568: Verifying Checksum 18:34:22 eaf3925da568: Download complete 18:34:22 339a4e72a1f5: Verifying Checksum 18:34:22 339a4e72a1f5: Download complete 18:34:22 bde34c3a00c8: Verifying Checksum 18:34:22 bde34c3a00c8: Download complete 18:34:22 b352a97aabf1: Download complete 18:34:22 4872d77fe225: Download complete 18:34:22 5851b861e8e6: Download complete 18:34:22 b85a868b505f: Verifying Checksum 18:34:22 b85a868b505f: Download complete 18:34:22 bab4dde63d76: Verifying Checksum 18:34:22 bab4dde63d76: Download complete 18:34:24 b85a868b505f: Pull complete 18:34:24 e2be974225ed: Pull complete 18:34:24 339a4e72a1f5: Pull complete 18:34:24 988bab9f4d93: Pull complete 18:34:24 1469e6f7b9e6: Pull complete 18:34:24 eaf3925da568: Pull complete 18:34:26 bab4dde63d76: Pull complete 18:34:26 bde34c3a00c8: Pull complete 18:34:27 b352a97aabf1: Pull complete 18:34:27 4872d77fe225: Pull complete 18:34:27 5851b861e8e6: Pull complete 18:34:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:34:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:34:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:28 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 18:34:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:34:32 $ docker top c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 -eo pid,comm 18:34:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:34:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:34:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:34:32 [ssh-agent] Looking for ssh-agent implementation... 18:34:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:34:32 $ docker exec c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 ssh-agent 18:34:32 SSH_AUTH_SOCK=/tmp/ssh-CYkyL9Yt3ZxM/agent.32 18:34:32 SSH_AGENT_PID=38 18:34:32 Running ssh-add (command line suppressed) 18:34:32 Identity added: /w/workspace/edgexfoundry_device-uart_PR-70@tmp/private_key_7113960425742161481.key (/w/workspace/edgexfoundry_device-uart_PR-70@tmp/private_key_7113960425742161481.key) 18:34:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:34:33 + git tag --points-at HEAD [Pipeline] } 18:34:33 $ docker exec --env ******** --env ******** c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 ssh-agent -k 18:34:33 unset SSH_AUTH_SOCK; 18:34:33 unset SSH_AGENT_PID; 18:34:33 echo Agent pid 38 killed; 18:34:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:34:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:34:33 [ssh-agent] Looking for ssh-agent implementation... 18:34:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:34:33 $ docker exec c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 ssh-agent 18:34:33 SSH_AUTH_SOCK=/tmp/ssh-kzZs1LI7adKA/agent.71 18:34:33 SSH_AGENT_PID=77 18:34:33 Running ssh-add (command line suppressed) 18:34:33 Identity added: /w/workspace/edgexfoundry_device-uart_PR-70@tmp/private_key_16133528799693552352.key (/w/workspace/edgexfoundry_device-uart_PR-70@tmp/private_key_16133528799693552352.key) 18:34:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:34:34 + git semver init 18:34:34 2024-09-09 18:34:34,258 [run_init] DEBUG init version:0.0.0 force:False 18:34:34 2024-09-09 18:34:34,260 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-70/.semver 18:34:34 2024-09-09 18:34:34,261 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-70/.semver 18:34:34 2024-09-09 18:34:34,261 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-70/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-70, universal_newlines=False, shell=None, istream=None) 18:34:35 2024-09-09 18:34:35,414 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-70/.git/info/exclude 18:34:35 2024-09-09 18:34:35,414 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-70/.semver/PR-70 with force:False 18:34:35 2024-09-09 18:34:35,414 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-70/.semver/PR-70 18:34:35 2024-09-09 18:34:35,417 [execute] INFO git cat-file --batch-check 18:34:35 2024-09-09 18:34:35,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-70/.semver, universal_newlines=False, shell=None, istream=) 18:34:35 2024-09-09 18:34:35,423 [execute] INFO git cat-file --batch 18:34:35 2024-09-09 18:34:35,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-70/.semver, universal_newlines=False, shell=None, istream=) 18:34:35 2024-09-09 18:34:35,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-70/.semver/PR-70 18:34:35 0.0.0 [Pipeline] } 18:34:39 $ docker exec --env ******** --env ******** c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 ssh-agent -k 18:34:39 unset SSH_AUTH_SOCK; 18:34:39 unset SSH_AGENT_PID; 18:34:39 echo Agent pid 77 killed; 18:34:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:34:39 + git semver [Pipeline] } 18:34:40 $ docker stop --time=1 c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 18:34:41 $ docker rm -f --volumes c47b30d9d8bfcfa84f144a365d87c2e8e905f198f959438cbb0951a5064ebc49 [Pipeline] // withDockerContainer [Pipeline] sh 18:34:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:34:42 Stashed 1 file(s) [Pipeline] echo 18:34:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:34:43 provisioning config files... 18:34:43 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-70@tmp/config7466826781483571684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:43 ---> ****-login.sh 18:34:43 nexus3.edgexfoundry.org:10001 18:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:43 Configure a credential helper to remove this warning. See 18:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:43 18:34:43 Login Succeeded 18:34:43 nexus3.edgexfoundry.org:10002 18:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:43 Configure a credential helper to remove this warning. See 18:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:43 18:34:43 Login Succeeded 18:34:43 nexus3.edgexfoundry.org:10003 18:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:43 Configure a credential helper to remove this warning. See 18:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:43 18:34:43 Login Succeeded 18:34:43 nexus3.edgexfoundry.org:10004 18:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:43 Configure a credential helper to remove this warning. See 18:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:43 18:34:43 Login Succeeded 18:34:43 ****.io 18:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:34:44 Configure a credential helper to remove this warning. See 18:34:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:34:44 18:34:44 Login Succeeded 18:34:44 ---> ****-login.sh ends [Pipeline] } 18:34:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:34:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:34:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:34:44 ========================================================= 18:34:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:34:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:34:45 Sending build context to Docker daemon 25.56MB 18:34:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:34:45 Step 2/12 : FROM ${BASE} AS builder 18:34:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:34:45 619be1103602: Pulling fs layer 18:34:45 7862e08f4a3e: Pulling fs layer 18:34:45 5df492c9dc93: Pulling fs layer 18:34:45 7629e6793208: Pulling fs layer 18:34:45 4f4fb700ef54: Pulling fs layer 18:34:45 fb5054dd5b73: Pulling fs layer 18:34:45 eeca6798cff9: Pulling fs layer 18:34:45 aa269ceb94a6: Pulling fs layer 18:34:45 ada007ff1a6a: Pulling fs layer 18:34:45 ada007ff1a6a: Waiting 18:34:45 eeca6798cff9: Waiting 18:34:45 aa269ceb94a6: Waiting 18:34:45 4f4fb700ef54: Waiting 18:34:45 7629e6793208: Waiting 18:34:45 fb5054dd5b73: Waiting 18:34:45 7862e08f4a3e: Download complete 18:34:45 7629e6793208: Verifying Checksum 18:34:45 7629e6793208: Download complete 18:34:45 4f4fb700ef54: Verifying Checksum 18:34:45 4f4fb700ef54: Download complete 18:34:45 fb5054dd5b73: Download complete 18:34:45 619be1103602: Verifying Checksum 18:34:45 619be1103602: Download complete 18:34:45 eeca6798cff9: Verifying Checksum 18:34:45 eeca6798cff9: Download complete 18:34:45 619be1103602: Pull complete 18:34:45 ada007ff1a6a: Verifying Checksum 18:34:45 ada007ff1a6a: Download complete 18:34:45 7862e08f4a3e: Pull complete 18:34:45 5df492c9dc93: Download complete 18:34:46 aa269ceb94a6: Verifying Checksum 18:34:46 aa269ceb94a6: Download complete 18:34:48 5df492c9dc93: Pull complete 18:34:48 7629e6793208: Pull complete 18:34:48 4f4fb700ef54: Pull complete 18:34:48 fb5054dd5b73: Pull complete 18:34:48 eeca6798cff9: Pull complete 18:34:51 aa269ceb94a6: Pull complete 18:34:51 ada007ff1a6a: Pull complete 18:34:51 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 18:34:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:34:51 ---> f489d0715acc 18:34:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:34:56 ---> Running in 170312cb9dd1 18:34:56 Removing intermediate container 170312cb9dd1 18:34:56 ---> d428d4460fe0 18:34:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:34:56 ---> Running in aefdc0254170 18:34:56 Removing intermediate container aefdc0254170 18:34:56 ---> c4d833715d83 18:34:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:34:56 ---> Running in 2ffd3f1234fd 18:34:56 Removing intermediate container 2ffd3f1234fd 18:34:56 ---> 276fd94971a8 18:34:56 Step 6/12 : WORKDIR /device-uart 18:34:57 ---> Running in ae35bfc30384 18:34:57 Removing intermediate container ae35bfc30384 18:34:57 ---> 26197e958249 18:34:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:34:57 ---> Running in c5b4b376ca87 18:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:34:57 (1/4) Installing openssh-keygen (9.3_p2-r2) 18:34:57 (2/4) Installing libedit (20221030.3.1-r1) 18:34:57 (3/4) Installing openssh-client-common (9.3_p2-r2) 18:34:57 (4/4) Installing openssh-client-default (9.3_p2-r2) 18:34:57 Executing busybox-1.36.1-r5.trigger 18:34:57 OK: 268 MiB in 56 packages 18:34:58 Still waiting to schedule task 18:34:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:34:58 Removing intermediate container c5b4b376ca87 18:34:58 ---> ae66afd30a8e 18:34:58 Step 8/12 : COPY go.mod vendor* ./ 18:34:58 ---> 1d8f1b1a284a 18:34:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:34:58 ---> Running in 89cc793897d4 18:36:06 Removing intermediate container 89cc793897d4 18:36:06 ---> 290429f1f366 18:36:06 Step 10/12 : COPY . . 18:36:06 ---> 6dd1be6c120d 18:36:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:36:06 ---> Running in 6bf0993b969b 18:36:06 Removing intermediate container 6bf0993b969b 18:36:06 ---> f498278bee65 18:36:06 Step 12/12 : RUN ${MAKE} 18:36:06 ---> Running in ab2643b4b4b4 18:36:06 noop 18:36:06 Removing intermediate container ab2643b4b4b4 18:36:06 ---> 3f33f1cc2baa 18:36:06 Successfully built 3f33f1cc2baa 18:36:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:06 + docker inspect -f . ci-base-image-x86_64 18:36:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:06 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 18:36:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:36:07 $ docker top 4cea21f369d896494bdeb971aab59b7d78200b147e7525e89ead2af7893647c1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:07 + go version 18:36:07 go version go1.21.9 linux/amd64 [Pipeline] } 18:36:07 $ docker stop --time=1 4cea21f369d896494bdeb971aab59b7d78200b147e7525e89ead2af7893647c1 18:36:08 $ docker rm -f --volumes 4cea21f369d896494bdeb971aab59b7d78200b147e7525e89ead2af7893647c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:09 + docker inspect -f . ci-base-image-x86_64 18:36:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:09 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 18:36:09 $ 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-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:36:10 $ docker top 7ca07a93de28d47c1d4e847f5e662da840c47249d5d03cd5edd22c9d8abaa3be -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-70 [Pipeline] fileExists [Pipeline] sh 18:36:11 + make test 18:36:11 go test ./... -coverprofile=coverage.out 18:36:12 ? github.com/edgexfoundry/device-uart [no test files] 18:36:31 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:36:31 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:36:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9898 in /w/workspace/edgexfoundry_device-uart_PR-70 [Pipeline] { [Pipeline] ws 18:36:34 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:36:37 The recommended git tool is: git 18:36:41 go vet ./... 18:36:44 using credential edgex-jenkins-ssh 18:36:45 Cloning the remote Git repository 18:36:45 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:36:45 > git init /w/workspace/device-uart/1 # timeout=10 18:36:45 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:36:45 > git --version # timeout=10 18:36:45 > git --version # 'git version 2.25.1' 18:36:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:36:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:36:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:36:47 ./bin/test-attribution-txt.sh 18:36:47 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:36:47 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:36:47 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:36:47 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:36:47 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:36:47 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:36:47 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:36:47 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:36:47 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:36:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:36:47 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:36:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:36:47 $ docker stop --time=1 7ca07a93de28d47c1d4e847f5e662da840c47249d5d03cd5edd22c9d8abaa3be 18:36:47 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:36:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:36:49 $ docker rm -f --volumes 7ca07a93de28d47c1d4e847f5e662da840c47249d5d03cd5edd22c9d8abaa3be 18:36:49 Merging remotes/origin/main commit 456606cc1479f447ad62a94b16c6a77590d7088f into PR head commit e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 18:36:49 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:36:49 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:36:49 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:36:49 > git config core.sparsecheckout # timeout=10 [Pipeline] // withDockerContainer 18:36:49 Merge succeeded, producing e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 18:36:49 Checking out Revision e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 (PR-70) [Pipeline] sh 18:36:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:36:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 18:36:50 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] // stage 18:36:50 > git --version # timeout=10 18:36:50 > git --version # 'git version 2.25.1' 18:36:50 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:36:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:36:49 > git checkout -f e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 # timeout=10 18:36:49 > git remote # timeout=10 18:36:49 > git config --get remote.origin.url # timeout=10 18:36:49 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:49 > git merge 456606cc1479f447ad62a94b16c6a77590d7088f # timeout=10 18:36:49 > git rev-parse HEAD^{commit} # timeout=10 18:36:49 > git config core.sparsecheckout # timeout=10 18:36:49 > git checkout -f e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 # timeout=10 18:36:51 + ls -al . 18:36:51 total 224 18:36:51 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:36 . 18:36:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:34 .. 18:36:51 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 18:34 .dockerignore 18:36:51 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:36 .git 18:36:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:34 .github 18:36:51 -rw-rw-r-- 1 jenkins jenkins 343 Sep 9 18:34 .gitignore 18:36:51 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 18:34 .golangci.yml 18:36:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 18:34 .semver 18:36:51 -rw-rw-r-- 1 jenkins jenkins 9941 Sep 9 18:34 Attribution.txt 18:36:51 -rw-rw-r-- 1 jenkins jenkins 1908 Sep 9 18:34 CHANGELOG.md 18:36:51 -rw-rw-r-- 1 jenkins jenkins 1886 Sep 9 18:34 Dockerfile 18:36:51 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 18:34 GOVERNANCE.md 18:36:51 -rw-rw-r-- 1 jenkins jenkins 675 Sep 9 18:34 Jenkinsfile 18:36:51 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 18:34 LICENSE 18:36:51 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 9 18:34 Makefile 18:36:51 -rw-rw-r-- 1 jenkins jenkins 617 Sep 9 18:34 OWNERS.md 18:36:51 -rw-rw-r-- 1 jenkins jenkins 8892 Sep 9 18:34 README.md 18:36:51 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 18:34 VERSION 18:36:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 18:34 bin 18:36:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:34 cmd 18:36:51 -rw-r--r-- 1 jenkins jenkins 10 Sep 9 18:36 coverage.out 18:36:51 -rw-rw-r-- 1 jenkins jenkins 6965 Sep 9 18:34 go.mod 18:36:51 -rw-rw-r-- 1 jenkins jenkins 101894 Sep 9 18:34 go.sum 18:36:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:34 internal 18:36:51 -rw-rw-r-- 1 jenkins jenkins 209 Sep 9 18:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:51 + 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=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 --label arch=amd64 --label version=0.0.0 . 18:36:51 Sending build context to Docker daemon 25.56MB 18:36:51 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:36:51 Step 2/26 : FROM ${BASE} AS builder 18:36:51 ---> 3f33f1cc2baa 18:36:51 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:36:52 ---> Running in 646e50e3e753 18:36:52 Removing intermediate container 646e50e3e753 18:36:52 ---> b4516dd946fa 18:36:52 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:36:52 ---> Running in e4debb4d736d 18:36:52 Removing intermediate container e4debb4d736d 18:36:52 ---> e50d01911c2e 18:36:52 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:36:52 ---> Running in af3b1fb91d1a 18:36:52 Removing intermediate container af3b1fb91d1a 18:36:52 ---> cf8aa8b6207c 18:36:52 Step 6/26 : WORKDIR /device-uart 18:36:52 ---> Running in faefd69f58a5 18:36:52 Removing intermediate container faefd69f58a5 18:36:52 ---> 76d65e616c14 18:36:52 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:52 ---> Running in 7b842334fbab 18:36:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:36:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:36:53 OK: 268 MiB in 56 packages 18:36:53 Removing intermediate container 7b842334fbab 18:36:53 ---> b33d9f1d3820 18:36:53 Step 8/26 : COPY go.mod vendor* ./ 18:36:53 ---> efebc9461c24 18:36:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:36:53 ---> Running in c9717acb6e6b 18:36:54 Removing intermediate container c9717acb6e6b 18:36:54 ---> b39370baadb8 18:36:54 Step 10/26 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:36:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:36:55 % Total % Received % Xferd Average Speed Time Time Time Current 18:36:55 Dload Upload Total Spent Left Speed 18:36:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 64787 0 --:--:-- --:--:-- --:--:-- 64787 [Pipeline] sh 18:36:55 ---> ecc5114b6489 18:36:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:36:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 18:36:55 ---> Running in f638f8903e70 18:36:55 Removing intermediate container f638f8903e70 18:36:55 ---> 8f32531e5dcb 18:36:55 Step 12/26 : RUN ${MAKE} 18:36:55 ---> Running in b90e8a6bcf1e [Pipeline] sh 18:36:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:36:56 + sudo tee /etc/docker/daemon.new 18:36:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:36:56 { 18:36:56 "registry-mirrors": [ 18:36:56 "https://nexus3.edgexfoundry.org:10001" 18:36:56 ], 18:36:56 "bip": "10.250.0.254/24", 18:36:56 "hosts": [ 18:36:56 "tcp://0.0.0.0:5555", 18:36:56 "unix:///var/run/docker.sock" 18:36:56 ], 18:36:56 "mtu": 1458, 18:36:56 "selinux-enabled": true, 18:36:56 "seccomp-profile": "/etc/docker/seccomp.json" 18:36:56 } [Pipeline] sh 18:36:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:36:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:15 provisioning config files... 18:37:15 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config4131191744999758302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:15 ---> ****-login.sh 18:37:15 nexus3.edgexfoundry.org:10001 18:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:16 Configure a credential helper to remove this warning. See 18:37:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:16 18:37:16 Login Succeeded 18:37:16 nexus3.edgexfoundry.org:10002 18:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:16 Configure a credential helper to remove this warning. See 18:37:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:16 18:37:16 Login Succeeded 18:37:16 nexus3.edgexfoundry.org:10003 18:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:17 Configure a credential helper to remove this warning. See 18:37:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:17 18:37:17 Login Succeeded 18:37:17 nexus3.edgexfoundry.org:10004 18:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:17 Configure a credential helper to remove this warning. See 18:37:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:17 18:37:17 Login Succeeded 18:37:17 ****.io 18:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:18 Configure a credential helper to remove this warning. See 18:37:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:18 18:37:18 Login Succeeded 18:37:18 ---> ****-login.sh ends [Pipeline] } 18:37:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:37:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:37:18 ========================================================= 18:37:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:37:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:37:19 Sending build context to Docker daemon 12.85MB 18:37:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:37:19 Step 2/12 : FROM ${BASE} AS builder 18:37:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:37:19 c6b39de5b339: Pulling fs layer 18:37:19 a69c41024577: Pulling fs layer 18:37:19 d6de4b400683: Pulling fs layer 18:37:19 35cb2a7552d0: Pulling fs layer 18:37:19 4f4fb700ef54: Pulling fs layer 18:37:19 464afbd9ba4c: Pulling fs layer 18:37:19 00f215d4a9da: Pulling fs layer 18:37:19 d496ad576159: Pulling fs layer 18:37:19 4f4fb700ef54: Waiting 18:37:19 464afbd9ba4c: Waiting 18:37:19 00f215d4a9da: Waiting 18:37:19 d496ad576159: Waiting 18:37:19 35cb2a7552d0: Waiting 18:37:19 a69c41024577: Download complete 18:37:19 35cb2a7552d0: Verifying Checksum 18:37:19 35cb2a7552d0: Download complete 18:37:19 4f4fb700ef54: Verifying Checksum 18:37:19 4f4fb700ef54: Download complete 18:37:19 464afbd9ba4c: Verifying Checksum 18:37:19 464afbd9ba4c: Download complete 18:37:19 c6b39de5b339: Verifying Checksum 18:37:19 c6b39de5b339: Download complete 18:37:20 d496ad576159: Verifying Checksum 18:37:20 d496ad576159: Download complete 18:37:20 c6b39de5b339: Pull complete 18:37:21 a69c41024577: Pull complete 18:37:22 d6de4b400683: Verifying Checksum 18:37:22 d6de4b400683: Download complete 18:37:23 00f215d4a9da: Verifying Checksum 18:37:23 00f215d4a9da: Download complete 18:37:35 d6de4b400683: Pull complete 18:37:35 35cb2a7552d0: Pull complete 18:37:35 4f4fb700ef54: Pull complete 18:37:35 464afbd9ba4c: Pull complete 18:37:36 Removing intermediate container b90e8a6bcf1e 18:37:36 ---> ee02b5f757f9 18:37:36 Step 13/26 : FROM alpine:3.18 18:37:36 3.18: Pulling from library/alpine 18:37:36 1cc3d825d8b2: Pulling fs layer 18:37:36 1cc3d825d8b2: Verifying Checksum 18:37:36 1cc3d825d8b2: Download complete 18:37:36 1cc3d825d8b2: Pull complete 18:37:36 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 18:37:36 Status: Downloaded newer image for alpine:3.18 18:37:36 ---> 2c64cf60f6f0 18:37:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:37:36 ---> Running in cdf57703df20 18:37:36 Removing intermediate container cdf57703df20 18:37:36 ---> 91f27d00e913 18:37:36 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:37:36 ---> Running in 64a2e27793e5 18:37:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:37:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:37:36 (1/1) Installing dumb-init (1.2.5-r2) 18:37:36 Executing busybox-1.36.1-r7.trigger 18:37:36 OK: 7 MiB in 16 packages 18:37:36 Removing intermediate container 64a2e27793e5 18:37:36 ---> 5c027a06e40d 18:37:36 Step 16/26 : RUN apk --no-cache upgrade 18:37:36 ---> Running in ad8016a08566 18:37:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:37:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:37:36 OK: 7 MiB in 16 packages 18:37:36 Removing intermediate container ad8016a08566 18:37:36 ---> c57a266be4ba 18:37:36 Step 17/26 : WORKDIR / 18:37:36 ---> Running in 38e43140de32 18:37:36 Removing intermediate container 38e43140de32 18:37:36 ---> 79a4ee221911 18:37:36 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:37:36 ---> 8e050b140cc4 18:37:36 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:37:36 ---> 7cc7f6d51750 18:37:36 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:37:36 ---> e7e83e3deb78 18:37:36 Step 21/26 : EXPOSE 59995 18:37:36 ---> Running in c421711c92d5 18:37:36 Removing intermediate container c421711c92d5 18:37:36 ---> e7f8c2a532df 18:37:36 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:37:36 ---> Running in 48a987ec8da9 18:37:36 Removing intermediate container 48a987ec8da9 18:37:36 ---> c8c1de617ef8 18:37:36 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:37:36 ---> Running in c3199f556fd7 18:37:36 Removing intermediate container c3199f556fd7 18:37:36 ---> ac041fbda6e9 18:37:36 Step 24/26 : LABEL arch=amd64 18:37:36 ---> Running in 3810bdd7e57c 18:37:36 Removing intermediate container 3810bdd7e57c 18:37:36 ---> 03df11a33385 18:37:36 Step 25/26 : LABEL git_sha=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 18:37:36 ---> Running in 3ed88b7c49c8 18:37:36 Removing intermediate container 3ed88b7c49c8 18:37:36 ---> d3935185f75f 18:37:36 Step 26/26 : LABEL version=0.0.0 18:37:36 ---> Running in bdd8c2139d54 18:37:36 Removing intermediate container bdd8c2139d54 18:37:36 ---> 38b7b7d09970 18:37:36 [Warning] One or more build-args [ARCH] were not consumed 18:37:36 Successfully built 38b7b7d09970 18:37:36 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:37 18:37:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:38 latest: Pulling from edgex-lftools-log-publisher 18:37:38 5eb5b503b376: Pulling fs layer 18:37:38 5c69ac0246d0: Pulling fs layer 18:37:38 ec43610c2a17: Pulling fs layer 18:37:38 3a2ae6a8a46f: Pulling fs layer 18:37:38 33b1e0a273af: Pulling fs layer 18:37:38 5d3b04190fa2: Pulling fs layer 18:37:38 2f39f015ded8: Pulling fs layer 18:37:38 33b1e0a273af: Waiting 18:37:38 5d3b04190fa2: Waiting 18:37:38 2f39f015ded8: Waiting 18:37:38 3a2ae6a8a46f: Waiting 18:37:38 5c69ac0246d0: Download complete 18:37:38 3a2ae6a8a46f: Verifying Checksum 18:37:38 3a2ae6a8a46f: Download complete 18:37:38 33b1e0a273af: Verifying Checksum 18:37:38 33b1e0a273af: Download complete 18:37:38 ec43610c2a17: Verifying Checksum 18:37:38 ec43610c2a17: Download complete 18:37:38 5d3b04190fa2: Verifying Checksum 18:37:38 5d3b04190fa2: Download complete 18:37:38 5eb5b503b376: Verifying Checksum 18:37:38 5eb5b503b376: Download complete 18:37:39 2f39f015ded8: Download complete 18:37:39 5eb5b503b376: Pull complete 18:37:39 5c69ac0246d0: Pull complete 18:37:40 ec43610c2a17: Pull complete 18:37:40 3a2ae6a8a46f: Pull complete 18:37:40 33b1e0a273af: Pull complete 18:37:40 5d3b04190fa2: Pull complete 18:37:44 2f39f015ded8: Pull complete 18:37:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:37:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:45 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 18:37:45 $ 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-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:37:45 00f215d4a9da: Pull complete 18:37:45 d496ad576159: Pull complete 18:37:45 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 18:37:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:37:45 ---> f246e2811388 18:37:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:37:46 ---> Running in d5ba4d060053 18:37:46 Removing intermediate container d5ba4d060053 18:37:46 ---> 242c215cea8b 18:37:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:37:47 ---> Running in 6257fe9c2416 18:37:47 Removing intermediate container 6257fe9c2416 18:37:47 ---> bade580a593a 18:37:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:37:47 ---> Running in 3acfcd82d7ce 18:37:47 Removing intermediate container 3acfcd82d7ce 18:37:47 ---> 0116a678909e 18:37:47 Step 6/12 : WORKDIR /device-uart 18:37:47 ---> Running in c0c344bfe997 18:37:47 Removing intermediate container c0c344bfe997 18:37:47 ---> 70f74558e75d 18:37:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:48 ---> Running in 085938ea7542 18:37:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:37:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:37:50 $ docker top 0831d05e88d2743e3292b94c3454bafca779679cc54587d8c2b8b3ff218dbebc -eo pid,comm [Pipeline] { 18:37:50 (1/4) Installing openssh-keygen (9.3_p2-r2) 18:37:50 (2/4) Installing libedit (20221030.3.1-r1) 18:37:50 (3/4) Installing openssh-client-common (9.3_p2-r2) 18:37:50 (4/4) Installing openssh-client-default (9.3_p2-r2) 18:37:50 Executing busybox-1.36.1-r5.trigger 18:37:50 OK: 271 MiB in 56 packages [Pipeline] libraryResource [Pipeline] sh 18:37:51 ---> job-cost.sh 18:37:51 lf-activate-venv: SKIPPING 18:37:51 INFO: No Stack... 18:37:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:37:52 Removing intermediate container 085938ea7542 18:37:52 ---> 447467bd6590 18:37:52 Step 8/12 : COPY go.mod vendor* ./ 18:37:52 INFO: Archiving Costs [Pipeline] sh 18:37:52 + cat /w/workspace/edgexfoundry_device-uart_PR-70/archives/cost.csv 18:37:52 + cut -d, -f6 [Pipeline] lock 18:37:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] 18:37:52 Resource [jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] did not exist. Created. 18:37:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:37:52 ---> 2b41832c3935 18:37:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:52 ---> Running in cbcb6a1af05c 18:37:52 + echo total: 0.2199999988079071 [Pipeline] stash 18:37:53 Stashed 1 file(s) [Pipeline] } 18:37:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:37:53 $ docker stop --time=1 0831d05e88d2743e3292b94c3454bafca779679cc54587d8c2b8b3ff218dbebc 18:37:54 $ docker rm -f --volumes 0831d05e88d2743e3292b94c3454bafca779679cc54587d8c2b8b3ff218dbebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:39:44 Removing intermediate container cbcb6a1af05c 18:39:44 ---> 608a4a171855 18:39:44 Step 10/12 : COPY . . 18:39:44 ---> a62ae1361132 18:39:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:44 ---> Running in 43f1d5e51c2d 18:39:44 Removing intermediate container 43f1d5e51c2d 18:39:44 ---> a67a3812b751 18:39:44 Step 12/12 : RUN ${MAKE} 18:39:44 ---> Running in d46938b62b8c 18:39:44 noop 18:39:44 Removing intermediate container d46938b62b8c 18:39:44 ---> 241318b45d03 18:39:44 Successfully built 241318b45d03 18:39:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:44 + docker inspect -f . ci-base-image-arm64 18:39:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:45 prd-ubuntu20.04-docker-arm64-4c-16g-9898 does not seem to be running inside a container 18:39:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:39:46 $ docker top 90ec95f459bc85701a0cd4d299d30d44daa99264f0956e3c1aa6e17c751bbd4a -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:47 + go version 18:39:47 go version go1.21.9 linux/arm64 [Pipeline] } 18:39:47 $ docker stop --time=1 90ec95f459bc85701a0cd4d299d30d44daa99264f0956e3c1aa6e17c751bbd4a 18:39:49 $ docker rm -f --volumes 90ec95f459bc85701a0cd4d299d30d44daa99264f0956e3c1aa6e17c751bbd4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:49 + docker inspect -f . ci-base-image-arm64 18:39:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:50 prd-ubuntu20.04-docker-arm64-4c-16g-9898 does not seem to be running inside a container 18:39:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:39:51 $ docker top 5956f0353448092777c1e52687d645da57d61b4635e2686693e5f9ab774604c9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:52 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:39:53 + make test 18:39:53 go test ./... -coverprofile=coverage.out 18:39:58 ? github.com/edgexfoundry/device-uart [no test files] 18:43:05 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:43:05 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:43:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:43:05 go vet ./... 18:43:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:45 ./bin/test-attribution-txt.sh 18:43:45 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:43:45 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:43:45 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:43:45 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:43:45 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:43:45 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:43:45 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:43:45 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:43:45 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:43:45 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:43:45 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:43:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:43:45 $ docker stop --time=1 5956f0353448092777c1e52687d645da57d61b4635e2686693e5f9ab774604c9 18:43:47 $ docker rm -f --volumes 5956f0353448092777c1e52687d645da57d61b4635e2686693e5f9ab774604c9 [Pipeline] // withDockerContainer [Pipeline] sh 18:43:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:49 Warning: overwriting stash ‘coverage-report’ 18:43:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:50 + ls -al . 18:43:50 total 220 18:43:50 drwxrwxr-x 7 jenkins jenkins 4096 Sep 9 18:39 . 18:43:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:36 .. 18:43:50 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 18:36 .dockerignore 18:43:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:36 .git 18:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:36 .github 18:43:50 -rw-rw-r-- 1 jenkins jenkins 343 Sep 9 18:36 .gitignore 18:43:50 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 18:36 .golangci.yml 18:43:50 -rw-rw-r-- 1 jenkins jenkins 9941 Sep 9 18:36 Attribution.txt 18:43:50 -rw-rw-r-- 1 jenkins jenkins 1908 Sep 9 18:36 CHANGELOG.md 18:43:50 -rw-rw-r-- 1 jenkins jenkins 1886 Sep 9 18:36 Dockerfile 18:43:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 18:36 GOVERNANCE.md 18:43:50 -rw-rw-r-- 1 jenkins jenkins 675 Sep 9 18:36 Jenkinsfile 18:43:50 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 18:36 LICENSE 18:43:50 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 9 18:36 Makefile 18:43:50 -rw-rw-r-- 1 jenkins jenkins 617 Sep 9 18:36 OWNERS.md 18:43:50 -rw-rw-r-- 1 jenkins jenkins 8892 Sep 9 18:36 README.md 18:43:50 -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 18:34 VERSION 18:43:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 18:36 bin 18:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:36 cmd 18:43:50 -rw-r--r-- 1 jenkins jenkins 10 Sep 9 18:39 coverage.out 18:43:50 -rw-rw-r-- 1 jenkins jenkins 6965 Sep 9 18:36 go.mod 18:43:50 -rw-rw-r-- 1 jenkins jenkins 101894 Sep 9 18:36 go.sum 18:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:36 internal 18:43:50 -rw-rw-r-- 1 jenkins jenkins 209 Sep 9 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:51 + 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=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 --label arch=arm64 --label version=0.0.0 . 18:43:51 Sending build context to Docker daemon 12.85MB 18:43:51 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:43:51 Step 2/26 : FROM ${BASE} AS builder 18:43:51 ---> 241318b45d03 18:43:51 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:43:51 ---> Running in a67a948585dc 18:43:51 Removing intermediate container a67a948585dc 18:43:51 ---> e8cd08332e0d 18:43:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:43:51 ---> Running in 19e137b614c6 18:43:52 Removing intermediate container 19e137b614c6 18:43:52 ---> 956b673ce482 18:43:52 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:43:52 ---> Running in 6f6dc17df7a5 18:43:52 Removing intermediate container 6f6dc17df7a5 18:43:52 ---> 34518a62fd04 18:43:52 Step 6/26 : WORKDIR /device-uart 18:43:52 ---> Running in a4d639598694 18:43:53 Removing intermediate container a4d639598694 18:43:53 ---> 097e9e10bc7d 18:43:53 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:43:53 ---> Running in 0379d5a908bd 18:43:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:43:55 OK: 271 MiB in 56 packages 18:43:56 Removing intermediate container 0379d5a908bd 18:43:56 ---> d72559c2ad1f 18:43:56 Step 8/26 : COPY go.mod vendor* ./ 18:43:56 ---> e845c53b9b56 18:43:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:56 ---> Running in 077ec9264c71 18:43:59 Removing intermediate container 077ec9264c71 18:43:59 ---> 291d558579a0 18:43:59 Step 10/26 : COPY . . 18:43:59 ---> ddb69ee1f611 18:43:59 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:44:00 ---> Running in 8f519dca6aab 18:44:00 Removing intermediate container 8f519dca6aab 18:44:00 ---> 1ad17538c823 18:44:00 Step 12/26 : RUN ${MAKE} 18:44:00 ---> Running in 1c101970b148 18:44:01 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.37" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:47:23 Removing intermediate container 1c101970b148 18:47:23 ---> 3c6518b86b39 18:47:23 Step 13/26 : FROM alpine:3.18 18:47:23 3.18: Pulling from library/alpine 18:47:23 720f3032cd11: Pulling fs layer 18:47:23 720f3032cd11: Verifying Checksum 18:47:23 720f3032cd11: Download complete 18:47:23 720f3032cd11: Pull complete 18:47:23 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 18:47:23 Status: Downloaded newer image for alpine:3.18 18:47:23 ---> 3e834921e367 18:47:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:47:23 ---> Running in 982f6dce97e2 18:47:23 Removing intermediate container 982f6dce97e2 18:47:23 ---> afc30468594e 18:47:23 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:47:23 ---> Running in 22a752dfa0e0 18:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:47:24 (1/1) Installing dumb-init (1.2.5-r2) 18:47:24 Executing busybox-1.36.1-r7.trigger 18:47:24 OK: 8 MiB in 16 packages 18:47:25 Removing intermediate container 22a752dfa0e0 18:47:25 ---> 83f62ded9e2d 18:47:25 Step 16/26 : RUN apk --no-cache upgrade 18:47:25 ---> Running in af59c392ce4f 18:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:47:27 OK: 8 MiB in 16 packages 18:47:27 Removing intermediate container af59c392ce4f 18:47:27 ---> ed5ffde34477 18:47:27 Step 17/26 : WORKDIR / 18:47:27 ---> Running in 13bee0b95bbc 18:47:28 Removing intermediate container 13bee0b95bbc 18:47:28 ---> c1ea6c731831 18:47:28 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:47:28 ---> f9e0157028e6 18:47:28 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:47:29 ---> de8bdebc7c6f 18:47:29 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:47:31 ---> 666d03627e36 18:47:31 Step 21/26 : EXPOSE 59995 18:47:31 ---> Running in 9d44ccfc0346 18:47:31 Removing intermediate container 9d44ccfc0346 18:47:31 ---> b6dfe57bb9e1 18:47:31 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:47:31 ---> Running in 62d9aadce9f6 18:47:32 Removing intermediate container 62d9aadce9f6 18:47:32 ---> 27fbbdcb7e4b 18:47:32 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:47:32 ---> Running in 2910a0a664f6 18:47:32 Removing intermediate container 2910a0a664f6 18:47:32 ---> 148648bbc181 18:47:32 Step 24/26 : LABEL arch=arm64 18:47:32 ---> Running in 70d291a5b6c5 18:47:32 Removing intermediate container 70d291a5b6c5 18:47:32 ---> edbeb21c8780 18:47:32 Step 25/26 : LABEL git_sha=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 18:47:32 ---> Running in de6c0b20a490 18:47:33 Removing intermediate container de6c0b20a490 18:47:33 ---> da30b01e2bbf 18:47:33 Step 26/26 : LABEL version=0.0.0 18:47:33 ---> Running in 06553699f97f 18:47:33 Removing intermediate container 06553699f97f 18:47:33 ---> da7ef4e46059 18:47:33 [Warning] One or more build-args [ARCH] were not consumed 18:47:33 Successfully built da7ef4e46059 18:47:33 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 18:47:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:47:34 18:47:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:47:34 arm64: Pulling from edgex-lftools-log-publisher 18:47:34 8998bd30e6a1: Pulling fs layer 18:47:34 04944245beec: Pulling fs layer 18:47:34 699f458cf7ca: Pulling fs layer 18:47:34 765212b225bb: Pulling fs layer 18:47:34 f23df028b6ca: Pulling fs layer 18:47:34 d65c8cfc05b1: Pulling fs layer 18:47:34 2437ff75d9bd: Pulling fs layer 18:47:34 765212b225bb: Waiting 18:47:34 f23df028b6ca: Waiting 18:47:34 d65c8cfc05b1: Waiting 18:47:34 2437ff75d9bd: Waiting 18:47:35 04944245beec: Verifying Checksum 18:47:35 04944245beec: Download complete 18:47:35 765212b225bb: Verifying Checksum 18:47:35 765212b225bb: Download complete 18:47:35 f23df028b6ca: Verifying Checksum 18:47:35 f23df028b6ca: Download complete 18:47:35 d65c8cfc05b1: Verifying Checksum 18:47:35 d65c8cfc05b1: Download complete 18:47:35 699f458cf7ca: Verifying Checksum 18:47:35 699f458cf7ca: Download complete 18:47:35 8998bd30e6a1: Verifying Checksum 18:47:35 8998bd30e6a1: Download complete 18:47:38 2437ff75d9bd: Verifying Checksum 18:47:38 2437ff75d9bd: Download complete 18:47:40 8998bd30e6a1: Pull complete 18:47:40 04944245beec: Pull complete 18:47:42 699f458cf7ca: Pull complete 18:47:42 765212b225bb: Pull complete 18:47:43 f23df028b6ca: Pull complete 18:47:43 d65c8cfc05b1: Pull complete 18:48:01 2437ff75d9bd: Pull complete 18:48:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:48:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:02 prd-ubuntu20.04-docker-arm64-4c-16g-9898 does not seem to be running inside a container 18:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:48:04 $ docker top ea5b9f45c9eb0fd5d6987027ebe1a1a73cab6433068733478d567e1986e98da1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:05 ---> job-cost.sh 18:48:05 lf-activate-venv: SKIPPING 18:48:05 INFO: No Stack... 18:48:06 INFO: Retrieving Pricing Info for: v3-standard-4 18:48:07 INFO: Archiving Costs [Pipeline] sh 18:48:07 + cat /w/workspace/device-uart/1/archives/cost.csv 18:48:07 + cut -d, -f6 [Pipeline] lock 18:48:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] 18:48:07 Resource [jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] did not exist. Created. 18:48:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:48:07 /w/workspace/device-uart/1@tmp/durable-3ab9a05d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:48:08 + echo total: 0.10999999940395355 [Pipeline] stash 18:48:08 Warning: overwriting stash ‘stack-cost’ 18:48:08 Stashed 1 file(s) [Pipeline] } 18:48:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-70-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:48:09 $ docker stop --time=1 ea5b9f45c9eb0fd5d6987027ebe1a1a73cab6433068733478d567e1986e98da1 18:48:10 $ docker rm -f --volumes ea5b9f45c9eb0fd5d6987027ebe1a1a73cab6433068733478d567e1986e98da1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:48:11 provisioning config files... 18:48:11 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-70@tmp/config9317918725316545053tmp [Pipeline] { [Pipeline] sh 18:48:12 + set +x 18:48:12 + bash -s -- 18:48:12 + curl -s https://codecov.io/bash 18:48:12 18:48:12 _____ _ 18:48:12 / ____| | | 18:48:12 | | ___ __| | ___ ___ _____ __ 18:48:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:48:12 | |___| (_) | (_| | __/ (_| (_) \ V / 18:48:12 \_____\___/ \__,_|\___|\___\___/ \_/ 18:48:12 Bash-1.0.6 18:48:12 18:48:12 18:48:12 ==> git version 2.25.1 found 18:48:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:48:12 Release-Date: 2020-01-08 18:48:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:48:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:48:12 ==> Jenkins CI detected. 18:48:12 current dir:  /w/workspace/edgexfoundry_device-uart_PR-70 18:48:12 project root: . 18:48:12 --> token set from env 18:48:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:48:12 ==> Running gcov in . (disable via -X gcov) 18:48:12 ==> Python coveragepy not found 18:48:12 ==> Searching for coverage reports in: 18:48:12 + . 18:48:12 -> Found 1 reports 18:48:12 ==> Detecting git/mercurial file structure 18:48:12 ==> Reading reports 18:48:12 + ./coverage.out bytes=10 18:48:12 ==> Appending adjustments 18:48:12 https://docs.codecov.io/docs/fixing-reports 18:48:12 + Found adjustments 18:48:12 ==> Gzipping contents 18:48:12 4.0K /tmp/codecov.cG1VJz.gz 18:48:12 ==> Uploading reports 18:48:12 url: https://codecov.io 18:48:12 query: branch=PR-70&commit=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=70&job=&cmd_args= 18:48:12 -> Pinging Codecov 18:48:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-70&commit=e1d8748bce09ac1a669cda172187fe9bbf4c2fc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=70&job=&cmd_args= 18:48:12 -> Uploading to 18:48:12 https://storage.googleapis.com/codecov/v4/raw/2024-09-09/B9AA6E0BBD74AE3A32605C7A7C664919/e1d8748bce09ac1a669cda172187fe9bbf4c2fc6/68734c57-74c2-4216-8041-bacf7ef3335e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T184812Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f417f5a5f36b3f09cf8ddda199395ffb17145ceb86a1fa7e0a67645c51ec25b 18:48:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:48:12 Dload Upload Total Spent Left Speed 18:48:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2412 --:--:-- --:--:-- --:--:-- 2412 18:48:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/e1d8748bce09ac1a669cda172187fe9bbf4c2fc6 [Pipeline] } 18:48:12 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 18:48:15 + [ -d /w/workspace/edgexfoundry_device-uart_PR-70/archives ] 18:48:15 + ls -al /w/workspace/edgexfoundry_device-uart_PR-70/archives 18:48:15 total 16 18:48:15 drwxr-xr-x 3 root root 4096 Sep 9 18:37 . 18:48:15 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 18:37 .. 18:48:15 drwxr-xr-x 2 root root 4096 Sep 9 18:37 cost 18:48:15 -rw-r--r-- 1 root root 82 Sep 9 18:37 cost.csv 18:48:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-70/archives 18:48:15 + ls -al /w/workspace/edgexfoundry_device-uart_PR-70/archives 18:48:15 total 16 18:48:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 18:37 . 18:48:15 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 18:37 .. 18:48:15 drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 18:37 cost 18:48:15 -rw-r--r-- 1 jenkins jenkins 82 Sep 9 18:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:48:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:48:16 ---> package-listing.sh 18:48:16 ++ facter osfamily 18:48:16 ++ tr '[:upper:]' '[:lower:]' 18:48:16 + OS_FAMILY=debian 18:48:16 + workspace=/w/workspace/edgexfoundry_device-uart_PR-70 18:48:16 + START_PACKAGES=/tmp/packages_start.txt 18:48:16 + END_PACKAGES=/tmp/packages_end.txt 18:48:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:48:16 + PACKAGES=/tmp/packages_start.txt 18:48:16 + '[' /w/workspace/edgexfoundry_device-uart_PR-70 ']' 18:48:16 + PACKAGES=/tmp/packages_end.txt 18:48:16 + case "${OS_FAMILY}" in 18:48:16 + grep '^ii' 18:48:16 + dpkg -l 18:48:16 + '[' -f /tmp/packages_start.txt ']' 18:48:16 + '[' -f /tmp/packages_end.txt ']' 18:48:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:48:16 + '[' /w/workspace/edgexfoundry_device-uart_PR-70 ']' 18:48:16 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-70/archives/ 18:48:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-70/archives/ [Pipeline] echo 18:48:16 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:48:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:17 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 18:48:18 $ 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-70/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-70 -v /w/workspace/edgexfoundry_device-uart_PR-70:/w/workspace/edgexfoundry_device-uart_PR-70:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-70@tmp:/w/workspace/edgexfoundry_device-uart_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:48:18 $ docker top a4a1b25e4c2e036ca295906c60727bd11692134a0f3e881c4fb8b30fd1b1a404 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:18 + touch /tmp/pre-build-complete [Pipeline] sh 18:48:18 + mkdir -p /var/log/sysstat [Pipeline] sh 18:48:19 + ls /var/log/sa-host 18:48:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:19 provisioning config files... 18:48:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-70@tmp/config5866195735666104087tmp [Pipeline] { [Pipeline] echo 18:48:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:48:19 ---> create-netrc.sh [Pipeline] } 18:48:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:48:20 ---> python-tools-install.sh [Pipeline] echo 18:48:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:48:20 ---> sudo-logs.sh 18:48:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:48:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:48:21 ---> job-cost.sh 18:48:21 lf-activate-venv: SKIPPING 18:48:21 DEBUG: total: 0.2199999988079071 18:48:21 INFO: Retrieving Stack Cost... 18:48:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:48:21 INFO: Archiving Costs [Pipeline] echo 18:48:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:48:22 ---> logs-deploy.sh 18:48:22 lf-activate-venv: SKIPPING 18:48:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-70/1 18:48:22 INFO: archiving workspace using pattern(s): 18:48:23 Archives upload complete. 18:48:23 INFO: archiving logs to Nexus