Pull request #21 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 jackchenjc for edgexfoundry/device-uart Loading trusted files from base branch main at f79754343d8b1121fd7b40f656006f62376f5905 rather than 447facfb5636b95224070a3f0c345f144de32824 Obtained Jenkinsfile from f79754343d8b1121fd7b40f656006f62376f5905 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-ssh13600541131194455220.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9781247403579036663.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-21/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-21/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3934044285637763082.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-21/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh847740799244735381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh12177631169977755709.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-21/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-21/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14237014964580618572.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3211 in /w/workspace/edgexfoundry_device-uart_PR-21 [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-21 # 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/21/head:refs/remotes/origin/PR-21 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f79754343d8b1121fd7b40f656006f62376f5905 into PR head commit 447facfb5636b95224070a3f0c345f144de32824 Merge succeeded, producing 447facfb5636b95224070a3f0c345f144de32824 Checking out Revision 447facfb5636b95224070a3f0c345f144de32824 (PR-21) > git config core.sparsecheckout # timeout=10 > git checkout -f 447facfb5636b95224070a3f0c345f144de32824 # 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 f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 447facfb5636b95224070a3f0c345f144de32824 # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:13:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:13:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:13:55 ========================================================= 10:13:55 EdgeX Global Pipelines Version Info 10:13:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:13:56 ------------------- 10:13:56 stable info: 10:13:56 ------------------- 10:13:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:13:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:13:56 Message: update stable to v1.0.250 10:13:57 ------------------- 10:13:57 experimental info: 10:13:57 ------------------- 10:13:57 Commited By: **** collab-it+edgex@linuxfoundation.org 10:13:57 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 10:13:57 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-21 [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-21 [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-21 [Pipeline] echo 10:13:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 447facfb5636b95224070a3f0c345f144de32824 [Pipeline] echo 10:13:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 447facf [Pipeline] echo 10:13:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:59 provisioning config files... 10:13:59 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-21@tmp/config11547309880692522910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:59 ---> docker-login.sh 10:13:59 nexus3.edgexfoundry.org:10001 10:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:59 Configure a credential helper to remove this warning. See 10:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:59 10:13:59 Login Succeeded 10:13:59 nexus3.edgexfoundry.org:10002 10:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:59 Configure a credential helper to remove this warning. See 10:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:59 10:13:59 Login Succeeded 10:13:59 nexus3.edgexfoundry.org:10003 10:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:00 Configure a credential helper to remove this warning. See 10:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:00 10:14:00 Login Succeeded 10:14:00 nexus3.edgexfoundry.org:10004 10:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:00 Configure a credential helper to remove this warning. See 10:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:00 10:14:00 Login Succeeded 10:14:00 docker.io 10:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:00 Configure a credential helper to remove this warning. See 10:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:00 10:14:00 Login Succeeded 10:14:00 ---> docker-login.sh ends [Pipeline] } 10:14:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:14:01 + git rev-list -1 --merges 447facfb5636b95224070a3f0c345f144de32824~1..447facfb5636b95224070a3f0c345f144de32824 [Pipeline] echo 10:14:01 -----------> git rev-list -1 --merges 447facfb5636b95224070a3f0c345f144de32824~1..447facfb5636b95224070a3f0c345f144de32824 447facfb5636b95224070a3f0c345f144de32824 [false] [Pipeline] sh 10:14:01 + git log --format=format:%s -1 447facfb5636b95224070a3f0c345f144de32824 [Pipeline] echo 10:14:01 ========================================================= 10:14:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:14:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:01 + git log --format=format:%s -1 447facfb5636b95224070a3f0c345f144de32824 [Pipeline] echo 10:14:01 [semverPrep] GIT_COMMIT: 447facfb5636b95224070a3f0c345f144de32824, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo 10:14:01 [semverPrep] This is not a build commit. [Pipeline] sh 10:14:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:02 + grep -v github /etc/ssh/ssh_known_hosts 10:14:02 + [ -e /tmp/ssh_known_hosts ] 10:14:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:14:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:14:02 + sudo tee -a /etc/ssh/ssh_known_hosts 10:14:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:02 10:14:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:03 0.1.4: Pulling from edgex-devops/py-git-semver 10:14:03 b85a868b505f: Pulling fs layer 10:14:03 e2be974225ed: Pulling fs layer 10:14:03 339a4e72a1f5: Pulling fs layer 10:14:03 988bab9f4d93: Pulling fs layer 10:14:03 1469e6f7b9e6: Pulling fs layer 10:14:03 eaf3925da568: Pulling fs layer 10:14:03 bab4dde63d76: Pulling fs layer 10:14:03 bde34c3a00c8: Pulling fs layer 10:14:03 b352a97aabf1: Pulling fs layer 10:14:03 1469e6f7b9e6: Waiting 10:14:03 eaf3925da568: Waiting 10:14:03 bab4dde63d76: Waiting 10:14:03 988bab9f4d93: Waiting 10:14:03 bde34c3a00c8: Waiting 10:14:03 4872d77fe225: Pulling fs layer 10:14:03 5851b861e8e6: Pulling fs layer 10:14:03 b352a97aabf1: Waiting 10:14:03 5851b861e8e6: Waiting 10:14:03 4872d77fe225: Waiting 10:14:03 e2be974225ed: Download complete 10:14:03 988bab9f4d93: Download complete 10:14:03 1469e6f7b9e6: Verifying Checksum 10:14:03 1469e6f7b9e6: Download complete 10:14:03 eaf3925da568: Verifying Checksum 10:14:03 eaf3925da568: Download complete 10:14:03 339a4e72a1f5: Verifying Checksum 10:14:03 339a4e72a1f5: Download complete 10:14:03 bde34c3a00c8: Verifying Checksum 10:14:03 bde34c3a00c8: Download complete 10:14:03 b352a97aabf1: Download complete 10:14:03 4872d77fe225: Download complete 10:14:03 5851b861e8e6: Verifying Checksum 10:14:03 5851b861e8e6: Download complete 10:14:03 b85a868b505f: Download complete 10:14:03 bab4dde63d76: Verifying Checksum 10:14:03 bab4dde63d76: Download complete 10:14:04 b85a868b505f: Pull complete 10:14:04 e2be974225ed: Pull complete 10:14:05 339a4e72a1f5: Pull complete 10:14:05 988bab9f4d93: Pull complete 10:14:05 1469e6f7b9e6: Pull complete 10:14:05 eaf3925da568: Pull complete 10:14:07 bab4dde63d76: Pull complete 10:14:07 bde34c3a00c8: Pull complete 10:14:07 b352a97aabf1: Pull complete 10:14:07 4872d77fe225: Pull complete 10:14:07 5851b861e8e6: Pull complete 10:14:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:14:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:08 prd-ubuntu20.04-docker-8c-8g-3211 does not seem to be running inside a container 10:14:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-21 -v /w/workspace/edgexfoundry_device-uart_PR-21:/w/workspace/edgexfoundry_device-uart_PR-21:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-21@tmp:/w/workspace/edgexfoundry_device-uart_PR-21@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 10:14:10 $ docker top 75635d227059a0c0c650e1e7f906ed9c680124079a105d9a7d017f6531b8a03e -eo pid,comm 10:14:11 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). 10:14:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:14:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:14:11 [ssh-agent] Looking for ssh-agent implementation... 10:14:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:14:11 $ docker exec 75635d227059a0c0c650e1e7f906ed9c680124079a105d9a7d017f6531b8a03e ssh-agent 10:14:11 SSH_AUTH_SOCK=/tmp/ssh-1JGMJYilF26U/agent.31 10:14:11 SSH_AGENT_PID=37 10:14:11 Running ssh-add (command line suppressed) 10:14:11 Identity added: /w/workspace/edgexfoundry_device-uart_PR-21@tmp/private_key_6126904118109901306.key (/w/workspace/edgexfoundry_device-uart_PR-21@tmp/private_key_6126904118109901306.key) 10:14:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:14:11 + git tag --points-at HEAD [Pipeline] } 10:14:11 $ docker exec --env ******** --env ******** 75635d227059a0c0c650e1e7f906ed9c680124079a105d9a7d017f6531b8a03e ssh-agent -k 10:14:11 unset SSH_AUTH_SOCK; 10:14:11 unset SSH_AGENT_PID; 10:14:11 echo Agent pid 37 killed; 10:14:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:14:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:14:12 [ssh-agent] Looking for ssh-agent implementation... 10:14:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:14:12 $ docker exec 75635d227059a0c0c650e1e7f906ed9c680124079a105d9a7d017f6531b8a03e ssh-agent 10:14:12 SSH_AUTH_SOCK=/tmp/ssh-OhdfRI9fNMBP/agent.70 10:14:12 SSH_AGENT_PID=76 10:14:12 Running ssh-add (command line suppressed) 10:14:12 Identity added: /w/workspace/edgexfoundry_device-uart_PR-21@tmp/private_key_13404508787405461211.key (/w/workspace/edgexfoundry_device-uart_PR-21@tmp/private_key_13404508787405461211.key) 10:14:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:14:12 + git semver init 10:14:13 2023-08-09 10:14:12,913 [run_init] DEBUG init version:0.0.0 force:False 10:14:13 2023-08-09 10:14:12,913 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-21/.semver 10:14:13 2023-08-09 10:14:12,914 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-21/.semver 10:14:13 2023-08-09 10:14:12,914 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-21/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-21, universal_newlines=False, shell=None, istream=None) 10:14:13 2023-08-09 10:14:13,744 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-21/.git/info/exclude 10:14:13 2023-08-09 10:14:13,745 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-21/.semver/PR-21 with force:False 10:14:13 2023-08-09 10:14:13,745 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-21/.semver/PR-21 10:14:13 2023-08-09 10:14:13,749 [execute] INFO git cat-file --batch-check 10:14:13 2023-08-09 10:14:13,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-21/.semver, universal_newlines=False, shell=None, istream=) 10:14:13 2023-08-09 10:14:13,755 [execute] INFO git cat-file --batch 10:14:13 2023-08-09 10:14:13,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-21/.semver, universal_newlines=False, shell=None, istream=) 10:14:13 2023-08-09 10:14:13,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-21/.semver/PR-21 10:14:13 0.0.0 [Pipeline] } 10:14:13 $ docker exec --env ******** --env ******** 75635d227059a0c0c650e1e7f906ed9c680124079a105d9a7d017f6531b8a03e ssh-agent -k 10:14:14 unset SSH_AUTH_SOCK; 10:14:14 unset SSH_AGENT_PID; 10:14:14 echo Agent pid 76 killed; 10:14:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:14 + git semver [Pipeline] } 10:14:14 $ docker stop --time=1 75635d227059a0c0c650e1e7f906ed9c680124079a105d9a7d017f6531b8a03e 10:14:16 $ docker rm -f --volumes 75635d227059a0c0c650e1e7f906ed9c680124079a105d9a7d017f6531b8a03e [Pipeline] // withDockerContainer [Pipeline] sh 10:14:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:14:16 Stashed 1 file(s) [Pipeline] echo 10:14:16 [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 10:14:17 provisioning config files... 10:14:17 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-21@tmp/config7215110769030643077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:17 ---> docker-login.sh 10:14:17 nexus3.edgexfoundry.org:10001 10:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:17 Configure a credential helper to remove this warning. See 10:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:17 10:14:17 Login Succeeded 10:14:17 nexus3.edgexfoundry.org:10002 10:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:17 Configure a credential helper to remove this warning. See 10:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:17 10:14:17 Login Succeeded 10:14:17 nexus3.edgexfoundry.org:10003 10:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:18 Configure a credential helper to remove this warning. See 10:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:18 10:14:18 Login Succeeded 10:14:18 nexus3.edgexfoundry.org:10004 10:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:18 Configure a credential helper to remove this warning. See 10:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:18 10:14:18 Login Succeeded 10:14:18 docker.io 10:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:18 Configure a credential helper to remove this warning. See 10:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:18 10:14:18 Login Succeeded 10:14:18 ---> docker-login.sh ends [Pipeline] } 10:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:14:18 ========================================================= 10:14:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:14:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:14:19 Sending build context to Docker daemon 11.1MB 10:14:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:14:19 Step 2/12 : FROM ${BASE} AS builder 10:14:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:14:19 4db1b89c0bd1: Pulling fs layer 10:14:19 6911f1a30b25: Pulling fs layer 10:14:19 e194b8c5c2a9: Pulling fs layer 10:14:19 6863d3e3a2b1: Pulling fs layer 10:14:19 ec0bb842ea78: Pulling fs layer 10:14:19 40a00589a448: Pulling fs layer 10:14:19 6c08303d61cc: Pulling fs layer 10:14:19 798269fcf238: Pulling fs layer 10:14:19 40a00589a448: Waiting 10:14:19 6c08303d61cc: Waiting 10:14:19 798269fcf238: Waiting 10:14:19 6863d3e3a2b1: Waiting 10:14:19 ec0bb842ea78: Waiting 10:14:19 6911f1a30b25: Verifying Checksum 10:14:19 6911f1a30b25: Download complete 10:14:19 6863d3e3a2b1: Verifying Checksum 10:14:19 6863d3e3a2b1: Download complete 10:14:19 ec0bb842ea78: Verifying Checksum 10:14:19 ec0bb842ea78: Download complete 10:14:19 4db1b89c0bd1: Verifying Checksum 10:14:19 4db1b89c0bd1: Download complete 10:14:19 40a00589a448: Verifying Checksum 10:14:19 40a00589a448: Download complete 10:14:19 4db1b89c0bd1: Pull complete 10:14:19 6911f1a30b25: Pull complete 10:14:20 798269fcf238: Verifying Checksum 10:14:20 798269fcf238: Download complete 10:14:20 e194b8c5c2a9: Verifying Checksum 10:14:20 e194b8c5c2a9: Download complete 10:14:20 6c08303d61cc: Verifying Checksum 10:14:20 6c08303d61cc: Download complete 10:14:23 e194b8c5c2a9: Pull complete 10:14:23 6863d3e3a2b1: Pull complete 10:14:23 ec0bb842ea78: Pull complete 10:14:23 40a00589a448: Pull complete 10:14:26 6c08303d61cc: Pull complete 10:14:26 798269fcf238: Pull complete 10:14:26 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:14:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:14:26 ---> ec979cd7f677 10:14:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:14:31 ---> Running in d57eb5b88a4c 10:14:31 Removing intermediate container d57eb5b88a4c 10:14:31 ---> 102781317d84 10:14:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:14:31 ---> Running in 888e50a5116a 10:14:31 Removing intermediate container 888e50a5116a 10:14:31 ---> d2a564ab66e1 10:14:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:14:31 ---> Running in f29dc35de66a 10:14:31 Removing intermediate container f29dc35de66a 10:14:31 ---> 9a149b1c0266 10:14:31 Step 6/12 : WORKDIR /device-uart 10:14:31 ---> Running in 2fccb00f455b 10:14:31 Removing intermediate container 2fccb00f455b 10:14:31 ---> 3a22907dc811 10:14:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:14:31 ---> Running in e3067237be2a 10:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:14:32 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:14:32 (2/4) Installing libedit (20221030.3.1-r0) 10:14:32 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:14:32 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:14:32 Executing busybox-1.35.0-r29.trigger 10:14:32 OK: 269 MiB in 57 packages 10:14:32 Still waiting to schedule task 10:14:32 ‘prd-centos7-blackbox-4c-2g-2949’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:14:32 ‘prd-centos7-blackbox-4c-2g-2950’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:14:32 ‘prd-centos7-builder-2c-1g-3200’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:14:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3210’ is offline 10:14:32 Removing intermediate container e3067237be2a 10:14:32 ---> 369db838ecf7 10:14:32 Step 8/12 : COPY go.mod vendor* ./ 10:14:32 ---> 59f4c123164b 10:14:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:32 ---> Running in 1a645d8019f3 10:14:59 Removing intermediate container 1a645d8019f3 10:14:59 ---> 086bb364cfd2 10:14:59 Step 10/12 : COPY . . 10:14:59 ---> abde3c6e3e83 10:14:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:14:59 ---> Running in 57b256efd87e 10:14:59 Removing intermediate container 57b256efd87e 10:14:59 ---> dfba1e471f6f 10:14:59 Step 12/12 : RUN ${MAKE} 10:14:59 ---> Running in 5b956a8f369e 10:15:00 noop 10:15:00 Removing intermediate container 5b956a8f369e 10:15:00 ---> 0a27b34268a3 10:15:00 Successfully built 0a27b34268a3 10:15:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:00 + docker inspect -f . ci-base-image-x86_64 10:15:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:01 prd-ubuntu20.04-docker-8c-8g-3211 does not seem to be running inside a container 10:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-21 -v /w/workspace/edgexfoundry_device-uart_PR-21:/w/workspace/edgexfoundry_device-uart_PR-21:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-21@tmp:/w/workspace/edgexfoundry_device-uart_PR-21@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 10:15:01 $ docker top 964f431c7edbc87281ef66f2706f48da6e16a8ae792ce800826473de66adb3c1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:15:01 + go version 10:15:01 go version go1.20.6 linux/amd64 [Pipeline] } 10:15:01 $ docker stop --time=1 964f431c7edbc87281ef66f2706f48da6e16a8ae792ce800826473de66adb3c1 10:15:03 $ docker rm -f --volumes 964f431c7edbc87281ef66f2706f48da6e16a8ae792ce800826473de66adb3c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:03 + docker inspect -f . ci-base-image-x86_64 10:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:04 prd-ubuntu20.04-docker-8c-8g-3211 does not seem to be running inside a container 10:15:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-21 -v /w/workspace/edgexfoundry_device-uart_PR-21:/w/workspace/edgexfoundry_device-uart_PR-21:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-21@tmp:/w/workspace/edgexfoundry_device-uart_PR-21@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 10:15:04 $ docker top b608cdab063d67302c99cb2e2ebc78405e845c0007b1e2ae88385010b6f69e66 -eo pid,comm [Pipeline] { [Pipeline] sh 10:15:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-21 [Pipeline] fileExists [Pipeline] sh 10:15:05 + make test 10:15:05 go test ./... -coverprofile=coverage.out 10:15:10 ? github.com/edgexfoundry/device-uart [no test files] 10:15:20 ? github.com/edgexfoundry/device-uart/cmd [no test files] 10:15:20 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 10:15:25 go vet ./... 10:15:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:15:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:15:29 ./bin/test-attribution-txt.sh [Pipeline] echo 10:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:15:29 $ docker stop --time=1 b608cdab063d67302c99cb2e2ebc78405e845c0007b1e2ae88385010b6f69e66 10:15:33 $ docker rm -f --volumes b608cdab063d67302c99cb2e2ebc78405e845c0007b1e2ae88385010b6f69e66 [Pipeline] // withDockerContainer [Pipeline] sh 10:15:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:15:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:15:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:15:35 + ls -al . 10:15:35 total 140 10:15:35 drwxrwxr-x 7 jenkins jenkins 4096 Aug 9 10:15 . 10:15:35 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:13 .. 10:15:35 -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:13 .dockerignore 10:15:35 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:14 .git 10:15:35 -rw-rw-r-- 1 jenkins jenkins 343 Aug 9 10:13 .gitignore 10:15:35 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:13 .golangci.yml 10:15:35 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:14 .semver 10:15:35 -rw-rw-r-- 1 jenkins jenkins 8872 Aug 9 10:13 Attribution.txt 10:15:35 -rw-rw-r-- 1 jenkins jenkins 1777 Aug 9 10:13 Dockerfile 10:15:35 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:13 GOVERNANCE.md 10:15:35 -rw-rw-r-- 1 jenkins jenkins 675 Aug 9 10:13 Jenkinsfile 10:15:35 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:13 LICENSE 10:15:35 -rw-rw-r-- 1 jenkins jenkins 1641 Aug 9 10:13 Makefile 10:15:35 -rw-rw-r-- 1 jenkins jenkins 617 Aug 9 10:13 OWNERS.md 10:15:35 -rw-rw-r-- 1 jenkins jenkins 7340 Aug 9 10:13 README.md 10:15:35 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:14 VERSION 10:15:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:13 bin 10:15:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:13 cmd 10:15:35 -rw-r--r-- 1 jenkins jenkins 10 Aug 9 10:15 coverage.out 10:15:35 -rw-rw-r-- 1 jenkins jenkins 3244 Aug 9 10:13 go.mod 10:15:35 -rw-rw-r-- 1 jenkins jenkins 31451 Aug 9 10:13 go.sum 10:15:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:13 internal 10:15:35 -rw-rw-r-- 1 jenkins jenkins 209 Aug 9 10:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:35 + 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=447facfb5636b95224070a3f0c345f144de32824 --label arch=amd64 --label version=0.0.0 . 10:15:35 Sending build context to Docker daemon 11.1MB 10:15:35 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:15:35 Step 2/25 : FROM ${BASE} AS builder 10:15:35 ---> 0a27b34268a3 10:15:35 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:15:35 ---> Running in 6b96e049b984 10:15:35 Removing intermediate container 6b96e049b984 10:15:35 ---> 75278fcebdb9 10:15:35 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:15:35 ---> Running in abd550c5c474 10:15:35 Removing intermediate container abd550c5c474 10:15:35 ---> 8eb3a4d79363 10:15:35 Step 5/25 : ARG ADD_BUILD_TAGS="" 10:15:36 ---> Running in b541ea2f8241 10:15:36 Removing intermediate container b541ea2f8241 10:15:36 ---> f5c43e1bb088 10:15:36 Step 6/25 : WORKDIR /device-uart 10:15:36 ---> Running in 2e6c273f8cb0 10:15:36 Removing intermediate container 2e6c273f8cb0 10:15:36 ---> b091351cac54 10:15:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:36 ---> Running in 14824b16d6c9 10:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:15:36 OK: 269 MiB in 57 packages 10:15:37 Removing intermediate container 14824b16d6c9 10:15:37 ---> 927e2fbb2563 10:15:37 Step 8/25 : COPY go.mod vendor* ./ 10:15:37 ---> 04a1fe7133f7 10:15:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:15:37 ---> Running in a442d27c97d9 10:15:37 Removing intermediate container a442d27c97d9 10:15:37 ---> 784880ab7577 10:15:37 Step 10/25 : COPY . . 10:15:38 ---> a70e4ad241d8 10:15:38 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:15:38 ---> Running in 4bb1e13f139f 10:15:38 Removing intermediate container 4bb1e13f139f 10:15:38 ---> fcfad72efbd2 10:15:38 Step 12/25 : RUN ${MAKE} 10:15:38 ---> Running in 5021b3c9e3b4 10:15:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 10:15:56 Removing intermediate container 5021b3c9e3b4 10:15:56 ---> 855f061587c3 10:15:56 Step 13/25 : FROM alpine:3.17 10:15:57 3.17: Pulling from library/alpine 10:15:57 9398808236ff: Pulling fs layer 10:15:57 9398808236ff: Verifying Checksum 10:15:57 9398808236ff: Download complete 10:15:57 9398808236ff: Pull complete 10:15:57 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:15:57 Status: Downloaded newer image for alpine:3.17 10:15:57 ---> 1e0b8b5322fc 10:15:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:15:57 ---> Running in 3657bf11566f 10:15:57 Removing intermediate container 3657bf11566f 10:15:57 ---> 710c2cb42ae7 10:15:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 10:15:57 ---> Running in f9cfb4db4bfb 10:15:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:15:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:15:58 (1/1) Installing dumb-init (1.2.5-r2) 10:15:58 Executing busybox-1.35.0-r29.trigger 10:15:58 OK: 7 MiB in 16 packages 10:15:59 Removing intermediate container f9cfb4db4bfb 10:15:59 ---> 3b895f596649 10:15:59 Step 16/25 : WORKDIR / 10:15:59 ---> Running in 7997036d7b19 10:15:59 Removing intermediate container 7997036d7b19 10:15:59 ---> 9c97d71bd598 10:15:59 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 10:15:59 ---> f21fe24f67c5 10:15:59 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 10:15:59 ---> 3e6200c8d0bc 10:15:59 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 10:16:00 ---> aa1077e8da95 10:16:00 Step 20/25 : EXPOSE 59995 10:16:00 ---> Running in 5624ed3b9742 10:16:00 Removing intermediate container 5624ed3b9742 10:16:00 ---> 9f19e5c1610c 10:16:00 Step 21/25 : ENTRYPOINT ["/device-uart"] 10:16:00 ---> Running in afce9f5a74ca 10:16:00 Removing intermediate container afce9f5a74ca 10:16:00 ---> 97f310eabba9 10:16:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:16:00 ---> Running in af03419353e5 10:16:00 Removing intermediate container af03419353e5 10:16:00 ---> e98ca25a7b13 10:16:00 Step 23/25 : LABEL arch=amd64 10:16:00 ---> Running in f4beba22eef0 10:16:00 Removing intermediate container f4beba22eef0 10:16:00 ---> 4f4ad0d064df 10:16:00 Step 24/25 : LABEL git_sha=447facfb5636b95224070a3f0c345f144de32824 10:16:00 ---> Running in a1d90fa4f1d8 10:16:00 Removing intermediate container a1d90fa4f1d8 10:16:00 ---> 45e850f96ad1 10:16:00 Step 25/25 : LABEL version=0.0.0 10:16:01 ---> Running in f00db09aa92d 10:16:01 Removing intermediate container f00db09aa92d 10:16:01 ---> a8cb32c10ca9 10:16:01 [Warning] One or more build-args [ARCH] were not consumed 10:16:01 Successfully built a8cb32c10ca9 10:16:01 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 10:16:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:16:02 10:16:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:16:02 latest: Pulling from edgex-lftools-log-publisher 10:16:02 5eb5b503b376: Pulling fs layer 10:16:02 5c69ac0246d0: Pulling fs layer 10:16:02 ec43610c2a17: Pulling fs layer 10:16:02 3a2ae6a8a46f: Pulling fs layer 10:16:02 33b1e0a273af: Pulling fs layer 10:16:02 5d3b04190fa2: Pulling fs layer 10:16:02 2f39f015ded8: Pulling fs layer 10:16:02 3a2ae6a8a46f: Waiting 10:16:02 5d3b04190fa2: Waiting 10:16:02 33b1e0a273af: Waiting 10:16:02 5c69ac0246d0: Download complete 10:16:02 3a2ae6a8a46f: Verifying Checksum 10:16:02 3a2ae6a8a46f: Download complete 10:16:02 33b1e0a273af: Verifying Checksum 10:16:02 33b1e0a273af: Download complete 10:16:02 5d3b04190fa2: Verifying Checksum 10:16:02 5d3b04190fa2: Download complete 10:16:02 ec43610c2a17: Verifying Checksum 10:16:02 ec43610c2a17: Download complete 10:16:02 5eb5b503b376: Verifying Checksum 10:16:02 5eb5b503b376: Download complete 10:16:03 2f39f015ded8: Download complete 10:16:03 5eb5b503b376: Pull complete 10:16:03 5c69ac0246d0: Pull complete 10:16:04 ec43610c2a17: Pull complete 10:16:04 3a2ae6a8a46f: Pull complete 10:16:04 33b1e0a273af: Pull complete 10:16:04 5d3b04190fa2: Pull complete 10:16:08 2f39f015ded8: Pull complete 10:16:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:16:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:09 prd-ubuntu20.04-docker-8c-8g-3211 does not seem to be running inside a container 10:16:09 $ 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-21 -v /w/workspace/edgexfoundry_device-uart_PR-21:/w/workspace/edgexfoundry_device-uart_PR-21:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-21@tmp:/w/workspace/edgexfoundry_device-uart_PR-21@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 10:16:14 $ docker top f4b621b61c9009aa98e2bfa63b1d068a887af4a12f5941eda38535bfd4451b34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:16:15 ---> job-cost.sh 10:16:15 lf-activate-venv: SKIPPING 10:16:15 INFO: No Stack... 10:16:15 INFO: Retrieving Pricing Info for: v3-standard-8 10:16:15 INFO: Archiving Costs [Pipeline] sh 10:16:16 + cat /w/workspace/edgexfoundry_device-uart_PR-21/archives/cost.csv 10:16:16 + cut -d, -f6 [Pipeline] lock 10:16:16 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-21-1-stack-cost] 10:16:16 Resource [jenkins-edgexfoundry-device-uart-PR-21-1-stack-cost] did not exist. Created. 10:16:16 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-21-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:16:16 + echo total: 0.2199999988079071 [Pipeline] stash 10:16:16 Stashed 1 file(s) [Pipeline] } 10:16:16 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-21-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:16:16 $ docker stop --time=1 f4b621b61c9009aa98e2bfa63b1d068a887af4a12f5941eda38535bfd4451b34 10:16:17 $ docker rm -f --volumes f4b621b61c9009aa98e2bfa63b1d068a887af4a12f5941eda38535bfd4451b34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:18:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3212 in /w/workspace/edgexfoundry_device-uart_PR-21 [Pipeline] { [Pipeline] ws 10:18:24 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 10:18:24 The recommended git tool is: git 10:18:31 using credential edgex-jenkins-ssh 10:18:31 Cloning the remote Git repository 10:18:31 Cloning repository git@github.com:edgexfoundry/device-uart.git 10:18:31 > git init /w/workspace/device-uart/1 # timeout=10 10:18:31 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 10:18:31 > git --version # timeout=10 10:18:31 > git --version # 'git version 2.25.1' 10:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 10:18:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:18:33 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 10:18:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:18:34 Merging remotes/origin/main commit f79754343d8b1121fd7b40f656006f62376f5905 into PR head commit 447facfb5636b95224070a3f0c345f144de32824 10:18:34 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 10:18:34 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 10:18:34 using GIT_SSH to set credentials SSH Credentials for GitHub 10:18:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/21/head:refs/remotes/origin/PR-21 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:18:34 > git config core.sparsecheckout # timeout=10 10:18:34 > git checkout -f 447facfb5636b95224070a3f0c345f144de32824 # timeout=10 10:18:35 Merge succeeded, producing 447facfb5636b95224070a3f0c345f144de32824 10:18:35 Checking out Revision 447facfb5636b95224070a3f0c345f144de32824 (PR-21) 10:18:34 > git remote # timeout=10 10:18:34 > git config --get remote.origin.url # timeout=10 10:18:35 using GIT_SSH to set credentials SSH Credentials for GitHub 10:18:35 > git merge f79754343d8b1121fd7b40f656006f62376f5905 # timeout=10 10:18:35 > git rev-parse HEAD^{commit} # timeout=10 10:18:35 > git config core.sparsecheckout # timeout=10 10:18:35 > git checkout -f 447facfb5636b95224070a3f0c345f144de32824 # timeout=10 10:18:38 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" 10:18:38 > git --version # timeout=10 10:18:38 > git --version # 'git version 2.25.1' 10:18:38 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:18:39 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:39 Dload Upload Total Spent Left Speed 10:18:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 10:18:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:18:40 + + sudo tee /etc/docker/daemon.newsudo 10:18:40 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:18:40 { 10:18:40 "registry-mirrors": [ 10:18:40 "https://nexus3.edgexfoundry.org:10001" 10:18:40 ], 10:18:40 "bip": "10.250.0.254/24", 10:18:40 "hosts": [ 10:18:40 "tcp://0.0.0.0:5555", 10:18:40 "unix:///var/run/docker.sock" 10:18:40 ], 10:18:40 "mtu": 1458, 10:18:40 "selinux-enabled": true, 10:18:40 "seccomp-profile": "/etc/docker/seccomp.json" 10:18:40 } [Pipeline] sh 10:18:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:18:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:00 provisioning config files... 10:19:00 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config11617173756967018991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:00 ---> docker-login.sh 10:19:00 nexus3.edgexfoundry.org:10001 10:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:01 Configure a credential helper to remove this warning. See 10:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:01 10:19:01 Login Succeeded 10:19:01 nexus3.edgexfoundry.org:10002 10:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:01 Configure a credential helper to remove this warning. See 10:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:01 10:19:01 Login Succeeded 10:19:01 nexus3.edgexfoundry.org:10003 10:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:01 Configure a credential helper to remove this warning. See 10:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:01 10:19:01 Login Succeeded 10:19:01 nexus3.edgexfoundry.org:10004 10:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:02 Configure a credential helper to remove this warning. See 10:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:02 10:19:02 Login Succeeded 10:19:02 docker.io 10:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:03 Configure a credential helper to remove this warning. See 10:19:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:03 10:19:03 Login Succeeded 10:19:03 ---> docker-login.sh ends [Pipeline] } 10:19:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:19:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:19:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:19:03 ========================================================= 10:19:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:19:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:19:04 Sending build context to Docker daemon 5.592MB 10:19:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:19:04 Step 2/12 : FROM ${BASE} AS builder 10:19:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:19:04 edb6bdbacee9: Pulling fs layer 10:19:04 5f9638ab2659: Pulling fs layer 10:19:04 8d51d6327a98: Pulling fs layer 10:19:04 8b374f2dd631: Pulling fs layer 10:19:04 ec14aa9079de: Pulling fs layer 10:19:04 2f466654f4bb: Pulling fs layer 10:19:04 554e91adad29: Pulling fs layer 10:19:04 8b374f2dd631: Waiting 10:19:04 ec14aa9079de: Waiting 10:19:04 2f466654f4bb: Waiting 10:19:04 554e91adad29: Waiting 10:19:04 5f9638ab2659: Download complete 10:19:04 8b374f2dd631: Verifying Checksum 10:19:04 8b374f2dd631: Download complete 10:19:04 ec14aa9079de: Download complete 10:19:04 edb6bdbacee9: Verifying Checksum 10:19:04 edb6bdbacee9: Download complete 10:19:06 554e91adad29: Verifying Checksum 10:19:06 554e91adad29: Download complete 10:19:06 edb6bdbacee9: Pull complete 10:19:07 8d51d6327a98: Verifying Checksum 10:19:07 8d51d6327a98: Download complete 10:19:07 2f466654f4bb: Verifying Checksum 10:19:07 2f466654f4bb: Download complete 10:19:07 5f9638ab2659: Pull complete 10:19:19 8d51d6327a98: Pull complete 10:19:20 8b374f2dd631: Pull complete 10:19:20 ec14aa9079de: Pull complete 10:19:28 2f466654f4bb: Pull complete 10:19:30 554e91adad29: Pull complete 10:19:30 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 10:19:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:19:30 ---> 1e15ea492957 10:19:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:19:32 ---> Running in 29b599ccd838 10:19:32 Removing intermediate container 29b599ccd838 10:19:32 ---> c3a7315bcde2 10:19:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:19:32 ---> Running in 9fa770781e88 10:19:32 Removing intermediate container 9fa770781e88 10:19:32 ---> a2ebebe6bf80 10:19:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:19:33 ---> Running in 586bbf725b31 10:19:33 Removing intermediate container 586bbf725b31 10:19:33 ---> 7430f97f88ec 10:19:33 Step 6/12 : WORKDIR /device-uart 10:19:33 ---> Running in 0d77aa5ba67e 10:19:34 Removing intermediate container 0d77aa5ba67e 10:19:34 ---> 6d23902dd86b 10:19:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:19:34 ---> Running in 369ab567b6d8 10:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:19:37 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:19:37 (2/4) Installing libedit (20221030.3.1-r0) 10:19:37 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:19:37 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:19:37 Executing busybox-1.35.0-r29.trigger 10:19:37 OK: 268 MiB in 57 packages 10:19:38 Removing intermediate container 369ab567b6d8 10:19:38 ---> 09283906c12d 10:19:38 Step 8/12 : COPY go.mod vendor* ./ 10:19:38 ---> 2a66e70cbf8f 10:19:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:39 ---> Running in 2c9043cc1994 10:20:46 Removing intermediate container 2c9043cc1994 10:20:46 ---> 488d51013b7a 10:20:46 Step 10/12 : COPY . . 10:20:46 ---> 25ab68f9817a 10:20:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:20:46 ---> Running in 747234f0d365 10:20:46 Removing intermediate container 747234f0d365 10:20:46 ---> f1f5a3305dad 10:20:46 Step 12/12 : RUN ${MAKE} 10:20:46 ---> Running in 0148f11dc382 10:20:46 noop 10:20:46 Removing intermediate container 0148f11dc382 10:20:46 ---> 2470f6a55b2b 10:20:46 Successfully built 2470f6a55b2b 10:20:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:47 + docker inspect -f . ci-base-image-arm64 10:20:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:47 prd-ubuntu20.04-docker-arm64-4c-16g-3212 does not seem to be running inside a container 10:20:47 $ 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 10:20:49 $ docker top 342528dcbdd332da70516a2473fb100459d59613e77093ace8655a39ffc3e170 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:50 + go version 10:20:50 go version go1.20.6 linux/arm64 [Pipeline] } 10:20:50 $ docker stop --time=1 342528dcbdd332da70516a2473fb100459d59613e77093ace8655a39ffc3e170 10:20:51 $ docker rm -f --volumes 342528dcbdd332da70516a2473fb100459d59613e77093ace8655a39ffc3e170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:52 + docker inspect -f . ci-base-image-arm64 10:20:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:53 prd-ubuntu20.04-docker-arm64-4c-16g-3212 does not seem to be running inside a container 10:20:53 $ 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 10:20:54 $ docker top bb0d5646a1b273cf49f013c38f254cfb73149320cb8f0248a0e31e1890e0ce4e -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:55 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 10:20:56 + make test 10:20:56 go test ./... -coverprofile=coverage.out 10:21:28 ? github.com/edgexfoundry/device-uart [no test files] 10:23:35 ? github.com/edgexfoundry/device-uart/cmd [no test files] 10:23:35 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 10:23:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:23:35 go vet ./... 10:24:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:24:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:24:02 ./bin/test-attribution-txt.sh [Pipeline] echo 10:24:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:24:02 $ docker stop --time=1 bb0d5646a1b273cf49f013c38f254cfb73149320cb8f0248a0e31e1890e0ce4e 10:24:04 $ docker rm -f --volumes bb0d5646a1b273cf49f013c38f254cfb73149320cb8f0248a0e31e1890e0ce4e [Pipeline] // withDockerContainer [Pipeline] sh 10:24:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:24:05 Warning: overwriting stash ‘coverage-report’ 10:24:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:24:06 + ls -al . 10:24:06 total 136 10:24:06 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 10:20 . 10:24:06 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:18 .. 10:24:06 -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:18 .dockerignore 10:24:06 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:18 .git 10:24:06 -rw-rw-r-- 1 jenkins jenkins 343 Aug 9 10:18 .gitignore 10:24:06 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:18 .golangci.yml 10:24:06 -rw-rw-r-- 1 jenkins jenkins 8872 Aug 9 10:18 Attribution.txt 10:24:06 -rw-rw-r-- 1 jenkins jenkins 1777 Aug 9 10:18 Dockerfile 10:24:06 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:18 GOVERNANCE.md 10:24:06 -rw-rw-r-- 1 jenkins jenkins 675 Aug 9 10:18 Jenkinsfile 10:24:06 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:18 LICENSE 10:24:06 -rw-rw-r-- 1 jenkins jenkins 1641 Aug 9 10:18 Makefile 10:24:06 -rw-rw-r-- 1 jenkins jenkins 617 Aug 9 10:18 OWNERS.md 10:24:06 -rw-rw-r-- 1 jenkins jenkins 7340 Aug 9 10:18 README.md 10:24:06 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:14 VERSION 10:24:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:18 bin 10:24:06 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:18 cmd 10:24:06 -rw-r--r-- 1 jenkins jenkins 10 Aug 9 10:20 coverage.out 10:24:06 -rw-rw-r-- 1 jenkins jenkins 3244 Aug 9 10:18 go.mod 10:24:06 -rw-rw-r-- 1 jenkins jenkins 31451 Aug 9 10:18 go.sum 10:24:06 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:18 internal 10:24:06 -rw-rw-r-- 1 jenkins jenkins 209 Aug 9 10:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:07 + 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=447facfb5636b95224070a3f0c345f144de32824 --label arch=arm64 --label version=0.0.0 . 10:24:07 Sending build context to Docker daemon 5.593MB 10:24:07 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:24:07 Step 2/25 : FROM ${BASE} AS builder 10:24:07 ---> 2470f6a55b2b 10:24:07 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:24:07 ---> Running in b0e4a6dbc857 10:24:07 Removing intermediate container b0e4a6dbc857 10:24:07 ---> 6af97febee13 10:24:07 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:24:07 ---> Running in 520ca2570f1b 10:24:08 Removing intermediate container 520ca2570f1b 10:24:08 ---> 5f8d028cf22c 10:24:08 Step 5/25 : ARG ADD_BUILD_TAGS="" 10:24:08 ---> Running in 947006d2f9de 10:24:08 Removing intermediate container 947006d2f9de 10:24:08 ---> 1f51b7f085ba 10:24:08 Step 6/25 : WORKDIR /device-uart 10:24:08 ---> Running in 33a0692fbee3 10:24:08 Removing intermediate container 33a0692fbee3 10:24:08 ---> 4feca8618a89 10:24:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:24:09 ---> Running in e7ef514eea0f 10:24:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:24:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:24:11 OK: 268 MiB in 57 packages 10:24:14 Removing intermediate container e7ef514eea0f 10:24:14 ---> 7c2d3e7d825c 10:24:14 Step 8/25 : COPY go.mod vendor* ./ 10:24:14 ---> ce45c6d9f717 10:24:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:24:14 ---> Running in e910916d1a73 10:24:16 Removing intermediate container e910916d1a73 10:24:16 ---> 414f6a62aa9b 10:24:16 Step 10/25 : COPY . . 10:24:17 ---> 1f7a1f6e654f 10:24:17 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:24:17 ---> Running in f25a7e4a4f34 10:24:17 Removing intermediate container f25a7e4a4f34 10:24:17 ---> 338de020c594 10:24:17 Step 12/25 : RUN ${MAKE} 10:24:17 ---> Running in 064613a4a104 10:24:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd 10:26:40 Removing intermediate container 064613a4a104 10:26:40 ---> b09e54908c3a 10:26:40 Step 13/25 : FROM alpine:3.17 10:26:40 3.17: Pulling from library/alpine 10:26:40 4060ece20d7a: Pulling fs layer 10:26:40 4060ece20d7a: Verifying Checksum 10:26:40 4060ece20d7a: Download complete 10:26:40 4060ece20d7a: Pull complete 10:26:40 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:26:40 Status: Downloaded newer image for alpine:3.17 10:26:40 ---> 8650cd65339b 10:26:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:26:40 ---> Running in e1f395831ce1 10:26:40 Removing intermediate container e1f395831ce1 10:26:40 ---> d621e01d0690 10:26:40 Step 15/25 : RUN apk add --update --no-cache dumb-init 10:26:40 ---> Running in fc4bb0971787 10:26:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:26:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:26:40 (1/1) Installing dumb-init (1.2.5-r2) 10:26:40 Executing busybox-1.35.0-r29.trigger 10:26:40 OK: 8 MiB in 16 packages 10:26:40 Removing intermediate container fc4bb0971787 10:26:40 ---> 1a214a60cc80 10:26:40 Step 16/25 : WORKDIR / 10:26:41 ---> Running in 3bc8aa63fdf2 10:26:41 Removing intermediate container 3bc8aa63fdf2 10:26:41 ---> f6ad6b570ee6 10:26:41 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 10:26:42 ---> 20a6cffc1f84 10:26:42 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 10:26:42 ---> 18b177097241 10:26:42 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 10:26:44 ---> e26d0153550a 10:26:44 Step 20/25 : EXPOSE 59995 10:26:44 ---> Running in 308d9e9e1f12 10:26:44 Removing intermediate container 308d9e9e1f12 10:26:44 ---> 21120c2685cf 10:26:44 Step 21/25 : ENTRYPOINT ["/device-uart"] 10:26:44 ---> Running in 589198bd22d9 10:26:44 Removing intermediate container 589198bd22d9 10:26:44 ---> 4e817ed7eeff 10:26:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:26:44 ---> Running in 053e7f7a5279 10:26:45 Removing intermediate container 053e7f7a5279 10:26:45 ---> a732a2343348 10:26:45 Step 23/25 : LABEL arch=arm64 10:26:45 ---> Running in 2e60366df516 10:26:45 Removing intermediate container 2e60366df516 10:26:45 ---> 895a535853e7 10:26:45 Step 24/25 : LABEL git_sha=447facfb5636b95224070a3f0c345f144de32824 10:26:45 ---> Running in a60a7c3e0c27 10:26:45 Removing intermediate container a60a7c3e0c27 10:26:45 ---> 4a992ab839c5 10:26:45 Step 25/25 : LABEL version=0.0.0 10:26:45 ---> Running in 975571ec59d5 10:26:45 Removing intermediate container 975571ec59d5 10:26:45 ---> 69fd6262cd90 10:26:45 [Warning] One or more build-args [ARCH] were not consumed 10:26:46 Successfully built 69fd6262cd90 10:26:46 Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:47 10:26:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:47 arm64: Pulling from edgex-lftools-log-publisher 10:26:47 8998bd30e6a1: Pulling fs layer 10:26:47 04944245beec: Pulling fs layer 10:26:47 699f458cf7ca: Pulling fs layer 10:26:47 765212b225bb: Pulling fs layer 10:26:47 f23df028b6ca: Pulling fs layer 10:26:47 d65c8cfc05b1: Pulling fs layer 10:26:47 2437ff75d9bd: Pulling fs layer 10:26:47 f23df028b6ca: Waiting 10:26:47 d65c8cfc05b1: Waiting 10:26:47 2437ff75d9bd: Waiting 10:26:47 765212b225bb: Waiting 10:26:47 04944245beec: Verifying Checksum 10:26:47 04944245beec: Download complete 10:26:47 765212b225bb: Verifying Checksum 10:26:47 765212b225bb: Download complete 10:26:47 f23df028b6ca: Verifying Checksum 10:26:47 f23df028b6ca: Download complete 10:26:47 d65c8cfc05b1: Verifying Checksum 10:26:47 d65c8cfc05b1: Download complete 10:26:47 699f458cf7ca: Verifying Checksum 10:26:47 699f458cf7ca: Download complete 10:26:48 8998bd30e6a1: Verifying Checksum 10:26:48 8998bd30e6a1: Download complete 10:26:50 2437ff75d9bd: Verifying Checksum 10:26:50 2437ff75d9bd: Download complete 10:26:52 8998bd30e6a1: Pull complete 10:26:52 04944245beec: Pull complete 10:26:55 699f458cf7ca: Pull complete 10:26:55 765212b225bb: Pull complete 10:26:56 f23df028b6ca: Pull complete 10:26:56 d65c8cfc05b1: Pull complete 10:27:11 2437ff75d9bd: Pull complete 10:27:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:27:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:27:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:11 prd-ubuntu20.04-docker-arm64-4c-16g-3212 does not seem to be running inside a container 10:27:11 $ 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 10:27:14 $ docker top 9e3d1fc7ccbdb4a760af9925d94355df7b71c8fe77b39533ddd28667ca96df9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:15 ---> job-cost.sh 10:27:15 lf-activate-venv: SKIPPING 10:27:15 INFO: No Stack... 10:27:15 INFO: Retrieving Pricing Info for: v3-standard-4 10:27:16 INFO: Archiving Costs [Pipeline] sh 10:27:17 + cat /w/workspace/device-uart/1/archives/cost.csv 10:27:17 + cut -d, -f6 [Pipeline] lock 10:27:17 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-21-1-stack-cost] 10:27:17 Resource [jenkins-edgexfoundry-device-uart-PR-21-1-stack-cost] did not exist. Created. 10:27:17 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-21-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:27:18 /w/workspace/device-uart/1@tmp/durable-06b36acc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:27:18 + echo total: 0.10999999940395355 [Pipeline] stash 10:27:18 Warning: overwriting stash ‘stack-cost’ 10:27:18 Stashed 1 file(s) [Pipeline] } 10:27:18 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-21-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:27:18 $ docker stop --time=1 9e3d1fc7ccbdb4a760af9925d94355df7b71c8fe77b39533ddd28667ca96df9c 10:27:22 $ docker rm -f --volumes 9e3d1fc7ccbdb4a760af9925d94355df7b71c8fe77b39533ddd28667ca96df9c [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 10:27:23 provisioning config files... 10:27:23 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-21@tmp/config15076173944106293480tmp [Pipeline] { [Pipeline] sh 10:27:23 + set +x 10:27:23 + curl -s https://codecov.io/bash 10:27:23 + bash -s -- 10:27:23 10:27:23 _____ _ 10:27:23 / ____| | | 10:27:23 | | ___ __| | ___ ___ _____ __ 10:27:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:27:23 | |___| (_) | (_| | __/ (_| (_) \ V / 10:27:23 \_____\___/ \__,_|\___|\___\___/ \_/ 10:27:23 Bash-1.0.6 10:27:23 10:27:23 10:27:23 ==> git version 2.25.1 found 10:27:23 ==> 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 10:27:23 Release-Date: 2020-01-08 10:27:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:27:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:27:23 ==> Jenkins CI detected. 10:27:23 current dir:  /w/workspace/edgexfoundry_device-uart_PR-21 10:27:23 project root: . 10:27:23 --> token set from env 10:27:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:27:23 ==> Running gcov in . (disable via -X gcov) 10:27:23 ==> Python coveragepy not found 10:27:23 ==> Searching for coverage reports in: 10:27:23 + . 10:27:23 -> Found 1 reports 10:27:23 ==> Detecting git/mercurial file structure 10:27:23 ==> Reading reports 10:27:23 + ./coverage.out bytes=10 10:27:23 ==> Appending adjustments 10:27:23 https://docs.codecov.io/docs/fixing-reports 10:27:24 + Found adjustments 10:27:24 ==> Gzipping contents 10:27:24 4.0K /tmp/codecov.ltOzg5.gz 10:27:24 ==> Uploading reports 10:27:24 url: https://codecov.io 10:27:24 query: branch=PR-21&commit=447facfb5636b95224070a3f0c345f144de32824&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-21%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=21&job=&cmd_args= 10:27:24 -> Pinging Codecov 10:27:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-21&commit=447facfb5636b95224070a3f0c345f144de32824&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-21%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=21&job=&cmd_args= 10:27:24 -> Uploading to 10:27:24 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/B9AA6E0BBD74AE3A32605C7A7C664919/447facfb5636b95224070a3f0c345f144de32824/78b409af-00d1-41a6-8bfd-ac06ff143f37.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T102724Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ca64f8891b203336ba787c0f9287a2f33fbaa4657a0c9685247114f0511c9c8 10:27:24 % Total % Received % Xferd Average Speed Time Time Time Current 10:27:24 Dload Upload Total Spent Left Speed 10:27:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 3060 --:--:-- --:--:-- --:--:-- 3045 100 603 0 0 100 603 0 3060 --:--:-- --:--:-- --:--:-- 3045 10:27:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/447facfb5636b95224070a3f0c345f144de32824 [Pipeline] } 10:27:24 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 10:27:26 + [ -d /w/workspace/edgexfoundry_device-uart_PR-21/archives ] 10:27:26 + ls -al /w/workspace/edgexfoundry_device-uart_PR-21/archives 10:27:26 total 16 10:27:26 drwxr-xr-x 3 root root 4096 Aug 9 10:16 . 10:27:26 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:16 .. 10:27:26 drwxr-xr-x 2 root root 4096 Aug 9 10:16 cost 10:27:26 -rw-r--r-- 1 root root 82 Aug 9 10:16 cost.csv 10:27:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-21/archives 10:27:26 + ls -al /w/workspace/edgexfoundry_device-uart_PR-21/archives 10:27:26 total 16 10:27:26 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:16 . 10:27:26 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:16 .. 10:27:26 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:16 cost 10:27:26 -rw-r--r-- 1 jenkins jenkins 82 Aug 9 10:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:27:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:27:27 ---> package-listing.sh 10:27:27 ++ facter osfamily 10:27:27 ++ tr '[:upper:]' '[:lower:]' 10:27:27 + OS_FAMILY=debian 10:27:27 + workspace=/w/workspace/edgexfoundry_device-uart_PR-21 10:27:27 + START_PACKAGES=/tmp/packages_start.txt 10:27:27 + END_PACKAGES=/tmp/packages_end.txt 10:27:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:27:27 + PACKAGES=/tmp/packages_start.txt 10:27:27 + '[' /w/workspace/edgexfoundry_device-uart_PR-21 ']' 10:27:27 + PACKAGES=/tmp/packages_end.txt 10:27:27 + case "${OS_FAMILY}" in 10:27:27 + dpkg -l 10:27:27 + grep '^ii' 10:27:27 + '[' -f /tmp/packages_start.txt ']' 10:27:27 + '[' -f /tmp/packages_end.txt ']' 10:27:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:27:27 + '[' /w/workspace/edgexfoundry_device-uart_PR-21 ']' 10:27:27 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-21/archives/ 10:27:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-21/archives/ [Pipeline] echo 10:27:27 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-21/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:27:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:27:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:28 prd-ubuntu20.04-docker-8c-8g-3211 does not seem to be running inside a container 10:27:28 $ 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-21/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-21 -v /w/workspace/edgexfoundry_device-uart_PR-21:/w/workspace/edgexfoundry_device-uart_PR-21:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-21@tmp:/w/workspace/edgexfoundry_device-uart_PR-21@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 10:27:29 $ docker top 76ef346130d4d1e04ac8957b7c36eeb180a2ce55d663f0cd203f0ad561a98a53 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:29 + touch /tmp/pre-build-complete [Pipeline] sh 10:27:29 + mkdir -p /var/log/sysstat [Pipeline] sh 10:27:30 + ls /var/log/sa-host 10:27:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:30 provisioning config files... 10:27:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-21@tmp/config2302976254176632420tmp [Pipeline] { [Pipeline] echo 10:27:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:27:30 ---> create-netrc.sh [Pipeline] } 10:27:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:27:30 ---> python-tools-install.sh [Pipeline] echo 10:27:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:27:31 ---> sudo-logs.sh 10:27:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:27:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:27:31 ---> job-cost.sh 10:27:31 lf-activate-venv: SKIPPING 10:27:31 DEBUG: total: 0.2199999988079071 10:27:31 INFO: Retrieving Stack Cost... 10:27:32 INFO: Retrieving Pricing Info for: v3-standard-8 10:27:32 INFO: Archiving Costs [Pipeline] echo 10:27:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:27:32 ---> logs-deploy.sh 10:27:32 lf-activate-venv: SKIPPING 10:27:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-21/1 10:27:32 INFO: archiving workspace using pattern(s): 10:27:33 Archives upload complete. 10:27:33 INFO: archiving logs to Nexus