Pull request #20 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-villali for edgexfoundry/device-uart Loading trusted files from base branch main at a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 rather than 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf 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-ssh2016562084019704948.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-ssh10475927848592108508.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7370239758828827094.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1998670163520039945.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2423153648372582402.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14578328117403929035.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1043’ Running on prd-ubuntu20.04-docker-8c-8g-1045 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 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf Merge succeeded, producing c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 Checking out Revision c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 (PR-20) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf # 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 c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:57:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:57:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:57:23 ========================================================= 08:57:23 EdgeX Global Pipelines Version Info 08:57:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:57:23 ------------------- 08:57:23 stable info: 08:57:23 ------------------- 08:57:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:57:23 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 08:57:23 Message: update stable to v1.0.250 08:57:24 ------------------- 08:57:24 experimental info: 08:57:24 ------------------- 08:57:24 Commited By: **** collab-it+edgex@linuxfoundation.org 08:57:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 08:57:24 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:57:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 08:57:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 08:57:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:57:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:57:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:57:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 08:57:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 08:57:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [Pipeline] echo 08:57:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c87f3e0 [Pipeline] echo 08:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:57:26 provisioning config files... 08:57:26 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config9794461007547723181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:57:26 ---> docker-login.sh 08:57:26 nexus3.edgexfoundry.org:10001 08:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:26 Configure a credential helper to remove this warning. See 08:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:26 08:57:26 Login Succeeded 08:57:26 nexus3.edgexfoundry.org:10002 08:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:27 Configure a credential helper to remove this warning. See 08:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:27 08:57:27 Login Succeeded 08:57:27 nexus3.edgexfoundry.org:10003 08:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:27 Configure a credential helper to remove this warning. See 08:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:27 08:57:27 Login Succeeded 08:57:27 nexus3.edgexfoundry.org:10004 08:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:27 Configure a credential helper to remove this warning. See 08:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:27 08:57:27 Login Succeeded 08:57:27 docker.io 08:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:27 Configure a credential helper to remove this warning. See 08:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:27 08:57:27 Login Succeeded 08:57:27 ---> docker-login.sh ends [Pipeline] } 08:57:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:57:28 + git rev-list -1 --merges c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0~1..c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [Pipeline] echo 08:57:28 -----------> git rev-list -1 --merges c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0~1..c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 08:57:28 c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [false] [Pipeline] sh 08:57:28 + git log --format=format:%s -1 c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [Pipeline] echo 08:57:28 ========================================================= 08:57:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:57:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:57:28 + git log --format=format:%s -1 c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0 [Pipeline] echo 08:57:28 [semverPrep] GIT_COMMIT: c87f3e0eab0cffa2e0dc72c2ee2dd3352617b7d0, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo 08:57:28 [semverPrep] This is not a build commit. [Pipeline] sh 08:57:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:57:29 + grep -v github /etc/ssh/ssh_known_hosts 08:57:29 + [ -e /tmp/ssh_known_hosts ] 08:57:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:57:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:57:29 + sudo tee -a /etc/ssh/ssh_known_hosts 08:57:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:57:29 08:57:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:57:30 0.1.4: Pulling from edgex-devops/py-git-semver 08:57:30 b85a868b505f: Pulling fs layer 08:57:30 e2be974225ed: Pulling fs layer 08:57:30 339a4e72a1f5: Pulling fs layer 08:57:30 988bab9f4d93: Pulling fs layer 08:57:30 1469e6f7b9e6: Pulling fs layer 08:57:30 eaf3925da568: Pulling fs layer 08:57:30 bab4dde63d76: Pulling fs layer 08:57:30 bde34c3a00c8: Pulling fs layer 08:57:30 b352a97aabf1: Pulling fs layer 08:57:30 4872d77fe225: Pulling fs layer 08:57:30 988bab9f4d93: Waiting 08:57:30 5851b861e8e6: Pulling fs layer 08:57:30 1469e6f7b9e6: Waiting 08:57:30 eaf3925da568: Waiting 08:57:30 bab4dde63d76: Waiting 08:57:30 bde34c3a00c8: Waiting 08:57:30 b352a97aabf1: Waiting 08:57:30 4872d77fe225: Waiting 08:57:30 5851b861e8e6: Waiting 08:57:30 e2be974225ed: Download complete 08:57:30 988bab9f4d93: Verifying Checksum 08:57:30 988bab9f4d93: Download complete 08:57:30 1469e6f7b9e6: Verifying Checksum 08:57:30 1469e6f7b9e6: Download complete 08:57:30 eaf3925da568: Verifying Checksum 08:57:30 eaf3925da568: Download complete 08:57:30 339a4e72a1f5: Verifying Checksum 08:57:30 339a4e72a1f5: Download complete 08:57:30 bde34c3a00c8: Download complete 08:57:30 b352a97aabf1: Verifying Checksum 08:57:30 b352a97aabf1: Download complete 08:57:30 4872d77fe225: Download complete 08:57:30 5851b861e8e6: Verifying Checksum 08:57:30 5851b861e8e6: Download complete 08:57:30 b85a868b505f: Verifying Checksum 08:57:30 b85a868b505f: Download complete 08:57:30 bab4dde63d76: Verifying Checksum 08:57:30 bab4dde63d76: Download complete 08:57:31 b85a868b505f: Pull complete 08:57:31 e2be974225ed: Pull complete 08:57:32 339a4e72a1f5: Pull complete 08:57:32 988bab9f4d93: Pull complete 08:57:32 1469e6f7b9e6: Pull complete 08:57:32 eaf3925da568: Pull complete 08:57:34 bab4dde63d76: Pull complete 08:57:34 bde34c3a00c8: Pull complete 08:57:34 b352a97aabf1: Pull complete 08:57:34 4872d77fe225: Pull complete 08:57:34 5851b861e8e6: Pull complete 08:57:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:57:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:57:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:34 prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container 08:57:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:57:37 $ docker top 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 -eo pid,comm 08:57:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:57:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:57:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:37 [ssh-agent] Looking for ssh-agent implementation... 08:57:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:38 $ docker exec 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 ssh-agent 08:57:38 SSH_AUTH_SOCK=/tmp/ssh-1bEnY9lw0pZ9/agent.32 08:57:38 SSH_AGENT_PID=38 08:57:38 Running ssh-add (command line suppressed) 08:57:38 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13453657408610991643.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13453657408610991643.key) 08:57:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:38 + git tag --points-at HEAD [Pipeline] } 08:57:38 $ docker exec --env ******** --env ******** 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 ssh-agent -k 08:57:38 unset SSH_AUTH_SOCK; 08:57:38 unset SSH_AGENT_PID; 08:57:38 echo Agent pid 38 killed; 08:57:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:57:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:38 [ssh-agent] Looking for ssh-agent implementation... 08:57:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:38 $ docker exec 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 ssh-agent 08:57:39 SSH_AUTH_SOCK=/tmp/ssh-lnqRl0kFjDL8/agent.70 08:57:39 SSH_AGENT_PID=76 08:57:39 Running ssh-add (command line suppressed) 08:57:39 Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_17363287600468314369.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_17363287600468314369.key) 08:57:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:39 + git semver init 08:57:39 2023-07-13 08:57:39,713 [run_init] DEBUG init version:0.0.0 force:False 08:57:39 2023-07-13 08:57:39,714 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver 08:57:39 2023-07-13 08:57:39,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver 08:57:39 2023-07-13 08:57:39,715 [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) 08:57:40 2023-07-13 08:57:40,562 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude 08:57:40 2023-07-13 08:57:40,562 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False 08:57:40 2023-07-13 08:57:40,562 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 08:57:40 2023-07-13 08:57:40,566 [execute] INFO git cat-file --batch-check 08:57:40 2023-07-13 08:57:40,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 08:57:40 2023-07-13 08:57:40,573 [execute] INFO git cat-file --batch 08:57:40 2023-07-13 08:57:40,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) 08:57:40 2023-07-13 08:57:40,578 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 08:57:40 0.0.0 [Pipeline] } 08:57:40 $ docker exec --env ******** --env ******** 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 ssh-agent -k 08:57:40 unset SSH_AUTH_SOCK; 08:57:40 unset SSH_AGENT_PID; 08:57:40 echo Agent pid 76 killed; 08:57:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:57:41 + git semver [Pipeline] } 08:57:41 $ docker stop --time=1 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 08:57:42 $ docker rm -f --volumes 7cc5a8849af2ca45b49e2eb940069fd7507e1235452f2420eaa72920bf5fad67 [Pipeline] // withDockerContainer [Pipeline] sh 08:57:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:57:43 Stashed 1 file(s) [Pipeline] echo 08:57:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:57:44 provisioning config files... 08:57:44 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config14937806423180932116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:57:44 ---> docker-login.sh 08:57:44 nexus3.edgexfoundry.org:10001 08:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:44 Configure a credential helper to remove this warning. See 08:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:44 08:57:44 Login Succeeded 08:57:44 nexus3.edgexfoundry.org:10002 08:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:44 Configure a credential helper to remove this warning. See 08:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:44 08:57:44 Login Succeeded 08:57:44 nexus3.edgexfoundry.org:10003 08:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:44 Configure a credential helper to remove this warning. See 08:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:44 08:57:44 Login Succeeded 08:57:44 nexus3.edgexfoundry.org:10004 08:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:44 Configure a credential helper to remove this warning. See 08:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:44 08:57:44 Login Succeeded 08:57:44 docker.io 08:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:45 Configure a credential helper to remove this warning. See 08:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:45 08:57:45 Login Succeeded 08:57:45 ---> docker-login.sh ends [Pipeline] } 08:57:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:57:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:57:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:57:45 ========================================================= 08:57:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:57:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:57:45 Sending build context to Docker daemon 11.1MB 08:57:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:57:45 Step 2/12 : FROM ${BASE} AS builder 08:57:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:57:45 4db1b89c0bd1: Pulling fs layer 08:57:45 6911f1a30b25: Pulling fs layer 08:57:45 e194b8c5c2a9: Pulling fs layer 08:57:45 6863d3e3a2b1: Pulling fs layer 08:57:45 ec0bb842ea78: Pulling fs layer 08:57:45 40a00589a448: Pulling fs layer 08:57:45 6c08303d61cc: Pulling fs layer 08:57:45 798269fcf238: Pulling fs layer 08:57:45 6c08303d61cc: Waiting 08:57:45 40a00589a448: Waiting 08:57:45 798269fcf238: Waiting 08:57:45 6863d3e3a2b1: Waiting 08:57:45 ec0bb842ea78: Waiting 08:57:45 6911f1a30b25: Download complete 08:57:46 6863d3e3a2b1: Verifying Checksum 08:57:46 6863d3e3a2b1: Download complete 08:57:46 ec0bb842ea78: Verifying Checksum 08:57:46 ec0bb842ea78: Download complete 08:57:46 4db1b89c0bd1: Download complete 08:57:46 40a00589a448: Verifying Checksum 08:57:46 40a00589a448: Download complete 08:57:46 4db1b89c0bd1: Pull complete 08:57:46 6911f1a30b25: Pull complete 08:57:46 798269fcf238: Verifying Checksum 08:57:46 798269fcf238: Download complete 08:57:46 e194b8c5c2a9: Verifying Checksum 08:57:46 e194b8c5c2a9: Download complete 08:57:46 6c08303d61cc: Verifying Checksum 08:57:46 6c08303d61cc: Download complete 08:57:50 e194b8c5c2a9: Pull complete 08:57:50 6863d3e3a2b1: Pull complete 08:57:50 ec0bb842ea78: Pull complete 08:57:50 40a00589a448: Pull complete 08:57:52 6c08303d61cc: Pull complete 08:57:52 798269fcf238: Pull complete 08:57:52 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 08:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:57:52 ---> ec979cd7f677 08:57:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:57:58 ---> Running in 3fa594375b25 08:57:58 Removing intermediate container 3fa594375b25 08:57:58 ---> 392d9e0499e9 08:57:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:57:58 ---> Running in 871b918ba6d7 08:57:58 Removing intermediate container 871b918ba6d7 08:57:58 ---> 67545df33279 08:57:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:57:58 ---> Running in 871897b7f3f9 08:57:58 Removing intermediate container 871897b7f3f9 08:57:58 ---> dcba7c4caf62 08:57:58 Step 6/12 : WORKDIR /device-uart 08:57:58 ---> Running in fe8d64b90c47 08:57:58 Removing intermediate container fe8d64b90c47 08:57:58 ---> 7beb555ebc92 08:57:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:57:58 ---> Running in bf41fbe1a02a 08:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:57:58 (1/4) Installing openssh-keygen (9.1_p1-r3) 08:57:58 (2/4) Installing libedit (20221030.3.1-r0) 08:57:58 (3/4) Installing openssh-client-common (9.1_p1-r3) 08:57:58 (4/4) Installing openssh-client-default (9.1_p1-r3) 08:57:58 Executing busybox-1.35.0-r29.trigger 08:57:58 OK: 269 MiB in 57 packages 08:57:58 Still waiting to schedule task 08:57:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1044’ 08:57:59 Removing intermediate container bf41fbe1a02a 08:57:59 ---> 45672100c223 08:57:59 Step 8/12 : COPY go.mod vendor* ./ 08:57:59 ---> 8f3cea36f0a4 08:57:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:57:59 ---> Running in d5bc1fa6f6ce 08:58:38 Removing intermediate container d5bc1fa6f6ce 08:58:38 ---> 6f0fb5885f71 08:58:38 Step 10/12 : COPY . . 08:58:38 ---> f3da225b1af8 08:58:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:58:38 ---> Running in d4a967faf50b 08:58:38 Removing intermediate container d4a967faf50b 08:58:38 ---> 7d98bcc47c88 08:58:38 Step 12/12 : RUN ${MAKE} 08:58:38 ---> Running in cc7a121a3ee9 08:58:38 noop 08:58:38 Removing intermediate container cc7a121a3ee9 08:58:38 ---> 4e13498c65b1 08:58:38 Successfully built 4e13498c65b1 08:58:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:38 + docker inspect -f . ci-base-image-x86_64 08:58:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:38 prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container 08:58:38 $ 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 ******** ci-base-image-x86_64 cat 08:58:39 $ docker top 485e2d5b1112a069c7ce7961d48026b28e37b8c498b3be9c9619d8f3751a2ddc -eo pid,comm [Pipeline] { [Pipeline] sh 08:58:39 + go version 08:58:39 go version go1.20.6 linux/amd64 [Pipeline] } 08:58:39 $ docker stop --time=1 485e2d5b1112a069c7ce7961d48026b28e37b8c498b3be9c9619d8f3751a2ddc 08:58:40 $ docker rm -f --volumes 485e2d5b1112a069c7ce7961d48026b28e37b8c498b3be9c9619d8f3751a2ddc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:41 + docker inspect -f . ci-base-image-x86_64 08:58:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:41 prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container 08:58:41 $ 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 ******** ci-base-image-x86_64 cat 08:58:41 $ docker top b160c064bbe9e9c2966656a3d72a912b83a8d26b93e2e9a05278a76b4351991e -eo pid,comm [Pipeline] { [Pipeline] sh 08:58:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh 08:58:42 + make test 08:58:42 go test ./... -coverprofile=coverage.out 08:58:46 ? github.com/edgexfoundry/device-uart [no test files] 08:58:56 ? github.com/edgexfoundry/device-uart/cmd [no test files] 08:58:56 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 08:59:03 internal/driver/driver.go:209:19: S1039: unnecessary use of fmt.Sprintf (gosimple) 08:59:03 s.lc.Debugf(fmt.Sprintf("Driver.HandleWriteCommands(): Error in hex.DecodeString")) 08:59:03 ^ 08:59:03 internal/driver/driver.go:120:5: S1023: redundant break statement (gosimple) 08:59:03 break 08:59:03 ^ 08:59:03 internal/driver/driver.go:124:5: S1023: redundant break statement (gosimple) 08:59:03 break 08:59:03 ^ 08:59:03 internal/driver/driver.go:127:5: S1023: redundant break statement (gosimple) 08:59:03 break 08:59:03 ^ 08:59:03 internal/driver/driver.go:119:9: ineffectual assignment to err (ineffassign) 08:59:03 cv, err = dsModels.NewCommandValue(req.DeviceResourceName, valueType, int8(value)) 08:59:03 ^ 08:59:03 internal/driver/driver.go:123:9: ineffectual assignment to err (ineffassign) 08:59:03 cv, err = dsModels.NewCommandValue(req.DeviceResourceName, valueType, int16(value)) 08:59:03 ^ 08:59:03 internal/driver/driver.go:126:9: ineffectual assignment to err (ineffassign) 08:59:03 cv, err = dsModels.NewCommandValue(req.DeviceResourceName, valueType, rxbuf) 08:59:03 ^ 08:59:03 make: *** [Makefile:30: lint] Error 1 [Pipeline] } 08:59:03 $ docker stop --time=1 b160c064bbe9e9c2966656a3d72a912b83a8d26b93e2e9a05278a76b4351991e 08:59:06 $ docker rm -f --volumes b160c064bbe9e9c2966656a3d72a912b83a8d26b93e2e9a05278a76b4351991e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:59:08 08:59:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:59:08 latest: Pulling from edgex-lftools-log-publisher 08:59:08 5eb5b503b376: Pulling fs layer 08:59:08 5c69ac0246d0: Pulling fs layer 08:59:08 ec43610c2a17: Pulling fs layer 08:59:08 3a2ae6a8a46f: Pulling fs layer 08:59:08 33b1e0a273af: Pulling fs layer 08:59:08 5d3b04190fa2: Pulling fs layer 08:59:08 2f39f015ded8: Pulling fs layer 08:59:08 5d3b04190fa2: Waiting 08:59:08 3a2ae6a8a46f: Waiting 08:59:08 33b1e0a273af: Waiting 08:59:08 2f39f015ded8: Waiting 08:59:08 5c69ac0246d0: Download complete 08:59:08 3a2ae6a8a46f: Verifying Checksum 08:59:08 3a2ae6a8a46f: Download complete 08:59:08 33b1e0a273af: Verifying Checksum 08:59:08 33b1e0a273af: Download complete 08:59:08 5d3b04190fa2: Verifying Checksum 08:59:08 5d3b04190fa2: Download complete 08:59:08 ec43610c2a17: Verifying Checksum 08:59:08 ec43610c2a17: Download complete 08:59:08 5eb5b503b376: Verifying Checksum 08:59:08 5eb5b503b376: Download complete 08:59:09 2f39f015ded8: Download complete 08:59:09 5eb5b503b376: Pull complete 08:59:10 5c69ac0246d0: Pull complete 08:59:10 ec43610c2a17: Pull complete 08:59:10 3a2ae6a8a46f: Pull complete 08:59:10 33b1e0a273af: Pull complete 08:59:10 5d3b04190fa2: Pull complete 08:59:15 2f39f015ded8: Pull complete 08:59:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:59:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:15 prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container 08:59:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:59:18 $ docker top 35891c2ed7da61b360afc8a79e828dcfb4c83f1264436ee5c905a664fa4eab8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:19 ---> job-cost.sh 08:59:19 lf-activate-venv: SKIPPING 08:59:19 INFO: No Stack... 08:59:19 INFO: Retrieving Pricing Info for: v3-standard-8 08:59:20 INFO: Archiving Costs [Pipeline] sh 08:59:20 + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv 08:59:20 + cut -d, -f6 [Pipeline] lock 08:59:20 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] 08:59:20 Resource [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] did not exist. Created. 08:59:20 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:59:20 + echo total: 0.2199999988079071 [Pipeline] stash 08:59:20 Stashed 1 file(s) [Pipeline] } 08:59:20 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:59:21 $ docker stop --time=1 35891c2ed7da61b360afc8a79e828dcfb4c83f1264436ee5c905a664fa4eab8f 08:59:22 $ docker rm -f --volumes 35891c2ed7da61b360afc8a79e828dcfb4c83f1264436ee5c905a664fa4eab8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:59:22 Failed in branch amd64 09:01:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1046 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws 09:01:35 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 09:01:36 The recommended git tool is: git 09:01:41 using credential edgex-jenkins-ssh 09:01:41 Cloning the remote Git repository 09:01:41 Cloning repository git@github.com:edgexfoundry/device-uart.git 09:01:41 > git init /w/workspace/device-uart/1 # timeout=10 09:01:41 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 09:01:41 > git --version # timeout=10 09:01:41 > git --version # 'git version 2.25.1' 09:01:41 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:01:43 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 09:01:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:01:44 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf 09:01:44 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 09:01:44 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 09:01:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:44 > 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 09:01:44 > git config core.sparsecheckout # timeout=10 09:01:45 Merge succeeded, producing 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 09:01:45 Checking out Revision 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 (PR-20) 09:01:44 > git checkout -f 26ea93ebe95ca5deb01fae9fd7a7496f06ef47cf # timeout=10 09:01:44 > git remote # timeout=10 09:01:44 > git config --get remote.origin.url # timeout=10 09:01:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:44 > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 09:01:45 > git rev-parse HEAD^{commit} # timeout=10 09:01:45 > git config core.sparsecheckout # timeout=10 09:01:45 > git checkout -f 5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 # timeout=10 09:01:48 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" 09:01:48 First time build. Skipping changelog. 09:01:48 > git --version # timeout=10 09:01:48 > git --version # 'git version 2.25.1' 09:01:48 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:01:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:01:49 % Total % Received % Xferd Average Speed Time Time Time Current 09:01:49 Dload Upload Total Spent Left Speed 09:01:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh 09:01:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:01:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:01:50 + sudo tee /etc/docker/daemon.new 09:01:50 { 09:01:50 "registry-mirrors": [ 09:01:50 "https://nexus3.edgexfoundry.org:10001" 09:01:50 ], 09:01:50 "bip": "10.250.0.254/24", 09:01:50 "hosts": [ 09:01:50 "tcp://0.0.0.0:5555", 09:01:50 "unix:///var/run/docker.sock" 09:01:50 ], 09:01:50 "mtu": 1458, 09:01:50 "selinux-enabled": true, 09:01:50 "seccomp-profile": "/etc/docker/seccomp.json" 09:01:50 } [Pipeline] sh 09:01:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:01:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:09 provisioning config files... 09:02:09 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config11068656921019967953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:10 ---> docker-login.sh 09:02:10 nexus3.edgexfoundry.org:10001 09:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:10 Configure a credential helper to remove this warning. See 09:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:10 09:02:10 Login Succeeded 09:02:10 nexus3.edgexfoundry.org:10002 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 nexus3.edgexfoundry.org:10003 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 nexus3.edgexfoundry.org:10004 09:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:12 Configure a credential helper to remove this warning. See 09:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:12 09:02:12 Login Succeeded 09:02:12 docker.io 09:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:12 Configure a credential helper to remove this warning. See 09:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:12 09:02:12 Login Succeeded 09:02:12 ---> docker-login.sh ends [Pipeline] } 09:02:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:02:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:13 ========================================================= 09:02:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:02:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:13 + 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 . 09:02:13 Sending build context to Docker daemon 5.6MB 09:02:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:02:13 Step 2/12 : FROM ${BASE} AS builder 09:02:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:02:14 edb6bdbacee9: Pulling fs layer 09:02:14 5f9638ab2659: Pulling fs layer 09:02:14 8d51d6327a98: Pulling fs layer 09:02:14 8b374f2dd631: Pulling fs layer 09:02:14 ec14aa9079de: Pulling fs layer 09:02:14 2f466654f4bb: Pulling fs layer 09:02:14 554e91adad29: Pulling fs layer 09:02:14 ec14aa9079de: Waiting 09:02:14 8b374f2dd631: Waiting 09:02:14 554e91adad29: Waiting 09:02:14 2f466654f4bb: Waiting 09:02:14 5f9638ab2659: Download complete 09:02:14 8b374f2dd631: Verifying Checksum 09:02:14 8b374f2dd631: Download complete 09:02:14 ec14aa9079de: Verifying Checksum 09:02:14 ec14aa9079de: Download complete 09:02:14 edb6bdbacee9: Verifying Checksum 09:02:14 edb6bdbacee9: Download complete 09:02:15 edb6bdbacee9: Pull complete 09:02:15 554e91adad29: Verifying Checksum 09:02:15 554e91adad29: Download complete 09:02:15 5f9638ab2659: Pull complete 09:02:16 8d51d6327a98: Verifying Checksum 09:02:16 8d51d6327a98: Download complete 09:02:16 2f466654f4bb: Verifying Checksum 09:02:16 2f466654f4bb: Download complete 09:02:29 8d51d6327a98: Pull complete 09:02:29 8b374f2dd631: Pull complete 09:02:29 ec14aa9079de: Pull complete 09:02:34 2f466654f4bb: Pull complete 09:02:37 554e91adad29: Pull complete 09:02:37 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 09:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:02:37 ---> 1e15ea492957 09:02:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:02:38 ---> Running in f17f8e63a962 09:02:38 Removing intermediate container f17f8e63a962 09:02:38 ---> ee7fb1bb14c3 09:02:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:02:39 ---> Running in 603336068cca 09:02:39 Removing intermediate container 603336068cca 09:02:39 ---> c8e4646a5f81 09:02:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:02:39 ---> Running in 332b9a316b88 09:02:39 Removing intermediate container 332b9a316b88 09:02:39 ---> e23695d59945 09:02:39 Step 6/12 : WORKDIR /device-uart 09:02:39 ---> Running in d7bb133e8069 09:02:39 Removing intermediate container d7bb133e8069 09:02:39 ---> 012ade3712c8 09:02:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:40 ---> Running in 37ad003ef0d6 09:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:02:43 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:02:43 (2/4) Installing libedit (20221030.3.1-r0) 09:02:43 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:02:43 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:02:43 Executing busybox-1.35.0-r29.trigger 09:02:43 OK: 268 MiB in 57 packages 09:02:44 Removing intermediate container 37ad003ef0d6 09:02:44 ---> 5989c1bc69ba 09:02:44 Step 8/12 : COPY go.mod vendor* ./ 09:02:46 ---> 22d1e9d9efa2 09:02:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:46 ---> Running in 39f218032208 09:03:53 Removing intermediate container 39f218032208 09:03:53 ---> e0c5ce7ecae3 09:03:53 Step 10/12 : COPY . . 09:03:53 ---> f45f504fac5d 09:03:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:03:53 ---> Running in 4cc8ba0e4562 09:03:53 Removing intermediate container 4cc8ba0e4562 09:03:53 ---> a2b47d35f2bf 09:03:53 Step 12/12 : RUN ${MAKE} 09:03:53 ---> Running in 40bb0c65772e 09:03:53 noop 09:03:53 Removing intermediate container 40bb0c65772e 09:03:53 ---> 45adbb4425e7 09:03:53 Successfully built 45adbb4425e7 09:03:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:54 + docker inspect -f . ci-base-image-arm64 09:03:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:54 prd-ubuntu20.04-docker-arm64-4c-16g-1046 does not seem to be running inside a container 09:03:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:03:56 $ docker top 021f582bcfc743806b49b64aeac16c5e8d00a4e69a2e9c22b6cd7a4c28db12c0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:56 + go version 09:03:56 go version go1.20.6 linux/arm64 [Pipeline] } 09:03:56 $ docker stop --time=1 021f582bcfc743806b49b64aeac16c5e8d00a4e69a2e9c22b6cd7a4c28db12c0 09:03:58 $ docker rm -f --volumes 021f582bcfc743806b49b64aeac16c5e8d00a4e69a2e9c22b6cd7a4c28db12c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:59 + docker inspect -f . ci-base-image-arm64 09:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:59 prd-ubuntu20.04-docker-arm64-4c-16g-1046 does not seem to be running inside a container 09:03:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:04:00 $ docker top 270900f040a5bb335e5bbd39453054aa031e2d28e1ca658d81f33a5d35494a3c -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:01 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 09:04:02 + make test 09:04:02 go test ./... -coverprofile=coverage.out 09:04:34 ? github.com/edgexfoundry/device-uart [no test files] 09:06:26 ? github.com/edgexfoundry/device-uart/cmd [no test files] 09:06:26 ? github.com/edgexfoundry/device-uart/internal/driver [no test files] 09:06:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:06:26 go vet ./... 09:06:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:06:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:06:48 ./bin/test-attribution-txt.sh [Pipeline] echo 09:06:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:06:48 $ docker stop --time=1 270900f040a5bb335e5bbd39453054aa031e2d28e1ca658d81f33a5d35494a3c 09:06:50 $ docker rm -f --volumes 270900f040a5bb335e5bbd39453054aa031e2d28e1ca658d81f33a5d35494a3c [Pipeline] // withDockerContainer [Pipeline] sh 09:06:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:06:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:06:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:06:53 + ls -al . 09:06:53 total 136 09:06:53 drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 09:04 . 09:06:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 09:01 .. 09:06:53 -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 09:01 .dockerignore 09:06:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 09:01 .git 09:06:53 -rw-rw-r-- 1 jenkins jenkins 343 Jul 13 09:01 .gitignore 09:06:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 09:01 .golangci.yml 09:06:53 -rw-rw-r-- 1 jenkins jenkins 8972 Jul 13 09:01 Attribution.txt 09:06:53 -rw-rw-r-- 1 jenkins jenkins 1777 Jul 13 09:01 Dockerfile 09:06:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 09:01 GOVERNANCE.md 09:06:53 -rw-rw-r-- 1 jenkins jenkins 675 Jul 13 09:01 Jenkinsfile 09:06:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 13 09:01 LICENSE 09:06:53 -rw-rw-r-- 1 jenkins jenkins 1641 Jul 13 09:01 Makefile 09:06:53 -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 09:01 OWNERS.md 09:06:53 -rw-rw-r-- 1 jenkins jenkins 7340 Jul 13 09:01 README.md 09:06:53 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 08:57 VERSION 09:06:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 09:01 bin 09:06:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 09:01 cmd 09:06:53 -rw-r--r-- 1 jenkins jenkins 10 Jul 13 09:04 coverage.out 09:06:53 -rw-rw-r-- 1 jenkins jenkins 3244 Jul 13 09:01 go.mod 09:06:53 -rw-rw-r-- 1 jenkins jenkins 31451 Jul 13 09:01 go.sum 09:06:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 09:01 internal 09:06:53 -rw-rw-r-- 1 jenkins jenkins 209 Jul 13 09:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:54 + 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=5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 --label arch=arm64 --label version=0.0.0 . 09:06:55 Sending build context to Docker daemon 5.601MB 09:06:55 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:06:55 Step 2/25 : FROM ${BASE} AS builder 09:06:55 ---> 45adbb4425e7 09:06:55 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:06:55 ---> Running in df0cd6f4166e 09:06:55 Removing intermediate container df0cd6f4166e 09:06:55 ---> ca61f169703b 09:06:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:06:55 ---> Running in 230515a5011e 09:06:56 Removing intermediate container 230515a5011e 09:06:56 ---> 3e174d131418 09:06:56 Step 5/25 : ARG ADD_BUILD_TAGS="" 09:06:56 ---> Running in 4b51d563e02b 09:06:57 Removing intermediate container 4b51d563e02b 09:06:57 ---> ae39d50c111b 09:06:57 Step 6/25 : WORKDIR /device-uart 09:06:57 ---> Running in d18ea6a238ec 09:06:58 Removing intermediate container d18ea6a238ec 09:06:58 ---> 87e1dbc17b58 09:06:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:06:58 ---> Running in 30c55a1fb84c 09:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:07:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:07:01 OK: 268 MiB in 57 packages 09:07:02 Removing intermediate container 30c55a1fb84c 09:07:02 ---> 3e06e40c8b86 09:07:02 Step 8/25 : COPY go.mod vendor* ./ 09:07:03 ---> 6b92cc3de795 09:07:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:07:03 ---> Running in 47383523325d 09:07:05 Removing intermediate container 47383523325d 09:07:05 ---> 8a7ff2247c8a 09:07:05 Step 10/25 : COPY . . 09:07:06 ---> 8304b899c69a 09:07:06 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:07:06 ---> Running in d22294eb81fd 09:07:06 Removing intermediate container d22294eb81fd 09:07:06 ---> 0e8233809c34 09:07:06 Step 12/25 : RUN ${MAKE} 09:07:06 ---> Running in 51c6a82da5a3 09:07:07 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 09:09:14 Removing intermediate container 51c6a82da5a3 09:09:14 ---> f126bcc1bff9 09:09:14 Step 13/25 : FROM alpine:3.17 09:09:14 3.17: Pulling from library/alpine 09:09:14 edb6bdbacee9: Already exists 09:09:14 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 09:09:14 Status: Downloaded newer image for alpine:3.17 09:09:14 ---> 779605e5fbc0 09:09:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:09:14 ---> Running in 3e8b8aaf900a 09:09:14 Removing intermediate container 3e8b8aaf900a 09:09:14 ---> 5fa04a4ca8d2 09:09:14 Step 15/25 : RUN apk add --update --no-cache dumb-init 09:09:14 ---> Running in 94e370be872d 09:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:09:14 (1/1) Installing dumb-init (1.2.5-r2) 09:09:14 Executing busybox-1.35.0-r29.trigger 09:09:14 OK: 8 MiB in 16 packages 09:09:14 Removing intermediate container 94e370be872d 09:09:14 ---> 8a961529ac1d 09:09:14 Step 16/25 : WORKDIR / 09:09:14 ---> Running in 89a4dd002534 09:09:14 Removing intermediate container 89a4dd002534 09:09:14 ---> 30e407f644d4 09:09:14 Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / 09:09:14 ---> 64e3e95b05df 09:09:14 Step 18/25 : COPY --from=builder /device-uart/LICENSE / 09:09:14 ---> 8dbadc131e0f 09:09:14 Step 19/25 : COPY --from=builder /device-uart/cmd/ / 09:09:14 ---> 0c45ef9d825d 09:09:14 Step 20/25 : EXPOSE 59995 09:09:14 ---> Running in 0af94d5ecafe 09:09:14 Removing intermediate container 0af94d5ecafe 09:09:14 ---> a36a119e35b4 09:09:14 Step 21/25 : ENTRYPOINT ["/device-uart"] 09:09:14 ---> Running in 5cedd1a252da 09:09:14 Removing intermediate container 5cedd1a252da 09:09:14 ---> 4bd37cedd7c4 09:09:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:09:14 ---> Running in ce8b0616ad64 09:09:14 Removing intermediate container ce8b0616ad64 09:09:14 ---> 9608be878d1a 09:09:14 Step 23/25 : LABEL arch=arm64 09:09:14 ---> Running in 01297f647f1f 09:09:14 Removing intermediate container 01297f647f1f 09:09:14 ---> 6ff6b1e93420 09:09:14 Step 24/25 : LABEL git_sha=5ec6ace6816a635e2ca9fe3f9b9b15f3b61dd763 09:09:14 ---> Running in d8546c7a73e6 09:09:14 Removing intermediate container d8546c7a73e6 09:09:14 ---> 4208634c1861 09:09:14 Step 25/25 : LABEL version=0.0.0 09:09:14 ---> Running in f2c4d1e97851 09:09:14 Removing intermediate container f2c4d1e97851 09:09:14 ---> ba1d4e613c27 09:09:14 [Warning] One or more build-args [ARCH] were not consumed 09:09:14 Successfully built ba1d4e613c27 09:09:14 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 09:09:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:15 09:09:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:15 arm64: Pulling from edgex-lftools-log-publisher 09:09:15 8998bd30e6a1: Pulling fs layer 09:09:15 04944245beec: Pulling fs layer 09:09:15 699f458cf7ca: Pulling fs layer 09:09:15 765212b225bb: Pulling fs layer 09:09:15 f23df028b6ca: Pulling fs layer 09:09:15 d65c8cfc05b1: Pulling fs layer 09:09:15 2437ff75d9bd: Pulling fs layer 09:09:15 765212b225bb: Waiting 09:09:15 f23df028b6ca: Waiting 09:09:15 d65c8cfc05b1: Waiting 09:09:15 2437ff75d9bd: Waiting 09:09:15 04944245beec: Verifying Checksum 09:09:15 04944245beec: Download complete 09:09:15 765212b225bb: Download complete 09:09:15 f23df028b6ca: Verifying Checksum 09:09:15 f23df028b6ca: Download complete 09:09:15 d65c8cfc05b1: Verifying Checksum 09:09:15 d65c8cfc05b1: Download complete 09:09:15 699f458cf7ca: Verifying Checksum 09:09:15 699f458cf7ca: Download complete 09:09:16 8998bd30e6a1: Download complete 09:09:18 2437ff75d9bd: Verifying Checksum 09:09:18 2437ff75d9bd: Download complete 09:09:20 8998bd30e6a1: Pull complete 09:09:20 04944245beec: Pull complete 09:09:22 699f458cf7ca: Pull complete 09:09:22 765212b225bb: Pull complete 09:09:22 f23df028b6ca: Pull complete 09:09:22 d65c8cfc05b1: Pull complete 09:09:37 2437ff75d9bd: Pull complete 09:09:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:38 prd-ubuntu20.04-docker-arm64-4c-16g-1046 does not seem to be running inside a container 09:09:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:09:40 $ docker top 461c8a577dc8ed3c411560b27bf0a45c1b4f6ab82d3e51c062be7466ca41feca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:41 ---> job-cost.sh 09:09:41 lf-activate-venv: SKIPPING 09:09:41 INFO: No Stack... 09:09:42 INFO: Retrieving Pricing Info for: v3-standard-4 09:09:42 INFO: Archiving Costs [Pipeline] sh 09:09:43 + cat /w/workspace/device-uart/1/archives/cost.csv 09:09:43 + cut -d, -f6 [Pipeline] lock 09:09:43 Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] 09:09:43 Resource [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] did not exist. Created. 09:09:43 Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:09:43 /w/workspace/device-uart/1@tmp/durable-9cae0c09/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:09:44 + echo total: 0.10999999940395355 [Pipeline] stash 09:09:44 Warning: overwriting stash ‘stack-cost’ 09:09:44 Stashed 1 file(s) [Pipeline] } 09:09:44 Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:09:44 $ docker stop --time=1 461c8a577dc8ed3c411560b27bf0a45c1b4f6ab82d3e51c062be7466ca41feca 09:09:45 $ docker rm -f --volumes 461c8a577dc8ed3c411560b27bf0a45c1b4f6ab82d3e51c062be7466ca41feca [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) 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 09:09:48 + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] 09:09:48 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 09:09:48 total 16 09:09:48 drwxr-xr-x 3 root root 4096 Jul 13 08:59 . 09:09:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 08:59 .. 09:09:48 drwxr-xr-x 2 root root 4096 Jul 13 08:59 cost 09:09:48 -rw-r--r-- 1 root root 82 Jul 13 08:59 cost.csv 09:09:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives 09:09:48 + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives 09:09:48 total 16 09:09:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 08:59 . 09:09:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 08:59 .. 09:09:48 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 08:59 cost 09:09:48 -rw-r--r-- 1 jenkins jenkins 82 Jul 13 08:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:09:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:09:49 ---> package-listing.sh 09:09:49 ++ tr '[:upper:]' '[:lower:]' 09:09:49 ++ facter osfamily 09:09:49 + OS_FAMILY=debian 09:09:49 + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 09:09:49 + START_PACKAGES=/tmp/packages_start.txt 09:09:49 + END_PACKAGES=/tmp/packages_end.txt 09:09:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:09:49 + PACKAGES=/tmp/packages_start.txt 09:09:49 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 09:09:49 + PACKAGES=/tmp/packages_end.txt 09:09:49 + case "${OS_FAMILY}" in 09:09:49 + dpkg -l 09:09:49 + grep '^ii' 09:09:49 + '[' -f /tmp/packages_start.txt ']' 09:09:49 + '[' -f /tmp/packages_end.txt ']' 09:09:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:09:49 + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' 09:09:49 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ 09:09:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo 09:09:49 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 09:09:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:50 prd-ubuntu20.04-docker-8c-8g-1045 does not seem to be running inside a container 09:09:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:09:51 $ docker top 518d963d22978b8c6ae62a3daf3906e57283fe7845220f2e9ebd2a81f32940e0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:55 + touch /tmp/pre-build-complete [Pipeline] sh 09:09:56 + mkdir -p /var/log/sysstat [Pipeline] sh 09:09:57 + ls /var/log/sa-host 09:09:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:58 provisioning config files... 09:09:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config1321282065337563560tmp [Pipeline] { [Pipeline] echo 09:09:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:09:58 ---> create-netrc.sh [Pipeline] } 09:09:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:09:58 ---> python-tools-install.sh [Pipeline] echo 09:09:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:09:59 ---> sudo-logs.sh 09:09:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:09:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:09:59 ---> job-cost.sh 09:09:59 lf-activate-venv: SKIPPING 09:09:59 DEBUG: total: 0.2199999988079071 09:09:59 INFO: Retrieving Stack Cost... 09:09:59 INFO: Retrieving Pricing Info for: v3-standard-8 09:10:00 INFO: Archiving Costs [Pipeline] echo 09:10:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:10:00 ---> logs-deploy.sh 09:10:00 lf-activate-venv: SKIPPING 09:10:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/1 09:10:00 INFO: archiving workspace using pattern(s): 09:10:01 Archives upload complete. 09:10:01 INFO: archiving logs to Nexus