Pull request #20 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-villali for edgexfoundry/device-uart Loading trusted files from base branch main at a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 rather than ee531f98669342dbdcfc4bba483199586cacb1dd Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 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-ssh9789422305339187555.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-ssh14530408305111022785.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4867050118709245723.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 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-ssh16024942186353767106.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17057703519376141343.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1438’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1440 in /w/workspace/edgexfoundry_device-uart_PR-20 [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-20 # 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/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit ee531f98669342dbdcfc4bba483199586cacb1dd Merge succeeded, producing 53eb00f543b8246948847827f010f8cd8dab5a60 Checking out Revision 53eb00f543b8246948847827f010f8cd8dab5a60 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f ee531f98669342dbdcfc4bba483199586cacb1dd # 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 a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53eb00f543b8246948847827f010f8cd8dab5a60 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk a4d3b087a10c4715c64bd351dec2db77d50f584a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:08:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:08:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:08:55 ========================================================= 14:08:55 EdgeX Global Pipelines Version Info 14:08:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:08:56 ------------------- 14:08:56 stable info: 14:08:56 ------------------- 14:08:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:08:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 14:08:56 Message: update stable to v1.0.250 14:08:56 ------------------- 14:08:56 experimental info: 14:08:56 ------------------- 14:08:56 Commited By: **** collab-it+edgex@linuxfoundation.org 14:08:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 14:08:56 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:08:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53eb00f543b8246948847827f010f8cd8dab5a60 [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53eb00f [Pipeline] echo 14:08:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:08:57 provisioning config files... 14:08:57 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config3426369090707206566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:57 ---> docker-login.sh 14:08:57 nexus3.edgexfoundry.org:10001 14:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:58 Configure a credential helper to remove this warning. See 14:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:58 14:08:58 Login Succeeded 14:08:58 nexus3.edgexfoundry.org:10002 14:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:58 Configure a credential helper to remove this warning. See 14:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:58 14:08:58 Login Succeeded 14:08:58 nexus3.edgexfoundry.org:10003 14:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:58 Configure a credential helper to remove this warning. See 14:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:58 14:08:58 Login Succeeded 14:08:58 nexus3.edgexfoundry.org:10004 14:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:58 Configure a credential helper to remove this warning. See 14:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:58 14:08:58 Login Succeeded 14:08:58 docker.io 14:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:58 Configure a credential helper to remove this warning. See 14:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:58 14:08:58 Login Succeeded 14:08:58 ---> docker-login.sh ends [Pipeline] } 14:08:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:08:59 + git rev-list -1 --merges 53eb00f543b8246948847827f010f8cd8dab5a60~1..53eb00f543b8246948847827f010f8cd8dab5a60 [Pipeline] echo 14:08:59 -----------> git rev-list -1 --merges 53eb00f543b8246948847827f010f8cd8dab5a60~1..53eb00f543b8246948847827f010f8cd8dab5a60 53eb00f543b8246948847827f010f8cd8dab5a60 14:08:59 53eb00f543b8246948847827f010f8cd8dab5a60 [false] [Pipeline] sh 14:08:59 + git log --format=format:%s -1 53eb00f543b8246948847827f010f8cd8dab5a60 [Pipeline] echo 14:08:59 ========================================================= 14:08:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:08:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:08:59 + git log --format=format:%s -1 53eb00f543b8246948847827f010f8cd8dab5a60 [Pipeline] echo 14:08:59 [semverPrep] GIT_COMMIT: 53eb00f543b8246948847827f010f8cd8dab5a60, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 14:08:59 [semverPrep] This is not a build commit. [Pipeline] sh 14:09:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:09:00 + grep -v github /etc/ssh/ssh_known_hosts 14:09:00 + [ -e /tmp/ssh_known_hosts ] 14:09:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:09:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:09:00 + sudo tee -a /etc/ssh/ssh_known_hosts 14:09:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:00 14:09:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:01 0.1.4: Pulling from edgex-devops/py-git-semver 14:09:01 b85a868b505f: Pulling fs layer 14:09:01 e2be974225ed: Pulling fs layer 14:09:01 339a4e72a1f5: Pulling fs layer 14:09:01 988bab9f4d93: Pulling fs layer 14:09:01 988bab9f4d93: Waiting 14:09:01 1469e6f7b9e6: Pulling fs layer 14:09:01 1469e6f7b9e6: Waiting 14:09:01 eaf3925da568: Pulling fs layer 14:09:01 bab4dde63d76: Pulling fs layer 14:09:01 bde34c3a00c8: Pulling fs layer 14:09:01 b352a97aabf1: Pulling fs layer 14:09:01 eaf3925da568: Waiting 14:09:01 bab4dde63d76: Waiting 14:09:01 bde34c3a00c8: Waiting 14:09:01 4872d77fe225: Pulling fs layer 14:09:01 5851b861e8e6: Pulling fs layer 14:09:01 b352a97aabf1: Waiting 14:09:01 5851b861e8e6: Waiting 14:09:01 4872d77fe225: Waiting 14:09:01 e2be974225ed: Download complete 14:09:01 988bab9f4d93: Verifying Checksum 14:09:01 988bab9f4d93: Download complete 14:09:01 1469e6f7b9e6: Verifying Checksum 14:09:01 1469e6f7b9e6: Download complete 14:09:01 eaf3925da568: Verifying Checksum 14:09:01 eaf3925da568: Download complete 14:09:01 339a4e72a1f5: Verifying Checksum 14:09:01 339a4e72a1f5: Download complete 14:09:01 bde34c3a00c8: Download complete 14:09:01 b352a97aabf1: Verifying Checksum 14:09:01 b352a97aabf1: Download complete 14:09:01 4872d77fe225: Verifying Checksum 14:09:01 4872d77fe225: Download complete 14:09:01 5851b861e8e6: Verifying Checksum 14:09:01 5851b861e8e6: Download complete 14:09:01 b85a868b505f: Verifying Checksum 14:09:01 b85a868b505f: Download complete 14:09:01 bab4dde63d76: Verifying Checksum 14:09:01 bab4dde63d76: Download complete 14:09:02 b85a868b505f: Pull complete 14:09:02 e2be974225ed: Pull complete 14:09:03 339a4e72a1f5: Pull complete 14:09:03 988bab9f4d93: Pull complete 14:09:03 1469e6f7b9e6: Pull complete 14:09:03 eaf3925da568: Pull complete 14:09:05 bab4dde63d76: Pull complete 14:09:05 bde34c3a00c8: Pull complete 14:09:05 b352a97aabf1: Pull complete 14:09:05 4872d77fe225: Pull complete 14:09:05 5851b861e8e6: Pull complete 14:09:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:09:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:05 prd-ubuntu20.04-docker-8c-8g-1440 does not seem to be running inside a container 14:09:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:09:07 $ docker top af06f6382385ec8b592b8a9a1409f0025a70bfa3bceedfcda4dccf21ad49525a -eo pid,comm 14:09:07 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). 14:09:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:09:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:09:07 [ssh-agent] Looking for ssh-agent implementation... 14:09:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:09:07 $ docker exec af06f6382385ec8b592b8a9a1409f0025a70bfa3bceedfcda4dccf21ad49525a ssh-agent 14:09:07 SSH_AUTH_SOCK=/tmp/ssh-I45MVc6Qv8JD/agent.32 14:09:07 SSH_AGENT_PID=38 14:09:07 Running ssh-add (command line suppressed) 14:09:07 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3072290467618668073.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3072290467618668073.key) 14:09:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:09:08 + git tag --points-at HEAD [Pipeline] } 14:09:08 $ docker exec --env ******** --env ******** af06f6382385ec8b592b8a9a1409f0025a70bfa3bceedfcda4dccf21ad49525a ssh-agent -k 14:09:08 unset SSH_AUTH_SOCK; 14:09:08 unset SSH_AGENT_PID; 14:09:08 echo Agent pid 38 killed; 14:09:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:09:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:09:08 [ssh-agent] Looking for ssh-agent implementation... 14:09:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:09:08 $ docker exec af06f6382385ec8b592b8a9a1409f0025a70bfa3bceedfcda4dccf21ad49525a ssh-agent 14:09:08 SSH_AUTH_SOCK=/tmp/ssh-8neablqEotkV/agent.70 14:09:08 SSH_AGENT_PID=76 14:09:08 Running ssh-add (command line suppressed) 14:09:08 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_2324251838286691017.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_2324251838286691017.key) 14:09:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:09:08 + git semver init 14:09:09 2023-07-18 14:09:09,114 [run_init] DEBUG init version:0.0.0 force:False 14:09:09 2023-07-18 14:09:09,114 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 14:09:09 2023-07-18 14:09:09,115 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 14:09:09 2023-07-18 14:09:09,115 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20, universal_newlines=False, shell=None, istream=None) 14:09:10 2023-07-18 14:09:09,924 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 14:09:10 2023-07-18 14:09:09,924 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 14:09:10 2023-07-18 14:09:09,924 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 14:09:10 2023-07-18 14:09:09,929 [execute] INFO git cat-file --batch-check 14:09:10 2023-07-18 14:09:09,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 14:09:10 2023-07-18 14:09:09,936 [execute] INFO git cat-file --batch 14:09:10 2023-07-18 14:09:09,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 14:09:10 2023-07-18 14:09:09,941 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 14:09:10 0.0.0 [Pipeline] } 14:09:10 $ docker exec --env ******** --env ******** af06f6382385ec8b592b8a9a1409f0025a70bfa3bceedfcda4dccf21ad49525a ssh-agent -k 14:09:10 unset SSH_AUTH_SOCK; 14:09:10 unset SSH_AGENT_PID; 14:09:10 echo Agent pid 76 killed; 14:09:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:09:10 + git semver [Pipeline] } 14:09:10 $ docker stop --time=1 af06f6382385ec8b592b8a9a1409f0025a70bfa3bceedfcda4dccf21ad49525a 14:09:12 $ docker rm -f --volumes af06f6382385ec8b592b8a9a1409f0025a70bfa3bceedfcda4dccf21ad49525a [Pipeline] // withDockerContainer [Pipeline] sh 14:09:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:09:12 Stashed 1 file(s) [Pipeline] echo 14:09:12 [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 14:09:12 provisioning config files... 14:09:12 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config6583592828127109876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:13 ---> docker-login.sh 14:09:13 nexus3.edgexfoundry.org:10001 14:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:13 Configure a credential helper to remove this warning. See 14:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:13 14:09:13 Login Succeeded 14:09:13 nexus3.edgexfoundry.org:10002 14:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:13 Configure a credential helper to remove this warning. See 14:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:13 14:09:13 Login Succeeded 14:09:13 nexus3.edgexfoundry.org:10003 14:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:13 Configure a credential helper to remove this warning. See 14:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:13 14:09:13 Login Succeeded 14:09:13 nexus3.edgexfoundry.org:10004 14:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:13 Configure a credential helper to remove this warning. See 14:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:13 14:09:13 Login Succeeded 14:09:13 docker.io 14:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:13 Configure a credential helper to remove this warning. See 14:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:13 14:09:13 Login Succeeded 14:09:13 ---> docker-login.sh ends [Pipeline] } 14:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:09:13 ========================================================= 14:09:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:09:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:14 + 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 . 14:09:14 Sending build context to Docker daemon 11.12MB 14:09:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:09:14 Step 2/12 : FROM ${BASE} AS builder 14:09:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:09:14 4db1b89c0bd1: Pulling fs layer 14:09:14 6911f1a30b25: Pulling fs layer 14:09:14 e194b8c5c2a9: Pulling fs layer 14:09:14 6863d3e3a2b1: Pulling fs layer 14:09:14 ec0bb842ea78: Pulling fs layer 14:09:14 40a00589a448: Pulling fs layer 14:09:14 6c08303d61cc: Pulling fs layer 14:09:14 798269fcf238: Pulling fs layer 14:09:14 6863d3e3a2b1: Waiting 14:09:14 ec0bb842ea78: Waiting 14:09:14 798269fcf238: Waiting 14:09:14 40a00589a448: Waiting 14:09:14 6911f1a30b25: Verifying Checksum 14:09:14 6911f1a30b25: Download complete 14:09:14 6863d3e3a2b1: Verifying Checksum 14:09:14 6863d3e3a2b1: Download complete 14:09:14 ec0bb842ea78: Verifying Checksum 14:09:14 ec0bb842ea78: Download complete 14:09:14 4db1b89c0bd1: Verifying Checksum 14:09:14 4db1b89c0bd1: Download complete 14:09:14 4db1b89c0bd1: Pull complete 14:09:14 6911f1a30b25: Pull complete 14:09:14 40a00589a448: Verifying Checksum 14:09:14 40a00589a448: Download complete 14:09:15 e194b8c5c2a9: Verifying Checksum 14:09:15 e194b8c5c2a9: Download complete 14:09:15 798269fcf238: Verifying Checksum 14:09:15 798269fcf238: Download complete 14:09:15 6c08303d61cc: Verifying Checksum 14:09:15 6c08303d61cc: Download complete 14:09:18 e194b8c5c2a9: Pull complete 14:09:18 6863d3e3a2b1: Pull complete 14:09:18 ec0bb842ea78: Pull complete 14:09:18 40a00589a448: Pull complete 14:09:21 6c08303d61cc: Pull complete 14:09:22 798269fcf238: Pull complete 14:09:22 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 14:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:09:22 ---> ec979cd7f677 14:09:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:09:24 ---> Running in 21b47e1ed706 14:09:24 Removing intermediate container 21b47e1ed706 14:09:24 ---> b3fd70f34294 14:09:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:09:24 ---> Running in 87e75cd36ee3 14:09:24 Removing intermediate container 87e75cd36ee3 14:09:24 ---> e9d4fe41a225 14:09:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:09:24 ---> Running in d78aceaa8618 14:09:24 Removing intermediate container d78aceaa8618 14:09:24 ---> 234ea3ec5bba 14:09:24 Step 6/12 : WORKDIR /device-uart 14:09:24 ---> Running in ed37a4537d92 14:09:24 Removing intermediate container ed37a4537d92 14:09:24 ---> 8aa38c314198 14:09:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:09:24 ---> Running in 55c1f9518fe8 14:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:09:25 (1/4) Installing openssh-keygen (9.1_p1-r3) 14:09:25 (2/4) Installing libedit (20221030.3.1-r0) 14:09:25 (3/4) Installing openssh-client-common (9.1_p1-r3) 14:09:25 (4/4) Installing openssh-client-default (9.1_p1-r3) 14:09:25 Executing busybox-1.35.0-r29.trigger 14:09:25 OK: 269 MiB in 57 packages 14:09:25 Removing intermediate container 55c1f9518fe8 14:09:25 ---> d3b6af3cbfd0 14:09:25 Step 8/12 : COPY go.mod vendor* ./ 14:09:25 ---> 23d407f4ee0f 14:09:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:09:25 ---> Running in e1ef7b27c90c 14:09:27 Still waiting to schedule task 14:09:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1439’ is offline 14:09:47 Removing intermediate container e1ef7b27c90c 14:09:47 ---> 88a9b5c027a7 14:09:47 Step 10/12 : COPY . . 14:09:47 ---> 8722ee1c7b10 14:09:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:09:47 ---> Running in c2e34efa14c1 14:09:47 Removing intermediate container c2e34efa14c1 14:09:47 ---> 954303d9c0bf 14:09:47 Step 12/12 : RUN ${MAKE} 14:09:47 ---> Running in 5511e19331e6 14:09:47 noop 14:09:47 Removing intermediate container 5511e19331e6 14:09:47 ---> fe9f9f174d4a 14:09:47 Successfully built fe9f9f174d4a 14:09:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:48 + docker inspect -f . ci-base-image-x86_64 14:09:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:48 prd-ubuntu20.04-docker-8c-8g-1440 does not seem to be running inside a container 14:09:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:09:48 $ docker top a8a19d8827a2d6e402307b44af04793e78299456651a2b092c73b9315f9a9fe7 -eo pid,comm [Pipeline] { [Pipeline] sh 14:09:48 + go version 14:09:48 go version go1.20.6 linux/amd64 [Pipeline] } 14:09:48 $ docker stop --time=1 a8a19d8827a2d6e402307b44af04793e78299456651a2b092c73b9315f9a9fe7 14:09:50 $ docker rm -f --volumes a8a19d8827a2d6e402307b44af04793e78299456651a2b092c73b9315f9a9fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:50 + docker inspect -f . ci-base-image-x86_64 14:09:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:50 prd-ubuntu20.04-docker-8c-8g-1440 does not seem to be running inside a container 14:09:50 $ 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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:09:51 $ docker top 47f12a5812474b9aaa8a420e886d825b7805969d6285e66778dd1d33de55981c -eo pid,comm [Pipeline] { [Pipeline] sh 14:09:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 14:09:51 + make test 14:09:51 go test ./... -coverprofile=coverage.out 14:09:56 ? github.com/edgexfoundry/device-uart [no test files] 14:10:07 ? github.com/edgexfoundry/device-uart/cmd [no test files] 14:10:07 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 14:10:13 go vet ./... 14:10:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:10:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:10:16 ./bin/test-attribution-txt.sh [Pipeline] echo 14:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:10:16 $ docker stop --time=1 47f12a5812474b9aaa8a420e886d825b7805969d6285e66778dd1d33de55981c 14:10:19 $ docker rm -f --volumes 47f12a5812474b9aaa8a420e886d825b7805969d6285e66778dd1d33de55981c [Pipeline] // withDockerContainer [Pipeline] sh 14:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:10:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:10:20 + ls -al . 14:10:20 total 140 14:10:20 drwxrwxr-x 7 jenkins jenkins 4096 Jul 18 14:09 . 14:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 14:08 .. 14:10:20 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 14:08 .dockerignore 14:10:20 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 14:09 .git 14:10:20 -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 14:08 .gitignore 14:10:20 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 14:08 .golangci.yml 14:10:20 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 14:09 .semver 14:10:20 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 18 14:08 Attribution.txt 14:10:20 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 18 14:08 Dockerfile 14:10:20 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 14:08 GOVERNANCE.md 14:10:20 -rw-rw-r-- 1 jenkins jenkins 675 Jul 18 14:08 Jenkinsfile 14:10:20 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 14:08 LICENSE 14:10:20 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 18 14:08 Makefile 14:10:20 -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 14:08 OWNERS.md 14:10:20 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 18 14:08 README.md 14:10:20 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 14:09 VERSION 14:10:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 14:08 bin 14:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 14:08 cmd 14:10:20 -rw-r--r-- 1 jenkins jenkins 10 Jul 18 14:09 coverage.out 14:10:20 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 18 14:08 go.mod 14:10:20 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 18 14:08 go.sum 14:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 14:08 internal 14:10:20 -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 14:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:21 + 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=53eb00f543b8246948847827f010f8cd8dab5a60 --label arch=amd64 --label version=0.0.0 . 14:10:21 Sending build context to Docker daemon 11.12MB 14:10:21 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:10:21 Step 2/25 : FROM ${BASE} AS builder 14:10:21 ---> fe9f9f174d4a 14:10:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:10:21 ---> Running in 8fe3239efb9a 14:10:21 Removing intermediate container 8fe3239efb9a 14:10:21 ---> 200789c2980b 14:10:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:10:21 ---> Running in ccc3624146e6 14:10:21 Removing intermediate container ccc3624146e6 14:10:21 ---> 65a85667ca7f 14:10:21 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:10:21 ---> Running in 5f11cd9f9e03 14:10:21 Removing intermediate container 5f11cd9f9e03 14:10:21 ---> 24cd18ca420f 14:10:21 Step 6/25 : WORKDIR /device-uart 14:10:21 ---> Running in 1793baff05e8 14:10:21 Removing intermediate container 1793baff05e8 14:10:21 ---> cad3f22e8f26 14:10:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:10:21 ---> Running in d00b24677249 14:10:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:10:22 OK: 269 MiB in 57 packages 14:10:22 Removing intermediate container d00b24677249 14:10:22 ---> 9f35c7ef1ef2 14:10:22 Step 8/25 : COPY go.mod vendor* ./ 14:10:22 ---> 6ff43e0dcd4d 14:10:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:10:22 ---> Running in c6a44e25ec18 14:10:23 Removing intermediate container c6a44e25ec18 14:10:23 ---> 8bab375c8379 14:10:23 Step 10/25 : COPY . . 14:10:24 ---> 1a5b66ab963f 14:10:24 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:10:24 ---> Running in 58e9aa4a4211 14:10:24 Removing intermediate container 58e9aa4a4211 14:10:24 ---> edb631233a6e 14:10:24 Step 12/25 : RUN ${MAKE} 14:10:24 ---> Running in d678e329baad 14:10:24 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 14:10:46 Removing intermediate container d678e329baad 14:10:46 ---> b0bf799eb0cd 14:10:46 Step 13/25 : FROM alpine:3.17 14:10:46 3.17: Pulling from library/alpine 14:10:46 4db1b89c0bd1: Already exists 14:10:46 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 14:10:46 Status: Downloaded newer image for alpine:3.17 14:10:46 ---> 1f73a9d63274 14:10:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:10:46 ---> Running in ce205e812948 14:10:46 Removing intermediate container ce205e812948 14:10:46 ---> 38488d587c55 14:10:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:10:46 ---> Running in 6009c85f4165 14:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:10:46 (1/1) Installing dumb-init (1.2.5-r2) 14:10:46 Executing busybox-1.35.0-r29.trigger 14:10:46 OK: 7 MiB in 16 packages 14:10:46 Removing intermediate container 6009c85f4165 14:10:46 ---> 202310f597a0 14:10:46 Step 16/25 : WORKDIR / 14:10:46 ---> Running in 4170bf91e6f1 14:10:46 Removing intermediate container 4170bf91e6f1 14:10:46 ---> 34d991995c00 14:10:46 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 14:10:46 ---> 4e8bcd8096da 14:10:46 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 14:10:46 ---> 22cc0ff8e873 14:10:46 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 14:10:46 ---> def9da86502b 14:10:46 Step 20/25 : EXPOSE 59995 14:10:46 ---> Running in 6fa6d38200e7 14:10:46 Removing intermediate container 6fa6d38200e7 14:10:46 ---> 3b9362b6820e 14:10:46 Step 21/25 : ENTRYPOINT ["/device-uart"] 14:10:46 ---> Running in 09026eba7edf 14:10:46 Removing intermediate container 09026eba7edf 14:10:46 ---> c01314d8abd6 14:10:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:10:46 ---> Running in 601c3116a4f4 14:10:46 Removing intermediate container 601c3116a4f4 14:10:46 ---> dc391243bc64 14:10:46 Step 23/25 : LABEL arch=amd64 14:10:46 ---> Running in 91b1f8150df4 14:10:46 Removing intermediate container 91b1f8150df4 14:10:46 ---> d829270c95f5 14:10:46 Step 24/25 : LABEL git_sha=53eb00f543b8246948847827f010f8cd8dab5a60 14:10:46 ---> Running in 601a6353fe9e 14:10:46 Removing intermediate container 601a6353fe9e 14:10:46 ---> d6c41e60dccf 14:10:46 Step 25/25 : LABEL version=0.0.0 14:10:46 ---> Running in 12adb869913d 14:10:46 Removing intermediate container 12adb869913d 14:10:46 ---> fabf3c2423bb 14:10:46 [Warning] One or more build-args [ARCH] were not consumed 14:10:46 Successfully built fabf3c2423bb 14:10:46 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 14:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:10:46 14:10:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:10:47 latest: Pulling from edgex-lftools-log-publisher 14:10:47 5eb5b503b376: Pulling fs layer 14:10:47 5c69ac0246d0: Pulling fs layer 14:10:47 ec43610c2a17: Pulling fs layer 14:10:47 3a2ae6a8a46f: Pulling fs layer 14:10:47 33b1e0a273af: Pulling fs layer 14:10:47 5d3b04190fa2: Pulling fs layer 14:10:47 2f39f015ded8: Pulling fs layer 14:10:47 3a2ae6a8a46f: Waiting 14:10:47 33b1e0a273af: Waiting 14:10:47 5d3b04190fa2: Waiting 14:10:47 2f39f015ded8: Waiting 14:10:47 5c69ac0246d0: Verifying Checksum 14:10:47 5c69ac0246d0: Download complete 14:10:47 3a2ae6a8a46f: Verifying Checksum 14:10:47 3a2ae6a8a46f: Download complete 14:10:47 33b1e0a273af: Verifying Checksum 14:10:47 33b1e0a273af: Download complete 14:10:47 5d3b04190fa2: Verifying Checksum 14:10:47 5d3b04190fa2: Download complete 14:10:47 ec43610c2a17: Verifying Checksum 14:10:47 ec43610c2a17: Download complete 14:10:47 5eb5b503b376: Verifying Checksum 14:10:47 5eb5b503b376: Download complete 14:10:47 2f39f015ded8: Download complete 14:10:48 5eb5b503b376: Pull complete 14:10:48 5c69ac0246d0: Pull complete 14:10:49 ec43610c2a17: Pull complete 14:10:49 3a2ae6a8a46f: Pull complete 14:10:49 33b1e0a273af: Pull complete 14:10:49 5d3b04190fa2: Pull complete 14:10:53 2f39f015ded8: Pull complete 14:10:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:10:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:53 prd-ubuntu20.04-docker-8c-8g-1440 does not seem to be running inside a container 14:10:53 $ 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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:10:56 $ docker top d16e5a81f9ac5f01978557c1fcca4af08467a7430a677db1510dc5d0d81da38f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:10:56 ---> job-cost.sh 14:10:56 lf-activate-venv: SKIPPING 14:10:56 INFO: No Stack... 14:10:57 INFO: Retrieving Pricing Info for: v3-standard-8 14:10:57 INFO: Archiving Costs [Pipeline] sh 14:10:58 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 14:10:58 + cut -d, -f6 [Pipeline] lock 14:10:58 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-10-stack-cost] 14:10:58 Resource [jenkins-edgexfoundry-device-uart-PR-20-10-stack-cost] did not exist. Created. 14:10:58 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:10:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1441 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 14:10:58 Running in /w/workspace/device-uart/10 [Pipeline] { [Pipeline] checkout 14:10:58 The recommended git tool is: git 14:10:58 + echo total: 0.2199999988079071 [Pipeline] stash 14:10:58 Stashed 1 file(s) [Pipeline] } 14:10:58 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-10-stack-cost] [Pipeline] // lock [Pipeline] } 14:10:58 $ docker stop --time=1 d16e5a81f9ac5f01978557c1fcca4af08467a7430a677db1510dc5d0d81da38f 14:10:59 $ docker rm -f --volumes d16e5a81f9ac5f01978557c1fcca4af08467a7430a677db1510dc5d0d81da38f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:11:04 using credential edgex-jenkins-ssh 14:11:04 Cloning the remote Git repository 14:11:04 Cloning repository git@github.com:edgexfoundry/device-uart.git 14:11:04 > git init /w/workspace/device-uart/10 # timeout=10 14:11:04 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 14:11:04 > git --version # timeout=10 14:11:04 > git --version # 'git version 2.25.1' 14:11:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:11:08 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 14:11:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:11:09 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 14:11:09 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 14:11:09 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:11:09 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit ee531f98669342dbdcfc4bba483199586cacb1dd 14:11:10 Merge succeeded, producing 9e0a2cb5bb5667bf4308bd901aadab0e0f148a93 14:11:10 Checking out Revision 9e0a2cb5bb5667bf4308bd901aadab0e0f148a93 (PR-20) 14:11:09 > git config core.sparsecheckout # timeout=10 14:11:10 > git checkout -f ee531f98669342dbdcfc4bba483199586cacb1dd # timeout=10 14:11:10 > git remote # timeout=10 14:11:10 > git config --get remote.origin.url # timeout=10 14:11:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:10 > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 14:11:10 > git rev-parse HEAD^{commit} # timeout=10 14:11:10 > git config core.sparsecheckout # timeout=10 14:11:10 > git checkout -f 9e0a2cb5bb5667bf4308bd901aadab0e0f148a93 # timeout=10 14:11:13 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" 14:11:13 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:11:14 % Total % Received % Xferd Average Speed Time Time Time Current 14:11:14 Dload Upload Total Spent Left Speed 14:11:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 79693 14:11:13 > git rev-list --no-walk a4d3b087a10c4715c64bd351dec2db77d50f584a # timeout=10 [Pipeline] sh 14:11:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:11:15 + sudo tee /etc/docker/daemon.new 14:11:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:11:15 { 14:11:15 "registry-mirrors": [ 14:11:15 "https://nexus3.edgexfoundry.org:10001" 14:11:15 ], 14:11:15 "bip": "10.250.0.254/24", 14:11:15 "hosts": [ 14:11:15 "tcp://0.0.0.0:5555", 14:11:15 "unix:///var/run/docker.sock" 14:11:15 ], 14:11:15 "mtu": 1458, 14:11:15 "selinux-enabled": true, 14:11:15 "seccomp-profile": "/etc/docker/seccomp.json" 14:11:15 } [Pipeline] sh 14:11:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:11:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:34 provisioning config files... 14:11:34 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/10@tmp/config10415363869554829054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:35 ---> docker-login.sh 14:11:35 nexus3.edgexfoundry.org:10001 14:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:35 Configure a credential helper to remove this warning. See 14:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:35 14:11:35 Login Succeeded 14:11:35 nexus3.edgexfoundry.org:10002 14:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:36 Configure a credential helper to remove this warning. See 14:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:36 14:11:36 Login Succeeded 14:11:36 nexus3.edgexfoundry.org:10003 14:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:36 Configure a credential helper to remove this warning. See 14:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:36 14:11:36 Login Succeeded 14:11:36 nexus3.edgexfoundry.org:10004 14:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:36 Configure a credential helper to remove this warning. See 14:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:36 14:11:36 Login Succeeded 14:11:36 docker.io 14:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:37 Configure a credential helper to remove this warning. See 14:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:37 14:11:37 Login Succeeded 14:11:37 ---> docker-login.sh ends [Pipeline] } 14:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:37 ========================================================= 14:11:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 14:11:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:37 + 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 . 14:11:38 Sending build context to Docker daemon 5.618MB 14:11:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:11:38 Step 2/12 : FROM ${BASE} AS builder 14:11:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:11:38 edb6bdbacee9: Pulling fs layer 14:11:38 5f9638ab2659: Pulling fs layer 14:11:38 8d51d6327a98: Pulling fs layer 14:11:38 8b374f2dd631: Pulling fs layer 14:11:38 ec14aa9079de: Pulling fs layer 14:11:38 2f466654f4bb: Pulling fs layer 14:11:38 554e91adad29: Pulling fs layer 14:11:38 8b374f2dd631: Waiting 14:11:38 ec14aa9079de: Waiting 14:11:38 2f466654f4bb: Waiting 14:11:38 554e91adad29: Waiting 14:11:38 5f9638ab2659: Download complete 14:11:38 8b374f2dd631: Verifying Checksum 14:11:38 8b374f2dd631: Download complete 14:11:38 ec14aa9079de: Verifying Checksum 14:11:38 ec14aa9079de: Download complete 14:11:38 edb6bdbacee9: Verifying Checksum 14:11:38 edb6bdbacee9: Download complete 14:11:39 edb6bdbacee9: Pull complete 14:11:40 554e91adad29: Verifying Checksum 14:11:40 554e91adad29: Download complete 14:11:40 5f9638ab2659: Pull complete 14:11:41 2f466654f4bb: Verifying Checksum 14:11:41 2f466654f4bb: Download complete 14:11:41 8d51d6327a98: Verifying Checksum 14:11:41 8d51d6327a98: Download complete 14:11:53 8d51d6327a98: Pull complete 14:11:53 8b374f2dd631: Pull complete 14:11:53 ec14aa9079de: Pull complete 14:11:58 2f466654f4bb: Pull complete 14:12:01 554e91adad29: Pull complete 14:12:01 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 14:12:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 14:12:01 ---> 1e15ea492957 14:12:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:12:03 ---> Running in 82cebaf1d158 14:12:03 Removing intermediate container 82cebaf1d158 14:12:03 ---> b267074aa200 14:12:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:12:03 ---> Running in ca9b0ab9dfdc 14:12:03 Removing intermediate container ca9b0ab9dfdc 14:12:03 ---> c54aa3553a3e 14:12:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:12:03 ---> Running in 19f1df80e20a 14:12:04 Removing intermediate container 19f1df80e20a 14:12:04 ---> e199c480dada 14:12:04 Step 6/12 : WORKDIR /device-uart 14:12:04 ---> Running in 359b3650f2c3 14:12:04 Removing intermediate container 359b3650f2c3 14:12:04 ---> 487bdb56a031 14:12:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:12:04 ---> Running in 3f6a170c11c8 14:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:12:07 (1/4) Installing openssh-keygen (9.1_p1-r3) 14:12:07 (2/4) Installing libedit (20221030.3.1-r0) 14:12:07 (3/4) Installing openssh-client-common (9.1_p1-r3) 14:12:07 (4/4) Installing openssh-client-default (9.1_p1-r3) 14:12:07 Executing busybox-1.35.0-r29.trigger 14:12:07 OK: 268 MiB in 57 packages 14:12:08 Removing intermediate container 3f6a170c11c8 14:12:08 ---> a44d31ce7dd9 14:12:08 Step 8/12 : COPY go.mod vendor* ./ 14:12:08 ---> b0de3063d7a4 14:12:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:12:08 ---> Running in d9230b954d4f 14:13:16 Removing intermediate container d9230b954d4f 14:13:16 ---> 5e39b3d31717 14:13:16 Step 10/12 : COPY . . 14:13:16 ---> 5daca5532684 14:13:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:13:16 ---> Running in 56c286f91d8e 14:13:16 Removing intermediate container 56c286f91d8e 14:13:16 ---> 6132a0509124 14:13:16 Step 12/12 : RUN ${MAKE} 14:13:16 ---> Running in 2384e9021fd8 14:13:16 noop 14:13:16 Removing intermediate container 2384e9021fd8 14:13:16 ---> 8e98937dbe2c 14:13:16 Successfully built 8e98937dbe2c 14:13:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:16 + docker inspect -f . ci-base-image-arm64 14:13:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:17 prd-ubuntu20.04-docker-arm64-4c-16g-1441 does not seem to be running inside a container 14:13:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:13:18 $ docker top 2c605d07fb95666e383bc973b85853dc0999225fb2fd8f864139087d7df79583 -eo pid,comm [Pipeline] { [Pipeline] sh 14:13:19 + go version 14:13:19 go version go1.20.6 linux/arm64 [Pipeline] } 14:13:19 $ docker stop --time=1 2c605d07fb95666e383bc973b85853dc0999225fb2fd8f864139087d7df79583 14:13:20 $ docker rm -f --volumes 2c605d07fb95666e383bc973b85853dc0999225fb2fd8f864139087d7df79583 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:21 + docker inspect -f . ci-base-image-arm64 14:13:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:21 prd-ubuntu20.04-docker-arm64-4c-16g-1441 does not seem to be running inside a container 14:13:21 $ 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/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:13:22 $ docker top 3fa3e494b3d95c1be3b4cc88f47c81bb269443a442cefdd7a5d91e0c41bbaa31 -eo pid,comm [Pipeline] { [Pipeline] sh 14:13:23 + git config --global --add safe.directory /w/workspace/device-uart/10 [Pipeline] fileExists [Pipeline] sh 14:13:23 + make test 14:13:23 go test ./... -coverprofile=coverage.out 14:13:55 ? github.com/edgexfoundry/device-uart [no test files] 14:15:32 ? github.com/edgexfoundry/device-uart/cmd [no test files] 14:15:32 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 14:15:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:15:32 go vet ./... 14:15:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:15:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:15:59 ./bin/test-attribution-txt.sh [Pipeline] echo 14:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:15:59 $ docker stop --time=1 3fa3e494b3d95c1be3b4cc88f47c81bb269443a442cefdd7a5d91e0c41bbaa31 14:16:02 $ docker rm -f --volumes 3fa3e494b3d95c1be3b4cc88f47c81bb269443a442cefdd7a5d91e0c41bbaa31 [Pipeline] // withDockerContainer [Pipeline] sh 14:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:16:03 Warning: overwriting stash ‘coverage-report’ 14:16:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:16:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:16:05 + ls -al . 14:16:05 total 136 14:16:05 drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 14:13 . 14:16:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 14:11 .. 14:16:05 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 14:11 .dockerignore 14:16:05 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 14:11 .git 14:16:05 -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 14:11 .gitignore 14:16:05 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 14:11 .golangci.yml 14:16:05 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 18 14:11 Attribution.txt 14:16:05 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 18 14:11 Dockerfile 14:16:05 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 14:11 GOVERNANCE.md 14:16:05 -rw-rw-r-- 1 jenkins jenkins 675 Jul 18 14:11 Jenkinsfile 14:16:05 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 14:11 LICENSE 14:16:05 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 18 14:11 Makefile 14:16:05 -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 14:11 OWNERS.md 14:16:05 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 18 14:11 README.md 14:16:05 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 14:09 VERSION 14:16:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 14:11 bin 14:16:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 14:11 cmd 14:16:05 -rw-r--r-- 1 jenkins jenkins 10 Jul 18 14:13 coverage.out 14:16:05 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 18 14:11 go.mod 14:16:05 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 18 14:11 go.sum 14:16:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 14:11 internal 14:16:05 -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 14:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:05 + 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=9e0a2cb5bb5667bf4308bd901aadab0e0f148a93 --label arch=arm64 --label version=0.0.0 . 14:16:05 Sending build context to Docker daemon 5.619MB 14:16:05 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:16:05 Step 2/25 : FROM ${BASE} AS builder 14:16:05 ---> 8e98937dbe2c 14:16:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:16:05 ---> Running in c4996abebddb 14:16:05 Removing intermediate container c4996abebddb 14:16:05 ---> 936d1c5dd9af 14:16:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:16:06 ---> Running in 25d3ea8fa626 14:16:06 Removing intermediate container 25d3ea8fa626 14:16:06 ---> b6cb0dc9fa41 14:16:06 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:16:06 ---> Running in fa2d35524c14 14:16:06 Removing intermediate container fa2d35524c14 14:16:06 ---> aa09a80947c3 14:16:06 Step 6/25 : WORKDIR /device-uart 14:16:06 ---> Running in 8c940cb0d45e 14:16:07 Removing intermediate container 8c940cb0d45e 14:16:07 ---> 29d92873071c 14:16:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:16:07 ---> Running in ead74462d20a 14:16:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:16:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:16:09 OK: 268 MiB in 57 packages 14:16:10 Removing intermediate container ead74462d20a 14:16:10 ---> ff9bb1bebf1c 14:16:10 Step 8/25 : COPY go.mod vendor* ./ 14:16:10 ---> 4f4be54684e4 14:16:10 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:16:11 ---> Running in f5e155df2560 14:16:13 Removing intermediate container f5e155df2560 14:16:13 ---> af16aad33325 14:16:13 Step 10/25 : COPY . . 14:16:15 ---> 649ef20e5c3a 14:16:15 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:16:15 ---> Running in f0bc690683a2 14:16:15 Removing intermediate container f0bc690683a2 14:16:15 ---> 18c639519dcc 14:16:15 Step 12/25 : RUN ${MAKE} 14:16:15 ---> Running in 10d92c230a80 14:16:16 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 14:18:23 Removing intermediate container 10d92c230a80 14:18:23 ---> 2d6c1d5f6997 14:18:23 Step 13/25 : FROM alpine:3.17 14:18:23 3.17: Pulling from library/alpine 14:18:23 edb6bdbacee9: Already exists 14:18:23 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 14:18:23 Status: Downloaded newer image for alpine:3.17 14:18:23 ---> 779605e5fbc0 14:18:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:18:23 ---> Running in ecb81c9912dc 14:18:23 Removing intermediate container ecb81c9912dc 14:18:23 ---> c52630a621bd 14:18:23 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:18:23 ---> Running in 34097a898d1a 14:18:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:18:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:18:23 (1/1) Installing dumb-init (1.2.5-r2) 14:18:23 Executing busybox-1.35.0-r29.trigger 14:18:23 OK: 8 MiB in 16 packages 14:18:23 Removing intermediate container 34097a898d1a 14:18:23 ---> 9ef94c6243f6 14:18:23 Step 16/25 : WORKDIR / 14:18:23 ---> Running in 2461d059d016 14:18:23 Removing intermediate container 2461d059d016 14:18:23 ---> e45e7c86c2d9 14:18:23 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 14:18:23 ---> 679ffd65c76f 14:18:23 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 14:18:23 ---> 1567a307c4d0 14:18:23 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 14:18:23 ---> 6cab51e45bf6 14:18:23 Step 20/25 : EXPOSE 59995 14:18:23 ---> Running in 765718fcabf6 14:18:23 Removing intermediate container 765718fcabf6 14:18:23 ---> 291ae315308a 14:18:23 Step 21/25 : ENTRYPOINT ["/device-uart"] 14:18:23 ---> Running in f11e81b37cf2 14:18:23 Removing intermediate container f11e81b37cf2 14:18:23 ---> f1dbd20ea6ab 14:18:23 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:18:23 ---> Running in 2c340b9d58b7 14:18:23 Removing intermediate container 2c340b9d58b7 14:18:23 ---> 0033988cda40 14:18:23 Step 23/25 : LABEL arch=arm64 14:18:23 ---> Running in d4f504020906 14:18:23 Removing intermediate container d4f504020906 14:18:23 ---> a180a37dcbe8 14:18:23 Step 24/25 : LABEL git_sha=9e0a2cb5bb5667bf4308bd901aadab0e0f148a93 14:18:23 ---> Running in 2638570dc405 14:18:23 Removing intermediate container 2638570dc405 14:18:23 ---> 5c1bbd0260c1 14:18:23 Step 25/25 : LABEL version=0.0.0 14:18:23 ---> Running in 8c95bb798dae 14:18:23 Removing intermediate container 8c95bb798dae 14:18:23 ---> 004d5e2243c1 14:18:23 [Warning] One or more build-args [ARCH] were not consumed 14:18:23 Successfully built 004d5e2243c1 14:18:23 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 14:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:18:23 14:18:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:18:24 arm64: Pulling from edgex-lftools-log-publisher 14:18:24 8998bd30e6a1: Pulling fs layer 14:18:24 04944245beec: Pulling fs layer 14:18:24 699f458cf7ca: Pulling fs layer 14:18:24 765212b225bb: Pulling fs layer 14:18:24 f23df028b6ca: Pulling fs layer 14:18:24 d65c8cfc05b1: Pulling fs layer 14:18:24 2437ff75d9bd: Pulling fs layer 14:18:24 f23df028b6ca: Waiting 14:18:24 765212b225bb: Waiting 14:18:24 d65c8cfc05b1: Waiting 14:18:24 2437ff75d9bd: Waiting 14:18:24 04944245beec: Verifying Checksum 14:18:24 04944245beec: Download complete 14:18:24 765212b225bb: Verifying Checksum 14:18:24 765212b225bb: Download complete 14:18:24 f23df028b6ca: Download complete 14:18:24 d65c8cfc05b1: Download complete 14:18:24 699f458cf7ca: Verifying Checksum 14:18:24 699f458cf7ca: Download complete 14:18:25 8998bd30e6a1: Download complete 14:18:26 2437ff75d9bd: Verifying Checksum 14:18:26 2437ff75d9bd: Download complete 14:18:28 8998bd30e6a1: Pull complete 14:18:29 04944245beec: Pull complete 14:18:30 699f458cf7ca: Pull complete 14:18:30 765212b225bb: Pull complete 14:18:31 f23df028b6ca: Pull complete 14:18:31 d65c8cfc05b1: Pull complete 14:18:46 2437ff75d9bd: Pull complete 14:18:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:18:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:18:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:18:46 prd-ubuntu20.04-docker-arm64-4c-16g-1441 does not seem to be running inside a container 14:18:46 $ 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/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:18:48 $ docker top d15c70954264df313fa76507c43531e8dd519ea6d4b6a6876c989a22ba9fecd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:18:49 ---> job-cost.sh 14:18:49 lf-activate-venv: SKIPPING 14:18:49 INFO: No Stack... 14:18:50 INFO: Retrieving Pricing Info for: v3-standard-4 14:18:50 INFO: Archiving Costs [Pipeline] sh 14:18:51 + cut -d, -f6 14:18:51 + cat /w/workspace/device-uart/10/archives/cost.csv [Pipeline] lock 14:18:51 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-10-stack-cost] 14:18:51 Resource [jenkins-edgexfoundry-device-uart-PR-20-10-stack-cost] did not exist. Created. 14:18:51 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:18:51 /w/workspace/device-uart/10@tmp/durable-b0c0bf10/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:18:52 + echo total: 0.10999999940395355 [Pipeline] stash 14:18:52 Warning: overwriting stash ‘stack-cost’ 14:18:52 Stashed 1 file(s) [Pipeline] } 14:18:52 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-10-stack-cost] [Pipeline] // lock [Pipeline] } 14:18:52 $ docker stop --time=1 d15c70954264df313fa76507c43531e8dd519ea6d4b6a6876c989a22ba9fecd9 14:18:53 $ docker rm -f --volumes d15c70954264df313fa76507c43531e8dd519ea6d4b6a6876c989a22ba9fecd9 [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 14:18:54 provisioning config files... 14:18:54 copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config716185450996220576tmp [Pipeline] { [Pipeline] sh 14:18:54 + set +x 14:18:54 + + curl -s https://codecov.io/bash 14:18:54 bash -s -- 14:18:54 14:18:54 _____ _ 14:18:54 / ____| | | 14:18:54 | | ___ __| | ___ ___ _____ __ 14:18:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:18:54 | |___| (_) | (_| | __/ (_| (_) \ V / 14:18:54 \_____\___/ \__,_|\___|\___\___/ \_/ 14:18:54 Bash-1.0.6 14:18:54 14:18:54 14:18:54 ==> git version 2.25.1 found 14:18:54 ==> 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 14:18:54 Release-Date: 2020-01-08 14:18:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:18:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:18:54 ==> Jenkins CI detected. 14:18:54 current dir:  /w/workspace/edgexfoundry_device-uart_PR-20 14:18:54 project root: . 14:18:54 --> token set from env 14:18:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:18:54 ==> Running gcov in . (disable via -X gcov) 14:18:54 ==> Python coveragepy not found 14:18:54 ==> Searching for coverage reports in: 14:18:54 + . 14:18:54 -> Found 1 reports 14:18:54 ==> Detecting git/mercurial file structure 14:18:54 ==> Reading reports 14:18:54 + ./coverage.out bytes=10 14:18:54 ==> Appending adjustments 14:18:54 https://docs.codecov.io/docs/fixing-reports 14:18:54 + Found adjustments 14:18:54 ==> Gzipping contents 14:18:54 4.0K /tmp/codecov.KxV4bY.gz 14:18:54 ==> Uploading reports 14:18:54 url: https://codecov.io 14:18:54 query: branch=PR-20&commit=53eb00f543b8246948847827f010f8cd8dab5a60&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-20%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=20&job=&cmd_args= 14:18:55 -> Pinging Codecov 14:18:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=30f0fd93-73e3-42a5-8a76-fe3e7430018e&branch=PR-20&commit=53eb00f543b8246948847827f010f8cd8dab5a60&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-20%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=20&job=&cmd_args= 14:18:55 -> Uploading to 14:18:55 https://storage.googleapis.com/codecov/v4/raw/2023-07-18/B9AA6E0BBD74AE3A32605C7A7C664919/53eb00f543b8246948847827f010f8cd8dab5a60/837e1a26-2636-4a64-9cbd-0bddf747b7ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230718T141855Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=804ae257bc20c7238239af08fcac4babc4e94a046beff203a4c6951eede0ecc1 14:18:55 % Total % Received % Xferd Average Speed Time Time Time Current 14:18:55 Dload Upload Total Spent Left Speed 14:18:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2691 --:--:-- --:--:-- --:--:-- 2680 100 603 0 0 100 603 0 2668 --:--:-- --:--:-- --:--:-- 2656 14:18:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/53eb00f543b8246948847827f010f8cd8dab5a60 [Pipeline] } 14:18:55 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 14:18:56 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 14:18:56 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 14:18:56 total 16 14:18:56 drwxr-xr-x 3 root root 4096 Jul 18 14:10 . 14:18:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 14:10 .. 14:18:56 drwxr-xr-x 2 root root 4096 Jul 18 14:10 cost 14:18:56 -rw-r--r-- 1 root root 83 Jul 18 14:10 cost.csv 14:18:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 14:18:56 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 14:18:56 total 16 14:18:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 14:10 . 14:18:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 14:10 .. 14:18:56 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 14:10 cost 14:18:56 -rw-r--r-- 1 jenkins jenkins 83 Jul 18 14:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:18:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:18:57 ---> package-listing.sh 14:18:57 ++ facter osfamily 14:18:57 ++ tr '[:upper:]' '[:lower:]' 14:18:57 + OS_FAMILY=debian 14:18:57 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 14:18:57 + START_PACKAGES=/tmp/packages_start.txt 14:18:57 + END_PACKAGES=/tmp/packages_end.txt 14:18:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:18:57 + PACKAGES=/tmp/packages_start.txt 14:18:57 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 14:18:57 + PACKAGES=/tmp/packages_end.txt 14:18:57 + case "${OS_FAMILY}" in 14:18:57 + dpkg -l 14:18:57 + grep '^ii' 14:18:57 + '[' -f /tmp/packages_start.txt ']' 14:18:57 + '[' -f /tmp/packages_end.txt ']' 14:18:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:18:57 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 14:18:57 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 14:18:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo 14:18:57 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-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:18:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:18:58 prd-ubuntu20.04-docker-8c-8g-1440 does not seem to be running inside a container 14:18:58 $ 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-20/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-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:18:59 $ docker top 0c562f90a5f0332c743d247ea2207e51283c2342633ec05cac89d620b154493a -eo pid,comm [Pipeline] { [Pipeline] sh 14:18:59 + touch /tmp/pre-build-complete [Pipeline] sh 14:18:59 + mkdir -p /var/log/sysstat [Pipeline] sh 14:19:00 + ls /var/log/sa-host 14:19:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:19:00 provisioning config files... 14:19:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config17176006128396064656tmp [Pipeline] { [Pipeline] echo 14:19:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:19:00 ---> create-netrc.sh [Pipeline] } 14:19:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:19:00 ---> python-tools-install.sh [Pipeline] echo 14:19:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:19:01 ---> sudo-logs.sh 14:19:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:19:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:19:01 ---> job-cost.sh 14:19:01 lf-activate-venv: SKIPPING 14:19:01 DEBUG: total: 0.2199999988079071 14:19:01 INFO: Retrieving Stack Cost... 14:19:01 INFO: Retrieving Pricing Info for: v3-standard-8 14:19:02 INFO: Archiving Costs [Pipeline] echo 14:19:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:19:02 ---> logs-deploy.sh 14:19:02 lf-activate-venv: SKIPPING 14:19:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/10 14:19:02 INFO: archiving workspace using pattern(s): 14:19:03 Archives upload complete. 14:19:03 INFO: archiving logs to Nexus