Pull request #23 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-uart Obtained Jenkinsfile from 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b+5a7611fe9d2266d68c2062e26c6ab482e9781192 (382d5086e7c3bf2448ef0eda10eb7fcb5f1311e8) 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-ssh479382208463074043.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh7023578284790139959.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4955553872470026125.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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 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-ssh2481883455882328428.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-23/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-23/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15580045524145889838.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4544 in /w/workspace/edgexfoundry_device-uart_PR-23 [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-23 # 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/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5a7611fe9d2266d68c2062e26c6ab482e9781192 into PR head commit 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b Merge succeeded, producing 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b Checking out Revision 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b (PR-23) > git config core.sparsecheckout # timeout=10 > git checkout -f 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b # 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 5a7611fe9d2266d68c2062e26c6ab482e9781192 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git rev-list --no-walk c383605551135fb1a268e141f6497e4e39ec718f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:59:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:59:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:59:56 ========================================================= 07:59:56 EdgeX Global Pipelines Version Info 07:59:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:59:57 ------------------- 07:59:57 stable info: 07:59:57 ------------------- 07:59:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:59:57 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:59:57 Message: update stable to v1.0.253 07:59:58 ------------------- 07:59:58 experimental info: 07:59:58 ------------------- 07:59:58 Commited By: **** collab-it+edgex@linuxfoundation.org 07:59:58 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:59:58 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-23 [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-23 [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-23 [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fe1bcd [Pipeline] echo 07:59:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:59:58 provisioning config files... 07:59:58 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-23@tmp/config10554030285805669620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:59 ---> docker-login.sh 07:59:59 nexus3.edgexfoundry.org:10001 07:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:59 Configure a credential helper to remove this warning. See 07:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:59 07:59:59 Login Succeeded 07:59:59 nexus3.edgexfoundry.org:10002 07:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:59 Configure a credential helper to remove this warning. See 07:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:59 07:59:59 Login Succeeded 07:59:59 nexus3.edgexfoundry.org:10003 07:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:59 Configure a credential helper to remove this warning. See 07:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:59 07:59:59 Login Succeeded 07:59:59 nexus3.edgexfoundry.org:10004 07:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:59 Configure a credential helper to remove this warning. See 07:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:59 07:59:59 Login Succeeded 07:59:59 docker.io 08:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:00 Configure a credential helper to remove this warning. See 08:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:00 08:00:00 Login Succeeded 08:00:00 ---> docker-login.sh ends [Pipeline] } 08:00:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:00:00 + git rev-list -1 --merges 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b~1..0fe1bcda66a2ce3a1501dde87b5f841082acaf8b [Pipeline] echo 08:00:00 -----------> git rev-list -1 --merges 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b~1..0fe1bcda66a2ce3a1501dde87b5f841082acaf8b 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b [false] [Pipeline] sh 08:00:01 + git log --format=format:%s -1 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b [Pipeline] echo 08:00:01 ========================================================= 08:00:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:00:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:01 + git log --format=format:%s -1 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b [Pipeline] echo 08:00:01 [semverPrep] GIT_COMMIT: 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 08:00:01 [semverPrep] This is not a build commit. [Pipeline] sh 08:00:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:00:01 + grep -v github /etc/ssh/ssh_known_hosts 08:00:01 + [ -e /tmp/ssh_known_hosts ] 08:00:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:00:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:00:01 + sudo tee -a /etc/ssh/ssh_known_hosts 08:00:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:00:02 08:00:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:00:02 0.1.4: Pulling from edgex-devops/py-git-semver 08:00:02 b85a868b505f: Pulling fs layer 08:00:02 e2be974225ed: Pulling fs layer 08:00:02 339a4e72a1f5: Pulling fs layer 08:00:02 988bab9f4d93: Pulling fs layer 08:00:02 1469e6f7b9e6: Pulling fs layer 08:00:02 eaf3925da568: Pulling fs layer 08:00:02 bab4dde63d76: Pulling fs layer 08:00:02 bde34c3a00c8: Pulling fs layer 08:00:02 b352a97aabf1: Pulling fs layer 08:00:02 4872d77fe225: Pulling fs layer 08:00:02 5851b861e8e6: Pulling fs layer 08:00:02 988bab9f4d93: Waiting 08:00:02 1469e6f7b9e6: Waiting 08:00:02 eaf3925da568: Waiting 08:00:02 b352a97aabf1: Waiting 08:00:02 4872d77fe225: Waiting 08:00:02 bab4dde63d76: Waiting 08:00:02 5851b861e8e6: Waiting 08:00:02 bde34c3a00c8: Waiting 08:00:02 e2be974225ed: Download complete 08:00:02 988bab9f4d93: Verifying Checksum 08:00:02 988bab9f4d93: Download complete 08:00:02 1469e6f7b9e6: Verifying Checksum 08:00:02 1469e6f7b9e6: Download complete 08:00:02 eaf3925da568: Verifying Checksum 08:00:02 eaf3925da568: Download complete 08:00:02 339a4e72a1f5: Download complete 08:00:02 bde34c3a00c8: Verifying Checksum 08:00:02 bde34c3a00c8: Download complete 08:00:02 b352a97aabf1: Download complete 08:00:02 4872d77fe225: Download complete 08:00:02 5851b861e8e6: Verifying Checksum 08:00:02 5851b861e8e6: Download complete 08:00:02 b85a868b505f: Verifying Checksum 08:00:02 b85a868b505f: Download complete 08:00:02 bab4dde63d76: Verifying Checksum 08:00:02 bab4dde63d76: Download complete 08:00:04 b85a868b505f: Pull complete 08:00:04 e2be974225ed: Pull complete 08:00:04 339a4e72a1f5: Pull complete 08:00:04 988bab9f4d93: Pull complete 08:00:05 1469e6f7b9e6: Pull complete 08:00:05 eaf3925da568: Pull complete 08:00:07 bab4dde63d76: Pull complete 08:00:07 bde34c3a00c8: Pull complete 08:00:07 b352a97aabf1: Pull complete 08:00:07 4872d77fe225: Pull complete 08:00:07 5851b861e8e6: Pull complete 08:00:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:00:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:00:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:07 prd-ubuntu20.04-docker-8c-8g-4544 does not seem to be running inside a container 08:00:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:00:10 $ docker top 1a92d35a000275bd880c250fb2729071ab1d8af7758df315180e81670d6b1f46 -eo pid,comm 08:00:10 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). 08:00:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:00:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:00:10 [ssh-agent] Looking for ssh-agent implementation... 08:00:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:00:10 $ docker exec 1a92d35a000275bd880c250fb2729071ab1d8af7758df315180e81670d6b1f46 ssh-agent 08:00:10 SSH_AUTH_SOCK=/tmp/ssh-EM7rmIsGfVfT/agent.33 08:00:10 SSH_AGENT_PID=39 08:00:10 Running ssh-add (command line suppressed) 08:00:10 Identity added: /w/workspace/edgexfoundry_device-uart_PR-23@tmp/private_key_2884119204615916361.key (/w/workspace/edgexfoundry_device-uart_PR-23@tmp/private_key_2884119204615916361.key) 08:00:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:00:10 + git tag --points-at HEAD [Pipeline] } 08:00:10 $ docker exec --env ******** --env ******** 1a92d35a000275bd880c250fb2729071ab1d8af7758df315180e81670d6b1f46 ssh-agent -k 08:00:10 unset SSH_AUTH_SOCK; 08:00:10 unset SSH_AGENT_PID; 08:00:10 echo Agent pid 39 killed; 08:00:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:00:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:00:11 [ssh-agent] Looking for ssh-agent implementation... 08:00:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:00:11 $ docker exec 1a92d35a000275bd880c250fb2729071ab1d8af7758df315180e81670d6b1f46 ssh-agent 08:00:11 SSH_AUTH_SOCK=/tmp/ssh-oMpoLExCr39L/agent.71 08:00:11 SSH_AGENT_PID=77 08:00:11 Running ssh-add (command line suppressed) 08:00:11 Identity added: /w/workspace/edgexfoundry_device-uart_PR-23@tmp/private_key_8367986916335204121.key (/w/workspace/edgexfoundry_device-uart_PR-23@tmp/private_key_8367986916335204121.key) 08:00:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:00:11 + git semver init 08:00:11 2023-08-25 08:00:11,878 [run_init] DEBUG init version:0.0.0 force:False 08:00:11 2023-08-25 08:00:11,879 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-23/.semver 08:00:11 2023-08-25 08:00:11,879 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-23/.semver 08:00:11 2023-08-25 08:00:11,880 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-23/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-23, universal_newlines=False, shell=None, istream=None) 08:00:12 2023-08-25 08:00:12,690 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-23/.git/info/exclude 08:00:12 2023-08-25 08:00:12,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-23/.semver/PR-23 with force:False 08:00:12 2023-08-25 08:00:12,691 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-23/.semver/PR-23 08:00:12 2023-08-25 08:00:12,695 [execute] INFO git cat-file --batch-check 08:00:12 2023-08-25 08:00:12,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-23/.semver, universal_newlines=False, shell=None, istream=) 08:00:12 2023-08-25 08:00:12,703 [execute] INFO git cat-file --batch 08:00:12 2023-08-25 08:00:12,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-23/.semver, universal_newlines=False, shell=None, istream=) 08:00:12 2023-08-25 08:00:12,708 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-23/.semver/PR-23 08:00:12 0.0.0 [Pipeline] } 08:00:12 $ docker exec --env ******** --env ******** 1a92d35a000275bd880c250fb2729071ab1d8af7758df315180e81670d6b1f46 ssh-agent -k 08:00:12 unset SSH_AUTH_SOCK; 08:00:12 unset SSH_AGENT_PID; 08:00:12 echo Agent pid 77 killed; 08:00:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:00:13 + git semver [Pipeline] } 08:00:15 $ docker stop --time=1 1a92d35a000275bd880c250fb2729071ab1d8af7758df315180e81670d6b1f46 08:00:16 $ docker rm -f --volumes 1a92d35a000275bd880c250fb2729071ab1d8af7758df315180e81670d6b1f46 [Pipeline] // withDockerContainer [Pipeline] sh 08:00:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:00:23 Stashed 1 file(s) [Pipeline] echo 08:00:23 [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 08:00:23 provisioning config files... 08:00:23 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-23@tmp/config12922455538533275914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:00:24 ---> docker-login.sh 08:00:24 nexus3.edgexfoundry.org:10001 08:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:24 Configure a credential helper to remove this warning. See 08:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:24 08:00:24 Login Succeeded 08:00:24 nexus3.edgexfoundry.org:10002 08:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:24 Configure a credential helper to remove this warning. See 08:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:24 08:00:25 Login Succeeded 08:00:25 nexus3.edgexfoundry.org:10003 08:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:26 Configure a credential helper to remove this warning. See 08:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:26 08:00:26 Login Succeeded 08:00:26 nexus3.edgexfoundry.org:10004 08:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:26 Configure a credential helper to remove this warning. See 08:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:26 08:00:26 Login Succeeded 08:00:26 docker.io 08:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:26 Configure a credential helper to remove this warning. See 08:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:26 08:00:26 Login Succeeded 08:00:26 ---> docker-login.sh ends [Pipeline] } 08:00:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:00:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:00:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:00:26 ========================================================= 08:00:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:00:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:00:26 Sending build context to Docker daemon 11.12MB 08:00:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:00:26 Step 2/12 : FROM ${BASE} AS builder 08:00:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:00:26 4db1b89c0bd1: Pulling fs layer 08:00:26 6911f1a30b25: Pulling fs layer 08:00:26 e194b8c5c2a9: Pulling fs layer 08:00:26 6863d3e3a2b1: Pulling fs layer 08:00:26 ec0bb842ea78: Pulling fs layer 08:00:26 40a00589a448: Pulling fs layer 08:00:26 6c08303d61cc: Pulling fs layer 08:00:26 798269fcf238: Pulling fs layer 08:00:26 798269fcf238: Waiting 08:00:26 6c08303d61cc: Waiting 08:00:26 ec0bb842ea78: Waiting 08:00:26 6863d3e3a2b1: Waiting 08:00:26 6911f1a30b25: Verifying Checksum 08:00:26 6911f1a30b25: Download complete 08:00:26 6863d3e3a2b1: Download complete 08:00:26 ec0bb842ea78: Download complete 08:00:26 4db1b89c0bd1: Verifying Checksum 08:00:26 4db1b89c0bd1: Download complete 08:00:26 40a00589a448: Verifying Checksum 08:00:26 40a00589a448: Download complete 08:00:26 4db1b89c0bd1: Pull complete 08:00:27 6911f1a30b25: Pull complete 08:00:27 798269fcf238: Verifying Checksum 08:00:27 798269fcf238: Download complete 08:00:27 e194b8c5c2a9: Verifying Checksum 08:00:27 e194b8c5c2a9: Download complete 08:00:27 6c08303d61cc: Verifying Checksum 08:00:27 6c08303d61cc: Download complete 08:00:31 e194b8c5c2a9: Pull complete 08:00:31 6863d3e3a2b1: Pull complete 08:00:31 ec0bb842ea78: Pull complete 08:00:31 40a00589a448: Pull complete 08:00:33 6c08303d61cc: Pull complete 08:00:34 798269fcf238: Pull complete 08:00:34 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 08:00:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:00:34 ---> ec979cd7f677 08:00:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:00:38 Still waiting to schedule task 08:00:38 ‘prd-centos7-blackbox-4c-2g-4034’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 08:00:38 ‘prd-centos7-blackbox-4c-2g-4035’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 08:00:38 ‘prd-ubuntu20.04-docker-8c-8g-4531’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 08:00:38 ‘prd-ubuntu20.04-docker-8c-8g-4536’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 08:00:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4533’ is offline 08:00:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4540’ is offline 08:00:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4543’ is offline 08:00:38 ---> Running in 45a7f5cb37cb 08:00:38 Removing intermediate container 45a7f5cb37cb 08:00:38 ---> d9d085da1e57 08:00:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:00:38 ---> Running in 8f35cc734219 08:00:38 Removing intermediate container 8f35cc734219 08:00:38 ---> 04cdc73afc58 08:00:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:00:38 ---> Running in 8d2b148b92ff 08:00:38 Removing intermediate container 8d2b148b92ff 08:00:38 ---> f5bb7be18839 08:00:38 Step 6/12 : WORKDIR /device-uart 08:00:38 ---> Running in 1af95a9d9d68 08:00:38 Removing intermediate container 1af95a9d9d68 08:00:38 ---> 48502ac68a65 08:00:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:00:38 ---> Running in e5b9184f17f5 08:00:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:00:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:00:39 (1/4) Installing openssh-keygen (9.1_p1-r4) 08:00:39 (2/4) Installing libedit (20221030.3.1-r0) 08:00:39 (3/4) Installing openssh-client-common (9.1_p1-r4) 08:00:39 (4/4) Installing openssh-client-default (9.1_p1-r4) 08:00:39 Executing busybox-1.35.0-r29.trigger 08:00:39 OK: 269 MiB in 57 packages 08:00:40 Removing intermediate container e5b9184f17f5 08:00:40 ---> 24e8391f972d 08:00:40 Step 8/12 : COPY go.mod vendor* ./ 08:00:41 ---> a99a30d7d71f 08:00:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:41 ---> Running in 1cb388eb17bf 08:01:14 Removing intermediate container 1cb388eb17bf 08:01:14 ---> 28f99e607387 08:01:14 Step 10/12 : COPY . . 08:01:15 ---> 1e9f456bec05 08:01:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:01:15 ---> Running in 549e10ba2550 08:01:15 Removing intermediate container 549e10ba2550 08:01:15 ---> bf57cb10278a 08:01:15 Step 12/12 : RUN ${MAKE} 08:01:15 ---> Running in df07e90b6680 08:01:15 noop 08:01:15 Removing intermediate container df07e90b6680 08:01:15 ---> a07f727988ec 08:01:15 Successfully built a07f727988ec 08:01:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:16 + docker inspect -f . ci-base-image-x86_64 08:01:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:16 prd-ubuntu20.04-docker-8c-8g-4544 does not seem to be running inside a container 08:01:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:01:16 $ docker top 8c116f3186f2ab60e44daa9459aa8670b8279de22c10194c5dad9c7c748194e0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:16 + go version 08:01:16 go version go1.20.6 linux/amd64 [Pipeline] } 08:01:16 $ docker stop --time=1 8c116f3186f2ab60e44daa9459aa8670b8279de22c10194c5dad9c7c748194e0 08:01:18 $ docker rm -f --volumes 8c116f3186f2ab60e44daa9459aa8670b8279de22c10194c5dad9c7c748194e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:18 + docker inspect -f . ci-base-image-x86_64 08:01:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:18 prd-ubuntu20.04-docker-8c-8g-4544 does not seem to be running inside a container 08:01:18 $ 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-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:01:19 $ docker top c052e2e0cc8748d7d5e422120a0b253cd859ddffdb69e04e021bf4df585667cf -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-23 [Pipeline] fileExists [Pipeline] sh 08:01:19 + make test 08:01:19 go test ./... -coverprofile=coverage.out 08:01:24 ? github.com/edgexfoundry/device-uart [no test files] 08:01:34 ? github.com/edgexfoundry/device-uart/cmd [no test files] 08:01:34 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 08:01:41 go vet ./... 08:01:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:01:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:01:45 ./bin/test-attribution-txt.sh [Pipeline] echo 08:01:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:01:46 $ docker stop --time=1 c052e2e0cc8748d7d5e422120a0b253cd859ddffdb69e04e021bf4df585667cf 08:01:49 $ docker rm -f --volumes c052e2e0cc8748d7d5e422120a0b253cd859ddffdb69e04e021bf4df585667cf [Pipeline] // withDockerContainer [Pipeline] sh 08:01:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:01:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:01:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:01:50 + ls -al . 08:01:50 total 144 08:01:50 drwxrwxr-x 7 jenkins jenkins 4096 Aug 25 08:01 . 08:01:50 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:59 .. 08:01:50 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 07:59 .dockerignore 08:01:50 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 08:00 .git 08:01:50 -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 07:59 .gitignore 08:01:50 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:59 .golangci.yml 08:01:50 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 08:00 .semver 08:01:50 -rw-rw-r-- 1 jenkins jenkins 9941 Aug 25 07:59 Attribution.txt 08:01:50 -rw-rw-r-- 1 jenkins jenkins 1777 Aug 25 07:59 Dockerfile 08:01:50 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:59 GOVERNANCE.md 08:01:50 -rw-rw-r-- 1 jenkins jenkins 675 Aug 25 07:59 Jenkinsfile 08:01:50 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:59 LICENSE 08:01:50 -rw-rw-r-- 1 jenkins jenkins 1872 Aug 25 07:59 Makefile 08:01:50 -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 07:59 OWNERS.md 08:01:50 -rw-rw-r-- 1 jenkins jenkins 7340 Aug 25 07:59 README.md 08:01:50 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 08:00 VERSION 08:01:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:59 bin 08:01:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:59 cmd 08:01:50 -rw-r--r-- 1 jenkins jenkins 10 Aug 25 08:01 coverage.out 08:01:50 -rw-rw-r-- 1 jenkins jenkins 3719 Aug 25 07:59 go.mod 08:01:50 -rw-rw-r-- 1 jenkins jenkins 33980 Aug 25 07:59 go.sum 08:01:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:59 internal 08:01:50 -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 07:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:50 + 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=0fe1bcda66a2ce3a1501dde87b5f841082acaf8b --label arch=amd64 --label version=0.0.0 . 08:01:50 Sending build context to Docker daemon 11.12MB 08:01:50 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:01:50 Step 2/25 : FROM ${BASE} AS builder 08:01:50 ---> a07f727988ec 08:01:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:01:50 ---> Running in d6ec8f97b6bb 08:01:50 Removing intermediate container d6ec8f97b6bb 08:01:50 ---> 1aa5a0431e81 08:01:50 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:01:50 ---> Running in 5b35cd66ba36 08:01:50 Removing intermediate container 5b35cd66ba36 08:01:50 ---> 78920f32b221 08:01:50 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:01:50 ---> Running in 37830550d44b 08:01:51 Removing intermediate container 37830550d44b 08:01:51 ---> e274cd126900 08:01:51 Step 6/25 : WORKDIR /device-uart 08:01:51 ---> Running in 7864362f82fd 08:01:51 Removing intermediate container 7864362f82fd 08:01:51 ---> 8bf98555ee13 08:01:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:01:51 ---> Running in ed6161c8ff89 08:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:01:51 OK: 269 MiB in 57 packages 08:01:51 Removing intermediate container ed6161c8ff89 08:01:51 ---> da8bbb8c9848 08:01:51 Step 8/25 : COPY go.mod vendor* ./ 08:01:51 ---> c7910d3cc01f 08:01:51 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:01:51 ---> Running in f558f5ccae18 08:01:53 Removing intermediate container f558f5ccae18 08:01:53 ---> 9442e08bddcc 08:01:53 Step 10/25 : COPY . . 08:01:53 ---> 987bad4019ac 08:01:53 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:01:53 ---> Running in 646ac50536c8 08:01:53 Removing intermediate container 646ac50536c8 08:01:53 ---> 5f4aa2a8bdc8 08:01:53 Step 12/25 : RUN ${MAKE} 08:01:53 ---> Running in f41ed96d51b4 08:01:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd 08:02:15 Removing intermediate container f41ed96d51b4 08:02:15 ---> c69081797f1f 08:02:15 Step 13/25 : FROM alpine:3.17 08:02:15 3.17: Pulling from library/alpine 08:02:15 9398808236ff: Pulling fs layer 08:02:15 9398808236ff: Download complete 08:02:15 9398808236ff: Pull complete 08:02:15 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 08:02:15 Status: Downloaded newer image for alpine:3.17 08:02:15 ---> 1e0b8b5322fc 08:02:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:02:15 ---> Running in 8d3df8954e37 08:02:15 Removing intermediate container 8d3df8954e37 08:02:15 ---> d42b30192547 08:02:15 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:02:15 ---> Running in dea1ae40d25a 08:02:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:02:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:02:15 (1/1) Installing dumb-init (1.2.5-r2) 08:02:15 Executing busybox-1.35.0-r29.trigger 08:02:15 OK: 7 MiB in 16 packages 08:02:15 Removing intermediate container dea1ae40d25a 08:02:15 ---> 2717a942e6a5 08:02:15 Step 16/25 : WORKDIR / 08:02:15 ---> Running in 469476ae0da4 08:02:15 Removing intermediate container 469476ae0da4 08:02:15 ---> 463423577f7a 08:02:15 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 08:02:16 ---> 1e0584363d35 08:02:16 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 08:02:16 ---> 0f3cb7445c33 08:02:16 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 08:02:17 ---> 5e0159ed7330 08:02:17 Step 20/25 : EXPOSE 59995 08:02:17 ---> Running in 14dbf6590049 08:02:17 Removing intermediate container 14dbf6590049 08:02:17 ---> e68a6e1bca4a 08:02:17 Step 21/25 : ENTRYPOINT ["/device-uart"] 08:02:17 ---> Running in 0f56cebe997f 08:02:17 Removing intermediate container 0f56cebe997f 08:02:17 ---> b1969d72525f 08:02:17 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:02:17 ---> Running in 934338b80369 08:02:17 Removing intermediate container 934338b80369 08:02:17 ---> 712bfc662013 08:02:17 Step 23/25 : LABEL arch=amd64 08:02:17 ---> Running in f701a2a9aac6 08:02:17 Removing intermediate container f701a2a9aac6 08:02:17 ---> 8ac90b860acd 08:02:17 Step 24/25 : LABEL git_sha=0fe1bcda66a2ce3a1501dde87b5f841082acaf8b 08:02:17 ---> Running in ceb1d31e5313 08:02:17 Removing intermediate container ceb1d31e5313 08:02:17 ---> 7fce861971d3 08:02:17 Step 25/25 : LABEL version=0.0.0 08:02:17 ---> Running in 71ea1cf205de 08:02:17 Removing intermediate container 71ea1cf205de 08:02:17 ---> e12ed1488c6f 08:02:17 [Warning] One or more build-args [ARCH] were not consumed 08:02:17 Successfully built e12ed1488c6f 08:02:17 Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:02:18 08:02:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:02:18 latest: Pulling from edgex-lftools-log-publisher 08:02:18 5eb5b503b376: Pulling fs layer 08:02:18 5c69ac0246d0: Pulling fs layer 08:02:18 ec43610c2a17: Pulling fs layer 08:02:18 3a2ae6a8a46f: Pulling fs layer 08:02:18 33b1e0a273af: Pulling fs layer 08:02:18 5d3b04190fa2: Pulling fs layer 08:02:18 2f39f015ded8: Pulling fs layer 08:02:18 3a2ae6a8a46f: Waiting 08:02:18 33b1e0a273af: Waiting 08:02:18 5d3b04190fa2: Waiting 08:02:18 2f39f015ded8: Waiting 08:02:18 5c69ac0246d0: Download complete 08:02:18 3a2ae6a8a46f: Verifying Checksum 08:02:18 3a2ae6a8a46f: Download complete 08:02:18 33b1e0a273af: Verifying Checksum 08:02:18 33b1e0a273af: Download complete 08:02:18 5d3b04190fa2: Verifying Checksum 08:02:18 5d3b04190fa2: Download complete 08:02:18 ec43610c2a17: Verifying Checksum 08:02:18 ec43610c2a17: Download complete 08:02:18 5eb5b503b376: Verifying Checksum 08:02:18 5eb5b503b376: Download complete 08:02:19 2f39f015ded8: Verifying Checksum 08:02:19 2f39f015ded8: Download complete 08:02:19 5eb5b503b376: Pull complete 08:02:20 5c69ac0246d0: Pull complete 08:02:20 ec43610c2a17: Pull complete 08:02:20 3a2ae6a8a46f: Pull complete 08:02:20 33b1e0a273af: Pull complete 08:02:20 5d3b04190fa2: Pull complete 08:02:24 2f39f015ded8: Pull complete 08:02:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:02:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:02:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:25 prd-ubuntu20.04-docker-8c-8g-4544 does not seem to be running inside a container 08:02:25 $ 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-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:02:29 $ docker top 067b195159e92d226f454bdea2df5a8f07465fe4ea360127f2d9a7ec07197465 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:02:29 ---> job-cost.sh 08:02:29 lf-activate-venv: SKIPPING 08:02:29 INFO: No Stack... 08:02:29 INFO: Retrieving Pricing Info for: v3-standard-8 08:02:29 INFO: Archiving Costs [Pipeline] sh 08:02:30 + cut -d, -f6 08:02:30 + cat /w/workspace/edgexfoundry_device-uart_PR-23/archives/cost.csv [Pipeline] lock 08:02:30 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-23-3-stack-cost] 08:02:30 Resource [jenkins-edgexfoundry-device-uart-PR-23-3-stack-cost] did not exist. Created. 08:02:30 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-23-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:02:30 + echo total: 0.2199999988079071 [Pipeline] stash 08:02:30 Stashed 1 file(s) [Pipeline] } 08:02:30 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-23-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:02:30 $ docker stop --time=1 067b195159e92d226f454bdea2df5a8f07465fe4ea360127f2d9a7ec07197465 08:02:31 $ docker rm -f --volumes 067b195159e92d226f454bdea2df5a8f07465fe4ea360127f2d9a7ec07197465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:03:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4545 in /w/workspace/edgexfoundry_device-uart_PR-23 [Pipeline] { [Pipeline] ws 08:03:24 Running in /w/workspace/device-uart/3 [Pipeline] { [Pipeline] checkout 08:03:24 The recommended git tool is: git 08:03:30 using credential edgex-jenkins-ssh 08:03:30 Cloning the remote Git repository 08:03:30 Cloning repository git@github.com:edgexfoundry/device-uart.git 08:03:30 > git init /w/workspace/device-uart/3 # timeout=10 08:03:30 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 08:03:30 > git --version # timeout=10 08:03:30 > git --version # 'git version 2.25.1' 08:03:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:31 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 08:03:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:33 Merging remotes/origin/main commit 5a7611fe9d2266d68c2062e26c6ab482e9781192 into PR head commit 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b 08:03:32 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 08:03:32 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 08:03:32 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:03:33 > git config core.sparsecheckout # timeout=10 08:03:33 > git checkout -f 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b # timeout=10 08:03:33 > git remote # timeout=10 08:03:33 > git config --get remote.origin.url # timeout=10 08:03:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:33 > git merge 5a7611fe9d2266d68c2062e26c6ab482e9781192 # timeout=10 08:03:33 Merge succeeded, producing 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b 08:03:33 Checking out Revision 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b (PR-23) 08:03:33 > git rev-parse HEAD^{commit} # timeout=10 08:03:33 > git config core.sparsecheckout # timeout=10 08:03:33 > git checkout -f 0fe1bcda66a2ce3a1501dde87b5f841082acaf8b # timeout=10 08:03:37 Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:03:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:03:37 % Total % Received % Xferd Average Speed Time Time Time Current 08:03:37 Dload Upload Total Spent Left Speed 08:03:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 08:03:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:03:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:03:38 + sudo tee /etc/docker/daemon.new 08:03:38 { 08:03:38 "registry-mirrors": [ 08:03:38 "https://nexus3.edgexfoundry.org:10001" 08:03:38 ], 08:03:38 "bip": "10.250.0.254/24", 08:03:38 "hosts": [ 08:03:38 "tcp://0.0.0.0:5555", 08:03:38 "unix:///var/run/docker.sock" 08:03:38 ], 08:03:38 "mtu": 1458, 08:03:38 "selinux-enabled": true, 08:03:38 "seccomp-profile": "/etc/docker/seccomp.json" 08:03:38 } [Pipeline] sh 08:03:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:03:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:03:57 provisioning config files... 08:03:57 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/3@tmp/config4073130154020638485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:58 ---> docker-login.sh 08:03:58 nexus3.edgexfoundry.org:10001 08:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:58 Configure a credential helper to remove this warning. See 08:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:58 08:03:58 Login Succeeded 08:03:58 nexus3.edgexfoundry.org:10002 08:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:59 Configure a credential helper to remove this warning. See 08:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:59 08:03:59 Login Succeeded 08:03:59 nexus3.edgexfoundry.org:10003 08:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:59 Configure a credential helper to remove this warning. See 08:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:59 08:03:59 Login Succeeded 08:03:59 nexus3.edgexfoundry.org:10004 08:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:59 Configure a credential helper to remove this warning. See 08:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:59 08:03:59 Login Succeeded 08:03:59 docker.io 08:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:00 Configure a credential helper to remove this warning. See 08:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:00 08:04:00 Login Succeeded 08:04:00 ---> docker-login.sh ends [Pipeline] } 08:04:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:04:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:04:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:04:00 ========================================================= 08:04:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:04:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:04:01 Sending build context to Docker daemon 5.615MB 08:04:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:04:01 Step 2/12 : FROM ${BASE} AS builder 08:04:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:04:03 edb6bdbacee9: Pulling fs layer 08:04:03 5f9638ab2659: Pulling fs layer 08:04:03 8d51d6327a98: Pulling fs layer 08:04:03 8b374f2dd631: Pulling fs layer 08:04:03 ec14aa9079de: Pulling fs layer 08:04:03 2f466654f4bb: Pulling fs layer 08:04:03 554e91adad29: Pulling fs layer 08:04:03 8b374f2dd631: Waiting 08:04:03 2f466654f4bb: Waiting 08:04:03 554e91adad29: Waiting 08:04:03 ec14aa9079de: Waiting 08:04:03 5f9638ab2659: Verifying Checksum 08:04:03 5f9638ab2659: Download complete 08:04:03 8b374f2dd631: Verifying Checksum 08:04:03 8b374f2dd631: Download complete 08:04:04 ec14aa9079de: Verifying Checksum 08:04:04 ec14aa9079de: Download complete 08:04:04 edb6bdbacee9: Verifying Checksum 08:04:05 edb6bdbacee9: Pull complete 08:04:05 554e91adad29: Verifying Checksum 08:04:05 554e91adad29: Download complete 08:04:05 5f9638ab2659: Pull complete 08:04:06 8d51d6327a98: Verifying Checksum 08:04:06 8d51d6327a98: Download complete 08:04:06 2f466654f4bb: Verifying Checksum 08:04:06 2f466654f4bb: Download complete 08:04:19 8d51d6327a98: Pull complete 08:04:19 8b374f2dd631: Pull complete 08:04:19 ec14aa9079de: Pull complete 08:04:24 2f466654f4bb: Pull complete 08:04:27 554e91adad29: Pull complete 08:04:27 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 08:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:04:27 ---> 1e15ea492957 08:04:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:04:29 ---> Running in 18222cccf073 08:04:29 Removing intermediate container 18222cccf073 08:04:29 ---> 27d7e52a6e6d 08:04:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:04:29 ---> Running in 5003266134c1 08:04:29 Removing intermediate container 5003266134c1 08:04:29 ---> 8d0b7c627016 08:04:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:04:30 ---> Running in 51b2034aaf48 08:04:30 Removing intermediate container 51b2034aaf48 08:04:30 ---> 8639c729d002 08:04:30 Step 6/12 : WORKDIR /device-uart 08:04:30 ---> Running in 0344379e6e45 08:04:30 Removing intermediate container 0344379e6e45 08:04:30 ---> 879b118313c5 08:04:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:30 ---> Running in 32c26ab860f7 08:04:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:04:33 (1/4) Installing openssh-keygen (9.1_p1-r4) 08:04:33 (2/4) Installing libedit (20221030.3.1-r0) 08:04:33 (3/4) Installing openssh-client-common (9.1_p1-r4) 08:04:33 (4/4) Installing openssh-client-default (9.1_p1-r4) 08:04:33 Executing busybox-1.35.0-r29.trigger 08:04:33 OK: 268 MiB in 57 packages 08:04:34 Removing intermediate container 32c26ab860f7 08:04:34 ---> 3f2b59a2aa7f 08:04:34 Step 8/12 : COPY go.mod vendor* ./ 08:04:35 ---> e5a085749f6e 08:04:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:35 ---> Running in d778b637f621 08:05:43 Removing intermediate container d778b637f621 08:05:43 ---> feb588e1033c 08:05:43 Step 10/12 : COPY . . 08:05:43 ---> b96a21c45285 08:05:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:05:43 ---> Running in d7e195c18163 08:05:43 Removing intermediate container d7e195c18163 08:05:43 ---> 07f110e47818 08:05:43 Step 12/12 : RUN ${MAKE} 08:05:43 ---> Running in 009eea3fcd28 08:05:43 noop 08:05:43 Removing intermediate container 009eea3fcd28 08:05:43 ---> cbef66fd2cf0 08:05:43 Successfully built cbef66fd2cf0 08:05:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:43 + docker inspect -f . ci-base-image-arm64 08:05:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:43 prd-ubuntu20.04-docker-arm64-4c-16g-4545 does not seem to be running inside a container 08:05:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:05:44 $ docker top 1a6ebeb5f2b5e6b6bca51191b8e4a92a610f43a72e89316301784d1183e37c85 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:45 + go version 08:05:45 go version go1.20.6 linux/arm64 [Pipeline] } 08:05:45 $ docker stop --time=1 1a6ebeb5f2b5e6b6bca51191b8e4a92a610f43a72e89316301784d1183e37c85 08:05:47 $ docker rm -f --volumes 1a6ebeb5f2b5e6b6bca51191b8e4a92a610f43a72e89316301784d1183e37c85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:47 + docker inspect -f . ci-base-image-arm64 08:05:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:48 prd-ubuntu20.04-docker-arm64-4c-16g-4545 does not seem to be running inside a container 08:05:48 $ 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/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:05:51 $ docker top 96af9c527254078171ab30a0b7b6d6ed0e1e0abbffe533b3761f8189cb2ec73d -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:51 + git config --global --add safe.directory /w/workspace/device-uart/3 [Pipeline] fileExists [Pipeline] sh 08:05:52 + make test 08:05:52 go test ./... -coverprofile=coverage.out 08:06:24 ? github.com/edgexfoundry/device-uart [no test files] 08:08:31 ? github.com/edgexfoundry/device-uart/cmd [no test files] 08:08:31 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 08:08:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:08:31 go vet ./... 08:09:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:09:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:09:03 ./bin/test-attribution-txt.sh [Pipeline] echo 08:09:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:09:03 $ docker stop --time=1 96af9c527254078171ab30a0b7b6d6ed0e1e0abbffe533b3761f8189cb2ec73d 08:09:05 $ docker rm -f --volumes 96af9c527254078171ab30a0b7b6d6ed0e1e0abbffe533b3761f8189cb2ec73d [Pipeline] // withDockerContainer [Pipeline] sh 08:09:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:09:06 Warning: overwriting stash ‘coverage-report’ 08:09:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:09:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:09:07 + ls -al . 08:09:07 total 140 08:09:07 drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 08:05 . 08:09:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 08:03 .. 08:09:07 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 08:03 .dockerignore 08:09:07 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 08:03 .git 08:09:07 -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 08:03 .gitignore 08:09:07 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 08:03 .golangci.yml 08:09:07 -rw-rw-r-- 1 jenkins jenkins 9941 Aug 25 08:03 Attribution.txt 08:09:07 -rw-rw-r-- 1 jenkins jenkins 1777 Aug 25 08:03 Dockerfile 08:09:07 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 08:03 GOVERNANCE.md 08:09:07 -rw-rw-r-- 1 jenkins jenkins 675 Aug 25 08:03 Jenkinsfile 08:09:07 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 08:03 LICENSE 08:09:07 -rw-rw-r-- 1 jenkins jenkins 1872 Aug 25 08:03 Makefile 08:09:07 -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 08:03 OWNERS.md 08:09:07 -rw-rw-r-- 1 jenkins jenkins 7340 Aug 25 08:03 README.md 08:09:07 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 08:00 VERSION 08:09:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 08:03 bin 08:09:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 08:03 cmd 08:09:07 -rw-r--r-- 1 jenkins jenkins 10 Aug 25 08:05 coverage.out 08:09:07 -rw-rw-r-- 1 jenkins jenkins 3719 Aug 25 08:03 go.mod 08:09:07 -rw-rw-r-- 1 jenkins jenkins 33980 Aug 25 08:03 go.sum 08:09:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 08:03 internal 08:09:07 -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 08:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:08 + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0fe1bcda66a2ce3a1501dde87b5f841082acaf8b --label arch=arm64 --label version=0.0.0 . 08:09:08 Sending build context to Docker daemon 5.616MB 08:09:08 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:09:08 Step 2/25 : FROM ${BASE} AS builder 08:09:08 ---> cbef66fd2cf0 08:09:08 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:09:08 ---> Running in c72dcce364ca 08:09:08 Removing intermediate container c72dcce364ca 08:09:08 ---> 6d7efa9a5de7 08:09:08 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:09:08 ---> Running in ae528115358b 08:09:09 Removing intermediate container ae528115358b 08:09:09 ---> f708a9357e05 08:09:09 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:09:09 ---> Running in 63cd25b171a1 08:09:09 Removing intermediate container 63cd25b171a1 08:09:09 ---> bff6acf2ad56 08:09:09 Step 6/25 : WORKDIR /device-uart 08:09:09 ---> Running in bee04b8d98c6 08:09:10 Removing intermediate container bee04b8d98c6 08:09:10 ---> 65b649dc9006 08:09:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:09:10 ---> Running in 9ec1c23dd154 08:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:09:12 OK: 268 MiB in 57 packages 08:09:13 Removing intermediate container 9ec1c23dd154 08:09:13 ---> bb2dfe3fb875 08:09:13 Step 8/25 : COPY go.mod vendor* ./ 08:09:13 ---> d3fb9a17a891 08:09:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:09:13 ---> Running in c34b0ea439f6 08:09:16 Removing intermediate container c34b0ea439f6 08:09:16 ---> eadbd2518f85 08:09:16 Step 10/25 : COPY . . 08:09:16 ---> 2072758ebb4a 08:09:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:09:16 ---> Running in 7ed99266826d 08:09:16 Removing intermediate container 7ed99266826d 08:09:16 ---> 8efdd8724670 08:09:16 Step 12/25 : RUN ${MAKE} 08:09:17 ---> Running in 8112dbf4ebee 08:09:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-uart ./cmd 08:11:39 Removing intermediate container 8112dbf4ebee 08:11:39 ---> 7a2ec819fd1a 08:11:39 Step 13/25 : FROM alpine:3.17 08:11:39 3.17: Pulling from library/alpine 08:11:39 4060ece20d7a: Pulling fs layer 08:11:39 4060ece20d7a: Verifying Checksum 08:11:39 4060ece20d7a: Download complete 08:11:39 4060ece20d7a: Pull complete 08:11:39 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 08:11:39 Status: Downloaded newer image for alpine:3.17 08:11:39 ---> 8650cd65339b 08:11:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:11:39 ---> Running in a5dbded5259e 08:11:39 Removing intermediate container a5dbded5259e 08:11:39 ---> 49fb34dc959c 08:11:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:11:39 ---> Running in 0b6f0b1cf241 08:11:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:11:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:11:39 (1/1) Installing dumb-init (1.2.5-r2) 08:11:39 Executing busybox-1.35.0-r29.trigger 08:11:39 OK: 8 MiB in 16 packages 08:11:39 Removing intermediate container 0b6f0b1cf241 08:11:39 ---> 8f6c5fa084d2 08:11:39 Step 16/25 : WORKDIR / 08:11:39 ---> Running in 0ddb29bd83db 08:11:39 Removing intermediate container 0ddb29bd83db 08:11:39 ---> f8d1a0baf4b4 08:11:39 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 08:11:39 ---> 2e256c0736b3 08:11:39 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 08:11:39 ---> e8e9abf47986 08:11:39 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 08:11:39 ---> 62d9cd845c7a 08:11:39 Step 20/25 : EXPOSE 59995 08:11:39 ---> Running in fdde0c6f8533 08:11:39 Removing intermediate container fdde0c6f8533 08:11:39 ---> 0ab02eb40795 08:11:39 Step 21/25 : ENTRYPOINT ["/device-uart"] 08:11:39 ---> Running in 7093b2fec6f5 08:11:39 Removing intermediate container 7093b2fec6f5 08:11:39 ---> ef2147720e8e 08:11:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:11:39 ---> Running in af484e60ef5f 08:11:39 Removing intermediate container af484e60ef5f 08:11:39 ---> dd420d53ce16 08:11:39 Step 23/25 : LABEL arch=arm64 08:11:39 ---> Running in 7268e3865bc1 08:11:39 Removing intermediate container 7268e3865bc1 08:11:39 ---> ddb681ab740e 08:11:39 Step 24/25 : LABEL git_sha=0fe1bcda66a2ce3a1501dde87b5f841082acaf8b 08:11:39 ---> Running in 14fdcc30d5e9 08:11:39 Removing intermediate container 14fdcc30d5e9 08:11:39 ---> 28b9877114a8 08:11:39 Step 25/25 : LABEL version=0.0.0 08:11:39 ---> Running in 99d834328d2a 08:11:39 Removing intermediate container 99d834328d2a 08:11:39 ---> d4e26f79cd1b 08:11:39 [Warning] One or more build-args [ARCH] were not consumed 08:11:39 Successfully built d4e26f79cd1b 08:11:39 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:11:40 08:11:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:11:40 arm64: Pulling from edgex-lftools-log-publisher 08:11:40 8998bd30e6a1: Pulling fs layer 08:11:40 04944245beec: Pulling fs layer 08:11:40 699f458cf7ca: Pulling fs layer 08:11:40 765212b225bb: Pulling fs layer 08:11:40 f23df028b6ca: Pulling fs layer 08:11:40 d65c8cfc05b1: Pulling fs layer 08:11:40 2437ff75d9bd: Pulling fs layer 08:11:40 765212b225bb: Waiting 08:11:40 f23df028b6ca: Waiting 08:11:40 d65c8cfc05b1: Waiting 08:11:40 2437ff75d9bd: Waiting 08:11:40 04944245beec: Verifying Checksum 08:11:40 04944245beec: Download complete 08:11:40 765212b225bb: Verifying Checksum 08:11:40 765212b225bb: Download complete 08:11:40 f23df028b6ca: Download complete 08:11:40 d65c8cfc05b1: Verifying Checksum 08:11:40 d65c8cfc05b1: Download complete 08:11:41 699f458cf7ca: Verifying Checksum 08:11:41 699f458cf7ca: Download complete 08:11:41 8998bd30e6a1: Verifying Checksum 08:11:41 8998bd30e6a1: Download complete 08:11:43 2437ff75d9bd: Verifying Checksum 08:11:43 2437ff75d9bd: Download complete 08:11:45 8998bd30e6a1: Pull complete 08:11:45 04944245beec: Pull complete 08:11:46 699f458cf7ca: Pull complete 08:11:47 765212b225bb: Pull complete 08:11:47 f23df028b6ca: Pull complete 08:11:48 d65c8cfc05b1: Pull complete 08:12:03 2437ff75d9bd: Pull complete 08:12:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:03 prd-ubuntu20.04-docker-arm64-4c-16g-4545 does not seem to be running inside a container 08:12:03 $ 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/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:12:05 $ docker top 17532dd99ad666445b1347b88004885e487c6b6b37321138e8e1ca165dad3df4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:06 ---> job-cost.sh 08:12:06 lf-activate-venv: SKIPPING 08:12:06 INFO: No Stack... 08:12:06 INFO: Retrieving Pricing Info for: v3-standard-4 08:12:07 INFO: Archiving Costs [Pipeline] sh 08:12:08 + cat /w/workspace/device-uart/3/archives/cost.csv 08:12:08 + cut -d, -f6 [Pipeline] lock 08:12:08 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-23-3-stack-cost] 08:12:08 Resource [jenkins-edgexfoundry-device-uart-PR-23-3-stack-cost] did not exist. Created. 08:12:08 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-23-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:12:08 /w/workspace/device-uart/3@tmp/durable-a2a3c929/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:12:09 + echo total: 0.10999999940395355 [Pipeline] stash 08:12:09 Warning: overwriting stash ‘stack-cost’ 08:12:09 Stashed 1 file(s) [Pipeline] } 08:12:09 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-23-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:12:09 $ docker stop --time=1 17532dd99ad666445b1347b88004885e487c6b6b37321138e8e1ca165dad3df4 08:12:10 $ docker rm -f --volumes 17532dd99ad666445b1347b88004885e487c6b6b37321138e8e1ca165dad3df4 [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 08:12:11 provisioning config files... 08:12:11 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-23@tmp/config9878049781955009470tmp [Pipeline] { [Pipeline] sh 08:12:11 + set +x 08:12:11 + curl -s https://codecov.io/bash 08:12:11 + bash -s -- 08:12:11 08:12:11 _____ _ 08:12:11 / ____| | | 08:12:11 | | ___ __| | ___ ___ _____ __ 08:12:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:12:11 | |___| (_) | (_| | __/ (_| (_) \ V / 08:12:11 \_____\___/ \__,_|\___|\___\___/ \_/ 08:12:11 Bash-1.0.6 08:12:11 08:12:11 08:12:11 ==> git version 2.25.1 found 08:12:11 ==> 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 08:12:11 Release-Date: 2020-01-08 08:12:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:12:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:12:11 ==> Jenkins CI detected. 08:12:11 current dir:  /w/workspace/edgexfoundry_device-uart_PR-23 08:12:11 project root: . 08:12:11 --> token set from env 08:12:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:12:11 ==> Running gcov in . (disable via -X gcov) 08:12:11 ==> Python coveragepy not found 08:12:11 ==> Searching for coverage reports in: 08:12:11 + . 08:12:11 -> Found 1 reports 08:12:11 ==> Detecting git/mercurial file structure 08:12:11 ==> Reading reports 08:12:11 + ./coverage.out bytes=10 08:12:11 ==> Appending adjustments 08:12:11 https://docs.codecov.io/docs/fixing-reports 08:12:11 + Found adjustments 08:12:11 ==> Gzipping contents 08:12:11 4.0K /tmp/codecov.WTKqXV.gz 08:12:11 ==> Uploading reports 08:12:11 url: https://codecov.io 08:12:11 query: branch=PR-23&commit=0fe1bcda66a2ce3a1501dde87b5f841082acaf8b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-23%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=23&job=&cmd_args= 08:12:11 -> Pinging Codecov 08:12:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-23&commit=0fe1bcda66a2ce3a1501dde87b5f841082acaf8b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-23%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=23&job=&cmd_args= 08:12:11 -> Uploading to 08:12:11 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/B9AA6E0BBD74AE3A32605C7A7C664919/0fe1bcda66a2ce3a1501dde87b5f841082acaf8b/75a24379-e40e-4a86-b9c3-aafca4363854.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T081211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1072bd9da3d2865630c6cd9b03d0cfa1acf0b613fe22578e55670a11c562847d 08:12:11 % Total % Received % Xferd Average Speed Time Time Time Current 08:12:11 Dload Upload Total Spent Left Speed 08:12:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 3277 --:--:-- --:--:-- --:--:-- 3295 08:12:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/0fe1bcda66a2ce3a1501dde87b5f841082acaf8b [Pipeline] } 08:12:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:12:12 + [ -d /w/workspace/edgexfoundry_device-uart_PR-23/archives ] 08:12:12 + ls -al /w/workspace/edgexfoundry_device-uart_PR-23/archives 08:12:12 total 16 08:12:12 drwxr-xr-x 3 root root 4096 Aug 25 08:02 . 08:12:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 08:02 .. 08:12:12 drwxr-xr-x 2 root root 4096 Aug 25 08:02 cost 08:12:12 -rw-r--r-- 1 root root 82 Aug 25 08:02 cost.csv 08:12:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-23/archives 08:12:12 + ls -al /w/workspace/edgexfoundry_device-uart_PR-23/archives 08:12:12 total 16 08:12:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 08:02 . 08:12:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 08:02 .. 08:12:12 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 08:02 cost 08:12:12 -rw-r--r-- 1 jenkins jenkins 82 Aug 25 08:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:12:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:12:13 ---> package-listing.sh 08:12:13 ++ facter osfamily 08:12:13 ++ tr '[:upper:]' '[:lower:]' 08:12:14 + OS_FAMILY=debian 08:12:14 + workspace=/w/workspace/edgexfoundry_device-uart_PR-23 08:12:14 + START_PACKAGES=/tmp/packages_start.txt 08:12:14 + END_PACKAGES=/tmp/packages_end.txt 08:12:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:12:14 + PACKAGES=/tmp/packages_start.txt 08:12:14 + '[' /w/workspace/edgexfoundry_device-uart_PR-23 ']' 08:12:14 + PACKAGES=/tmp/packages_end.txt 08:12:14 + case "${OS_FAMILY}" in 08:12:14 + dpkg -l 08:12:14 + grep '^ii' 08:12:14 + '[' -f /tmp/packages_start.txt ']' 08:12:14 + '[' -f /tmp/packages_end.txt ']' 08:12:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:12:14 + '[' /w/workspace/edgexfoundry_device-uart_PR-23 ']' 08:12:14 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-23/archives/ 08:12:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-23/archives/ [Pipeline] echo 08:12:14 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-23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:12:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:14 prd-ubuntu20.04-docker-8c-8g-4544 does not seem to be running inside a container 08:12:14 $ 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-23/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-23 -v /w/workspace/edgexfoundry_device-uart_PR-23:/w/workspace/edgexfoundry_device-uart_PR-23:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-23@tmp:/w/workspace/edgexfoundry_device-uart_PR-23@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:12:17 $ docker top e92c81217c53b93e54af9c8e121adb6ea3d37df23542b785c944e1673a8d424e -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:18 + touch /tmp/pre-build-complete [Pipeline] sh 08:12:18 + mkdir -p /var/log/sysstat [Pipeline] sh 08:12:18 + ls /var/log/sa-host 08:12:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:12:18 provisioning config files... 08:12:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-23@tmp/config14850519001818978198tmp [Pipeline] { [Pipeline] echo 08:12:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:12:19 ---> create-netrc.sh [Pipeline] } 08:12:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:12:19 ---> python-tools-install.sh [Pipeline] echo 08:12:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:12:19 ---> sudo-logs.sh 08:12:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:12:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:12:20 ---> job-cost.sh 08:12:20 lf-activate-venv: SKIPPING 08:12:20 DEBUG: total: 0.2199999988079071 08:12:20 INFO: Retrieving Stack Cost... 08:12:20 INFO: Retrieving Pricing Info for: v3-standard-8 08:12:20 INFO: Archiving Costs [Pipeline] echo 08:12:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:12:21 ---> logs-deploy.sh 08:12:21 lf-activate-venv: SKIPPING 08:12:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-23/3 08:12:21 INFO: archiving workspace using pattern(s): 08:12:22 Archives upload complete. 08:12:22 INFO: archiving logs to Nexus