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 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f 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-ssh3018794197900621336.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-ssh13324069746835433089.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-ssh1836130278824110167.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-ssh527884682365804256.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-ssh1173953504342105533.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-1359’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1361 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 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f Merge succeeded, producing 490ec91365a46f83fcdec54621aa1d72869771a3 Checking out Revision 490ec91365a46f83fcdec54621aa1d72869771a3 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f # 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 490ec91365a46f83fcdec54621aa1d72869771a3 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-17T20:24:33.401Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk b4e3526084261c02fcb95482fc5ecdede031c9c1 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-17T20:24:33.469Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-17T20:24:33.485Z] ========================================================= [2023-07-17T20:24:33.485Z] EdgeX Global Pipelines Version Info [2023-07-17T20:24:33.485Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:24:34.199Z] ------------------- [2023-07-17T20:24:34.199Z] stable info: [2023-07-17T20:24:34.199Z] ------------------- [2023-07-17T20:24:34.199Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-17T20:24:34.199Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-17T20:24:34.199Z] Message: update stable to v1.0.250 [2023-07-17T20:24:34.769Z] ------------------- [2023-07-17T20:24:34.769Z] experimental info: [2023-07-17T20:24:34.769Z] ------------------- [2023-07-17T20:24:34.769Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-17T20:24:34.769Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-17T20:24:34.769Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-17T20:24:34.960Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-17T20:24:34.973Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-17T20:24:34.985Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-17T20:24:35.001Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-17T20:24:35.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-17T20:24:35.027Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-17T20:24:35.038Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-17T20:24:35.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-17T20:24:35.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-17T20:24:35.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-17T20:24:35.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-17T20:24:35.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-17T20:24:35.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-17T20:24:35.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-17T20:24:35.140Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-17T20:24:35.151Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-17T20:24:35.162Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-17T20:24:35.176Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-17T20:24:35.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-17T20:24:35.209Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-17T20:24:35.219Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-17T20:24:35.230Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-17T20:24:35.244Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-17T20:24:35.256Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-17T20:24:35.270Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-17T20:24:35.283Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-17T20:24:35.294Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-17T20:24:35.309Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo [2023-07-17T20:24:35.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo [2023-07-17T20:24:35.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo [2023-07-17T20:24:35.349Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 490ec91365a46f83fcdec54621aa1d72869771a3 [Pipeline] echo [2023-07-17T20:24:35.360Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 490ec91 [Pipeline] echo [2023-07-17T20:24:35.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T20:24:35.424Z] provisioning config files... [2023-07-17T20:24:35.437Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config4640626459846144951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:24:35.736Z] ---> docker-login.sh [2023-07-17T20:24:35.737Z] nexus3.edgexfoundry.org:10001 [2023-07-17T20:24:35.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:35.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:35.996Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:35.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:35.996Z] [2023-07-17T20:24:35.996Z] Login Succeeded [2023-07-17T20:24:35.996Z] nexus3.edgexfoundry.org:10002 [2023-07-17T20:24:35.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:35.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:35.996Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:35.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:35.996Z] [2023-07-17T20:24:35.996Z] Login Succeeded [2023-07-17T20:24:35.996Z] nexus3.edgexfoundry.org:10003 [2023-07-17T20:24:36.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:36.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:36.255Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:36.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:36.255Z] [2023-07-17T20:24:36.255Z] Login Succeeded [2023-07-17T20:24:36.255Z] nexus3.edgexfoundry.org:10004 [2023-07-17T20:24:36.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:36.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:36.255Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:36.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:36.255Z] [2023-07-17T20:24:36.255Z] Login Succeeded [2023-07-17T20:24:36.255Z] docker.io [2023-07-17T20:24:36.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:36.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:36.824Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:36.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:36.824Z] [2023-07-17T20:24:36.824Z] Login Succeeded [2023-07-17T20:24:36.824Z] ---> docker-login.sh ends [Pipeline] } [2023-07-17T20:24:36.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-17T20:24:37.236Z] + git rev-list -1 --merges 490ec91365a46f83fcdec54621aa1d72869771a3~1..490ec91365a46f83fcdec54621aa1d72869771a3 [Pipeline] echo [2023-07-17T20:24:37.283Z] -----------> git rev-list -1 --merges 490ec91365a46f83fcdec54621aa1d72869771a3~1..490ec91365a46f83fcdec54621aa1d72869771a3 490ec91365a46f83fcdec54621aa1d72869771a3 [2023-07-17T20:24:37.283Z] 490ec91365a46f83fcdec54621aa1d72869771a3 [false] [Pipeline] sh [2023-07-17T20:24:37.573Z] + git log --format=format:%s -1 490ec91365a46f83fcdec54621aa1d72869771a3 [Pipeline] echo [2023-07-17T20:24:37.586Z] ========================================================= [2023-07-17T20:24:37.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-17T20:24:37.586Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-17T20:24:37.907Z] + git log --format=format:%s -1 490ec91365a46f83fcdec54621aa1d72869771a3 [Pipeline] echo [2023-07-17T20:24:37.917Z] [semverPrep] GIT_COMMIT: 490ec91365a46f83fcdec54621aa1d72869771a3, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo [2023-07-17T20:24:37.926Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-17T20:24:38.351Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-17T20:24:38.351Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-17T20:24:38.351Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-17T20:24:38.351Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-17T20:24:38.610Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-17T20:24:38.610Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-17T20:24:38.610Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:24:38.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T20:24:38.949Z] [2023-07-17T20:24:38.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:24:39.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T20:24:39.244Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-17T20:24:39.244Z] b85a868b505f: Pulling fs layer [2023-07-17T20:24:39.244Z] e2be974225ed: Pulling fs layer [2023-07-17T20:24:39.244Z] 339a4e72a1f5: Pulling fs layer [2023-07-17T20:24:39.244Z] 988bab9f4d93: Pulling fs layer [2023-07-17T20:24:39.244Z] 1469e6f7b9e6: Pulling fs layer [2023-07-17T20:24:39.244Z] eaf3925da568: Pulling fs layer [2023-07-17T20:24:39.244Z] bab4dde63d76: Pulling fs layer [2023-07-17T20:24:39.244Z] bde34c3a00c8: Pulling fs layer [2023-07-17T20:24:39.244Z] b352a97aabf1: Pulling fs layer [2023-07-17T20:24:39.244Z] 4872d77fe225: Pulling fs layer [2023-07-17T20:24:39.244Z] 5851b861e8e6: Pulling fs layer [2023-07-17T20:24:39.244Z] eaf3925da568: Waiting [2023-07-17T20:24:39.244Z] bab4dde63d76: Waiting [2023-07-17T20:24:39.244Z] bde34c3a00c8: Waiting [2023-07-17T20:24:39.244Z] 1469e6f7b9e6: Waiting [2023-07-17T20:24:39.244Z] b352a97aabf1: Waiting [2023-07-17T20:24:39.244Z] 4872d77fe225: Waiting [2023-07-17T20:24:39.244Z] e2be974225ed: Verifying Checksum [2023-07-17T20:24:39.244Z] e2be974225ed: Download complete [2023-07-17T20:24:39.244Z] 988bab9f4d93: Verifying Checksum [2023-07-17T20:24:39.244Z] 988bab9f4d93: Download complete [2023-07-17T20:24:39.244Z] 1469e6f7b9e6: Verifying Checksum [2023-07-17T20:24:39.244Z] 1469e6f7b9e6: Download complete [2023-07-17T20:24:39.244Z] 339a4e72a1f5: Verifying Checksum [2023-07-17T20:24:39.244Z] 339a4e72a1f5: Download complete [2023-07-17T20:24:39.244Z] eaf3925da568: Download complete [2023-07-17T20:24:39.244Z] bde34c3a00c8: Download complete [2023-07-17T20:24:39.504Z] b352a97aabf1: Verifying Checksum [2023-07-17T20:24:39.504Z] b352a97aabf1: Download complete [2023-07-17T20:24:39.504Z] 4872d77fe225: Verifying Checksum [2023-07-17T20:24:39.504Z] 4872d77fe225: Download complete [2023-07-17T20:24:39.504Z] 5851b861e8e6: Verifying Checksum [2023-07-17T20:24:39.504Z] 5851b861e8e6: Download complete [2023-07-17T20:24:39.504Z] b85a868b505f: Verifying Checksum [2023-07-17T20:24:39.504Z] b85a868b505f: Download complete [2023-07-17T20:24:39.763Z] bab4dde63d76: Verifying Checksum [2023-07-17T20:24:39.763Z] bab4dde63d76: Download complete [2023-07-17T20:24:40.698Z] b85a868b505f: Pull complete [2023-07-17T20:24:40.698Z] e2be974225ed: Pull complete [2023-07-17T20:24:41.267Z] 339a4e72a1f5: Pull complete [2023-07-17T20:24:41.267Z] 988bab9f4d93: Pull complete [2023-07-17T20:24:41.528Z] 1469e6f7b9e6: Pull complete [2023-07-17T20:24:41.786Z] eaf3925da568: Pull complete [2023-07-17T20:24:43.693Z] bab4dde63d76: Pull complete [2023-07-17T20:24:43.693Z] bde34c3a00c8: Pull complete [2023-07-17T20:24:43.693Z] b352a97aabf1: Pull complete [2023-07-17T20:24:43.693Z] 4872d77fe225: Pull complete [2023-07-17T20:24:43.693Z] 5851b861e8e6: Pull complete [2023-07-17T20:24:43.953Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-17T20:24:43.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T20:24:43.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:24:44.041Z] prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container [2023-07-17T20:24:44.071Z] $ 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 [2023-07-17T20:24:47.846Z] $ docker top d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf -eo pid,comm [2023-07-17T20:24:47.898Z] 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). [2023-07-17T20:24:47.898Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-17T20:24:47.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-17T20:24:47.935Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-17T20:24:48.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-17T20:24:48.038Z] $ docker exec d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf ssh-agent [2023-07-17T20:24:48.140Z] SSH_AUTH_SOCK=/tmp/ssh-7bZWXma5sypx/agent.33 [2023-07-17T20:24:48.140Z] SSH_AGENT_PID=39 [2023-07-17T20:24:48.146Z] Running ssh-add (command line suppressed) [2023-07-17T20:24:48.236Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_5847950367634788176.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_5847950367634788176.key) [2023-07-17T20:24:48.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-17T20:24:48.542Z] + git tag --points-at HEAD [Pipeline] } [2023-07-17T20:24:48.558Z] $ docker exec --env ******** --env ******** d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf ssh-agent -k [2023-07-17T20:24:48.648Z] unset SSH_AUTH_SOCK; [2023-07-17T20:24:48.649Z] unset SSH_AGENT_PID; [2023-07-17T20:24:48.649Z] echo Agent pid 39 killed; [2023-07-17T20:24:48.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-17T20:24:48.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-17T20:24:48.682Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-17T20:24:48.794Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-17T20:24:48.795Z] $ docker exec d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf ssh-agent [2023-07-17T20:24:48.902Z] SSH_AUTH_SOCK=/tmp/ssh-N2eXtRdig4wu/agent.71 [2023-07-17T20:24:48.902Z] SSH_AGENT_PID=77 [2023-07-17T20:24:48.906Z] Running ssh-add (command line suppressed) [2023-07-17T20:24:49.015Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3193483160583961333.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3193483160583961333.key) [2023-07-17T20:24:49.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-17T20:24:49.314Z] + git semver init [2023-07-17T20:24:49.573Z] 2023-07-17 20:24:49,480 [run_init] DEBUG init version:0.0.0 force:False [2023-07-17T20:24:49.573Z] 2023-07-17 20:24:49,480 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-17T20:24:49.573Z] 2023-07-17 20:24:49,481 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-17T20:24:49.573Z] 2023-07-17 20:24:49,481 [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) [2023-07-17T20:24:50.516Z] 2023-07-17 20:24:50,305 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude [2023-07-17T20:24:50.516Z] 2023-07-17 20:24:50,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False [2023-07-17T20:24:50.516Z] 2023-07-17 20:24:50,305 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-17T20:24:50.516Z] 2023-07-17 20:24:50,309 [execute] INFO git cat-file --batch-check [2023-07-17T20:24:50.516Z] 2023-07-17 20:24:50,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-17T20:24:50.516Z] 2023-07-17 20:24:50,316 [execute] INFO git cat-file --batch [2023-07-17T20:24:50.516Z] 2023-07-17 20:24:50,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-17T20:24:50.516Z] 2023-07-17 20:24:50,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-17T20:24:50.516Z] 0.0.0 [Pipeline] } [2023-07-17T20:24:50.525Z] $ docker exec --env ******** --env ******** d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf ssh-agent -k [2023-07-17T20:24:50.614Z] unset SSH_AUTH_SOCK; [2023-07-17T20:24:50.615Z] unset SSH_AGENT_PID; [2023-07-17T20:24:50.616Z] echo Agent pid 77 killed; [2023-07-17T20:24:50.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-17T20:24:50.924Z] + git semver [Pipeline] } [2023-07-17T20:24:51.195Z] $ docker stop --time=1 d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf [2023-07-17T20:24:52.475Z] $ docker rm -f --volumes d086739d1858d59c725608a50d583e26775af24ba23e2fa9a0414975594d24bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-17T20:24:52.807Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-17T20:24:53.011Z] Stashed 1 file(s) [Pipeline] echo [2023-07-17T20:24:53.013Z] [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 [2023-07-17T20:24:53.144Z] provisioning config files... [2023-07-17T20:24:53.154Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config7659066052072321102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:24:53.453Z] ---> docker-login.sh [2023-07-17T20:24:53.453Z] nexus3.edgexfoundry.org:10001 [2023-07-17T20:24:53.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:53.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:53.453Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:53.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:53.453Z] [2023-07-17T20:24:53.453Z] Login Succeeded [2023-07-17T20:24:53.453Z] nexus3.edgexfoundry.org:10002 [2023-07-17T20:24:53.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:53.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:53.712Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:53.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:53.712Z] [2023-07-17T20:24:53.712Z] Login Succeeded [2023-07-17T20:24:53.712Z] nexus3.edgexfoundry.org:10003 [2023-07-17T20:24:53.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:53.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:53.712Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:53.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:53.712Z] [2023-07-17T20:24:53.712Z] Login Succeeded [2023-07-17T20:24:53.712Z] nexus3.edgexfoundry.org:10004 [2023-07-17T20:24:53.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:53.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:53.970Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:53.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:53.970Z] [2023-07-17T20:24:53.970Z] Login Succeeded [2023-07-17T20:24:53.970Z] docker.io [2023-07-17T20:24:53.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:24:54.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:24:54.229Z] Configure a credential helper to remove this warning. See [2023-07-17T20:24:54.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:24:54.229Z] [2023-07-17T20:24:54.229Z] Login Succeeded [2023-07-17T20:24:54.229Z] ---> docker-login.sh ends [Pipeline] } [2023-07-17T20:24:54.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-17T20:24:54.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T20:24:54.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T20:24:54.328Z] ========================================================= [2023-07-17T20:24:54.328Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-17T20:24:54.328Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:24:54.650Z] + 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 . [2023-07-17T20:24:54.650Z] Sending build context to Docker daemon 11.13MB [2023-07-17T20:24:54.650Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T20:24:54.650Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-17T20:24:54.650Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-17T20:24:54.650Z] 4db1b89c0bd1: Pulling fs layer [2023-07-17T20:24:54.650Z] 6911f1a30b25: Pulling fs layer [2023-07-17T20:24:54.650Z] e194b8c5c2a9: Pulling fs layer [2023-07-17T20:24:54.650Z] 6863d3e3a2b1: Pulling fs layer [2023-07-17T20:24:54.650Z] ec0bb842ea78: Pulling fs layer [2023-07-17T20:24:54.650Z] 40a00589a448: Pulling fs layer [2023-07-17T20:24:54.650Z] 6c08303d61cc: Pulling fs layer [2023-07-17T20:24:54.650Z] 798269fcf238: Pulling fs layer [2023-07-17T20:24:54.650Z] ec0bb842ea78: Waiting [2023-07-17T20:24:54.650Z] 6863d3e3a2b1: Waiting [2023-07-17T20:24:54.650Z] 40a00589a448: Waiting [2023-07-17T20:24:54.650Z] 798269fcf238: Waiting [2023-07-17T20:24:54.650Z] 6911f1a30b25: Download complete [2023-07-17T20:24:54.910Z] 6863d3e3a2b1: Verifying Checksum [2023-07-17T20:24:54.910Z] 6863d3e3a2b1: Download complete [2023-07-17T20:24:54.910Z] 4db1b89c0bd1: Verifying Checksum [2023-07-17T20:24:54.910Z] 4db1b89c0bd1: Download complete [2023-07-17T20:24:54.910Z] ec0bb842ea78: Verifying Checksum [2023-07-17T20:24:54.910Z] ec0bb842ea78: Download complete [2023-07-17T20:24:54.910Z] 40a00589a448: Verifying Checksum [2023-07-17T20:24:54.910Z] 40a00589a448: Download complete [2023-07-17T20:24:54.910Z] 4db1b89c0bd1: Pull complete [2023-07-17T20:24:55.173Z] 6911f1a30b25: Pull complete [2023-07-17T20:24:55.435Z] 798269fcf238: Verifying Checksum [2023-07-17T20:24:55.435Z] 798269fcf238: Download complete [2023-07-17T20:24:55.694Z] e194b8c5c2a9: Verifying Checksum [2023-07-17T20:24:55.694Z] e194b8c5c2a9: Download complete [2023-07-17T20:24:55.694Z] 6c08303d61cc: Verifying Checksum [2023-07-17T20:24:55.694Z] 6c08303d61cc: Download complete [2023-07-17T20:24:58.975Z] e194b8c5c2a9: Pull complete [2023-07-17T20:24:58.975Z] 6863d3e3a2b1: Pull complete [2023-07-17T20:24:58.975Z] ec0bb842ea78: Pull complete [2023-07-17T20:24:58.975Z] 40a00589a448: Pull complete [2023-07-17T20:25:01.503Z] 6c08303d61cc: Pull complete [2023-07-17T20:25:02.071Z] 798269fcf238: Pull complete [2023-07-17T20:25:02.071Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-17T20:25:02.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-17T20:25:02.071Z] ---> ec979cd7f677 [2023-07-17T20:25:02.071Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-17T20:25:07.347Z] ---> Running in 29ea05ac12f4 [2023-07-17T20:25:07.347Z] Removing intermediate container 29ea05ac12f4 [2023-07-17T20:25:07.347Z] ---> 882a9421b745 [2023-07-17T20:25:07.347Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-17T20:25:07.606Z] ---> Running in 2ac50a887143 [2023-07-17T20:25:07.606Z] Removing intermediate container 2ac50a887143 [2023-07-17T20:25:07.606Z] ---> a50541840504 [2023-07-17T20:25:07.606Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-17T20:25:07.606Z] ---> Running in c6296b7d2292 [2023-07-17T20:25:07.606Z] Removing intermediate container c6296b7d2292 [2023-07-17T20:25:07.606Z] ---> f68886603304 [2023-07-17T20:25:07.606Z] Step 6/12 : WORKDIR /device-uart [2023-07-17T20:25:07.864Z] ---> Running in c12eff6c1f36 [2023-07-17T20:25:07.864Z] Removing intermediate container c12eff6c1f36 [2023-07-17T20:25:07.864Z] ---> 59e1ba63e0f2 [2023-07-17T20:25:07.864Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-17T20:25:07.864Z] ---> Running in a3a9898b19b2 [2023-07-17T20:25:08.113Z] Still waiting to schedule task [2023-07-17T20:25:08.113Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1360’ is offline [2023-07-17T20:25:08.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-17T20:25:08.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-17T20:25:08.640Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-17T20:25:08.641Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-17T20:25:08.641Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-17T20:25:08.641Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-17T20:25:08.641Z] Executing busybox-1.35.0-r29.trigger [2023-07-17T20:25:08.641Z] OK: 269 MiB in 57 packages [2023-07-17T20:25:09.209Z] Removing intermediate container a3a9898b19b2 [2023-07-17T20:25:09.209Z] ---> e49b27a03124 [2023-07-17T20:25:09.209Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-17T20:25:09.209Z] ---> 8c01ab772295 [2023-07-17T20:25:09.209Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T20:25:09.209Z] ---> Running in ec96582cf903 [2023-07-17T20:25:55.913Z] Removing intermediate container ec96582cf903 [2023-07-17T20:25:55.913Z] ---> 3e7f2552e1c4 [2023-07-17T20:25:55.913Z] Step 10/12 : COPY . . [2023-07-17T20:25:55.913Z] ---> fc592a8e87f2 [2023-07-17T20:25:55.913Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-17T20:25:55.913Z] ---> Running in 0a117d6526c1 [2023-07-17T20:25:55.913Z] Removing intermediate container 0a117d6526c1 [2023-07-17T20:25:55.913Z] ---> 19be80ac2945 [2023-07-17T20:25:55.913Z] Step 12/12 : RUN ${MAKE} [2023-07-17T20:25:55.913Z] ---> Running in 80088c9f06c4 [2023-07-17T20:25:55.913Z] noop [2023-07-17T20:25:55.913Z] Removing intermediate container 80088c9f06c4 [2023-07-17T20:25:55.913Z] ---> 4ed91a21a5b2 [2023-07-17T20:25:55.913Z] Successfully built 4ed91a21a5b2 [2023-07-17T20:25:55.913Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:25:56.216Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-17T20:25:56.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:25:56.286Z] prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container [2023-07-17T20:25:56.310Z] $ 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 [2023-07-17T20:25:56.633Z] $ docker top 8d0588dde6e73a69257de1547229adccf5e8a0b7a1c33795afb3fb3f059c955f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T20:25:56.973Z] + go version [2023-07-17T20:25:56.973Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-17T20:25:56.981Z] $ docker stop --time=1 8d0588dde6e73a69257de1547229adccf5e8a0b7a1c33795afb3fb3f059c955f [2023-07-17T20:25:58.248Z] $ docker rm -f --volumes 8d0588dde6e73a69257de1547229adccf5e8a0b7a1c33795afb3fb3f059c955f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:25:58.672Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-17T20:25:58.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:25:58.742Z] prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container [2023-07-17T20:25:58.770Z] $ 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 [2023-07-17T20:25:59.083Z] $ docker top 4f012f22ef5413e2a5ddf7062334d0cebced2437d086df82fd97feadcde7086d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T20:25:59.425Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh [2023-07-17T20:25:59.721Z] + make test [2023-07-17T20:25:59.721Z] go test ./... -coverprofile=coverage.out [2023-07-17T20:26:03.907Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-17T20:26:13.871Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-17T20:26:13.871Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-17T20:26:18.056Z] go vet ./... [2023-07-17T20:26:21.342Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-17T20:26:21.342Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-17T20:26:21.342Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-17T20:26:21.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-17T20:26:21.368Z] $ docker stop --time=1 4f012f22ef5413e2a5ddf7062334d0cebced2437d086df82fd97feadcde7086d [2023-07-17T20:26:24.612Z] $ docker rm -f --volumes 4f012f22ef5413e2a5ddf7062334d0cebced2437d086df82fd97feadcde7086d [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-17T20:26:25.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-17T20:26:25.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-17T20:26:25.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-17T20:26:25.978Z] + ls -al . [2023-07-17T20:26:25.978Z] total 140 [2023-07-17T20:26:25.978Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 17 20:25 . [2023-07-17T20:26:25.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 20:24 .. [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 17 20:24 .dockerignore [2023-07-17T20:26:25.978Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:24 .git [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 17 20:24 .gitignore [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 20:24 .golangci.yml [2023-07-17T20:26:25.978Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 20:24 .semver [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 8972 Jul 17 20:24 Attribution.txt [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 1777 Jul 17 20:24 Dockerfile [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 20:24 GOVERNANCE.md [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 17 20:24 Jenkinsfile [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 17 20:24 LICENSE [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 1641 Jul 17 20:24 Makefile [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 17 20:24 OWNERS.md [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 17 20:24 README.md [2023-07-17T20:26:25.978Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 20:24 VERSION [2023-07-17T20:26:25.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 20:24 bin [2023-07-17T20:26:25.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:24 cmd [2023-07-17T20:26:25.978Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 17 20:25 coverage.out [2023-07-17T20:26:25.979Z] -rw-rw-r-- 1 jenkins jenkins 3244 Jul 17 20:24 go.mod [2023-07-17T20:26:25.979Z] -rw-rw-r-- 1 jenkins jenkins 31451 Jul 17 20:24 go.sum [2023-07-17T20:26:25.979Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:24 internal [2023-07-17T20:26:25.979Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 17 20:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:26:26.283Z] + 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=490ec91365a46f83fcdec54621aa1d72869771a3 --label arch=amd64 --label version=0.0.0 . [2023-07-17T20:26:26.283Z] Sending build context to Docker daemon 11.13MB [2023-07-17T20:26:26.283Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T20:26:26.283Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-17T20:26:26.283Z] ---> 4ed91a21a5b2 [2023-07-17T20:26:26.283Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-17T20:26:26.541Z] ---> Running in 7309a5a71b86 [2023-07-17T20:26:26.541Z] Removing intermediate container 7309a5a71b86 [2023-07-17T20:26:26.541Z] ---> 5dede65a5fc3 [2023-07-17T20:26:26.541Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-17T20:26:26.541Z] ---> Running in 24a82126f57e [2023-07-17T20:26:26.541Z] Removing intermediate container 24a82126f57e [2023-07-17T20:26:26.541Z] ---> fdbb1b9b60ed [2023-07-17T20:26:26.541Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-17T20:26:26.541Z] ---> Running in 4dfbdc66601c [2023-07-17T20:26:26.799Z] Removing intermediate container 4dfbdc66601c [2023-07-17T20:26:26.799Z] ---> b0b9c13d8810 [2023-07-17T20:26:26.799Z] Step 6/25 : WORKDIR /device-uart [2023-07-17T20:26:26.799Z] ---> Running in e0bcbded522e [2023-07-17T20:26:26.799Z] Removing intermediate container e0bcbded522e [2023-07-17T20:26:26.799Z] ---> 54cec2ca542e [2023-07-17T20:26:26.799Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-17T20:26:26.799Z] ---> Running in e4d635f25115 [2023-07-17T20:26:27.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-17T20:26:27.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-17T20:26:27.574Z] OK: 269 MiB in 57 packages [2023-07-17T20:26:27.832Z] Removing intermediate container e4d635f25115 [2023-07-17T20:26:27.832Z] ---> 262f238e38b3 [2023-07-17T20:26:27.832Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-17T20:26:28.091Z] ---> 40fd392ac310 [2023-07-17T20:26:28.091Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T20:26:28.091Z] ---> Running in cb82b6cae945 [2023-07-17T20:26:28.658Z] Removing intermediate container cb82b6cae945 [2023-07-17T20:26:28.658Z] ---> 8139bc99bd4f [2023-07-17T20:26:28.658Z] Step 10/25 : COPY . . [2023-07-17T20:26:29.224Z] ---> 0010709c980b [2023-07-17T20:26:29.224Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-17T20:26:29.224Z] ---> Running in bead1f2faeda [2023-07-17T20:26:29.224Z] Removing intermediate container bead1f2faeda [2023-07-17T20:26:29.224Z] ---> 2dba8f031971 [2023-07-17T20:26:29.224Z] Step 12/25 : RUN ${MAKE} [2023-07-17T20:26:29.224Z] ---> Running in 5e7706124d18 [2023-07-17T20:26:29.481Z] 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 [2023-07-17T20:26:31.571Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1362 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws [2023-07-17T20:26:31.584Z] Running in /w/workspace/device-uart/7 [Pipeline] { [Pipeline] checkout [2023-07-17T20:26:31.620Z] The recommended git tool is: git [2023-07-17T20:26:36.470Z] using credential edgex-jenkins-ssh [2023-07-17T20:26:36.493Z] Cloning the remote Git repository [2023-07-17T20:26:36.531Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-17T20:26:36.621Z] > git init /w/workspace/device-uart/7 # timeout=10 [2023-07-17T20:26:36.753Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-17T20:26:36.754Z] > git --version # timeout=10 [2023-07-17T20:26:36.775Z] > git --version # 'git version 2.25.1' [2023-07-17T20:26:36.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-17T20:26:36.914Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-17T20:26:37.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-17T20:26:37.993Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-17T20:26:38.789Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-17T20:26:38.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-17T20:26:38.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-17T20:26:38.844Z] > 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 [2023-07-17T20:26:39.342Z] Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-17T20:26:39.518Z] Failed in branch arm64 [2023-07-17T20:26:39.359Z] > git config core.sparsecheckout # timeout=10 [2023-07-17T20:26:39.427Z] > git checkout -f 89ee70bbf2f1516bb6f22a77782a2f1fd2afc23f # timeout=10 [2023-07-17T20:26:51.425Z] Removing intermediate container 5e7706124d18 [2023-07-17T20:26:51.425Z] ---> 3c1fa8bffda0 [2023-07-17T20:26:51.425Z] Step 13/25 : FROM alpine:3.17 [2023-07-17T20:26:51.425Z] 3.17: Pulling from library/alpine [2023-07-17T20:26:51.425Z] 4db1b89c0bd1: Already exists [2023-07-17T20:26:51.425Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-17T20:26:51.425Z] Status: Downloaded newer image for alpine:3.17 [2023-07-17T20:26:51.425Z] ---> 1f73a9d63274 [2023-07-17T20:26:51.425Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-17T20:26:51.425Z] ---> Running in d86a58c92bd9 [2023-07-17T20:26:51.425Z] Removing intermediate container d86a58c92bd9 [2023-07-17T20:26:51.425Z] ---> 24ae4c0b7d37 [2023-07-17T20:26:51.425Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-17T20:26:51.425Z] ---> Running in 2039bc9548cb [2023-07-17T20:26:51.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-17T20:26:51.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-17T20:26:51.425Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-17T20:26:51.425Z] Executing busybox-1.35.0-r29.trigger [2023-07-17T20:26:51.425Z] OK: 7 MiB in 16 packages [2023-07-17T20:26:51.425Z] Removing intermediate container 2039bc9548cb [2023-07-17T20:26:51.425Z] ---> 1a902cc9a575 [2023-07-17T20:26:51.425Z] Step 16/25 : WORKDIR / [2023-07-17T20:26:51.425Z] ---> Running in d47e4b8f6dd3 [2023-07-17T20:26:51.425Z] Removing intermediate container d47e4b8f6dd3 [2023-07-17T20:26:51.425Z] ---> 6595410fb842 [2023-07-17T20:26:51.425Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-17T20:26:51.425Z] ---> 9f2b8cf1bded [2023-07-17T20:26:51.425Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-17T20:26:51.425Z] ---> 0b2684b56798 [2023-07-17T20:26:51.425Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-17T20:26:51.425Z] ---> 3e0e03fe66b2 [2023-07-17T20:26:51.425Z] Step 20/25 : EXPOSE 59995 [2023-07-17T20:26:51.425Z] ---> Running in 5445d39d18eb [2023-07-17T20:26:51.425Z] Removing intermediate container 5445d39d18eb [2023-07-17T20:26:51.426Z] ---> 4075ba121986 [2023-07-17T20:26:51.426Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-17T20:26:51.426Z] ---> Running in a9fbd1fc9125 [2023-07-17T20:26:51.426Z] Removing intermediate container a9fbd1fc9125 [2023-07-17T20:26:51.426Z] ---> bfd80871ec2d [2023-07-17T20:26:51.426Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-17T20:26:51.683Z] ---> Running in 48f86f34c4b1 [2023-07-17T20:26:51.683Z] Removing intermediate container 48f86f34c4b1 [2023-07-17T20:26:51.683Z] ---> 4136b12bccea [2023-07-17T20:26:51.683Z] Step 23/25 : LABEL arch=amd64 [2023-07-17T20:26:51.683Z] ---> Running in 0ce7890e0124 [2023-07-17T20:26:51.683Z] Removing intermediate container 0ce7890e0124 [2023-07-17T20:26:51.683Z] ---> 07014563bb03 [2023-07-17T20:26:51.683Z] Step 24/25 : LABEL git_sha=490ec91365a46f83fcdec54621aa1d72869771a3 [2023-07-17T20:26:51.683Z] ---> Running in 6228eb377852 [2023-07-17T20:26:51.683Z] Removing intermediate container 6228eb377852 [2023-07-17T20:26:51.683Z] ---> f5c41e6ef28e [2023-07-17T20:26:51.683Z] Step 25/25 : LABEL version=0.0.0 [2023-07-17T20:26:51.683Z] ---> Running in 1e05c773dafe [2023-07-17T20:26:51.942Z] Removing intermediate container 1e05c773dafe [2023-07-17T20:26:51.942Z] ---> 7f2d036fc894 [2023-07-17T20:26:51.942Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-17T20:26:51.942Z] Successfully built 7f2d036fc894 [2023-07-17T20:26:51.942Z] 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 [2023-07-17T20:26:52.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T20:26:52.395Z] [2023-07-17T20:26:52.395Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:26:52.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T20:26:52.691Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-17T20:26:52.691Z] 5eb5b503b376: Pulling fs layer [2023-07-17T20:26:52.691Z] 5c69ac0246d0: Pulling fs layer [2023-07-17T20:26:52.691Z] ec43610c2a17: Pulling fs layer [2023-07-17T20:26:52.691Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-17T20:26:52.691Z] 33b1e0a273af: Pulling fs layer [2023-07-17T20:26:52.691Z] 5d3b04190fa2: Pulling fs layer [2023-07-17T20:26:52.691Z] 2f39f015ded8: Pulling fs layer [2023-07-17T20:26:52.691Z] 33b1e0a273af: Waiting [2023-07-17T20:26:52.691Z] 5d3b04190fa2: Waiting [2023-07-17T20:26:52.691Z] 3a2ae6a8a46f: Waiting [2023-07-17T20:26:52.691Z] 2f39f015ded8: Waiting [2023-07-17T20:26:52.691Z] 5c69ac0246d0: Verifying Checksum [2023-07-17T20:26:52.691Z] 5c69ac0246d0: Download complete [2023-07-17T20:26:52.691Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-17T20:26:52.691Z] 3a2ae6a8a46f: Download complete [2023-07-17T20:26:52.691Z] 33b1e0a273af: Verifying Checksum [2023-07-17T20:26:52.691Z] 33b1e0a273af: Download complete [2023-07-17T20:26:52.691Z] 5d3b04190fa2: Download complete [2023-07-17T20:26:52.691Z] ec43610c2a17: Verifying Checksum [2023-07-17T20:26:52.691Z] ec43610c2a17: Download complete [2023-07-17T20:26:52.950Z] 5eb5b503b376: Verifying Checksum [2023-07-17T20:26:52.950Z] 5eb5b503b376: Download complete [2023-07-17T20:26:53.516Z] 2f39f015ded8: Verifying Checksum [2023-07-17T20:26:53.516Z] 2f39f015ded8: Download complete [2023-07-17T20:26:54.082Z] 5eb5b503b376: Pull complete [2023-07-17T20:26:54.082Z] 5c69ac0246d0: Pull complete [2023-07-17T20:26:54.648Z] ec43610c2a17: Pull complete [2023-07-17T20:26:54.648Z] 3a2ae6a8a46f: Pull complete [2023-07-17T20:26:54.906Z] 33b1e0a273af: Pull complete [2023-07-17T20:26:54.906Z] 5d3b04190fa2: Pull complete [2023-07-17T20:26:59.085Z] 2f39f015ded8: Pull complete [2023-07-17T20:26:59.085Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-17T20:26:59.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T20:26:59.085Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:26:59.151Z] prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container [2023-07-17T20:26:59.175Z] $ 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 [2023-07-17T20:27:03.061Z] $ docker top c8447d2853fa444e081df773bf956c927f923addc0524b03fd7de05ba0d9a639 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:27:03.435Z] ---> job-cost.sh [2023-07-17T20:27:03.435Z] lf-activate-venv: SKIPPING [2023-07-17T20:27:03.435Z] INFO: No Stack... [2023-07-17T20:27:03.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-17T20:27:03.952Z] INFO: Archiving Costs [Pipeline] sh [2023-07-17T20:27:04.237Z] + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv [2023-07-17T20:27:04.237Z] + cut -d, -f6 [Pipeline] lock [2023-07-17T20:27:04.250Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-7-stack-cost] [2023-07-17T20:27:04.258Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-7-stack-cost] did not exist. Created. [2023-07-17T20:27:04.259Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-17T20:27:04.562Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-17T20:27:04.588Z] Stashed 1 file(s) [Pipeline] } [2023-07-17T20:27:04.598Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-17T20:27:04.612Z] $ docker stop --time=1 c8447d2853fa444e081df773bf956c927f923addc0524b03fd7de05ba0d9a639 [2023-07-17T20:27:05.757Z] $ docker rm -f --volumes c8447d2853fa444e081df773bf956c927f923addc0524b03fd7de05ba0d9a639 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-17T20:27:06.489Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] [2023-07-17T20:27:06.489Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-17T20:27:06.489Z] total 16 [2023-07-17T20:27:06.489Z] drwxr-xr-x 3 root root 4096 Jul 17 20:27 . [2023-07-17T20:27:06.489Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:27 .. [2023-07-17T20:27:06.489Z] drwxr-xr-x 2 root root 4096 Jul 17 20:27 cost [2023-07-17T20:27:06.489Z] -rw-r--r-- 1 root root 82 Jul 17 20:27 cost.csv [2023-07-17T20:27:06.489Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-17T20:27:06.489Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-17T20:27:06.489Z] total 16 [2023-07-17T20:27:06.489Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 20:27 . [2023-07-17T20:27:06.489Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:27 .. [2023-07-17T20:27:06.489Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 20:27 cost [2023-07-17T20:27:06.489Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 17 20:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:27:06.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:27:07.627Z] ---> package-listing.sh [2023-07-17T20:27:07.628Z] ++ facter osfamily [2023-07-17T20:27:07.628Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-17T20:27:07.886Z] + OS_FAMILY=debian [2023-07-17T20:27:07.886Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 [2023-07-17T20:27:07.886Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-17T20:27:07.886Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-17T20:27:07.886Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-17T20:27:07.886Z] + PACKAGES=/tmp/packages_start.txt [2023-07-17T20:27:07.886Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-17T20:27:07.886Z] + PACKAGES=/tmp/packages_end.txt [2023-07-17T20:27:07.886Z] + case "${OS_FAMILY}" in [2023-07-17T20:27:07.886Z] + dpkg -l [2023-07-17T20:27:07.886Z] + grep '^ii' [2023-07-17T20:27:07.886Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-17T20:27:07.886Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-17T20:27:07.886Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-17T20:27:07.886Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-17T20:27:07.886Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [2023-07-17T20:27:07.886Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo [2023-07-17T20:27:07.896Z] 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 [2023-07-17T20:27:08.172Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:27:08.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T20:27:08.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:27:08.796Z] prd-ubuntu20.04-docker-8c-8g-1361 does not seem to be running inside a container [2023-07-17T20:27:08.821Z] $ 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 [2023-07-17T20:27:09.005Z] $ docker top a705e39c0d49b5113244f6e9440ff9821695200176721bae793bad53ab4daddb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T20:27:09.350Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-17T20:27:09.633Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-17T20:27:09.917Z] + ls /var/log/sa-host [2023-07-17T20:27:09.917Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T20:27:09.979Z] provisioning config files... [2023-07-17T20:27:09.987Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config14005435173184407963tmp [Pipeline] { [Pipeline] echo [2023-07-17T20:27:10.003Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:27:10.281Z] ---> create-netrc.sh [Pipeline] } [2023-07-17T20:27:10.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:27:10.600Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-17T20:27:10.608Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:27:10.888Z] ---> sudo-logs.sh [2023-07-17T20:27:10.888Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-17T20:27:10.919Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:27:11.203Z] ---> job-cost.sh [2023-07-17T20:27:11.203Z] lf-activate-venv: SKIPPING [2023-07-17T20:27:11.203Z] DEBUG: total: 0.2199999988079071 [2023-07-17T20:27:11.203Z] INFO: Retrieving Stack Cost... [2023-07-17T20:27:11.203Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-17T20:27:11.463Z] INFO: Archiving Costs [Pipeline] echo [2023-07-17T20:27:11.473Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:27:11.757Z] ---> logs-deploy.sh [2023-07-17T20:27:11.757Z] lf-activate-venv: SKIPPING [2023-07-17T20:27:11.757Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/7 [2023-07-17T20:27:11.757Z] INFO: archiving workspace using pattern(s): [2023-07-17T20:27:12.695Z] Archives upload complete. [2023-07-17T20:27:12.695Z] INFO: archiving logs to Nexus