Pull request #25 opened 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 ernestojeda for edgexfoundry/device-uart Obtained Jenkinsfile from 5089f3c862426ed73dedf318d808310baa83536c+eed745f62e362350c96cbc5d7056f691b368baad (11abcb81d9e967e478993d4d52453978e2edce66) 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-ssh17043554190213772557.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh18091745104611005236.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-25/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-25/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15120139775031371169.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-25/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12047300413505679162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9314823997573600542.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-25/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-25/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16274941701550101631.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6751 in /w/workspace/edgexfoundry_device-uart_PR-25 [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-25 # 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/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eed745f62e362350c96cbc5d7056f691b368baad into PR head commit 5089f3c862426ed73dedf318d808310baa83536c Merge succeeded, producing 5089f3c862426ed73dedf318d808310baa83536c Checking out Revision 5089f3c862426ed73dedf318d808310baa83536c (PR-25) > git config core.sparsecheckout # timeout=10 > git checkout -f 5089f3c862426ed73dedf318d808310baa83536c # 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 eed745f62e362350c96cbc5d7056f691b368baad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5089f3c862426ed73dedf318d808310baa83536c # timeout=10 Commit message: "ci: add automated release workflow on tag creation" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:26:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:26:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:26:06 ========================================================= 17:26:06 EdgeX Global Pipelines Version Info 17:26:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:26:07 ------------------- 17:26:07 stable info: 17:26:07 ------------------- 17:26:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:26:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:26:07 Message: update stable to v1.0.254 17:26:08 ------------------- 17:26:08 experimental info: 17:26:08 ------------------- 17:26:08 Commited By: **** collab-it+edgex@linuxfoundation.org 17:26:08 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:26:08 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:26:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5089f3c862426ed73dedf318d808310baa83536c [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5089f3c [Pipeline] echo 17:26:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:09 provisioning config files... 17:26:09 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-25@tmp/config14770241777016020750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:10 ---> docker-login.sh 17:26:10 nexus3.edgexfoundry.org:10001 17:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:10 Configure a credential helper to remove this warning. See 17:26:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:10 17:26:10 Login Succeeded 17:26:10 nexus3.edgexfoundry.org:10002 17:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:10 Configure a credential helper to remove this warning. See 17:26:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:10 17:26:10 Login Succeeded 17:26:10 nexus3.edgexfoundry.org:10003 17:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:10 Configure a credential helper to remove this warning. See 17:26:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:10 17:26:10 Login Succeeded 17:26:10 nexus3.edgexfoundry.org:10004 17:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:11 Configure a credential helper to remove this warning. See 17:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:11 17:26:11 Login Succeeded 17:26:11 docker.io 17:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:11 Configure a credential helper to remove this warning. See 17:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:11 17:26:11 Login Succeeded 17:26:11 ---> docker-login.sh ends [Pipeline] } 17:26:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:26:11 + git rev-list -1 --merges 5089f3c862426ed73dedf318d808310baa83536c~1..5089f3c862426ed73dedf318d808310baa83536c [Pipeline] echo 17:26:12 -----------> git rev-list -1 --merges 5089f3c862426ed73dedf318d808310baa83536c~1..5089f3c862426ed73dedf318d808310baa83536c 5089f3c862426ed73dedf318d808310baa83536c [false] [Pipeline] sh 17:26:12 + git log --format=format:%s -1 5089f3c862426ed73dedf318d808310baa83536c [Pipeline] echo 17:26:12 ========================================================= 17:26:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:26:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:12 + git log --format=format:%s -1 5089f3c862426ed73dedf318d808310baa83536c [Pipeline] echo 17:26:12 [semverPrep] GIT_COMMIT: 5089f3c862426ed73dedf318d808310baa83536c, Commit Message: ci: add automated release workflow on tag creation [Pipeline] echo 17:26:12 [semverPrep] This is not a build commit. [Pipeline] sh 17:26:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:26:13 + grep -v github /etc/ssh/ssh_known_hosts 17:26:13 + [ -e /tmp/ssh_known_hosts ] 17:26:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:26:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:26:13 + sudo tee -a /etc/ssh/ssh_known_hosts 17:26:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:26:13 17:26:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:26:14 0.1.4: Pulling from edgex-devops/py-git-semver 17:26:14 b85a868b505f: Pulling fs layer 17:26:14 e2be974225ed: Pulling fs layer 17:26:14 339a4e72a1f5: Pulling fs layer 17:26:14 988bab9f4d93: Pulling fs layer 17:26:14 1469e6f7b9e6: Pulling fs layer 17:26:14 eaf3925da568: Pulling fs layer 17:26:14 bab4dde63d76: Pulling fs layer 17:26:14 bde34c3a00c8: Pulling fs layer 17:26:14 b352a97aabf1: Pulling fs layer 17:26:14 4872d77fe225: Pulling fs layer 17:26:14 5851b861e8e6: Pulling fs layer 17:26:14 988bab9f4d93: Waiting 17:26:14 bde34c3a00c8: Waiting 17:26:14 b352a97aabf1: Waiting 17:26:14 5851b861e8e6: Waiting 17:26:14 eaf3925da568: Waiting 17:26:14 1469e6f7b9e6: Waiting 17:26:14 4872d77fe225: Waiting 17:26:14 bab4dde63d76: Waiting 17:26:14 e2be974225ed: Verifying Checksum 17:26:14 e2be974225ed: Download complete 17:26:14 988bab9f4d93: Verifying Checksum 17:26:14 988bab9f4d93: Download complete 17:26:14 1469e6f7b9e6: Verifying Checksum 17:26:14 1469e6f7b9e6: Download complete 17:26:14 eaf3925da568: Verifying Checksum 17:26:14 eaf3925da568: Download complete 17:26:14 339a4e72a1f5: Verifying Checksum 17:26:14 339a4e72a1f5: Download complete 17:26:14 bde34c3a00c8: Verifying Checksum 17:26:14 bde34c3a00c8: Download complete 17:26:14 b352a97aabf1: Download complete 17:26:14 4872d77fe225: Download complete 17:26:14 5851b861e8e6: Download complete 17:26:14 b85a868b505f: Verifying Checksum 17:26:14 b85a868b505f: Download complete 17:26:14 bab4dde63d76: Verifying Checksum 17:26:14 bab4dde63d76: Download complete 17:26:15 b85a868b505f: Pull complete 17:26:15 e2be974225ed: Pull complete 17:26:16 339a4e72a1f5: Pull complete 17:26:16 988bab9f4d93: Pull complete 17:26:16 1469e6f7b9e6: Pull complete 17:26:16 eaf3925da568: Pull complete 17:26:18 bab4dde63d76: Pull complete 17:26:18 bde34c3a00c8: Pull complete 17:26:18 b352a97aabf1: Pull complete 17:26:18 4872d77fe225: Pull complete 17:26:18 5851b861e8e6: Pull complete 17:26:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:26:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:26:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:18 prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container 17:26:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:26:23 $ docker top e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 -eo pid,comm 17:26:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:26:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:26:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:26:23 [ssh-agent] Looking for ssh-agent implementation... 17:26:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:26:23 $ docker exec e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 ssh-agent 17:26:23 SSH_AUTH_SOCK=/tmp/ssh-dt3tl4B8RtrD/agent.32 17:26:23 SSH_AGENT_PID=38 17:26:23 Running ssh-add (command line suppressed) 17:26:23 Identity added: /w/workspace/edgexfoundry_device-uart_PR-25@tmp/private_key_599392649755782894.key (/w/workspace/edgexfoundry_device-uart_PR-25@tmp/private_key_599392649755782894.key) 17:26:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:26:24 + git tag --points-at HEAD [Pipeline] } 17:26:24 $ docker exec --env ******** --env ******** e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 ssh-agent -k 17:26:24 unset SSH_AUTH_SOCK; 17:26:24 unset SSH_AGENT_PID; 17:26:24 echo Agent pid 38 killed; 17:26:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:26:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:26:24 [ssh-agent] Looking for ssh-agent implementation... 17:26:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:26:24 $ docker exec e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 ssh-agent 17:26:24 SSH_AUTH_SOCK=/tmp/ssh-TxD2PtRgmDti/agent.70 17:26:24 SSH_AGENT_PID=76 17:26:24 Running ssh-add (command line suppressed) 17:26:24 Identity added: /w/workspace/edgexfoundry_device-uart_PR-25@tmp/private_key_2294364609336481594.key (/w/workspace/edgexfoundry_device-uart_PR-25@tmp/private_key_2294364609336481594.key) 17:26:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:26:25 + git semver init 17:26:25 2023-09-20 17:26:25,341 [run_init] DEBUG init version:0.0.0 force:False 17:26:25 2023-09-20 17:26:25,342 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-25/.semver 17:26:25 2023-09-20 17:26:25,342 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-25/.semver 17:26:25 2023-09-20 17:26:25,342 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-25/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-25, universal_newlines=False, shell=None, istream=None) 17:26:26 2023-09-20 17:26:26,138 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-25/.git/info/exclude 17:26:26 2023-09-20 17:26:26,139 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-25/.semver/PR-25 with force:False 17:26:26 2023-09-20 17:26:26,139 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-25/.semver/PR-25 17:26:26 2023-09-20 17:26:26,143 [execute] INFO git cat-file --batch-check 17:26:26 2023-09-20 17:26:26,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-25/.semver, universal_newlines=False, shell=None, istream=) 17:26:26 2023-09-20 17:26:26,148 [execute] INFO git cat-file --batch 17:26:26 2023-09-20 17:26:26,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-25/.semver, universal_newlines=False, shell=None, istream=) 17:26:26 2023-09-20 17:26:26,153 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-25/.semver/PR-25 17:26:26 0.0.0 [Pipeline] } 17:26:26 $ docker exec --env ******** --env ******** e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 ssh-agent -k 17:26:26 unset SSH_AUTH_SOCK; 17:26:26 unset SSH_AGENT_PID; 17:26:26 echo Agent pid 76 killed; 17:26:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:26:26 + git semver [Pipeline] } 17:26:27 $ docker stop --time=1 e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 17:26:28 $ docker rm -f --volumes e0b6d049d69f3bae8e068ed35e515d2af0ad43db8c69d9b751f3622c8f58e0d0 [Pipeline] // withDockerContainer [Pipeline] sh 17:26:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:26:29 Stashed 1 file(s) [Pipeline] echo 17:26:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:29 provisioning config files... 17:26:29 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-25@tmp/config16991743574785508098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:30 ---> docker-login.sh 17:26:30 nexus3.edgexfoundry.org:10001 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 nexus3.edgexfoundry.org:10002 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 nexus3.edgexfoundry.org:10003 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 nexus3.edgexfoundry.org:10004 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 docker.io 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 ---> docker-login.sh ends [Pipeline] } 17:26:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:26:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:31 ========================================================= 17:26:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:26:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:26:31 Sending build context to Docker daemon 11.13MB 17:26:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:26:31 Step 2/12 : FROM ${BASE} AS builder 17:26:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:26:31 7264a8db6415: Pulling fs layer 17:26:31 c4d48a809fc2: Pulling fs layer 17:26:31 4f1c88b9dad5: Pulling fs layer 17:26:31 ad3a456e5733: Pulling fs layer 17:26:31 33e27b845d1e: Pulling fs layer 17:26:31 ad3a456e5733: Waiting 17:26:31 c68163c4e522: Pulling fs layer 17:26:31 33e27b845d1e: Waiting 17:26:31 c68163c4e522: Waiting 17:26:31 50da416c3ac9: Pulling fs layer 17:26:31 50da416c3ac9: Waiting 17:26:31 23d2d4c4bb30: Pulling fs layer 17:26:31 23d2d4c4bb30: Waiting 17:26:31 c4d48a809fc2: Download complete 17:26:31 ad3a456e5733: Verifying Checksum 17:26:31 ad3a456e5733: Download complete 17:26:31 33e27b845d1e: Download complete 17:26:31 7264a8db6415: Verifying Checksum 17:26:31 7264a8db6415: Download complete 17:26:32 c68163c4e522: Verifying Checksum 17:26:32 c68163c4e522: Download complete 17:26:32 23d2d4c4bb30: Verifying Checksum 17:26:32 23d2d4c4bb30: Download complete 17:26:32 7264a8db6415: Pull complete 17:26:32 4f1c88b9dad5: Verifying Checksum 17:26:32 4f1c88b9dad5: Download complete 17:26:32 c4d48a809fc2: Pull complete 17:26:32 50da416c3ac9: Verifying Checksum 17:26:32 50da416c3ac9: Download complete 17:26:35 4f1c88b9dad5: Pull complete 17:26:35 ad3a456e5733: Pull complete 17:26:35 33e27b845d1e: Pull complete 17:26:35 c68163c4e522: Pull complete 17:26:37 50da416c3ac9: Pull complete 17:26:38 23d2d4c4bb30: Pull complete 17:26:38 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:26:38 ---> 0786185ac409 17:26:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:26:44 Still waiting to schedule task 17:26:44 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:26:44 ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:26:44 ‘prd-ubuntu20.04-docker-8c-8g-6728’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:26:44 ‘prd-ubuntu20.04-docker-8c-8g-6758’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:26:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6729’ is offline 17:26:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6752’ is offline 17:26:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6754’ is offline 17:26:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6755’ is offline 17:26:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6756’ is offline 17:26:46 ---> Running in aa36ecf0ebd0 17:26:46 Removing intermediate container aa36ecf0ebd0 17:26:46 ---> 84398ccc8d47 17:26:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:26:46 ---> Running in 9395eacac8e8 17:26:47 Removing intermediate container 9395eacac8e8 17:26:47 ---> a53facf66f83 17:26:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:26:48 ---> Running in b9f2acac2df9 17:26:48 Removing intermediate container b9f2acac2df9 17:26:48 ---> 6568920ffe9f 17:26:48 Step 6/12 : WORKDIR /device-uart 17:26:48 ---> Running in 308e0de86c04 17:26:48 Removing intermediate container 308e0de86c04 17:26:48 ---> abdafd82c032 17:26:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:48 ---> Running in b257dd19ad8e 17:26:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:26:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:26:49 (1/4) Installing openssh-keygen (9.3_p2-r0) 17:26:49 (2/4) Installing libedit (20221030.3.1-r1) 17:26:49 (3/4) Installing openssh-client-common (9.3_p2-r0) 17:26:49 (4/4) Installing openssh-client-default (9.3_p2-r0) 17:26:50 Executing busybox-1.36.1-r2.trigger 17:26:50 OK: 268 MiB in 56 packages 17:26:51 Removing intermediate container b257dd19ad8e 17:26:51 ---> 08ee90adf27f 17:26:51 Step 8/12 : COPY go.mod vendor* ./ 17:26:51 ---> 062d374f8ec6 17:26:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:51 ---> Running in 8fbfab327d33 17:27:49 Removing intermediate container 8fbfab327d33 17:27:49 ---> 988afc5cd886 17:27:49 Step 10/12 : COPY . . 17:27:49 ---> d7b8516d26fd 17:27:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:27:49 ---> Running in 580dee3e0f76 17:27:49 Removing intermediate container 580dee3e0f76 17:27:49 ---> 8722a4b0f2c1 17:27:49 Step 12/12 : RUN ${MAKE} 17:27:49 ---> Running in cf7e8d311b15 17:27:49 noop 17:27:49 Removing intermediate container cf7e8d311b15 17:27:49 ---> ce90f58af73d 17:27:49 Successfully built ce90f58af73d 17:27:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:49 + docker inspect -f . ci-base-image-x86_64 17:27:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:49 prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container 17:27:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@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 ******** ci-base-image-x86_64 cat 17:27:50 $ docker top 5b5db8985da8ed10449b59215614b9b838e94c718d3abc73debb4b80eefa5391 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:51 + go version 17:27:51 go version go1.21.0 linux/amd64 [Pipeline] } 17:27:51 $ docker stop --time=1 5b5db8985da8ed10449b59215614b9b838e94c718d3abc73debb4b80eefa5391 17:27:52 $ docker rm -f --volumes 5b5db8985da8ed10449b59215614b9b838e94c718d3abc73debb4b80eefa5391 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:53 + docker inspect -f . ci-base-image-x86_64 17:27:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:53 prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container 17:27:53 $ 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-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@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 ******** ci-base-image-x86_64 cat 17:27:53 $ docker top b7c9498477e6d8964bdb5cf8e41ff47a2a73aed04e3d845585adca0159d996a4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-25 [Pipeline] fileExists [Pipeline] sh 17:27:54 + make test 17:27:54 go test ./... -coverprofile=coverage.out 17:27:55 ? github.com/edgexfoundry/device-uart [no test files] 17:28:05 ? github.com/edgexfoundry/device-uart/cmd [no test files] 17:28:05 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 17:28:11 go vet ./... 17:28:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:28:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:28:13 ./bin/test-attribution-txt.sh [Pipeline] echo 17:28:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:28:13 $ docker stop --time=1 b7c9498477e6d8964bdb5cf8e41ff47a2a73aed04e3d845585adca0159d996a4 17:28:19 $ docker rm -f --volumes b7c9498477e6d8964bdb5cf8e41ff47a2a73aed04e3d845585adca0159d996a4 [Pipeline] // withDockerContainer [Pipeline] sh 17:28:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:28:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:28:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:28:20 + ls -al . 17:28:20 total 148 17:28:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:27 . 17:28:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 .. 17:28:20 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:26 .dockerignore 17:28:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:28 .git 17:28:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 .github 17:28:20 -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 17:26 .gitignore 17:28:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:26 .golangci.yml 17:28:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:26 .semver 17:28:20 -rw-rw-r-- 1 jenkins jenkins 9941 Sep 20 17:26 Attribution.txt 17:28:20 -rw-rw-r-- 1 jenkins jenkins 1777 Sep 20 17:26 Dockerfile 17:28:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:26 GOVERNANCE.md 17:28:20 -rw-rw-r-- 1 jenkins jenkins 675 Sep 20 17:26 Jenkinsfile 17:28:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:26 LICENSE 17:28:20 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 20 17:26 Makefile 17:28:20 -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:26 OWNERS.md 17:28:20 -rw-rw-r-- 1 jenkins jenkins 7340 Sep 20 17:26 README.md 17:28:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:26 VERSION 17:28:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 bin 17:28:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 cmd 17:28:20 -rw-r--r-- 1 jenkins jenkins 10 Sep 20 17:27 coverage.out 17:28:20 -rw-rw-r-- 1 jenkins jenkins 3719 Sep 20 17:26 go.mod 17:28:20 -rw-rw-r-- 1 jenkins jenkins 33980 Sep 20 17:26 go.sum 17:28:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 internal 17:28:20 -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:20 + 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=5089f3c862426ed73dedf318d808310baa83536c --label arch=amd64 --label version=0.0.0 . 17:28:20 Sending build context to Docker daemon 11.13MB 17:28:20 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 17:28:20 Step 2/25 : FROM ${BASE} AS builder 17:28:20 ---> ce90f58af73d 17:28:20 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:28:21 ---> Running in 504befe69517 17:28:21 Removing intermediate container 504befe69517 17:28:21 ---> f03b0c87943a 17:28:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:28:21 ---> Running in 2d5014801894 17:28:21 Removing intermediate container 2d5014801894 17:28:21 ---> 5b755114ed5b 17:28:21 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:28:21 ---> Running in b82a35ad49a9 17:28:21 Removing intermediate container b82a35ad49a9 17:28:21 ---> 16e24fd08200 17:28:21 Step 6/25 : WORKDIR /device-uart 17:28:21 ---> Running in 091097a410e3 17:28:21 Removing intermediate container 091097a410e3 17:28:21 ---> 32b082f6b6e1 17:28:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:28:22 ---> Running in 1b3ee99da72e 17:28:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:28:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:28:22 OK: 268 MiB in 56 packages 17:28:23 Removing intermediate container 1b3ee99da72e 17:28:23 ---> d0a455eca3ac 17:28:23 Step 8/25 : COPY go.mod vendor* ./ 17:28:23 ---> 62d4441b9875 17:28:23 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:28:23 ---> Running in afcd5e62f4b2 17:28:24 Removing intermediate container afcd5e62f4b2 17:28:24 ---> cd48d538c012 17:28:24 Step 10/25 : COPY . . 17:28:24 ---> 094707cba7e8 17:28:24 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:28:24 ---> Running in 130e1440e087 17:28:24 Removing intermediate container 130e1440e087 17:28:24 ---> 521795e2bc2b 17:28:24 Step 12/25 : RUN ${MAKE} 17:28:24 ---> Running in bf8fd61f9e39 17:28:24 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 17:28:51 Removing intermediate container bf8fd61f9e39 17:28:51 ---> e7d0705d6d9f 17:28:51 Step 13/25 : FROM alpine:3.18 17:28:51 3.18: Pulling from library/alpine 17:28:51 7264a8db6415: Already exists 17:28:51 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:28:51 Status: Downloaded newer image for alpine:3.18 17:28:51 ---> 7e01a0d0a1dc 17:28:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:28:51 ---> Running in 99b5762b121e 17:28:51 Removing intermediate container 99b5762b121e 17:28:51 ---> 3bf58eececfd 17:28:51 Step 15/25 : RUN apk add --update --no-cache dumb-init 17:28:51 ---> Running in fcfaf385c42f 17:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:28:51 (1/1) Installing dumb-init (1.2.5-r2) 17:28:51 Executing busybox-1.36.1-r2.trigger 17:28:51 OK: 7 MiB in 16 packages 17:28:51 Removing intermediate container fcfaf385c42f 17:28:51 ---> d823834170ec 17:28:51 Step 16/25 : WORKDIR / 17:28:51 ---> Running in 05da437218d0 17:28:51 Removing intermediate container 05da437218d0 17:28:51 ---> a06d4e70a2f1 17:28:51 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 17:28:51 ---> 968bb715d2ca 17:28:51 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 17:28:51 ---> 8720af488595 17:28:51 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 17:28:51 ---> a393f75a0edc 17:28:51 Step 20/25 : EXPOSE 59995 17:28:52 ---> Running in 8d34fe5d91e0 17:28:52 Removing intermediate container 8d34fe5d91e0 17:28:52 ---> ffc38a61edc1 17:28:52 Step 21/25 : ENTRYPOINT ["/device-uart"] 17:28:52 ---> Running in 52c5017d25fd 17:28:52 Removing intermediate container 52c5017d25fd 17:28:52 ---> 7436dd3d034d 17:28:52 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:28:53 ---> Running in 42d2a57c2a56 17:28:53 Removing intermediate container 42d2a57c2a56 17:28:53 ---> 15798d6ad241 17:28:53 Step 23/25 : LABEL arch=amd64 17:28:53 ---> Running in 1e7e0d6ffb71 17:28:53 Removing intermediate container 1e7e0d6ffb71 17:28:53 ---> 8ef59789d6b5 17:28:53 Step 24/25 : LABEL git_sha=5089f3c862426ed73dedf318d808310baa83536c 17:28:53 ---> Running in 77f4b23f2a11 17:28:53 Removing intermediate container 77f4b23f2a11 17:28:53 ---> 2c75d2ff10d3 17:28:53 Step 25/25 : LABEL version=0.0.0 17:28:53 ---> Running in 94ec96dd3d88 17:28:53 Removing intermediate container 94ec96dd3d88 17:28:53 ---> e9c98ec5ca3e 17:28:53 [Warning] One or more build-args [ARCH] were not consumed 17:28:53 Successfully built e9c98ec5ca3e 17:28:53 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 17:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:28:54 17:28:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:28:54 latest: Pulling from edgex-lftools-log-publisher 17:28:54 5eb5b503b376: Pulling fs layer 17:28:54 5c69ac0246d0: Pulling fs layer 17:28:54 ec43610c2a17: Pulling fs layer 17:28:54 3a2ae6a8a46f: Pulling fs layer 17:28:54 33b1e0a273af: Pulling fs layer 17:28:54 5d3b04190fa2: Pulling fs layer 17:28:54 2f39f015ded8: Pulling fs layer 17:28:54 3a2ae6a8a46f: Waiting 17:28:54 33b1e0a273af: Waiting 17:28:54 5d3b04190fa2: Waiting 17:28:54 2f39f015ded8: Waiting 17:28:54 5c69ac0246d0: Verifying Checksum 17:28:54 3a2ae6a8a46f: Verifying Checksum 17:28:54 3a2ae6a8a46f: Download complete 17:28:54 33b1e0a273af: Verifying Checksum 17:28:54 33b1e0a273af: Download complete 17:28:54 5d3b04190fa2: Verifying Checksum 17:28:54 5d3b04190fa2: Download complete 17:28:54 ec43610c2a17: Verifying Checksum 17:28:54 ec43610c2a17: Download complete 17:28:54 5eb5b503b376: Verifying Checksum 17:28:54 5eb5b503b376: Download complete 17:28:55 2f39f015ded8: Download complete 17:28:56 5eb5b503b376: Pull complete 17:28:56 5c69ac0246d0: Pull complete 17:28:56 ec43610c2a17: Pull complete 17:28:56 3a2ae6a8a46f: Pull complete 17:28:56 33b1e0a273af: Pull complete 17:28:56 5d3b04190fa2: Pull complete 17:29:01 2f39f015ded8: Pull complete 17:29:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:29:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:29:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:01 prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container 17:29:01 $ 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-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:29:06 $ docker top 5427f04dfe9ff20b681c9b8208ca12ba6f0acf2490f78724e303346e3fde9cbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:07 ---> job-cost.sh 17:29:07 lf-activate-venv: SKIPPING 17:29:07 INFO: No Stack... 17:29:07 INFO: Retrieving Pricing Info for: v3-standard-8 17:29:07 INFO: Archiving Costs [Pipeline] sh 17:29:08 + cat /w/workspace/edgexfoundry_device-uart_PR-25/archives/cost.csv 17:29:08 + cut -d, -f6 [Pipeline] lock 17:29:08 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] 17:29:08 Resource [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] did not exist. Created. 17:29:08 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:29:08 + echo total: 0.2199999988079071 [Pipeline] stash 17:29:08 Stashed 1 file(s) [Pipeline] } 17:29:08 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:29:08 $ docker stop --time=1 5427f04dfe9ff20b681c9b8208ca12ba6f0acf2490f78724e303346e3fde9cbe 17:29:09 $ docker rm -f --volumes 5427f04dfe9ff20b681c9b8208ca12ba6f0acf2490f78724e303346e3fde9cbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:37:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6951 in /w/workspace/edgexfoundry_device-uart_PR-25 [Pipeline] { [Pipeline] ws 17:37:39 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 17:37:39 The recommended git tool is: git 17:37:46 using credential edgex-jenkins-ssh 17:37:46 Cloning the remote Git repository 17:37:46 Cloning repository git@github.com:edgexfoundry/device-uart.git 17:37:46 > git init /w/workspace/device-uart/1 # timeout=10 17:37:46 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 17:37:46 > git --version # timeout=10 17:37:46 > git --version # 'git version 2.25.1' 17:37:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:37:48 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 17:37:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:37:49 Merging remotes/origin/main commit eed745f62e362350c96cbc5d7056f691b368baad into PR head commit 5089f3c862426ed73dedf318d808310baa83536c 17:37:50 Merge succeeded, producing 5089f3c862426ed73dedf318d808310baa83536c 17:37:50 Checking out Revision 5089f3c862426ed73dedf318d808310baa83536c (PR-25) 17:37:49 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 17:37:49 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 17:37:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:37:49 > git config core.sparsecheckout # timeout=10 17:37:49 > git checkout -f 5089f3c862426ed73dedf318d808310baa83536c # timeout=10 17:37:50 > git remote # timeout=10 17:37:50 > git config --get remote.origin.url # timeout=10 17:37:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:50 > git merge eed745f62e362350c96cbc5d7056f691b368baad # timeout=10 17:37:50 > git rev-parse HEAD^{commit} # timeout=10 17:37:50 > git config core.sparsecheckout # timeout=10 17:37:50 > git checkout -f 5089f3c862426ed73dedf318d808310baa83536c # timeout=10 17:37:53 Commit message: "ci: add automated release workflow on tag creation" 17:37:53 > git --version # timeout=10 17:37:53 > git --version # 'git version 2.25.1' 17:37:53 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:37:55 % Total % Received % Xferd Average Speed Time Time Time Current 17:37:55 Dload Upload Total Spent Left Speed 17:37:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 17:37:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:37:56 + sudo tee /etc/docker/daemon.new 17:37:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:37:56 { 17:37:56 "registry-mirrors": [ 17:37:56 "https://nexus3.edgexfoundry.org:10001" 17:37:56 ], 17:37:56 "bip": "10.250.0.254/24", 17:37:56 "hosts": [ 17:37:56 "tcp://0.0.0.0:5555", 17:37:56 "unix:///var/run/docker.sock" 17:37:56 ], 17:37:56 "mtu": 1458, 17:37:56 "selinux-enabled": true, 17:37:56 "seccomp-profile": "/etc/docker/seccomp.json" 17:37:56 } [Pipeline] sh 17:37:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:37:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:15 provisioning config files... 17:38:15 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config2468259069447707821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:15 ---> docker-login.sh 17:38:15 nexus3.edgexfoundry.org:10001 17:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:16 Configure a credential helper to remove this warning. See 17:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:16 17:38:16 Login Succeeded 17:38:16 nexus3.edgexfoundry.org:10002 17:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:16 Configure a credential helper to remove this warning. See 17:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:16 17:38:16 Login Succeeded 17:38:16 nexus3.edgexfoundry.org:10003 17:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:17 Configure a credential helper to remove this warning. See 17:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:17 17:38:17 Login Succeeded 17:38:17 nexus3.edgexfoundry.org:10004 17:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:17 Configure a credential helper to remove this warning. See 17:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:17 17:38:17 Login Succeeded 17:38:17 docker.io 17:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:17 Configure a credential helper to remove this warning. See 17:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:17 17:38:17 Login Succeeded 17:38:17 ---> docker-login.sh ends [Pipeline] } 17:38:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:38:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:18 ========================================================= 17:38:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:38:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:38:19 Sending build context to Docker daemon 5.609MB 17:38:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:38:19 Step 2/12 : FROM ${BASE} AS builder 17:38:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:38:19 9fda8d8052c6: Pulling fs layer 17:38:19 5d54e960e981: Pulling fs layer 17:38:19 c4a7e357bf2a: Pulling fs layer 17:38:19 f0e02332f6b5: Pulling fs layer 17:38:19 cefa15bbcfad: Pulling fs layer 17:38:19 17808c966233: Pulling fs layer 17:38:19 f4c1fc716caa: Pulling fs layer 17:38:19 f0e02332f6b5: Waiting 17:38:19 cefa15bbcfad: Waiting 17:38:19 17808c966233: Waiting 17:38:19 f4c1fc716caa: Waiting 17:38:19 5d54e960e981: Verifying Checksum 17:38:19 5d54e960e981: Download complete 17:38:19 f0e02332f6b5: Verifying Checksum 17:38:19 f0e02332f6b5: Download complete 17:38:19 cefa15bbcfad: Verifying Checksum 17:38:19 cefa15bbcfad: Download complete 17:38:19 9fda8d8052c6: Download complete 17:38:19 f4c1fc716caa: Verifying Checksum 17:38:19 f4c1fc716caa: Download complete 17:38:21 c4a7e357bf2a: Download complete 17:38:21 9fda8d8052c6: Pull complete 17:38:21 17808c966233: Verifying Checksum 17:38:21 17808c966233: Download complete 17:38:22 5d54e960e981: Pull complete 17:38:32 c4a7e357bf2a: Pull complete 17:38:32 f0e02332f6b5: Pull complete 17:38:32 cefa15bbcfad: Pull complete 17:38:40 17808c966233: Pull complete 17:38:41 f4c1fc716caa: Pull complete 17:38:41 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:38:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:38:41 ---> ea914061e18c 17:38:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:38:43 ---> Running in c9038d0065d0 17:38:43 Removing intermediate container c9038d0065d0 17:38:43 ---> 5c8beebef31e 17:38:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:38:43 ---> Running in 50e05195f47b 17:38:43 Removing intermediate container 50e05195f47b 17:38:43 ---> 0d5fb31fb272 17:38:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:38:43 ---> Running in c66ff37e34d8 17:38:44 Removing intermediate container c66ff37e34d8 17:38:44 ---> 9a9df0a04310 17:38:44 Step 6/12 : WORKDIR /device-uart 17:38:44 ---> Running in db463f37ac56 17:38:44 Removing intermediate container db463f37ac56 17:38:44 ---> 5f39d14afd6e 17:38:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:44 ---> Running in 16570b2b04d1 17:38:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:38:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:38:47 (1/4) Installing openssh-keygen (9.3_p2-r0) 17:38:47 (2/4) Installing libedit (20221030.3.1-r1) 17:38:47 (3/4) Installing openssh-client-common (9.3_p2-r0) 17:38:47 (4/4) Installing openssh-client-default (9.3_p2-r0) 17:38:47 Executing busybox-1.36.1-r2.trigger 17:38:47 OK: 270 MiB in 56 packages 17:38:49 Removing intermediate container 16570b2b04d1 17:38:49 ---> f6f6e421645d 17:38:49 Step 8/12 : COPY go.mod vendor* ./ 17:38:49 ---> 03c6b82e4eb1 17:38:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:49 ---> Running in 0e9b49c6d463 17:40:11 Removing intermediate container 0e9b49c6d463 17:40:11 ---> 017ff267d2ac 17:40:11 Step 10/12 : COPY . . 17:40:11 ---> 26e844912437 17:40:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:11 ---> Running in 34beb79717ef 17:40:11 Removing intermediate container 34beb79717ef 17:40:11 ---> a44b7bd7102e 17:40:11 Step 12/12 : RUN ${MAKE} 17:40:11 ---> Running in 1d0886d63f01 17:40:11 noop 17:40:11 Removing intermediate container 1d0886d63f01 17:40:11 ---> 2102a37efdd0 17:40:11 Successfully built 2102a37efdd0 17:40:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:11 + docker inspect -f . ci-base-image-arm64 17:40:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:12 prd-ubuntu20.04-docker-arm64-4c-16g-6951 does not seem to be running inside a container 17:40:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:40:13 $ docker top 393135903bc078dc59bb72f368277c120320df26f8937864204d21b1a011ede8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:14 + go version 17:40:14 go version go1.21.0 linux/arm64 [Pipeline] } 17:40:14 $ docker stop --time=1 393135903bc078dc59bb72f368277c120320df26f8937864204d21b1a011ede8 17:40:16 $ docker rm -f --volumes 393135903bc078dc59bb72f368277c120320df26f8937864204d21b1a011ede8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:17 + docker inspect -f . ci-base-image-arm64 17:40:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:17 prd-ubuntu20.04-docker-arm64-4c-16g-6951 does not seem to be running inside a container 17:40:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:40:19 $ docker top c338fcfd379061ce3f263b14216890f5dd5b927b2d90985fe02b03635c6b19e4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:19 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 17:40:20 + make test 17:40:20 go test ./... -coverprofile=coverage.out 17:40:27 ? github.com/edgexfoundry/device-uart [no test files] 17:42:03 ? github.com/edgexfoundry/device-uart/cmd [no test files] 17:42:03 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 17:42:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:42:03 go vet ./... 17:42:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:42:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:42:36 ./bin/test-attribution-txt.sh [Pipeline] echo 17:42:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:42:36 $ docker stop --time=1 c338fcfd379061ce3f263b14216890f5dd5b927b2d90985fe02b03635c6b19e4 17:42:38 $ docker rm -f --volumes c338fcfd379061ce3f263b14216890f5dd5b927b2d90985fe02b03635c6b19e4 [Pipeline] // withDockerContainer [Pipeline] sh 17:42:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:42:39 Warning: overwriting stash ‘coverage-report’ 17:42:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:42:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:42:41 + ls -al . 17:42:41 total 144 17:42:41 drwxrwxr-x 7 jenkins jenkins 4096 Sep 20 17:40 . 17:42:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:37 .. 17:42:41 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:37 .dockerignore 17:42:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:37 .git 17:42:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:37 .github 17:42:41 -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 17:37 .gitignore 17:42:41 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:37 .golangci.yml 17:42:41 -rw-rw-r-- 1 jenkins jenkins 9941 Sep 20 17:37 Attribution.txt 17:42:41 -rw-rw-r-- 1 jenkins jenkins 1777 Sep 20 17:37 Dockerfile 17:42:41 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:37 GOVERNANCE.md 17:42:41 -rw-rw-r-- 1 jenkins jenkins 675 Sep 20 17:37 Jenkinsfile 17:42:41 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:37 LICENSE 17:42:41 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 20 17:37 Makefile 17:42:41 -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:37 OWNERS.md 17:42:41 -rw-rw-r-- 1 jenkins jenkins 7340 Sep 20 17:37 README.md 17:42:41 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:26 VERSION 17:42:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:37 bin 17:42:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:37 cmd 17:42:41 -rw-r--r-- 1 jenkins jenkins 10 Sep 20 17:40 coverage.out 17:42:41 -rw-rw-r-- 1 jenkins jenkins 3719 Sep 20 17:37 go.mod 17:42:41 -rw-rw-r-- 1 jenkins jenkins 33980 Sep 20 17:37 go.sum 17:42:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:37 internal 17:42:41 -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:41 + 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=5089f3c862426ed73dedf318d808310baa83536c --label arch=arm64 --label version=0.0.0 . 17:42:41 Sending build context to Docker daemon 5.61MB 17:42:41 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 17:42:41 Step 2/25 : FROM ${BASE} AS builder 17:42:41 ---> 2102a37efdd0 17:42:41 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:42:42 ---> Running in 721692432f12 17:42:42 Removing intermediate container 721692432f12 17:42:42 ---> 77b5f532e566 17:42:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:42:42 ---> Running in 36b4927988b2 17:42:43 Removing intermediate container 36b4927988b2 17:42:43 ---> 27167ba552ff 17:42:43 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:42:43 ---> Running in 6007f562c485 17:42:43 Removing intermediate container 6007f562c485 17:42:43 ---> 67728a61e427 17:42:43 Step 6/25 : WORKDIR /device-uart 17:42:43 ---> Running in f330fe3f1622 17:42:43 Removing intermediate container f330fe3f1622 17:42:43 ---> 9712a0120988 17:42:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:44 ---> Running in 2e198810bd59 17:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:42:47 OK: 270 MiB in 56 packages 17:42:48 Removing intermediate container 2e198810bd59 17:42:48 ---> 5a81b96d91be 17:42:48 Step 8/25 : COPY go.mod vendor* ./ 17:42:49 ---> 60a1b454fe53 17:42:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:49 ---> Running in e6c291753ccf 17:42:51 Removing intermediate container e6c291753ccf 17:42:51 ---> a6c53e630488 17:42:51 Step 10/25 : COPY . . 17:42:52 ---> 68e778e54e4d 17:42:52 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:42:52 ---> Running in 97026cef012c 17:42:52 Removing intermediate container 97026cef012c 17:42:52 ---> cfe24c3d66ac 17:42:52 Step 12/25 : RUN ${MAKE} 17:42:53 ---> Running in d0fcfd2e7b23 17:42:54 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 17:45:00 Removing intermediate container d0fcfd2e7b23 17:45:00 ---> f16cb7800d56 17:45:00 Step 13/25 : FROM alpine:3.18 17:45:00 3.18: Pulling from library/alpine 17:45:00 9fda8d8052c6: Already exists 17:45:00 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:45:00 Status: Downloaded newer image for alpine:3.18 17:45:00 ---> f6648c04cd6c 17:45:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:45:00 ---> Running in 2f1e29df0ebb 17:45:00 Removing intermediate container 2f1e29df0ebb 17:45:00 ---> 3e0681914cbc 17:45:00 Step 15/25 : RUN apk add --update --no-cache dumb-init 17:45:00 ---> Running in f8cf8dffcb3e 17:45:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:45:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:45:00 (1/1) Installing dumb-init (1.2.5-r2) 17:45:00 Executing busybox-1.36.1-r2.trigger 17:45:00 OK: 8 MiB in 16 packages 17:45:00 Removing intermediate container f8cf8dffcb3e 17:45:00 ---> aa83090f38fc 17:45:00 Step 16/25 : WORKDIR / 17:45:00 ---> Running in e67e676edb65 17:45:00 Removing intermediate container e67e676edb65 17:45:00 ---> ee515445edb0 17:45:00 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 17:45:00 ---> 757c6fef411c 17:45:00 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 17:45:00 ---> a5047f19d16e 17:45:00 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 17:45:00 ---> 7863e4d05b96 17:45:00 Step 20/25 : EXPOSE 59995 17:45:00 ---> Running in 4d6b42e9ff52 17:45:00 Removing intermediate container 4d6b42e9ff52 17:45:00 ---> 89ca5e445fec 17:45:00 Step 21/25 : ENTRYPOINT ["/device-uart"] 17:45:00 ---> Running in 702a94209eed 17:45:00 Removing intermediate container 702a94209eed 17:45:00 ---> 9d2d88a8b97d 17:45:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:45:00 ---> Running in 9f1bca14a816 17:45:00 Removing intermediate container 9f1bca14a816 17:45:00 ---> 86230d840b5e 17:45:00 Step 23/25 : LABEL arch=arm64 17:45:00 ---> Running in b9d1a7fc1ad8 17:45:00 Removing intermediate container b9d1a7fc1ad8 17:45:00 ---> 6b54074438a7 17:45:00 Step 24/25 : LABEL git_sha=5089f3c862426ed73dedf318d808310baa83536c 17:45:00 ---> Running in 39de6b4042d0 17:45:00 Removing intermediate container 39de6b4042d0 17:45:00 ---> 17c22b50d07c 17:45:00 Step 25/25 : LABEL version=0.0.0 17:45:00 ---> Running in 79181a6ae8d6 17:45:00 Removing intermediate container 79181a6ae8d6 17:45:00 ---> a488fb95f4a5 17:45:00 [Warning] One or more build-args [ARCH] were not consumed 17:45:00 Successfully built a488fb95f4a5 17:45:00 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 17:45:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:01 17:45:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:02 arm64: Pulling from edgex-lftools-log-publisher 17:45:02 8998bd30e6a1: Pulling fs layer 17:45:02 04944245beec: Pulling fs layer 17:45:02 699f458cf7ca: Pulling fs layer 17:45:02 765212b225bb: Pulling fs layer 17:45:02 f23df028b6ca: Pulling fs layer 17:45:02 d65c8cfc05b1: Pulling fs layer 17:45:02 2437ff75d9bd: Pulling fs layer 17:45:02 765212b225bb: Waiting 17:45:02 f23df028b6ca: Waiting 17:45:02 d65c8cfc05b1: Waiting 17:45:02 2437ff75d9bd: Waiting 17:45:02 04944245beec: Verifying Checksum 17:45:02 04944245beec: Download complete 17:45:02 765212b225bb: Verifying Checksum 17:45:02 765212b225bb: Download complete 17:45:02 f23df028b6ca: Verifying Checksum 17:45:02 f23df028b6ca: Download complete 17:45:02 d65c8cfc05b1: Verifying Checksum 17:45:02 d65c8cfc05b1: Download complete 17:45:02 699f458cf7ca: Verifying Checksum 17:45:02 699f458cf7ca: Download complete 17:45:02 8998bd30e6a1: Verifying Checksum 17:45:02 8998bd30e6a1: Download complete 17:45:04 2437ff75d9bd: Verifying Checksum 17:45:04 2437ff75d9bd: Download complete 17:45:06 8998bd30e6a1: Pull complete 17:45:07 04944245beec: Pull complete 17:45:08 699f458cf7ca: Pull complete 17:45:08 765212b225bb: Pull complete 17:45:09 f23df028b6ca: Pull complete 17:45:09 d65c8cfc05b1: Pull complete 17:45:24 2437ff75d9bd: Pull complete 17:45:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:24 prd-ubuntu20.04-docker-arm64-4c-16g-6951 does not seem to be running inside a container 17:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:45:27 $ docker top 932d998383bffbd1ba34b6ea0c8cb19364f3725f4447a6a63cc9a76bfd1f276c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:28 ---> job-cost.sh 17:45:28 lf-activate-venv: SKIPPING 17:45:28 INFO: No Stack... 17:45:28 INFO: Retrieving Pricing Info for: v3-standard-4 17:45:29 INFO: Archiving Costs [Pipeline] sh 17:45:30 + cat /w/workspace/device-uart/1/archives/cost.csv 17:45:30 + cut -d, -f6 [Pipeline] lock 17:45:30 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] 17:45:30 Resource [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] did not exist. Created. 17:45:30 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:45:30 /w/workspace/device-uart/1@tmp/durable-57e67b58/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:45:31 + echo total: 0.10999999940395355 [Pipeline] stash 17:45:31 Warning: overwriting stash ‘stack-cost’ 17:45:31 Stashed 1 file(s) [Pipeline] } 17:45:31 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-25-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:45:31 $ docker stop --time=1 932d998383bffbd1ba34b6ea0c8cb19364f3725f4447a6a63cc9a76bfd1f276c 17:45:32 $ docker rm -f --volumes 932d998383bffbd1ba34b6ea0c8cb19364f3725f4447a6a63cc9a76bfd1f276c [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 17:45:33 provisioning config files... 17:45:33 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-25@tmp/config11481119675087807938tmp [Pipeline] { [Pipeline] sh 17:45:34 + set +x 17:45:34 + curl -s https://codecov.io/bash 17:45:34 + bash -s -- 17:45:34 17:45:34 _____ _ 17:45:34 / ____| | | 17:45:34 | | ___ __| | ___ ___ _____ __ 17:45:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:45:34 | |___| (_) | (_| | __/ (_| (_) \ V / 17:45:34 \_____\___/ \__,_|\___|\___\___/ \_/ 17:45:34 Bash-1.0.6 17:45:34 17:45:34 17:45:34 ==> git version 2.25.1 found 17:45:34 ==> 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 17:45:34 Release-Date: 2020-01-08 17:45:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:45:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:45:34 ==> Jenkins CI detected. 17:45:34 current dir:  /w/workspace/edgexfoundry_device-uart_PR-25 17:45:34 project root: . 17:45:34 --> token set from env 17:45:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:45:34 ==> Running gcov in . (disable via -X gcov) 17:45:34 ==> Python coveragepy not found 17:45:34 ==> Searching for coverage reports in: 17:45:34 + . 17:45:34 -> Found 1 reports 17:45:34 ==> Detecting git/mercurial file structure 17:45:34 ==> Reading reports 17:45:34 + ./coverage.out bytes=10 17:45:34 ==> Appending adjustments 17:45:34 https://docs.codecov.io/docs/fixing-reports 17:45:34 + Found adjustments 17:45:34 ==> Gzipping contents 17:45:34 4.0K /tmp/codecov.Mx3Ixw.gz 17:45:34 ==> Uploading reports 17:45:34 url: https://codecov.io 17:45:34 query: branch=PR-25&commit=5089f3c862426ed73dedf318d808310baa83536c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=25&job=&cmd_args= 17:45:34 -> Pinging Codecov 17:45:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-25&commit=5089f3c862426ed73dedf318d808310baa83536c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=25&job=&cmd_args= 17:45:34 -> Uploading to 17:45:34 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/B9AA6E0BBD74AE3A32605C7A7C664919/5089f3c862426ed73dedf318d808310baa83536c/e4f76173-cb9b-4bea-afb4-ca19bc89a8b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T174534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e0e760f19a38ea8876361a9a6e718fbef94744eb776a14d7866ae19dfb4e85c 17:45:34 % Total % Received % Xferd Average Speed Time Time Time Current 17:45:34 Dload Upload Total Spent Left Speed 17:45:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2871 --:--:-- --:--:-- --:--:-- 2871 17:45:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/5089f3c862426ed73dedf318d808310baa83536c [Pipeline] } 17:45:34 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 17:45:36 + [ -d /w/workspace/edgexfoundry_device-uart_PR-25/archives ] 17:45:36 + ls -al /w/workspace/edgexfoundry_device-uart_PR-25/archives 17:45:36 total 16 17:45:36 drwxr-xr-x 3 root root 4096 Sep 20 17:29 . 17:45:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:29 .. 17:45:36 drwxr-xr-x 2 root root 4096 Sep 20 17:29 cost 17:45:36 -rw-r--r-- 1 root root 82 Sep 20 17:29 cost.csv 17:45:36 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-25/archives 17:45:36 + ls -al /w/workspace/edgexfoundry_device-uart_PR-25/archives 17:45:36 total 16 17:45:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:29 . 17:45:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:29 .. 17:45:36 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:29 cost 17:45:36 -rw-r--r-- 1 jenkins jenkins 82 Sep 20 17:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:45:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:45:37 ---> package-listing.sh 17:45:37 ++ facter osfamily 17:45:37 ++ tr '[:upper:]' '[:lower:]' 17:45:38 + OS_FAMILY=debian 17:45:38 + workspace=/w/workspace/edgexfoundry_device-uart_PR-25 17:45:38 + START_PACKAGES=/tmp/packages_start.txt 17:45:38 + END_PACKAGES=/tmp/packages_end.txt 17:45:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:45:38 + PACKAGES=/tmp/packages_start.txt 17:45:38 + '[' /w/workspace/edgexfoundry_device-uart_PR-25 ']' 17:45:38 + PACKAGES=/tmp/packages_end.txt 17:45:38 + case "${OS_FAMILY}" in 17:45:38 + dpkg -l 17:45:38 + grep '^ii' 17:45:38 + '[' -f /tmp/packages_start.txt ']' 17:45:38 + '[' -f /tmp/packages_end.txt ']' 17:45:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:45:38 + '[' /w/workspace/edgexfoundry_device-uart_PR-25 ']' 17:45:38 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-25/archives/ 17:45:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-25/archives/ [Pipeline] echo 17:45:38 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-25/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:45:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:39 prd-ubuntu20.04-docker-8c-8g-6751 does not seem to be running inside a container 17:45:39 $ 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-25/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-25 -v /w/workspace/edgexfoundry_device-uart_PR-25:/w/workspace/edgexfoundry_device-uart_PR-25:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-25@tmp:/w/workspace/edgexfoundry_device-uart_PR-25@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-lftools-log-publisher:latest cat 17:45:39 $ docker top 95a64300ffec3b137ebd7235f139c029378c9bd565aa39d1747eec82a157155f -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:39 + touch /tmp/pre-build-complete [Pipeline] sh 17:45:40 + mkdir -p /var/log/sysstat [Pipeline] sh 17:45:40 + ls /var/log/sa-host 17:45:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:45:40 provisioning config files... 17:45:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-25@tmp/config16214289535379066429tmp [Pipeline] { [Pipeline] echo 17:45:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:45:40 ---> create-netrc.sh [Pipeline] } 17:45:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:45:41 ---> python-tools-install.sh [Pipeline] echo 17:45:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:45:41 ---> sudo-logs.sh 17:45:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:45:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:45:42 ---> job-cost.sh 17:45:42 lf-activate-venv: SKIPPING 17:45:42 DEBUG: total: 0.2199999988079071 17:45:42 INFO: Retrieving Stack Cost... 17:45:42 INFO: Retrieving Pricing Info for: v3-standard-8 17:45:42 INFO: Archiving Costs [Pipeline] echo 17:45:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:45:43 ---> logs-deploy.sh 17:45:43 lf-activate-venv: SKIPPING 17:45:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-25/1 17:45:43 INFO: archiving workspace using pattern(s): 17:45:44 Archives upload complete. 17:45:44 INFO: archiving logs to Nexus