Pull request #62 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb573a7ba37f41b1f9ce82412f0111767ddf087c+d00e383a819cb4e70ab506041202e2de1b245b65 (3019a1bf10f0ff0f66471ff67c9f9bab97b324f8) 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-ssh2074315439270991884.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12596556591154529268.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-62/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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3445547530615344939.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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17602796298497498650.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4144383076691478865.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-62/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-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11517070147785279902.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6467 in /w/workspace/edgexfoundry_device-uart_PR-62 [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-62 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d00e383a819cb4e70ab506041202e2de1b245b65 into PR head commit eb573a7ba37f41b1f9ce82412f0111767ddf087c Merge succeeded, producing eb573a7ba37f41b1f9ce82412f0111767ddf087c Checking out Revision eb573a7ba37f41b1f9ce82412f0111767ddf087c (PR-62) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f eb573a7ba37f41b1f9ce82412f0111767ddf087c # 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 d00e383a819cb4e70ab506041202e2de1b245b65 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb573a7ba37f41b1f9ce82412f0111767ddf087c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:16:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:16:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:16:19 ========================================================= 18:16:19 EdgeX Global Pipelines Version Info 18:16:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:16:20 ------------------- 18:16:20 stable info: 18:16:20 ------------------- 18:16:20 Commited By: Ginny Guan ginny@iotechsys.com 18:16:20 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 18:16:20 Message: update stable to v1.0.260 18:16:20 ------------------- 18:16:20 experimental info: 18:16:20 ------------------- 18:16:20 Commited By: Ginny Guan ginny@iotechsys.com 18:16:20 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 18:16:20 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:16:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo 18:16:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo 18:16:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] echo 18:16:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb573a7 [Pipeline] echo 18:16:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:23 provisioning config files... 18:16:23 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-62@tmp/config6769425472930587573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:23 ---> ****-login.sh 18:16:23 nexus3.edgexfoundry.org:10001 18:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:24 Configure a credential helper to remove this warning. See 18:16:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:24 18:16:24 Login Succeeded 18:16:24 nexus3.edgexfoundry.org:10002 18:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:24 Configure a credential helper to remove this warning. See 18:16:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:24 18:16:24 Login Succeeded 18:16:24 nexus3.edgexfoundry.org:10003 18:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:24 Configure a credential helper to remove this warning. See 18:16:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:24 18:16:24 Login Succeeded 18:16:24 nexus3.edgexfoundry.org:10004 18:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:24 Configure a credential helper to remove this warning. See 18:16:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:24 18:16:24 Login Succeeded 18:16:24 ****.io 18:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:24 Configure a credential helper to remove this warning. See 18:16:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:24 18:16:24 Login Succeeded 18:16:24 ---> ****-login.sh ends [Pipeline] } 18:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:16:25 + git rev-list -1 --merges eb573a7ba37f41b1f9ce82412f0111767ddf087c~1..eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] echo 18:16:25 -----------> git rev-list -1 --merges eb573a7ba37f41b1f9ce82412f0111767ddf087c~1..eb573a7ba37f41b1f9ce82412f0111767ddf087c eb573a7ba37f41b1f9ce82412f0111767ddf087c [false] [Pipeline] sh 18:16:26 + git log --format=format:%s -1 eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] echo 18:16:26 ========================================================= 18:16:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:16:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:16:26 + git log --format=format:%s -1 eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] echo 18:16:26 [semverPrep] GIT_COMMIT: eb573a7ba37f41b1f9ce82412f0111767ddf087c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:16:26 [semverPrep] This is not a build commit. [Pipeline] sh 18:16:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:16:27 + grep -v github /etc/ssh/ssh_known_hosts 18:16:27 + [ -e /tmp/ssh_known_hosts ] 18:16:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:16:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:16:27 + sudo tee -a /etc/ssh/ssh_known_hosts 18:16:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:16:27 18:16:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:16:28 0.1.4: Pulling from edgex-devops/py-git-semver 18:16:28 b85a868b505f: Pulling fs layer 18:16:28 e2be974225ed: Pulling fs layer 18:16:28 339a4e72a1f5: Pulling fs layer 18:16:28 988bab9f4d93: Pulling fs layer 18:16:28 1469e6f7b9e6: Pulling fs layer 18:16:28 eaf3925da568: Pulling fs layer 18:16:28 bab4dde63d76: Pulling fs layer 18:16:28 bde34c3a00c8: Pulling fs layer 18:16:28 b352a97aabf1: Pulling fs layer 18:16:28 4872d77fe225: Pulling fs layer 18:16:28 5851b861e8e6: Pulling fs layer 18:16:28 988bab9f4d93: Waiting 18:16:28 4872d77fe225: Waiting 18:16:28 1469e6f7b9e6: Waiting 18:16:28 5851b861e8e6: Waiting 18:16:28 b352a97aabf1: Waiting 18:16:28 bde34c3a00c8: Waiting 18:16:28 bab4dde63d76: Waiting 18:16:28 e2be974225ed: Verifying Checksum 18:16:28 e2be974225ed: Download complete 18:16:28 988bab9f4d93: Verifying Checksum 18:16:28 988bab9f4d93: Download complete 18:16:28 1469e6f7b9e6: Verifying Checksum 18:16:28 1469e6f7b9e6: Download complete 18:16:28 eaf3925da568: Verifying Checksum 18:16:28 eaf3925da568: Download complete 18:16:28 339a4e72a1f5: Verifying Checksum 18:16:28 339a4e72a1f5: Download complete 18:16:28 bde34c3a00c8: Verifying Checksum 18:16:28 bde34c3a00c8: Download complete 18:16:28 b352a97aabf1: Verifying Checksum 18:16:28 b352a97aabf1: Download complete 18:16:28 4872d77fe225: Verifying Checksum 18:16:28 4872d77fe225: Download complete 18:16:28 5851b861e8e6: Verifying Checksum 18:16:28 5851b861e8e6: Download complete 18:16:28 b85a868b505f: Verifying Checksum 18:16:28 b85a868b505f: Download complete 18:16:28 bab4dde63d76: Verifying Checksum 18:16:28 bab4dde63d76: Download complete 18:16:29 b85a868b505f: Pull complete 18:16:29 e2be974225ed: Pull complete 18:16:30 339a4e72a1f5: Pull complete 18:16:30 988bab9f4d93: Pull complete 18:16:30 1469e6f7b9e6: Pull complete 18:16:30 eaf3925da568: Pull complete 18:16:32 bab4dde63d76: Pull complete 18:16:32 bde34c3a00c8: Pull complete 18:16:32 b352a97aabf1: Pull complete 18:16:32 4872d77fe225: Pull complete 18:16:32 5851b861e8e6: Pull complete 18:16:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:16:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:16:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:33 prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container 18:16:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@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:16:34 $ docker top d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a -eo pid,comm 18:16:34 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:16:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:16:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:16:34 [ssh-agent] Looking for ssh-agent implementation... 18:16:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:16:34 $ docker exec d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a ssh-agent 18:16:34 SSH_AUTH_SOCK=/tmp/ssh-KBhQaNOzqios/agent.32 18:16:34 SSH_AGENT_PID=38 18:16:34 Running ssh-add (command line suppressed) 18:16:34 Identity added: /w/workspace/edgexfoundry_device-uart_PR-62@tmp/private_key_15404376240947998791.key (/w/workspace/edgexfoundry_device-uart_PR-62@tmp/private_key_15404376240947998791.key) 18:16:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:16:35 + git tag --points-at HEAD [Pipeline] } 18:16:35 $ docker exec --env ******** --env ******** d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a ssh-agent -k 18:16:35 unset SSH_AUTH_SOCK; 18:16:35 unset SSH_AGENT_PID; 18:16:35 echo Agent pid 38 killed; 18:16:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:16:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:16:35 [ssh-agent] Looking for ssh-agent implementation... 18:16:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:16:35 $ docker exec d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a ssh-agent 18:16:35 SSH_AUTH_SOCK=/tmp/ssh-i1H7S3k5idB1/agent.71 18:16:35 SSH_AGENT_PID=77 18:16:35 Running ssh-add (command line suppressed) 18:16:35 Identity added: /w/workspace/edgexfoundry_device-uart_PR-62@tmp/private_key_1687245111197925135.key (/w/workspace/edgexfoundry_device-uart_PR-62@tmp/private_key_1687245111197925135.key) 18:16:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:16:36 + git semver init 18:16:36 2024-07-25 18:16:36,379 [run_init] DEBUG init version:0.0.0 force:False 18:16:36 2024-07-25 18:16:36,380 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-62/.semver 18:16:36 2024-07-25 18:16:36,381 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-62/.semver 18:16:36 2024-07-25 18:16:36,381 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-62/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-62, universal_newlines=False, shell=None, istream=None) 18:16:37 2024-07-25 18:16:37,385 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-62/.git/info/exclude 18:16:37 2024-07-25 18:16:37,386 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-62/.semver/PR-62 with force:False 18:16:37 2024-07-25 18:16:37,386 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-62/.semver/PR-62 18:16:37 2024-07-25 18:16:37,390 [execute] INFO git cat-file --batch-check 18:16:37 2024-07-25 18:16:37,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-62/.semver, universal_newlines=False, shell=None, istream=) 18:16:37 2024-07-25 18:16:37,398 [execute] INFO git cat-file --batch 18:16:37 2024-07-25 18:16:37,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-62/.semver, universal_newlines=False, shell=None, istream=) 18:16:37 2024-07-25 18:16:37,404 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-62/.semver/PR-62 18:16:37 0.0.0 [Pipeline] } 18:16:37 $ docker exec --env ******** --env ******** d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a ssh-agent -k 18:16:37 unset SSH_AUTH_SOCK; 18:16:37 unset SSH_AGENT_PID; 18:16:37 echo Agent pid 77 killed; 18:16:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:16:38 + git semver [Pipeline] } 18:16:38 $ docker stop --time=1 d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a 18:16:39 $ docker rm -f --volumes d95ee0c93d09377a620289fdf699cd4dbea2d0e6419f4a27098f84c09b318f7a [Pipeline] // withDockerContainer [Pipeline] sh 18:16:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:16:40 Stashed 1 file(s) [Pipeline] echo 18:16:40 [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:16:41 provisioning config files... 18:16:41 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-62@tmp/config3633596837293851790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:41 ---> ****-login.sh 18:16:41 nexus3.edgexfoundry.org:10001 18:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:41 Configure a credential helper to remove this warning. See 18:16:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:41 18:16:41 Login Succeeded 18:16:41 nexus3.edgexfoundry.org:10002 18:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:41 Configure a credential helper to remove this warning. See 18:16:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:41 18:16:41 Login Succeeded 18:16:41 nexus3.edgexfoundry.org:10003 18:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:42 Configure a credential helper to remove this warning. See 18:16:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:42 18:16:42 Login Succeeded 18:16:42 nexus3.edgexfoundry.org:10004 18:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:42 Configure a credential helper to remove this warning. See 18:16:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:42 18:16:42 Login Succeeded 18:16:42 ****.io 18:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:42 Configure a credential helper to remove this warning. See 18:16:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:42 18:16:42 Login Succeeded 18:16:42 ---> ****-login.sh ends [Pipeline] } 18:16:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:16:42 ========================================================= 18:16:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:16:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:43 + 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:16:43 Sending build context to Docker daemon 25.54MB 18:16:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:16:43 Step 2/12 : FROM ${BASE} AS builder 18:16:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:16:43 619be1103602: Pulling fs layer 18:16:43 7862e08f4a3e: Pulling fs layer 18:16:43 5df492c9dc93: Pulling fs layer 18:16:43 7629e6793208: Pulling fs layer 18:16:43 4f4fb700ef54: Pulling fs layer 18:16:43 fb5054dd5b73: Pulling fs layer 18:16:43 eeca6798cff9: Pulling fs layer 18:16:43 aa269ceb94a6: Pulling fs layer 18:16:43 ada007ff1a6a: Pulling fs layer 18:16:43 4f4fb700ef54: Waiting 18:16:43 fb5054dd5b73: Waiting 18:16:43 eeca6798cff9: Waiting 18:16:43 aa269ceb94a6: Waiting 18:16:43 ada007ff1a6a: Waiting 18:16:43 7629e6793208: Waiting 18:16:43 7629e6793208: Verifying Checksum 18:16:43 7629e6793208: Download complete 18:16:43 4f4fb700ef54: Verifying Checksum 18:16:43 4f4fb700ef54: Download complete 18:16:43 fb5054dd5b73: Verifying Checksum 18:16:43 fb5054dd5b73: Download complete 18:16:43 619be1103602: Verifying Checksum 18:16:43 619be1103602: Download complete 18:16:43 eeca6798cff9: Verifying Checksum 18:16:43 eeca6798cff9: Download complete 18:16:43 619be1103602: Pull complete 18:16:43 ada007ff1a6a: Verifying Checksum 18:16:43 ada007ff1a6a: Download complete 18:16:43 7862e08f4a3e: Pull complete 18:16:43 5df492c9dc93: Verifying Checksum 18:16:43 5df492c9dc93: Download complete 18:16:44 aa269ceb94a6: Verifying Checksum 18:16:44 aa269ceb94a6: Download complete 18:16:47 5df492c9dc93: Pull complete 18:16:47 7629e6793208: Pull complete 18:16:47 4f4fb700ef54: Pull complete 18:16:47 fb5054dd5b73: Pull complete 18:16:47 eeca6798cff9: Pull complete 18:16:50 aa269ceb94a6: Pull complete 18:16:50 ada007ff1a6a: Pull complete 18:16:50 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 18:16:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:16:50 ---> f489d0715acc 18:16:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:16:51 ---> Running in 64a04a6b0a88 18:16:51 Removing intermediate container 64a04a6b0a88 18:16:51 ---> 73bc52f54cd1 18:16:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:16:51 ---> Running in 584ae3e452d2 18:16:51 Removing intermediate container 584ae3e452d2 18:16:51 ---> 159f83b54b31 18:16:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:16:52 ---> Running in be23ed38bfad 18:16:52 Removing intermediate container be23ed38bfad 18:16:52 ---> 7b5f2caaef7a 18:16:52 Step 6/12 : WORKDIR /device-uart 18:16:52 ---> Running in 9531f22ee1e4 18:16:52 Removing intermediate container 9531f22ee1e4 18:16:52 ---> 7b07ba273d3c 18:16:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:16:52 ---> Running in a76e0b151cfb 18:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:16:53 (1/4) Installing openssh-keygen (9.3_p2-r2) 18:16:53 (2/4) Installing libedit (20221030.3.1-r1) 18:16:53 (3/4) Installing openssh-client-common (9.3_p2-r2) 18:16:53 (4/4) Installing openssh-client-default (9.3_p2-r2) 18:16:53 Executing busybox-1.36.1-r5.trigger 18:16:53 OK: 268 MiB in 56 packages 18:16:53 Removing intermediate container a76e0b151cfb 18:16:53 ---> d2e00a93b322 18:16:53 Step 8/12 : COPY go.mod vendor* ./ 18:16:53 ---> 1cbf6afaa1b3 18:16:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:16:53 ---> Running in ef3e03e7c51f 18:16:56 Still waiting to schedule task 18:16:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:17:51 Removing intermediate container ef3e03e7c51f 18:17:51 ---> 8130ef8425db 18:17:51 Step 10/12 : COPY . . 18:17:51 ---> 8fb89e5e3428 18:17:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:17:51 ---> Running in 78ed8e7035e8 18:17:51 Removing intermediate container 78ed8e7035e8 18:17:51 ---> dbe5fae8383b 18:17:51 Step 12/12 : RUN ${MAKE} 18:17:51 ---> Running in 84412f5cf6fe 18:17:51 noop 18:17:52 Removing intermediate container 84412f5cf6fe 18:17:52 ---> c593c2da93b5 18:17:52 Successfully built c593c2da93b5 18:17:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:52 + docker inspect -f . ci-base-image-x86_64 18:17:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:52 prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container 18:17:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@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:17:53 $ docker top 794894dd33dbb30282054a18ab5b6ada8d15b7851f6a0966f53349ee14481a0c -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:53 + go version 18:17:53 go version go1.21.9 linux/amd64 [Pipeline] } 18:17:53 $ docker stop --time=1 794894dd33dbb30282054a18ab5b6ada8d15b7851f6a0966f53349ee14481a0c 18:17:54 $ docker rm -f --volumes 794894dd33dbb30282054a18ab5b6ada8d15b7851f6a0966f53349ee14481a0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:55 + docker inspect -f . ci-base-image-x86_64 18:17:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:56 prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container 18:17:56 $ 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-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@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:17:56 $ docker top 93d8dd5d3c3e18c6ef094a5c60509c1a8cf460ad1b4edff76e01de7ccc5128ce -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-62 [Pipeline] fileExists [Pipeline] sh 18:17:57 + make test 18:17:57 go test ./... -coverprofile=coverage.out 18:17:59 ? github.com/edgexfoundry/device-uart [no test files] 18:18:17 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:18:17 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:18:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6468 in /w/workspace/edgexfoundry_device-uart_PR-62 [Pipeline] { [Pipeline] ws 18:18:23 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:18:26 The recommended git tool is: git 18:18:27 go vet ./... 18:18:31 using credential edgex-jenkins-ssh 18:18:31 Cloning the remote Git repository 18:18:31 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:18:31 > git init /w/workspace/device-uart/1 # timeout=10 18:18:31 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:18:31 > git --version # timeout=10 18:18:31 > git --version # 'git version 2.25.1' 18:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:18:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:18:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:18:33 ./bin/test-attribution-txt.sh 18:18:33 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:18:33 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:18:33 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:18:33 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:18:33 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:18:33 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:18:33 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:18:33 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:18:33 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:18:33 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:18:33 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:18:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:18:33 $ docker stop --time=1 93d8dd5d3c3e18c6ef094a5c60509c1a8cf460ad1b4edff76e01de7ccc5128ce 18:18:33 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:18:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:18:35 Merging remotes/origin/main commit d00e383a819cb4e70ab506041202e2de1b245b65 into PR head commit eb573a7ba37f41b1f9ce82412f0111767ddf087c 18:18:35 Merge succeeded, producing eb573a7ba37f41b1f9ce82412f0111767ddf087c 18:18:35 Checking out Revision eb573a7ba37f41b1f9ce82412f0111767ddf087c (PR-62) 18:18:34 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:18:34 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:18:34 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:18:35 > git config core.sparsecheckout # timeout=10 18:18:35 > git checkout -f eb573a7ba37f41b1f9ce82412f0111767ddf087c # timeout=10 18:18:35 > git remote # timeout=10 18:18:35 > git config --get remote.origin.url # timeout=10 18:18:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:35 > git merge d00e383a819cb4e70ab506041202e2de1b245b65 # timeout=10 18:18:35 > git rev-parse HEAD^{commit} # timeout=10 18:18:35 > git config core.sparsecheckout # timeout=10 18:18:35 > git checkout -f eb573a7ba37f41b1f9ce82412f0111767ddf087c # timeout=10 18:18:36 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:18:36 > git --version # timeout=10 18:18:36 > git --version # 'git version 2.25.1' 18:18:36 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 18:18:38 $ docker rm -f --volumes 93d8dd5d3c3e18c6ef094a5c60509c1a8cf460ad1b4edff76e01de7ccc5128ce [Pipeline] // withDockerContainer [Pipeline] sh 18:18:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:18:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:18:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 18:18:40 + ls -al . 18:18:40 total 224 18:18:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 18:17 . 18:18:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 18:16 .. 18:18:40 -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 18:16 .dockerignore 18:18:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 18:18 .git 18:18:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:16 .github 18:18:40 -rw-rw-r-- 1 jenkins jenkins 343 Jul 25 18:16 .gitignore 18:18:40 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 18:16 .golangci.yml 18:18:40 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 18:16 .semver 18:18:40 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 25 18:16 Attribution.txt 18:18:40 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 25 18:16 CHANGELOG.md 18:18:40 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 25 18:16 Dockerfile 18:18:40 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 18:16 GOVERNANCE.md 18:18:40 -rw-rw-r-- 1 jenkins jenkins 675 Jul 25 18:16 Jenkinsfile 18:18:40 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 18:16 LICENSE 18:18:40 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 25 18:16 Makefile 18:18:40 -rw-rw-r-- 1 jenkins jenkins 617 Jul 25 18:16 OWNERS.md 18:18:40 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 25 18:16 README.md 18:18:40 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 18:16 VERSION 18:18:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 18:16 bin 18:18:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:16 cmd 18:18:40 -rw-r--r-- 1 jenkins jenkins 10 Jul 25 18:17 coverage.out 18:18:40 -rw-rw-r-- 1 jenkins jenkins 6964 Jul 25 18:16 go.mod 18:18:40 -rw-rw-r-- 1 jenkins jenkins 101892 Jul 25 18:16 go.sum 18:18:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:16 internal 18:18:40 -rw-rw-r-- 1 jenkins jenkins 209 Jul 25 18:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:18:40 + 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=eb573a7ba37f41b1f9ce82412f0111767ddf087c --label arch=amd64 --label version=0.0.0 . 18:18:40 Sending build context to Docker daemon 25.54MB 18:18:40 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:18:40 Step 2/26 : FROM ${BASE} AS builder 18:18:40 ---> c593c2da93b5 18:18:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:18:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:18:41 % Total % Received % Xferd Average Speed Time Time Time Current 18:18:41 Dload Upload Total Spent Left Speed 18:18:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 18:18:41 ---> Running in 3cf9891248ee 18:18:41 Removing intermediate container 3cf9891248ee 18:18:41 ---> a78031634c7b 18:18:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:18:41 ---> Running in dc5c7e2e9948 18:18:41 Removing intermediate container dc5c7e2e9948 18:18:41 ---> 86163e24ddb3 18:18:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:18:41 ---> Running in 2ee9cb76ccf6 18:18:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:18:41 Removing intermediate container 2ee9cb76ccf6 18:18:41 ---> 0078ef03db57 18:18:41 Step 6/26 : WORKDIR /device-uart 18:18:41 ---> Running in 7e594a1e44e7 18:18:41 Removing intermediate container 7e594a1e44e7 18:18:41 ---> 507f8453832a 18:18:41 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:41 ---> Running in 07adb0d8f846 18:18:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:18:41 + sudo tee /etc/docker/daemon.new 18:18:41 { 18:18:41 "registry-mirrors": [ 18:18:41 "https://nexus3.edgexfoundry.org:10001" 18:18:41 ], 18:18:41 "bip": "10.250.0.254/24", 18:18:41 "hosts": [ 18:18:41 "tcp://0.0.0.0:5555", 18:18:41 "unix:///var/run/docker.sock" 18:18:41 ], 18:18:41 "mtu": 1458, 18:18:41 "selinux-enabled": true, 18:18:41 "seccomp-profile": "/etc/docker/seccomp.json" 18:18:41 } 18:18:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] sh 18:18:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:18:42 OK: 268 MiB in 56 packages 18:18:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:18:42 + sudo service docker restart 18:18:42 Removing intermediate container 07adb0d8f846 18:18:42 ---> d0fe974f056f 18:18:42 Step 8/26 : COPY go.mod vendor* ./ 18:18:42 ---> fd10e5adf269 18:18:42 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:42 ---> Running in f27e2967be96 18:18:43 Removing intermediate container f27e2967be96 18:18:43 ---> fb718e5030d8 18:18:43 Step 10/26 : COPY . . 18:18:44 ---> e0462463e519 18:18:44 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:18:44 ---> Running in 0bb7e9165568 18:18:44 Removing intermediate container 0bb7e9165568 18:18:44 ---> 393a31bbd701 18:18:44 Step 12/26 : RUN ${MAKE} 18:18:44 ---> Running in c3b083286ba3 18:18:44 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.27" -trimpath -mod=readonly -o cmd/device-uart ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:19:00 provisioning config files... 18:19:00 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config12449780753083766546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:01 ---> ****-login.sh 18:19:01 nexus3.edgexfoundry.org:10001 18:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:19:01 Configure a credential helper to remove this warning. See 18:19:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:19:01 18:19:01 Login Succeeded 18:19:01 nexus3.edgexfoundry.org:10002 18:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:19:02 Configure a credential helper to remove this warning. See 18:19:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:19:02 18:19:02 Login Succeeded 18:19:02 nexus3.edgexfoundry.org:10003 18:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:19:02 Configure a credential helper to remove this warning. See 18:19:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:19:02 18:19:02 Login Succeeded 18:19:02 nexus3.edgexfoundry.org:10004 18:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:19:03 Configure a credential helper to remove this warning. See 18:19:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:19:03 18:19:03 Login Succeeded 18:19:03 ****.io 18:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:19:03 Configure a credential helper to remove this warning. See 18:19:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:19:03 18:19:03 Login Succeeded 18:19:03 ---> ****-login.sh ends [Pipeline] } 18:19:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:19:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:19:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:19:03 ========================================================= 18:19:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:19:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:04 + 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:19:04 Sending build context to Docker daemon 12.84MB 18:19:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:19:04 Step 2/12 : FROM ${BASE} AS builder 18:19:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:19:04 c6b39de5b339: Pulling fs layer 18:19:04 a69c41024577: Pulling fs layer 18:19:04 d6de4b400683: Pulling fs layer 18:19:04 35cb2a7552d0: Pulling fs layer 18:19:04 4f4fb700ef54: Pulling fs layer 18:19:04 464afbd9ba4c: Pulling fs layer 18:19:04 00f215d4a9da: Pulling fs layer 18:19:04 35cb2a7552d0: Waiting 18:19:04 4f4fb700ef54: Waiting 18:19:04 464afbd9ba4c: Waiting 18:19:04 d496ad576159: Pulling fs layer 18:19:04 d496ad576159: Waiting 18:19:04 00f215d4a9da: Waiting 18:19:04 a69c41024577: Verifying Checksum 18:19:04 a69c41024577: Download complete 18:19:04 35cb2a7552d0: Verifying Checksum 18:19:04 35cb2a7552d0: Download complete 18:19:04 4f4fb700ef54: Verifying Checksum 18:19:04 4f4fb700ef54: Download complete 18:19:04 464afbd9ba4c: Verifying Checksum 18:19:04 464afbd9ba4c: Download complete 18:19:05 c6b39de5b339: Verifying Checksum 18:19:05 c6b39de5b339: Download complete 18:19:05 d496ad576159: Verifying Checksum 18:19:05 d496ad576159: Download complete 18:19:06 c6b39de5b339: Pull complete 18:19:06 a69c41024577: Pull complete 18:19:06 d6de4b400683: Verifying Checksum 18:19:06 d6de4b400683: Download complete 18:19:07 00f215d4a9da: Verifying Checksum 18:19:07 00f215d4a9da: Download complete 18:19:20 d6de4b400683: Pull complete 18:19:20 35cb2a7552d0: Pull complete 18:19:20 4f4fb700ef54: Pull complete 18:19:20 464afbd9ba4c: Pull complete 18:19:23 Removing intermediate container c3b083286ba3 18:19:23 ---> a5cbe3a66d2d 18:19:23 Step 13/26 : FROM alpine:3.18 18:19:23 3.18: Pulling from library/alpine 18:19:23 930bdd4d222e: Pulling fs layer 18:19:23 930bdd4d222e: Verifying Checksum 18:19:23 930bdd4d222e: Download complete 18:19:23 930bdd4d222e: Pull complete 18:19:23 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 18:19:23 Status: Downloaded newer image for alpine:3.18 18:19:23 ---> 18f865063206 18:19:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:19:23 ---> Running in 3fd4bfae361e 18:19:23 Removing intermediate container 3fd4bfae361e 18:19:23 ---> 0a54eae25f7d 18:19:23 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:19:23 ---> Running in 9ec0e0291672 18:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:19:23 (1/1) Installing dumb-init (1.2.5-r2) 18:19:23 Executing busybox-1.36.1-r7.trigger 18:19:23 OK: 7 MiB in 16 packages 18:19:23 Removing intermediate container 9ec0e0291672 18:19:23 ---> b085c2976a5f 18:19:23 Step 16/26 : RUN apk --no-cache upgrade 18:19:23 ---> Running in fcfe8e824710 18:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:19:23 OK: 7 MiB in 16 packages 18:19:23 Removing intermediate container fcfe8e824710 18:19:23 ---> 0e0184c702b1 18:19:23 Step 17/26 : WORKDIR / 18:19:23 ---> Running in 15355934a3bb 18:19:23 Removing intermediate container 15355934a3bb 18:19:23 ---> 2adf6971d437 18:19:23 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:19:23 ---> cbf3c8ba4004 18:19:23 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:19:23 ---> 8ba0fbdd207a 18:19:23 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:19:23 ---> 5f46799e2f5a 18:19:23 Step 21/26 : EXPOSE 59995 18:19:23 ---> Running in c6d643189d06 18:19:23 Removing intermediate container c6d643189d06 18:19:23 ---> 74f9c0cf0ca2 18:19:23 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:19:23 ---> Running in eea0ffedce6c 18:19:23 Removing intermediate container eea0ffedce6c 18:19:23 ---> 06c8ccc2aac8 18:19:23 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:19:23 ---> Running in 162cd6e40d8f 18:19:23 Removing intermediate container 162cd6e40d8f 18:19:23 ---> ac1a6f1bdf3f 18:19:23 Step 24/26 : LABEL arch=amd64 18:19:23 ---> Running in ae8abe19ae44 18:19:23 Removing intermediate container ae8abe19ae44 18:19:23 ---> 528dfdac56d4 18:19:23 Step 25/26 : LABEL git_sha=eb573a7ba37f41b1f9ce82412f0111767ddf087c 18:19:23 ---> Running in 3af64ecf4221 18:19:23 Removing intermediate container 3af64ecf4221 18:19:23 ---> 9a87ef66529a 18:19:23 Step 26/26 : LABEL version=0.0.0 18:19:23 ---> Running in 1231c8574cd1 18:19:23 Removing intermediate container 1231c8574cd1 18:19:23 ---> 82ea60cda278 18:19:23 [Warning] One or more build-args [ARCH] were not consumed 18:19:23 Successfully built 82ea60cda278 18:19:23 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:19:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:19:25 18:19:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:19:25 latest: Pulling from edgex-lftools-log-publisher 18:19:25 5eb5b503b376: Pulling fs layer 18:19:25 5c69ac0246d0: Pulling fs layer 18:19:25 ec43610c2a17: Pulling fs layer 18:19:25 3a2ae6a8a46f: Pulling fs layer 18:19:25 33b1e0a273af: Pulling fs layer 18:19:25 5d3b04190fa2: Pulling fs layer 18:19:25 2f39f015ded8: Pulling fs layer 18:19:25 3a2ae6a8a46f: Waiting 18:19:25 33b1e0a273af: Waiting 18:19:25 5d3b04190fa2: Waiting 18:19:25 2f39f015ded8: Waiting 18:19:25 5c69ac0246d0: Verifying Checksum 18:19:25 5c69ac0246d0: Download complete 18:19:25 3a2ae6a8a46f: Verifying Checksum 18:19:25 3a2ae6a8a46f: Download complete 18:19:25 33b1e0a273af: Verifying Checksum 18:19:25 33b1e0a273af: Download complete 18:19:25 5d3b04190fa2: Download complete 18:19:25 ec43610c2a17: Verifying Checksum 18:19:25 ec43610c2a17: Download complete 18:19:25 5eb5b503b376: Verifying Checksum 18:19:25 5eb5b503b376: Download complete 18:19:26 2f39f015ded8: Download complete 18:19:26 5eb5b503b376: Pull complete 18:19:27 5c69ac0246d0: Pull complete 18:19:27 ec43610c2a17: Pull complete 18:19:27 3a2ae6a8a46f: Pull complete 18:19:27 33b1e0a273af: Pull complete 18:19:27 5d3b04190fa2: Pull complete 18:19:28 00f215d4a9da: Pull complete 18:19:30 d496ad576159: Pull complete 18:19:30 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 18:19:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:19:30 ---> f246e2811388 18:19:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:19:31 2f39f015ded8: Pull complete 18:19:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:19:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:19:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:32 prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container 18:19:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@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:19:32 ---> Running in c6cd81fbe15b 18:19:32 Removing intermediate container c6cd81fbe15b 18:19:32 ---> db4caffcd4d5 18:19:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:19:32 ---> Running in c58eb01f74a7 18:19:32 Removing intermediate container c58eb01f74a7 18:19:32 ---> 8b3857d3ea54 18:19:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:19:32 ---> Running in 45f6a98a682b 18:19:33 Removing intermediate container 45f6a98a682b 18:19:33 ---> b245e1241acd 18:19:33 Step 6/12 : WORKDIR /device-uart 18:19:33 ---> Running in e7661bee3741 18:19:33 Removing intermediate container e7661bee3741 18:19:33 ---> eca0297e2388 18:19:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:19:33 ---> Running in 93e47bfd5ccf 18:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:19:36 (1/4) Installing openssh-keygen (9.3_p2-r2) 18:19:36 (2/4) Installing libedit (20221030.3.1-r1) 18:19:36 (3/4) Installing openssh-client-common (9.3_p2-r2) 18:19:36 (4/4) Installing openssh-client-default (9.3_p2-r2) 18:19:36 Executing busybox-1.36.1-r5.trigger 18:19:36 OK: 271 MiB in 56 packages 18:19:37 Removing intermediate container 93e47bfd5ccf 18:19:37 ---> 6da0008bf2de 18:19:37 Step 8/12 : COPY go.mod vendor* ./ 18:19:37 $ docker top 9222f559763e520ae078fa624b631d0bf9c76e1bf09a5cf862b6fc5b8af37335 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:37 ---> 110c4d13c0c2 18:19:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:19:37 ---> Running in 73516faa7aaf 18:19:37 ---> job-cost.sh 18:19:37 lf-activate-venv: SKIPPING 18:19:37 INFO: No Stack... 18:19:37 INFO: Retrieving Pricing Info for: v3-standard-8 18:19:38 INFO: Archiving Costs [Pipeline] sh 18:19:38 + cat /w/workspace/edgexfoundry_device-uart_PR-62/archives/cost.csv 18:19:38 + cut -d, -f6 [Pipeline] lock 18:19:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] 18:19:38 Resource [jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] did not exist. Created. 18:19:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:19:39 + echo total: 0.2199999988079071 [Pipeline] stash 18:19:39 Stashed 1 file(s) [Pipeline] } 18:19:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:19:39 $ docker stop --time=1 9222f559763e520ae078fa624b631d0bf9c76e1bf09a5cf862b6fc5b8af37335 18:19:40 $ docker rm -f --volumes 9222f559763e520ae078fa624b631d0bf9c76e1bf09a5cf862b6fc5b8af37335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:21:29 Removing intermediate container 73516faa7aaf 18:21:29 ---> 07b9857a2c28 18:21:29 Step 10/12 : COPY . . 18:21:29 ---> 06337e9ff5d6 18:21:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:29 ---> Running in cf5575aa84d3 18:21:29 Removing intermediate container cf5575aa84d3 18:21:29 ---> 0e88714dafda 18:21:29 Step 12/12 : RUN ${MAKE} 18:21:29 ---> Running in 294308b28e6e 18:21:29 noop 18:21:29 Removing intermediate container 294308b28e6e 18:21:29 ---> 13253c1c1d23 18:21:29 Successfully built 13253c1c1d23 18:21:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:29 + docker inspect -f . ci-base-image-arm64 18:21:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:21:30 prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container 18:21:30 $ 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:21:31 $ docker top 735e05c3f1e4b984cb475b02feaadbe3e45eba69fb7cea19f025eb52a2680224 -eo pid,comm [Pipeline] { [Pipeline] sh 18:21:32 + go version 18:21:32 go version go1.21.9 linux/arm64 [Pipeline] } 18:21:32 $ docker stop --time=1 735e05c3f1e4b984cb475b02feaadbe3e45eba69fb7cea19f025eb52a2680224 18:21:33 $ docker rm -f --volumes 735e05c3f1e4b984cb475b02feaadbe3e45eba69fb7cea19f025eb52a2680224 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:34 + docker inspect -f . ci-base-image-arm64 18:21:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:21:35 prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container 18:21:35 $ 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:21:36 $ docker top 5f51d68d65e27f267161e1ea9575340825d345057b3ad040c4d48a598e41ec58 -eo pid,comm [Pipeline] { [Pipeline] sh 18:21:36 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:21:37 + make test 18:21:37 go test ./... -coverprofile=coverage.out 18:21:42 ? github.com/edgexfoundry/device-uart [no test files] 18:25:19 ? github.com/edgexfoundry/device-uart/cmd [no test files] 18:25:19 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 18:25:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:25:19 go vet ./... 18:25:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:25:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:25:52 ./bin/test-attribution-txt.sh 18:25:52 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:25:52 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:25:52 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:25:52 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:25:52 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:25:52 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:25:52 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:25:52 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:25:52 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:25:52 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:25:52 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:25:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:25:55 $ docker stop --time=1 5f51d68d65e27f267161e1ea9575340825d345057b3ad040c4d48a598e41ec58 18:25:57 $ docker rm -f --volumes 5f51d68d65e27f267161e1ea9575340825d345057b3ad040c4d48a598e41ec58 [Pipeline] // withDockerContainer [Pipeline] sh 18:25:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:25:59 Warning: overwriting stash ‘coverage-report’ 18:26:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:26:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:26:02 + ls -al . 18:26:02 total 220 18:26:02 drwxrwxr-x 7 jenkins jenkins 4096 Jul 25 18:21 . 18:26:02 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 18:18 .. 18:26:02 -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 18:18 .dockerignore 18:26:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 18:18 .git 18:26:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:18 .github 18:26:02 -rw-rw-r-- 1 jenkins jenkins 343 Jul 25 18:18 .gitignore 18:26:02 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 18:18 .golangci.yml 18:26:02 -rw-rw-r-- 1 jenkins jenkins 9941 Jul 25 18:18 Attribution.txt 18:26:02 -rw-rw-r-- 1 jenkins jenkins 1908 Jul 25 18:18 CHANGELOG.md 18:26:02 -rw-rw-r-- 1 jenkins jenkins 1886 Jul 25 18:18 Dockerfile 18:26:02 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 18:18 GOVERNANCE.md 18:26:02 -rw-rw-r-- 1 jenkins jenkins 675 Jul 25 18:18 Jenkinsfile 18:26:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 18:18 LICENSE 18:26:02 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 25 18:18 Makefile 18:26:02 -rw-rw-r-- 1 jenkins jenkins 617 Jul 25 18:18 OWNERS.md 18:26:02 -rw-rw-r-- 1 jenkins jenkins 8892 Jul 25 18:18 README.md 18:26:02 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 18:16 VERSION 18:26:02 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 18:18 bin 18:26:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:18 cmd 18:26:02 -rw-r--r-- 1 jenkins jenkins 10 Jul 25 18:21 coverage.out 18:26:02 -rw-rw-r-- 1 jenkins jenkins 6964 Jul 25 18:18 go.mod 18:26:02 -rw-rw-r-- 1 jenkins jenkins 101892 Jul 25 18:18 go.sum 18:26:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:18 internal 18:26:02 -rw-rw-r-- 1 jenkins jenkins 209 Jul 25 18:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:04 + 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=eb573a7ba37f41b1f9ce82412f0111767ddf087c --label arch=arm64 --label version=0.0.0 . 18:26:04 Sending build context to Docker daemon 12.84MB 18:26:04 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:26:04 Step 2/26 : FROM ${BASE} AS builder 18:26:04 ---> 13253c1c1d23 18:26:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:26:04 ---> Running in 3378b7b6f151 18:26:04 Removing intermediate container 3378b7b6f151 18:26:04 ---> 576e414503d9 18:26:04 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:26:04 ---> Running in f23fdd4bc671 18:26:05 Removing intermediate container f23fdd4bc671 18:26:05 ---> 96a2a83384b6 18:26:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:26:05 ---> Running in d659b1af57cb 18:26:05 Removing intermediate container d659b1af57cb 18:26:05 ---> f96394dfe3bc 18:26:05 Step 6/26 : WORKDIR /device-uart 18:26:05 ---> Running in 9d7c30d6199a 18:26:05 Removing intermediate container 9d7c30d6199a 18:26:05 ---> 198bcc93401d 18:26:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:26:05 ---> Running in 818b111562a5 18:26:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:26:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:26:08 OK: 271 MiB in 56 packages 18:26:09 Removing intermediate container 818b111562a5 18:26:09 ---> ca730d4d77e6 18:26:09 Step 8/26 : COPY go.mod vendor* ./ 18:26:09 ---> 6eec65e9ea30 18:26:09 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:26:09 ---> Running in a94c3211e1e1 18:26:12 Removing intermediate container a94c3211e1e1 18:26:12 ---> 7344adec7d89 18:26:12 Step 10/26 : COPY . . 18:26:13 ---> 62ca3f191449 18:26:13 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:26:13 ---> Running in c60013e9607c 18:26:13 Removing intermediate container c60013e9607c 18:26:13 ---> d09dac1c2ae8 18:26:13 Step 12/26 : RUN ${MAKE} 18:26:13 ---> Running in c93c7dad7582 18:26:14 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.27" -trimpath -mod=readonly -o cmd/device-uart ./cmd 18:29:36 Removing intermediate container c93c7dad7582 18:29:36 ---> dde4f00d9fc1 18:29:36 Step 13/26 : FROM alpine:3.18 18:29:36 3.18: Pulling from library/alpine 18:29:36 4983c3fe2029: Pulling fs layer 18:29:36 4983c3fe2029: Verifying Checksum 18:29:36 4983c3fe2029: Download complete 18:29:36 4983c3fe2029: Pull complete 18:29:36 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 18:29:36 Status: Downloaded newer image for alpine:3.18 18:29:36 ---> a0237000ae83 18:29:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:29:36 ---> Running in e584f69a4601 18:29:36 Removing intermediate container e584f69a4601 18:29:36 ---> d194803a8cb6 18:29:36 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:29:36 ---> Running in 42ee2270765d 18:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:29:36 (1/1) Installing dumb-init (1.2.5-r2) 18:29:36 Executing busybox-1.36.1-r7.trigger 18:29:36 OK: 8 MiB in 16 packages 18:29:37 Removing intermediate container 42ee2270765d 18:29:37 ---> 162e2fe64765 18:29:37 Step 16/26 : RUN apk --no-cache upgrade 18:29:37 ---> Running in 378dbfc2f5b4 18:29:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:29:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:29:39 OK: 8 MiB in 16 packages 18:29:40 Removing intermediate container 378dbfc2f5b4 18:29:40 ---> 63b190aa1928 18:29:40 Step 17/26 : WORKDIR / 18:29:40 ---> Running in b8a88fbb88bb 18:29:40 Removing intermediate container b8a88fbb88bb 18:29:40 ---> e7476fc5acb9 18:29:40 Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / 18:29:41 ---> 065adf96713c 18:29:41 Step 19/26 : COPY --from=builder /device-uart/LICENSE / 18:29:41 ---> 33cd3fa05a03 18:29:41 Step 20/26 : COPY --from=builder /device-uart/cmd/ / 18:29:44 ---> c7050055adf1 18:29:44 Step 21/26 : EXPOSE 59995 18:29:44 ---> Running in d154b66b1315 18:29:44 Removing intermediate container d154b66b1315 18:29:44 ---> d21bff70602e 18:29:44 Step 22/26 : ENTRYPOINT ["/device-uart"] 18:29:44 ---> Running in 7b3c443398ce 18:29:44 Removing intermediate container 7b3c443398ce 18:29:44 ---> 5bfe4d819e56 18:29:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:29:44 ---> Running in 19d0ea462e0c 18:29:44 Removing intermediate container 19d0ea462e0c 18:29:44 ---> b1aec12c4fd7 18:29:44 Step 24/26 : LABEL arch=arm64 18:29:45 ---> Running in d321a7b9c7a6 18:29:45 Removing intermediate container d321a7b9c7a6 18:29:45 ---> 2e4462f47a02 18:29:45 Step 25/26 : LABEL git_sha=eb573a7ba37f41b1f9ce82412f0111767ddf087c 18:29:45 ---> Running in 9d1b5825fc41 18:29:45 Removing intermediate container 9d1b5825fc41 18:29:45 ---> ef83f82aac3a 18:29:45 Step 26/26 : LABEL version=0.0.0 18:29:45 ---> Running in 05a04c951c6c 18:29:45 Removing intermediate container 05a04c951c6c 18:29:45 ---> 0b3f7f044261 18:29:45 [Warning] One or more build-args [ARCH] were not consumed 18:29:46 Successfully built 0b3f7f044261 18:29:46 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:29:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:29:47 18:29:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:29:47 arm64: Pulling from edgex-lftools-log-publisher 18:29:47 8998bd30e6a1: Pulling fs layer 18:29:47 04944245beec: Pulling fs layer 18:29:47 699f458cf7ca: Pulling fs layer 18:29:47 765212b225bb: Pulling fs layer 18:29:47 f23df028b6ca: Pulling fs layer 18:29:47 765212b225bb: Waiting 18:29:47 d65c8cfc05b1: Pulling fs layer 18:29:47 2437ff75d9bd: Pulling fs layer 18:29:47 f23df028b6ca: Waiting 18:29:47 2437ff75d9bd: Waiting 18:29:47 d65c8cfc05b1: Waiting 18:29:48 04944245beec: Verifying Checksum 18:29:48 04944245beec: Download complete 18:29:48 765212b225bb: Verifying Checksum 18:29:48 765212b225bb: Download complete 18:29:48 f23df028b6ca: Verifying Checksum 18:29:48 f23df028b6ca: Download complete 18:29:48 d65c8cfc05b1: Download complete 18:29:48 699f458cf7ca: Verifying Checksum 18:29:48 699f458cf7ca: Download complete 18:29:49 8998bd30e6a1: Verifying Checksum 18:29:49 8998bd30e6a1: Download complete 18:29:52 2437ff75d9bd: Verifying Checksum 18:29:52 2437ff75d9bd: Download complete 18:29:54 8998bd30e6a1: Pull complete 18:29:54 04944245beec: Pull complete 18:29:56 699f458cf7ca: Pull complete 18:29:56 765212b225bb: Pull complete 18:29:57 f23df028b6ca: Pull complete 18:29:57 d65c8cfc05b1: Pull complete 18:30:16 2437ff75d9bd: Pull complete 18:30:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:30:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:16 prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container 18:30:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:30:19 $ docker top 91007ab69da611cc0b11d680525f4fe41733abce80a07dee1fc8d938a05c691e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:20 ---> job-cost.sh 18:30:20 lf-activate-venv: SKIPPING 18:30:20 INFO: No Stack... 18:30:20 INFO: Retrieving Pricing Info for: v3-standard-4 18:30:21 INFO: Archiving Costs [Pipeline] sh 18:30:21 + cat /w/workspace/device-uart/1/archives/cost.csv 18:30:21 + cut -d, -f6 [Pipeline] lock 18:30:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] 18:30:21 Resource [jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] did not exist. Created. 18:30:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:30:22 /w/workspace/device-uart/1@tmp/durable-faa9d7a8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:30:23 + echo total: 0.10999999940395355 [Pipeline] stash 18:30:23 Warning: overwriting stash ‘stack-cost’ 18:30:23 Stashed 1 file(s) [Pipeline] } 18:30:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:30:23 $ docker stop --time=1 91007ab69da611cc0b11d680525f4fe41733abce80a07dee1fc8d938a05c691e 18:30:25 $ docker rm -f --volumes 91007ab69da611cc0b11d680525f4fe41733abce80a07dee1fc8d938a05c691e [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:30:26 provisioning config files... 18:30:26 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-62@tmp/config16832356332854080341tmp [Pipeline] { [Pipeline] sh 18:30:26 + set +x 18:30:26 + curl -s https://codecov.io/bash 18:30:26 + bash -s -- 18:30:26 18:30:26 _____ _ 18:30:26 / ____| | | 18:30:26 | | ___ __| | ___ ___ _____ __ 18:30:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:30:26 | |___| (_) | (_| | __/ (_| (_) \ V / 18:30:26 \_____\___/ \__,_|\___|\___\___/ \_/ 18:30:26 Bash-1.0.6 18:30:26 18:30:26 18:30:26 ==> git version 2.25.1 found 18:30:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:30:26 Release-Date: 2020-01-08 18:30:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:30:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:30:26 ==> Jenkins CI detected. 18:30:26 current dir:  /w/workspace/edgexfoundry_device-uart_PR-62 18:30:26 project root: . 18:30:26 --> token set from env 18:30:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:30:26 ==> Running gcov in . (disable via -X gcov) 18:30:26 ==> Python coveragepy not found 18:30:26 ==> Searching for coverage reports in: 18:30:26 + . 18:30:26 -> Found 1 reports 18:30:26 ==> Detecting git/mercurial file structure 18:30:26 ==> Reading reports 18:30:26 + ./coverage.out bytes=10 18:30:26 ==> Appending adjustments 18:30:26 https://docs.codecov.io/docs/fixing-reports 18:30:26 + Found adjustments 18:30:26 ==> Gzipping contents 18:30:26 4.0K /tmp/codecov.NgKlJ1.gz 18:30:26 ==> Uploading reports 18:30:26 url: https://codecov.io 18:30:26 query: branch=PR-62&commit=eb573a7ba37f41b1f9ce82412f0111767ddf087c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-62%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=62&job=&cmd_args= 18:30:26 -> Pinging Codecov 18:30:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-62&commit=eb573a7ba37f41b1f9ce82412f0111767ddf087c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-62%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=62&job=&cmd_args= 18:30:27 -> Uploading to 18:30:27 https://storage.googleapis.com/codecov/v4/raw/2024-07-25/B9AA6E0BBD74AE3A32605C7A7C664919/eb573a7ba37f41b1f9ce82412f0111767ddf087c/65a7f4a0-f72b-499d-91fa-d6267fc942b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T183027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67058657c3a7244241c3db8c586f376c1bef7c7f87475abadcde8f86181d1e8a 18:30:27 % Total % Received % Xferd Average Speed Time Time Time Current 18:30:27 Dload Upload Total Spent Left Speed 18:30:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2899 --:--:-- --:--:-- --:--:-- 2899 100 603 0 0 100 603 0 2355 --:--:-- --:--:-- --:--:-- 2355 18:30:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/eb573a7ba37f41b1f9ce82412f0111767ddf087c [Pipeline] } 18:30:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:30:30 + [ -d /w/workspace/edgexfoundry_device-uart_PR-62/archives ] 18:30:30 + ls -al /w/workspace/edgexfoundry_device-uart_PR-62/archives 18:30:30 total 16 18:30:30 drwxr-xr-x 3 root root 4096 Jul 25 18:19 . 18:30:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 18:19 .. 18:30:30 drwxr-xr-x 2 root root 4096 Jul 25 18:19 cost 18:30:30 -rw-r--r-- 1 root root 82 Jul 25 18:19 cost.csv 18:30:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-62/archives 18:30:30 + ls -al /w/workspace/edgexfoundry_device-uart_PR-62/archives 18:30:30 total 16 18:30:30 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 18:19 . 18:30:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 18:19 .. 18:30:30 drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 18:19 cost 18:30:30 -rw-r--r-- 1 jenkins jenkins 82 Jul 25 18:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:30:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:30:31 ---> package-listing.sh 18:30:31 ++ facter osfamily 18:30:31 ++ tr '[:upper:]' '[:lower:]' 18:30:31 + OS_FAMILY=debian 18:30:31 + workspace=/w/workspace/edgexfoundry_device-uart_PR-62 18:30:31 + START_PACKAGES=/tmp/packages_start.txt 18:30:31 + END_PACKAGES=/tmp/packages_end.txt 18:30:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:30:31 + PACKAGES=/tmp/packages_start.txt 18:30:31 + '[' /w/workspace/edgexfoundry_device-uart_PR-62 ']' 18:30:31 + PACKAGES=/tmp/packages_end.txt 18:30:31 + case "${OS_FAMILY}" in 18:30:31 + dpkg -l 18:30:31 + grep '^ii' 18:30:31 + '[' -f /tmp/packages_start.txt ']' 18:30:31 + '[' -f /tmp/packages_end.txt ']' 18:30:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:30:31 + '[' /w/workspace/edgexfoundry_device-uart_PR-62 ']' 18:30:31 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-62/archives/ 18:30:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-62/archives/ [Pipeline] echo 18:30:31 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:30:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:32 prd-ubuntu20.04-docker-8c-8g-6467 does not seem to be running inside a container 18:30:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-62/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-62 -v /w/workspace/edgexfoundry_device-uart_PR-62:/w/workspace/edgexfoundry_device-uart_PR-62:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-62@tmp:/w/workspace/edgexfoundry_device-uart_PR-62@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:30:33 $ docker top 558442c8a4ba0de44fecda2dfeb9e79d821f2a7279866d3622ce40852dc7a373 -eo pid,comm [Pipeline] { [Pipeline] sh 18:30:33 + touch /tmp/pre-build-complete [Pipeline] sh 18:30:33 + mkdir -p /var/log/sysstat [Pipeline] sh 18:30:34 + ls /var/log/sa-host 18:30:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:30:34 provisioning config files... 18:30:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-62@tmp/config3687264650066250799tmp [Pipeline] { [Pipeline] echo 18:30:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:30:34 ---> create-netrc.sh [Pipeline] } 18:30:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:30:35 ---> python-tools-install.sh [Pipeline] echo 18:30:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:30:35 ---> sudo-logs.sh 18:30:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:30:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:30:36 ---> job-cost.sh 18:30:36 lf-activate-venv: SKIPPING 18:30:36 DEBUG: total: 0.2199999988079071 18:30:36 INFO: Retrieving Stack Cost... 18:30:36 INFO: Retrieving Pricing Info for: v3-standard-8 18:30:37 INFO: Archiving Costs [Pipeline] echo 18:30:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:30:37 ---> logs-deploy.sh 18:30:37 lf-activate-venv: SKIPPING 18:30:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-62/1 18:30:37 INFO: archiving workspace using pattern(s): 18:30:38 Archives upload complete. 18:30:38 INFO: archiving logs to Nexus